var logThis,modal_Id,INFORMA;(function(){var n;window.AmCharts?n=window.AmCharts:(n={},window.AmCharts=n,n.themes={},n.maps={},n.inheriting={},n.charts=[],n.onReadyArray=[],n.useUTC=!1,n.updateRate=60,n.uid=0,n.lang={},n.translations={},n.mapTranslations={},n.windows={},n.initHandlers=[],n.amString="am",n.pmString="pm");n.Class=function(t){var i=function(){arguments[0]!==n.inheriting&&(this.events={},this.construct.apply(this,arguments))},r;t.inherits?(i.prototype=new t.inherits(n.inheriting),i.base=t.inherits.prototype,delete t.inherits):(i.prototype.createEvents=function(){for(var n=0;n<arguments.length;n++)this.events[arguments[n]]=[]},i.prototype.listenTo=function(n,t,i){this.removeListener(n,t,i);n.events[t].push({handler:i,scope:this})},i.prototype.addListener=function(n,t,i){this.removeListener(this,n,t);n&&this.events[n]&&this.events[n].push({handler:t,scope:i})},i.prototype.removeListener=function(n,t,i){if(n&&n.events&&(n=n.events[t]))for(t=n.length-1;0<=t;t--)n[t].handler===i&&n.splice(t,1)},i.prototype.fire=function(n){for(var r,i=this.events[n.type],t=0;t<i.length;t++)r=i[t],r.handler.call(r.scope,n)});for(r in t)i.prototype[r]=t[r];return i};n.addChart=function(t){window.requestAnimationFrame?n.animationRequested||(n.animationRequested=!0,window.requestAnimationFrame(n.update)):n.updateInt||(n.updateInt=setInterval(function(){n.update()},Math.round(1e3/n.updateRate)));n.charts.push(t)};n.removeChart=function(t){for(var i=n.charts,r=i.length-1;0<=r;r--)i[r]==t&&i.splice(r,1);0===i.length&&(n.requestAnimation&&(window.cancelAnimationFrame(n.requestAnimation),n.animationRequested=!1),n.updateInt&&(clearInterval(n.updateInt),n.updateInt=NaN))};n.isModern=!0;n.getIEVersion=function(){var n=0,t,i;return"Microsoft Internet Explorer"==navigator.appName&&(t=navigator.userAgent,i=/MSIE ([0-9]{1,}[.0-9]{0,})/,null!==i.exec(t)&&(n=parseFloat(RegExp.$1))),n};n.applyLang=function(t,i){var r=n.translations;i.dayNames=n.extend({},n.dayNames);i.shortDayNames=n.extend({},n.shortDayNames);i.monthNames=n.extend({},n.monthNames);i.shortMonthNames=n.extend({},n.shortMonthNames);i.amString="am";i.pmString="pm";r&&(r=r[t])&&(n.lang=r,i.langObj=r,r.monthNames&&(i.dayNames=n.extend({},r.dayNames),i.shortDayNames=n.extend({},r.shortDayNames),i.monthNames=n.extend({},r.monthNames),i.shortMonthNames=n.extend({},r.shortMonthNames)),r.am&&(i.amString=r.am),r.pm&&(i.pmString=r.pm));n.amString=i.amString;n.pmString=i.pmString};n.IEversion=n.getIEVersion();9>n.IEversion&&0<n.IEversion&&(n.isModern=!1,n.isIE=!0);n.dx=0;n.dy=0;(document.addEventListener||window.opera)&&(n.isNN=!0,n.isIE=!1,n.dx=.5,n.dy=.5);document.attachEvent&&(n.isNN=!1,n.isIE=!0,n.isModern||(n.dx=0,n.dy=0));window.chrome&&(n.chrome=!0);n.handleMouseUp=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleReleaseOutside&&r.handleReleaseOutside(t)};n.handleMouseMove=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleMouseMove&&r.handleMouseMove(t)};n.handleWheel=function(t){for(var i,u=n.charts,r=0;r<u.length;r++)if(i=u[r],i&&i.mouseIsOver){(i.mouseWheelScrollEnabled||i.mouseWheelZoomEnabled)&&i.handleWheel&&i.handleWheel(t);break}};n.resetMouseOver=function(){for(var r,i=n.charts,t=0;t<i.length;t++)r=i[t],r&&(r.mouseIsOver=!1)};n.ready=function(t){n.onReadyArray.push(t)};n.handleLoad=function(){var i,t,r;for(n.isReady=!0,i=n.onReadyArray,t=0;t<i.length;t++)r=i[t],isNaN(n.processDelay)?r():setTimeout(r,n.processDelay*t)};n.addInitHandler=function(t,i){n.initHandlers.push({method:t,types:i})};n.callInitHandler=function(t){var u=n.initHandlers,r,i;if(n.initHandlers)for(r=0;r<u.length;r++)i=u[r],i.types?n.isInArray(i.types,t.type)&&i.method(t):i.method(t)};n.getUniqueId=function(){return n.uid++,"AmChartsEl-"+n.uid};n.isNN&&(document.addEventListener("mousemove",n.handleMouseMove),document.addEventListener("mouseup",n.handleMouseUp,!0),window.addEventListener("load",n.handleLoad,!0),window.addEventListener("DOMMouseScroll",n.handleWheel,!0),document.addEventListener("mousewheel",n.handleWheel,!0));n.isIE&&(document.attachEvent("onmousemove",n.handleMouseMove),document.attachEvent("onmouseup",n.handleMouseUp),window.attachEvent("onload",n.handleLoad),document.attachEvent("onmousewheel",n.handleWheel));n.clear=function(){var i=n.charts,t;if(i)for(t=i.length-1;0<=t;t--)i[t].clear();n.updateInt&&clearInterval(n.updateInt);n.requestAnimation&&window.cancelAnimationFrame(n.requestAnimation);n.charts=[];n.isNN&&(document.removeEventListener("mousemove",n.handleMouseMove,!0),document.removeEventListener("mouseup",n.handleMouseUp,!0),window.removeEventListener("load",n.handleLoad,!0),window.removeEventListener("DOMMouseScroll",n.handleWheel,!0),document.removeEventListener("mousewheel",n.handleWheel,!0));n.isIE&&(document.detachEvent("onmousemove",n.handleMouseMove),document.detachEvent("onmouseup",n.handleMouseUp),window.detachEvent("onload",n.handleLoad))};n.makeChart=function(t,i,r){var e=i.type,f=i.theme,u;n.isString(f)&&(f=n.themes[f],i.theme=f);switch(e){case"serial":u=new n.AmSerialChart(f);break;case"xy":u=new n.AmXYChart(f);break;case"pie":u=new n.AmPieChart(f);break;case"radar":u=new n.AmRadarChart(f);break;case"gauge":u=new n.AmAngularGauge(f);break;case"funnel":u=new n.AmFunnelChart(f);break;case"map":u=new n.AmMap(f);break;case"stock":u=new n.AmStockChart(f);break;case"gantt":u=new n.AmGanttChart(f)}return n.extend(u,i),n.isReady?isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r):n.ready(function(){isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r)}),u};n.realWrite=function(n,t){n.write(t)};n.updateCount=0;n.validateAt=Math.round(n.updateRate/10);n.update=function(){var i=n.charts,r,t;if(n.updateCount++,r=!1,n.updateCount==n.validateAt&&(r=!0,n.updateCount=0),i)for(t=i.length-1;0<=t;t--)i[t].update&&i[t].update(),r&&(i[t].autoResize?i[t].validateSize&&i[t].validateSize():i[t].premeasure&&i[t].premeasure());window.requestAnimationFrame&&(n.requestAnimation=window.requestAnimationFrame(n.update))};n.bezierX=3;n.bezierY=6;"complete"==document.readyState&&n.handleLoad()})(),function(){var n=window.AmCharts;n.toBoolean=function(n,t){if(void 0===n)return t;switch(String(n).toLowerCase()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case null:return!1;default:return!!n}};n.removeFromArray=function(n,t){var i;if(void 0!==t&&void 0!==n)for(i=n.length-1;0<=i;i--)n[i]==t&&n.splice(i,1)};n.getPath=function(){var t=document.getElementsByTagName("script"),n,i;if(t)for(n=0;n<t.length;n++)if(i=t[n].src,-1!==i.search(/\/(amcharts|ammap)\.js/))return i.replace(/\/(amcharts|ammap)\.js.*/,"/")};n.normalizeUrl=function(n){return""!==n&&-1===n.search(/\/$/)?n+"/":n};n.isAbsolute=function(n){return 0===n.search(/^http[s]?:|^\//)};n.isInArray=function(n,t){for(var i=0;i<n.length;i++)if(n[i]==t)return!0;return!1};n.getDecimals=function(n){var t=0;return isNaN(n)||(n=String(n),-1!=n.indexOf("e-")?t=Number(n.split("-")[1]):-1!=n.indexOf(".")&&(t=n.split(".")[1].length)),t};n.wordwrap=function(t,i,r,u){var o,e,f,s;if(t+="",1>i)return t;for(o=-1,t=(s=t.split(/\r\n|\n|\r/)).length;++o<t;s[o]+=f){for(f=s[o],s[o]="";f.length>i;s[o]+=n.trim(f.slice(0,e))+((f=f.slice(e)).length?r:""))e=2==u||(e=f.slice(0,i+1).match(/\S*(\s)?$/))[1]?i:e.input.length-e[0].length||1==u&&i||e.input.length+(e=f.slice(i).match(/^\S*/))[0].length;f=n.trim(f)}return s.join(r)};n.trim=function(n){return n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};n.wrappedText=function(t,i,r,u,f,e,o,s){var h=n.text(t,i,r,u,f,e,o),c,l;return h&&(c=h.getBBox(),c.width>s&&(l="\n",n.isModern||(l="<br>"),s=Math.floor(s/(c.width/i.length)),2<s&&(s-=2),i=n.wordwrap(i,s,l,!0),h.remove(),h=n.text(t,i,r,u,f,e,o))),h};n.getStyle=function(n,t){var i="";if(document.defaultView&&document.defaultView.getComputedStyle)try{i=document.defaultView.getComputedStyle(n,"").getPropertyValue(t)}catch(r){}else n.currentStyle&&(t=t.replace(/\-(\w)/g,function(n,t){return t.toUpperCase()}),i=n.currentStyle[t]);return i};n.removePx=function(n){if(void 0!==n)return Number(n.substring(0,n.length-2))};n.getURL=function(t,i){if(t)if("_self"!=i&&i)if("_top"==i&&window.top)window.top.location.href=t;else if("_parent"==i&&window.parent)window.parent.location.href=t;else if("_blank"==i)window.open(t);else{var r=document.getElementsByName(i)[0];r?r.src=t:(r=n.windows[i])?r.opener&&!r.opener.closed?r.location.href=t:n.windows[i]=window.open(t):n.windows[i]=window.open(t)}else window.location.href=t};n.ifArray=function(n){return n&&"object"==typeof n&&0<n.length?!0:!1};n.callMethod=function(n,t){for(var i,e,u,f,r=0;r<t.length;r++)if(i=t[r],i&&(i[n]&&i[n](),e=i.length,0<e))for(u=0;u<e;u++)f=i[u],f&&f[n]&&f[n]()};n.toNumber=function(n){return"number"==typeof n?n:Number(String(n).replace(/[^0-9\-.]+/g,""))};n.toColor=function(n){var t,i;if(""!==n&&void 0!==n)if(-1!=n.indexOf(","))for(n=n.split(","),t=0;t<n.length;t++)i=n[t].substring(n[t].length-6,n[t].length),n[t]="#"+i;else n=n.substring(n.length-6,n.length),n="#"+n;return n};n.toCoordinate=function(n,t,i){var r;return void 0!==n&&(n=String(n),i&&i<t&&(t=i),r=Number(n),-1!=n.indexOf("!")&&(r=t-Number(n.substr(1))),-1!=n.indexOf("%")&&(r=t*Number(n.substr(0,n.length-1))/100)),r};n.fitToBounds=function(n,t,i){return n<t&&(n=t),n>i&&(n=i),n};n.isDefined=function(n){return void 0===n?!1:!0};n.stripNumbers=function(n){return n.replace(/[0-9]+/g,"")};n.roundTo=function(n,t){if(0>t)return n;var i=Math.pow(10,t);return Math.round(n*i)/i};n.toFixed=function(n,t){var i=String(Math.round(n*Math.pow(10,t))),r,u;if(0<t){if(r=i.length,r<t)for(u=0;u<t-r;u++)i="0"+i;return r=i.substring(0,i.length-t),""===r&&(r=0),r+"."+i.substring(i.length-t,i.length)}return String(i)};n.formatDuration=function(t,i,r,u,f,e){var s=n.intervals,h=e.decimalSeparator,o;if(t>=s[i].contains)return o=t-Math.floor(t/s[i].contains)*s[i].contains,"ss"==i?(o=n.formatNumber(o,e),1==o.split(h)[0].length&&(o="0"+o)):o=n.roundTo(o,e.precision),("mm"==i||"hh"==i)&&10>o&&(o="0"+o),r=o+""+u[i]+""+r,t=Math.floor(t/s[i].contains),i=s[i].nextInterval,n.formatDuration(t,i,r,u,f,e);if("ss"==i&&(t=n.formatNumber(t,e),1==t.split(h)[0].length&&(t="0"+t)),("mm"==i||"hh"==i)&&10>t&&(t="0"+t),r=t+""+u[i]+""+r,s[f].count>s[i].count)for(t=s[i].count;t<s[f].count;t++)i=s[i].nextInterval,"ss"==i||"mm"==i||"hh"==i?r="00"+u[i]+""+r:"DD"==i&&(r="0"+u[i]+""+r);return":"==r.charAt(r.length-1)&&(r=r.substring(0,r.length-1)),r};n.formatNumber=function(t,i,r,u,f){var c,l,e,h,s,o;if(t=n.roundTo(t,i.precision),isNaN(r)&&(r=i.precision),c=i.decimalSeparator,i=i.thousandsSeparator,l=0>t?"-":"",t=Math.abs(t),h=String(t),s=!1,-1!=h.indexOf("e")&&(s=!0),0<=r&&!s&&(h=n.toFixed(t,r)),e="",s)e=h;else{for(h=h.split("."),s=String(h[0]),o=s.length;0<=o;o-=3)e=o!=s.length?0!==o?s.substring(o-3,o)+i+e:s.substring(o-3,o)+e:s.substring(o-3,o);void 0!==h[1]&&(e=e+c+h[1]);void 0!==r&&0<r&&"0"!=e&&(e=n.addZeroes(e,c,r))}return e=l+e,""===l&&!0===u&&0!==t&&(e="+"+e),!0===f&&(e+="%"),e};n.addZeroes=function(t,i,r){return t=t.split(i),void 0===t[1]&&0<r&&(t[1]="0"),t[1].length<r?(t[1]+="0",n.addZeroes(t[0]+i+t[1],i,r)):void 0!==t[1]?t[0]+i+t[1]:t[0]};n.scientificToNormal=function(n){var t,i,r;if(n=String(n).split("e"),"-"==n[1].substr(0,1)){for(t="0.",i=0;i<Math.abs(Number(n[1]))-1;i++)t+="0";t+=n[0].split(".").join("")}else for(r=0,t=n[0].split("."),t[1]&&(r=t[1].length),t=n[0].split(".").join(""),i=0;i<Math.abs(Number(n[1]))-r;i++)t+="0";return t};n.toScientific=function(n,t){if(0===n)return"0";var r=Math.floor(Math.log(Math.abs(n))*Math.LOG10E),i=String(i).split(".").join(t);return String(i)+"e"+r};n.randomColor=function(){return"#"+("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6)};n.hitTest=function(t,i,r){var u=!1,e=t.x,o=t.x+t.width,s=t.y,h=t.y+t.height,f=n.isInRectangle;return u||(u=f(e,s,i)),u||(u=f(e,h,i)),u||(u=f(o,s,i)),u||(u=f(o,h,i)),u||!0===r||(u=n.hitTest(i,t,!0)),u};n.isInRectangle=function(n,t,i){return n>=i.x-5&&n<=i.x+i.width+5&&t>=i.y-5&&t<=i.y+i.height+5?!0:!1};n.isPercents=function(n){if(-1!=String(n).indexOf("%"))return!0};n.formatValue=function(t,i,r,u,f,e,o,s){var c,l,h;if(i)for(void 0===f&&(f=""),c=0;c<r.length;c++)l=r[c],h=i[l],void 0!==h&&(h=e?n.addPrefix(h,s,o,u):n.formatNumber(h,u),t=t.replace(new RegExp("\\[\\["+f+""+l+"\\]\\]","g"),h));return t};n.formatDataContextValue=function(n,t){var u,r,i;if(n)for(u=n.match(/\[\[.*?\]\]/g),r=0;r<u.length;r++)i=u[r],i=i.substr(2,i.length-4),void 0!==t[i]&&(n=n.replace(new RegExp("\\[\\["+i+"\\]\\]","g"),t[i]));return n};n.massReplace=function(n,t){var i,r;for(i in t)t.hasOwnProperty(i)&&(r=t[i],void 0===r&&(r=""),n=n.replace(i,r));return n};n.cleanFromEmpty=function(n){return n.replace(/\[\[[^\]]*\]\]/g,"")};n.addPrefix=function(t,i,r,u,f){var h=n.formatNumber(t,u),c="",e,o,s;if(0===t)return"0";if(0>t&&(c="-"),t=Math.abs(t),1<t){for(e=i.length-1;-1<e;e--)if(t>=i[e].number&&(o=t/i[e].number,s=Number(u.precision),1>s&&(s=1),r=n.roundTo(o,s),s=n.formatNumber(r,{precision:-1,decimalSeparator:u.decimalSeparator,thousandsSeparator:u.thousandsSeparator}),!f||o==r)){h=c+""+s+""+i[e].prefix;break}}else for(e=0;e<r.length;e++)if(t<=r[e].number){o=t/r[e].number;s=Math.abs(Math.floor(Math.log(o)*Math.LOG10E));o=n.roundTo(o,s);h=c+""+o+""+r[e].prefix;break}return h};n.remove=function(n){n&&n.remove()};n.getEffect=function(n){return">"==n&&(n="easeOutSine"),"<"==n&&(n="easeInSine"),"elastic"==n&&(n="easeOutElastic"),n};n.getObjById=function(n,t){for(var u,r,i=0;i<n.length;i++)if(r=n[i],r.id==t){u=r;break}return u};n.applyTheme=function(t,i,r){i||(i=n.theme);try{i=JSON.parse(JSON.stringify(i))}catch(u){}i&&i[r]&&n.extend(t,i[r])};n.isString=function(n){return"string"==typeof n?!0:!1};n.extend=function(n,t,i){var r;n||(n={});for(r in t)i?n.hasOwnProperty(r)||(n[r]=t[r]):n[r]=t[r];return n};n.copyProperties=function(n,t){for(var i in n)n.hasOwnProperty(i)&&"events"!=i&&void 0!==n[i]&&"function"!=typeof n[i]&&"cname"!=i&&(t[i]=n[i])};n.processObject=function(t,i,r,u){if(!1==t instanceof i&&(t=u?n.extend(new i(r),t):n.extend(t,new i(r),!0),t.listeners))for(var f in t.listeners)i=t.listeners[f],t.addListener(i.event,i.method);return t};n.fixNewLines=function(n){var t=RegExp("\\n","g");return n&&(n=n.replace(t,"<br />")),n};n.fixBrakes=function(t){if(n.isModern){var i=RegExp("<br>","g");t&&(t=t.replace(i,"\n"))}else t=n.fixNewLines(t);return t};n.deleteObject=function(t,i){if(t&&((void 0===i||null===i)&&(i=20),0!==i))if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;r<t.length;r++)n.deleteObject(t[r],i-1),t[r]=null;else if(t&&!t.tagName)try{for(r in t.theme=null,t)t[r]&&("object"==typeof t[r]&&n.deleteObject(t[r],i-1),"function"!=typeof t[r]&&(t[r]=null))}catch(u){}};n.bounce=function(n,t,i,r,u){return(t/=u)<1/2.75?7.5625*r*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i};n.easeInOutQuad=function(n,t,i,r,u){return(t/=u/2,1>t)?r/2*t*t+i:(t--,-r/2*(t*(t-2)-1)+i)};n.easeInSine=function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i};n.easeOutSine=function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i};n.easeOutElastic=function(n,t,i,r,u){n=1.70158;var f=0,e=r;return 0===t?i:1==(t/=u)?i+r:(f||(f=.3*u),e<Math.abs(r)?(e=r,n=f/4):n=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin(2*(t*u-n)*Math.PI/f)+r+i)};n.fixStepE=function(t){t=t.toExponential(0).split("e");var i=Number(t[1]);return 9==Number(t[0])&&i++,n.generateNumber(1,i)};n.generateNumber=function(n,t){for(var i="",u=0>t?Math.abs(t)-1:Math.abs(t),r=0;r<u;r++)i+="0";return 0>t?Number("0."+i+String(n)):Number(String(n)+i)};n.setCN=function(n,t,i,r){if(n.addClassNames&&t&&(t=t.node)&&i){var u=t.getAttribute("class");n=n.classNamePrefix+"-";r&&(n="");u?t.setAttribute("class",u+" "+n+i):t.setAttribute("class",n+i)}};n.removeCN=function(n,t,i){t&&(t=t.node)&&i&&(t=t.classList)&&t.remove(n.classNamePrefix+"-"+i)};n.parseDefs=function(t,i){var r,u,f;for(r in t)if(u=typeof t[r],0<t[r].length&&"object"==u)for(f=0;f<t[r].length;f++)u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r][f],u);else"object"==u?(u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r],u)):i.setAttribute(r,t[r])}}(),function(){var n=window.AmCharts;n.AxisBase=n.Class({construct:function(t){this.createEvents("clickItem","rollOverItem","rollOutItem");this.titleDY=this.y=this.x=this.dy=this.dx=0;this.axisThickness=1;this.axisColor="#000000";this.axisAlpha=1;this.gridCount=this.tickLength=5;this.gridAlpha=.15;this.gridThickness=1;this.gridColor="#000000";this.dashLength=0;this.labelFrequency=1;this.showLastLabel=this.showFirstLabel=!0;this.fillColor="#FFFFFF";this.fillAlpha=0;this.labelsEnabled=!0;this.labelRotation=0;this.autoGridCount=!0;this.offset=0;this.guides=[];this.visible=!0;this.counter=0;this.guides=[];this.ignoreAxisWidth=this.inside=!1;this.minHorizontalGap=75;this.minVerticalGap=35;this.titleBold=!0;this.minorGridEnabled=!1;this.minorGridAlpha=.07;this.autoWrap=!1;this.titleAlign="middle";this.labelOffset=0;this.bcn="axis-";this.centerLabels=!1;this.firstDayOfWeek=1;this.centerLabelOnFullPeriod=this.markPeriodChange=this.boldPeriodBeginning=!0;this.periods=[{period:"fff",count:1},{period:"fff",count:5},{period:"fff",count:10},{period:"fff",count:50},{period:"fff",count:100},{period:"fff",count:500},{period:"ss",count:1},{period:"ss",count:5},{period:"ss",count:10},{period:"ss",count:30},{period:"mm",count:1},{period:"mm",count:5},{period:"mm",count:10},{period:"mm",count:30},{period:"hh",count:1},{period:"hh",count:3},{period:"hh",count:6},{period:"hh",count:12},{period:"DD",count:1},{period:"DD",count:2},{period:"DD",count:3},{period:"DD",count:4},{period:"DD",count:5},{period:"WW",count:1},{period:"MM",count:1},{period:"MM",count:2},{period:"MM",count:3},{period:"MM",count:6},{period:"YYYY",count:1},{period:"YYYY",count:2},{period:"YYYY",count:5},{period:"YYYY",count:10},{period:"YYYY",count:50},{period:"YYYY",count:100}];this.dateFormats=[{period:"fff",format:"NN:SS.QQQ"},{period:"ss",format:"JJ:NN:SS"},{period:"mm",format:"JJ:NN"},{period:"hh",format:"JJ:NN"},{period:"DD",format:"MMM DD"},{period:"WW",format:"MMM DD"},{period:"MM",format:"MMM"},{period:"YYYY",format:"YYYY"}];this.nextPeriod={fff:"ss",ss:"mm",mm:"hh",hh:"DD",DD:"MM",MM:"YYYY"};n.applyTheme(this,t,"AxisBase")},zoom:function(n,t){this.start=n;this.end=t;this.dataChanged=!0;this.draw()},fixAxisPosition:function(){var n=this.position;"H"==this.orientation?("left"==n&&(n="bottom"),"right"==n&&(n="top")):("bottom"==n&&(n="left"),"top"==n&&(n="right"));this.position=n},init:function(){this.createBalloon()},draw:function(){var n=this.chart,t,i;this.prevBY=this.prevBX=NaN;this.allLabels=[];this.counter=0;this.destroy();this.fixAxisPosition();this.setBalloonBounds();this.labels=[];t=n.container;i=t.set();n.gridSet.push(i);this.set=i;t=t.set();n.axesLabelsSet.push(t);this.labelsSet=t;this.axisLine=new this.axisRenderer(this);this.autoGridCount?("V"==this.orientation?(n=this.height/this.minVerticalGap,3>n&&(n=3)):n=this.width/this.minHorizontalGap,this.gridCountR=Math.max(n,1)):this.gridCountR=this.gridCount;this.axisWidth=this.axisLine.axisWidth;this.addTitle()},setOrientation:function(n){this.orientation=n?"H":"V"},addTitle:function(){var i=this.title,t,r,u;this.titleLabel=null;i&&(t=this.chart,r=this.titleColor,void 0===r&&(r=t.color),u=this.titleFontSize,isNaN(u)&&(u=t.fontSize+1),i=n.text(t.container,i,r,t.fontFamily,u,this.titleAlign,this.titleBold),n.setCN(t,i,this.bcn+"title"),this.titleLabel=i)},positionTitle:function(){var f=this.titleLabel,i,e,t,r,s;if(f){r=this.labelsSet;t={};0<r.length()?t=r.getBBox():(t.x=0,t.y=0,t.width=this.width,t.height=this.height,n.VML&&(t.y+=this.y,t.x+=this.x));r.push(f);r=t.x;s=t.y;n.VML&&(s-=this.y,r-=this.x);var v=t.width,t=t.height,h=this.width,c=this.height,o=0,l=f.getBBox().height/2,a=this.inside,u=this.titleAlign;switch(this.position){case"top":i="left"==u?-1:"right"==u?h:h/2;e=s-10-l;break;case"bottom":i="left"==u?-1:"right"==u?h:h/2;e=s+t+10+l;break;case"left":i=r-10-l;a&&(i-=5);o=-90;e=("left"==u?c+1:"right"==u?-1:c/2)+this.titleDY;break;case"right":i=r+v+10+l;a&&(i+=7);e=("left"==u?c+2:"right"==u?-2:c/2)+this.titleDY;o=-90}this.marginsChanged?(f.translate(i,e),this.tx=i,this.ty=e):f.translate(this.tx,this.ty);this.marginsChanged=!1;isNaN(this.titleRotation)||(o=this.titleRotation);0!==o&&f.rotate(o)}},pushAxisItem:function(n,t){var i=this,r=n.graphics();0<r.length()&&(t?i.labelsSet.push(r):i.set.push(r));(r=n.getLabel())&&(i.labelsSet.push(r),r.click(function(t){i.handleMouse(t,n,"clickItem")}).touchend(function(t){i.handleMouse(t,n,"clickItem")}).mouseover(function(t){i.handleMouse(t,n,"rollOverItem")}).mouseout(function(t){i.handleMouse(t,n,"rollOutItem")}))},handleMouse:function(n,t,i){this.fire({type:i,value:t.value,serialDataItem:t.serialDataItem,axis:this,target:t.label,chart:this.chart,event:n})},addGuide:function(t){for(var i=this.guides,u=!1,f=i.length,r=0;r<i.length;r++)i[r]==t&&(u=!0,f=r);t=n.processObject(t,n.Guide,this.theme);t.id||(t.id="guideAuto"+f+"_"+(new Date).getTime());u||i.push(t)},removeGuide:function(n){for(var i=this.guides,t=0;t<i.length;t++)i[t]==n&&i.splice(t,1)},handleGuideOver:function(n){clearTimeout(this.chart.hoverInt);var t=n.graphics.getBBox(),r=this.x+t.x+t.width/2,t=this.y+t.y+t.height/2,i=n.fillColor;void 0===i&&(i=n.lineColor);this.chart.showBalloon(n.balloonText,i,!0,r,t)},handleGuideOut:function(){this.chart.hideBalloon()},addEventListeners:function(n,t){var i=this;n.mouseover(function(){i.handleGuideOver(t)});n.touchstart(function(){i.handleGuideOver(t)});n.mouseout(function(){i.handleGuideOut(t)})},getBBox:function(){var t;return this.labelsSet&&(t=this.labelsSet.getBBox()),t?n.VML||(t={x:t.x+this.x,y:t.y+this.y,width:t.width,height:t.height}):t={x:0,y:0,width:0,height:0},t},destroy:function(){n.remove(this.set);n.remove(this.labelsSet);var t=this.axisLine;t&&n.remove(t.axisSet);n.remove(this.grid0)},chooseMinorFrequency:function(n){for(var t=10;0<t;t--)if(n/t==Math.round(n/t))return n/t},parseDatesDraw:function(){var h,g=this.chart,tt=this.showFirstLabel,it=this.showLastLabel,r,t="",u=n.extractPeriod(this.minPeriod),c=n.getPeriodDuration(u.period,u.count),o,v,y,l,i,b=this.firstDayOfWeek,rt=this.boldPeriodBeginning,w,nt,k,d;h=this.minorGridEnabled;var a,ut=this.gridAlpha,p,s=this.choosePeriod(0),f=s.period,s=s.count,e=n.getPeriodDuration(f,s);if(e<c&&(f=u.period,s=u.count,e=c),u=f,"WW"==u&&(u="DD"),this.stepWidth=this.getStepWidth(this.timeDifference),w=Math.ceil(this.timeDifference/e)+5,nt=o=n.resetDateToMin(new Date(this.startTime-e),f,s,b).getTime(),(u==f&&1==s&&this.centerLabelOnFullPeriod||this.autoWrap||this.centerLabels)&&(y=e*this.stepWidth,this.autoWrap&&!this.centerLabels&&(y=-y)),this.cellWidth=c*this.stepWidth,l=Math.round(o/e),c=-1,l/2==Math.round(l/2)&&(c=-2,o-=e),l=this.firstTime,k=0,d=0,h&&1<s&&(a=this.chooseMinorFrequency(s),p=n.getPeriodDuration(f,a),"DD"==f&&(p+=n.getPeriodDuration("hh")),"fff"==f&&(p=1)),0<this.gridCountR)for(w-5-c>this.autoRotateCount&&!isNaN(this.autoRotateAngle)&&(this.labelRotationR=this.autoRotateAngle),h=c;h<=w;h++){if(i=l+e*(h+Math.floor((nt-l)/e))-k,"DD"==f&&(i+=36e5),i=n.resetDateToMin(new Date(i),f,s,b).getTime(),"MM"==f&&(r=(i-o)/e,1.5<=(i-o)/e&&(i=i-(r-1)*e+n.getPeriodDuration("DD",3),i=n.resetDateToMin(new Date(i),f,1).getTime(),k+=e)),r=(i-this.startTime)*this.stepWidth,"radar"==g.type){if(r=this.axisWidth-r,0>r||r>this.axisWidth)continue}else this.rotate?"date"==this.type&&"middle"==this.gridPosition&&(d=-e*this.stepWidth/2):"date"==this.type&&(r=this.axisWidth-r);if(t=!1,this.nextPeriod[u]&&(t=this.checkPeriodChange(this.nextPeriod[u],1,i,o,u)),o=!1,t&&this.markPeriodChange?(t=this.dateFormatsObject[this.nextPeriod[u]],this.twoLineMode&&(t=this.dateFormatsObject[u]+"\n"+t,t=n.fixBrakes(t)),o=!0):t=this.dateFormatsObject[u],rt||(o=!1),this.currentDateFormat=t,t=n.formatDate(new Date(i),t,g),(h!=c||tt)&&(h!=w||it)||(t=" "),this.labelFunction&&(t=this.labelFunction(t,new Date(i),this,f,s,v).toString()),this.boldLabels&&(o=!0),v=new this.axisItemRenderer(this,r,t,!1,y,d,!1,o),this.pushAxisItem(v),v=o=i,!isNaN(a))for(r=1;r<s;r+=a)this.gridAlpha=this.minorGridAlpha,t=i+p*r,t=n.resetDateToMin(new Date(t),f,a,b).getTime(),t=new this.axisItemRenderer(this,(t-this.startTime)*this.stepWidth,void 0,void 0,void 0,void 0,void 0,void 0,void 0,!0),this.pushAxisItem(t);this.gridAlpha=ut}},choosePeriod:function(t){var r=n.getPeriodDuration(this.periods[t].period,this.periods[t].count),i=this.periods;return this.timeDifference<r&&0<t?i[t-1]:Math.ceil(this.timeDifference/r)<=this.gridCountR?i[t]:t+1<i.length?this.choosePeriod(t+1):i[t]},getStepWidth:function(n){var t;return this.startOnAxis?(t=this.axisWidth/(n-1),1==n&&(t=this.axisWidth)):t=this.axisWidth/n,t},timeZoom:function(n,t){this.startTime=n;this.endTime=t},minDuration:function(){var t=n.extractPeriod(this.minPeriod);return n.getPeriodDuration(t.period,t.count)},checkPeriodChange:function(t,i,r,u,f){r=new Date(r);var o=new Date(u),e=this.firstDayOfWeek;return u=i,"DD"==t&&(i=1),r=n.resetDateToMin(r,t,i,e).getTime(),i=n.resetDateToMin(o,t,i,e).getTime(),"DD"==t&&"hh"!=f&&r-i<n.getPeriodDuration(t,u)-n.getPeriodDuration("hh",1)?!1:r!=i?!0:!1},generateDFObject:function(){var n,t;for(this.dateFormatsObject={},n=0;n<this.dateFormats.length;n++)t=this.dateFormats[n],this.dateFormatsObject[t.period]=t.format},hideBalloon:function(){this.balloon&&this.balloon.hide&&this.balloon.hide();this.prevBY=this.prevBX=NaN},formatBalloonText:function(n){return n},showBalloon:function(n,t,i,r){var u=this.offset,f;switch(this.position){case"bottom":t=this.height+u;break;case"top":t=-u;break;case"left":n=-u;break;case"right":n=this.width+u}if(i||(i=this.currentDateFormat),"V"==this.orientation){if(0>t||t>this.height)return;if(isNaN(t)){this.hideBalloon();return}t=this.adjustBalloonCoordinate(t,r);r=this.coordinateToValue(t)}else{if(0>n||n>this.width)return;if(isNaN(n)){this.hideBalloon();return}n=this.adjustBalloonCoordinate(n,r);r=this.coordinateToValue(n)}(u=this.chart.chartCursor)&&(f=u.index);this.balloon&&void 0!==r&&this.balloon.enabled&&(this.balloonTextFunction?(("date"==this.type||!0===this.parseDates)&&(r=new Date(r)),r=this.balloonTextFunction(r)):this.balloonText?r=this.formatBalloonText(this.balloonText,f,i):isNaN(r)||(r=this.formatValue(r,i)),(n!=this.prevBX||t!=this.prevBY)&&(this.balloon.setPosition(n,t),this.prevBX=n,this.prevBY=t,r&&this.balloon.showBalloon(r)))},adjustBalloonCoordinate:function(n){return n},createBalloon:function(){var i=this.chart,t=i.chartCursor;t&&(t=t.cursorPosition,"mouse"!=t&&(this.stickBalloonToCategory=!0),"start"==t&&(this.stickBalloonToStart=!0),"ValueAxis"==this.cname&&(this.stickBalloonToCategory=!1));this.balloon&&(this.balloon.destroy&&this.balloon.destroy(),n.extend(this.balloon,i.balloon,!0))},setBalloonBounds:function(){var n=this.balloon,f;if(n){f=this.chart;n.cornerRadius=0;n.shadowAlpha=0;n.borderThickness=1;n.borderAlpha=1;n.adjustBorderColor=!1;n.showBullet=!1;this.balloon=n;n.chart=f;n.mainSet=f.plotBalloonsSet;n.pointerWidth=this.tickLength;(this.parseDates||"date"==this.type)&&(n.pointerWidth=0);n.className=this.id;f="V";"V"==this.orientation&&(f="H");this.stickBalloonToCategory||(n.animationDuration=0);var t,i,r,u,s=this.inside,e=this.width,o=this.height;switch(this.position){case"bottom":t=0;i=e;s?(r=0,u=o):(r=o,u=o+1e3);break;case"top":t=0;i=e;s?(r=0,u=o):(r=-1e3,u=0);break;case"left":r=0;u=o;s?(t=0,i=e):(t=-1e3,i=0);break;case"right":r=0;u=o;s?(t=0,i=e):(t=e,i=e+1e3)}n.drop||(n.pointerOrientation=f);n.setBounds(t,r,i,u)}}})}(),function(){var n=window.AmCharts;n.ValueAxis=n.Class({inherits:n.AxisBase,construct:function(t){this.cname="ValueAxis";this.createEvents("axisChanged","logarithmicAxisFailed","axisZoomed","axisIntZoomed");n.ValueAxis.base.construct.call(this,t);this.dataChanged=!0;this.stackType="none";this.position="left";this.unitPosition="right";this.includeAllValues=this.recalculateToPercents=this.includeHidden=this.includeGuidesInMinMax=this.integersOnly=!1;this.durationUnits={DD:"d. ",hh:":",mm:":",ss:""};this.scrollbar=!1;this.baseValue=0;this.radarCategoriesEnabled=!0;this.axisFrequency=1;this.gridType="polygons";this.useScientificNotation=!1;this.axisTitleOffset=10;this.pointPosition="axis";this.minMaxMultiplier=1;this.logGridLimit=2;this.totalTextOffset=this.treatZeroAs=0;this.minPeriod="ss";this.relativeStart=0;this.relativeEnd=1;n.applyTheme(this,t,this.cname)},updateData:function(){0>=this.gridCountR&&(this.gridCountR=1);this.totals=[];this.data=this.chart.chartData;var t=this.chart;"xy"!=t.type&&(this.stackGraphs("smoothedLine"),this.stackGraphs("line"),this.stackGraphs("column"),this.stackGraphs("step"));this.recalculateToPercents&&this.recalculate();this.synchronizationMultiplier&&this.synchronizeWith?(n.isString(this.synchronizeWith)&&(this.synchronizeWith=t.getValueAxisById(this.synchronizeWith)),this.synchronizeWith&&(this.synchronizeWithAxis(this.synchronizeWith),this.foundGraphs=!0)):(this.foundGraphs=!1,this.getMinMax(),0===this.start&&this.end==this.data.length-1&&isNaN(this.minZoom)&&isNaN(this.maxZoom)&&(this.fullMin=this.min,this.fullMax=this.max,"date"!=this.type&&(isNaN(this.minimum)||(this.fullMin=this.minimum),isNaN(this.maximum)||(this.fullMax=this.maximum)),this.logarithmic&&(this.fullMin=this.logMin,0===this.fullMin&&(this.fullMin=this.treatZeroAs)),"date"==this.type&&(this.minimumDate||(this.fullMin=this.minRR),this.maximumDate||(this.fullMax=this.maxRR))))},draw:function(){var h,tt,v,k,u,l,y,g,r,e,s,rt,nt,w,o,b,p,ut;if(n.ValueAxis.base.draw.call(this),h=this.chart,tt=this.set,this.labelRotationR=this.labelRotation,n.setCN(h,this.set,"value-axis value-axis-"+this.id),n.setCN(h,this.labelsSet,"value-axis value-axis-"+this.id),n.setCN(h,this.axisLine.axisSet,"value-axis value-axis-"+this.id),v=this.type,"duration"==v&&(this.duration="ss"),!0===this.dataChanged&&(this.updateData(),this.dataChanged=!1),"date"==v&&(this.logarithmic=!1,this.min=this.minRR,this.max=this.maxRR,this.reversed=!1,this.getDateMinMax()),this.logarithmic&&(k=this.treatZeroAs,u=this.getExtremes(0,this.data.length-1).min,!isNaN(this.minimum)&&this.minimum<u&&(u=this.minimum),this.logMin=u,this.minReal<u&&(this.minReal=u),isNaN(this.minReal)&&(this.minReal=u),0<k&&0===u&&(this.minReal=u=k),0>=u||0>=this.minimum)){this.fire({type:"logarithmicAxisFailed",chart:h});return}this.grid0=null;var i,t,c=h.dx,a=h.dy,k=!1,u=this.logarithmic;if(isNaN(this.min)||isNaN(this.max)||!this.foundGraphs||Infinity==this.min||-Infinity==this.max)k=!0;else{"date"==this.type&&this.min==this.max&&(this.max+=this.minDuration(),this.min-=this.minDuration());var it=this.labelFrequency,ft=this.showFirstLabel,et=this.showLastLabel,d=1,f=0;if(this.minCalc=this.min,this.maxCalc=this.max,this.strictMinMax&&(isNaN(this.minimum)||(this.min=this.minimum),isNaN(this.maximum)||(this.max=this.maximum),this.min==this.max))return;for(isNaN(this.minZoom)||(this.minReal=this.min=this.minZoom),isNaN(this.maxZoom)||(this.max=this.maxZoom),this.logarithmic?(t=Math.log(this.fullMax)*Math.LOG10E-Math.log(this.fullMin)*Math.LOG10E,l=Math.log(this.max)/Math.LN10-Math.log(this.fullMin)*Math.LOG10E,this.relativeStart=(Math.log(this.minReal)/Math.LN10-Math.log(this.fullMin)*Math.LOG10E)/t,this.relativeEnd=l/t):(this.relativeStart=n.fitToBounds((this.min-this.fullMin)/(this.fullMax-this.fullMin),0,1),this.relativeEnd=n.fitToBounds((this.max-this.fullMin)/(this.fullMax-this.fullMin),0,1)),l=Math.round((this.maxCalc-this.minCalc)/this.step)+1,!0===u?(y=Math.log(this.max)*Math.LOG10E-Math.log(this.minReal)*Math.LOG10E,this.stepWidth=this.axisWidth/y,y>this.logGridLimit&&(l=Math.ceil(Math.log(this.max)*Math.LOG10E)+1,f=Math.round(Math.log(this.minReal)*Math.LOG10E),l>this.gridCountR&&(d=Math.ceil(l/this.gridCountR)))):this.stepWidth=this.axisWidth/(this.max-this.min),e=0,1>this.step&&-1<this.step&&(e=n.getDecimals(this.step)),this.integersOnly&&(e=0),e>this.maxDecCount&&(e=this.maxDecCount),g=this.precision,isNaN(g)||(e=g),isNaN(this.maxZoom)&&(this.max=n.roundTo(this.max,this.maxDecCount),this.min=n.roundTo(this.min,this.maxDecCount)),t={},t.precision=e,t.decimalSeparator=h.nf.decimalSeparator,t.thousandsSeparator=h.nf.thousandsSeparator,this.numberFormatter=t,this.exponential=!1,t=f;t<l;t+=d)rt=n.roundTo(this.step*t+this.min,e),-1!=String(rt).indexOf("e")&&(this.exponential=!0);if(this.duration&&(this.maxInterval=n.getMaxInterval(this.max,this.duration)),e=this.step,rt=this.minorGridAlpha,this.minorGridEnabled&&(s=this.getMinorGridStep(e,this.stepWidth*e)),this.autoGridCount||0!==this.gridCount)if("date"==v)this.generateDFObject(),this.timeDifference=this.max-this.min,this.maxTime=this.lastTime=this.max,this.startTime=this.firstTime=this.min,this.parseDatesDraw();else for(l>=this.autoRotateCount&&!isNaN(this.autoRotateAngle)&&(this.labelRotationR=this.autoRotateAngle),v=this.minCalc,u&&(l++,v=this.maxCalc-l*e),this.gridCountReal=l,t=this.startCount=f;t<l;t+=d)if((f=e*t+v,f=n.roundTo(f,this.maxDecCount+1),!this.integersOnly||Math.round(f)==f)&&(isNaN(g)||Number(n.toFixed(f,g))==f)){if(!0===u)if(y>this.logGridLimit)f=Math.pow(10,t);else if(0>=f&&(f=v+e*t+e/2,0>=f))continue;if(r=this.formatValue(f,!1,t),Math.round(t/it)!=t/it&&(r=void 0),(0!==t||ft)&&(t!=l-1||et)||(r=" "),i=this.getCoordinate(f),this.rotate&&this.autoWrap&&(nt=this.stepWidth*e-10),r=new this.axisItemRenderer(this,i,r,void 0,nt,void 0,void 0,this.boldLabels),this.pushAxisItem(r),f==this.baseValue&&"radar"!=h.type&&(b=this.width,p=this.height,"H"==this.orientation?0<=i&&i<=b+1&&(w=[i,i,i+c],o=[p,0,a]):0<=i&&i<=p+1&&(w=[0,b,b+c],o=[i,i,i+a]),w&&(i=n.fitToBounds(2*this.gridAlpha,0,1),isNaN(this.zeroGridAlpha)||(i=this.zeroGridAlpha),i=n.line(h.container,w,o,this.gridColor,i,1,this.dashLength),i.translate(this.x,this.y),this.grid0=i,h.axesSet.push(i),i.toBack(),n.setCN(h,i,this.bcn+"zero-grid-"+this.id),n.setCN(h,i,this.bcn+"zero-grid"))),!isNaN(s)&&0<rt&&t<l-1){for(i=e/s,u&&(s=e*(t+d)+this.minCalc,s=n.roundTo(s,this.maxDecCount+1),y>this.logGridLimit&&(s=Math.pow(10,t+d)),i=9,s=(s-f)/i),b=this.gridAlpha,this.gridAlpha=this.minorGridAlpha,p=1;p<i;p++)ut=this.getCoordinate(f+s*p),ut=new this.axisItemRenderer(this,ut,"",!1,0,0,!1,!1,0,!0),this.pushAxisItem(ut);this.gridAlpha=b}}if(y=this.guides,nt=y.length,0<nt){for(w=this.fillAlpha,t=this.fillAlpha=0;t<nt;t++)o=y[t],c=NaN,s=o.above,isNaN(o.toValue)||(c=this.getCoordinate(o.toValue),r=new this.axisItemRenderer(this,c,"",!0,NaN,NaN,o),this.pushAxisItem(r,s)),a=NaN,isNaN(o.value)||(a=this.getCoordinate(o.value),r=new this.axisItemRenderer(this,a,o.label,!0,NaN,(c-a)/2,o),this.pushAxisItem(r,s)),isNaN(c)&&(a-=3,c=a+3),o.balloonText&&r&&(it=r.label)&&this.addEventListeners(it,o),isNaN(c-a)||0>a&&0>c||(c=new this.guideFillRenderer(this,a,c,o),this.pushAxisItem(c,s),s=c.graphics(),o.graphics=s,o.balloonText&&this.addEventListeners(s,o));this.fillAlpha=w}r=this.baseValue;this.min>this.baseValue&&this.max>this.baseValue&&(r=this.min);this.min<this.baseValue&&this.max<this.baseValue&&(r=this.max);u&&r<this.minReal&&(r=this.minReal);this.baseCoord=this.getCoordinate(r,!0);r={type:"axisChanged",target:this,chart:h};r.min=u?this.minReal:this.min;r.max=this.max;this.fire(r);this.axisCreated=!0}u=this.axisLine.set;r=this.labelsSet;tt.translate(this.x,this.y);r.translate(this.x,this.y);this.positionTitle();"radar"!=h.type&&u.toFront();!this.visible||k?(tt.hide(),u.hide(),r.hide()):(tt.show(),u.show(),r.show());this.axisY=this.y;this.axisX=this.x},getDateMinMax:function(){this.minimumDate&&(this.minimumDate instanceof Date||(this.minimumDate=n.getDate(this.minimumDate,this.chart.dataDateFormat,"fff")),this.min=this.minimumDate.getTime());this.maximumDate&&(this.maximumDate instanceof Date||(this.maximumDate=n.getDate(this.maximumDate,this.chart.dataDateFormat,"fff")),this.max=this.maximumDate.getTime())},formatValue:function(t,i,r){var u=this.exponential,o=this.logarithmic,f=this.numberFormatter,e=this.chart;if(f)return!0===this.logarithmic&&(u=-1!=String(t).indexOf("e")?!0:!1),this.useScientificNotation&&(u=!0),this.usePrefixes&&(u=!1),u?(r=-1==String(t).indexOf("e")?t.toExponential(15):String(t),u=r.split("e"),r=Number(u[0]),u=Number(u[1]),r=n.roundTo(r,14),i||isNaN(this.precision)||(r=n.roundTo(r,this.precision)),10==r&&(r=1,u+=1),r=r+"e"+u,0===t&&(r="0"),1==t&&(r="1")):(o&&(u=String(t).split("."),u[1]?(f.precision=u[1].length,0>r&&(f.precision=Math.abs(r)),i&&1<t&&(f.precision=0),i||isNaN(this.precision)||(f.precision=this.precision)):f.precision=-1),r=this.usePrefixes?n.addPrefix(t,e.prefixesOfBigNumbers,e.prefixesOfSmallNumbers,f,!i):n.formatNumber(t,f,f.precision)),this.duration&&(i&&(f.precision=0),r=n.formatDuration(t,this.duration,"",this.durationUnits,this.maxInterval,f)),"date"==this.type&&(r=n.formatDate(new Date(t),this.currentDateFormat,e)),this.recalculateToPercents?r+="%":(i=this.unit)&&(r="left"==this.unitPosition?i+r:r+i),this.labelFunction&&(r="date"==this.type?this.labelFunction(r,new Date(t),this).toString():this.labelFunction(t,r,this).toString()),r},getMinorGridStep:function(n,t){var f=[5,4,2],e,u,i,r;for(60>t&&f.shift(),e=Math.floor(Math.log(Math.abs(n))*Math.LOG10E),u=0;u<f.length;u++)if(i=n/f[u],r=Math.floor(Math.log(Math.abs(i))*Math.LOG10E),!(1<Math.abs(e-r)))if(1>n){if(r=Math.pow(10,-r)*i,r==Math.round(r))return i}else if(i==Math.round(i))return i},stackGraphs:function(t){var h=this.stackType,w,l;"stacked"==h&&(h="regular");"line"==h&&(h="none");"100% stacked"==h&&(h="100%");this.stackType=h;var c=[],o=[],s=[],a=[],f,y=this.chart.graphs,v,r,u,e,i,b=this.baseValue,p=!1;if(("line"==t||"step"==t||"smoothedLine"==t)&&(p=!0),p&&("regular"==h||"100%"==h))for(e=0;e<y.length;e++)u=y[e],u.stackGraph=null,u.hidden||(r=u.type,u.chart==this.chart&&u.valueAxis==this&&t==r&&u.stackable&&(v&&(u.stackGraph=v),v=u));for(u=this.start-10,v=this.end+10,e=this.data.length-1,u=n.fitToBounds(u,0,e),v=n.fitToBounds(v,0,e),i=u;i<=v;i++)for(w=0,e=0;e<y.length;e++)(u=y[e],u.hidden)?u.newStack&&(s[i]=NaN,o[i]=NaN):(r=u.type,u.chart==this.chart&&u.valueAxis==this&&t==r&&u.stackable)&&((r=this.data[i].axes[this.id].graphs[u.id],f=r.values.value,isNaN(f))?u.newStack&&(s[i]=NaN,o[i]=NaN):(l=n.getDecimals(f),w<l&&(w=l),isNaN(a[i])?a[i]=Math.abs(f):a[i]+=Math.abs(f),a[i]=n.roundTo(a[i],w),l=u.fillToGraph,p&&l&&(l=this.data[i].axes[this.id].graphs[l.id])&&(r.values.open=l.values.value),"regular"==h&&(p&&(isNaN(c[i])?(c[i]=f,r.values.close=f,r.values.open=this.baseValue):(r.values.close=isNaN(f)?c[i]:f+c[i],r.values.open=c[i],c[i]=r.values.close)),"column"==t&&(u.newStack&&(s[i]=NaN,o[i]=NaN),r.values.close=f,0>f?(r.values.close=f,isNaN(o[i])?r.values.open=b:(r.values.close+=o[i],r.values.open=o[i]),o[i]=r.values.close):(r.values.close=f,isNaN(s[i])?r.values.open=b:(r.values.close+=s[i],r.values.open=s[i]),s[i]=r.values.close)))));for(i=this.start;i<=this.end;i++)for(e=0;e<y.length;e++)(u=y[e],u.hidden)?u.newStack&&(s[i]=NaN,o[i]=NaN):(r=u.type,u.chart==this.chart&&u.valueAxis==this&&t==r&&u.stackable&&(r=this.data[i].axes[this.id].graphs[u.id],f=r.values.value,isNaN(f)||(c=f/a[i]*100,r.values.percents=c,r.values.total=a[i],u.newStack&&(s[i]=NaN,o[i]=NaN),"100%"==h&&(isNaN(o[i])&&(o[i]=0),isNaN(s[i])&&(s[i]=0),0>c?(r.values.close=n.fitToBounds(c+o[i],-100,100),r.values.open=o[i],o[i]=r.values.close):(r.values.close=n.fitToBounds(c+s[i],-100,100),r.values.open=s[i],s[i]=r.values.close)))))},recalculate:function(){for(var r=this.chart,l=r.graphs,u,f,i,e,s,h=0;h<l.length;h++)if(u=l[h],u.valueAxis==this){f="value";("candlestick"==u.type||"ohlc"==u.type)&&(f="open");var o,t,c=this.end+2,c=n.fitToBounds(this.end+1,0,this.data.length-1),e=this.start;if(0<e&&e--,t=this.start,u.compareFromStart&&(t=0),!isNaN(r.startTime)&&(i=r.categoryAxis)){var a=i.minDuration(),a=new Date(r.startTime+a/2),v=n.resetDateToMin(new Date(r.startTime),i.minPeriod).getTime();n.resetDateToMin(new Date(a),i.minPeriod).getTime()>v&&t++}for((i=r.recalculateFromDate)&&(i=n.getDate(i,r.dataDateFormat,"fff"),t=r.getClosestIndex(r.chartData,"time",i.getTime(),!0,0,r.chartData.length),c=r.chartData.length-1),i=t;i<=c&&(t=this.data[i].axes[this.id].graphs[u.id],o=t.values[f],u.recalculateValue&&(o=t.dataContext[u.valueField+u.recalculateValue]),isNaN(o));i++);for(this.recBaseValue=o,f=e;f<=c;f++){t=this.data[f].axes[this.id].graphs[u.id];t.percents={};e=t.values;for(s in e)t.percents[s]="percents"!=s?e[s]/o*100-100:e[s]}}},getMinMax:function(){for(var i=!1,u=this.chart,t=u.graphs,f,r=0;r<t.length;r++)f=t[r].type,("line"==f||"step"==f||"smoothedLine"==f)&&this.expandMinMax&&(i=!0);if(i&&(0<this.start&&this.start--,this.end<this.data.length-1&&this.end++),"serial"==u.type&&(!0!==u.categoryAxis.parseDates||i||this.end<this.data.length-1&&this.end++),this.includeAllValues&&(this.start=0,this.end=this.data.length-1),i=this.minMaxMultiplier,u=this.getExtremes(this.start,this.end),this.min=u.min,this.max=u.max,this.minRR=this.min,this.maxRR=this.max,i=(this.max-this.min)*(i-1),this.min-=i,this.max+=i,i=this.guides.length,this.includeGuidesInMinMax&&0<i)for(u=0;u<i;u++)t=this.guides[u],t.toValue<this.min&&(this.min=t.toValue),t.value<this.min&&(this.min=t.value),t.toValue>this.max&&(this.max=t.toValue),t.value>this.max&&(this.max=t.value);isNaN(this.minimum)||(this.min=this.minimum);isNaN(this.maximum)||(this.max=this.maximum);"date"==this.type&&this.getDateMinMax();this.min>this.max&&(i=this.max,this.max=this.min,this.min=i);isNaN(this.minZoom)||(this.min=this.minZoom);isNaN(this.maxZoom)||(this.max=this.maxZoom);this.minCalc=this.min;this.maxCalc=this.max;this.minReal=this.min;this.maxReal=this.max;0===this.min&&0===this.max&&(this.max=9);this.min>this.max&&(this.min=this.max-1);i=this.min;u=this.max;t=this.max-this.min;r=0===t?Math.pow(10,Math.floor(Math.log(Math.abs(this.max))*Math.LOG10E))/10:Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E))/10;isNaN(this.maximum)&&(this.max=Math.ceil(this.max/r)*r+r);isNaN(this.minimum)&&(this.min=Math.floor(this.min/r)*r-r);0>this.min&&0<=i&&(this.min=0);0<this.max&&0>=u&&(this.max=0);"100%"==this.stackType&&(this.min=0>this.min?-100:0,this.max=0>this.max?0:100);t=this.max-this.min;r=Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E))/10;this.step=Math.ceil(t/this.gridCountR/r)*r;t=Math.pow(10,Math.floor(Math.log(Math.abs(this.step))*Math.LOG10E));t=n.fixStepE(t);r=Math.ceil(this.step/t);5<r&&(r=10);5>=r&&2<r&&(r=5);this.step=Math.ceil(this.step/(t*r))*t*r;isNaN(this.setStep)||(this.step=this.setStep);1>t?(this.maxDecCount=Math.abs(Math.log(Math.abs(t))*Math.LOG10E),this.maxDecCount=Math.round(this.maxDecCount),this.step=n.roundTo(this.step,this.maxDecCount+1)):this.maxDecCount=0;this.min=this.step*Math.floor(this.min/this.step);this.max=this.step*Math.ceil(this.max/this.step);0>this.min&&0<=i&&(this.min=0);0<this.max&&0>=u&&(this.max=0);1<this.minReal&&1<this.max-this.minReal&&(this.minReal=Math.floor(this.minReal));t=Math.pow(10,Math.floor(Math.log(Math.abs(this.minReal))*Math.LOG10E));0===this.min&&(this.minReal=t);0===this.min&&1<this.minReal&&(this.minReal=1);0<this.min&&0<this.minReal-this.step&&(this.minReal=this.min+this.step<this.minReal?this.min+this.step:this.min);this.logarithmic&&(2<Math.log(u)*Math.LOG10E-Math.log(i)*Math.LOG10E?(this.minReal=this.min=Math.pow(10,Math.floor(Math.log(Math.abs(i))*Math.LOG10E)),this.max=Math.pow(10,Math.ceil(Math.log(Math.abs(u))*Math.LOG10E))):(i=Math.pow(10,Math.floor(Math.log(Math.abs(i))*Math.LOG10E))/10,Math.pow(10,Math.floor(Math.log(Math.abs(this.min))*Math.LOG10E))/10<i&&(this.minReal=this.min=10*i)))},getExtremes:function(n,t){for(var u,f,o,s,r,i,e,h=n;h<=t;h++){o=this.data[h].axes[this.id].graphs;for(s in o)if(o.hasOwnProperty(s)&&(r=this.chart.graphsById[s],r.includeInMinMax&&(!r.hidden||this.includeHidden)))if(isNaN(u)&&(u=Infinity),isNaN(f)&&(f=-Infinity),this.foundGraphs=!0,r=o[s].values,this.recalculateToPercents&&(r=o[s].percents),this.minMaxField)i=r[this.minMaxField],i<u&&(u=i),i>f&&(f=i);else for(e in r)r.hasOwnProperty(e)&&"percents"!=e&&"total"!=e&&"error"!=e&&(i=r[e],i<u&&(u=i),i>f&&(f=i))}return{min:u,max:f}},zoomOut:function(n){this.maxZoom=this.minZoom=NaN;this.zoomToRelativeValues(0,1,n)},zoomToRelativeValues:function(n,t,i){var r;this.reversed&&(r=n,n=1-t,t=1-r);var u=this.fullMax,r=this.fullMin,f=r+(u-r)*n,e=r+(u-r)*t;return this.logarithmic&&(u=Math.log(u)*Math.LOG10E-Math.log(r)*Math.LOG10E,f=Math.pow(10,u*n+Math.log(r)*Math.LOG10E),e=Math.pow(10,u*t+Math.log(r)*Math.LOG10E)),this.zoomToValues(f,e,i)},zoomToValues:function(t,i,r){var u,f,e;return i<t&&(u=i,i=t,t=u),f=this.fullMax,u=this.fullMin,this.relativeStart=(t-u)/(f-u),this.relativeEnd=(i-u)/(f-u),this.logarithmic&&(f=Math.log(f)*Math.LOG10E-Math.log(u)*Math.LOG10E,e=Math.log(i)/Math.LN10-Math.log(u)*Math.LOG10E,this.relativeStart=(Math.log(t)/Math.LN10-Math.log(u)*Math.LOG10E)/f,this.relativeEnd=e/f),this.minZoom!=t||this.maxZoom!=i?(this.minZoom=t,this.maxZoom=i,u={type:"axisZoomed"},u.chart=this.chart,u.valueAxis=this,u.startValue=t,u.endValue=i,u.relativeStart=this.relativeStart,u.relativeEnd=this.relativeEnd,this.prevStartValue==t&&this.prevEndValue==i||this.fire(u),this.prevStartValue=t,this.prevEndValue=i,r||(t={},n.copyProperties(u,t),t.type="axisIntZoomed",this.fire(t)),0===this.relativeStart&&1==this.relativeEnd&&(this.maxZoom=this.minZoom=NaN),!0):void 0},coordinateToValue:function(n){if(isNaN(n))return NaN;var i=this.axisWidth,t=this.stepWidth,u=this.reversed,f=this.rotate,r=this.min,e=this.minReal;return!0===this.logarithmic?Math.pow(10,(f?!0===u?(i-n)/t:n/t:!0===u?n/t:(i-n)/t)+Math.log(e)*Math.LOG10E):!0===u?f?r-(n-i)/t:n/t+r:f?n/t+r:r-(n-i)/t},getCoordinate:function(n,t){if(isNaN(n))return NaN;var i=this.rotate,e=this.reversed,f=this.axisWidth,u=this.stepWidth,r=this.min,o=this.minReal;return!0===this.logarithmic?(0===n&&(n=this.treatZeroAs),r=Math.log(n)*Math.LOG10E-Math.log(o)*Math.LOG10E,i=i?!0===e?f-u*r:u*r:!0===e?u*r:f-u*r):i=!0===e?i?f-u*(n-r):u*(n-r):i?u*(n-r):f-u*(n-r),1e7<Math.abs(i)&&(i=i/Math.abs(i)*1e7),t||(i=Math.round(i)),i},synchronizeWithAxis:function(n){this.synchronizeWith=n;this.listenTo(this.synchronizeWith,"axisChanged",this.handleSynchronization)},handleSynchronization:function(){if(this.synchronizeWith){n.isString(this.synchronizeWith)&&(this.synchronizeWith=this.chart.getValueAxisById(this.synchronizeWith));var t=this.synchronizeWith,i=t.min,u=t.max,t=t.step,r=this.synchronizationMultiplier;r&&(this.min=i*r,this.max=u*r,this.step=t*r,i=Math.abs(Math.log(Math.abs(Math.pow(10,Math.floor(Math.log(Math.abs(this.step))*Math.LOG10E))))*Math.LOG10E),this.maxDecCount=i=Math.round(i),this.draw())}}})}(),function(){var n=window.AmCharts;n.RecAxis=n.Class({construct:function(t){var f=t.chart,i=t.axisThickness,r=t.axisColor,c=t.axisAlpha,e=t.offset,l=t.dx,u=t.dy,o=t.x,s=t.y,h=t.height,v=t.width,a=f.container;"H"==t.orientation?(r=n.line(a,[0,v],[0,0],r,c,i),this.axisWidth=t.width,"bottom"==t.position?(u=i/2+e+h+s-1,i=o):(u=-i/2-e+s+u,i=l+o)):(this.axisWidth=t.height,"right"==t.position?(r=n.line(a,[0,0,-l],[0,h,h-u],r,c,i),u=s+u,i=i/2+e+l+v+o-1):(r=n.line(a,[0,0],[0,h],r,c,i),u=s,i=-i/2-e+o));r.translate(i,u);i=f.container.set();i.push(r);f.axesSet.push(i);n.setCN(f,r,t.bcn+"line");this.axisSet=i;this.set=r}})}(),function(){var n=window.AmCharts;n.RecItem=n.Class({construct:function(t,i,r,u,f,e,o,s,h,c,l,a){var g,ii,b,bt,ot,pt,nt,w;i=Math.round(i);g=t.chart;this.value=r;void 0==r&&(r="");h||(h=0);void 0==u&&(u=!0);ii=g.fontFamily;b=t.fontSize;void 0==b&&(b=g.fontSize);bt=t.color;void 0==bt&&(bt=g.color);void 0!==l&&(bt=l);ot=t.chart.container;pt=ot.set();this.set=pt;var ht=t.axisThickness,oi=t.axisColor,ni=t.axisAlpha,y=t.tickLength,dt=t.gridAlpha,gt=t.gridThickness,ri=t.gridColor,ui=t.dashLength,si=t.fillColor,ti=t.fillAlpha,hi=t.labelsEnabled;l=t.labelRotationR;var fi=t.counter,d=t.inside,ct=t.labelOffset,ft=t.dx,rt=t.dy,ci=t.orientation,lt=t.position,kt=t.previousCoord,it=t.height,at=t.width,et=t.offset,ut,st;o?(void 0!==o.id&&(a=g.classNamePrefix+"-guide-"+o.id),hi=!0,isNaN(o.tickLength)||(y=o.tickLength),void 0!=o.lineColor&&(ri=o.lineColor),void 0!=o.color&&(bt=o.color),isNaN(o.lineAlpha)||(dt=o.lineAlpha),isNaN(o.dashLength)||(ui=o.dashLength),isNaN(o.lineThickness)||(gt=o.lineThickness),!0===o.inside&&(d=!0,0<et&&(et=0)),isNaN(o.labelRotation)||(l=o.labelRotation),isNaN(o.fontSize)||(b=o.fontSize),o.position&&(lt=o.position),void 0!==o.boldLabel&&(s=o.boldLabel),isNaN(o.labelOffset)||(ct=o.labelOffset)):""===r&&(y=0);c&&!isNaN(t.minorTickLength)&&(y=t.minorTickLength);nt="start";0<f&&(nt="middle");t.centerLabels&&(nt="middle");var k=l*Math.PI/180,vt,yt,p=0,v=0,wt=0,tt=vt=0,ei=0;"V"==ci&&(l=0);hi&&""!==r&&(w=t.autoWrap&&0===l?n.wrappedText(ot,r,bt,ii,b,nt,s,Math.abs(f),0):n.text(ot,r,bt,ii,b,nt,s),nt=w.getBBox(),tt=nt.width,ei=nt.height);"H"==ci?(0<=i&&i<=at+1&&(0<y&&0<ni&&i+h<=at+1&&(ut=n.line(ot,[i+h,i+h],[0,y],oi,ni,gt),pt.push(ut)),0<dt&&(st=n.line(ot,[i,i+ft,i+ft],[it,it+rt,rt],ri,dt,gt,ui),pt.push(st))),v=0,p=i,o&&90==l&&d&&(p-=b),!1===u?(nt="start",v="bottom"==lt?d?v+y:v-y:d?v-y:v+y,p+=3,0<f&&(p+=f/2-3,nt="middle"),0<l&&(nt="middle")):nt="middle",1==fi&&0<ti&&!o&&!c&&kt<at&&(u=n.fitToBounds(i,0,at),kt=n.fitToBounds(kt,0,at),vt=u-kt,0<vt&&(yt=n.rect(ot,vt,t.height,si,ti),yt.translate(u-vt+ft,rt),pt.push(yt))),"bottom"==lt?(v+=it+b/2+et,d?(0<l?(v=it-tt/2*Math.sin(k)-y-3,t.centerRotatedLabels||(p+=tt/2*Math.cos(k)-2)):0>l?(v=it+tt*Math.sin(k)-y-1,p+=-tt*Math.cos(k)-ei*Math.sin(k)-4):v-=y+b+3+3,v-=ct):(0<l?(v=it+tt/2*Math.sin(k)+y+3,t.centerRotatedLabels||(p-=tt/2*Math.cos(k))):0>l?(v=it+y+3-tt/2*Math.sin(k)+2,p+=tt/2*Math.cos(k)):v+=y+ht+3+3,v+=ct)):(v+=rt+b/2-et,p+=ft,d?(0<l?(v=tt/2*Math.sin(k)+y+3,t.centerRotatedLabels||(p-=tt/2*Math.cos(k))):v+=y+3,v+=ct):(0<l?(v=-(tt/2)*Math.sin(k)-y-6,t.centerRotatedLabels||(p+=tt/2*Math.cos(k))):v-=y+b+3+ht+3,v-=ct)),"bottom"==lt?vt=(d?it-y-1:it+ht-1)+et:(wt=ft,vt=(d?rt:rt-y-ht+1)-et),e&&(p+=e),b=p,0<l&&(b+=tt/2*Math.cos(k)),w&&(e=0,d&&(e=tt/2*Math.cos(k)),b+e>at+2||0>b))&&(w.remove(),w=null):(0<=i&&i<=it+1&&(0<y&&0<ni&&i+h<=it+1&&(ut=n.line(ot,[0,y+1],[i+h,i+h],oi,ni,gt),pt.push(ut)),0<dt&&(st=n.line(ot,[0,ft,at+ft],[i,i+rt,i+rt],ri,dt,gt,ui),pt.push(st))),nt="end",(!0===d&&"left"==lt||!1===d&&"right"==lt)&&(nt="start"),v=i-ei/2+2,1==fi&&0<ti&&!o&&!c&&(u=n.fitToBounds(i,0,it),kt=n.fitToBounds(kt,0,it),k=u-kt,yt=n.polygon(ot,[0,t.width,t.width,0],[0,0,k,k],si,ti),yt.translate(ft,u-k+rt),pt.push(yt)),v+=b/2,"right"==lt?(p+=ft+at+et,v+=rt,d?(e||(v-=b/2+3),p=p-(y+4)-ct):(p+=y+4+ht,v-=2,p+=ct)):d?(p+=y+4-et,e||(v-=b/2+3),o&&(p+=ft,v+=rt),p+=ct):(p+=-y-ht-6-et,v-=2,p-=ct),ut&&("right"==lt?(wt+=ft+et+at-1,vt+=rt,wt=d?wt-ht:wt+ht):(wt-=et,d||(wt-=y+ht))),e&&(v+=e),d=-3,"right"==lt&&(d+=rt),w&&(v>it+1||v<d-b/10)&&(w.remove(),w=null));ut&&(ut.translate(wt,vt),n.setCN(g,ut,t.bcn+"tick"),n.setCN(g,ut,a,!0),o&&n.setCN(g,ut,"guide"));!1===t.visible&&(ut&&ut.remove(),w&&(w.remove(),w=null));w&&(w.attr({"text-anchor":nt}),w.translate(p,v,NaN,!0),0!==l&&w.rotate(-l,t.chart.backgroundColor),t.allLabels.push(w),this.label=w,n.setCN(g,w,t.bcn+"label"),n.setCN(g,w,a,!0),o&&n.setCN(g,w,"guide"));st&&(n.setCN(g,st,t.bcn+"grid"),n.setCN(g,st,a,!0),o&&n.setCN(g,st,"guide"));yt&&(n.setCN(g,yt,t.bcn+"fill"),n.setCN(g,yt,a,!0));c?st&&n.setCN(g,st,t.bcn+"grid-minor"):(t.counter=0===fi?1:0,t.previousCoord=i);0===this.set.node.childNodes.length&&this.set.remove()},graphics:function(){return this.set},getLabel:function(){return this.label}})}(),function(){var n=window.AmCharts;n.RecFill=n.Class({construct:function(t,i,r,u){var c=t.dx,l=t.dy,f=t.orientation,h=0,o,e,s;r<i&&(e=i,i=r,r=e);o=u.fillAlpha;isNaN(o)&&(o=0);e=t.chart.container;s=u.fillColor;"V"==f?(i=n.fitToBounds(i,0,t.height),r=n.fitToBounds(r,0,t.height)):(i=n.fitToBounds(i,0,t.width),r=n.fitToBounds(r,0,t.width));r-=i;isNaN(r)&&(r=4,h=2,o=0);0>r&&"object"==typeof s&&(s=s.join(",").split(",").reverse());"V"==f?(f=n.rect(e,t.width,r,s,o),f.translate(c,i-h+l)):(f=n.rect(e,r,t.height,s,o),f.translate(i-h+c,l));n.setCN(t.chart,f,"guide-fill");u.id&&n.setCN(t.chart,f,"guide-fill-"+u.id);this.set=e.set([f])},graphics:function(){return this.set},getLabel:function(){}})}(),function(){var n=window.AmCharts;n.AmChart=n.Class({construct:function(t){this.svgIcons=this.tapToActivate=!0;this.theme=t;this.classNamePrefix="amcharts";this.addClassNames=!1;this.version="3.20.13";n.addChart(this);this.createEvents("buildStarted","dataUpdated","init","rendered","drawn","failed","resized","animationFinished");this.height=this.width="100%";this.dataChanged=!0;this.chartCreated=!1;this.previousWidth=this.previousHeight=0;this.backgroundColor="#FFFFFF";this.borderAlpha=this.backgroundAlpha=0;this.color=this.borderColor="#000000";this.fontFamily="Verdana";this.fontSize=11;this.usePrefixes=!1;this.autoResize=!0;this.autoDisplay=!1;this.addCodeCredits=this.accessible=!0;this.touchStartTime=this.touchClickDuration=0;this.precision=-1;this.percentPrecision=2;this.decimalSeparator=".";this.thousandsSeparator=",";this.labels=[];this.allLabels=[];this.titles=[];this.marginRight=this.marginLeft=this.autoMarginOffset=0;this.timeOuts=[];this.creditsPosition="top-left";var r=document.createElement("div"),i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.chartDiv=r;r=document.createElement("div");i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.legendDiv=r;this.titleHeight=0;this.hideBalloonTime=150;this.handDrawScatter=2;this.cssScale=this.handDrawThickness=1;this.cssAngle=0;this.prefixesOfBigNumbers=[{number:1e3,prefix:"k"},{number:1e6,prefix:"M"},{number:1e9,prefix:"G"},{number:1e12,prefix:"T"},{number:1e15,prefix:"P"},{number:1e18,prefix:"E"},{number:1e21,prefix:"Z"},{number:1e24,prefix:"Y"}];this.prefixesOfSmallNumbers=[{number:1e-24,prefix:"y"},{number:1e-21,prefix:"z"},{number:1e-18,prefix:"a"},{number:1e-15,prefix:"f"},{number:1e-12,prefix:"p"},{number:1e-9,prefix:"n"},{number:1e-6,prefix:"μ"},{number:.001,prefix:"m"}];this.panEventsEnabled=!0;this.product="amcharts";this.animations=[];this.balloon=new n.AmBalloon(this.theme);this.balloon.chart=this;this.processTimeout=0;this.processCount=1e3;this.animatable=[];this.langObj={};n.applyTheme(this,t,"AmChart")},drawChart:function(){0<this.realWidth&&0<this.realHeight&&(this.drawBackground(),this.redrawLabels(),this.drawTitles(),this.brr(),this.renderFix(),this.chartDiv&&(this.boundingRect=this.chartDiv.getBoundingClientRect()))},makeAccessible:function(n,t,i){this.accessible&&n&&(i&&n.setAttr("role",i),n.setAttr("aria-label",t))},drawBackground:function(){var r,u;n.remove(this.background);var i=this.container,t=this.backgroundColor,f=this.backgroundAlpha,e=this.set;n.isModern||0!==f||(f=.001);r=this.updateWidth();this.realWidth=r;u=this.updateHeight();this.realHeight=u;t=n.polygon(i,[0,r-1,r-1,0],[0,0,u-1,u-1],t,f,1,this.borderColor,this.borderAlpha);n.setCN(this,t,"bg");this.background=t;e.push(t);(t=this.backgroundImage)&&(i=i.image(t,0,0,r,u),n.setCN(this,t,"bg-image"),this.bgImg=i,e.push(i))},drawTitles:function(t){var o=this.titles,u,f,i,r,e,s,h;if(this.titleHeight=0,n.ifArray(o)){for(u=20,f=0;f<o.length;f++)i=o[f],i=n.processObject(i,n.Title,this.theme),!1!==i.enabled&&(r=i.color,void 0===r&&(r=this.color),e=i.size,isNaN(e)&&(e=this.fontSize+2),isNaN(i.alpha),s=this.marginLeft,h=!0,void 0!==i.bold&&(h=i.bold),r=n.wrappedText(this.container,i.text,r,this.fontFamily,e,"middle",h,this.realWidth-35),r.translate(s+(this.realWidth-this.marginRight-s)/2,u),r.node.style.pointerEvents="none",i.sprite=r,void 0!==i.tabIndex&&r.setAttr("tabindex",i.tabIndex),n.setCN(this,r,"title"),i.id&&n.setCN(this,r,"title-"+i.id),r.attr({opacity:i.alpha}),u+=r.getBBox().height+5,t?r.remove():this.freeLabelsSet.push(r));this.titleHeight=u-10}},write:function(n){var t=this,i,r;if(t.listeners)for(i=0;i<t.listeners.length;i++)r=t.listeners[i],t.addListener(r.event,r.method);t.fire({type:"buildStarted",chart:t});t.afterWriteTO&&clearTimeout(t.afterWriteTO);0<t.processTimeout?t.afterWriteTO=setTimeout(function(){t.afterWrite.call(t,n)},t.processTimeout):t.afterWrite(n)},afterWrite:function(t){var f,s,i;if(f="object"!=typeof t?document.getElementById(t):t){for(;f.firstChild;)f.removeChild(f.firstChild);this.div=f;f.style.overflow="hidden";f.style.textAlign="left";t=this.chartDiv;var o=this.legendDiv,r=this.legend,u=o.style,e=t.style;if(this.measure(),this.previousHeight=this.divRealHeight,this.previousWidth=this.divRealWidth,i=document.createElement("div"),s=i.style,s.position="relative",this.containerDiv=i,i.className=this.classNamePrefix+"-main-div",t.className=this.classNamePrefix+"-chart-div",f.appendChild(i),(f=this.exportConfig)&&n.AmExport&&!this.AmExport&&(this.AmExport=new n.AmExport(this,f)),this.amExport&&n.AmExport&&(this.AmExport=n.extend(this.amExport,new n.AmExport(this),!0)),this.AmExport&&this.AmExport.init&&this.AmExport.init(),r){if(r=this.addLegend(r,r.divId),r.enabled)switch(u.left=null,u.top=null,u.right=null,e.left=null,e.right=null,e.top=null,u.position="relative",e.position="relative",s.width="100%",s.height="100%",r.position){case"bottom":i.appendChild(t);i.appendChild(o);break;case"top":i.appendChild(o);i.appendChild(t);break;case"absolute":u.position="absolute";e.position="absolute";void 0!==r.left&&(u.left=r.left+"px");void 0!==r.right&&(u.right=r.right+"px");void 0!==r.top&&(u.top=r.top+"px");void 0!==r.bottom&&(u.bottom=r.bottom+"px");r.marginLeft=0;r.marginRight=0;i.appendChild(t);i.appendChild(o);break;case"right":u.position="relative";e.position="absolute";i.appendChild(t);i.appendChild(o);break;case"left":u.position="absolute";e.position="relative";i.appendChild(t);i.appendChild(o);break;case"outside":i.appendChild(t)}else i.appendChild(t);this.prevLegendPosition=r.position}else i.appendChild(t);this.listenersAdded||(this.addListeners(),this.listenersAdded=!0);this.initChart()}},createLabelsSet:function(){n.remove(this.labelsSet);this.labelsSet=this.container.set();this.freeLabelsSet.push(this.labelsSet)},initChart:function(){this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme);window.AmCharts_path&&(this.path=window.AmCharts_path);void 0===this.path&&(this.path=n.getPath());void 0===this.path&&(this.path="amcharts/");this.path=n.normalizeUrl(this.path);void 0===this.pathToImages&&(this.pathToImages=this.path+"images/");this.initHC||(n.callInitHandler(this),this.initHC=!0);n.applyLang(this.language,this);var t=this.numberFormatter;t&&(isNaN(t.precision)||(this.precision=t.precision),void 0!==t.thousandsSeparator&&(this.thousandsSeparator=t.thousandsSeparator),void 0!==t.decimalSeparator&&(this.decimalSeparator=t.decimalSeparator));(t=this.percentFormatter)&&!isNaN(t.precision)&&(this.percentPrecision=t.precision);this.nf={precision:this.precision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.pf={precision:this.percentPrecision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.destroy();(t=this.container)?(t.container.innerHTML="",t.width=this.realWidth,t.height=this.realHeight,t.addDefs(this),this.chartDiv.appendChild(t.container)):t=new n.AmDraw(this.chartDiv,this.realWidth,this.realHeight,this);this.container=t;this.extension=".png";this.svgIcons&&n.SVG&&(this.extension=".svg");this.checkDisplay();this.checkTransform(this.div);t.chart=this;n.VML||n.SVG?(t.handDrawn=this.handDrawn,t.handDrawScatter=this.handDrawScatter,t.handDrawThickness=this.handDrawThickness,n.remove(this.set),this.set=t.set(),n.remove(this.gridSet),this.gridSet=t.set(),n.remove(this.cursorLineSet),this.cursorLineSet=t.set(),n.remove(this.graphsBehindSet),this.graphsBehindSet=t.set(),n.remove(this.bulletBehindSet),this.bulletBehindSet=t.set(),n.remove(this.columnSet),this.columnSet=t.set(),n.remove(this.graphsSet),this.graphsSet=t.set(),n.remove(this.trendLinesSet),this.trendLinesSet=t.set(),n.remove(this.axesSet),this.axesSet=t.set(),n.remove(this.cursorSet),this.cursorSet=t.set(),n.remove(this.scrollbarsSet),this.scrollbarsSet=t.set(),n.remove(this.bulletSet),this.bulletSet=t.set(),n.remove(this.freeLabelsSet),this.freeLabelsSet=t.set(),n.remove(this.axesLabelsSet),this.axesLabelsSet=t.set(),n.remove(this.balloonsSet),this.balloonsSet=t.set(),n.remove(this.plotBalloonsSet),this.plotBalloonsSet=t.set(),n.remove(this.zoomButtonSet),this.zoomButtonSet=t.set(),n.remove(this.zbSet),this.zbSet=null,n.remove(this.linkSet),this.linkSet=t.set()):this.fire({type:"failed",chart:this})},premeasure:function(){var n=this.div,t,i;if(n){try{this.boundingRect=this.chartDiv.getBoundingClientRect()}catch(r){}t=n.offsetWidth;i=n.offsetHeight;n.clientHeight&&(t=n.clientWidth,i=n.clientHeight);(t!=this.mw||i!=this.mh)&&(this.mw=t,this.mh=i,this.measure())}},measure:function(){var t=this.div;if(t){var f=this.chartDiv,i=t.offsetWidth,r=t.offsetHeight,e=this.container;t.clientHeight&&(i=t.clientWidth,r=t.clientHeight);var r=Math.round(r),i=Math.round(i),t=Math.round(n.toCoordinate(this.width,i)),u=Math.round(n.toCoordinate(this.height,r));(i!=this.previousWidth||r!=this.previousHeight)&&0<t&&0<u&&(f.style.width=t+"px",f.style.height=u+"px",f.style.padding=0,e&&e.setSize(t,u),this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme));this.balloon.setBounds&&this.balloon.setBounds(2,2,t-2,u);this.balloon.chart=this;this.realWidth=t;this.realHeight=u;this.divRealWidth=i;this.divRealHeight=r}},checkDisplay:function(){if(this.autoDisplay&&this.container){var t=n.rect(this.container,10,10),i=t.getBBox();0===i.width&&0===i.height&&(this.divRealHeight=this.divRealWidth=this.realHeight=this.realWidth=0,this.previousWidth=this.previousHeight=NaN);t.remove()}},checkTransform:function(n){var t;if(this.autoTransform&&window.getComputedStyle&&n){if(n.style&&(t=window.getComputedStyle(n,null),t&&(t=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("-moz-transform")||t.getPropertyValue("-ms-transform")||t.getPropertyValue("-o-transform")||t.getPropertyValue("transform"))&&"none"!==t)){var i=t.split("(")[1].split(")")[0].split(","),t=i[0],i=i[1],t=Math.sqrt(t*t+i*i);isNaN(t)||(this.cssScale*=t)}n.parentNode&&this.checkTransform(n.parentNode)}},destroy:function(){this.chartDiv.innerHTML="";this.clearTimeOuts();this.legend&&this.legend.destroy()},clearTimeOuts:function(){var t=this.timeOuts,n;if(t)for(n=0;n<t.length;n++)clearTimeout(t[n]);this.timeOuts=[]},clear:function(t){try{document.removeEventListener("touchstart",this.docfn1,!0);document.removeEventListener("touchend",this.docfn2,!0)}catch(i){}if(n.callMethod("clear",[this.chartScrollbar,this.scrollbarV,this.scrollbarH,this.chartCursor]),this.chartCursor=this.scrollbarH=this.scrollbarV=this.chartScrollbar=null,this.clearTimeOuts(),this.container&&(this.container.remove(this.chartDiv),this.container.remove(this.legendDiv)),t||n.removeChart(this),t=this.div)for(;t.firstChild;)t.removeChild(t.firstChild);this.legend&&this.legend.destroy();this.AmExport&&this.AmExport.clear&&this.AmExport.clear()},setMouseCursor:function(t){"auto"==t&&n.isNN&&(t="default");this.chartDiv.style.cursor=t;this.legendDiv.style.cursor=t},redrawLabels:function(){var t,n;for(this.labels=[],t=this.allLabels,this.createLabelsSet(),n=0;n<t.length;n++)this.drawLabel(t[n])},drawLabel:function(t){var i=this;if(i.container&&!1!==t.enabled){t=n.processObject(t,n.Label,i.theme);var f=t.y,r=t.text,u=t.align,s=t.size,h=t.color,e=t.rotation,c=t.alpha,l=t.bold,o=n.toCoordinate(t.x,i.realWidth),f=n.toCoordinate(f,i.realHeight);o||(o=0);f||(f=0);void 0===h&&(h=i.color);isNaN(s)&&(s=i.fontSize);u||(u="start");"left"==u&&(u="start");"right"==u&&(u="end");"center"==u&&(u="middle",e?f=i.realHeight-f+f/2:o=i.realWidth/2-o);void 0===c&&(c=1);void 0===e&&(e=0);f+=s/2;r=n.text(i.container,r,h,i.fontFamily,s,u,l,c);r.translate(o,f);void 0!==t.tabIndex&&r.setAttr("tabindex",t.tabIndex);n.setCN(i,r,"label");t.id&&n.setCN(i,r,"label-"+t.id);0!==e&&r.rotate(e);t.url?(r.setAttr("cursor","pointer"),r.click(function(){n.getURL(t.url,i.urlTarget)})):r.node.style.pointerEvents="none";i.labelsSet.push(r);i.labels.push(r)}},addLabel:function(n,t,i,r,u,f,e,o,s,h){n={x:n,y:t,text:i,align:r,size:u,color:f,alpha:o,rotation:e,bold:s,url:h,enabled:!0};this.container&&this.drawLabel(n);this.allLabels.push(n)},clearLabels:function(){for(var t=this.labels,n=t.length-1;0<=n;n--)t[n].remove();this.labels=[];this.allLabels=[]},updateHeight:function(){var n=this.divRealHeight,t=this.legend,i;return t&&(i=this.legendDiv.offsetHeight,t=t.position,("top"==t||"bottom"==t)&&(n-=i,(0>n||isNaN(n))&&(n=0),this.chartDiv.style.height=n+"px")),n},updateWidth:function(){var t=this.divRealWidth,f=this.divRealHeight,n=this.legend,i,r;if(n){i=this.legendDiv;r=i.offsetWidth;isNaN(n.width)||(r=n.width);n.ieW&&(r=n.ieW);var e=i.offsetHeight,i=i.style,u=this.chartDiv.style,n=n.position;("right"==n||"left"==n)&&(t-=r,(0>t||isNaN(t))&&(t=0),u.width=t+"px",this.balloon.setBounds(2,2,t-2,this.realHeight),"left"==n?(u.left=r+"px",i.left="0px"):(u.left="0px",i.left=t+"px"),f>e&&(i.top=(f-e)/2+"px"))}return t},getTitleHeight:function(){return this.drawTitles(!0),this.titleHeight},addTitle:function(n,t,i,r,u){return isNaN(t)&&(t=this.fontSize+2),n={text:n,size:t,color:i,alpha:r,bold:u,enabled:!0},this.titles.push(n),n},handleWheel:function(n){var t=0;n||(n=window.event);n.wheelDelta?t=n.wheelDelta/120:n.detail&&(t=-n.detail/3);t&&this.handleWheelReal(t,n.shiftKey);n.preventDefault&&n.preventDefault()},handleWheelReal:function(){},handleDocTouchStart:function(){var n=this;setTimeout(function(){n.hideBalloonReal()},300);n.handleMouseMove();n.tmx=n.mouseX;n.tmy=n.mouseY;n.touchStartTime=(new Date).getTime()},handleDocTouchEnd:function(){-.5<this.tmx&&this.tmx<this.divRealWidth+1&&0<this.tmy&&this.tmy<this.divRealHeight?(this.handleMouseMove(),4>Math.abs(this.mouseX-this.tmx)&&4>Math.abs(this.mouseY-this.tmy)?(this.tapped=!0,this.panRequired&&this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="none",this.chartDiv.style.touchAction="none")):this.mouseIsOver||this.resetTouchStyle()):(this.tapped=!1,this.resetTouchStyle())},resetTouchStyle:function(){this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="auto",this.chartDiv.style.touchAction="auto")},checkTouchDuration:function(n){var t=this,i=(new Date).getTime();if(n)if(n.touches)t.isTouchEvent=!0;else if(!t.isTouchEvent)return!0;if(i-t.touchStartTime>t.touchClickDuration)return!0;setTimeout(function(){t.resetTouchDuration()},300)},resetTouchDuration:function(){this.isTouchEvent=!1},checkTouchMoved:function(){if(4<Math.abs(this.mouseX-this.tmx)||4<Math.abs(this.mouseY-this.tmy))return!0},addListeners:function(){var n=this,t=n.chartDiv;document.addEventListener?("ontouchstart"in document.documentElement&&(t.addEventListener("touchstart",function(t){n.handleTouchStart.call(n,t)},!0),t.addEventListener("touchmove",function(t){n.handleMouseMove.call(n,t)},!0),t.addEventListener("touchend",function(t){n.handleTouchEnd.call(n,t)},!0),n.docfn1=function(t){n.handleDocTouchStart.call(n,t)},n.docfn2=function(t){n.handleDocTouchEnd.call(n,t)},document.addEventListener("touchstart",n.docfn1,!0),document.addEventListener("touchend",n.docfn2,!0)),t.addEventListener("mousedown",function(t){n.mouseIsOver=!0;n.handleMouseMove.call(n,t);n.handleMouseDown.call(n,t);n.handleDocTouchStart.call(n,t)},!0),t.addEventListener("mouseover",function(t){n.handleMouseOver.call(n,t)},!0),t.addEventListener("mouseout",function(t){n.handleMouseOut.call(n,t)},!0),t.addEventListener("mouseup",function(t){n.handleDocTouchEnd.call(n,t)},!0)):(t.attachEvent("onmousedown",function(t){n.handleMouseDown.call(n,t)}),t.attachEvent("onmouseover",function(t){n.handleMouseOver.call(n,t)}),t.attachEvent("onmouseout",function(t){n.handleMouseOut.call(n,t)}))},dispDUpd:function(){this.skipEvents||(this.dispatchDataUpdated&&(this.dispatchDataUpdated=!1,this.fire({type:"dataUpdated",chart:this})),this.chartCreated||(this.chartCreated=!0,this.fire({type:"init",chart:this})),this.chartRendered||(this.fire({type:"rendered",chart:this}),this.chartRendered=!0),this.fire({type:"drawn",chart:this}));this.skipEvents=!1},validateSize:function(){var n=this,t,i;n.premeasure();n.checkDisplay();n.cssScale=1;n.cssAngle=0;n.checkTransform(n.div);(n.divRealWidth!=n.previousWidth||n.divRealHeight!=n.previousHeight)&&(t=n.legend,0<n.realWidth&&0<n.realHeight&&(n.sizeChanged=!0,t&&(n.legendInitTO&&clearTimeout(n.legendInitTO),i=setTimeout(function(){t.invalidateSize()},10),n.timeOuts.push(i),n.legendInitTO=i),n.marginsUpdated=!1,clearTimeout(n.initTO),i=setTimeout(function(){n.initChart()},10),n.timeOuts.push(i),n.initTO=i),n.renderFix(),t&&t.renderFix&&t.renderFix(),clearTimeout(n.resizedTO),n.resizedTO=setTimeout(function(){n.fire({type:"resized",chart:n})},10),n.previousHeight=n.divRealHeight,n.previousWidth=n.divRealWidth)},invalidateSize:function(){this.previousHeight=this.previousWidth=NaN;this.invalidateSizeReal()},invalidateSizeReal:function(){var n=this,t;n.marginsUpdated=!1;clearTimeout(n.validateTO);t=setTimeout(function(){n.validateSize()},5);n.timeOuts.push(t);n.validateTO=t},validateData:function(n){this.chartCreated&&(this.dataChanged=!0,this.marginsUpdated=!1,this.initChart(n))},validateNow:function(n,t){this.initTO&&clearTimeout(this.initTO);n&&(this.dataChanged=!0,this.marginsUpdated=!1);this.skipEvents=t;this.chartRendered=!1;var i=this.legend;i&&i.position!=this.prevLegendPosition&&(this.previousWidth=this.mw=0,i.invalidateSize&&(i.invalidateSize(),this.validateSize()));this.write(this.div)},showItem:function(n){n.hidden=!1;this.initChart()},hideItem:function(n){n.hidden=!0;this.initChart()},hideBalloon:function(){var n=this;clearTimeout(n.hoverInt);clearTimeout(n.balloonTO);n.hoverInt=setTimeout(function(){n.hideBalloonReal.call(n)},n.hideBalloonTime)},cleanChart:function(){},hideBalloonReal:function(){var n=this.balloon;n&&n.hide&&n.hide()},showBalloon:function(n,t,i,r,u){var f=this;clearTimeout(f.balloonTO);clearTimeout(f.hoverInt);f.balloonTO=setTimeout(function(){f.showBalloonReal.call(f,n,t,i,r,u)},1)},showBalloonReal:function(n,t,i,r,u){this.handleMouseMove();var f=this.balloon;f.enabled&&(f.followCursor(!1),f.changeColor(t),!i||f.fixedPosition?(f.setPosition(r,u),isNaN(r)||isNaN(u)?f.followCursor(!0):f.followCursor(!1)):f.followCursor(!0),n&&f.showBalloon(n))},handleMouseOver:function(){this.outTO&&clearTimeout(this.outTO);n.resetMouseOver();this.mouseIsOver=!0},handleMouseOut:function(){var t=this;n.resetMouseOver();t.outTO&&clearTimeout(t.outTO);t.outTO=setTimeout(function(){t.handleMouseOutReal()},10)},handleMouseOutReal:function(){this.mouseIsOver=!1},handleMouseMove:function(n){var t,i,r,u,f;if(n||(n=window.event),this.mouse2Y=this.mouse2X=NaN,n){if(n.touches){if(f=n.touches.item(1),f&&this.panEventsEnabled&&this.boundingRect&&(r=f.clientX-this.boundingRect.left,u=f.clientY-this.boundingRect.top),n=n.touches.item(0),!n)return}else this.wasTouched=!1;this.boundingRect&&n.clientX&&(t=n.clientX-this.boundingRect.left,i=n.clientY-this.boundingRect.top);isNaN(r)?this.mouseX=t:(this.mouseX=Math.min(t,r),this.mouse2X=Math.max(t,r));isNaN(u)?this.mouseY=i:(this.mouseY=Math.min(i,u),this.mouse2Y=Math.max(i,u));this.autoTransform&&(this.mouseX/=this.cssScale,this.mouseY/=this.cssScale)}},handleTouchStart:function(n){this.hideBalloonReal();n&&(n.touches&&this.tapToActivate&&!this.tapped||!this.panRequired)||(this.handleMouseMove(n),this.handleMouseDown(n))},handleTouchEnd:function(t){this.wasTouched=!0;this.handleMouseMove(t);n.resetMouseOver();this.handleReleaseOutside(t)},handleReleaseOutside:function(){this.handleDocTouchEnd.call(this)},handleMouseDown:function(t){n.resetMouseOver();this.mouseIsOver=!0;t&&t.preventDefault&&(this.panEventsEnabled?t.preventDefault():t.touches||t.preventDefault())},addLegend:function(t,i){t=n.processObject(t,n.AmLegend,this.theme);t.divId=i;t.ieW=0;var r;return r="object"!=typeof i&&i?document.getElementById(i):i,this.legend=t,t.chart=this,r?(t.div=r,t.position="outside",t.autoMargins=!1):t.div=this.legendDiv,t},removeLegend:function(){this.legend=void 0;this.previousWidth=0;this.legendDiv.innerHTML=""},handleResize:function(){(n.isPercents(this.width)||n.isPercents(this.height))&&this.invalidateSizeReal();this.renderFix()},renderFix:function(){if(!n.VML){var t=this.container;t&&t.renderFix()}},getSVG:function(){if(n.hasSVG)return this.container},animate:function(t,i,r,u,f,e,o){return t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]),r={obj:t,frame:0,attribute:i,from:r,to:u,time:f,effect:e,suffix:o},t["an_"+i]=r,this.animations.push(r),r},setLegendData:function(n){var t=this.legend;t&&t.setData(n)},stopAnim:function(t){n.removeFromArray(this.animations,t)},updateAnimations:function(){var i;if(this.container&&this.container.update(),this.animations)for(i=this.animations.length-1;0<=i;i--){var t=this.animations[i],u=n.updateRate*t.time,e=t.frame+1,r=t.obj,f=t.attribute;if(e<=u){t.frame++;var o=Number(t.from),s=Number(t.to)-o,u=n[t.effect](0,e,o,s,u);0===s?(this.animations.splice(i,1),r.node.style[f]=Number(t.to)+t.suffix):r.node.style[f]=u+t.suffix}else r.node.style[f]=Number(t.to)+t.suffix,r.animationFinished=!0,this.animations.splice(i,1)}},update:function(){var n,i,t,r;if(this.updateAnimations(),n=this.animatable,0<n.length){for(i=!0,t=n.length-1;0<=t;t--)r=n[t],r&&(r.animationFinished?n.splice(t,1):i=!1);i&&(this.fire({type:"animationFinished",chart:this}),this.animatable=[])}},inIframe:function(){try{return window.self!==window.top}catch(n){return!0}},brr:function(){var n,i,u;if(!this.hideCredits&&(n="amcharts.com",i=window.location.hostname.split("."),2<=i.length&&(u=i[i.length-2]+"."+i[i.length-1]),this.amLink&&(i=this.amLink.parentNode)&&i.removeChild(this.amLink),i=this.creditsPosition,u!=n||!0===this.inIframe())){var n="http://www."+n,f=u=0,s=this.realWidth,h=this.realHeight,t=this.type;("serial"==t||"xy"==t||"gantt"==t)&&(u=this.marginLeftReal,f=this.marginTopReal,s=u+this.plotAreaWidth,h=f+this.plotAreaHeight);var t=n+"/javascript-charts/",e="JavaScript charts",r="JS chart by amCharts";"ammap"==this.product&&(t=n+"/javascript-maps/",e="Interactive JavaScript maps",r="JS map by amCharts");n=document.createElement("a");r=document.createTextNode(r);n.setAttribute("href",t);n.setAttribute("title",e);this.urlTarget&&n.setAttribute("target",this.urlTarget);n.appendChild(r);this.chartDiv.appendChild(n);this.amLink=n;t=n.style;t.position="absolute";t.textDecoration="none";t.color=this.color;t.fontFamily=this.fontFamily;t.fontSize="11px";t.opacity=.7;t.display="block";var e=n.offsetWidth,n=n.offsetHeight,r=5+u,o=f+5;"bottom-left"==i&&(r=5+u,o=h-n-3);"bottom-right"==i&&(r=s-e-5,o=h-n-3);"top-right"==i&&(r=s-e-5,o=f+5);t.left=r+"px";t.top=o+"px"}}});n.Slice=n.Class({construct:function(){}});n.SerialDataItem=n.Class({construct:function(){}});n.GraphDataItem=n.Class({construct:function(){}});n.Guide=n.Class({construct:function(t){this.cname="Guide";n.applyTheme(this,t,this.cname)}});n.Title=n.Class({construct:function(t){this.cname="Title";n.applyTheme(this,t,this.cname)}});n.Label=n.Class({construct:function(t){this.cname="Label";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.AmGraph=n.Class({construct:function(t){this.cname="AmGraph";this.createEvents("rollOverGraphItem","rollOutGraphItem","clickGraphItem","doubleClickGraphItem","rightClickGraphItem","clickGraph","rollOverGraph","rollOutGraph");this.type="line";this.stackable=!0;this.columnCount=1;this.columnIndex=0;this.centerCustomBullets=this.showBalloon=!0;this.maxBulletSize=50;this.minBulletSize=4;this.balloonText="[[value]]";this.hidden=this.scrollbar=this.animationPlayed=!1;this.pointPosition="middle";this.depthCount=1;this.includeInMinMax=!0;this.negativeBase=0;this.visibleInLegend=!0;this.showAllValueLabels=!1;this.showBulletsAt=this.showBalloonAt="close";this.lineThickness=1;this.dashLength=0;this.connect=!0;this.lineAlpha=1;this.bullet="none";this.bulletBorderThickness=2;this.bulletBorderAlpha=0;this.bulletAlpha=1;this.bulletSize=8;this.cornerRadiusTop=this.hideBulletsCount=this.bulletOffset=0;this.cursorBulletAlpha=1;this.gradientOrientation="vertical";this.dy=this.dx=0;this.periodValue="";this.clustered=!0;this.periodSpan=1;this.accessibleLabel="[[title]] [[category]] [[value]]";this.accessibleSkipText="Press enter to skip [[title]]";this.y=this.x=0;this.switchable=!0;this.tcc=this.minDistance=1;this.labelRotation=0;this.labelAnchor="auto";this.labelOffset=3;this.bcn="graph-";this.dateFormat="MMM DD, YYYY";this.noRounding=!0;n.applyTheme(this,t,this.cname)},init:function(){this.createBalloon()},draw:function(){var t=this.chart,e,r,u,i,f;t.isRolledOverBullet=!1;e=t.type;t.drawGraphs&&(isNaN(this.precision)||(this.numberFormatter?this.numberFormatter.precision=this.precision:this.numberFormatter={precision:this.precision,decimalSeparator:t.decimalSeparator,thousandsSeparator:t.thousandsSeparator}),r=t.container,this.container=r,this.destroy(),u=r.set(),this.set=u,u.translate(this.x,this.y),i=r.set(),this.bulletSet=i,i.translate(this.x,this.y),this.behindColumns?(t.graphsBehindSet.push(u),t.bulletBehindSet.push(i)):(t.graphsSet.push(u),t.bulletSet.push(i)),f=this.bulletAxis,n.isString(f)&&(this.bulletAxis=t.getValueAxisById(f)),r=r.set(),n.remove(this.columnsSet),this.columnsSet=r,n.setCN(t,u,"graph-"+this.type),n.setCN(t,u,"graph-"+this.id),n.setCN(t,i,"graph-"+this.type),n.setCN(t,i,"graph-"+this.id),this.columnsArray=[],this.ownColumns=[],this.allBullets=[],this.animationArray=[],i=this.labelPosition,i||(f=this.valueAxis.stackType,i="top","column"==this.type&&(t.rotate&&(i="right"),"100%"==f||"regular"==f)&&(i="middle"),this.labelPosition=i),n.ifArray(this.data)&&(t=!1,"xy"==e?this.xAxis.axisCreated&&this.yAxis.axisCreated&&(t=!0):this.valueAxis.axisCreated&&(t=!0),!this.hidden&&t&&this.createGraph()),u.push(r))},createGraph:function(){var t=this,r=t.chart,i;if(t.startAlpha=r.startAlpha,t.seqAn=r.sequencedAnimation,t.baseCoord=t.valueAxis.baseCoord,void 0===t.fillAlphas&&(t.fillAlphas=0),t.bulletColorR=t.bulletColor,void 0===t.bulletColorR&&(t.bulletColorR=t.lineColorR,t.bulletColorNegative=t.negativeLineColor),void 0===t.bulletAlpha&&(t.bulletAlpha=t.lineAlpha),("step"==i||n.VML)&&(t.noRounding=!1),i=r.type,"gantt"==i&&(i="serial"),clearTimeout(t.playedTO),!isNaN(t.valueAxis.min)&&!isNaN(t.valueAxis.max)){switch(i){case"serial":t.categoryAxis&&(t.createSerialGraph(),"candlestick"==t.type&&1>t.valueAxis.minMaxMultiplier&&t.positiveClip(t.set));break;case"radar":t.createRadarGraph();break;case"xy":t.createXYGraph()}t.playedTO=setTimeout(function(){t.setAnimationPlayed.call(t)},500*t.chart.startDuration)}},setAnimationPlayed:function(){this.animationPlayed=!0},createXYGraph:function(){var s=[],h=[],e=this.xAxis,c=this.yAxis,r,i,o;for(this.pmh=c.height,this.pmw=e.width,this.pmy=this.pmx=0,r=this.start;r<=this.end;r++){var n=this.data[r].axes[e.id].graphs[this.id],t=n.values,u=t.x,i=t.y,t=e.getCoordinate(u,this.noRounding),f=c.getCoordinate(i,this.noRounding);isNaN(u)||isNaN(i)||!(s.push(t),h.push(f),n.x=t,n.y=f,u=this.createBullet(n,t,f,r),i=this.labelText)||(i=this.createLabel(n,i),o=0,u&&(o=u.size),this.positionLabel(n,t,f,i,o))}this.drawLineGraph(s,h);this.launchAnimation()},createRadarGraph:function(){for(var w=this.valueAxis.stackType,o=[],s=[],h=[],c=[],a,v,l,y,i,n,p,u=this.start;u<=this.end;u++)if(i=this.data[u].axes[this.valueAxis.id].graphs[this.id],"none"==w||"3d"==w?n=i.values.value:(n=i.values.close,p=i.values.open),isNaN(n))this.connect||(this.drawLineGraph(o,s,h,c),o=[],s=[],h=[],c=[]);else{var r=this.valueAxis.getCoordinate(n,this.noRounding)-this.height,r=r*this.valueAxis.rMultiplier,t=-360/(this.end-this.start+1)*u;if("middle"==this.valueAxis.pointPosition&&(t-=180/(this.end-this.start+1)),n=r*Math.sin(t/180*Math.PI),r*=Math.cos(t/180*Math.PI),o.push(n),s.push(r),!isNaN(p)){var f=this.valueAxis.getCoordinate(p,this.noRounding)-this.height,f=f*this.valueAxis.rMultiplier,e=f*Math.sin(t/180*Math.PI),t=f*Math.cos(t/180*Math.PI);h.push(e);c.push(t);isNaN(l)&&(l=e);isNaN(y)&&(y=t)}t=this.createBullet(i,n,r,u);i.x=n;i.y=r;(e=this.labelText)&&(e=this.createLabel(i,e),f=0,t&&(f=t.size),this.positionLabel(i,n,r,e,f));isNaN(a)&&(a=n);isNaN(v)&&(v=r)}o.push(a);s.push(v);isNaN(l)||(h.push(l),c.push(y));this.drawLineGraph(o,s,h,c);this.launchAnimation()},positionLabel:function(n,t,i,r,u){var f;if(r){var w=this.chart,p=this.valueAxis,c="middle",y=!1,l=this.labelPosition,e=r.getBBox(),o=this.chart.rotate,s=n.isNegative,h=this.fontSize;void 0===h&&(h=this.chart.fontSize);i-=e.height/2-h/2-1;void 0!==n.labelIsNegative&&(s=n.labelIsNegative);switch(l){case"right":l=o?s?"left":"right":"right";break;case"top":l=o?"top":s?"bottom":"top";break;case"bottom":l=o?"bottom":s?"top":"bottom";break;case"left":l=o?s?"right":"left":"left"}var h=n.columnGraphics,a=0,v=0;h&&(a=h.x,v=h.y);f=this.labelOffset;switch(l){case"right":c="start";t+=u/2+f;break;case"top":i=p.reversed?i+(u/2+e.height/2+f):i-(u/2+e.height/2+f);break;case"bottom":i=p.reversed?i-(u/2+e.height/2+f):i+(u/2+e.height/2+f);break;case"left":c="end";t-=u/2+f;break;case"inside":"column"==this.type&&(y=!0,o?s?(c="end",t=a-3-f):(c="start",t=a+3+f):i=s?v+7+f:v-10-f);break;case"middle":"column"==this.type&&(y=!0,o?t-=(t-a)/2+f-3:i-=(i-v)/2+f-3)}return"auto"!=this.labelAnchor&&(c=this.labelAnchor),r.attr({"text-anchor":c}),this.labelRotation&&r.rotate(this.labelRotation),r.translate(t,i),!this.showAllValueLabels&&h&&y&&(e=r.getBBox(),e.height>n.columnHeight||e.width>n.columnWidth)&&(r.remove(),r=null),r&&"radar"!=w.type&&(o?((0>i||i>this.height)&&(r.remove(),r=null),!this.showAllValueLabels&&(0>t||t>this.width)&&(r.remove(),r=null)):((0>t||t>this.width)&&(r.remove(),r=null),!this.showAllValueLabels&&r&&(0>i||i>this.height)&&(r.remove(),r=null))),r&&this.allBullets.push(r),r}},getGradRotation:function(){var n=270;return"horizontal"==this.gradientOrientation&&(n=0),this.gradientRotation=n},createSerialGraph:function(){var wu,iu,hr,bi,df,ki,gf,u,uu,rr,gu,ai,bt,lr,rf,re,uf,de,ti,to,io,pr,eu,ue,fe,wt,ee,oe,se,ef,of,sf,he,ce,le,ho,ae,ve,di,wr;this.dashLengthSwitched=this.fillColorsSwitched=this.lineColorSwitched=void 0;var it=this.chart,fr=this.id,gi=this.index,ii=this.data,ht=this.chart.container,s=this.valueAxis,k=this.type,w=this.columnWidthReal,ei=this.showBulletsAt;isNaN(this.columnWidth)||(w=this.columnWidth);isNaN(w)&&(w=.8);var nr=this.useNegativeColorIfDown,d=this.width,nt=this.height,yo=this.y,tt=this.rotate,yi=this.columnCount,hu=n.toCoordinate(this.cornerRadiusTop,w/2),cf=this.connect,l=[],a=[],ar,br,lf,kr,tr=this.chart.graphs.length,dr,ft=this.dx/this.tcc,ct=this.dy/this.tcc,lt=s.stackType,er=this.start,vr=this.end,pi=this.scrollbar,gr="graph-column-";pi&&(gr="scrollbar-graph-column-");var ye=this.categoryAxis,pe=this.baseCoord,cu=this.negativeBase,rt=this.columnIndex,et=this.lineThickness,ri=this.lineAlpha,af=this.lineColorR,si=this.dashLength,or=this.set,we,lu=this.getGradRotation(),hi=this.chart.columnSpacing,ut=ye.cellWidth,be=(ut*w-yi)/yi;hi>be&&(hi=be);var g,t,au,vf=nt,yf=d,vu=0,pf=0,wf,bf,yu,pu,kf=this.fillColorsR,sr=this.negativeFillColors,wi=this.negativeLineColor,nu=this.fillAlphas,tu=this.negativeFillAlphas;if("object"==typeof nu&&(nu=nu[0]),"object"==typeof tu&&(tu=tu[0]),wu=this.noRounding,"step"==k&&(wu=!1),iu=s.getCoordinate(s.min),s.logarithmic&&(iu=s.getCoordinate(s.minReal)),this.minCoord=iu,this.resetBullet&&(this.bullet="none"),pi||"line"!=k&&"smoothedLine"!=k&&"step"!=k||(1==ii.length&&"step"!=k&&"none"==this.bullet&&(this.bullet="round",this.resetBullet=!0),!sr&&void 0==wi||nr)||(hr=cu,hr>s.max&&(hr=s.max),hr<s.min&&(hr=s.min),s.logarithmic&&(hr=s.minReal),bi=s.getCoordinate(hr),df=s.getCoordinate(s.max),tt?(vf=nt,yf=Math.abs(df-bi),wf=nt,bf=Math.abs(iu-bi),pu=pf=0,s.reversed?(vu=0,yu=bi):(vu=bi,yu=0)):(yf=d,vf=Math.abs(df-bi),bf=d,wf=Math.abs(iu-bi),yu=vu=0,s.reversed?(pu=yo,pf=bi):pu=bi)),ki=Math.round,this.pmx=ki(vu),this.pmy=ki(pf),this.pmh=ki(vf),this.pmw=ki(yf),this.nmx=ki(yu),this.nmy=ki(pu),this.nmh=ki(wf),this.nmw=ki(bf),n.isModern||(this.nmy=this.nmx=0,this.nmh=this.height),this.clustered||(yi=1),w="column"==k?(ut*w-hi*(yi-1))/yi:ut*w,1>w&&(w=1),gf=this.fixedColumnWidth,isNaN(gf)||(w=gf),"line"==k||"step"==k||"smoothedLine"==k){if(0<er){for(u=er-1;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],au=t.values.value,!isNaN(au)){er=u;break}if(this.lineColorField)for(u=er;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],t.lineColor){this.bulletColorSwitched=this.lineColorSwitched=t.lineColor;break}if(this.fillColorsField)for(u=er;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],t.fillColors){this.fillColorsSwitched=t.fillColors;break}if(this.dashLengthField)for(u=er;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],!isNaN(t.dashLength)){this.dashLengthSwitched=t.dashLength;break}}if(vr<ii.length-1)for(u=vr+1;u<ii.length;u++)if(g=ii[u],t=g.axes[s.id].graphs[fr],au=t.values.value,!isNaN(au)){vr=u;break}}vr<ii.length-1&&vr++;var v=[],y=[],ir=!1;("line"==k||"step"==k||"smoothedLine"==k)&&(this.stackable&&"regular"==lt||"100%"==lt||this.fillToGraph)&&(ir=!0);var ke=this.noStepRisers,bu=-1e3,ku=-1e3,du=this.minDistance,cr=!0,ru=!1;for(u=er;u<=vr;u++){if(g=ii[u],t=g.axes[s.id].graphs[fr],t.index=u,rr=NaN,nr&&void 0==this.openField)for(gu=u+1;gu<ii.length&&(!ii[gu]||!(uu=ii[u+1].axes[s.id].graphs[fr])||!uu.values||(rr=uu.values.value,isNaN(rr)));gu++);var c,h,e,b,bt=NaN,i=NaN,r=NaN,o=NaN,f=NaN,at=NaN,kt=NaN,vt=NaN,dt=NaN,ui=NaN,ci=NaN,yt=NaN,ot=NaN,p=NaN,ne=NaN,te=NaN,pt=NaN,wt=void 0,ur=kf,yr=nu,li=af,fi,gt,ie=this.proCandlesticks,nf=this.topRadius,oi=nt-1,st=d-1,fu=this.pattern;if(void 0!=t.pattern&&(fu=t.pattern),isNaN(t.alpha)||(yr=t.alpha),isNaN(t.dashLength)||(si=t.dashLength),ai=t.values,s.recalculateToPercents&&(ai=t.percents),"none"==lt&&(rt=isNaN(t.columnIndex)?this.columnIndex:t.columnIndex),ai){if(p=this.stackable&&"none"!=lt&&"3d"!=lt?ai.close:ai.value,("candlestick"==k||"ohlc"==k)&&(p=ai.close,te=ai.low,kt=s.getCoordinate(te),ne=ai.high,dt=s.getCoordinate(ne)),pt=ai.open,r=s.getCoordinate(p,wu),isNaN(pt)||(f=s.getCoordinate(pt,wu),nr&&"regular"!=lt&&"100%"!=lt&&(rr=pt,pt=f=NaN)),nr&&(void 0==this.openField?uu&&(uu.isNegative=rr<p?!0:!1,isNaN(rr)&&(t.isNegative=!cr)):t.isNegative=rr>p?!0:!1),!pi)switch(this.showBalloonAt){case"close":t.y=r;break;case"open":t.y=f;break;case"high":t.y=dt;break;case"low":t.y=kt}bt=g.x[ye.id];lr=this.periodSpan-1;"step"!=k||isNaN(g.cellWidth)||(ut=g.cellWidth);var ni=Math.floor(ut/2)+Math.floor(lr*ut/2),vi=ni,tf=0;"left"==this.stepDirection&&(tf=(2*ut+lr*ut)/2,bt-=tf);"center"==this.stepDirection&&(tf=ut/2,bt-=tf);"start"==this.pointPosition&&(bt-=ut/2+Math.floor(lr*ut/2),ni=0,vi=Math.floor(ut)+Math.floor(lr*ut));"end"==this.pointPosition&&(bt+=ut/2+Math.floor(lr*ut/2),ni=Math.floor(ut)+Math.floor(lr*ut),vi=0);ke&&(rf=this.columnWidth,isNaN(rf)||(ni*=rf,vi*=rf));pi||(t.x=bt);-1e5>bt&&(bt=-1e5);bt>d+1e5&&(bt=d+1e5);tt?(i=r,o=f,f=r=bt,isNaN(pt)&&!this.fillToGraph&&(o=pe),at=kt,vt=dt):(o=i=bt,isNaN(pt)&&!this.fillToGraph&&(f=pe));(!ie&&p<pt||ie&&p<we)&&(t.isNegative=!0,sr&&(ur=sr),tu&&(yr=tu),void 0!=wi&&(li=wi));ru=!1;isNaN(p)||(nr?p>rr?(cr&&(ru=!0),cr=!1):(cr||(ru=!0),cr=!0):t.isNegative=p<cu?!0:!1,we=p);re=!1;pi&&it.chartScrollbar.ignoreCustomColors&&(re=!0);re||(void 0!=t.color&&(ur=t.color),t.fillColors&&(ur=t.fillColors));r=n.fitToBounds(r,-3e4,3e4);switch(k){case"line":isNaN(p)?cf||(this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]):((Math.abs(i-bu)>=du||Math.abs(r-ku)>=du)&&(l.push(i),a.push(r),bu=i,ku=r),ui=i,ci=r,yt=i,ot=r,!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),(ru||void 0!=t.lineColor&&t.lineColor!=this.lineColorSwitched||void 0!=t.fillColors&&t.fillColors!=this.fillColorsSwitched||!isNaN(t.dashLength))&&(this.drawLineGraph(l,a,v,y),l=[i],a=[r],v=[],y=[],!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),nr?cr?(this.lineColorSwitched=af,this.fillColorsSwitched=kf):(this.lineColorSwitched=wi,this.fillColorsSwitched=sr):(this.lineColorSwitched=t.lineColor,this.fillColorsSwitched=t.fillColors),this.dashLengthSwitched=t.dashLength),t.gap&&(this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]));break;case"smoothedLine":isNaN(p)?cf||(this.drawSmoothedGraph(l,a,v,y),l=[],a=[],v=[],y=[]):((Math.abs(i-bu)>=du||Math.abs(r-ku)>=du)&&(l.push(i),a.push(r),bu=i,ku=r),ui=i,ci=r,yt=i,ot=r,!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),void 0==t.lineColor&&void 0==t.fillColors&&isNaN(t.dashLength)||(this.drawSmoothedGraph(l,a,v,y),l=[i],a=[r],v=[],y=[],!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),this.lineColorSwitched=t.lineColor,this.fillColorsSwitched=t.fillColors,this.dashLengthSwitched=t.dashLength),t.gap&&(this.drawSmoothedGraph(l,a,v,y),l=[],a=[],v=[],y=[]));break;case"step":isNaN(p)?cf||((1>=this.periodSpan||1<this.periodSpan&&i-ar>ni+vi)&&(ar=br=NaN),this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]):(tt?(isNaN(ar)||(l.push(ar),a.push(r-ni)),a.push(r-ni),l.push(i),a.push(r+vi),l.push(i),!ir||isNaN(f)||isNaN(o)||(isNaN(lf)||(v.push(lf),y.push(f-ni)),v.push(o),y.push(f-ni),v.push(o),y.push(f+vi))):(isNaN(br)||(a.push(br),l.push(i-ni)),l.push(i-ni),a.push(r),l.push(i+vi),a.push(r),!ir||isNaN(f)||isNaN(o)||(isNaN(kr)||(v.push(o-ni),y.push(kr)),v.push(o-ni),y.push(f),v.push(o+vi),y.push(f))),ar=i,br=r,lf=o,kr=f,ui=i,ci=r,yt=i,ot=r,(ru||void 0!=t.lineColor||void 0!=t.fillColors||!isNaN(t.dashLength))&&(uf=l[l.length-2],de=a[a.length-2],l.pop(),a.pop(),v.pop(),y.pop(),this.drawLineGraph(l,a,v,y),l=[uf],a=[de],v=[],y=[],ir&&(v=[uf,uf+ni+vi],y=[kr,kr]),tt?(a.push(r+vi),l.push(i)):(l.push(i+vi),a.push(r)),this.lineColorSwitched=t.lineColor,this.fillColorsSwitched=t.fillColors,this.dashLengthSwitched=t.dashLength,nr&&(cr?(this.lineColorSwitched=af,this.fillColorsSwitched=kf):(this.lineColorSwitched=wi,this.fillColorsSwitched=sr))),(ke||t.gap)&&(ar=br=NaN,this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]));break;case"column":if(fi=li,void 0!=t.lineColor&&(fi=t.lineColor),!isNaN(p)){nr||(t.isNegative=p<cu?!0:!1);t.isNegative&&(sr&&(ur=sr),void 0!=wi&&(fi=wi));var ge=s.min,no=s.max,ff=pt;isNaN(ff)&&(ff=cu);p<ge&&ff<ge||p>no&&ff>no||(tt?("3d"==lt?(h=r-(yi/2-this.depthCount+1)*(w+hi)+hi/2+ct*rt,c=o+ft*rt,ti=rt):(h=Math.floor(r-(yi/2-rt)*(w+hi)+hi/2),c=o,ti=0),e=w,ui=i,ci=h+w/2,yt=i,ot=h+w/2,h+e>nt+ti*ct&&(e=nt-h+ti*ct),h<ti*ct&&(e+=h,h=ti*ct),b=i-o,to=c,c=n.fitToBounds(c,0,d),b+=to-c,b=n.fitToBounds(b,-c,d-c+ft*rt),t.labelIsNegative=0>b?!0:!1,0===b&&1/p==1/-0&&(t.labelIsNegative=!0),isNaN(g.percentWidthValue)||(e=this.height*g.percentWidthValue/100,h=bt-e/2,ci=h+e/2),e=n.roundTo(e,2),b=n.roundTo(b,2),h<nt&&0<e&&(wt=new n.Cuboid(ht,b,e,ft-it.d3x,ct-it.d3y,ur,yr,et,fi,ri,lu,hu,tt,si,fu,nf,gr),t.columnWidth=Math.abs(b),t.columnHeight=Math.abs(e))):("3d"==lt?(c=i-(yi/2-this.depthCount+1)*(w+hi)+hi/2+ft*rt,h=f+ct*rt,ti=rt):(c=i-(yi/2-rt)*(w+hi)+hi/2,h=f,ti=0),e=w,ui=c+w/2,ci=r,yt=c+w/2,ot=r,c+e>d+ti*ft&&(e=d-c+ti*ft),c<ti*ft&&(e+=c-ti*ft,c=ti*ft),b=r-f,t.labelIsNegative=0<b?!0:!1,0===b&&1/p!=1/Math.abs(p)&&(t.labelIsNegative=!0),io=h,h=n.fitToBounds(h,this.dy,nt),b+=io-h,b=n.fitToBounds(b,-h+ct*ti,nt-h),isNaN(g.percentWidthValue)||(e=this.width*g.percentWidthValue/100,c=bt-e/2,ui=c+e/2),e=n.roundTo(e,2),b=n.roundTo(b,2),c<d+rt*ft&&0<e&&(this.showOnAxis&&(h-=ct/2),wt=new n.Cuboid(ht,e,b,ft-it.d3x,ct-it.d3y,ur,yr,et,fi,this.lineAlpha,lu,hu,tt,si,fu,nf,gr),t.columnHeight=Math.abs(b),t.columnWidth=Math.abs(e))));wt&&(gt=wt.set,n.setCN(it,wt.set,"graph-"+this.type),n.setCN(it,wt.set,"graph-"+this.id),t.className&&n.setCN(it,wt.set,t.className,!0),t.columnGraphics=gt,c=n.roundTo(c,2),h=n.roundTo(h,2),gt.translate(c,h),(t.url||this.showHandOnHover)&&gt.setAttr("cursor","pointer"),pi||("none"==lt&&(dr=tt?(this.end+1-u)*tr-gi:tr*u+gi),"3d"==lt&&(tt?(dr=(this.end+1-u)*tr-gi-1e3*this.depthCount,ui+=ft*rt,yt+=ft*rt,t.y+=ft*rt):(dr=(tr-gi)*(u+1)+1e3*this.depthCount,ci+=ct*rt,ot+=ct*rt,t.y+=ct*rt)),("regular"==lt||"100%"==lt)&&(dr=tt?0<ai.value?(this.end+1-u)*tr+gi:(this.end+1-u)*tr-gi:0<ai.value?tr*u+gi:tr*u-gi),this.columnsArray.push({column:wt,depth:dr}),t.x=tt?h+e/2:c+e/2,this.ownColumns.push(wt),this.animateColumns(wt,u,i,o,r,f),this.addListeners(gt,t),void 0!==this.tabIndex&&gt.setAttr("tabindex",this.tabIndex)),this.columnsSet.push(gt))}break;case"candlestick":if(!isNaN(pt)&&!isNaN(p)){if(fi=li,void 0!=t.lineColor&&(fi=t.lineColor),ui=i,ot=ci=r,yt=i,tt){if("open"==ei&&(yt=o),"high"==ei&&(yt=vt),"low"==ei&&(yt=at),i=n.fitToBounds(i,0,st),o=n.fitToBounds(o,0,st),at=n.fitToBounds(at,0,st),vt=n.fitToBounds(vt,0,st),0===i&&0===o&&0===at&&0===vt)continue;if(i==st&&o==st&&at==st&&vt==st)continue;h=r-w/2;c=o;e=w;h+e>nt&&(e=nt-h);0>h&&(e+=h,h=0);h<nt&&0<e&&(p>pt?(ue=[i,vt],fe=[o,at]):(ue=[o,vt],fe=[i,at]),!isNaN(vt)&&!isNaN(at)&&r<nt&&0<r&&(pr=n.line(ht,ue,[r,r],fi,ri,et),eu=n.line(ht,fe,[r,r],fi,ri,et)),b=i-o,wt=new n.Cuboid(ht,b,e,ft,ct,ur,nu,et,fi,ri,lu,hu,tt,si,fu,nf,gr))}else{if("open"==ei&&(ot=f),"high"==ei&&(ot=dt),"low"==ei&&(ot=kt),r=n.fitToBounds(r,0,oi),f=n.fitToBounds(f,0,oi),kt=n.fitToBounds(kt,0,oi),dt=n.fitToBounds(dt,0,oi),0===r&&0===f&&0===kt&&0===dt)continue;if(r==oi&&f==oi&&kt==oi&&dt==oi)continue;c=i-w/2;h=f+et/2;e=w;c+e>d&&(e=d-c);0>c&&(e+=c,c=0);b=r-f;c<d&&0<e&&(ie&&p>=pt&&(yr=0),wt=new n.Cuboid(ht,e,b,ft,ct,ur,yr,et,fi,ri,lu,hu,tt,si,fu,nf,gr),p>pt?(ee=[r,dt],oe=[f,kt]):(ee=[f,dt],oe=[r,kt]),!isNaN(dt)&&!isNaN(kt)&&i<d&&0<i&&(pr=n.line(ht,[i,i],ee,fi,ri,et),eu=n.line(ht,[i,i],oe,fi,ri,et),n.setCN(it,pr,this.bcn+"line-high"),t.className&&n.setCN(it,pr,t.className,!0),n.setCN(it,eu,this.bcn+"line-low"),t.className&&n.setCN(it,eu,t.className,!0)))}wt&&(gt=wt.set,t.columnGraphics=gt,or.push(gt),gt.translate(c,h-et/2),(t.url||this.showHandOnHover)&&gt.setAttr("cursor","pointer"),pr&&(or.push(pr),or.push(eu)),pi||(t.x=tt?h+e/2:c+e/2,this.animateColumns(wt,u,i,o,r,f),this.addListeners(gt,t),void 0!==this.tabIndex&&gt.setAttr("tabindex",this.tabIndex)))}break;case"ohlc":if(!(isNaN(pt)||isNaN(ne)||isNaN(te)||isNaN(p))){if(se=ht.set(),or.push(se),p<pt&&(t.isNegative=!0,void 0!=wi&&(li=wi)),void 0!=t.lineColor&&(li=t.lineColor),tt){if(ot=r,yt=i,"open"==ei&&(yt=o),"high"==ei&&(yt=vt),"low"==ei&&(yt=at),at=n.fitToBounds(at,0,st),vt=n.fitToBounds(vt,0,st),0===i&&0===o&&0===at&&0===vt)continue;if(i==st&&o==st&&at==st&&vt==st)continue;var ro=r-w/2,ro=n.fitToBounds(ro,0,nt),uo=n.fitToBounds(r,0,nt),fo=r+w/2,fo=n.fitToBounds(fo,0,nt);0<=o&&o<=st&&(of=n.line(ht,[o,o],[ro,uo],li,ri,et,si));0<r&&r<nt&&(ef=n.line(ht,[at,vt],[r,r],li,ri,et,si));0<=i&&i<=st&&(sf=n.line(ht,[i,i],[uo,fo],li,ri,et,si))}else{ot=r;"open"==ei&&(ot=f);"high"==ei&&(ot=dt);"low"==ei&&(ot=kt);var yt=i,kt=n.fitToBounds(kt,0,oi),dt=n.fitToBounds(dt,0,oi),eo=i-w/2,eo=n.fitToBounds(eo,0,d),oo=n.fitToBounds(i,0,d),so=i+w/2,so=n.fitToBounds(so,0,d);0<=f&&f<=oi&&(of=n.line(ht,[eo,oo],[f,f],li,ri,et,si));0<i&&i<d&&(ef=n.line(ht,[i,i],[kt,dt],li,ri,et,si));0<=r&&r<=oi&&(sf=n.line(ht,[oo,so],[r,r],li,ri,et,si))}or.push(of);or.push(ef);or.push(sf);n.setCN(it,of,this.bcn+"stroke-open");n.setCN(it,sf,this.bcn+"stroke-close");n.setCN(it,ef,this.bcn+"stroke");t.className&&n.setCN(it,se,t.className,!0);ui=i;ci=r}}if(!pi&&!isNaN(p)&&(he=this.hideBulletsCount,(this.end-this.start<=he||0===he)&&(ce=this.createBullet(t,yt,ot,u),le=this.labelText,!le||isNaN(ui)||isNaN(ui)||(ho=this.createLabel(t,le),ae=0,ce&&(ae=ce.size),this.positionLabel(t,ui,ci,ho,ae)),("regular"==lt||"100%"==lt)&&(ve=s.totalText,ve&&(di=this.createLabel(t,ve,s.totalTextColor),n.setCN(it,di,this.bcn+"label-total"),this.allBullets.push(di),di))))){var co=di.getBBox(),lo=co.width,ao=co.height,ou,su,hf=s.totalTextOffset,vo=s.totals[u];vo&&vo.remove();wr=0;"column"!=k&&(wr=this.bulletSize);tt?(su=ci,ou=0>p?i-lo/2-2-wr-hf:i+lo/2+3+wr+hf):(ou=ui,su=0>p?r+ao/2+wr+hf:r-ao/2-3-wr-hf);di.translate(ou,su);s.totals[u]=di;tt?(0>su||su>nt)&&di.remove():(0>ou||ou>d)&&di.remove()}}}this.lastDataItem=t;("line"==k||"step"==k||"smoothedLine"==k)&&("smoothedLine"==k?this.drawSmoothedGraph(l,a,v,y):this.drawLineGraph(l,a,v,y),pi||this.launchAnimation());this.bulletsHidden&&this.hideBullets();this.customBulletsHidden&&this.hideCustomBullets()},animateColumns:function(n,t){var i=this,r=i.chart.startDuration;0<r&&!i.animationPlayed&&(i.seqAn?(n.set.hide(),i.animationArray.push(n),r=setTimeout(function(){i.animate.call(i)},r/(i.end-i.start+1)*(t-i.start)*1e3),i.timeOuts.push(r)):i.animate(n),i.chart.animatable.push(n))},createLabel:function(t,i,r){var f=this.chart,u=t.labelColor,e;return u||(u=this.color),u||(u=f.color),r&&(u=r),r=this.fontSize,void 0===r&&(this.fontSize=r=f.fontSize),e=this.labelFunction,i=f.formatString(i,t),i=n.cleanFromEmpty(i),e&&(i=e(t,i)),void 0!==i&&""!==i?(t=n.text(this.container,i,u,f.fontFamily,r),t.node.style.pointerEvents="none",n.setCN(f,t,this.bcn+"label"),this.bulletSet.push(t),t):void 0},positiveClip:function(n){n.clipRect(this.pmx,this.pmy,this.pmw,this.pmh)},negativeClip:function(n){n.clipRect(this.nmx,this.nmy,this.nmw,this.nmh)},drawLineGraph:function(t,i,r,u){var f=this,p,a,k;if(1<t.length){var c=f.noRounding,v=f.set,l=f.chart,y=f.container,w=y.set(),b=y.set();v.push(b);v.push(w);var h=f.lineAlpha,e=f.lineThickness,v=f.fillAlphas,nt=f.lineColorR,o=f.negativeLineAlpha;isNaN(o)&&(o=h);p=f.lineColorSwitched;p&&(nt=p);p=f.fillColorsR;a=f.fillColorsSwitched;a&&(p=a);k=f.dashLength;(a=f.dashLengthSwitched)&&(k=a);var a=f.negativeLineColor,d=f.negativeFillColors,g=f.negativeFillAlphas,s=f.baseCoord;0!==f.negativeBase&&(s=f.valueAxis.getCoordinate(f.negativeBase,c),s>f.height&&(s=f.height),0>s&&(s=0));h=n.line(y,t,i,nt,h,e,k,!1,!0,c);h.node.setAttribute("stroke-linejoin","round");n.setCN(l,h,f.bcn+"stroke");w.push(h);w.click(function(n){f.handleGraphEvent(n,"clickGraph")}).mouseover(function(n){f.handleGraphEvent(n,"rollOverGraph")}).mouseout(function(n){f.handleGraphEvent(n,"rollOutGraph")}).touchmove(function(n){f.chart.handleMouseMove(n)}).touchend(function(n){f.chart.handleTouchEnd(n)});void 0===a||f.useNegativeColorIfDown||(e=n.line(y,t,i,a,o,e,k,!1,!0,c),e.node.setAttribute("stroke-linejoin","round"),n.setCN(l,e,f.bcn+"stroke"),n.setCN(l,e,f.bcn+"stroke-negative"),b.push(e));(0<v||0<g)&&(e=t.join(";").split(";"),o=i.join(";").split(";"),h=l.type,"serial"==h||"radar"==h?0<r.length?(r.reverse(),u.reverse(),e=t.concat(r),o=i.concat(u)):"radar"==h?(o.push(0),e.push(0)):f.rotate?(o.push(o[o.length-1]),e.push(s),o.push(o[0]),e.push(s),o.push(o[0]),e.push(e[0])):(e.push(e[e.length-1]),o.push(s),e.push(e[0]),o.push(s),e.push(t[0]),o.push(o[0])):"xy"==h&&(i=f.fillToAxis)&&(n.isString(i)&&(i=l.getValueAxisById(i)),"H"==i.orientation?(s="top"==i.position?0:i.height,e.push(e[e.length-1]),o.push(s),e.push(e[0]),o.push(s),e.push(t[0]),o.push(o[0])):(s="left"==i.position?0:i.width,o.push(o[o.length-1]),e.push(s),o.push(o[0]),e.push(s),o.push(o[0]),e.push(e[0]))),t=f.gradientRotation,0<v&&(i=n.polygon(y,e,o,p,v,1,"#000",0,t,c),i.pattern(f.pattern,NaN,l.path),n.setCN(l,i,f.bcn+"fill"),w.push(i)),d||void 0!==a)&&(isNaN(g)&&(g=v),d||(d=a),c=n.polygon(y,e,o,d,g,1,"#000",0,t,c),n.setCN(l,c,f.bcn+"fill"),n.setCN(l,c,f.bcn+"fill-negative"),c.pattern(f.pattern,NaN,l.path),b.push(c),b.click(function(n){f.handleGraphEvent(n,"clickGraph")}).mouseover(function(n){f.handleGraphEvent(n,"rollOverGraph")}).mouseout(function(n){f.handleGraphEvent(n,"rollOutGraph")}).touchmove(function(n){f.chart.handleMouseMove(n)}).touchend(function(n){f.chart.handleTouchEnd(n)}));f.applyMask(b,w)}},applyMask:function(n,t){var i=n.length();"serial"!=this.chart.type||this.scrollbar||(this.positiveClip(t),0<i&&this.negativeClip(n))},drawSmoothedGraph:function(t,i,r,u){var k;if(1<t.length){var h=this.set,o=this.chart,c=this.container,a=c.set(),v=c.set();h.push(v);h.push(a);var s=this.lineAlpha,f=this.lineThickness,h=this.dashLength,d=this.fillAlphas,l=this.lineColorR,y=this.fillColorsR,p=this.negativeLineColor,w=this.negativeFillColors,g=this.negativeFillAlphas,b=this.baseCoord,e=this.lineColorSwitched;e&&(l=e);(e=this.fillColorsSwitched)&&(y=e);k=this.negativeLineAlpha;isNaN(k)&&(k=s);e=this.getGradRotation();s=new n.Bezier(c,t,i,l,s,f,y,0,h,void 0,e);n.setCN(o,s,this.bcn+"stroke");a.push(s.path);void 0!==p&&(f=new n.Bezier(c,t,i,p,k,f,y,0,h,void 0,e),n.setCN(o,f,this.bcn+"stroke"),n.setCN(o,f,this.bcn+"stroke-negative"),v.push(f.path));0<d&&(s=t.join(";").split(";"),l=i.join(";").split(";"),f="",0<r.length?(r.push("M"),u.push("M"),r.reverse(),u.reverse(),s=t.concat(r),l=i.concat(u)):(this.rotate?(f+=" L"+b+","+i[i.length-1],f+=" L"+b+","+i[0]):(f+=" L"+t[t.length-1]+","+b,f+=" L"+t[0]+","+b),f+=" L"+t[0]+","+i[0]),r=new n.Bezier(c,s,l,NaN,0,0,y,d,h,f,e),n.setCN(o,r,this.bcn+"fill"),r.path.pattern(this.pattern,NaN,o.path),a.push(r.path),w||void 0!==p)&&(g||(g=d),w||(w=p),t=new n.Bezier(c,t,i,NaN,0,0,w,g,h,f,e),t.path.pattern(this.pattern,NaN,o.path),n.setCN(o,t,this.bcn+"fill"),n.setCN(o,t,this.bcn+"fill-negative"),v.push(t.path));this.applyMask(v,a)}},launchAnimation:function(){var t=this,i=t.chart.startDuration,r,u;0<i&&!t.animationPlayed&&(r=t.set,u=t.bulletSet,n.VML||(r.attr({opacity:t.startAlpha}),u.attr({opacity:t.startAlpha})),r.hide(),u.hide(),t.seqAn?(i=setTimeout(function(){t.animateGraphs.call(t)},t.index*i*1e3),t.timeOuts.push(i)):t.animateGraphs())},animateGraphs:function(){var u=this.chart,n=this.set,t=this.bulletSet,i=this.x,r=this.y,f,e;n.show();t.show();f=u.startDuration;e=u.startEffect;n&&(this.rotate?(n.translate(-1e3,r),t.translate(-1e3,r)):(n.translate(i,-1e3),t.translate(i,-1e3)),n.animate({opacity:1,translate:i+","+r},f,e),t.animate({opacity:1,translate:i+","+r},f,e),u.animatable.push(n))},animate:function(t){var r=this.chart,i=this.animationArray;!t&&0<i.length&&(t=i[0],i.shift());i=n[n.getEffect(r.startEffect)];r=r.startDuration;t&&(this.rotate?t.animateWidth(r,i):t.animateHeight(r,i),t.set.show())},legendKeyColor:function(){var t=this.legendColor,n=this.lineAlpha;return void 0===t&&(t=this.lineColorR,0===n&&(n=this.fillColorsR)&&(t="object"==typeof n?n[0]:n)),t},legendKeyAlpha:function(){var n=this.legendAlpha;return void 0===n&&(n=this.lineAlpha,this.fillAlphas>n&&(n=this.fillAlphas),0===n&&(n=this.bulletAlpha),0===n&&(n=1)),n},createBullet:function(t,i,r){var u,y;if(!isNaN(i)&&!isNaN(r)&&("none"!=this.bullet||this.customBullet||t.bullet||t.customBullet)){var s=this.chart,o=this.container,l=this.bulletOffset,e=this.bulletSize;isNaN(t.bulletSize)||(e=t.bulletSize);var a=t.values.value,f=this.maxValue,h=this.minValue,v=this.maxBulletSize,c=this.minBulletSize;isNaN(f)||(isNaN(a)||(e=(a-h)/(f-h)*(v-c)+c),h==f&&(e=v));f=e;this.bulletAxis&&(e=t.values.error,isNaN(e)||(a=e),e=this.bulletAxis.stepWidth*a);e<this.minBulletSize&&(e=this.minBulletSize);this.rotate?i=t.isNegative?i-l:i+l:r=t.isNegative?r+l:r-l;c=this.bulletColorR;t.lineColor&&(this.bulletColorSwitched=t.lineColor);this.bulletColorSwitched&&(c=this.bulletColorSwitched);t.isNegative&&void 0!==this.bulletColorNegative&&(c=this.bulletColorNegative);void 0!==t.color&&(c=t.color);"xy"==s.type&&this.valueField&&(u=this.pattern,t.pattern&&(u=t.pattern));l=this.bullet;t.bullet&&(l=t.bullet);var a=this.bulletBorderThickness,h=this.bulletBorderColorR,v=this.bulletBorderAlpha,p=this.bulletAlpha;return h||(h=c),this.useLineColorForBulletBorder&&(h=this.lineColorR,t.isNegative&&this.negativeLineColor&&(h=this.negativeLineColor),this.lineColorSwitched&&(h=this.lineColorSwitched)),y=t.alpha,isNaN(y)||(p=y),u=n.bullet(o,l,e,c,p,a,h,v,f,0,u,s.path),f=this.customBullet,t.customBullet&&(f=t.customBullet),f&&(u&&u.remove(),"function"==typeof f?(f=new f,f.chart=s,t.bulletConfig&&(f.availableSpace=r,f.graph=this,f.graphDataItem=t,f.bulletY=r,t.bulletConfig.minCoord=this.minCoord-r,f.bulletConfig=t.bulletConfig),f.write(o),u&&f.showBullet&&f.set.push(u),t.customBulletGraphics=f.cset,u=f.set):(u=o.set(),f=o.image(f,0,0,e,e),u.push(f),this.centerCustomBullets&&f.translate(-e/2,-e/2))),u&&((t.url||this.showHandOnHover)&&u.setAttr("cursor","pointer"),("serial"==s.type||"gantt"==s.type)&&(-.5>i||i>this.width||r<-e/2||r>this.height)&&(u.remove(),u=null),u&&(this.bulletSet.push(u),u.translate(i,r),this.addListeners(u,t),this.allBullets.push(u)),t.bx=i,t.by=r,n.setCN(s,u,this.bcn+"bullet"),t.className&&n.setCN(s,u,t.className,!0)),u?(u.size=e||0,(s=this.bulletHitAreaSize)&&(o=n.circle(o,s,"#FFFFFF",.001,0),o.translate(i,r),t.hitBullet=o,this.bulletSet.push(o),this.addListeners(o,t)),t.bulletGraphics=u,void 0!==this.tabIndex&&u.setAttr("tabindex",this.tabIndex)):u={size:0},u.graphDataItem=t,u}},showBullets:function(){var t=this.allBullets,n;for(this.bulletsHidden=!1,n=0;n<t.length;n++)t[n].show()},hideBullets:function(){var t=this.allBullets,n;for(this.bulletsHidden=!0,n=0;n<t.length;n++)t[n].hide()},showCustomBullets:function(){var i=this.allBullets,n,t;for(this.customBulletsHidden=!1,n=0;n<i.length;n++)t=i[n].graphDataItem,t.customBulletGraphics&&t.customBulletGraphics.show()},hideCustomBullets:function(){var i=this.allBullets,n,t;for(this.customBulletsHidden=!0,n=0;n<i.length;n++)t=i[n].graphDataItem,t.customBulletGraphics&&t.customBulletGraphics.hide()},addListeners:function(n,t){var i=this,r,u;n.mouseover(function(n){i.handleRollOver(t,n)}).mouseout(function(n){i.handleRollOut(t,n)}).touchend(function(n){i.handleRollOver(t,n);i.chart.panEventsEnabled&&i.handleClick(t,n)}).touchstart(function(n){i.handleRollOver(t,n)}).click(function(n){i.handleClick(t,n)}).dblclick(function(n){i.handleDoubleClick(t,n)}).contextmenu(function(n){i.handleRightClick(t,n)});r=i.chart;r.accessible&&i.accessibleLabel&&(u=r.formatString(i.accessibleLabel,t),r.makeAccessible(n,u))},handleRollOver:function(n,t){var i,r;this.handleGraphEvent(t,"rollOverGraph");n&&(i=this.chart,n.bulletConfig&&(i.isRolledOverBullet=!0),r={type:"rollOverGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t},this.fire(r),i.fire(r),clearTimeout(i.hoverInt),(i=i.chartCursor)&&i.valueBalloonsEnabled||this.showGraphBalloon(n,"V",!0))},handleRollOut:function(n,t){var i=this.chart,r;n&&(r={type:"rollOutGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t},this.fire(r),i.fire(r),i.isRolledOverBullet=!1);this.handleGraphEvent(t,"rollOutGraph");(i=i.chartCursor)&&i.valueBalloonsEnabled||this.hideBalloon()},handleClick:function(t,i){if(!this.chart.checkTouchMoved()&&this.chart.checkTouchDuration(i)){if(t){var r={type:"clickGraphItem",item:t,index:t.index,graph:this,target:this,chart:this.chart,event:i};this.fire(r);this.chart.fire(r);n.getURL(t.url,this.urlTarget)}this.handleGraphEvent(i,"clickGraph")}},handleGraphEvent:function(n,t){var i={type:t,graph:this,target:this,chart:this.chart,event:n};this.fire(i);this.chart.fire(i)},handleRightClick:function(n,t){if(n){var i={type:"rightClickGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t};this.fire(i);this.chart.fire(i)}},handleDoubleClick:function(n,t){if(n){var i={type:"doubleClickGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t};this.fire(i);this.chart.fire(i)}},zoom:function(n,t){this.start=n;this.end=t;this.draw()},changeOpacity:function(n){var t=this.set,i,r;if(t&&t.setAttr("opacity",n),t=this.ownColumns)for(i=0;i<t.length;i++)r=t[i].set,r&&r.setAttr("opacity",n);(t=this.bulletSet)&&t.setAttr("opacity",n)},destroy:function(){var t,i;if(n.remove(this.set),n.remove(this.bulletSet),t=this.timeOuts,t)for(i=0;i<t.length;i++)clearTimeout(t[i]);this.timeOuts=[]},createBalloon:function(){var i=this.chart,t;this.balloon?this.balloon.destroy&&this.balloon.destroy():this.balloon={};t=this.balloon;n.extend(t,i.balloon,!0);t.chart=i;t.mainSet=i.plotBalloonsSet;t.className=this.id},hideBalloon:function(){var n=this,t=n.chart;t.chartCursor?t.chartCursor.valueBalloonsEnabled||t.hideBalloon():t.hideBalloon();clearTimeout(n.hoverInt);n.hoverInt=setTimeout(function(){n.hideBalloonReal.call(n)},t.hideBalloonTime)},hideBalloonReal:function(){this.balloon&&this.balloon.hide();this.fixBulletSize()},fixBulletSize:function(){var t,i,r;n.isModern&&(t=this.resizedDItem,t&&(i=t.bulletGraphics,i&&!i.doNotScale&&(i.translate(t.bx,t.by,1),r=this.bulletAlpha,isNaN(t.alpha)||(r=t.alpha),i.setAttr("fill-opacity",r),i.setAttr("stroke-opacity",this.bulletBorderAlpha))),this.resizedDItem=null)},showGraphBalloon:function(t,i,r,u,f){var s,l;if(t){var o=this.chart,e=this.balloon,h=0,c=0,s=o.chartCursor,a=!0;if(s?s.valueBalloonsEnabled||(e=o.balloon,h=this.x,c=this.y,a=!1):(e=o.balloon,h=this.x,c=this.y,a=!1),clearTimeout(this.hoverInt),o.chartCursor&&(this.currentDataItem=t,"serial"==o.type&&o.isRolledOverBullet&&o.chartCursor.valueBalloonsEnabled)){this.hideBalloonReal();return}this.resizeBullet(t,u,f);e&&e.enabled&&this.showBalloon&&!this.hidden?(s=o.formatString(this.balloonText,t,!0),l=this.balloonFunction,l&&(s=l(t,t.graph)),s&&(s=n.cleanFromEmpty(s)),s&&""!==s?(u=o.getBalloonColor(this,t),e.drop||(e.pointerOrientation=i),i=t.x,f=t.y,o.rotate&&(i=t.y,f=t.x),i+=h,f+=c,isNaN(i)||isNaN(f)?this.hideBalloonReal():(t=this.width,l=this.height,a&&e.setBounds(h,c,t+h,l+c),e.changeColor(u),e.setPosition(i,f),e.fixPrevious(),e.fixedPosition&&(r=!1),!r&&"radar"!=o.type&&(i<h||i>t+h||f<c-.5||f>l+c)?(e.showBalloon(s),e.hide(0)):(e.followCursor(r),e.showBalloon(s)))):(this.hideBalloonReal(),e.hide(),this.resizeBullet(t,u,f))):this.hideBalloonReal()}},resizeBullet:function(t,i,r){if(this.fixBulletSize(),t&&n.isModern&&(1!=i||!isNaN(r))){var u=t.bulletGraphics;u&&!u.doNotScale&&(u.translate(t.bx,t.by,i),isNaN(r)||(u.setAttr("fill-opacity",r),u.setAttr("stroke-opacity",r)),this.resizedDItem=t)}}})}(),function(){var n=window.AmCharts;n.ChartCursor=n.Class({construct:function(t){this.cname="ChartCursor";this.createEvents("changed","zoomed","onHideCursor","onShowCursor","draw","selected","moved","panning","zoomStarted");this.enabled=!0;this.cursorAlpha=1;this.selectionAlpha=.2;this.cursorColor="#CC0000";this.categoryBalloonAlpha=1;this.color="#FFFFFF";this.type="cursor";this.zoomed=!1;this.zoomable=!0;this.pan=!1;this.categoryBalloonDateFormat="MMM DD, YYYY";this.categoryBalloonText="[[category]]";this.categoryBalloonEnabled=this.valueBalloonsEnabled=!0;this.rolledOver=!1;this.cursorPosition="middle";this.bulletsEnabled=this.skipZoomDispatch=!1;this.bulletSize=8;this.selectWithoutZooming=this.oneBalloonOnly=!1;this.graphBulletSize=1.7;this.animationDuration=.3;this.zooming=!1;this.adjustment=0;this.avoidBalloonOverlapping=!0;this.leaveCursor=!1;this.leaveAfterTouch=!0;this.valueZoomable=!1;this.balloonPointerOrientation="horizontal";this.hLineEnabled=this.vLineEnabled=!0;this.vZoomEnabled=this.hZoomEnabled=!1;n.applyTheme(this,t,this.cname)},draw:function(){var t,i;this.destroy();t=this.chart;t.panRequired=!0;i=t.container;this.rotate=t.rotate;this.container=i;this.prevLineHeight=this.prevLineWidth=NaN;i=i.set();i.translate(this.x,this.y);this.set=i;t.cursorSet.push(i);this.createElements();n.isString(this.limitToGraph)&&(this.limitToGraph=n.getObjById(t.graphs,this.limitToGraph),this.fullWidth=!1,this.cursorPosition="middle");this.pointer=this.balloonPointerOrientation.substr(0,1).toUpperCase();this.isHidden=!1;this.hideLines();this.valueLineAxis||(this.valueLineAxis=t.valueAxes[0])},createElements:function(){var t=this,i=t.chart,h=i.dx,c=i.dy,u=t.width,s=t.height,f,r,e=t.cursorAlpha,o=t.valueLineAlpha;t.rotate?(f=o,r=e):(r=o,f=e);"xy"==i.type&&(r=e,void 0!==o&&(r=o),f=e);t.vvLine=n.line(t.container,[h,0,0],[c,0,s],t.cursorColor,f,1);n.setCN(i,t.vvLine,"cursor-line");n.setCN(i,t.vvLine,"cursor-line-vertical");t.hhLine=n.line(t.container,[0,u,u+h],[0,0,c],t.cursorColor,r,1);n.setCN(i,t.hhLine,"cursor-line");n.setCN(i,t.hhLine,"cursor-line-horizontal");t.vLine=t.rotate?t.vvLine:t.hhLine;t.set.push(t.vvLine);t.set.push(t.hhLine);t.set.node.style.pointerEvents="none";t.fullLines=t.container.set();i=i.cursorLineSet;i.push(t.fullLines);i.translate(t.x,t.y);i.clipRect(-1,-1,u+2,s+2);void 0!==t.tabIndex&&(i.setAttr("tabindex",t.tabIndex),i.keyup(function(n){t.handleKeys(n)}).focus(function(){t.showCursor()}).blur(function(){t.hideCursor()}));t.set.clipRect(0,0,u,s)},handleKeys:function(t){var i=this.prevIndex,r=this.chart,u;r&&(u=r.chartData,u&&(isNaN(i)&&(i=u.length-1),37!=t.keyCode&&40!=t.keyCode||i--,39!=t.keyCode&&38!=t.keyCode||i++,i=n.fitToBounds(i,r.startIndex,r.endIndex),(t=this.chart.chartData[i])&&this.setPosition(t.x.categoryAxis),this.prevIndex=i))},update:function(){var n=this.chart,t,i,r;if(n&&(t=n.mouseX-this.x,i=n.mouseY-this.y,this.mouseX=t,this.mouseY=i,this.mouse2X=n.mouse2X-this.x,this.mouse2Y=n.mouse2Y-this.y,n.chartData&&0<n.chartData.length)){if(this.mouseIsOver()?(this.hideGraphBalloons=!1,this.rolledOver=r=!0,this.updateDrawing(),this.vvLine&&isNaN(this.fx)&&(n.rotate||!this.limitToGraph)&&this.vvLine.translate(t,0),!this.hhLine||!isNaN(this.fy)||n.rotate&&this.limitToGraph||this.hhLine.translate(0,i),isNaN(this.mouse2X)?this.dispatchMovedEvent(t,i):r=!1):this.forceShow||this.hideCursor(),this.zooming){if(!isNaN(this.mouse2X)){isNaN(this.mouse2X0)||this.dispatchPanEvent();return}if(this.pan){this.dispatchPanEvent();return}(this.hZoomEnabled||this.vZoomEnabled)&&this.zooming&&this.updateSelection()}r&&this.showCursor()}},updateDrawing:function(){if(this.drawing&&this.chart.setMouseCursor("crosshair"),this.drawingNow){n.remove(this.drawingLine);var t=this.chart,i=t.marginTop,t=t.marginLeft;this.drawingLine=n.line(this.container,[this.drawStartX+t,this.mouseX+t],[this.drawStartY+i,this.mouseY+i],this.cursorColor,1,1)}},fixWidth:function(t){if(this.fullWidth&&this.prevLineWidth!=t){var i=this.vvLine,r=0;i&&(i.remove(),r=i.x);i=this.container.set();i.translate(r,0);r=n.rect(this.container,t,this.height,this.cursorColor,this.cursorAlpha,this.cursorAlpha,this.cursorColor);n.setCN(this.chart,r,"cursor-fill");r.translate(-t/2-1,0);i.push(r);this.vvLine=i;this.fullLines.push(i);this.prevLineWidth=t}},fixHeight:function(t){if(this.fullWidth&&this.prevLineHeight!=t){var i=this.hhLine,r=0;i&&(i.remove(),r=i.y);i=this.container.set();i.translate(0,r);r=n.rect(this.container,this.width,t,this.cursorColor,this.cursorAlpha);r.translate(0,-t/2);i.push(r);this.fullLines.push(i);this.hhLine=i;this.prevLineHeight=t}},fixVLine:function(n,t){var i,r,u;isNaN(n)||(isNaN(this.prevLineX)?(i=0,r=this.mouseX,this.limitToGraph&&(u=this.chart.categoryAxis,u&&(this.chart.rotate||(i="bottom"==u.position?this.height:-this.height),r=n)),this.vvLine.translate(r,i)):this.prevLineX!=n&&this.vvLine.translate(this.prevLineX,this.prevLineY),this.fx=n,this.prevLineX!=n&&(i=this.animationDuration,this.zooming&&(i=0),this.vvLine.stop(),this.vvLine.animate({translate:n+","+t},i,"easeOutSine"),this.prevLineX=n,this.prevLineY=t))},fixHLine:function(n,t){var i,r,u;isNaN(n)||(isNaN(this.prevLineY)?(i=0,r=this.mouseY,this.limitToGraph&&(u=this.chart.categoryAxis,u&&(this.chart.rotate&&(i="right"==u.position?this.width:-this.width),r=n)),this.hhLine.translate(i,r)):this.prevLineY!=n&&this.hhLine.translate(this.prevLineX,this.prevLineY),this.fy=n,this.prevLineY!=n&&(i=this.animationDuration,this.zooming&&(i=0),this.hhLine.stop(),this.hhLine.animate({translate:t+","+n},i,"easeOutSine"),this.prevLineY=n,this.prevLineX=t))},hideCursor:function(n){this.forceShow=!1;this.chart.wasTouched&&this.leaveAfterTouch||this.isHidden||this.leaveCursor||(this.hideCursorReal(),n?this.chart.handleCursorHide():this.fire({target:this,chart:this.chart,type:"onHideCursor"}),this.chart.setMouseCursor("auto"))},hideCursorReal:function(){this.hideLines();this.isHidden=!0;this.index=this.prevLineY=this.prevLineX=this.mouseY0=this.mouseX0=this.fy=this.fx=NaN},hideLines:function(){this.vvLine&&this.vvLine.hide();this.hhLine&&this.hhLine.hide();this.fullLines&&this.fullLines.hide();this.isHidden=!0;this.chart.handleCursorHide()},showCursor:function(n){!this.drawing&&this.enabled&&(this.vLineEnabled&&this.vvLine&&this.vvLine.show(),this.hLineEnabled&&this.hhLine&&this.hhLine.show(),this.isHidden=!1,this.updateFullLine(),n||this.fire({target:this,chart:this.chart,type:"onShowCursor"}),this.pan&&this.chart.setMouseCursor("move"))},updateFullLine:function(){this.zooming&&this.fullWidth&&this.selection&&(this.rotate?0<this.selection.height&&this.hhLine.hide():0<this.selection.width&&this.vvLine.hide())},updateSelection:function(){var i,t;if(!this.pan&&this.enabled){i=this.mouseX;t=this.mouseY;isNaN(this.fx)||(i=this.fx);isNaN(this.fy)||(t=this.fy);this.clearSelection();var r=this.mouseX0,u=this.mouseY0,f=this.width,e=this.height,i=n.fitToBounds(i,0,f),t=n.fitToBounds(t,0,e),o;i<r&&(o=i,i=r,r=o);t<u&&(o=t,t=u,u=o);this.hZoomEnabled?f=i-r:r=0;this.vZoomEnabled?e=t-u:u=0;isNaN(this.mouse2X)&&0<Math.abs(f)&&0<Math.abs(e)&&(i=this.chart,t=n.rect(this.container,f,e,this.cursorColor,this.selectionAlpha),n.setCN(i,t,"cursor-selection"),t.width=f,t.height=e,t.translate(r,u),this.set.push(t),this.selection=t);this.updateFullLine()}},mouseIsOver:function(){var n=this.mouseX,t=this.mouseY;if(this.justReleased)return this.justReleased=!1,!0;if(this.mouseIsDown)return!0;if(!this.chart.mouseIsOver)return this.handleMouseOut(),!1;if(0<n&&n<this.width&&0<t&&t<this.height)return!0;this.handleMouseOut()},fixPosition:function(){this.prevY=this.prevX=NaN},handleMouseDown:function(){if(this.update(),this.mouseIsOver())if(this.mouseIsDown=!0,this.mouseX0=this.mouseX,this.mouseY0=this.mouseY,this.mouse2X0=this.mouse2X,this.mouse2Y0=this.mouse2Y,this.drawing)this.drawStartY=this.mouseY,this.drawStartX=this.mouseX,this.drawingNow=!0;else if(this.dispatchMovedEvent(this.mouseX,this.mouseY),!this.pan&&isNaN(this.mouse2X0)&&(isNaN(this.fx)||(this.mouseX0=this.fx),isNaN(this.fy)||(this.mouseY0=this.fy)),this.hZoomEnabled||this.vZoomEnabled){this.zooming=!0;var n={chart:this.chart,target:this,type:"zoomStarted"};n.x=this.mouseX/this.width;n.y=this.mouseY/this.height;this.index0=n.index=this.index;this.timestamp0=this.timestamp;this.fire(n)}},registerInitialMouse:function(){},handleReleaseOutside:function(){if(this.mouseIsDown=!1,this.drawingNow){this.drawingNow=!1;n.remove(this.drawingLine);var t=this.drawStartX,i=this.drawStartY,r=this.mouseX,u=this.mouseY,f=this.chart;(2<Math.abs(t-r)||2<Math.abs(i-u))&&this.fire({type:"draw",target:this,chart:f,initialX:t,initialY:i,finalX:r,finalY:u})}this.zooming&&(this.zooming=!1,this.selectWithoutZooming?this.dispatchZoomEvent("selected"):(this.hZoomEnabled||this.vZoomEnabled)&&this.dispatchZoomEvent("zoomed"),this.rolledOver&&this.dispatchMovedEvent(this.mouseX,this.mouseY));this.mouse2Y0=this.mouse2X0=this.mouseY0=this.mouseX0=NaN},dispatchZoomEvent:function(n){var t,o;if(!this.pan&&(t=this.selection,t&&3<Math.abs(t.width)&&3<Math.abs(t.height))){var i=Math.min(this.index,this.index0),r=Math.max(this.index,this.index0),s=i,h=r,f=this.chart,u=f.chartData,e=f.categoryAxis;e&&e.parseDates&&!e.equalSpacing&&(s=u[i]?u[i].time:Math.min(this.timestamp0,this.timestamp),h=u[r]?f.getEndTime(u[r].time):Math.max(this.timestamp0,this.timestamp));t={type:n,chart:this.chart,target:this,end:h,start:s,startIndex:i,endIndex:r,selectionHeight:t.height,selectionWidth:t.width,selectionY:t.y,selectionX:t.x};this.hZoomEnabled&&4<Math.abs(this.mouseX0-this.mouseX)&&(t.startX=this.mouseX0/this.width,t.endX=this.mouseX/this.width,o=!0);this.vZoomEnabled&&4<Math.abs(this.mouseY0-this.mouseY)&&(t.startY=1-this.mouseY0/this.height,t.endY=1-this.mouseY/this.height,o=!0);o&&(this.prevY=this.prevX=NaN,this.fire(t),"selected"!=n&&this.clearSelection());this.hideCursor()}},dispatchMovedEvent:function(n,t,i,r){var f,e,u;n=Math.round(n);t=Math.round(t);this.isHidden||n==this.prevX&&t==this.prevY&&"changed"!=i||(i||(i="moved"),f=this.fx,e=this.fy,isNaN(f)&&(f=n),isNaN(e)&&(e=t),u=!1,this.zooming&&this.pan&&(u=!0),u={hidden:this.isHidden,type:i,chart:this.chart,target:this,x:n,y:t,finalX:f,finalY:e,zooming:this.zooming,panning:u,mostCloseGraph:this.mostCloseGraph,index:this.index,skip:r,hideBalloons:this.hideGraphBalloons},this.prevIndex=this.index,this.rotate?(u.position=t,u.finalPosition=e):(u.position=n,u.finalPosition=f),this.prevX=n,this.prevY=t,r?this.chart.handleCursorMove(u):(this.fire(u),"changed"==i&&this.chart.fire(u)))},dispatchPanEvent:function(){if(this.mouseIsDown){var u=n.roundTo((this.mouseX-this.mouseX0)/this.width,3),f=n.roundTo((this.mouseY-this.mouseY0)/this.height,3),t=n.roundTo((this.mouse2X-this.mouse2X0)/this.width,3),i=n.roundTo((this.mouse2Y-this.mouse2Y0)/this.height,2),r=!1;0!==Math.abs(u)&&0!==Math.abs(f)&&(r=!0);(this.prevDeltaX==u||this.prevDeltaY==f)&&(r=!1);isNaN(t)||isNaN(i)||(0!==Math.abs(t)&&0!==Math.abs(i)&&(r=!0),this.prevDelta2X!=t&&this.prevDelta2Y!=i)||(r=!1);r&&(this.hideLines(),this.fire({type:"panning",chart:this.chart,target:this,deltaX:u,deltaY:f,delta2X:t,delta2Y:i,index:this.index}),this.prevDeltaX=u,this.prevDeltaY=f,this.prevDelta2X=t,this.prevDelta2Y=i)}},clearSelection:function(){var n=this.selection;n&&(n.width=0,n.height=0,n.remove())},destroy:function(){this.clear();n.remove(this.selection);this.selection=null;clearTimeout(this.syncTO);n.remove(this.set)},clear:function(){},setTimestamp:function(n){this.timestamp=n},setIndex:function(n,t){n!=this.index&&(this.index=n,t||this.isHidden||this.dispatchMovedEvent(this.mouseX,this.mouseY,"changed"))},handleMouseOut:function(){this.enabled&&this.rolledOver&&(this.leaveCursor||this.setIndex(void 0),this.forceShow=!1,this.hideCursor(),this.rolledOver=!1)},showCursorAt:function(n){var t=this.chart.categoryAxis;t&&this.setPosition(t.categoryToCoordinate(n),n)},setPosition:function(n,t){var i=this.chart,r=i.categoryAxis,u,f;r&&(void 0===t&&(t=r.coordinateToValue(n)),r.showBalloonAt(t,n),this.forceShow=!0,r.stickBalloonToCategory?i.rotate?this.fixHLine(n,0):this.fixVLine(n,0):(this.showCursor(),i.rotate?this.hhLine.translate(0,n):this.vvLine.translate(n,0)),i.rotate?u=n:f=n,i.rotate?(this.vvLine&&this.vvLine.hide(),this.hhLine&&this.hhLine.show()):(this.hhLine&&this.hhLine.hide(),this.vvLine&&this.vvLine.show()),this.updateFullLine(),this.isHidden=!1,this.dispatchMovedEvent(f,u,"moved",!0))},enableDrawing:function(n){this.enabled=!n;this.hideCursor();this.drawing=n},syncWithCursor:function(n,t){clearTimeout(this.syncTO);n&&(n.isHidden?this.hideCursor(!0):this.syncWithCursorReal(n,t))},isZooming:function(n){this.zooming=n},syncWithCursorReal:function(n,t){var u=n.vvLine,f=n.hhLine,i,r;this.index=n.index;this.forceShow=!0;this.zooming&&this.pan||this.showCursor(!0);this.hideGraphBalloons=t;this.justReleased=n.justReleased;this.zooming=n.zooming;this.index0=n.index0;this.mouseX0=n.mouseX0;this.mouseY0=n.mouseY0;this.mouse2X0=n.mouse2X0;this.mouse2Y0=n.mouse2Y0;this.timestamp0=n.timestamp0;this.prevDeltaX=n.prevDeltaX;this.prevDeltaY=n.prevDeltaY;this.prevDelta2X=n.prevDelta2X;this.prevDelta2Y=n.prevDelta2Y;this.fx=n.fx;this.fy=n.fy;n.zooming&&this.updateSelection();i=n.mouseX;r=n.mouseY;this.rotate?(i=NaN,this.vvLine&&this.vvLine.hide(),this.hhLine&&f&&(isNaN(n.fy)?this.hhLine.translate(0,n.mouseY):this.fixHLine(n.fy,0))):(r=NaN,this.hhLine&&this.hhLine.hide(),this.vvLine&&u&&(isNaN(n.fx)?this.vvLine.translate(n.mouseX,0):this.fixVLine(n.fx,0)));this.dispatchMovedEvent(i,r,"moved",!0)}})}(),function(){var n=window.AmCharts;n.SimpleChartScrollbar=n.Class({construct:function(t){this.createEvents("zoomed","zoomStarted","zoomEnded");this.backgroundColor="#D4D4D4";this.backgroundAlpha=1;this.selectedBackgroundColor="#EFEFEF";this.scrollDuration=this.selectedBackgroundAlpha=1;this.resizeEnabled=!0;this.hideResizeGrips=!1;this.scrollbarHeight=20;this.updateOnReleaseOnly=!1;9>document.documentMode&&(this.updateOnReleaseOnly=!0);this.dragIconHeight=this.dragIconWidth=35;this.dragIcon="dragIconRoundBig";this.dragCursorHover="cursor: move; cursor: grab; cursor: -moz-grab; cursor: -webkit-grab;";this.dragCursorDown="cursor: move; cursor: grab; cursor: -moz-grabbing; cursor: -webkit-grabbing;";this.vResizeCursor="ns-resize";this.hResizeCursor="ew-resize";this.enabled=!0;this.percentStart=this.offset=0;this.percentEnd=1;n.applyTheme(this,t,"SimpleChartScrollbar")},getPercents:function(){var n=this.getDBox(),t=n.x,i=n.y,r=n.width,n=n.height;this.rotate?(t=1-i/this.height,i=1-(i+n)/this.height):(i=t/this.width,t=(t+r)/this.width);this.percentStart=i;this.percentEnd=t},draw:function(){var t=this,s,e,u,h,r,c,l,a,v;if(t.destroy(),t.enabled){var i=t.chart.container,o=t.rotate,f=t.chart;f.panRequired=!0;s=i.set();t.set=s;f.scrollbarsSet.push(s);o?(e=t.scrollbarHeight,u=f.plotAreaHeight):(u=t.scrollbarHeight,e=f.plotAreaWidth);t.width=e;(t.height=u)&&e&&(r=n.rect(i,e,u,t.backgroundColor,t.backgroundAlpha,1,t.backgroundColor,t.backgroundAlpha),n.setCN(f,r,"scrollbar-bg"),t.bg=r,s.push(r),r=n.rect(i,e,u,"#000",.005),s.push(r),t.invisibleBg=r,r.click(function(){t.handleBgClick()}).mouseover(function(){t.handleMouseOver()}).mouseout(function(){t.handleMouseOut()}).touchend(function(){t.handleBgClick()}),r=n.rect(i,e,u,t.selectedBackgroundColor,t.selectedBackgroundAlpha),n.setCN(f,r,"scrollbar-bg-selected"),t.selectedBG=r,s.push(r),e=n.rect(i,e,u,"#000",.005),t.dragger=e,s.push(e),e.mousedown(function(n){t.handleDragStart(n)}).mouseup(function(){t.handleDragStop()}).mouseover(function(){t.handleDraggerOver()}).mouseout(function(){t.handleMouseOut()}).touchstart(function(n){t.handleDragStart(n)}).touchend(function(){t.handleDragStop()}),u=f.pathToImages,r=t.dragIcon.replace(/\.[a-z]*$/i,""),n.isAbsolute(r)&&(u=""),o?(h=u+r+"H"+f.extension,u=t.dragIconWidth,o=t.dragIconHeight):(h=u+r+f.extension,o=t.dragIconWidth,u=t.dragIconHeight),r=i.image(h,0,0,o,u),n.setCN(f,r,"scrollbar-grip-left"),h=i.image(h,0,0,o,u),n.setCN(f,h,"scrollbar-grip-right"),c=10,l=20,f.panEventsEnabled&&(c=25,l=t.scrollbarHeight),a=n.rect(i,c,l,"#000",.005),v=n.rect(i,c,l,"#000",.005),v.translate(-(c-o)/2,-(l-u)/2),a.translate(-(c-o)/2,-(l-u)/2),o=i.set([r,v]),i=i.set([h,a]),t.iconLeft=o,s.push(t.iconLeft),t.iconRight=i,s.push(i),t.updateGripCursor(!1),f.makeAccessible(o,t.accessibleLabel),f.makeAccessible(i,t.accessibleLabel),f.makeAccessible(e,t.accessibleLabel),o.setAttr("role","menuitem"),i.setAttr("role","menuitem"),e.setAttr("role","menuitem"),void 0!==t.tabIndex&&(o.setAttr("tabindex",t.tabIndex),o.keyup(function(n){t.handleKeys(n,1,0)})),void 0!==t.tabIndex&&(e.setAttr("tabindex",t.tabIndex),e.keyup(function(n){t.handleKeys(n,1,1)})),void 0!==t.tabIndex&&(i.setAttr("tabindex",t.tabIndex),i.keyup(function(n){t.handleKeys(n,0,1)})),o.mousedown(function(){t.leftDragStart()}).mouseup(function(){t.leftDragStop()}).mouseover(function(){t.iconRollOver()}).mouseout(function(){t.iconRollOut()}).touchstart(function(){t.leftDragStart()}).touchend(function(){t.leftDragStop()}),i.mousedown(function(){t.rightDragStart()}).mouseup(function(){t.rightDragStop()}).mouseover(function(){t.iconRollOver()}).mouseout(function(){t.iconRollOut()}).touchstart(function(){t.rightDragStart()}).touchend(function(){t.rightDragStop()}),n.ifArray(f.chartData)?s.show():s.hide(),t.hideDragIcons(),t.clipDragger(!1));s.translate(t.x,t.y);s.node.style.msTouchAction="none";s.node.style.touchAction="none"}},handleKeys:function(n,t,i){var r,u;if(this.getPercents(),r=this.percentStart,u=this.percentEnd,this.rotate)var f=u,u=r,r=f;(37==n.keyCode||40==n.keyCode)&&(r-=.02*t,u-=.02*i);(39==n.keyCode||38==n.keyCode)&&(r+=.02*t,u+=.02*i);this.rotate&&(n=u,u=r,r=n);isNaN(u)||isNaN(r)||this.percentZoom(r,u,!0)},updateScrollbarSize:function(n,t){if(!isNaN(n)&&!isNaN(t)){n=Math.round(n);t=Math.round(t);var i=this.dragger,r,u,f,e,o;this.rotate?(r=0,u=n,f=this.width+1,e=t-n,i.setAttr("height",t-n),i.setAttr("y",u)):(r=n,u=0,f=t-n,e=this.height+1,o=t-n,i.setAttr("x",r),i.setAttr("width",o));this.clipAndUpdate(r,u,f,e)}},update:function(){var n,c=!1,i,t,u=this.x,f=this.y,e=this.dragger,o=this.getDBox();if(o){i=o.x+u;t=o.y+f;var l=o.width,o=o.height,a=this.rotate,r=this.chart,s=this.width,h=this.height,v=r.mouseX,y=r.mouseY;n=this.initialMouse;this.forceClip&&this.clipDragger(!0);r.mouseIsOver&&(this.dragging&&(r=this.initialCoord,a?(n=r+(y-n),0>n&&(n=0),r=h-o,n>r&&(n=r),e.setAttr("y",n)):(n=r+(v-n),0>n&&(n=0),r=s-l,n>r&&(n=r),e.setAttr("x",n)),this.clipDragger(!0)),this.resizingRight&&(a?(n=y-t,!isNaN(this.maxHeight)&&n>this.maxHeight&&(n=this.maxHeight),n+t>h+f&&(n=h-t+f),0>n)?(this.resizingRight=!1,c=this.resizingLeft=!0):((0===n||isNaN(n))&&(n=.1),e.setAttr("height",n)):(n=v-i,!isNaN(this.maxWidth)&&n>this.maxWidth&&(n=this.maxWidth),n+i>s+u&&(n=s-i+u),0>n)?(this.resizingRight=!1,c=this.resizingLeft=!0):((0===n||isNaN(n))&&(n=.1),e.setAttr("width",n)),this.clipDragger(!0)),this.resizingLeft&&(a?(i=t,t=y,t<f&&(t=f),isNaN(t)&&(t=f),t>h+f&&(t=h+f),n=!0===c?i-t:o+i-t,!isNaN(this.maxHeight)&&n>this.maxHeight&&(n=this.maxHeight,t=i),0>n)?(this.resizingRight=!0,this.resizingLeft=!1,e.setAttr("y",i+o-f)):((0===n||isNaN(n))&&(n=.1),e.setAttr("y",t-f),e.setAttr("height",n)):(t=v,t<u&&(t=u),isNaN(t)&&(t=u),t>s+u&&(t=s+u),n=!0===c?i-t:l+i-t,!isNaN(this.maxWidth)&&n>this.maxWidth&&(n=this.maxWidth,t=i),0>n)?(this.resizingRight=!0,this.resizingLeft=!1,e.setAttr("x",i+l-u)):((0===n||isNaN(n))&&(n=.1),e.setAttr("x",t-u),e.setAttr("width",n)),this.clipDragger(!0)))}},stopForceClip:function(){this.animating=this.forceClip=!1},clipDragger:function(n){var t=this.getDBox();if(t){var i=t.x,r=t.y,u=t.width,t=t.height,f=!1;this.rotate?(i=0,u=this.width+1,this.clipY!=r||this.clipH!=t)&&(f=!0):(r=0,t=this.height+1,this.clipX!=i||this.clipW!=u)&&(f=!0);f&&(this.clipAndUpdate(i,r,u,t),n&&(this.updateOnReleaseOnly||this.dispatchScrollbarEvent()))}},maskGraphs:function(){},clipAndUpdate:function(n,t,i,r){this.clipX=n;this.clipY=t;this.clipW=i;this.clipH=r;this.selectedBG.setAttr("width",i);this.selectedBG.setAttr("height",r);this.selectedBG.translate(n,t);this.updateDragIconPositions();this.maskGraphs(n,t,i,r)},dispatchScrollbarEvent:function(){var i;if(this.skipEvent)this.skipEvent=!1;else{i=this.chart;i.hideBalloon();var n=this.getDBox(),r=n.x,u=n.y,t=n.width,n=n.height;this.getPercents();this.rotate?(r=u,t=this.height/n):t=this.width/t;this.fire({type:"zoomed",position:r,chart:i,target:this,multiplier:t,relativeStart:this.percentStart,relativeEnd:this.percentEnd})}},updateDragIconPositions:function(){var i=this.getDBox(),u=i.x,f=i.y,e=this.iconLeft,o=this.iconRight,n,t,r=this.scrollbarHeight;this.rotate?(n=this.dragIconWidth,t=this.dragIconHeight,e.translate((r-t)/2,f-n/2),o.translate((r-t)/2,f+i.height-n/2)):(n=this.dragIconHeight,t=this.dragIconWidth,e.translate(u-t/2,(r-n)/2),o.translate(u-t/2+i.width,(r-n)/2))},showDragIcons:function(){this.resizeEnabled&&(this.iconLeft.show(),this.iconRight.show())},hideDragIcons:function(){this.resizingLeft||this.resizingRight||this.dragging||((this.hideResizeGrips||!this.resizeEnabled)&&(this.iconLeft.hide(),this.iconRight.hide()),this.removeCursors())},removeCursors:function(){this.chart.setMouseCursor("auto")},fireZoomEvent:function(n){this.fire({type:n,chart:this.chart,target:this})},percentZoom:function(t,i,r){if(t=n.fitToBounds(t,0,i),i=n.fitToBounds(i,t,1),this.dragger&&this.enabled){this.dragger.stop();isNaN(t)&&(t=0);isNaN(i)&&(i=1);var u,f;this.rotate?(u=this.height,i=u-u*i,f=u-u*t):(u=this.width,f=u*i,i=u*t);this.updateScrollbarSize(i,f);this.clipDragger(!1);this.getPercents();r&&this.dispatchScrollbarEvent()}},destroy:function(){this.clear();n.remove(this.set);n.remove(this.iconRight);n.remove(this.iconLeft)},clear:function(){},handleDragStart:function(){var t,i;this.enabled&&(this.fireZoomEvent("zoomStarted"),t=this.chart,this.dragger.stop(),this.removeCursors(),n.isModern&&this.dragger.node.setAttribute("style",this.dragCursorDown),this.dragging=!0,i=this.getDBox(),this.rotate?(this.initialCoord=i.y,this.initialMouse=t.mouseY):(this.initialCoord=i.x,this.initialMouse=t.mouseX))},handleDragStop:function(){this.updateOnReleaseOnly&&(this.update(),this.skipEvent=!1,this.dispatchScrollbarEvent());this.dragging=!1;this.mouseIsOver&&this.removeCursors();n.isModern&&this.dragger.node.setAttribute("style",this.dragCursorHover);this.update();this.fireZoomEvent("zoomEnded")},handleDraggerOver:function(){this.handleMouseOver();n.isModern&&this.dragger.node.setAttribute("style",this.dragCursorHover)},leftDragStart:function(){this.fireZoomEvent("zoomStarted");this.dragger.stop();this.resizingLeft=!0;this.updateGripCursor(!0)},updateGripCursor:function(t){n.isModern&&(t=this.rotate?t?this.vResizeCursorDown:this.vResizeCursorHover:t?this.hResizeCursorDown:this.hResizeCursorHover)&&(this.iconRight&&this.iconRight.node.setAttribute("style",t),this.iconLeft&&this.iconLeft.node.setAttribute("style",t))},leftDragStop:function(){this.resizingLeft&&(this.resizingLeft=!1,this.mouseIsOver||this.removeCursors(),this.updateOnRelease(),this.fireZoomEvent("zoomEnded"));this.updateGripCursor(!1)},rightDragStart:function(){this.fireZoomEvent("zoomStarted");this.dragger.stop();this.resizingRight=!0;this.updateGripCursor(!0)},rightDragStop:function(){this.resizingRight&&(this.resizingRight=!1,this.mouseIsOver||this.removeCursors(),this.updateOnRelease(),this.fireZoomEvent("zoomEnded"));this.updateGripCursor(!1)},iconRollOut:function(){this.removeCursors()},iconRollOver:function(){this.rotate?this.vResizeCursor&&this.chart.setMouseCursor(this.vResizeCursor):this.hResizeCursor&&this.chart.setMouseCursor(this.hResizeCursor);this.handleMouseOver()},getDBox:function(){if(this.dragger)return this.dragger.getBBox()},handleBgClick:function(){var t=this,r,i,u,f,e,o;if(!t.resizingRight&&!t.resizingLeft){t.zooming=!0;u=t.scrollDuration;f=t.dragger;r=t.getDBox();e=r.height;o=r.width;i=t.chart;var h=t.y,c=t.x,s=t.rotate;s?(r="y",i=i.mouseY-e/2-h,i=n.fitToBounds(i,0,t.height-e)):(r="x",i=i.mouseX-o/2-c,i=n.fitToBounds(i,0,t.width-o));t.updateOnReleaseOnly?(t.skipEvent=!1,f.setAttr(r,i),t.dispatchScrollbarEvent(),t.clipDragger()):(t.animating=!0,i=Math.round(i),s?f.animate({y:i},u,">"):f.animate({x:i},u,">"),t.forceClip=!0,clearTimeout(t.forceTO),t.forceTO=setTimeout(function(){t.stopForceClip.call(t)},5e3*u))}},updateOnRelease:function(){this.updateOnReleaseOnly&&(this.update(),this.skipEvent=!1,this.dispatchScrollbarEvent())},handleReleaseOutside:function(){this.set&&((this.resizingLeft||this.resizingRight||this.dragging)&&(this.dragging=this.resizingRight=this.resizingLeft=!1,this.updateOnRelease(),this.removeCursors()),this.animating=this.mouseIsOver=!1,this.hideDragIcons(),this.update())},handleMouseOver:function(){this.mouseIsOver=!0;this.showDragIcons()},handleMouseOut:function(){this.mouseIsOver=!1;this.hideDragIcons();this.removeCursors()}})}(),function(){var n=window.AmCharts;n.ChartScrollbar=n.Class({inherits:n.SimpleChartScrollbar,construct:function(t){this.cname="ChartScrollbar";n.ChartScrollbar.base.construct.call(this,t);this.graphLineColor="#BBBBBB";this.graphLineAlpha=0;this.graphFillColor="#BBBBBB";this.graphFillAlpha=1;this.selectedGraphLineColor="#888888";this.selectedGraphLineAlpha=0;this.selectedGraphFillColor="#888888";this.selectedGraphFillAlpha=1;this.gridCount=0;this.gridColor="#FFFFFF";this.gridAlpha=.7;this.skipEvent=this.autoGridCount=!1;this.color="#FFFFFF";this.scrollbarCreated=!1;this.oppositeAxis=!0;this.accessibleLabel="Zoom chart using cursor arrows";n.applyTheme(this,t,this.cname)},init:function(){var t=this.categoryAxis,i=this.chart,r=this.gridAxis,u;t||("CategoryAxis"==this.gridAxis.cname?(this.catScrollbar=!0,t=new n.CategoryAxis,t.id="scrollbar"):(t=new n.ValueAxis,t.data=i.chartData,t.id=r.id,t.type=r.type,t.maximumDate=r.maximumDate,t.minimumDate=r.minimumDate,t.minPeriod=r.minPeriod),this.categoryAxis=t);t.chart=i;u=i.categoryAxis;u&&(t.firstDayOfWeek=u.firstDayOfWeek);t.dateFormats=r.dateFormats;t.markPeriodChange=r.markPeriodChange;t.boldPeriodBeginning=r.boldPeriodBeginning;t.labelFunction=r.labelFunction;t.axisItemRenderer=n.RecItem;t.axisRenderer=n.RecAxis;t.guideFillRenderer=n.RecFill;t.inside=!0;t.fontSize=this.fontSize;t.tickLength=0;t.axisAlpha=0;n.isString(this.graph)&&(this.graph=n.getObjById(i.graphs,this.graph));(t=this.graph)&&this.catScrollbar&&(r=this.valueAxis,r||(this.valueAxis=r=new n.ValueAxis,r.visible=!1,r.scrollbar=!0,r.axisItemRenderer=n.RecItem,r.axisRenderer=n.RecAxis,r.guideFillRenderer=n.RecFill,r.labelsEnabled=!1,r.chart=i),i=this.unselectedGraph,i||(i=new n.AmGraph,i.scrollbar=!0,this.unselectedGraph=i,i.negativeBase=t.negativeBase,i.noStepRisers=t.noStepRisers),i=this.selectedGraph,i||(i=new n.AmGraph,i.scrollbar=!0,this.selectedGraph=i,i.negativeBase=t.negativeBase,i.noStepRisers=t.noStepRisers));this.scrollbarCreated=!0},draw:function(){var t=this,e,r,h,c,w,b,i,v;if(n.ChartScrollbar.base.draw.call(t),t.enabled){t.scrollbarCreated||t.init();var s=t.chart,o=s.chartData,f=t.categoryAxis,l=t.rotate,h=t.x,c=t.y,y=t.width,p=t.height,u=t.gridAxis,a=t.set;if(f.setOrientation(!l),f.parseDates=u.parseDates,"ValueAxis"==t.categoryAxis.cname&&(f.rotate=!l),f.equalSpacing=u.equalSpacing,f.minPeriod=u.minPeriod,f.startOnAxis=u.startOnAxis,f.width=y-1,f.height=p,f.gridCount=t.gridCount,f.gridColor=t.gridColor,f.gridAlpha=t.gridAlpha,f.color=t.color,f.tickLength=0,f.axisAlpha=0,f.autoGridCount=t.autoGridCount,f.parseDates&&!f.equalSpacing&&f.timeZoom(s.firstTime,s.lastTime),f.minimum=t.gridAxis.fullMin,f.maximum=t.gridAxis.fullMax,f.strictMinMax=!0,f.zoom(0,o.length-1),(u=t.graph)&&t.catScrollbar){for(e=t.valueAxis,r=u.valueAxis,e.id=r.id,e.rotate=l,e.setOrientation(l),e.width=y,e.height=p,e.dataProvider=o,e.reversed=r.reversed,e.logarithmic=r.logarithmic,e.gridAlpha=0,e.axisAlpha=0,a.push(e.set),l?(e.y=c,e.x=0):(e.x=h,e.y=0),h=Infinity,c=-Infinity,w=0;w<o.length;w++){b=o[w].axes[r.id].graphs[u.id].values;for(i in b)b.hasOwnProperty(i)&&"percents"!=i&&"total"!=i&&(v=b[i],v<h&&(h=v),v>c&&(c=v))}Infinity!=h&&(e.minimum=h);-Infinity!=c&&(e.maximum=c+.1*(c-h));h==c&&(--e.minimum,e.maximum+=1);void 0!==t.minimum&&(e.minimum=t.minimum);void 0!==t.maximum&&(e.maximum=t.maximum);e.zoom(0,o.length-1);i=t.unselectedGraph;i.id=u.id;i.bcn="scrollbar-graph-";i.rotate=l;i.chart=s;i.data=o;i.valueAxis=e;i.chart=u.chart;i.categoryAxis=t.categoryAxis;i.periodSpan=u.periodSpan;i.valueField=u.valueField;i.openField=u.openField;i.closeField=u.closeField;i.highField=u.highField;i.lowField=u.lowField;i.lineAlpha=t.graphLineAlpha;i.lineColorR=t.graphLineColor;i.fillAlphas=t.graphFillAlpha;i.fillColorsR=t.graphFillColor;i.connect=u.connect;i.hidden=u.hidden;i.width=y;i.height=p;i.pointPosition=u.pointPosition;i.stepDirection=u.stepDirection;i.periodSpan=u.periodSpan;r=t.selectedGraph;r.id=u.id;r.bcn=i.bcn+"selected-";r.rotate=l;r.chart=s;r.data=o;r.valueAxis=e;r.chart=u.chart;r.categoryAxis=f;r.periodSpan=u.periodSpan;r.valueField=u.valueField;r.openField=u.openField;r.closeField=u.closeField;r.highField=u.highField;r.lowField=u.lowField;r.lineAlpha=t.selectedGraphLineAlpha;r.lineColorR=t.selectedGraphLineColor;r.fillAlphas=t.selectedGraphFillAlpha;r.fillColorsR=t.selectedGraphFillColor;r.connect=u.connect;r.hidden=u.hidden;r.width=y;r.height=p;r.pointPosition=u.pointPosition;r.stepDirection=u.stepDirection;r.periodSpan=u.periodSpan;s=t.graphType;s||(s=u.type);i.type=s;r.type=s;o=o.length-1;i.zoom(0,o);r.zoom(0,o);r.set.click(function(){t.handleBackgroundClick()}).mouseover(function(){t.handleMouseOver()}).mouseout(function(){t.handleMouseOut()});i.set.click(function(){t.handleBackgroundClick()}).mouseover(function(){t.handleMouseOver()}).mouseout(function(){t.handleMouseOut()});a.push(i.set);a.push(r.set)}a.push(f.set);a.push(f.labelsSet);t.bg.toBack();t.invisibleBg.toFront();t.dragger.toFront();t.iconLeft.toFront();t.iconRight.toFront()}},timeZoom:function(t,i,r){this.startTime=t;this.endTime=i;this.timeDifference=i-t;this.skipEvent=!n.toBoolean(r);this.zoomScrollbar();this.dispatchScrollbarEvent()},zoom:function(n,t){this.start=n;this.end=t;this.skipEvent=!0;this.zoomScrollbar()},dispatchScrollbarEvent:function(){var s,t,h,e;if(this.categoryAxis&&"ValueAxis"==this.categoryAxis.cname)n.ChartScrollbar.base.dispatchScrollbarEvent.call(this);else if(this.skipEvent)this.skipEvent=!1;else{s=this.chart.chartData;e=this.dragger.getBBox();t=e.x;var r=e.y,u=e.width,e=e.height,f=this.chart;this.rotate?(t=r,h=e):h=u;u={type:"zoomed",target:this};u.chart=f;var i=this.categoryAxis,c=this.stepWidth,r=f.minSelectedTime,e=f.maxSelectedTime,o=!1;i.parseDates&&!i.equalSpacing?(s=f.lastTime,f=f.firstTime,i=Math.round(t/c)+f,t=this.dragging?i+this.timeDifference:Math.round((t+h)/c)+f,i>t&&(i=t),0<r&&t-i<r&&(t=Math.round(i+(t-i)/2),o=Math.round(r/2),i=t-o,t+=o,o=!0),0<e&&t-i>e&&(t=Math.round(i+(t-i)/2),o=Math.round(e/2),i=t-o,t+=o,o=!0),t>s&&(t=s),t-r<i&&(i=t-r),i<f&&(i=f),i+r>t&&(t=i+r),i!=this.startTime||t!=this.endTime)&&(this.startTime=i,this.endTime=t,u.start=i,u.end=t,u.startDate=new Date(i),u.endDate=new Date(t),this.fire(u)):(i.startOnAxis||(t+=c/2),h-=this.stepWidth/2,r=i.xToIndex(t),t=i.xToIndex(t+h),(r!=this.start||this.end!=t)&&(i.startOnAxis&&(this.resizingRight&&r==t&&t++,this.resizingLeft&&r==t&&(0<r?r--:t=1)),this.start=r,this.end=this.dragging?this.start+this.difference:t,u.start=this.start,u.end=this.end,i.parseDates&&(s[this.start]&&(u.startDate=new Date(s[this.start].time)),s[this.end]&&(u.endDate=new Date(s[this.end].time))),this.fire(u)),this.percentStart=r,this.percentEnd=t);o&&this.zoomScrollbar(!0)}},zoomScrollbar:function(n){var r,i,t;(!(this.dragging||this.resizingLeft||this.resizingRight||this.animating)||n)&&this.dragger&&this.enabled&&(n=this.chart,i=n.chartData,t=this.categoryAxis,t.parseDates&&!t.equalSpacing?(i=t.stepWidth,t=n.firstTime,n=i*(this.startTime-t),r=i*(this.endTime-t)):(n=i[this.start].x[t.id],r=i[this.end].x[t.id],i=t.stepWidth,t.startOnAxis||(t=i/2,n-=t,r+=t)),this.stepWidth=i,this.updateScrollbarSize(n,r))},maskGraphs:function(n,t,i,r){var u=this.selectedGraph;u&&u.set.clipRect(n,t,i,r)},handleDragStart:function(){n.ChartScrollbar.base.handleDragStart.call(this);this.difference=this.end-this.start;this.timeDifference=this.endTime-this.startTime;0>this.timeDifference&&(this.timeDifference=0)},handleBackgroundClick:function(){n.ChartScrollbar.base.handleBackgroundClick.call(this);this.dragging||(this.difference=this.end-this.start,this.timeDifference=this.endTime-this.startTime,0>this.timeDifference&&(this.timeDifference=0))}})}(),function(){var n=window.AmCharts;n.AmBalloon=n.Class({construct:function(t){this.cname="AmBalloon";this.enabled=!0;this.fillColor="#FFFFFF";this.fillAlpha=.8;this.borderThickness=2;this.borderColor="#FFFFFF";this.borderAlpha=1;this.cornerRadius=0;this.maxWidth=220;this.horizontalPadding=8;this.verticalPadding=4;this.pointerWidth=6;this.pointerOrientation="V";this.color="#000000";this.adjustBorderColor=!0;this.show=this.follow=this.showBullet=!1;this.bulletSize=3;this.shadowAlpha=.4;this.shadowColor="#000000";this.fadeOutDuration=this.animationDuration=.3;this.fixedPosition=!0;this.offsetY=6;this.offsetX=1;this.textAlign="center";this.disableMouseEvents=!0;this.deltaSignX=this.deltaSignY=1;n.isModern||(this.offsetY*=1.5);this.sdy=this.sdx=0;n.applyTheme(this,t,this.cname)},draw:function(){var f=this.pointToX,o=this.pointToY,a,s,p,i,r,rt,ut,st,t;if(n.isModern||(this.drop=!1),a=this.chart,n.VML&&(this.fadeOutDuration=0),this.xAnim&&a.stopAnim(this.xAnim),this.yAnim&&a.stopAnim(this.yAnim),this.sdy=this.sdx=0,!isNaN(f)){var ot=this.follow,v=a.container,y=this.set;if(n.remove(y),this.removeDiv(),y=v.set(),y.node.style.pointerEvents="none",this.set=y,this.mainSet?(this.mainSet.push(this.set),this.sdx=this.mainSet.x,this.sdy=this.mainSet.y):a.balloonsSet.push(y),this.show){var e=this.l,b=this.t,w=this.r,g=this.b,s=this.balloonColor,c=this.fillColor,it=this.borderColor,nt=c;void 0!=s&&(this.adjustBorderColor?nt=it=s:c=s);var k=this.horizontalPadding,tt=this.verticalPadding,h=this.pointerWidth,l=this.pointerOrientation,d=this.cornerRadius,u=a.fontFamily,t=this.fontSize;void 0==t&&(t=a.fontSize);s=document.createElement("div");p=a.classNamePrefix;s.className=p+"-balloon-div";this.className&&(s.className=s.className+" "+p+"-balloon-div-"+this.className);p=s.style;this.disableMouseEvents&&(p.pointerEvents="none");p.position="absolute";i=this.minWidth;r="";isNaN(i)||(r="min-width:"+(i-2*k)+"px; ");s.innerHTML='<div style="text-align:'+this.textAlign+"; "+r+"max-width:"+this.maxWidth+"px; font-size:"+t+"px; color:"+this.color+"; font-family:"+u+'">'+this.text+"<\/div>";a.chartDiv.appendChild(s);this.textDiv=s;rt=s.offsetWidth;ut=s.offsetHeight;s.clientHeight&&(rt=s.clientWidth,ut=s.clientHeight);u=ut+2*tt;r=rt+2*k;!isNaN(i)&&r<i&&(r=i);window.opera&&(u+=2);st=!1;t=this.offsetY;a.handDrawn&&(t+=a.handDrawScatter+2);"H"!=l?(i=f-r/2,o<b+u+10&&"down"!=l?(st=!0,ot&&(o+=t),t=o+h,this.deltaSignY=-1):(ot&&(o-=t),t=o-u-h,this.deltaSignY=1)):(2*h>u&&(h=u/2),t=o-u/2,f<e+(w-e)/2?(i=f+h,this.deltaSignX=-1):(i=f-r-h,this.deltaSignX=1));t+u>=g&&(t=g-u);t<b&&(t=b);i<e&&(i=e);i+r>w&&(i=w-r);var b=t+tt,g=i+k,ft=this.shadowAlpha,ct=this.shadowColor,k=this.borderThickness,lt=this.bulletSize,et,tt=this.fillAlpha,ht=this.borderAlpha;this.showBullet&&(et=n.circle(v,lt,nt,tt),y.push(et));this.drop?(e=r/1.6,w=0,"V"==l&&(l="down"),"H"==l&&(l="left"),"down"==l&&(i=f+1,t=o-e-e/3),"up"==l&&(w=180,i=f+1,t=o+e+e/3),"left"==l&&(w=270,i=f+e+e/3+2,t=o),"right"==l&&(w=90,i=f-e-e/3+2,t=o),b=t-ut/2+1,g=i-rt/2-1,c=n.drop(v,e,w,c,tt,k,it,ht)):0<d||0===h?(0<ft&&(f=n.rect(v,r,u,c,0,k+1,ct,ft,d),n.isModern?f.translate(1,1):f.translate(4,4),y.push(f)),c=n.rect(v,r,u,c,tt,k,it,ht,d)):(nt=[],d=[],"H"!=l?(e=f-i,e>r-h&&(e=r-h),e<h&&(e=h),nt=[0,e-h,f-i,e+h,r,r,0,0],d=st?[0,0,o-t,0,0,u,u,0]:[u,u,o-t,u,u,0,0,u]):(l=o-t,l>u-h&&(l=u-h),l<h&&(l=h),d=[0,l-h,o-t,l+h,u,u,0,0],nt=f<e+(w-e)/2?[0,0,i<f?0:f-i,0,0,r,r,0]:[r,r,i+r>f?r:f-i,r,r,0,0,r]),0<ft&&(f=n.polygon(v,nt,d,c,0,k,ct,ft),f.translate(1,1),y.push(f)),c=n.polygon(v,nt,d,c,tt,k,it,ht));this.bg=c;y.push(c);c.toFront();n.setCN(a,c,"balloon-bg");this.className&&n.setCN(a,c,"balloon-bg-"+this.className);v=1*this.deltaSignX;g+=this.sdx;b+=this.sdy;p.left=g+"px";p.top=b+"px";y.translate(i-v,t,1,!0);c=c.getBBox();this.bottom=t+u+1;this.yPos=c.y+t;et&&et.translate(this.pointToX-i+v,o-t);o=this.animationDuration;0<this.animationDuration&&!ot&&!isNaN(this.prevX)&&(y.translate(this.prevX,this.prevY,NaN,!0),y.animate({translate:i-v+","+t},o,"easeOutSine"),s&&(p.left=this.prevTX+"px",p.top=this.prevTY+"px",this.xAnim=a.animate({node:s},"left",this.prevTX,g,o,"easeOutSine","px"),this.yAnim=a.animate({node:s},"top",this.prevTY,b,o,"easeOutSine","px")));this.prevX=i-v;this.prevY=t;this.prevTX=g;this.prevTY=b}}},fixPrevious:function(){this.rPrevX=this.prevX;this.rPrevY=this.prevY;this.rPrevTX=this.prevTX;this.rPrevTY=this.prevTY},restorePrevious:function(){this.prevX=this.rPrevX;this.prevY=this.rPrevY;this.prevTX=this.rPrevTX;this.prevTY=this.rPrevTY},followMouse:function(){var n,t,i;if(this.follow&&this.show&&(n=this.chart.mouseX-this.offsetX*this.deltaSignX-this.sdx,t=this.chart.mouseY-this.sdy,this.pointToX=n,this.pointToY=t,n!=this.previousX||t!=this.previousY))if(this.previousX=n,this.previousY=t,0===this.cornerRadius)this.draw();else if(i=this.set,i){var r=i.getBBox(),n=n-r.width/2,u=t-r.height-10;n<this.l&&(n=this.l);n>this.r-r.width&&(n=this.r-r.width);u<this.t&&(u=t+10);i.translate(n,u);t=this.textDiv.style;t.left=n+this.horizontalPadding+"px";t.top=u+this.verticalPadding+"px"}},changeColor:function(n){this.balloonColor=n},setBounds:function(n,t,i,r){this.l=n;this.t=t;this.r=i;this.b=r;this.destroyTO&&clearTimeout(this.destroyTO)},showBalloon:function(n){(this.text!=n||this.positionChanged)&&(this.text=n,this.isHiding=!1,this.show=!0,this.destroyTO&&clearTimeout(this.destroyTO),n=this.chart,this.fadeAnim1&&n.stopAnim(this.fadeAnim1),this.fadeAnim2&&n.stopAnim(this.fadeAnim2),this.draw(),this.positionChanged=!1)},hide:function(n){var t=this,r,i;t.text=void 0;isNaN(n)&&(n=t.fadeOutDuration);r=t.chart;0<n&&!t.isHiding?(t.isHiding=!0,t.destroyTO&&clearTimeout(t.destroyTO),t.destroyTO=setTimeout(function(){t.destroy.call(t)},1e3*n),t.follow=!1,t.show=!1,i=t.set,i&&(i.setAttr("opacity",t.fillAlpha),t.fadeAnim1=i.animate({opacity:0},n,"easeInSine")),t.textDiv&&(t.fadeAnim2=r.animate({node:t.textDiv},"opacity",1,0,n,"easeInSine",""))):(t.show=!1,t.follow=!1,t.destroy())},setPosition:function(n,t){(n!=this.pointToX||t!=this.pointToY)&&(this.previousX=this.pointToX,this.previousY=this.pointToY,this.pointToX=n,this.pointToY=t,this.positionChanged=!0)},followCursor:function(n){var t=this,i,r;t.follow=n;clearInterval(t.interval);i=t.chart.mouseX-t.sdx;r=t.chart.mouseY-t.sdy;!isNaN(i)&&n&&(t.pointToX=i-t.offsetX*t.deltaSignX,t.pointToY=r,t.followMouse(),t.interval=setInterval(function(){t.followMouse.call(t)},40))},removeDiv:function(){if(this.textDiv){var n=this.textDiv.parentNode;n&&n.removeChild(this.textDiv)}},destroy:function(){clearInterval(this.interval);n.remove(this.set);this.removeDiv();this.set=null}})}(),function(){var n=window.AmCharts;n.AmCoordinateChart=n.Class({inherits:n.AmChart,construct:function(t){n.AmCoordinateChart.base.construct.call(this,t);this.theme=t;this.createEvents("rollOverGraphItem","rollOutGraphItem","clickGraphItem","doubleClickGraphItem","rightClickGraphItem","clickGraph","rollOverGraph","rollOutGraph");this.startAlpha=1;this.startDuration=0;this.startEffect="elastic";this.sequencedAnimation=!0;this.colors="#FF6600 #FCD202 #B0DE09 #0D8ECF #2A0CD0 #CD0D74 #CC0000 #00CC00 #0000CC #DDDDDD #999999 #333333 #990000".split(" ");this.balloonDateFormat="MMM DD, YYYY";this.valueAxes=[];this.graphs=[];this.guides=[];this.gridAboveGraphs=!1;n.applyTheme(this,t,"AmCoordinateChart")},initChart:function(){n.AmCoordinateChart.base.initChart.call(this);this.drawGraphs=!0;var t=this.categoryAxis;t&&(this.categoryAxis=n.processObject(t,n.CategoryAxis,this.theme));this.processValueAxes();this.createValueAxes();this.processGraphs();this.processGuides();n.VML&&(this.startAlpha=1);this.setLegendData(this.graphs);this.gridAboveGraphs&&(this.gridSet.toFront(),this.bulletSet.toFront(),this.balloonsSet.toFront())},createValueAxes:function(){if(0===this.valueAxes.length){var t=new n.ValueAxis;this.addValueAxis(t)}},parseData:function(){this.processValueAxes();this.processGraphs()},parseSerialData:function(n){var i,t;if(this.chartData=[],n)if(0<this.processTimeout)for(1>this.processCount&&(this.processCount=1),i=n.length/this.processCount,this.parseCount=Math.ceil(i)-1,t=0;t<i;t++)this.delayParseSerialData(n,t);else this.parseCount=0,this.parsePartSerialData(n,0,n.length,0);else this.onDataUpdated()},delayParseSerialData:function(n,t){var i=this,r=i.processCount;setTimeout(function(){i.parsePartSerialData.call(i,n,t*r,(t+1)*r,t)},i.processTimeout)},parsePartSerialData:function(t,i,r,u){var p,nt,e,tt,it,rt,c,ut,ft,ht,et,l,ot,v,f,o,st,w,a,b,h,k,ct,s,d;r>t.length&&(r=t.length);var y=this.graphs,lt={},g=this.seriesIdField;for(g||(g=this.categoryField),p=!1,e=this.categoryAxis,e&&(p=e.parseDates,tt=e.forceShowField,rt=e.classNameField,it=e.labelColorField,nt=e.categoryFunction),ft={},p&&(c=n.extractPeriod(e.minPeriod),ut=c.period,c=c.count,ht=n.getPeriodDuration(ut,c)),et={},this.lookupTable=et,ot=this.dataDateFormat,v={},l=i;l<r;l++)if(f={},o=t[l],i=o[this.categoryField],f.dataContext=o,f.category=nt?nt(i,o,e):String(i),tt&&(f.forceShow=o[tt]),rt&&(f.className=o[rt]),it&&(f.labelColor=o[it]),et[o[g]]=f,!p||(e.categoryFunction?i=e.categoryFunction(i,o,e):(!ot||i instanceof Date||(i=i.toString()+" |"),i=n.getDate(i,ot,e.minPeriod)),i=n.resetDateToMin(i,ut,c,e.firstDayOfWeek),f.category=i,f.time=i.getTime(),!isNaN(f.time))){for(st=this.valueAxes,f.axes={},f.x={},w=0;w<st.length;w++)for(a=st[w].id,f.axes[a]={},f.axes[a].graphs={},b=0;b<y.length;b++)i=y[b],h=i.id,k=1.1,isNaN(i.gapPeriod)||(k=i.gapPeriod),ct=i.periodValue,i.valueAxis.id==a&&(f.axes[a].graphs[h]={},s={},s.index=l,d=o,i.dataProvider&&(d=lt),s.values=this.processValues(d,i,ct),!i.connect&&v&&v[h]&&0<k&&f.time-ft[h]>=ht*k&&(v[h].gap=!0),this.processFields(i,s,d),s.category=f.category,s.serialDataItem=f,s.graph=i,f.axes[a].graphs[h]=s,ft[h]=f.time,v[h]=s);this.chartData[l]=f}if(this.parseCount==u){for(t=0;t<y.length;t++)i=y[t],i.dataProvider&&this.parseGraphData(i);this.dataChanged=!1;this.dispatchDataUpdated=!0;this.onDataUpdated()}},processValues:function(t,i,r){var s={},f,c=!1,h,o,u,e;for("candlestick"!=i.type&&"ohlc"!=i.type||""===r||(c=!0),h="value error open close low high".split(" "),o=0;o<h.length;o++)u=h[o],"value"!=u&&"error"!=u&&c&&(r=u.charAt(0).toUpperCase()+u.slice(1)),e=t[i[u+"Field"]+r],null!==e&&(f=Number(e),isNaN(f)||(s[u]=f),"date"==i.valueAxis.type&&void 0!==e&&(f=n.getDate(e,i.chart.dataDateFormat),s[u]=f.getTime()));return s},parseGraphData:function(n){var e=n.dataProvider,t=n.seriesIdField,r;for(t||(t=this.seriesIdField),t||(t=this.categoryField),r=0;r<e.length;r++){var u=e[r],f=this.lookupTable[String(u[t])],i=n.valueAxis.id;f&&(i=f.axes[i].graphs[n.id],i.serialDataItem=f,i.values=this.processValues(u,n,n.periodValue),this.processFields(n,i,u))}},addValueAxis:function(n){n.chart=this;this.valueAxes.push(n);this.validateData()},removeValueAxesAndGraphs:function(){for(var t=this.valueAxes,n=t.length-1;-1<n;n--)this.removeValueAxis(t[n])},removeValueAxis:function(n){for(var i=this.graphs,r,t=i.length-1;0<=t;t--)r=i[t],r&&r.valueAxis==n&&this.removeGraph(r);for(i=this.valueAxes,t=i.length-1;0<=t;t--)i[t]==n&&i.splice(t,1);this.validateData()},addGraph:function(n){this.graphs.push(n);this.chooseGraphColor(n,this.graphs.length-1);this.validateData()},removeGraph:function(n){for(var i=this.graphs,t=i.length-1;0<=t;t--)i[t]==n&&(i.splice(t,1),n.destroy());this.validateData()},handleValueAxisZoom:function(){},processValueAxes:function(){for(var r=this.valueAxes,t,i=0;i<r.length;i++)t=r[i],t=n.processObject(t,n.ValueAxis,this.theme),r[i]=t,t.chart=this,t.init(),this.listenTo(t,"axisIntZoomed",this.handleValueAxisZoom),t.id||(t.id="valueAxisAuto"+i+"_"+(new Date).getTime()),void 0===t.usePrefixes&&(t.usePrefixes=this.usePrefixes)},processGuides:function(){var u=this.guides,f=this.categoryAxis,r,t,i;if(u)for(r=0;r<u.length;r++)t=u[r],(void 0!==t.category||void 0!==t.date)&&f&&f.addGuide(t),t.id||(t.id="guideAuto"+r+"_"+(new Date).getTime()),i=t.valueAxis,i?(n.isString(i)&&(i=this.getValueAxisById(i)),i?i.addGuide(t):this.valueAxes[0].addGuide(t)):isNaN(t.value)||this.valueAxes[0].addGuide(t)},processGraphs:function(){var r=this.graphs,i,t;for(this.graphsById={},i=0;i<r.length;i++)t=r[i],t=n.processObject(t,n.AmGraph,this.theme),r[i]=t,this.chooseGraphColor(t,i),t.chart=this,t.init(),n.isString(t.valueAxis)&&(t.valueAxis=this.getValueAxisById(t.valueAxis)),t.valueAxis||(t.valueAxis=this.valueAxes[0]),t.id||(t.id="graphAuto"+i+"_"+(new Date).getTime()),this.graphsById[t.id]=t},formatString:function(t,i,r){var f=i.graph,u=f.valueAxis;return u.duration&&i.values.value&&(u=n.formatDuration(i.values.value,u.duration,"",u.durationUnits,u.maxInterval,u.numberFormatter),t=t.split("[[value]]").join(u)),t=n.massReplace(t,{"[[title]]":f.title,"[[description]]":i.description}),t=r?n.fixNewLines(t):n.fixBrakes(t),n.cleanFromEmpty(t)},getBalloonColor:function(t,i,r){var u=t.lineColor,f=t.balloonColor;return r&&(f=u),r=t.fillColorsR,"object"==typeof r?u=r[0]:void 0!==r&&(u=r),i.isNegative&&(r=t.negativeLineColor,t=t.negativeFillColors,"object"==typeof t?r=t[0]:void 0!==t&&(r=t),void 0!==r&&(u=r)),void 0!==i.color&&(u=i.color),void 0!==i.lineColor&&(u=i.lineColor),i=i.fillColors,void 0!==i&&(u=i,n.ifArray(i)&&(u=i[0])),void 0===f&&(f=u),f},getGraphById:function(t){return n.getObjById(this.graphs,t)},getValueAxisById:function(t){return n.getObjById(this.valueAxes,t)},processFields:function(t,i,r){var f,u,o,e;for(t.itemColors&&(f=t.itemColors,u=i.index,i.color=u<f.length?f[u]:n.randomColor()),f="lineColor color alpha fillColors description bullet customBullet bulletSize bulletConfig url labelColor dashLength pattern gap className columnIndex".split(" "),u=0;u<f.length;u++)o=f[u],e=t[o+"Field"],e&&(e=r[e],n.isDefined(e)&&(i[o]=e));i.dataContext=r},chooseGraphColor:function(t,i){if(t.lineColor)t.lineColorR=t.lineColor;else{var r;r=this.colors.length>i?this.colors[i]:t.lineColorR?t.lineColorR:n.randomColor();t.lineColorR=r}t.fillColorsR=t.fillColors?t.fillColors:t.lineColorR;t.bulletBorderColorR=t.bulletBorderColor?t.bulletBorderColor:t.useLineColorForBulletBorder?t.lineColorR:t.bulletColor;t.bulletColorR=t.bulletColor?t.bulletColor:t.lineColorR;(r=this.patterns)&&(t.pattern=r[i])},handleLegendEvent:function(n){var r=n.type,t,i;if(n=n.dataItem){t=n.hidden;i=n.showBalloon;switch(r){case"clickMarker":this.textClickEnabled&&(i?this.hideGraphsBalloon(n):this.showGraphsBalloon(n));break;case"clickLabel":i?this.hideGraphsBalloon(n):this.showGraphsBalloon(n);break;case"rollOverItem":t||this.highlightGraph(n);break;case"rollOutItem":t||this.unhighlightGraph();break;case"hideItem":this.hideGraph(n);break;case"showItem":this.showGraph(n)}}},highlightGraph:function(n){var r=this.graphs,t,i,u;if(r&&(i=.2,this.legend&&(i=this.legend.rollOverGraphAlpha),1!=i))for(t=0;t<r.length;t++)u=r[t],u!=n&&u.changeOpacity(i)},unhighlightGraph:function(){var n,t;if(this.legend&&(n=this.legend.rollOverGraphAlpha),1!=n)for(n=this.graphs,t=0;t<n.length;t++)n[t].changeOpacity(1)},showGraph:function(n){n.switchable&&(n.hidden=!1,this.dataChanged=!0,"xy"!=this.type&&(this.marginsUpdated=!1),this.chartCreated&&this.initChart())},hideGraph:function(n){n.switchable&&(this.dataChanged=!0,"xy"!=this.type&&(this.marginsUpdated=!1),n.hidden=!0,this.chartCreated&&this.initChart())},hideGraphsBalloon:function(n){n.showBalloon=!1;this.updateLegend()},showGraphsBalloon:function(n){n.showBalloon=!0;this.updateLegend()},updateLegend:function(){this.legend&&this.legend.invalidateSize()},resetAnimation:function(){var t=this.graphs,n;if(t)for(n=0;n<t.length;n++)t[n].animationPlayed=!1},animateAgain:function(){this.resetAnimation();this.validateNow()}})}(),function(){var n=window.AmCharts;n.TrendLine=n.Class({construct:function(t){this.cname="TrendLine";this.createEvents("click");this.isProtected=!1;this.dashLength=0;this.lineColor="#00CC00";this.lineThickness=this.lineAlpha=1;n.applyTheme(this,t,this.cname)},draw:function(){var t=this;t.destroy();var o=t.chart,c=o.container,s,h,i,u,e=t.categoryAxis,l=t.initialDate,v=t.initialCategory,a=t.finalDate,f=t.finalCategory,r=t.valueAxis,y=t.valueAxisX,p=t.initialXValue,w=t.finalXValue,b=t.initialValue,k=t.finalValue,d=r.recalculateToPercents,g=o.dataDateFormat;e&&(l&&(l=n.getDate(l,g,"fff"),t.initialDate=l,s=e.dateToCoordinate(l)),v&&(s=e.categoryToCoordinate(v)),a&&(a=n.getDate(a,g,"fff"),t.finalDate=a,h=e.dateToCoordinate(a)),f&&(h=e.categoryToCoordinate(f)));y&&!d&&(isNaN(p)||(s=y.getCoordinate(p)),isNaN(w)||(h=y.getCoordinate(w)));r&&!d&&(isNaN(b)||(i=r.getCoordinate(b)),isNaN(k)||(u=r.getCoordinate(k)));isNaN(s)||isNaN(h)||isNaN(i)||isNaN(i)||(o.rotate?(e=[i,u],u=[s,h]):(e=[s,h],u=[i,u]),l=t.lineColor,i=n.line(c,e,u,l,t.lineAlpha,t.lineThickness,t.dashLength),s=e,h=u,f=e[1]-e[0],r=u[1]-u[0],0===f&&(f=.01),0===r&&(r=.01),v=f/Math.abs(f),a=r/Math.abs(r),r=Math.PI/2-Math.asin(f/(f*r/Math.abs(f*r)*Math.sqrt(Math.pow(f,2)+Math.pow(r,2)))),f=Math.abs(5*Math.cos(r)),r=Math.abs(5*Math.sin(r)),s.push(e[1]-v*r,e[0]-v*r),h.push(u[1]+a*f,u[0]+a*f),u=n.polygon(c,s,h,l,.005,0),c=c.set([u,i]),c.translate(o.marginLeftReal,o.marginTopReal),o.trendLinesSet.push(c),n.setCN(o,i,"trend-line"),n.setCN(o,i,"trend-line-"+t.id),t.line=i,t.set=c,(i=t.initialImage)&&(i=n.processObject(i,n.Image,t.theme),i.chart=o,i.draw(),i.translate(s[0]+i.offsetX,h[0]+i.offsetY),c.push(i.set)),(i=t.finalImage)&&(i=n.processObject(i,n.Image,t.theme),i.chart=o,i.draw(),i.translate(s[1]+i.offsetX,h[1]+i.offsetY),c.push(i.set)),u.mouseup(function(){t.handleLineClick()}).mouseover(function(){t.handleLineOver()}).mouseout(function(){t.handleLineOut()}),u.touchend&&u.touchend(function(){t.handleLineClick()}),c.clipRect(0,0,o.plotAreaWidth,o.plotAreaHeight))},handleLineClick:function(){this.fire({type:"click",trendLine:this,chart:this.chart})},handleLineOver:function(){var n=this.rollOverColor;void 0!==n&&this.line.attr({stroke:n});this.balloonText&&(clearTimeout(this.chart.hoverInt),n=this.line.getBBox(),this.chart.showBalloon(this.balloonText,this.lineColor,!0,this.x+n.x+n.width/2,this.y+n.y+n.height/2))},handleLineOut:function(){this.line.attr({stroke:this.lineColor});this.balloonText&&this.chart.hideBalloon()},destroy:function(){n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.Image=n.Class({construct:function(t){this.cname="Image";this.height=this.width=20;this.rotation=this.offsetY=this.offsetX=0;this.balloonColor=this.color="#000000";this.opacity=1;n.applyTheme(this,t,this.cname)},draw:function(){var n=this,i,t,r;n.set&&n.set.remove();i=n.chart.container;n.set=i.set();n.url?(t=i.image(n.url,0,0,n.width,n.height),r=1):n.svgPath&&(t=i.path(n.svgPath),t.setAttr("fill",n.color),t.setAttr("stroke",n.outlineColor),i=t.getBBox(),r=Math.min(n.width/i.width,n.height/i.height));t&&(t.setAttr("opacity",n.opacity),n.set.rotate(n.rotation),t.translate(-n.width/2,-n.height/2,r),n.balloonText&&t.mouseover(function(){n.chart.showBalloon(n.balloonText,n.balloonColor,!0)}).mouseout(function(){n.chart.hideBalloon()}).touchend(function(){n.chart.hideBalloon()}).touchstart(function(){n.chart.showBalloon(n.balloonText,n.balloonColor,!0)}),n.set.push(t))},translate:function(n,t){this.set&&this.set.translate(n,t)}})}(),function(){var n=window.AmCharts;n.circle=function(t,i,r,u,f,e,o,s,h){return 0>=i&&(i=.001),(void 0==f||0===f)&&(f=.01),void 0===e&&(e="#000000"),void 0===o&&(o=0),u={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o},t=isNaN(h)?t.circle(0,0,i).attr(u):t.ellipse(0,0,i,h).attr(u),s&&t.gradient("radialGradient",[r,n.adjustLuminosity(r,-.6)]),t};n.text=function(t,i,r,u,f,e,o,s){return e||(e="middle"),"right"==e&&(e="end"),"left"==e&&(e="start"),isNaN(s)&&(s=1),void 0!==i&&(i=String(i),n.isIE&&!n.isModern&&(i=i.replace("&amp;","&"),i=i.replace("&","&amp;"))),r={fill:r,"font-family":u,"font-size":f+"px",opacity:s},!0===o&&(r["font-weight"]="bold"),r["text-anchor"]=e,t.text(i,r)};n.polygon=function(t,i,r,u,f,e,o,s,h,c,l){var v,y,a;for(isNaN(e)&&(e=.01),isNaN(s)&&(s=f),v=u,y=!1,"object"==typeof v&&1<v.length&&(y=!0,v=v[0]),void 0===o&&(o=v),f={fill:v,stroke:o,"fill-opacity":f,"stroke-width":e,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),l=n.dx,e=n.dy,t.handDrawn&&(r=n.makeHD(i,r,t.handDrawScatter),i=r[0],r=r[1]),o=Math.round,c&&(i[a]=n.roundTo(i[a],5),r[a]=n.roundTo(r[a],5),o=Number),s="M"+(o(i[0])+l)+","+(o(r[0])+e),a=1;a<i.length;a++)c&&(i[a]=n.roundTo(i[a],5),r[a]=n.roundTo(r[a],5)),s+=" L"+(o(i[a])+l)+","+(o(r[a])+e);return t=t.path(s+" Z").attr(f),y&&t.gradient("linearGradient",u,h),t};n.rect=function(t,i,r,u,f,e,o,s,h,c,l){var a,p,v,y;return isNaN(i)||isNaN(r)?t.set():(isNaN(e)&&(e=0),void 0===h&&(h=0),void 0===c&&(c=270),isNaN(f)&&(f=0),a=u,p=!1,"object"==typeof a&&(a=a[0],p=!0),void 0===o&&(o=a),void 0===s&&(s=f),i=Math.round(i),r=Math.round(r),v=0,y=0,0>i&&(i=Math.abs(i),v=-i),0>r&&(r=Math.abs(r),y=-r),v+=n.dx,y+=n.dy,f={fill:a,stroke:o,"fill-opacity":f,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),t=t.rect(v,y,i,r,h,e).attr(f),p&&t.gradient("linearGradient",u,c),t)};n.bullet=function(t,i,r,u,f,e,o,s,h,c,l,a,v){var y;"circle"==i&&(i="round");switch(i){case"round":y=n.circle(t,r/2,u,f,e,o,s);break;case"square":y=n.polygon(t,[-r/2,r/2,r/2,-r/2],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"rectangle":y=n.polygon(t,[-r,r,r,-r],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"diamond":y=n.polygon(t,[-r/2,0,r/2,0],[0,-r/2,0,r/2],u,f,e,o,s);break;case"triangleUp":y=n.triangle(t,r,0,u,f,e,o,s);break;case"triangleDown":y=n.triangle(t,r,180,u,f,e,o,s);break;case"triangleLeft":y=n.triangle(t,r,270,u,f,e,o,s);break;case"triangleRight":y=n.triangle(t,r,90,u,f,e,o,s);break;case"bubble":y=n.circle(t,r/2,u,f,e,o,s,!0);break;case"line":y=n.line(t,[-r/2,r/2],[0,0],u,f,e,o,s);break;case"yError":y=t.set();y.push(n.line(t,[0,0],[-r/2,r/2],u,f,e));y.push(n.line(t,[-h,h],[-r/2,-r/2],u,f,e));y.push(n.line(t,[-h,h],[r/2,r/2],u,f,e));break;case"xError":y=t.set();y.push(n.line(t,[-r/2,r/2],[0,0],u,f,e));y.push(n.line(t,[-r/2,-r/2],[-h,h],u,f,e));y.push(n.line(t,[r/2,r/2],[-h,h],u,f,e))}return y&&y.pattern(l,NaN,a),y};n.triangle=function(n,t,i,r,u,f,e,o){(void 0===f||0===f)&&(f=1);void 0===e&&(e="#000");void 0===o&&(o=0);r={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o};t/=2;var s;return 0===i&&(s=" M"+-t+","+t+" L0,"+-t+" L"+t+","+t+" Z"),180==i&&(s=" M"+-t+","+-t+" L0,"+t+" L"+t+","+-t+" Z"),90==i&&(s=" M"+-t+","+-t+" L"+t+",0 L"+-t+","+t+" Z"),270==i&&(s=" M"+-t+",0 L"+t+","+t+" L"+t+","+-t+" Z"),n.path(s).attr(r)};n.line=function(t,i,r,u,f,e,o,s,h,c,l){if(t.handDrawn&&!l)return n.handDrawnLine(t,i,r,u,f,e,o,s,h,c,l);for(e={fill:"none","stroke-width":e},void 0!==o&&0<o&&(e["stroke-dasharray"]=o),isNaN(f)||(e["stroke-opacity"]=f),u&&(e.stroke=u),u=Math.round,c&&(u=Number,i[0]=n.roundTo(i[0],5),r[0]=n.roundTo(r[0],5)),c=n.dx,f=n.dy,o="M"+(u(i[0])+c)+","+(u(r[0])+f),s=1;s<i.length;s++)i[s]=n.roundTo(i[s],5),r[s]=n.roundTo(r[s],5),o+=" L"+(u(i[s])+c)+","+(u(r[s])+f);return n.VML?t.path(o,void 0,!0).attr(e):(h&&(o+=" M0,0 L0,0"),t.path(o).attr(e))};n.makeHD=function(n,t,i){for(var a,c=[],l=[],r=1;r<n.length;r++)for(var f=Number(n[r-1]),e=Number(t[r-1]),o=Number(n[r]),s=Number(t[r]),h=Math.round(Math.sqrt(Math.pow(o-f,2)+Math.pow(s-e,2))/50)+1,o=(o-f)/h,s=(s-e)/h,u=0;u<=h;u++)a=e+u*s+Math.random()*i,c.push(f+u*o+Math.random()*i),l.push(a);return[c,l]};n.handDrawnLine=function(t,i,r,u,f,e,o,s,h,c){for(var p=t.set(),l=1;l<i.length;l++)for(var y=[i[l-1],i[l]],v=[r[l-1],r[l]],v=n.makeHD(y,v,t.handDrawScatter),y=v[0],v=v[1],a=1;a<y.length;a++)p.push(n.line(t,[y[a-1],y[a]],[v[a-1],v[a]],u,f,e+Math.random()*t.handDrawThickness-t.handDrawThickness/2,o,s,h,c,!0));return p};n.doNothing=function(n){return n};n.drop=function(n,t,i,r,u,f,e,o){var s=1/180*Math.PI,h=i-20,v=Math.sin(h*s)*t,y=Math.cos(h*s)*t,p=Math.sin((h+40)*s)*t,w=Math.cos((h+40)*s)*t,a=.8*t,c=-t/3,l=t/3;return 0===i&&(c=-c,l=0),180==i&&(l=0),90==i&&(c=0),270==i&&(c=0,l=-l),i={fill:r,stroke:e,"stroke-width":f,"stroke-opacity":o,"fill-opacity":u},t="M"+v+","+y+" A"+t+","+t+",0,1,1,"+p+","+w+(" A"+a+","+a+",0,0,0,"+(Math.sin((h+20)*s)*t+l)+","+(Math.cos((h+20)*s)*t+c)),t+=" A"+a+","+a+",0,0,0,"+v+","+y,n.path(t,void 0,void 0,"1000,1000").attr(i)};n.wedge=function(t,i,r,u,f,e,o,s,h,c,l,a,v,y){var p=Math.round,st,ut,ct,ht,lt;e=p(e);o=p(o);s=p(s);var k=p(o/e*s),et=n.VML,b=359.5+e/100;359.94<b&&(b=359.94);f>=b&&(f=b);var w=1/180*Math.PI,b=i+Math.sin(u*w)*s,d=r-Math.cos(u*w)*k,g=i+Math.sin(u*w)*e,nt=r-Math.cos(u*w)*o,tt=i+Math.sin((u+f)*w)*e,it=r-Math.cos((u+f)*w)*o,rt=i+Math.sin((u+f)*w)*s,w=r-Math.cos((u+f)*w)*k,ft={fill:n.adjustLuminosity(c.fill,-.2),"stroke-opacity":0,"fill-opacity":c["fill-opacity"]},ot=0;if(180<Math.abs(f)&&(ot=1),u=t.set(),et&&(b=p(10*b),g=p(10*g),tt=p(10*tt),rt=p(10*rt),d=p(10*d),nt=p(10*nt),it=p(10*it),w=p(10*w),i=p(10*i),h=p(10*h),r=p(10*r),e*=10,o*=10,s*=10,k*=10,1>Math.abs(f)&&1>=Math.abs(tt-g)&&1>=Math.abs(it-nt)&&(st=!0)),f="",a&&(ft["fill-opacity"]=0,ft["stroke-opacity"]=c["stroke-opacity"]/2,ft.stroke=c.stroke),0<h){for(ut=" M"+b+","+(d+h)+" L"+g+","+(nt+h),et?(st||(ut+=" A"+(i-e)+","+(h+r-o)+","+(i+e)+","+(h+r+o)+","+g+","+(nt+h)+","+tt+","+(it+h)),ut+=" L"+rt+","+(w+h),0<s&&(st||(ut+=" B"+(i-s)+","+(h+r-k)+","+(i+s)+","+(h+r+k)+","+rt+","+(h+w)+","+b+","+(h+d)))):(ut+=" A"+e+","+o+",0,"+ot+",1,"+tt+","+(it+h)+" L"+rt+","+(w+h),0<s&&(ut+=" A"+s+","+k+",0,"+ot+",0,"+b+","+(d+h))),ut+=" Z",ct=h,et&&(ct/=10),ht=0;ht<ct;ht+=10)lt=t.path(ut,void 0,void 0,"1000,1000").attr(ft),u.push(lt),lt.translate(0,-ht);ut=t.path(" M"+b+","+d+" L"+b+","+(d+h)+" L"+g+","+(nt+h)+" L"+g+","+nt+" L"+b+","+d+" Z",void 0,void 0,"1000,1000").attr(ft);h=t.path(" M"+tt+","+it+" L"+tt+","+(it+h)+" L"+rt+","+(w+h)+" L"+rt+","+w+" L"+tt+","+it+" Z",void 0,void 0,"1000,1000").attr(ft);u.push(ut);u.push(h)}if(et?(st||(f=" A"+p(i-e)+","+p(r-o)+","+p(i+e)+","+p(r+o)+","+p(g)+","+p(nt)+","+p(tt)+","+p(it)),o=" M"+p(b)+","+p(d)+" L"+p(g)+","+p(nt)+f+" L"+p(rt)+","+p(w)):o=" M"+b+","+d+" L"+g+","+nt+(" A"+e+","+o+",0,"+ot+",1,"+tt+","+it)+" L"+rt+","+w,0<s&&(et?st||(o+=" B"+(i-s)+","+(r-k)+","+(i+s)+","+(r+k)+","+rt+","+w+","+b+","+d):o+=" A"+s+","+k+",0,"+ot+",0,"+b+","+d),t.handDrawn&&(s=n.line(t,[b,g],[d,nt],c.stroke,c.thickness*Math.random()*t.handDrawThickness,c["stroke-opacity"]),u.push(s)),t=t.path(o+" Z",void 0,void 0,"1000,1000").attr(c),l){for(s=[],k=0;k<l.length;k++)s.push(n.adjustLuminosity(c.fill,l[k]));"radial"!=y||n.isModern||(s=[]);0<s.length&&t.gradient(y+"Gradient",s)}return n.isModern&&"radial"==y&&t.grad&&(t.grad.setAttribute("gradientUnits","userSpaceOnUse"),t.grad.setAttribute("r",e),t.grad.setAttribute("cx",i),t.grad.setAttribute("cy",r)),t.pattern(a,NaN,v),u.wedge=t,u.push(t),u};n.rgb2hex=function(n){return(n=n.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===n.length?"#"+("0"+parseInt(n[1],10).toString(16)).slice(-2)+("0"+parseInt(n[2],10).toString(16)).slice(-2)+("0"+parseInt(n[3],10).toString(16)).slice(-2):""};n.adjustLuminosity=function(t,i){t&&-1!=t.indexOf("rgb")&&(t=n.rgb2hex(t));t=String(t).replace(/[^0-9a-f]/gi,"");6>t.length&&(t=String(t[0])+String(t[0])+String(t[1])+String(t[1])+String(t[2])+String(t[2]));i=i||0;for(var f="#",r,u=0;3>u;u++)r=parseInt(t.substr(2*u,2),16),r=Math.round(Math.min(Math.max(0,r+r*i),255)).toString(16),f+=("00"+r).substr(r.length);return f}}(),function(){var n=window.AmCharts;n.Bezier=n.Class({construct:function(t,i,r,u,f,e,o,s,h,c,l){var a,v;for("object"==typeof o&&1<o.length&&(v=!0,a=o,o=o[0]),"object"==typeof s&&(s=s[0]),0===s&&(o="none"),e={fill:o,"fill-opacity":s,"stroke-width":e},void 0!==h&&0<h&&(e["stroke-dasharray"]=h),isNaN(f)||(e["stroke-opacity"]=f),u&&(e.stroke=u),u="M"+Math.round(i[0])+","+Math.round(r[0]),f=[],h=0;h<i.length;h++)f.push({x:Number(i[h]),y:Number(r[h])});1<f.length&&(i=this.interpolate(f),u+=this.drawBeziers(i));c?u+=c:n.VML||(u+="M0,0 L0,0");this.path=t.path(u).attr(e);this.node=this.path.node;v&&this.path.gradient("linearGradient",a,l)},interpolate:function(t){var f=[],o;f.push({x:t[0].x,y:t[0].y});var e=t[1].x-t[0].x,r=t[1].y-t[0].y,s=n.bezierX,h=n.bezierY;for(f.push({x:t[0].x+e/s,y:t[0].y+r/h}),o=1;o<t.length-1;o++){var u=t[o-1],i=t[o],r=t[o+1];isNaN(r.x)&&(r=i);isNaN(i.x)&&(i=u);isNaN(u.x)&&(u=i);e=r.x-i.x;r=r.y-u.y;u=i.x-u.x;u>e&&(u=e);f.push({x:i.x-u/s,y:i.y-r/h});f.push({x:i.x,y:i.y});f.push({x:i.x+u/s,y:i.y+r/h})}return r=t[t.length-1].y-t[t.length-2].y,e=t[t.length-1].x-t[t.length-2].x,f.push({x:t[t.length-1].x-e/s,y:t[t.length-1].y-r/h}),f.push({x:t[t.length-1].x,y:t[t.length-1].y}),f},drawBeziers:function(n){for(var i="",t=0;t<(n.length-1)/3;t++)i+=this.drawBezierMidpoint(n[3*t],n[3*t+1],n[3*t+2],n[3*t+3]);return i},drawBezierMidpoint:function(n,t,i,r){var u=Math.round,e=this.getPointOnSegment(n,t,.75),o=this.getPointOnSegment(r,i,.75),s=(r.x-n.x)/16,h=(r.y-n.y)/16,f=this.getPointOnSegment(n,t,.375);return n=this.getPointOnSegment(e,o,.375),n.x-=s,n.y-=h,t=this.getPointOnSegment(o,e,.375),t.x+=s,t.y+=h,i=this.getPointOnSegment(r,i,.375),s=this.getMiddle(f,n),e=this.getMiddle(e,o),o=this.getMiddle(t,i),f=" Q"+u(f.x)+","+u(f.y)+","+u(s.x)+","+u(s.y),f+=" Q"+u(n.x)+","+u(n.y)+","+u(e.x)+","+u(e.y),f+=" Q"+u(t.x)+","+u(t.y)+","+u(o.x)+","+u(o.y),f+(" Q"+u(i.x)+","+u(i.y)+","+u(r.x)+","+u(r.y))},getMiddle:function(n,t){return{x:(n.x+t.x)/2,y:(n.y+t.y)/2}},getPointOnSegment:function(n,t,i){return{x:n.x+(t.x-n.x)*i,y:n.y+(t.y-n.y)*i}}})}(),function(){var n=window.AmCharts;n.AmDraw=n.Class({construct:function(t,i,r,u){n.SVG_NS="http://www.w3.org/2000/svg";n.SVG_XLINK="http://www.w3.org/1999/xlink";n.hasSVG=!!document.createElementNS&&!!document.createElementNS(n.SVG_NS,"svg").createSVGRect;1>i&&(i=10);1>r&&(r=10);this.div=t;this.width=i;this.height=r;this.rBin=document.createElement("div");n.hasSVG?(n.SVG=!0,i=this.createSvgElement("svg"),t.appendChild(i),this.container=i,this.addDefs(u),this.R=new n.SVGRenderer(this)):n.isIE&&n.VMLRenderer&&(n.VML=!0,n.vmlStyleSheet||(document.namespaces.add("amvml","urn:schemas-microsoft-com:vml"),31>document.styleSheets.length?(i=document.createStyleSheet(),i.addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true"),n.vmlStyleSheet=i):document.styleSheets[0].addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true")),this.container=t,this.R=new n.VMLRenderer(this,u),this.R.disableSelection(t))},createSvgElement:function(t){return document.createElementNS(n.SVG_NS,t)},circle:function(t,i,r,u){var f=new n.AmDObject("circle",this);return f.attr({r:r,cx:t,cy:i}),this.addToContainer(f.node,u),f},ellipse:function(t,i,r,u,f){var e=new n.AmDObject("ellipse",this);return e.attr({rx:r,ry:u,cx:t,cy:i}),this.addToContainer(e.node,f),e},setSize:function(n,t){0<n&&0<t&&(this.container.style.width=n+"px",this.container.style.height=t+"px")},rect:function(t,i,r,u,f,e,o){var s=new n.AmDObject("rect",this);return n.VML&&(f=Math.round(100*f/Math.min(r,u)),r+=2*e,u+=2*e,s.bw=e,s.node.style.marginLeft=-e,s.node.style.marginTop=-e),1>r&&(r=1),1>u&&(u=1),s.attr({x:t,y:i,width:r,height:u,rx:f,ry:f,"stroke-width":e}),this.addToContainer(s.node,o),s},image:function(t,i,r,u,f,e){var o=new n.AmDObject("image",this);return o.attr({x:i,y:r,width:u,height:f}),this.R.path(o,t),this.addToContainer(o.node,e),o},addToContainer:function(n,t){t||(t=this.container);t.appendChild(n)},text:function(n,t,i){return this.R.text(n,t,i)},path:function(t,i,r,u){var f=new n.AmDObject("path",this);return u||(u="100,100"),f.attr({cs:u}),r?f.attr({dd:t}):f.attr({d:t}),this.addToContainer(f.node,i),f},set:function(n){return this.R.set(n)},remove:function(n){if(n){var t=this.rBin;t.appendChild(n);t.innerHTML=""}},renderFix:function(){var i=this.container,n=i.style;n.top="0px";n.left="0px";try{var t=i.getBoundingClientRect(),r=t.left-Math.round(t.left),u=t.top-Math.round(t.top);r&&(n.left=r+"px");u&&(n.top=u+"px")}catch(f){}},update:function(){this.R.update()},addDefs:function(t){var r,i,u;n.hasSVG&&(r=this.createSvgElement("desc"),i=this.container,i.setAttribute("version","1.1"),i.style.position="absolute",this.setSize(this.width,this.height),t.accessibleTitle&&(u=this.createSvgElement("text"),i.appendChild(u),u.innerHTML=t.accessibleTitle,u.style.opacity=0),n.rtl&&(i.setAttribute("direction","rtl"),i.style.left="auto",i.style.right="0px"),t&&(t.addCodeCredits&&r.appendChild(document.createTextNode("JavaScript chart by amCharts "+t.version)),i.appendChild(r),t.defs&&(r=this.createSvgElement("defs"),i.appendChild(r),n.parseDefs(t.defs,r),this.defs=r)))}})}(),function(){var n=window.AmCharts;n.AmDObject=n.Class({construct:function(n,t){this.D=t;this.R=t.R;this.node=this.R.create(this,n);this.y=this.x=0;this.scale=1},attr:function(n){return this.R.attr(this,n),this},getAttr:function(n){return this.node.getAttribute(n)},setAttr:function(n,t){return this.R.setAttr(this,n,t),this},clipRect:function(n,t,i,r){this.R.clipRect(this,n,t,i,r)},translate:function(n,t,i,r){r||(n=Math.round(n),t=Math.round(t));this.R.move(this,n,t,i);this.x=n;this.y=t;this.scale=i;this.angle&&this.rotate(this.angle)},rotate:function(n,t){this.R.rotate(this,n,t);this.angle=n},animate:function(t,i,r){var u,f,e;for(u in t)t.hasOwnProperty(u)&&(f=u,e=t[u],r=n.getEffect(r),this.R.animate(this,f,e,i,r))},push:function(n){var t,i;n&&(t=this.node,t.appendChild(n.node),i=n.clipPath,i&&t.appendChild(i),(n=n.grad)&&t.appendChild(n))},text:function(n){this.R.setText(this,n)},remove:function(){this.stop();this.R.remove(this)},clear:function(){var n=this.node;if(n.hasChildNodes())for(;1<=n.childNodes.length;)n.removeChild(n.firstChild)},hide:function(){this.setAttr("visibility","hidden")},show:function(){this.setAttr("visibility","visible")},getBBox:function(){return this.R.getBBox(this)},toFront:function(){var n=this.node,t;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&t.appendChild(n))},toPrevious:function(){var n=this.node;n&&this.prevNextNode&&(n=n.parentNode)&&n.insertBefore(this.prevNextNode,null)},toBack:function(){var n=this.node,t,i;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&(i=t.firstChild,i&&t.insertBefore(n,i)))},mouseover:function(n){return this.R.addListener(this,"mouseover",n),this},mouseout:function(n){return this.R.addListener(this,"mouseout",n),this},click:function(n){return this.R.addListener(this,"click",n),this},dblclick:function(n){return this.R.addListener(this,"dblclick",n),this},mousedown:function(n){return this.R.addListener(this,"mousedown",n),this},mouseup:function(n){return this.R.addListener(this,"mouseup",n),this},touchmove:function(n){return this.R.addListener(this,"touchmove",n),this},touchstart:function(n){return this.R.addListener(this,"touchstart",n),this},touchend:function(n){return this.R.addListener(this,"touchend",n),this},keyup:function(n){return this.R.addListener(this,"keyup",n),this},focus:function(n){return this.R.addListener(this,"focus",n),this},blur:function(n){return this.R.addListener(this,"blur",n),this},contextmenu:function(n){return this.node.addEventListener?this.node.addEventListener("contextmenu",n,!0):this.R.addListener(this,"contextmenu",n),this},stop:function(){n.removeFromArray(this.R.animations,this.an_translate);n.removeFromArray(this.R.animations,this.an_y);n.removeFromArray(this.R.animations,this.an_x)},length:function(){return this.node.childNodes.length},gradient:function(n,t,i){this.R.gradient(this,n,t,i)},pattern:function(n,t,i){n&&this.R.pattern(this,n,t,i)}})}(),function(){var n=window.AmCharts;n.VMLRenderer=n.Class({construct:function(n,t){this.chart=t;this.D=n;this.cNames={circle:"oval",ellipse:"oval",rect:"roundrect",path:"shape"};this.styleMap={x:"left",y:"top",width:"width",height:"height","font-family":"fontFamily","font-size":"fontSize",visibility:"visibility"}},create:function(n,t){var i,r,u;return"group"==t?(i=document.createElement("div"),n.type="div"):"text"==t?(i=document.createElement("div"),n.type="text"):"image"==t?(i=document.createElement("img"),n.type="image"):(n.type="shape",n.shapeType=this.cNames[t],i=document.createElement("amvml:"+this.cNames[t]),r=document.createElement("amvml:stroke"),i.appendChild(r),n.stroke=r,u=document.createElement("amvml:fill"),i.appendChild(u),n.fill=u,u.className="amvml",r.className="amvml",i.className="amvml"),i.style.position="absolute",i.style.top=0,i.style.left=0,i},path:function(n,t){n.node.setAttribute("src",t)},setAttr:function(t,i,r){var o,e;if(void 0!==r){8===document.documentMode&&(o=!0);var s=t.node,f=t.type,u=s.style;if("r"==i&&(u.width=2*r,u.height=2*r),"oval"==t.shapeType&&("rx"==i&&(u.width=2*r),"ry"==i&&(u.height=2*r)),"roundrect"==t.shapeType&&("width"!=i&&"height"!=i||--r),"cursor"==i&&(u.cursor=r),"cx"==i&&(u.left=r-n.removePx(u.width)/2),"cy"==i&&(u.top=r-n.removePx(u.height)/2),e=this.styleMap[i],"width"==e&&0>r&&(r=0),void 0!==e&&(u[e]=r),"text"==f&&("text-anchor"==i&&(t.anchor=r,e=s.clientWidth,"end"==r&&(u.marginLeft=-e+"px"),"middle"==r&&(u.marginLeft=-(e/2)+"px",u.textAlign="center"),"start"==r&&(u.marginLeft="0px")),"fill"==i&&(u.color=r),"font-weight"==i&&(u.fontWeight=r)),u=t.children)for(e=0;e<u.length;e++)u[e].setAttr(i,r);"shape"==f&&("cs"==i&&(s.style.width="100px",s.style.height="100px",s.setAttribute("coordsize",r)),"d"==i&&s.setAttribute("path",this.svgPathToVml(r)),"dd"==i&&s.setAttribute("path",r),f=t.stroke,t=t.fill,"stroke"==i&&(o?f.color=r:f.setAttribute("color",r)),"stroke-width"==i&&(o?f.weight=r:f.setAttribute("weight",r)),"stroke-opacity"==i&&(o?f.opacity=r:f.setAttribute("opacity",r)),"stroke-dasharray"==i&&(u="solid",0<r&&3>r&&(u="dot"),3<=r&&6>=r&&(u="dash"),6<r&&(u="longdash"),o?f.dashstyle=u:f.setAttribute("dashstyle",u)),("fill-opacity"==i||"opacity"==i)&&(0===r?o?t.on=!1:t.setAttribute("on",!1):o?t.opacity=r:t.setAttribute("opacity",r)),"fill"==i&&(o?t.color=r:t.setAttribute("color",r)),"rx"==i&&(o?s.arcSize=r+"%":s.setAttribute("arcsize",r+"%")))}},attr:function(n,t){for(var i in t)t.hasOwnProperty(i)&&this.setAttr(n,i,t[i])},text:function(t,i,r){var u=new n.AmDObject("text",this.D),f=u.node;return f.style.whiteSpace="pre",f.innerHTML=t,this.D.addToContainer(f,r),this.attr(u,i),u},getBBox:function(n){return this.getBox(n.node)},getBox:function(n){var h=n.offsetLeft,c=n.offsetTop,o=n.offsetWidth,s=n.offsetHeight,i,r,u,e,t,f;if(n.hasChildNodes()){for(e=0;e<n.childNodes.length;e++)i=this.getBox(n.childNodes[e]),t=i.x,isNaN(t)||(isNaN(r)?r=t:t<r&&(r=t)),f=i.y,isNaN(f)||(isNaN(u)?u=f:f<u&&(u=f)),t=i.width+t,isNaN(t)||(o=Math.max(o,t)),i=i.height+f,isNaN(i)||(s=Math.max(s,i));0>r&&(h+=r);0>u&&(c+=u)}return{x:h,y:c,width:o,height:s}},setText:function(n,t){var i=n.node;i&&(i.innerHTML=t);this.setAttr(n,"text-anchor",n.anchor)},addListener:function(n,t,i){n.node["on"+t]=i},move:function(t,i,r){var u=t.node,f=u.style;"text"==t.type&&(r-=n.removePx(f.fontSize)/2-1);"oval"==t.shapeType&&(i-=n.removePx(f.width)/2,r-=n.removePx(f.height)/2);t=t.bw;isNaN(t)||(i-=t,r-=t);isNaN(i)||isNaN(r)||(u.style.left=i+"px",u.style.top=r+"px")},svgPathToVml:function(n){var l=n.split(" "),r,t,e;for(n="",t=Math.round,e=0;e<l.length;e++){var f=l[e],u=f.substring(0,1),f=f.substring(1),i=f.split(","),o=t(i[0])+","+t(i[1]);if("M"==u&&(n+=" m "+o),"L"==u&&(n+=" l "+o),"Z"==u&&(n+=" x e"),"Q"==u){var a=r.length,c=r[a-1],s=i[0],h=i[1],o=i[2],v=i[3];r=t(r[a-2]/3+2/3*s);c=t(c/3+2/3*h);s=t(2/3*s+o/3);h=t(2/3*h+v/3);n+=" c "+r+","+c+","+s+","+h+","+o+","+v}"A"==u&&(n+=" wa "+f);"B"==u&&(n+=" at "+f);r=i}return n},animate:function(n,t,i,r,u){var f=n.node,e=this.chart,o;n.animationFinished=!1;"translate"==t&&(t=i.split(","),i=t[1],o=f.offsetTop,e.animate(n,"left",f.offsetLeft,t[0],r,u,"px"),e.animate(n,"top",o,i,r,u,"px"))},clipRect:function(n,t,i,r,u){n=n.node;0===t&&0===i?(n.style.width=r+"px",n.style.height=u+"px",n.style.overflow="hidden"):n.style.clip="rect("+i+"px "+(t+r)+"px "+(i+u)+"px "+t+"px)"},rotate:function(t,i,r){var u;if(0!==Number(i)){u=t.node;t=u.style;r||(r=this.getBGColor(u.parentNode));t.backgroundColor=r;t.paddingLeft=1;r=i*Math.PI/180;var e=Math.cos(r),o=Math.sin(r),s=n.removePx(t.left),h=n.removePx(t.top),f=u.offsetWidth,u=u.offsetHeight;i/=Math.abs(i);t.left=s+f/2-f/2*Math.cos(r)-i*u/2*Math.sin(r)+3;t.top=h-i*f/2*Math.sin(r)+i*u/2*Math.sin(r);t.cssText=t.cssText+"; filter:progid:DXImageTransform.Microsoft.Matrix(M11='"+e+"', M12='"+-o+"', M21='"+o+"', M22='"+e+"', sizingmethod='auto expand');"}},getBGColor:function(n){var t="#FFFFFF",i;return n.style&&(i=n.style.backgroundColor,""!==i?t=i:n.parentNode&&(t=this.getBGColor(n.parentNode))),t},set:function(t){var r=new n.AmDObject("group",this.D),i;if(this.D.container.appendChild(r.node),t)for(i=0;i<t.length;i++)r.push(t[i]);return r},gradient:function(n,t,i,r){var f="",u;for("radialGradient"==t&&(t="gradientradial",i.reverse()),"linearGradient"==t&&(t="gradient"),u=0;u<i.length;u++)f+=Math.round(100*u/(i.length-1))+"% "+i[u],u<i.length-1&&(f+=",");n=n.fill;90==r?r=0:270==r?r=180:180==r?r=90:0===r&&(r=270);8===document.documentMode?(n.type=t,n.angle=r):(n.setAttribute("type",t),n.setAttribute("angle",r));f&&(n.colors.value=f)},remove:function(n){n.clipPath&&this.D.remove(n.clipPath);this.D.remove(n.node)},disableSelection:function(n){n.onselectstart=function(){return!1};n.style.cursor="default"},pattern:function(t,i,r,u){r=t.node;t=t.fill;var f="none";i.color&&(f=i.color);r.fillColor=f;i=i.url;n.isAbsolute(i)||(i=u+i);8===document.documentMode?(t.type="tile",t.src=i):(t.setAttribute("type","tile"),t.setAttribute("src",i))},update:function(){}})}(),function(){var n=window.AmCharts;n.SVGRenderer=n.Class({construct:function(n){this.D=n;this.animations=[]},create:function(t,i){return document.createElementNS(n.SVG_NS,i)},attr:function(n,t){for(var i in t)t.hasOwnProperty(i)&&this.setAttr(n,i,t[i])},setAttr:function(n,t,i){void 0!==i&&n.node.setAttribute(t,i)},animate:function(t,i,r,u,f){t.animationFinished=!1;var e=t.node;t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]);"translate"==i?(e=(e=e.getAttribute("transform"))?String(e).substring(10,e.length-1):"0,0",e=e.split(", ").join(" "),e=e.split(" ").join(","),0===e&&(e="0,0")):e=Number(e.getAttribute(i));r={obj:t,frame:0,attribute:i,from:e,to:r,time:u,effect:f};this.animations.push(r);t["an_"+i]=r},update:function(){for(var c=this.animations,e=c.length-1;0<=e;e--){var t=c[e],o=t.time*n.updateRate,s=t.frame+1,h=t.obj,f=t.attribute,r,i,u;if(s<=o){if(t.frame++,"translate"==f){if(r=t.from.split(","),f=Number(r[0]),r=Number(r[1]),isNaN(r)&&(r=0),i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),u=0==u-f?u:Math.round(n[t.effect](0,s,f,u-f,o)),t=0==i-r?i:Math.round(n[t.effect](0,s,r,i-r,o)),f="transform",isNaN(u)||isNaN(t))continue;t="translate("+u+","+t+")"}else i=Number(t.from),r=Number(t.to),u=r-i,t=n[t.effect](0,s,i,u,o),isNaN(t)&&(t=r),0===u&&this.animations.splice(e,1);this.setAttr(h,f,t)}else"translate"==f?(i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),h.translate(u,i)):(r=Number(t.to),this.setAttr(h,f,r)),h.animationFinished=!0,this.animations.splice(e,1)}},getBBox:function(n){if(n=n.node)try{return n.getBBox()}catch(t){}return{width:0,height:0,x:0,y:0}},path:function(t,i){t.node.setAttributeNS(n.SVG_XLINK,"xlink:href",i)},clipRect:function(t,i,r,u,f){var e=t.node,o=t.clipPath,s;o&&this.D.remove(o);s=e.parentNode;s&&(e=document.createElementNS(n.SVG_NS,"clipPath"),o=n.getUniqueId(),e.setAttribute("id",o),this.D.rect(i,r,u,f,0,0,e),s.appendChild(e),i="#",n.baseHref&&!n.isIE&&(i=this.removeTarget(window.location.href)+i),this.setAttr(t,"clip-path","url("+i+o+")"),this.clipPathC++,t.clipPath=e)},text:function(t,i,r){var u=new n.AmDObject("text",this.D),o,f,e;for(t=String(t).split("\n"),o=n.removePx(i["font-size"]),f=0;f<t.length;f++)e=this.create(null,"tspan"),e.appendChild(document.createTextNode(t[f])),e.setAttribute("y",(o+2)*f+Math.round(o/2)),e.setAttribute("x",0),u.node.appendChild(e);return u.node.setAttribute("y",Math.round(o/2)),this.attr(u,i),this.D.addToContainer(u.node,r),u},setText:function(n,t){var i=n.node;i&&(i.removeChild(i.firstChild),i.appendChild(document.createTextNode(t)))},move:function(n,t,i,r){isNaN(t)&&(t=0);isNaN(i)&&(i=0);t="translate("+t+","+i+")";r&&(t=t+" scale("+r+")");this.setAttr(n,"transform",t)},rotate:function(n,t){var r=n.node.getAttribute("transform"),i="rotate("+t+")";r&&(i=r+" "+i);this.setAttr(n,"transform",i)},set:function(t){var r=new n.AmDObject("g",this.D),i;if(this.D.container.appendChild(r.node),t)for(i=0;i<t.length;i++)r.push(t[i]);return r},addListener:function(n,t,i){n.node["on"+t]=i},gradient:function(t,i,r,u){var s=t.node,e=t.grad;if(e&&this.D.remove(e),i=document.createElementNS(n.SVG_NS,i),e=n.getUniqueId(),i.setAttribute("id",e),!isNaN(u)){var f=0,o=0,h=0,c=0;90==u?h=100:270==u?c=100:180==u?f=100:0===u&&(o=100);i.setAttribute("x1",f+"%");i.setAttribute("x2",o+"%");i.setAttribute("y1",h+"%");i.setAttribute("y2",c+"%")}for(u=0;u<r.length;u++)f=document.createElementNS(n.SVG_NS,"stop"),o=100*u/(r.length-1),0===u&&(o=0),f.setAttribute("offset",o+"%"),f.setAttribute("stop-color",r[u]),i.appendChild(f);s.parentNode.appendChild(i);r="#";n.baseHref&&!n.isIE&&(r=this.removeTarget(window.location.href)+r);s.setAttribute("fill","url("+r+e+")");t.grad=i},removeTarget:function(n){return n.split("#")[0]},pattern:function(t,i,r,u){var c=t.node,f,h,o,s;isNaN(r)&&(r=1);f=t.patternNode;f&&this.D.remove(f);var f=document.createElementNS(n.SVG_NS,"pattern"),l=n.getUniqueId(),e=i;i.url&&(e=i.url);n.isAbsolute(e)||-1!=e.indexOf("data:image")||(e=u+e);u=Number(i.width);isNaN(u)&&(u=4);h=Number(i.height);isNaN(h)&&(h=4);u/=r;h/=r;r=i.x;isNaN(r)&&(r=0);o=-Math.random()*Number(i.randomX);isNaN(o)||(r=o);o=i.y;isNaN(o)&&(o=0);s=-Math.random()*Number(i.randomY);isNaN(s)||(o=s);f.setAttribute("id",l);f.setAttribute("width",u);f.setAttribute("height",h);f.setAttribute("patternUnits","userSpaceOnUse");f.setAttribute("xlink:href",e);i.color&&(s=document.createElementNS(n.SVG_NS,"rect"),s.setAttributeNS(null,"height",u),s.setAttributeNS(null,"width",h),s.setAttributeNS(null,"fill",i.color),f.appendChild(s));this.D.image(e,0,0,u,h,f).translate(r,o);e="#";n.baseHref&&!n.isIE&&(e=this.removeTarget(window.location.href)+e);c.setAttribute("fill","url("+e+l+")");t.patternNode=f;c.parentNode.appendChild(f)},remove:function(n){n.clipPath&&this.D.remove(n.clipPath);n.grad&&this.D.remove(n.grad);n.patternNode&&this.D.remove(n.patternNode);this.D.remove(n.node)}})}(),function(){var n=window.AmCharts;n.AmLegend=n.Class({construct:function(t){this.enabled=!0;this.cname="AmLegend";this.createEvents("rollOverMarker","rollOverItem","rollOutMarker","rollOutItem","showItem","hideItem","clickMarker","clickLabel");this.position="bottom";this.borderColor=this.color="#000000";this.borderAlpha=0;this.markerLabelGap=5;this.verticalGap=10;this.align="left";this.horizontalGap=0;this.spacing=10;this.markerDisabledColor="#AAB3B3";this.markerType="square";this.markerSize=16;this.markerBorderThickness=this.markerBorderAlpha=1;this.marginBottom=this.marginTop=0;this.marginLeft=this.marginRight=20;this.autoMargins=!0;this.valueWidth=50;this.switchable=!0;this.switchType="x";this.switchColor="#FFFFFF";this.rollOverColor="#CC0000";this.reversedOrder=!1;this.labelText="[[title]]";this.valueText="[[value]]";this.accessibleLabel="[[title]]";this.useMarkerColorForLabels=!1;this.rollOverGraphAlpha=1;this.textClickEnabled=!1;this.equalWidths=!0;this.backgroundColor="#FFFFFF";this.backgroundAlpha=0;this.useGraphSettings=!1;this.showEntries=!0;this.labelDx=0;n.applyTheme(this,t,this.cname)},setData:function(n){this.legendData=n;this.invalidateSize()},invalidateSize:function(){this.destroy();this.entries=[];this.valueLabels=[];var t=this.legendData;this.enabled&&(n.ifArray(t)||n.ifArray(this.data))&&this.drawLegend()},drawLegend:function(){var t=this.chart,r=this.position,u=this.width,s=t.divRealWidth,i=t.divRealHeight,f=this.div,e=this.legendData,o;if(this.data&&(e=this.combineLegend?this.legendData.concat(this.data):this.data),isNaN(this.fontSize)&&(this.fontSize=t.fontSize),this.maxColumnsReal=this.maxColumns,"right"==r||"left"==r?(this.maxColumnsReal=1,this.autoMargins&&(this.marginLeft=this.marginRight=10)):this.autoMargins&&(this.marginRight=t.marginRight,this.marginLeft=t.marginLeft,o=t.autoMarginOffset,"bottom"==r?(this.marginBottom=o,this.marginTop=0):(this.marginTop=o,this.marginBottom=0)),u=void 0!==u?n.toCoordinate(u,s):"right"!=r&&"left"!=r?t.realWidth:0<this.ieW?this.ieW:t.realWidth,"outside"==r?(u=f.offsetWidth,i=f.offsetHeight,f.clientHeight&&(u=f.clientWidth,i=f.clientHeight)):(isNaN(u)||(f.style.width=u+"px"),f.className="amChartsLegend "+t.classNamePrefix+"-legend-div"),this.divWidth=u,(r=this.container)?(r.container.innerHTML="",f.appendChild(r.container),r.width=u,r.height=i,r.setSize(u,i),r.addDefs(t)):r=new n.AmDraw(f,u,i,t),this.container=r,this.lx=0,this.ly=8,i=this.markerSize,i>this.fontSize&&(this.ly=i/2-1),0<i&&(this.lx+=i+this.markerLabelGap),this.titleWidth=0,(i=this.title)&&(i=n.text(this.container,i,this.color,t.fontFamily,this.fontSize,"start",!0),n.setCN(t,i,"legend-title"),i.translate(this.marginLeft,this.marginTop+this.verticalGap+this.ly+1),t=i.getBBox(),this.titleWidth=t.width+15,this.titleHeight=t.height+6),this.index=this.maxLabelWidth=0,this.showEntries){for(t=0;t<e.length;t++)this.createEntry(e[t]);for(t=this.index=0;t<e.length;t++)this.createValue(e[t])}this.arrangeEntries();this.updateValues()},arrangeEntries:function(){var i=this.position,e=this.marginLeft+this.titleWidth,h=this.marginRight,rt=this.marginTop,ut=this.marginBottom,o=this.horizontalGap,nt=this.div,v=this.divWidth,s=this.maxColumnsReal,g=this.verticalGap,r=this.spacing,ft=v-h-e,tt=0,y=0,it=this.container,p,w,c,t,u,f,d,a;for(this.set&&this.set.remove(),p=it.set(),this.set=p,w=it.set(),p.push(w),c=this.entries,u=0;u<c.length;u++)t=c[u].getBBox(),f=t.width,f>tt&&(tt=f),t=t.height,t>y&&(y=t);var f=y=0,b=o,k=0,l=0;for(u=0;u<c.length;u++)d=c[u],this.reversedOrder&&(d=c[c.length-u-1]),t=d.getBBox(),this.equalWidths?a=f*(tt+r+this.markerLabelGap):(a=b,b=b+t.width+o+r),t.height>l&&(l=t.height),a+t.width>ft&&0<u&&0!==f&&(y++,a=f=0,b=a+t.width+o+r,k=k+l+g,l=0),d.translate(a,k),f++,!isNaN(s)&&f>=s&&(f=0,y++,k=k+l+g,b=o,l=0),w.push(d);t=w.getBBox();s=t.height+2*g-1;"left"==i||"right"==i?(r=t.width+2*o,v=r+e+h,nt.style.width=v+"px",this.ieW=v):r=v-e-h-1;h=n.polygon(this.container,[0,r,r,0],[0,0,s,s],this.backgroundColor,this.backgroundAlpha,1,this.borderColor,this.borderAlpha);n.setCN(this.chart,h,"legend-bg");p.push(h);p.translate(e,rt);h.toBack();e=o;("top"==i||"bottom"==i||"absolute"==i||"outside"==i)&&("center"==this.align?e=o+(r-t.width)/2:"right"==this.align&&(e=o+r-t.width));w.translate(e,g+1);this.titleHeight>s&&(s=this.titleHeight);i=s+rt+ut+1;0>i&&(i=0);i>this.chart.divRealHeight&&(nt.style.top="0px");nt.style.height=Math.round(i)+"px";it.setSize(this.divWidth,i)},createEntry:function(t){var f,b,s,u,y,l,d,h,a;if(!1!==t.visibleInLegend&&!t.hideFromLegend){var i=this,e=i.chart,v=i.useGraphSettings,p=t.markerType;p&&(v=!1);t.legendEntryWidth=i.markerSize;p||(p=i.markerType);f=t.color;b=t.alpha;t.legendKeyColor&&(f=t.legendKeyColor());t.legendKeyAlpha&&(b=t.legendKeyAlpha());!0===t.hidden&&(s=f=i.markerDisabledColor);u=t.pattern;y=t.customMarker;y||(y=i.customMarker);var o=i.container,r=i.markerSize,c=0,k=0,w=r/2;v?(v=t.type,i.switchType=void 0,"line"==v||"step"==v||"smoothedLine"==v||"ohlc"==v?(u=o.set(),t.hidden||(f=t.lineColorR,s=t.bulletBorderColorR),c=n.line(o,[0,2*r],[r/2,r/2],f,t.lineAlpha,t.lineThickness,t.dashLength),n.setCN(e,c,"graph-stroke"),u.push(c),t.bullet&&(t.hidden||(f=t.bulletColorR),c=n.bullet(o,t.bullet,t.bulletSize,f,t.bulletAlpha,t.bulletBorderThickness,s,t.bulletBorderAlpha))&&(n.setCN(e,c,"graph-bullet"),c.translate(r+1,r/2),u.push(c)),w=0,c=r,k=r/3):(t.getGradRotation&&(l=t.getGradRotation(),0===l&&(l=180)),c=t.fillColorsR,!0===t.hidden&&(c=f),(u=i.createMarker("rectangle",c,t.fillAlphas,t.lineThickness,f,t.lineAlpha,l,u,t.dashLength))&&(w=r,u.translate(w,r/2)),c=r),n.setCN(e,u,"graph-"+v),n.setCN(e,u,"graph-"+t.id)):y?u=o.image(y,0,0,r,r):(isNaN(i.gradientRotation)||(d=180+i.gradientRotation),(u=i.createMarker(p,f,b,void 0,void 0,void 0,d,u))&&u.translate(r/2,r/2));n.setCN(e,u,"legend-marker");i.addListeners(u,t);o=o.set([u]);i.switchable&&t.switchable&&o.setAttr("cursor","pointer");void 0!==t.id&&n.setCN(e,o,"legend-item-"+t.id);n.setCN(e,o,t.className,!0);s=i.switchType;s&&"none"!=s&&0<r&&("x"==s?(h=i.createX(),h.translate(r/2,r/2)):h=i.createV(),h.dItem=t,!0!==t.hidden?"x"==s?h.hide():h.show():"x"!=s&&h.hide(),i.switchable||h.hide(),i.addListeners(h,t),t.legendSwitch=h,o.push(h),n.setCN(e,h,"legend-switch"));s=i.color;t.showBalloon&&i.textClickEnabled&&void 0!==i.selectedColor&&(s=i.selectedColor);i.useMarkerColorForLabels&&(s=f);!0===t.hidden&&(s=i.markerDisabledColor);f=n.massReplace(i.labelText,{"[[title]]":t.title});void 0!==i.tabIndex&&(o.setAttr("tabindex",i.tabIndex),o.setAttr("role","menuitem"),o.keyup(function(n){13==n.keyCode&&i.clickMarker(t,n)}));e.accessible&&i.accessibleLabel&&(l=n.massReplace(i.accessibleLabel,{"[[title]]":t.title}),e.makeAccessible(o,l));l=i.fontSize;u&&(r<=l&&(r=r/2+i.ly-l/2+(l+2-r)/2-k,u.translate(w,r),h&&h.translate(h.x,r)),t.legendEntryWidth=u.getBBox().width);f&&(f=n.fixBrakes(f),t.legendTextReal=f,a=i.labelWidth,a=isNaN(a)?n.text(i.container,f,s,e.fontFamily,l,"start"):n.wrappedText(i.container,f,s,e.fontFamily,l,"start",!1,a,0),n.setCN(e,a,"legend-label"),a.translate(i.lx+c,i.ly),o.push(a),i.labelDx=c,e=a.getBBox().width,i.maxLabelWidth<e&&(i.maxLabelWidth=e));i.entries[i.index]=o;t.legendEntry=i.entries[i.index];t.legendMarker=u;t.legendLabel=a;i.index++}},addListeners:function(n,t){var i=this;n&&n.mouseover(function(n){i.rollOverMarker(t,n)}).mouseout(function(n){i.rollOutMarker(t,n)}).click(function(n){i.clickMarker(t,n)})},rollOverMarker:function(n,t){this.switchable&&this.dispatch("rollOverMarker",n,t);this.dispatch("rollOverItem",n,t)},rollOutMarker:function(n,t){this.switchable&&this.dispatch("rollOutMarker",n,t);this.dispatch("rollOutItem",n,t)},clickMarker:function(n,t){this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t));this.dispatch("clickMarker",n,t)},rollOverLabel:function(n,t){n.hidden||this.textClickEnabled&&n.legendLabel&&n.legendLabel.attr({fill:this.rollOverColor});this.dispatch("rollOverItem",n,t)},rollOutLabel:function(n,t){if(!n.hidden&&this.textClickEnabled&&n.legendLabel){var i=this.color;void 0!==this.selectedColor&&n.showBalloon&&(i=this.selectedColor);this.useMarkerColorForLabels&&(i=n.lineColor,void 0===i&&(i=n.color));n.legendLabel.attr({fill:i})}this.dispatch("rollOutItem",n,t)},clickLabel:function(n,t){this.textClickEnabled?n.hidden||this.dispatch("clickLabel",n,t):this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t))},dispatch:function(n,t,i){n={type:n,dataItem:t,target:this,event:i,chart:this.chart};this.chart&&this.chart.handleLegendEvent(n);this.fire(n)},createValue:function(t){var i=this,u=i.fontSize,e=i.chart,f,o,r;if(!1!==t.visibleInLegend&&!t.hideFromLegend){if(f=i.maxLabelWidth,i.forceWidth&&(f=i.labelWidth),i.equalWidths||(i.valueAlign="left"),"left"==i.valueAlign&&t.legendLabel&&(f=t.legendLabel.getBBox().width),o=f,i.valueText&&0<i.valueWidth){r=i.color;i.useMarkerColorForValues&&(r=t.color,t.legendKeyColor&&(r=t.legendKeyColor()));!0===t.hidden&&(r=i.markerDisabledColor);var h=i.valueText,f=f+i.lx+i.labelDx+i.markerLabelGap+i.valueWidth,s="end";"left"==i.valueAlign&&(f-=i.valueWidth,s="start");r=n.text(i.container,h,r,i.chart.fontFamily,u,s);n.setCN(e,r,"legend-value");r.translate(f,i.ly);i.entries[i.index].push(r);o+=i.valueWidth+2*i.markerLabelGap;r.dItem=t;i.valueLabels.push(r)}i.index++;e=i.markerSize;e<u+7&&(e=u+7,n.VML&&(e+=3));u=i.container.rect(t.legendEntryWidth,0,o,e,0,0).attr({stroke:"none",fill:"#fff","fill-opacity":.005});u.dItem=t;i.entries[i.index-1].push(u);u.mouseover(function(n){i.rollOverLabel(t,n)}).mouseout(function(n){i.rollOutLabel(t,n)}).click(function(n){i.clickLabel(t,n)})}},createV:function(){var t=this.markerSize;return n.polygon(this.container,[t/5,t/2,t-t/5,t/2],[t/3,t-t/5,t/5,t/1.7],this.switchColor)},createX:function(){var t=(this.markerSize-4)/2,i={stroke:this.switchColor,"stroke-width":3},r=this.container,u=n.line(r,[-t,t],[-t,t]).attr(i),t=n.line(r,[-t,t],[t,-t]).attr(i);return this.container.set([u,t])},createMarker:function(t,i,r,u,f,e,o,s,h){var c=this.markerSize,l=this.container;return f||(f=this.markerBorderColor),f||(f=i),isNaN(u)&&(u=this.markerBorderThickness),isNaN(e)&&(e=this.markerBorderAlpha),n.bullet(l,t,c,i,r,u,f,e,c,o,s,this.chart.path,h)},validateNow:function(){this.invalidateSize()},updateValues:function(){var h=this.valueLabels,o=this.chart,s,l=this.data,f,t,i,r,u,c,e;if(h)for(s=0;s<h.length;s++)f=h[s],t=f.dItem,t.periodDataItem=void 0,t.periodPercentDataItem=void 0,i=" ",l?t.value?f.text(t.value):f.text(""):(r=null,void 0!==t.type?(r=t.currentDataItem,u=this.periodValueText,t.legendPeriodValueText&&(u=t.legendPeriodValueText),r?(i=this.valueText,t.legendValueText&&(i=t.legendValueText),i=o.formatString(i,r)):u&&o.formatPeriodString&&(u=n.massReplace(u,{"[[title]]":t.title}),i=o.formatPeriodString(u,t))):i=o.formatString(this.valueText,t),u=t,r&&(u=r),c=this.valueFunction,c&&(i=c(u,i,o.periodDataItem)),this.useMarkerColorForLabels&&!r&&t.lastDataItem&&(r=t.lastDataItem),r?e=o.getBalloonColor(t,r):t.legendKeyColor&&(e=t.legendKeyColor()),t.legendColorFunction&&(e=t.legendColorFunction(u,i,t.periodDataItem,t.periodPercentDataItem)),f.text(i),this.useMarkerColorForValues&&f.setAttr("fill",e),this.useMarkerColorForLabels&&((f=t.legendMarker)&&(f.setAttr("fill",e),f.setAttr("stroke",e)),(t=t.legendLabel)&&t.setAttr("fill",e)))},renderFix:function(){if(!n.VML&&this.enabled){var t=this.container;t&&t.renderFix()}},destroy:function(){this.div.innerHTML="";n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.formatMilliseconds=function(n,t){if(-1!=n.indexOf("fff")){var i=t.getMilliseconds(),r=String(i);10>i&&(r="00"+i);10<=i&&100>i&&(r="0"+i);n=n.replace(/fff/g,r)}return n};n.extractPeriod=function(t){var i=n.stripNumbers(t),r=1;return i!=t&&(r=Number(t.slice(0,t.indexOf(i)))),{period:i,count:r}};n.getDate=function(t,i,r){return t instanceof Date?n.newDate(t,r):i&&isNaN(t)?n.stringToDate(t,i):new Date(t)};n.daysInMonth=function(n){return new Date(n.getYear(),n.getMonth()+1,0).getDate()};n.newDate=function(n,t){return t&&-1==t.indexOf("fff")?new Date(n):new Date(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())};n.resetDateToMin=function(t,i,r,u){void 0===u&&(u=1);var l,c,h,s,o,e,f;n.useUTC?(l=t.getUTCFullYear(),c=t.getUTCMonth(),h=t.getUTCDate(),s=t.getUTCHours(),o=t.getUTCMinutes(),e=t.getUTCSeconds(),f=t.getUTCMilliseconds(),t=t.getUTCDay()):(l=t.getFullYear(),c=t.getMonth(),h=t.getDate(),s=t.getHours(),o=t.getMinutes(),e=t.getSeconds(),f=t.getMilliseconds(),t=t.getDay());switch(i){case"YYYY":l=Math.floor(l/r)*r;c=0;h=1;f=e=o=s=0;break;case"MM":c=Math.floor(c/r)*r;h=1;f=e=o=s=0;break;case"WW":h=t>=u?h-t+u:h-(7+t)+u;f=e=o=s=0;break;case"DD":f=e=o=s=0;break;case"hh":s=Math.floor(s/r)*r;f=e=o=0;break;case"mm":o=Math.floor(o/r)*r;f=e=0;break;case"ss":e=Math.floor(e/r)*r;f=0;break;case"fff":f=Math.floor(f/r)*r}return n.useUTC?(t=new Date,t.setUTCFullYear(l,c,h),t.setUTCHours(s,o,e,f)):t=new Date(l,c,h,s,o,e,f),t};n.getPeriodDuration=function(n,t){void 0===t&&(t=1);var i;switch(n){case"YYYY":i=316224e5;break;case"MM":i=26784e5;break;case"WW":i=6048e5;break;case"DD":i=864e5;break;case"hh":i=36e5;break;case"mm":i=6e4;break;case"ss":i=1e3;break;case"fff":i=1}return i*t};n.intervals={s:{nextInterval:"ss",contains:1e3},ss:{nextInterval:"mm",contains:60,count:0},mm:{nextInterval:"hh",contains:60,count:1},hh:{nextInterval:"DD",contains:24,count:2},DD:{nextInterval:"",contains:Infinity,count:3}};n.getMaxInterval=function(t,i){var r=n.intervals;return t>=r[i].contains?(t=Math.round(t/r[i].contains),i=r[i].nextInterval,n.getMaxInterval(t,i)):"ss"==i?r[i].nextInterval:i};n.dayNames="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" ");n.shortDayNames="Sun Mon Tue Wed Thu Fri Sat".split(" ");n.monthNames="January February March April May June July August September October November December".split(" ");n.shortMonthNames="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");n.getWeekNumber=function(n){n=new Date(n);n.setHours(0,0,0);n.setDate(n.getDate()+4-(n.getDay()||7));var t=new Date(n.getFullYear(),0,1);return Math.ceil(((n-t)/864e5+1)/7)};n.stringToDate=function(t,i){var r={},u=[{pattern:"YYYY",period:"year"},{pattern:"YY",period:"year"},{pattern:"MM",period:"month"},{pattern:"M",period:"month"},{pattern:"DD",period:"date"},{pattern:"D",period:"date"},{pattern:"JJ",period:"hours"},{pattern:"J",period:"hours"},{pattern:"HH",period:"hours"},{pattern:"H",period:"hours"},{pattern:"KK",period:"hours"},{pattern:"K",period:"hours"},{pattern:"LL",period:"hours"},{pattern:"L",period:"hours"},{pattern:"NN",period:"minutes"},{pattern:"N",period:"minutes"},{pattern:"SS",period:"seconds"},{pattern:"S",period:"seconds"},{pattern:"QQQ",period:"milliseconds"},{pattern:"QQ",period:"milliseconds"},{pattern:"Q",period:"milliseconds"}],c=!0,s=i.indexOf("AA"),e,o,f,h;for(-1!=s&&(t.substr(s,2),"pm"==t.toLowerCase&&(c=!1)),s=i,f=0;f<u.length;f++)o=u[f].period,r[o]=0,"date"==o&&(r[o]=1);for(f=0;f<u.length;f++)(e=u[f].pattern,o=u[f].period,-1!=i.indexOf(e))&&(h=n.getFromDateString(e,t,s),i=i.replace(e,""),("KK"==e||"K"==e||"LL"==e||"L"==e)&&(c||(h+=12)),r[o]=h);return n.useUTC?(u=new Date,u.setUTCFullYear(r.year,r.month,r.date),u.setUTCHours(r.hours,r.minutes,r.seconds,r.milliseconds)):u=new Date(r.year,r.month,r.date,r.hours,r.minutes,r.seconds,r.milliseconds),u};n.getFromDateString=function(n,t,i){if(void 0!==t)return i=i.indexOf(n),t=String(t),t=t.substr(i,n.length),"0"==t.charAt(0)&&(t=t.substr(1,t.length-1)),t=Number(t),isNaN(t)&&(t=0),-1!=n.indexOf("M")&&t--,t};n.formatDate=function(t,i,r){var s,l,c,v,a,e,o,y,h,p,w,u,f;return r||(r=n),h=n.getWeekNumber(t),n.useUTC?(s=t.getUTCFullYear(),l=t.getUTCMonth(),c=t.getUTCDate(),v=t.getUTCDay(),a=t.getUTCHours(),e=t.getUTCMinutes(),o=t.getUTCSeconds(),y=t.getUTCMilliseconds()):(s=t.getFullYear(),l=t.getMonth(),c=t.getDate(),v=t.getDay(),a=t.getHours(),e=t.getMinutes(),o=t.getSeconds(),y=t.getMilliseconds()),p=String(s).substr(2,2),w="0"+v,i=i.replace(/W/g,h),h=a,24==h&&(h=0),u=h,10>u&&(u="0"+u),i=i.replace(/JJ/g,u),i=i.replace(/J/g,h),u=a,0===u&&(u=24,-1!=i.indexOf("H")&&(c--,0===c&&(s=new Date(t),s.setDate(s.getDate()-1),l=s.getMonth(),c=s.getDate(),s=s.getFullYear()))),t=l+1,9>l&&(t="0"+t),h=c,10>c&&(h="0"+c),f=u,10>f&&(f="0"+f),i=i.replace(/HH/g,f),i=i.replace(/H/g,u),u=a,11<u&&(u-=12),f=u,10>f&&(f="0"+f),i=i.replace(/KK/g,f),i=i.replace(/K/g,u),u=a,0===u&&(u=12),12<u&&(u-=12),f=u,10>f&&(f="0"+f),i=i.replace(/LL/g,f),i=i.replace(/L/g,u),u=e,10>u&&(u="0"+u),i=i.replace(/NN/g,u),i=i.replace(/N/g,e),e=o,10>e&&(e="0"+e),i=i.replace(/SS/g,e),i=i.replace(/S/g,o),o=y,10>o?o="00"+o:100>o&&(o="0"+o),e=y,10>e&&(e="00"+e),i=i.replace(/A/g,"@A@"),i=i.replace(/QQQ/g,o),i=i.replace(/QQ/g,e),i=i.replace(/Q/g,y),i=i.replace(/YYYY/g,"@IIII@"),i=i.replace(/YY/g,"@II@"),i=i.replace(/MMMM/g,"@XXXX@"),i=i.replace(/MMM/g,"@XXX@"),i=i.replace(/MM/g,"@XX@"),i=i.replace(/M/g,"@X@"),i=i.replace(/DD/g,"@RR@"),i=i.replace(/D/g,"@R@"),i=i.replace(/EEEE/g,"@PPPP@"),i=i.replace(/EEE/g,"@PPP@"),i=i.replace(/EE/g,"@PP@"),i=i.replace(/E/g,"@P@"),i=i.replace(/@IIII@/g,s),i=i.replace(/@II@/g,p),i=i.replace(/@XXXX@/g,r.monthNames[l]),i=i.replace(/@XXX@/g,r.shortMonthNames[l]),i=i.replace(/@XX@/g,t),i=i.replace(/@X@/g,l+1),i=i.replace(/@RR@/g,h),i=i.replace(/@R@/g,c),i=i.replace(/@PPPP@/g,r.dayNames[v]),i=i.replace(/@PPP@/g,r.shortDayNames[v]),i=i.replace(/@PP@/g,w),i=i.replace(/@P@/g,v),12>a?i.replace(/@A@/g,r.amString):i.replace(/@A@/g,r.pmString)};n.changeDate=function(t,i,r,u,f){if(n.useUTC)return n.changeUTCDate(t,i,r,u,f);var e=-1;void 0===u&&(u=!0);void 0===f&&(f=!1);!0===u&&(e=1);switch(i){case"YYYY":t.setFullYear(t.getFullYear()+r*e);u||f||t.setDate(t.getDate()+1);break;case"MM":i=t.getMonth();t.setMonth(t.getMonth()+r*e);t.getMonth()>i+r*e&&t.setDate(t.getDate()-1);u||f||t.setDate(t.getDate()+1);break;case"DD":t.setDate(t.getDate()+r*e);break;case"WW":t.setDate(t.getDate()+r*e*7);break;case"hh":t.setHours(t.getHours()+r*e);break;case"mm":t.setMinutes(t.getMinutes()+r*e);break;case"ss":t.setSeconds(t.getSeconds()+r*e);break;case"fff":t.setMilliseconds(t.getMilliseconds()+r*e)}return t};n.changeUTCDate=function(n,t,i,r,u){var f=-1;void 0===r&&(r=!0);void 0===u&&(u=!1);!0===r&&(f=1);switch(t){case"YYYY":n.setUTCFullYear(n.getUTCFullYear()+i*f);r||u||n.setUTCDate(n.getUTCDate()+1);break;case"MM":t=n.getUTCMonth();n.setUTCMonth(n.getUTCMonth()+i*f);n.getUTCMonth()>t+i*f&&n.setUTCDate(n.getUTCDate()-1);r||u||n.setUTCDate(n.getUTCDate()+1);break;case"DD":n.setUTCDate(n.getUTCDate()+i*f);break;case"WW":n.setUTCDate(n.getUTCDate()+i*f*7);break;case"hh":n.setUTCHours(n.getUTCHours()+i*f);break;case"mm":n.setUTCMinutes(n.getUTCMinutes()+i*f);break;case"ss":n.setUTCSeconds(n.getUTCSeconds()+i*f);break;case"fff":n.setUTCMilliseconds(n.getUTCMilliseconds()+i*f)}return n}}(),function(){var n;window.AmCharts?n=window.AmCharts:(n={},window.AmCharts=n,n.themes={},n.maps={},n.inheriting={},n.charts=[],n.onReadyArray=[],n.useUTC=!1,n.updateRate=60,n.uid=0,n.lang={},n.translations={},n.mapTranslations={},n.windows={},n.initHandlers=[],n.amString="am",n.pmString="pm");n.Class=function(t){var i=function(){arguments[0]!==n.inheriting&&(this.events={},this.construct.apply(this,arguments))},r;t.inherits?(i.prototype=new t.inherits(n.inheriting),i.base=t.inherits.prototype,delete t.inherits):(i.prototype.createEvents=function(){for(var n=0;n<arguments.length;n++)this.events[arguments[n]]=[]},i.prototype.listenTo=function(n,t,i){this.removeListener(n,t,i);n.events[t].push({handler:i,scope:this})},i.prototype.addListener=function(n,t,i){this.removeListener(this,n,t);n&&this.events[n]&&this.events[n].push({handler:t,scope:i})},i.prototype.removeListener=function(n,t,i){if(n&&n.events&&(n=n.events[t]))for(t=n.length-1;0<=t;t--)n[t].handler===i&&n.splice(t,1)},i.prototype.fire=function(n){for(var r,i=this.events[n.type],t=0;t<i.length;t++)r=i[t],r.handler.call(r.scope,n)});for(r in t)i.prototype[r]=t[r];return i};n.addChart=function(t){window.requestAnimationFrame?n.animationRequested||(n.animationRequested=!0,window.requestAnimationFrame(n.update)):n.updateInt||(n.updateInt=setInterval(function(){n.update()},Math.round(1e3/n.updateRate)));n.charts.push(t)};n.removeChart=function(t){for(var i=n.charts,r=i.length-1;0<=r;r--)i[r]==t&&i.splice(r,1);0===i.length&&(n.requestAnimation&&(window.cancelAnimationFrame(n.requestAnimation),n.animationRequested=!1),n.updateInt&&(clearInterval(n.updateInt),n.updateInt=NaN))};n.isModern=!0;n.getIEVersion=function(){var n=0,t,i;return"Microsoft Internet Explorer"==navigator.appName&&(t=navigator.userAgent,i=/MSIE ([0-9]{1,}[.0-9]{0,})/,null!==i.exec(t)&&(n=parseFloat(RegExp.$1))),n};n.applyLang=function(t,i){var r=n.translations;i.dayNames=n.extend({},n.dayNames);i.shortDayNames=n.extend({},n.shortDayNames);i.monthNames=n.extend({},n.monthNames);i.shortMonthNames=n.extend({},n.shortMonthNames);i.amString="am";i.pmString="pm";r&&(r=r[t])&&(n.lang=r,i.langObj=r,r.monthNames&&(i.dayNames=n.extend({},r.dayNames),i.shortDayNames=n.extend({},r.shortDayNames),i.monthNames=n.extend({},r.monthNames),i.shortMonthNames=n.extend({},r.shortMonthNames)),r.am&&(i.amString=r.am),r.pm&&(i.pmString=r.pm));n.amString=i.amString;n.pmString=i.pmString};n.IEversion=n.getIEVersion();9>n.IEversion&&0<n.IEversion&&(n.isModern=!1,n.isIE=!0);n.dx=0;n.dy=0;(document.addEventListener||window.opera)&&(n.isNN=!0,n.isIE=!1,n.dx=.5,n.dy=.5);document.attachEvent&&(n.isNN=!1,n.isIE=!0,n.isModern||(n.dx=0,n.dy=0));window.chrome&&(n.chrome=!0);n.handleMouseUp=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleReleaseOutside&&r.handleReleaseOutside(t)};n.handleMouseMove=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleMouseMove&&r.handleMouseMove(t)};n.handleKeyUp=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleKeyUp&&r.handleKeyUp(t)};n.handleWheel=function(t){for(var i,u=n.charts,r=0;r<u.length;r++)if(i=u[r],i&&i.mouseIsOver){(i.mouseWheelScrollEnabled||i.mouseWheelZoomEnabled)&&i.handleWheel&&(i.handleMouseMove(t),i.handleWheel(t));break}};n.resetMouseOver=function(){for(var r,i=n.charts,t=0;t<i.length;t++)r=i[t],r&&(r.mouseIsOver=!1)};n.ready=function(t){n.onReadyArray.push(t)};n.handleLoad=function(){var i,t,r;for(n.isReady=!0,i=n.onReadyArray,t=0;t<i.length;t++)r=i[t],isNaN(n.processDelay)?r():setTimeout(r,n.processDelay*t);n.onReadyArray=[]};n.addInitHandler=function(t,i){n.initHandlers.push({method:t,types:i})};n.callInitHandler=function(t){var u=n.initHandlers,r,i;if(n.initHandlers)for(r=0;r<u.length;r++)i=u[r],i.types?n.isInArray(i.types,t.type)&&i.method(t):i.method(t)};n.getUniqueId=function(){return n.uid++,"AmChartsEl-"+n.uid};n.addGlobalListeners=function(){n.globalListenersAdded||(n.globalListenersAdded=!0,n.isNN&&(document.addEventListener("mousemove",n.handleMouseMove),document.addEventListener("keyup",n.handleKeyUp),document.addEventListener("mouseup",n.handleMouseUp,!0),window.addEventListener("load",n.handleLoad,!0)),n.isIE&&(document.attachEvent("onmousemove",n.handleMouseMove),document.attachEvent("onmouseup",n.handleMouseUp),window.attachEvent("onload",n.handleLoad)))};n.addGlobalListeners();n.addWheelListeners=function(){n.wheelIsListened||(n.isNN&&(window.addEventListener("DOMMouseScroll",n.handleWheel,{passive:!1,useCapture:!0}),document.addEventListener("mousewheel",n.handleWheel,{passive:!1,useCapture:!0})),n.isIE&&document.attachEvent("onmousewheel",n.handleWheel));n.wheelIsListened=!0};n.clear=function(){var i=n.charts,t;if(i)for(t=i.length-1;0<=t;t--)i[t].clear();n.updateInt&&clearInterval(n.updateInt);n.requestAnimation&&window.cancelAnimationFrame(n.requestAnimation);n.charts=[];n.isNN&&(document.removeEventListener("mousemove",n.handleMouseMove,!0),document.removeEventListener("keyup",n.handleKeyUp,!0),document.removeEventListener("mouseup",n.handleMouseUp,!0),window.removeEventListener("load",n.handleLoad,!0),window.removeEventListener("DOMMouseScroll",n.handleWheel,!0),document.removeEventListener("mousewheel",n.handleWheel,!0));n.isIE&&(document.detachEvent("onmousemove",n.handleMouseMove),document.detachEvent("onmouseup",n.handleMouseUp),window.detachEvent("onload",n.handleLoad));n.globalListenersAdded=!1;n.wheelIsListened=!1};n.makeChart=function(t,i,r){var e=i.type,f=i.theme,u;n.addGlobalListeners();n.isString(f)&&(f=n.themes[f],i.theme=f);switch(e){case"serial":u=new n.AmSerialChart(f);break;case"xy":u=new n.AmXYChart(f);break;case"pie":u=new n.AmPieChart(f);break;case"radar":u=new n.AmRadarChart(f);break;case"gauge":u=new n.AmAngularGauge(f);break;case"funnel":u=new n.AmFunnelChart(f);break;case"map":u=new n.AmMap(f);break;case"stock":u=new n.AmStockChart(f);break;case"gantt":u=new n.AmGanttChart(f)}return n.extend(u,i),n.isReady?isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r):n.ready(function(){isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r)}),u};n.realWrite=function(n,t){n.write(t)};n.updateCount=0;n.validateAt=Math.round(n.updateRate/10);n.update=function(){var i=n.charts,r,t;if(n.updateCount++,r=!1,n.updateCount==n.validateAt&&(r=!0,n.updateCount=0),i)for(t=i.length-1;0<=t;t--)i[t].update&&i[t].update(),r&&(i[t].autoResize?i[t].validateSize&&i[t].validateSize():i[t].premeasure&&i[t].premeasure());window.requestAnimationFrame&&(n.requestAnimation=window.requestAnimationFrame(n.update))};"complete"==document.readyState&&n.handleLoad()}(),function(){var n=window.AmCharts;n.toBoolean=function(n,t){if(void 0===n)return t;switch(String(n).toLowerCase()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case null:return!1;default:return!!n}};n.removeFromArray=function(n,t){var i;if(void 0!==t&&void 0!==n)for(i=n.length-1;0<=i;i--)n[i]==t&&n.splice(i,1)};n.getPath=function(){var t=document.getElementsByTagName("script"),n,i;if(t)for(n=0;n<t.length;n++)if(i=t[n].src,-1!==i.search(/\/(amcharts|ammap)\.js/))return i.replace(/\/(amcharts|ammap)\.js.*/,"/")};n.normalizeUrl=function(n){return""!==n&&-1===n.search(/\/$/)?n+"/":n};n.isAbsolute=function(n){return 0===n.search(/^http[s]?:|^\//)};n.isInArray=function(n,t){for(var i=0;i<n.length;i++)if(n[i]==t)return!0;return!1};n.getDecimals=function(n){var t=0;return isNaN(n)||(n=String(n),-1!=n.indexOf("e-")?t=Number(n.split("-")[1]):-1!=n.indexOf(".")&&(t=n.split(".")[1].length)),t};n.wordwrap=function(t,i,r,u){var o,e,f,s;if(t+="",1>i)return t;for(o=-1,t=(s=t.split(/\r\n|\n|\r/)).length;++o<t;s[o]+=f){for(f=s[o],s[o]="";f.length>i;s[o]+=n.trim(f.slice(0,e))+((f=f.slice(e)).length?r:""))e=2==u||(e=f.slice(0,i+1).match(/\S*(\s)?$/))[1]?i:e.input.length-e[0].length||1==u&&i||e.input.length+(e=f.slice(i).match(/^\S*/))[0].length;f=n.trim(f)}return s.join(r)};n.trim=function(n){return n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};n.wrappedText=function(t,i,r,u,f,e,o,s){var h=n.text(t,i,r,u,f,e,o),c,l;return h&&(c=h.getBBox(),c.width>s&&(l="\n",n.isModern||(l="<br>"),s=Math.floor(s/(c.width/i.length)),2<s&&(s-=2),i=n.wordwrap(i,s,l,!0),h.remove(),h=n.text(t,i,r,u,f,e,o))),h};n.getStyle=function(n,t){var i="";if(document.defaultView&&document.defaultView.getComputedStyle)try{i=document.defaultView.getComputedStyle(n,"").getPropertyValue(t)}catch(r){}else n.currentStyle&&(t=t.replace(/\-(\w)/g,function(n,t){return t.toUpperCase()}),i=n.currentStyle[t]);return i};n.removePx=function(n){if(void 0!==n)return Number(n.substring(0,n.length-2))};n.getURL=function(t,i){if(t)if("_self"!=i&&i)if("_top"==i&&window.top)window.top.location.href=t;else if("_parent"==i&&window.parent)window.parent.location.href=t;else if("_blank"==i)window.open(t);else{var r=document.getElementsByName(i)[0];r?r.src=t:(r=n.windows[i])?r.opener&&!r.opener.closed?r.location.href=t:n.windows[i]=window.open(t):n.windows[i]=window.open(t)}else window.location.href=t};n.ifArray=function(n){return n&&"object"==typeof n&&0<n.length?!0:!1};n.callMethod=function(n,t){for(var i,e,u,f,r=0;r<t.length;r++)if(i=t[r],i&&(i[n]&&i[n](),e=i.length,0<e))for(u=0;u<e;u++)f=i[u],f&&f[n]&&f[n]()};n.toNumber=function(n){return"number"==typeof n?n:Number(String(n).replace(/[^0-9\-.]+/g,""))};n.toColor=function(n){var t,i;if(""!==n&&void 0!==n)if(-1!=n.indexOf(","))for(n=n.split(","),t=0;t<n.length;t++)i=n[t].substring(n[t].length-6,n[t].length),n[t]="#"+i;else n=n.substring(n.length-6,n.length),n="#"+n;return n};n.toCoordinate=function(n,t,i){var r;return void 0!==n&&(n=String(n),i&&i<t&&(t=i),r=Number(n),-1!=n.indexOf("!")&&(r=t-Number(n.substr(1))),-1!=n.indexOf("%")&&(r=t*Number(n.substr(0,n.length-1))/100)),r};n.fitToBounds=function(n,t,i){return n<t&&(n=t),n>i&&(n=i),n};n.isDefined=function(n){return void 0===n?!1:!0};n.stripNumbers=function(n){return n.replace(/[0-9]+/g,"")};n.roundTo=function(n,t){if(0>t)return n;var i=Math.pow(10,t);return Math.round(n*i)/i};n.toFixed=function(n,t){var f=!1,i,r,u;if(0>n&&(f=!0,n=Math.abs(n)),i=String(Math.round(n*Math.pow(10,t))),0<t){if(r=i.length,r<t)for(u=0;u<t-r;u++)i="0"+i;return r=i.substring(0,i.length-t),""===r&&(r=0),i=r+"."+i.substring(i.length-t,i.length),f?"-"+i:i}return String(i)};n.formatDuration=function(t,i,r,u,f,e){var s=n.intervals,h=e.decimalSeparator,o;if(t>=s[i].contains)return o=t-Math.floor(t/s[i].contains)*s[i].contains,"ss"==i?(o=n.formatNumber(o,e),1==o.split(h)[0].length&&(o="0"+o)):o=n.roundTo(o,e.precision),("mm"==i||"hh"==i)&&10>o&&(o="0"+o),r=o+""+u[i]+""+r,t=Math.floor(t/s[i].contains),i=s[i].nextInterval,n.formatDuration(t,i,r,u,f,e);if("ss"==i&&(t=n.formatNumber(t,e),1==t.split(h)[0].length&&(t="0"+t)),"mm"==i&&(t=n.roundTo(t,e.precision)),("mm"==i||"hh"==i)&&10>t&&(t="0"+t),r=t+""+u[i]+""+r,s[f].count>s[i].count)for(t=s[i].count;t<s[f].count;t++)i=s[i].nextInterval,"ss"==i||"mm"==i||"hh"==i?r="00"+u[i]+""+r:"DD"==i&&(r="0"+u[i]+""+r);return":"==r.charAt(r.length-1)&&(r=r.substring(0,r.length-1)),r};n.formatNumber=function(t,i,r,u,f){var c,l,e,h,s,o;if(t=n.roundTo(t,i.precision),isNaN(r)&&(r=i.precision),c=i.decimalSeparator,i=i.thousandsSeparator,void 0==c&&(c=","),void 0==i&&(i=" "),l=0>t?"-":"",t=Math.abs(t),h=String(t),s=!1,-1!=h.indexOf("e")&&(s=!0),0<=r&&!s&&(h=n.toFixed(t,r)),e="",s)e=h;else{for(h=h.split("."),s=String(h[0]),o=s.length;0<=o;o-=3)e=o!=s.length?0!==o?s.substring(o-3,o)+i+e:s.substring(o-3,o)+e:s.substring(o-3,o);void 0!==h[1]&&(e=e+c+h[1]);void 0!==r&&0<r&&"0"!=e&&(e=n.addZeroes(e,c,r))}return e=l+e,""===l&&!0===u&&0!==t&&(e="+"+e),!0===f&&(e+="%"),e};n.addZeroes=function(t,i,r){return t=t.split(i),void 0===t[1]&&0<r&&(t[1]="0"),t[1].length<r?(t[1]+="0",n.addZeroes(t[0]+i+t[1],i,r)):void 0!==t[1]?t[0]+i+t[1]:t[0]};n.scientificToNormal=function(n){var t,i,r;if(n=String(n).split("e"),"-"==n[1].substr(0,1)){for(t="0.",i=0;i<Math.abs(Number(n[1]))-1;i++)t+="0";t+=n[0].split(".").join("")}else for(r=0,t=n[0].split("."),t[1]&&(r=t[1].length),t=n[0].split(".").join(""),i=0;i<Math.abs(Number(n[1]))-r;i++)t+="0";return t};n.toScientific=function(n,t){if(0===n)return"0";var r=Math.floor(Math.log(Math.abs(n))*Math.LOG10E),i=String(i).split(".").join(t);return String(i)+"e"+r};n.randomColor=function(){return"#"+("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6)};n.hitTest=function(t,i,r){var u=!1,e=t.x,o=t.x+t.width,s=t.y,h=t.y+t.height,f=n.isInRectangle;return u||(u=f(e,s,i)),u||(u=f(e,h,i)),u||(u=f(o,s,i)),u||(u=f(o,h,i)),u||!0===r||(u=n.hitTest(i,t,!0)),u};n.isInRectangle=function(n,t,i){return n>=i.x-5&&n<=i.x+i.width+5&&t>=i.y-5&&t<=i.y+i.height+5?!0:!1};n.isPercents=function(n){if(-1!=String(n).indexOf("%"))return!0};n.formatValue=function(t,i,r,u,f,e,o,s){var c,l,h;if(i)for(void 0===f&&(f=""),c=0;c<r.length;c++)l=r[c],h=i[l],void 0!==h&&(h=e?n.addPrefix(h,s,o,u):n.formatNumber(h,u),t=t.replace(new RegExp("\\[\\["+f+""+l+"\\]\\]","g"),h));return t};n.formatDataContextValue=function(n,t){var u,r,i;if(n)for(u=n.match(/\[\[.*?\]\]/g),r=0;r<u.length;r++)i=u[r],i=i.substr(2,i.length-4),void 0!==t[i]&&(n=n.replace(new RegExp("\\[\\["+i+"\\]\\]","g"),t[i]));return n};n.massReplace=function(n,t){var i,r;for(i in t)t.hasOwnProperty(i)&&(r=t[i],void 0===r&&(r=""),n=n.replace(i,r));return n};n.cleanFromEmpty=function(n){return n.replace(/\[\[[^\]]*\]\]/g,"")};n.addPrefix=function(t,i,r,u,f){var h=n.formatNumber(t,u),c="",e,o,s;if(0===t)return"0";if(0>t&&(c="-"),t=Math.abs(t),1<t){for(e=i.length-1;-1<e;e--)if(t>=i[e].number&&(o=t/i[e].number,s=Number(u.precision),1>s&&(s=1),r=n.roundTo(o,s),s=n.formatNumber(r,{precision:-1,decimalSeparator:u.decimalSeparator,thousandsSeparator:u.thousandsSeparator}),!f||o==r)){h=c+""+s+""+i[e].prefix;break}}else for(e=0;e<r.length;e++)if(t<=r[e].number){o=t/r[e].number;s=Math.abs(Math.floor(Math.log(o)*Math.LOG10E));o=n.roundTo(o,s);h=c+""+o+""+r[e].prefix;break}return h};n.remove=function(n){n&&n.remove()};n.getEffect=function(n){return">"==n&&(n="easeOutSine"),"<"==n&&(n="easeInSine"),"elastic"==n&&(n="easeOutElastic"),n};n.getObjById=function(n,t){for(var u,r,i=0;i<n.length;i++)if(r=n[i],r.id==t){u=r;break}return u};n.applyTheme=function(t,i,r){i||(i=n.theme);try{i=JSON.parse(JSON.stringify(i))}catch(u){}i&&i[r]&&n.extend(t,i[r])};n.isString=function(n){return"string"==typeof n?!0:!1};n.extend=function(n,t,i){var r;n||(n={});for(r in t)i?n.hasOwnProperty(r)||(n[r]=t[r]):n[r]=t[r];return n};n.copyProperties=function(n,t){for(var i in n)n.hasOwnProperty(i)&&"events"!=i&&void 0!==n[i]&&"function"!=typeof n[i]&&"cname"!=i&&(t[i]=n[i])};n.processObject=function(t,i,r,u){if(!1==t instanceof i&&(t=u?n.extend(new i(r),t):n.extend(t,new i(r),!0),t.listeners))for(var f in t.listeners)i=t.listeners[f],t.addListener(i.event,i.method);return t};n.fixNewLines=function(n){var t=RegExp("\\n","g");return n&&(n=n.replace(t,"<br />")),n};n.fixBrakes=function(t){if(n.isModern){var i=RegExp("<br>","g");t&&(t=t.replace(i,"\n"))}else t=n.fixNewLines(t);return t};n.deleteObject=function(t,i){if(t&&((void 0===i||null===i)&&(i=20),0!==i))if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;r<t.length;r++)n.deleteObject(t[r],i-1),t[r]=null;else if(t&&!t.tagName)try{for(r in t.theme=null,t)t[r]&&("object"==typeof t[r]&&n.deleteObject(t[r],i-1),"function"!=typeof t[r]&&(t[r]=null))}catch(u){}};n.bounce=function(n,t,i,r,u){return(t/=u)<1/2.75?7.5625*r*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i};n.easeInOutQuad=function(n,t,i,r,u){return(t/=u/2,1>t)?r/2*t*t+i:(t--,-r/2*(t*(t-2)-1)+i)};n.easeInSine=function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i};n.easeOutSine=function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i};n.easeOutElastic=function(n,t,i,r,u){n=1.70158;var f=0,e=r;return 0===t?i:1==(t/=u)?i+r:(f||(f=.3*u),e<Math.abs(r)?(e=r,n=f/4):n=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin(2*(t*u-n)*Math.PI/f)+r+i)};n.fixStepE=function(t){t=t.toExponential(0).split("e");var i=Number(t[1]);return 9==Number(t[0])&&i++,n.generateNumber(1,i)};n.generateNumber=function(n,t){for(var i="",u=0>t?Math.abs(t)-1:Math.abs(t),r=0;r<u;r++)i+="0";return 0>t?Number("0."+i+String(n)):Number(String(n)+i)};n.setCN=function(n,t,i,r){if(n.addClassNames&&t&&(t=t.node)&&i){var u=t.getAttribute("class");n=n.classNamePrefix+"-";r&&(n="");u?t.setAttribute("class",u+" "+n+i):t.setAttribute("class",n+i)}};n.removeCN=function(n,t,i){t&&(t=t.node)&&i&&(t=t.classList)&&t.remove(n.classNamePrefix+"-"+i)};n.parseDefs=function(t,i){var r,u,f;for(r in t)if(u=typeof t[r],0<t[r].length&&"object"==u)for(f=0;f<t[r].length;f++)u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r][f],u);else"object"==u?(u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r],u)):i.setAttribute(r,t[r])}}(),function(){var n=window.AmCharts;n.AmDraw=n.Class({construct:function(t,i,r,u){n.SVG_NS="http://www.w3.org/2000/svg";n.SVG_XLINK="http://www.w3.org/1999/xlink";n.hasSVG=!!document.createElementNS&&!!document.createElementNS(n.SVG_NS,"svg").createSVGRect;1>i&&(i=10);1>r&&(r=10);this.div=t;this.width=i;this.height=r;this.rBin=document.createElement("div");n.hasSVG?(n.SVG=!0,i=this.createSvgElement("svg"),t.appendChild(i),this.container=i,this.addDefs(u),this.R=new n.SVGRenderer(this)):n.isIE&&n.VMLRenderer&&(n.VML=!0,n.vmlStyleSheet||(document.namespaces.add("amvml","urn:schemas-microsoft-com:vml"),31>document.styleSheets.length?(i=document.createStyleSheet(),i.addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true"),n.vmlStyleSheet=i):document.styleSheets[0].addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true")),this.container=t,this.R=new n.VMLRenderer(this,u),this.R.disableSelection(t))},createSvgElement:function(t){return document.createElementNS(n.SVG_NS,t)},circle:function(t,i,r,u){var f=new n.AmDObject("circle",this);return f.attr({r:r,cx:t,cy:i}),this.addToContainer(f.node,u),f},ellipse:function(t,i,r,u,f){var e=new n.AmDObject("ellipse",this);return e.attr({rx:r,ry:u,cx:t,cy:i}),this.addToContainer(e.node,f),e},setSize:function(n,t){0<n&&0<t&&(this.container.style.width=n+"px",this.container.style.height=t+"px")},rect:function(t,i,r,u,f,e,o){var s=new n.AmDObject("rect",this);return n.VML&&(f=Math.round(100*f/Math.min(r,u)),r+=2*e,u+=2*e,s.bw=e,s.node.style.marginLeft=-e,s.node.style.marginTop=-e),1>r&&(r=1),1>u&&(u=1),s.attr({x:t,y:i,width:r,height:u,rx:f,ry:f,"stroke-width":e}),this.addToContainer(s.node,o),s},image:function(t,i,r,u,f,e){var o=new n.AmDObject("image",this);return o.attr({x:i,y:r,width:u,height:f}),this.R.path(o,t),this.addToContainer(o.node,e),o},addToContainer:function(n,t){t||(t=this.container);t.appendChild(n)},text:function(n,t,i){return this.R.text(n,t,i)},path:function(t,i,r,u){var f=new n.AmDObject("path",this);return u||(u="100,100"),f.attr({cs:u}),r?f.attr({dd:t}):f.attr({d:t}),this.addToContainer(f.node,i),f},set:function(n){return this.R.set(n)},remove:function(n){if(n){var t=this.rBin;t.appendChild(n);t.innerHTML=""}},renderFix:function(){var i=this.container,n=i.style;n.top="0px";n.left="0px";try{var t=i.getBoundingClientRect(),r=t.left-Math.round(t.left),u=t.top-Math.round(t.top);r&&(n.left=r+"px");u&&(n.top=u+"px")}catch(f){}},update:function(){this.R.update()},addDefs:function(t){var i,r,u;n.hasSVG&&(i=this.createSvgElement("desc"),r=this.container,r.setAttribute("version","1.1"),r.style.position="absolute",this.setSize(this.width,this.height),t.accessibleTitle&&(u=this.createSvgElement("text"),r.appendChild(u),u.innerHTML=t.accessibleTitle,u.style.opacity=0),n.rtl&&(r.setAttribute("direction","rtl"),r.style.left="auto",r.style.right="0px"),t&&(t.addCodeCredits&&i.appendChild(document.createTextNode("JavaScript chart by amCharts "+t.version)),t.accessibleDescription&&(i.innerHTML="",i.appendChild(document.createTextNode(t.accessibleDescription))),r.appendChild(i),t.defs&&(i=this.createSvgElement("defs"),r.appendChild(i),n.parseDefs(t.defs,i),this.defs=i)))}})}(),function(){var n=window.AmCharts;n.AmDObject=n.Class({construct:function(n,t){this.D=t;this.R=t.R;this.node=this.R.create(this,n);this.y=this.x=0;this.scale=1},attr:function(n){return this.R.attr(this,n),this},getAttr:function(n){return this.node.getAttribute(n)},setAttr:function(n,t){return this.R.setAttr(this,n,t),this},clipRect:function(n,t,i,r){this.R.clipRect(this,n,t,i,r)},translate:function(n,t,i,r){r||(n=Math.round(n),t=Math.round(t));this.R.move(this,n,t,i);this.x=n;this.y=t;this.scale=i;this.angle&&this.rotate(this.angle)},rotate:function(n,t){this.R.rotate(this,n,t);this.angle=n},animate:function(t,i,r){var u,f,e;for(u in t)t.hasOwnProperty(u)&&(f=u,e=t[u],r=n.getEffect(r),this.R.animate(this,f,e,i,r))},push:function(n){var t,i;n&&(t=this.node,t.appendChild(n.node),i=n.clipPath,i&&t.appendChild(i),(n=n.grad)&&t.appendChild(n))},text:function(n){this.R.setText(this,n)},remove:function(){this.stop();this.R.remove(this)},clear:function(){var n=this.node;if(n.hasChildNodes())for(;1<=n.childNodes.length;)n.removeChild(n.firstChild)},hide:function(){this.setAttr("visibility","hidden")},show:function(){this.setAttr("visibility","visible")},getBBox:function(){return this.R.getBBox(this)},toFront:function(){var n=this.node,t;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&t.appendChild(n))},toPrevious:function(){var n=this.node;n&&this.prevNextNode&&(n=n.parentNode)&&n.insertBefore(this.prevNextNode,null)},toBack:function(){var n=this.node,t,i;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&(i=t.firstChild,i&&t.insertBefore(n,i)))},mouseover:function(n){return this.R.addListener(this,"mouseover",n),this},mouseout:function(n){return this.R.addListener(this,"mouseout",n),this},click:function(n){return this.R.addListener(this,"click",n),this},dblclick:function(n){return this.R.addListener(this,"dblclick",n),this},mousedown:function(n){return this.R.addListener(this,"mousedown",n),this},mouseup:function(n){return this.R.addListener(this,"mouseup",n),this},touchmove:function(n){return this.R.addListener(this,"touchmove",n),this},touchstart:function(n){return this.R.addListener(this,"touchstart",n),this},touchend:function(n){return this.R.addListener(this,"touchend",n),this},keyup:function(n){return this.R.addListener(this,"keyup",n),this},focus:function(n){return this.R.addListener(this,"focus",n),this},blur:function(n){return this.R.addListener(this,"blur",n),this},contextmenu:function(n){return this.node.addEventListener?this.node.addEventListener("contextmenu",n,!0):this.R.addListener(this,"contextmenu",n),this},stop:function(){n.removeFromArray(this.R.animations,this.an_translate);n.removeFromArray(this.R.animations,this.an_y);n.removeFromArray(this.R.animations,this.an_x)},length:function(){return this.node.childNodes.length},gradient:function(n,t,i){this.R.gradient(this,n,t,i)},pattern:function(n,t,i){n&&this.R.pattern(this,n,t,i)}})}(),function(){var n=window.AmCharts;n.SVGRenderer=n.Class({construct:function(n){this.D=n;this.animations=[]},create:function(t,i){return document.createElementNS(n.SVG_NS,i)},attr:function(n,t){for(var i in t)t.hasOwnProperty(i)&&this.setAttr(n,i,t[i])},setAttr:function(n,t,i){void 0!==i&&n.node.setAttribute(t,i)},animate:function(t,i,r,u,f){t.animationFinished=!1;var e=t.node;t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]);"translate"==i?(e=(e=e.getAttribute("transform"))?String(e).substring(10,e.length-1):"0,0",e=e.split(", ").join(" "),e=e.split(" ").join(","),0===e&&(e="0,0")):e=Number(e.getAttribute(i));r={obj:t,frame:0,attribute:i,from:e,to:r,time:u,effect:f};this.animations.push(r);t["an_"+i]=r},update:function(){for(var c=this.animations,e=c.length-1;0<=e;e--){var t=c[e],o=t.time*n.updateRate,s=t.frame+1,h=t.obj,f=t.attribute,r,i,u;if(s<=o){if(t.frame++,"translate"==f){if(r=t.from.split(","),f=Number(r[0]),r=Number(r[1]),isNaN(r)&&(r=0),i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),u=0==u-f?u:Math.round(n[t.effect](0,s,f,u-f,o)),t=0==i-r?i:Math.round(n[t.effect](0,s,r,i-r,o)),f="transform",isNaN(u)||isNaN(t))continue;t="translate("+u+","+t+")"}else i=Number(t.from),r=Number(t.to),u=r-i,t=n[t.effect](0,s,i,u,o),isNaN(t)&&(t=r),0===u&&this.animations.splice(e,1);this.setAttr(h,f,t)}else"translate"==f?(i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),h.translate(u,i)):(r=Number(t.to),this.setAttr(h,f,r)),h.animationFinished=!0,this.animations.splice(e,1)}},getBBox:function(n){if(n=n.node)try{return n.getBBox()}catch(t){}return{width:0,height:0,x:0,y:0}},path:function(t,i){t.node.setAttributeNS(n.SVG_XLINK,"xlink:href",i)},clipRect:function(t,i,r,u,f){var e=t.node,o=t.clipPath,s;o&&this.D.remove(o);s=e.parentNode;s&&(e=document.createElementNS(n.SVG_NS,"clipPath"),o=n.getUniqueId(),e.setAttribute("id",o),this.D.rect(i,r,u,f,0,0,e),s.appendChild(e),i="#",n.baseHref&&!n.isIE&&(i=this.removeTarget(window.location.href)+i),this.setAttr(t,"clip-path","url("+i+o+")"),this.clipPathC++,t.clipPath=e)},text:function(t,i,r){var u=new n.AmDObject("text",this.D),o,f,e;for(t=String(t).split("\n"),o=n.removePx(i["font-size"]),f=0;f<t.length;f++)e=this.create(null,"tspan"),e.appendChild(document.createTextNode(t[f])),e.setAttribute("y",(o+2)*f+Math.round(o/2)),e.setAttribute("x",0),u.node.appendChild(e);return u.node.setAttribute("y",Math.round(o/2)),this.attr(u,i),this.D.addToContainer(u.node,r),u},setText:function(n,t){var i=n.node;i&&(i.removeChild(i.firstChild),i.appendChild(document.createTextNode(t)))},move:function(n,t,i,r){isNaN(t)&&(t=0);isNaN(i)&&(i=0);t="translate("+t+","+i+")";r&&(t=t+" scale("+r+")");this.setAttr(n,"transform",t)},rotate:function(n,t){var r=n.node.getAttribute("transform"),i="rotate("+t+")";r&&(i=r+" "+i);this.setAttr(n,"transform",i)},set:function(t){var r=new n.AmDObject("g",this.D),i;if(this.D.container.appendChild(r.node),t)for(i=0;i<t.length;i++)r.push(t[i]);return r},addListener:function(n,t,i){n.node["on"+t]=i},gradient:function(t,i,r,u){var s=t.node,e=t.grad;if(e&&this.D.remove(e),i=document.createElementNS(n.SVG_NS,i),e=n.getUniqueId(),i.setAttribute("id",e),!isNaN(u)){var f=0,o=0,h=0,c=0;90==u?h=100:270==u?c=100:180==u?f=100:0===u&&(o=100);i.setAttribute("x1",f+"%");i.setAttribute("x2",o+"%");i.setAttribute("y1",h+"%");i.setAttribute("y2",c+"%")}for(u=0;u<r.length;u++)f=document.createElementNS(n.SVG_NS,"stop"),o=100*u/(r.length-1),0===u&&(o=0),f.setAttribute("offset",o+"%"),f.setAttribute("stop-color",r[u]),i.appendChild(f);s.parentNode.appendChild(i);r="#";n.baseHref&&!n.isIE&&(r=this.removeTarget(window.location.href)+r);s.setAttribute("fill","url("+r+e+")");t.grad=i},removeTarget:function(n){return n.split("#")[0]},pattern:function(t,i,r,u){var c=t.node,f,h,o,s;isNaN(r)&&(r=1);f=t.patternNode;f&&this.D.remove(f);var f=document.createElementNS(n.SVG_NS,"pattern"),l=n.getUniqueId(),e=i;i.url&&(e=i.url);n.isAbsolute(e)||-1!=e.indexOf("data:image")||(e=u+e);u=Number(i.width);isNaN(u)&&(u=4);h=Number(i.height);isNaN(h)&&(h=4);u/=r;h/=r;r=i.x;isNaN(r)&&(r=0);o=-Math.random()*Number(i.randomX);isNaN(o)||(r=o);o=i.y;isNaN(o)&&(o=0);s=-Math.random()*Number(i.randomY);isNaN(s)||(o=s);f.setAttribute("id",l);f.setAttribute("width",u);f.setAttribute("height",h);f.setAttribute("patternUnits","userSpaceOnUse");f.setAttribute("xlink:href",e);i.color&&(s=document.createElementNS(n.SVG_NS,"rect"),s.setAttributeNS(null,"height",u),s.setAttributeNS(null,"width",h),s.setAttributeNS(null,"fill",i.color),f.appendChild(s));this.D.image(e,0,0,u,h,f).translate(r,o);e="#";n.baseHref&&!n.isIE&&(e=this.removeTarget(window.location.href)+e);c.setAttribute("fill","url("+e+l+")");t.patternNode=f;c.parentNode.appendChild(f)},remove:function(n){n.clipPath&&this.D.remove(n.clipPath);n.grad&&this.D.remove(n.grad);n.patternNode&&this.D.remove(n.patternNode);this.D.remove(n.node)}})}(),function(){var n=window.AmCharts;n.AmChart=n.Class({construct:function(t){this.svgIcons=this.tapToActivate=!0;this.theme=t;this.classNamePrefix="amcharts";this.addClassNames=!1;this.version="3.21.15";n.addChart(this);this.createEvents("buildStarted","dataUpdated","init","rendered","drawn","failed","resized","animationFinished");this.height=this.width="100%";this.dataChanged=!0;this.chartCreated=!1;this.previousWidth=this.previousHeight=0;this.backgroundColor="#FFFFFF";this.borderAlpha=this.backgroundAlpha=0;this.color=this.borderColor="#000000";this.fontFamily="Verdana";this.fontSize=11;this.usePrefixes=!1;this.autoResize=!0;this.autoDisplay=!1;this.addCodeCredits=this.accessible=!0;this.touchStartTime=this.touchClickDuration=0;this.precision=-1;this.percentPrecision=2;this.decimalSeparator=".";this.thousandsSeparator=",";this.labels=[];this.allLabels=[];this.titles=[];this.marginRight=this.marginLeft=this.autoMarginOffset=0;this.timeOuts=[];this.creditsPosition="top-left";var r=document.createElement("div"),i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.chartDiv=r;r=document.createElement("div");i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.legendDiv=r;this.titleHeight=0;this.hideBalloonTime=150;this.handDrawScatter=2;this.cssScale=this.handDrawThickness=1;this.cssAngle=0;this.prefixesOfBigNumbers=[{number:1e3,prefix:"k"},{number:1e6,prefix:"M"},{number:1e9,prefix:"G"},{number:1e12,prefix:"T"},{number:1e15,prefix:"P"},{number:1e18,prefix:"E"},{number:1e21,prefix:"Z"},{number:1e24,prefix:"Y"}];this.prefixesOfSmallNumbers=[{number:1e-24,prefix:"y"},{number:1e-21,prefix:"z"},{number:1e-18,prefix:"a"},{number:1e-15,prefix:"f"},{number:1e-12,prefix:"p"},{number:1e-9,prefix:"n"},{number:1e-6,prefix:"μ"},{number:.001,prefix:"m"}];this.panEventsEnabled=!0;this.product="amcharts";this.animations=[];this.balloon=new n.AmBalloon(this.theme);this.balloon.chart=this;this.processTimeout=0;this.processCount=1e3;this.animatable=[];this.langObj={};n.applyTheme(this,t,"AmChart")},drawChart:function(){0<this.realWidth&&0<this.realHeight&&(this.drawBackground(),this.redrawLabels(),this.drawTitles(),this.brr(),this.renderFix(),this.chartDiv&&(this.boundingRect=this.chartDiv.getBoundingClientRect()))},makeAccessible:function(n,t,i){this.accessible&&n&&(i&&n.setAttr("role",i),n.setAttr("aria-label",t))},drawBackground:function(){var r,u;n.remove(this.background);var i=this.container,t=this.backgroundColor,f=this.backgroundAlpha,e=this.set;n.isModern||0!==f||(f=.001);r=this.updateWidth();this.realWidth=r;u=this.updateHeight();this.realHeight=u;t=n.polygon(i,[0,r-1,r-1,0],[0,0,u-1,u-1],t,f,1,this.borderColor,this.borderAlpha);n.setCN(this,t,"bg");this.background=t;e.push(t);(t=this.backgroundImage)&&(i=i.image(t,0,0,r,u),n.setCN(this,t,"bg-image"),this.bgImg=i,e.push(i))},drawTitles:function(t){var s=this.titles,u,f,i,r,e,o,h;if(this.titleHeight=0,n.ifArray(s)){for(u=20,f=0;f<s.length;f++)i=s[f],i=n.processObject(i,n.Title,this.theme),!1!==i.enabled&&(r=i.color,void 0===r&&(r=this.color),e=i.size,isNaN(e)&&(e=this.fontSize+2),isNaN(i.alpha),o=this.marginLeft,h=!0,void 0!==i.bold&&(h=i.bold),r=n.wrappedText(this.container,i.text,r,this.fontFamily,e,"middle",h,this.realWidth-35-this.marginRight-o),r.translate(o+(this.realWidth-this.marginRight-o)/2,u),r.node.style.pointerEvents="none",i.sprite=r,void 0!==i.tabIndex&&r.setAttr("tabindex",i.tabIndex),n.setCN(this,r,"title"),i.id&&n.setCN(this,r,"title-"+i.id),r.attr({opacity:i.alpha}),u+=r.getBBox().height+5,t?r.remove():this.freeLabelsSet.push(r));this.titleHeight=u-10}},write:function(n){var t=this,i,r;if(t.listeners)for(i=0;i<t.listeners.length;i++)r=t.listeners[i],t.addListener(r.event,r.method);t.fire({type:"buildStarted",chart:t});t.afterWriteTO&&clearTimeout(t.afterWriteTO);0<t.processTimeout?t.afterWriteTO=setTimeout(function(){t.afterWrite.call(t,n)},t.processTimeout):t.afterWrite(n)},afterWrite:function(t){var f,s,i;if(f="object"!=typeof t?document.getElementById(t):t){for(;f.firstChild;)f.removeChild(f.firstChild);this.div=f;f.style.overflow="hidden";f.style.textAlign="left";t=this.chartDiv;var o=this.legendDiv,r=this.legend,u=o.style,e=t.style;if(this.measure(),this.previousHeight=this.divRealHeight,this.previousWidth=this.divRealWidth,i=document.createElement("div"),s=i.style,s.position="relative",this.containerDiv=i,i.className=this.classNamePrefix+"-main-div",t.className=this.classNamePrefix+"-chart-div",f.appendChild(i),(f=this.exportConfig)&&n.AmExport&&!this.AmExport&&(this.AmExport=new n.AmExport(this,f)),this.amExport&&n.AmExport&&(this.AmExport=n.extend(this.amExport,new n.AmExport(this),!0)),this.AmExport&&this.AmExport.init&&this.AmExport.init(),r){if(r=this.addLegend(r,r.divId),r.enabled)switch(u.left=null,u.top=null,u.right=null,e.left=null,e.right=null,e.top=null,u.position="relative",e.position="relative",s.width="100%",s.height="100%",r.position){case"bottom":i.appendChild(t);i.appendChild(o);break;case"top":i.appendChild(o);i.appendChild(t);break;case"absolute":u.position="absolute";e.position="absolute";void 0!==r.left&&(u.left=r.left+"px");void 0!==r.right&&(u.right=r.right+"px");void 0!==r.top&&(u.top=r.top+"px");void 0!==r.bottom&&(u.bottom=r.bottom+"px");r.marginLeft=0;r.marginRight=0;i.appendChild(t);i.appendChild(o);break;case"right":u.position="relative";e.position="absolute";i.appendChild(t);i.appendChild(o);break;case"left":u.position="absolute";e.position="relative";i.appendChild(t);i.appendChild(o);break;case"outside":i.appendChild(t)}else i.appendChild(t);this.prevLegendPosition=r.position}else i.appendChild(t);this.listenersAdded||(this.addListeners(),this.listenersAdded=!0);(this.mouseWheelScrollEnabled||this.mouseWheelZoomEnabled)&&n.addWheelListeners();this.initChart()}},createLabelsSet:function(){n.remove(this.labelsSet);this.labelsSet=this.container.set();this.freeLabelsSet.push(this.labelsSet)},initChart:function(){this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme);window.AmCharts_path&&(this.path=window.AmCharts_path);void 0===this.path&&(this.path=n.getPath());void 0===this.path&&(this.path="amcharts/");this.path=n.normalizeUrl(this.path);void 0===this.pathToImages&&(this.pathToImages=this.path+"images/");this.initHC||(n.callInitHandler(this),this.initHC=!0);n.applyLang(this.language,this);var t=this.numberFormatter;t&&(isNaN(t.precision)||(this.precision=t.precision),void 0!==t.thousandsSeparator&&(this.thousandsSeparator=t.thousandsSeparator),void 0!==t.decimalSeparator&&(this.decimalSeparator=t.decimalSeparator));(t=this.percentFormatter)&&!isNaN(t.precision)&&(this.percentPrecision=t.precision);this.nf={precision:this.precision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.pf={precision:this.percentPrecision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.destroy();(t=this.container)?(t.container.innerHTML="",t.width=this.realWidth,t.height=this.realHeight,t.addDefs(this),this.chartDiv.appendChild(t.container)):t=new n.AmDraw(this.chartDiv,this.realWidth,this.realHeight,this);this.container=t;this.extension=".png";this.svgIcons&&n.SVG&&(this.extension=".svg");this.checkDisplay();this.checkTransform(this.div);t.chart=this;n.VML||n.SVG?(t.handDrawn=this.handDrawn,t.handDrawScatter=this.handDrawScatter,t.handDrawThickness=this.handDrawThickness,n.remove(this.set),this.set=t.set(),n.remove(this.gridSet),this.gridSet=t.set(),n.remove(this.cursorLineSet),this.cursorLineSet=t.set(),n.remove(this.graphsBehindSet),this.graphsBehindSet=t.set(),n.remove(this.bulletBehindSet),this.bulletBehindSet=t.set(),n.remove(this.columnSet),this.columnSet=t.set(),n.remove(this.graphsSet),this.graphsSet=t.set(),n.remove(this.trendLinesSet),this.trendLinesSet=t.set(),n.remove(this.axesSet),this.axesSet=t.set(),n.remove(this.cursorSet),this.cursorSet=t.set(),n.remove(this.scrollbarsSet),this.scrollbarsSet=t.set(),n.remove(this.bulletSet),this.bulletSet=t.set(),n.remove(this.freeLabelsSet),this.freeLabelsSet=t.set(),n.remove(this.axesLabelsSet),this.axesLabelsSet=t.set(),n.remove(this.balloonsSet),this.balloonsSet=t.set(),n.remove(this.plotBalloonsSet),this.plotBalloonsSet=t.set(),n.remove(this.zoomButtonSet),this.zoomButtonSet=t.set(),n.remove(this.zbSet),this.zbSet=null,n.remove(this.linkSet),this.linkSet=t.set()):this.fire({type:"failed",chart:this})},premeasure:function(){var n=this.div,t,i;if(n){try{this.boundingRect=this.chartDiv.getBoundingClientRect()}catch(r){}t=n.offsetWidth;i=n.offsetHeight;n.clientHeight&&(t=n.clientWidth,i=n.clientHeight);(t!=this.mw||i!=this.mh)&&(this.mw=t,this.mh=i,this.measure())}},measure:function(){var t=this.div;if(t){var f=this.chartDiv,i=t.offsetWidth,r=t.offsetHeight,e=this.container;t.clientHeight&&(i=t.clientWidth,r=t.clientHeight);var r=Math.round(r),i=Math.round(i),t=Math.round(n.toCoordinate(this.width,i)),u=Math.round(n.toCoordinate(this.height,r));(i!=this.previousWidth||r!=this.previousHeight)&&0<t&&0<u&&(f.style.width=t+"px",f.style.height=u+"px",f.style.padding=0,e&&e.setSize(t,u),this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme));this.balloon&&this.balloon.setBounds&&this.balloon.setBounds(2,2,t-2,u);this.updateWidth();this.balloon.chart=this;this.realWidth=t;this.realHeight=u;this.divRealWidth=i;this.divRealHeight=r}},checkDisplay:function(){if(this.autoDisplay&&this.container){var t=n.rect(this.container,10,10),i=t.getBBox();0===i.width&&0===i.height&&(this.divRealHeight=this.divRealWidth=this.realHeight=this.realWidth=0,this.previousWidth=this.previousHeight=NaN);t.remove()}},checkTransform:function(n){var t;if(this.autoTransform&&window.getComputedStyle&&n){if(n.style&&(t=window.getComputedStyle(n,null),t&&(t=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("-moz-transform")||t.getPropertyValue("-ms-transform")||t.getPropertyValue("-o-transform")||t.getPropertyValue("transform"))&&"none"!==t)){var i=t.split("(")[1].split(")")[0].split(","),t=i[0],i=i[1],t=Math.sqrt(t*t+i*i);isNaN(t)||(this.cssScale*=t)}n.parentNode&&this.checkTransform(n.parentNode)}},destroy:function(){this.chartDiv.innerHTML="";this.clearTimeOuts();this.legend&&this.legend.destroy&&this.legend.destroy()},clearTimeOuts:function(){var t=this.timeOuts,n;if(t)for(n=0;n<t.length;n++)clearTimeout(t[n]);this.timeOuts=[]},clear:function(t){try{document.removeEventListener("touchstart",this.docfn1,!0);document.removeEventListener("touchend",this.docfn2,!0)}catch(i){}if(n.callMethod("clear",[this.chartScrollbar,this.scrollbarV,this.scrollbarH,this.chartCursor]),this.chartCursor=this.scrollbarH=this.scrollbarV=this.chartScrollbar=null,this.clearTimeOuts(),this.container&&(this.container.remove(this.chartDiv),this.container.remove(this.legendDiv)),t||n.removeChart(this),t=this.div)for(;t.firstChild;)t.removeChild(t.firstChild);this.legend&&this.legend.destroy&&this.legend.destroy();this.AmExport&&this.AmExport.clear&&this.AmExport.clear()},setMouseCursor:function(t){"auto"==t&&n.isNN&&(t="default");this.chartDiv.style.cursor=t;this.legendDiv.style.cursor=t},redrawLabels:function(){var t,n;for(this.labels=[],t=this.allLabels,this.createLabelsSet(),n=0;n<t.length;n++)this.drawLabel(t[n])},drawLabel:function(t){var i=this;if(i.container&&!1!==t.enabled){t=n.processObject(t,n.Label,i.theme);var f=t.y,r=t.text,u=t.align,s=t.size,h=t.color,e=t.rotation,c=t.alpha,l=t.bold,o=n.toCoordinate(t.x,i.realWidth),f=n.toCoordinate(f,i.realHeight);o||(o=0);f||(f=0);void 0===h&&(h=i.color);isNaN(s)&&(s=i.fontSize);u||(u="start");"left"==u&&(u="start");"right"==u&&(u="end");"center"==u&&(u="middle",e?f=i.realHeight-f+f/2:o=i.realWidth/2-o);void 0===c&&(c=1);void 0===e&&(e=0);f+=s/2;r=n.text(i.container,r,h,i.fontFamily,s,u,l,c);r.translate(o,f);void 0!==t.tabIndex&&r.setAttr("tabindex",t.tabIndex);n.setCN(i,r,"label");t.id&&n.setCN(i,r,"label-"+t.id);0!==e&&r.rotate(e);t.url?(r.setAttr("cursor","pointer"),r.click(function(){n.getURL(t.url,i.urlTarget)})):r.node.style.pointerEvents="none";i.labelsSet.push(r);i.labels.push(r)}},addLabel:function(n,t,i,r,u,f,e,o,s,h){n={x:n,y:t,text:i,align:r,size:u,color:f,alpha:o,rotation:e,bold:s,url:h,enabled:!0};this.container&&this.drawLabel(n);this.allLabels.push(n)},clearLabels:function(){for(var t=this.labels,n=t.length-1;0<=n;n--)t[n].remove();this.labels=[];this.allLabels=[]},updateHeight:function(){var n=this.divRealHeight,t=this.legend,i;return t&&(i=this.legendDiv.offsetHeight,t=t.position,("top"==t||"bottom"==t)&&(n-=i,(0>n||isNaN(n))&&(n=0),this.chartDiv.style.height=n+"px")),n},updateWidth:function(){var n=this.divRealWidth,e=this.divRealHeight,t=this.legend,i,r;if(t){i=this.legendDiv;r=i.offsetWidth;isNaN(t.width)||(r=t.width);t.ieW&&(r=t.ieW);var o=i.offsetHeight,i=i.style,u=this.chartDiv.style,f=t.position;("right"==f||"left"==f)&&void 0===t.divId&&(n-=r,(0>n||isNaN(n))&&(n=0),u.width=n+"px",this.balloon&&this.balloon.setBounds&&this.balloon.setBounds(2,2,n-2,this.realHeight),"left"==f?(u.left=r+"px",i.left="0px"):(u.left="0px",i.left=n+"px"),e>o&&(i.top=(e-o)/2+"px"))}return n},getTitleHeight:function(){return this.drawTitles(!0),this.titleHeight},addTitle:function(n,t,i,r,u){return isNaN(t)&&(t=this.fontSize+2),n={text:n,size:t,color:i,alpha:r,bold:u,enabled:!0},this.titles.push(n),n},handleWheel:function(n){var t=0;n||(n=window.event);n.wheelDelta?t=n.wheelDelta/120:n.detail&&(t=-n.detail/3);t&&this.handleWheelReal(t,n.shiftKey);n.preventDefault&&n.preventDefault()},handleWheelReal:function(){},handleDocTouchStart:function(){this.handleMouseMove();this.tmx=this.mouseX;this.tmy=this.mouseY;this.touchStartTime=(new Date).getTime()},handleDocTouchEnd:function(){-.5<this.tmx&&this.tmx<this.divRealWidth+1&&0<this.tmy&&this.tmy<this.divRealHeight?(this.handleMouseMove(),4>Math.abs(this.mouseX-this.tmx)&&4>Math.abs(this.mouseY-this.tmy)?(this.tapped=!0,this.panRequired&&this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="none",this.chartDiv.style.touchAction="none")):this.mouseIsOver||this.resetTouchStyle()):(this.tapped=!1,this.resetTouchStyle())},resetTouchStyle:function(){this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="auto",this.chartDiv.style.touchAction="auto")},checkTouchDuration:function(n){var t=this,i=(new Date).getTime();if(n)if(n.touches)t.isTouchEvent=!0;else if(!t.isTouchEvent)return!0;if(i-t.touchStartTime>t.touchClickDuration)return!0;setTimeout(function(){t.resetTouchDuration()},300)},resetTouchDuration:function(){this.isTouchEvent=!1},checkTouchMoved:function(){if(4<Math.abs(this.mouseX-this.tmx)||4<Math.abs(this.mouseY-this.tmy))return!0},addListeners:function(){var n=this,t=n.chartDiv;document.addEventListener?("ontouchstart"in document.documentElement&&(t.addEventListener("touchstart",function(t){n.handleTouchStart.call(n,t)},!0),t.addEventListener("touchmove",function(t){n.handleMouseMove.call(n,t)},!0),t.addEventListener("touchend",function(t){n.handleTouchEnd.call(n,t)},!0),n.docfn1=function(t){n.handleDocTouchStart.call(n,t)},n.docfn2=function(t){n.handleDocTouchEnd.call(n,t)},document.addEventListener("touchstart",n.docfn1,!0),document.addEventListener("touchend",n.docfn2,!0)),t.addEventListener("mousedown",function(t){n.mouseIsOver=!0;n.handleMouseMove.call(n,t);n.handleMouseDown.call(n,t);n.handleDocTouchStart.call(n,t)},!0),t.addEventListener("mouseover",function(t){n.handleMouseOver.call(n,t)},!0),t.addEventListener("mouseout",function(t){n.handleMouseOut.call(n,t)},!0),t.addEventListener("mouseup",function(t){n.handleDocTouchEnd.call(n,t)},!0)):(t.attachEvent("onmousedown",function(t){n.handleMouseDown.call(n,t)}),t.attachEvent("onmouseover",function(t){n.handleMouseOver.call(n,t)}),t.attachEvent("onmouseout",function(t){n.handleMouseOut.call(n,t)}))},dispDUpd:function(){this.skipEvents||(this.dispatchDataUpdated&&(this.dispatchDataUpdated=!1,this.fire({type:"dataUpdated",chart:this})),this.chartCreated||(this.chartCreated=!0,this.fire({type:"init",chart:this})),!this.chartRendered&&0<this.divRealWidth&&0<this.divRealHeight&&(this.fire({type:"rendered",chart:this}),this.chartRendered=!0),this.fire({type:"drawn",chart:this}));this.skipEvents=!1},validateSize:function(){var n=this,t,i;n.premeasure();n.checkDisplay();n.cssScale=1;n.cssAngle=0;n.checkTransform(n.div);(n.divRealWidth!=n.previousWidth||n.divRealHeight!=n.previousHeight)&&(t=n.legend,0<n.realWidth&&0<n.realHeight&&(n.sizeChanged=!0,t&&(n.legendInitTO&&clearTimeout(n.legendInitTO),i=setTimeout(function(){t.invalidateSize()},10),n.timeOuts.push(i),n.legendInitTO=i),n.marginsUpdated=!1,clearTimeout(n.initTO),i=setTimeout(function(){n.initChart()},10),n.timeOuts.push(i),n.initTO=i),n.renderFix(),t&&t.renderFix&&t.renderFix(),n.positionCred(),clearTimeout(n.resizedTO),n.resizedTO=setTimeout(function(){n.fire({type:"resized",chart:n})},10),n.previousHeight=n.divRealHeight,n.previousWidth=n.divRealWidth)},invalidateSize:function(){this.previousHeight=this.previousWidth=NaN;this.invalidateSizeReal()},invalidateSizeReal:function(){var n=this,t;n.marginsUpdated=!1;clearTimeout(n.validateTO);t=setTimeout(function(){n.validateSize()},5);n.timeOuts.push(t);n.validateTO=t},validateData:function(n){this.chartCreated&&(this.dataChanged=!0,this.marginsUpdated=!1,this.initChart(n))},validateNow:function(n,t){this.initTO&&clearTimeout(this.initTO);n&&(this.dataChanged=!0,this.marginsUpdated=!1);this.skipEvents=t;this.chartRendered=!1;var i=this.legend;i&&i.position!=this.prevLegendPosition&&(this.previousWidth=this.mw=0,i.invalidateSize&&(i.invalidateSize(),this.validateSize()));this.write(this.div)},showItem:function(n){n.hidden=!1;this.initChart()},hideItem:function(n){n.hidden=!0;this.initChart()},hideBalloon:function(){var n=this;clearTimeout(n.hoverInt);clearTimeout(n.balloonTO);n.hoverInt=setTimeout(function(){n.hideBalloonReal.call(n)},n.hideBalloonTime)},cleanChart:function(){},hideBalloonReal:function(){var n=this.balloon;n&&n.hide&&n.hide()},showBalloon:function(n,t,i,r,u){var f=this;clearTimeout(f.balloonTO);clearTimeout(f.hoverInt);f.balloonTO=setTimeout(function(){f.showBalloonReal.call(f,n,t,i,r,u)},1)},showBalloonReal:function(n,t,i,r,u){this.handleMouseMove();var f=this.balloon;f.enabled&&(f.followCursor(!1),f.changeColor(t),!i||f.fixedPosition?(f.setPosition(r,u),isNaN(r)||isNaN(u)?f.followCursor(!0):f.followCursor(!1)):f.followCursor(!0),n&&f.showBalloon(n))},handleMouseOver:function(){this.outTO&&clearTimeout(this.outTO);n.resetMouseOver();this.mouseIsOver=!0},handleMouseOut:function(){var t=this;n.resetMouseOver();t.outTO&&clearTimeout(t.outTO);t.outTO=setTimeout(function(){t.handleMouseOutReal()},10)},handleMouseOutReal:function(){this.mouseIsOver=!1},handleMouseMove:function(n){var t,i,r,u,f;if(n||(n=window.event),this.mouse2Y=this.mouse2X=NaN,n){if(n.touches){if(f=n.touches.item(1),f&&this.panEventsEnabled&&this.boundingRect&&(r=f.clientX-this.boundingRect.left,u=f.clientY-this.boundingRect.top),n=n.touches.item(0),!n)return}else this.wasTouched=!1;this.boundingRect&&n.clientX&&(t=n.clientX-this.boundingRect.left,i=n.clientY-this.boundingRect.top);isNaN(r)?this.mouseX=t:(this.mouseX=Math.min(t,r),this.mouse2X=Math.max(t,r));isNaN(u)?this.mouseY=i:(this.mouseY=Math.min(i,u),this.mouse2Y=Math.max(i,u));this.autoTransform&&(this.mouseX/=this.cssScale,this.mouseY/=this.cssScale)}},handleTouchStart:function(n){this.hideBalloonReal();n&&(n.touches&&this.tapToActivate&&!this.tapped||!this.panRequired)||(this.handleMouseMove(n),this.handleMouseDown(n))},handleTouchEnd:function(t){this.wasTouched=!0;this.handleMouseMove(t);n.resetMouseOver();this.handleReleaseOutside(t)},handleReleaseOutside:function(){this.handleDocTouchEnd.call(this)},handleMouseDown:function(t){n.resetMouseOver();this.mouseIsOver=!0;t&&t.preventDefault&&(this.panEventsEnabled?t.preventDefault():t.touches||t.preventDefault())},handleKeyUp:function(){},addLegend:function(t,i){t=n.processObject(t,n.AmLegend,this.theme);t.divId=i;t.ieW=0;var r;return r="object"!=typeof i&&i?document.getElementById(i):i,this.legend=t,t.chart=this,r?(t.div=r,t.position="outside",t.autoMargins=!1):t.div=this.legendDiv,t},removeLegend:function(){this.legend=void 0;this.previousWidth=0;this.legendDiv.innerHTML=""},handleResize:function(){(n.isPercents(this.width)||n.isPercents(this.height))&&this.invalidateSizeReal();this.renderFix()},renderFix:function(){if(!n.VML){var t=this.container;t&&t.renderFix()}},getSVG:function(){if(n.hasSVG)return this.container},animate:function(t,i,r,u,f,e,o){return t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]),r={obj:t,frame:0,attribute:i,from:r,to:u,time:f,effect:e,suffix:o},t["an_"+i]=r,this.animations.push(r),r},setLegendData:function(n){var t=this.legend;t&&t.setData(n)},stopAnim:function(t){n.removeFromArray(this.animations,t)},updateAnimations:function(){var i;if(this.container&&this.container.update(),this.animations)for(i=this.animations.length-1;0<=i;i--){var t=this.animations[i],u=n.updateRate*t.time,e=t.frame+1,r=t.obj,f=t.attribute;if(e<=u){t.frame++;var o=Number(t.from),s=Number(t.to)-o,u=n[t.effect](0,e,o,s,u);0===s?(this.animations.splice(i,1),r.node.style[f]=Number(t.to)+t.suffix):r.node.style[f]=u+t.suffix}else r.node.style[f]=Number(t.to)+t.suffix,r.animationFinished=!0,this.animations.splice(i,1)}},update:function(){var n,i,t,r;if(this.updateAnimations(),n=this.animatable,0<n.length){for(i=!0,t=n.length-1;0<=t;t--)r=n[t],r&&(r.animationFinished?n.splice(t,1):i=!1);i&&(this.fire({type:"animationFinished",chart:this}),this.animatable=[])}},inIframe:function(){try{return window.self!==window.top}catch(n){return!0}},brr:function(){var n,i,t,r;this.hideCredits||(n="amcharts.com",t=window.location.hostname.split("."),2<=t.length&&(i=t[t.length-2]+"."+t[t.length-1]),this.amLink&&(t=this.amLink.parentNode)&&t.removeChild(this.amLink),(i!=n||!0===this.inIframe())&&(i=n="http://www."+n,t="JavaScript charts",r="JS chart by amCharts","ammap"==this.product&&(i=n+"/javascript-maps/",t="Interactive JavaScript maps",r="JS map by amCharts"),n=document.createElement("a"),r=document.createTextNode(r),n.setAttribute("href",i),n.setAttribute("title",t),this.urlTarget&&n.setAttribute("target",this.urlTarget),n.appendChild(r),this.chartDiv.appendChild(n),this.amLink=n,n=n.style,n.position="absolute",n.textDecoration="none",n.color=this.color,n.fontFamily=this.fontFamily,n.fontSize="11px",n.opacity=.7,n.display="block",this.positionCred()))},positionCred:function(){var t=this.amLink,n,i;if(t){var f=this.creditsPosition,s=t.style,h=t.offsetWidth,t=t.offsetHeight,r=0,u=0,e=this.realWidth,o=this.realHeight,n=this.type;("serial"==n||"xy"==n||"gantt"==n)&&(r=this.marginLeftReal,u=this.marginTopReal,e=r+this.plotAreaWidth,o=u+this.plotAreaHeight);n=5+r;i=u+5;"bottom-left"==f&&(n=5+r,i=o-t-3);"bottom-right"==f&&(n=e-h-5,i=o-t-3);"top-right"==f&&(n=e-h-5,i=u+5);s.left=n+"px";s.top=i+"px"}}});n.Slice=n.Class({construct:function(){}});n.SerialDataItem=n.Class({construct:function(){}});n.GraphDataItem=n.Class({construct:function(){}});n.Guide=n.Class({construct:function(t){this.cname="Guide";n.applyTheme(this,t,this.cname)}});n.Title=n.Class({construct:function(t){this.cname="Title";n.applyTheme(this,t,this.cname)}});n.Label=n.Class({construct:function(t){this.cname="Label";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.AmBalloon=n.Class({construct:function(t){this.cname="AmBalloon";this.enabled=!0;this.fillColor="#FFFFFF";this.fillAlpha=.8;this.borderThickness=2;this.borderColor="#FFFFFF";this.borderAlpha=1;this.cornerRadius=0;this.maxWidth=220;this.horizontalPadding=8;this.verticalPadding=4;this.pointerWidth=6;this.pointerOrientation="V";this.color="#000000";this.adjustBorderColor=!0;this.show=this.follow=this.showBullet=!1;this.bulletSize=3;this.shadowAlpha=.4;this.shadowColor="#000000";this.fadeOutDuration=this.animationDuration=.3;this.fixedPosition=!0;this.offsetY=6;this.offsetX=1;this.textAlign="center";this.disableMouseEvents=!0;this.deltaSignX=this.deltaSignY=1;n.isModern||(this.offsetY*=1.5);this.sdy=this.sdx=0;n.applyTheme(this,t,this.cname)},draw:function(){var f=this.pointToX,o=this.pointToY,a,s,w,i,r,p,ut,st,t;if(n.isModern||(this.drop=!1),a=this.chart,n.VML&&(this.fadeOutDuration=0),this.xAnim&&a.stopAnim(this.xAnim),this.yAnim&&a.stopAnim(this.yAnim),this.sdy=this.sdx=0,!isNaN(f)){var ot=this.follow,v=a.container,y=this.set;if(n.remove(y),this.removeDiv(),y=v.set(),y.node.style.pointerEvents="none",this.set=y,this.mainSet?(this.mainSet.push(this.set),this.sdx=this.mainSet.x,this.sdy=this.mainSet.y):a.balloonsSet.push(y),this.show){var e=this.l,k=this.t,b=this.r,nt=this.b,s=this.balloonColor,c=this.fillColor,rt=this.borderColor,tt=c;void 0!=s&&(this.adjustBorderColor?tt=rt=s:c=s);var d=this.horizontalPadding,it=this.verticalPadding,h=this.pointerWidth,l=this.pointerOrientation,g=this.cornerRadius,u=a.fontFamily,t=this.fontSize;void 0==t&&(t=a.fontSize);s=document.createElement("div");w=a.classNamePrefix;s.className=w+"-balloon-div";this.className&&(s.className=s.className+" "+w+"-balloon-div-"+this.className);w=s.style;this.disableMouseEvents&&(w.pointerEvents="none");w.position="absolute";i=this.minWidth;r=document.createElement("div");s.appendChild(r);p=r.style;isNaN(i)||(p.minWidth=i-2*d+"px");p.textAlign=this.textAlign;p.maxWidth=this.maxWidth+"px";p.fontSize=t+"px";p.color=this.color;p.fontFamily=u;r.innerHTML=this.text;a.chartDiv.appendChild(s);this.textDiv=s;p=s.offsetWidth;ut=s.offsetHeight;s.clientHeight&&(p=s.clientWidth,ut=s.clientHeight);u=ut+2*it;r=p+2*d;!isNaN(i)&&r<i&&(r=i);window.opera&&(u+=2);st=!1;t=this.offsetY;a.handDrawn&&(t+=a.handDrawScatter+2);"H"!=l?(i=f-r/2,o<k+u+10&&"down"!=l?(st=!0,ot&&(o+=t),t=o+h,this.deltaSignY=-1):(ot&&(o-=t),t=o-u-h,this.deltaSignY=1)):(2*h>u&&(h=u/2),t=o-u/2,f<e+(b-e)/2?(i=f+h,this.deltaSignX=-1):(i=f-r-h,this.deltaSignX=1));t+u>=nt&&(t=nt-u);t<k&&(t=k);i<e&&(i=e);i+r>b&&(i=b-r);var k=t+it,nt=i+d,ft=this.shadowAlpha,ct=this.shadowColor,d=this.borderThickness,lt=this.bulletSize,et,it=this.fillAlpha,ht=this.borderAlpha;this.showBullet&&(et=n.circle(v,lt,tt,it),y.push(et));this.drop?(e=r/1.6,b=0,"V"==l&&(l="down"),"H"==l&&(l="left"),"down"==l&&(i=f+1,t=o-e-e/3),"up"==l&&(b=180,i=f+1,t=o+e+e/3),"left"==l&&(b=270,i=f+e+e/3+2,t=o),"right"==l&&(b=90,i=f-e-e/3+2,t=o),k=t-ut/2+1,nt=i-p/2-1,c=n.drop(v,e,b,c,it,d,rt,ht)):0<g||0===h?(0<ft&&(f=n.rect(v,r,u,c,0,d+1,ct,ft,g),n.isModern?f.translate(1,1):f.translate(4,4),y.push(f)),c=n.rect(v,r,u,c,it,d,rt,ht,g)):(tt=[],g=[],"H"!=l?(e=f-i,e>r-h&&(e=r-h),e<h&&(e=h),tt=[0,e-h,f-i,e+h,r,r,0,0],g=st?[0,0,o-t,0,0,u,u,0]:[u,u,o-t,u,u,0,0,u]):(l=o-t,l>u-h&&(l=u-h),l<h&&(l=h),g=[0,l-h,o-t,l+h,u,u,0,0],tt=f<e+(b-e)/2?[0,0,i<f?0:f-i,0,0,r,r,0]:[r,r,i+r>f?r:f-i,r,r,0,0,r]),0<ft&&(f=n.polygon(v,tt,g,c,0,d,ct,ft),f.translate(1,1),y.push(f)),c=n.polygon(v,tt,g,c,it,d,rt,ht));this.bg=c;y.push(c);c.toFront();n.setCN(a,c,"balloon-bg");this.className&&n.setCN(a,c,"balloon-bg-"+this.className);v=1*this.deltaSignX;nt+=this.sdx;k+=this.sdy;w.left=nt+"px";w.top=k+"px";y.translate(i-v,t,1,!0);c=c.getBBox();this.bottom=t+u+1;this.yPos=c.y+t;et&&et.translate(this.pointToX-i+v,o-t);o=this.animationDuration;0<this.animationDuration&&!ot&&!isNaN(this.prevX)&&(y.translate(this.prevX,this.prevY,NaN,!0),y.animate({translate:i-v+","+t},o,"easeOutSine"),s&&(w.left=this.prevTX+"px",w.top=this.prevTY+"px",this.xAnim=a.animate({node:s},"left",this.prevTX,nt,o,"easeOutSine","px"),this.yAnim=a.animate({node:s},"top",this.prevTY,k,o,"easeOutSine","px")));this.prevX=i-v;this.prevY=t;this.prevTX=nt;this.prevTY=k}}},fixPrevious:function(){this.rPrevX=this.prevX;this.rPrevY=this.prevY;this.rPrevTX=this.prevTX;this.rPrevTY=this.prevTY},restorePrevious:function(){this.prevX=this.rPrevX;this.prevY=this.rPrevY;this.prevTX=this.rPrevTX;this.prevTY=this.rPrevTY},followMouse:function(){var n,t,i;if(this.follow&&this.show&&(n=this.chart.mouseX-this.offsetX*this.deltaSignX-this.sdx,t=this.chart.mouseY-this.sdy,this.pointToX=n,this.pointToY=t,n!=this.previousX||t!=this.previousY))if(this.previousX=n,this.previousY=t,0===this.cornerRadius)this.draw();else if(i=this.set,i){var r=i.getBBox(),n=n-r.width/2,u=t-r.height-10;n<this.l&&(n=this.l);n>this.r-r.width&&(n=this.r-r.width);u<this.t&&(u=t+10);i.translate(n,u);t=this.textDiv.style;t.left=n+this.horizontalPadding+"px";t.top=u+this.verticalPadding+"px"}},changeColor:function(n){this.balloonColor=n},setBounds:function(n,t,i,r){this.l=n;this.t=t;this.r=i;this.b=r;this.destroyTO&&clearTimeout(this.destroyTO)},showBalloon:function(n){(this.text!=n||this.positionChanged)&&(this.text=n,this.isHiding=!1,this.show=!0,this.destroyTO&&clearTimeout(this.destroyTO),n=this.chart,this.fadeAnim1&&n.stopAnim(this.fadeAnim1),this.fadeAnim2&&n.stopAnim(this.fadeAnim2),this.draw(),this.positionChanged=!1)},hide:function(n){var t=this,r,i;t.text=void 0;isNaN(n)&&(n=t.fadeOutDuration);r=t.chart;0<n&&!t.isHiding?(t.isHiding=!0,t.destroyTO&&clearTimeout(t.destroyTO),t.destroyTO=setTimeout(function(){t.destroy.call(t)},1e3*n),t.follow=!1,t.show=!1,i=t.set,i&&(i.setAttr("opacity",t.fillAlpha),t.fadeAnim1=i.animate({opacity:0},n,"easeInSine")),t.textDiv&&(t.fadeAnim2=r.animate({node:t.textDiv},"opacity",1,0,n,"easeInSine",""))):(t.show=!1,t.follow=!1,t.destroy())},setPosition:function(n,t){(n!=this.pointToX||t!=this.pointToY)&&(this.previousX=this.pointToX,this.previousY=this.pointToY,this.pointToX=n,this.pointToY=t,this.positionChanged=!0)},followCursor:function(n){var t=this,i,r;t.follow=n;clearInterval(t.interval);i=t.chart.mouseX-t.sdx;r=t.chart.mouseY-t.sdy;!isNaN(i)&&n&&(t.pointToX=i-t.offsetX*t.deltaSignX,t.pointToY=r,t.followMouse(),t.interval=setInterval(function(){t.followMouse.call(t)},40))},removeDiv:function(){if(this.textDiv){var n=this.textDiv.parentNode;n&&n.removeChild(this.textDiv)}},destroy:function(){clearInterval(this.interval);n.remove(this.set);this.removeDiv();this.set=null}})}(),function(){var n=window.AmCharts;n.circle=function(t,i,r,u,f,e,o,s,h){return 0>=i&&(i=.001),(void 0==f||0===f)&&(f=.01),void 0===e&&(e="#000000"),void 0===o&&(o=0),u={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o},t=isNaN(h)?t.circle(0,0,i).attr(u):t.ellipse(0,0,i,h).attr(u),s&&t.gradient("radialGradient",[r,n.adjustLuminosity(r,-.6)]),t};n.text=function(t,i,r,u,f,e,o,s){return e||(e="middle"),"right"==e&&(e="end"),"left"==e&&(e="start"),isNaN(s)&&(s=1),void 0!==i&&(i=String(i),n.isIE&&!n.isModern&&(i=i.replace("&amp;","&"),i=i.replace("&","&amp;"))),r={fill:r,"font-family":u,"font-size":f+"px",opacity:s},!0===o&&(r["font-weight"]="bold"),r["text-anchor"]=e,t.text(i,r)};n.polygon=function(t,i,r,u,f,e,o,s,h,c,l){isNaN(e)&&(e=.01);isNaN(s)&&(s=f);var a=u,v=!1;for("object"==typeof a&&1<a.length&&(v=!0,a=a[0]),void 0===o&&(o=a),f={fill:a,stroke:o,"fill-opacity":f,"stroke-width":e,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),l=n.dx,e=n.dy,t.handDrawn&&(r=n.makeHD(i,r,t.handDrawScatter),i=r[0],r=r[1]),o=Math.round,c&&(o=Number),s="M"+(o(i[0])+l)+","+(o(r[0])+e),a=1;a<i.length;a++)c&&(i[a]=n.roundTo(i[a],5),r[a]=n.roundTo(r[a],5)),s+=" L"+(o(i[a])+l)+","+(o(r[a])+e);return t=t.path(s+" Z").attr(f),v&&t.gradient("linearGradient",u,h),t};n.rect=function(t,i,r,u,f,e,o,s,h,c,l){var a,p,v,y;return isNaN(i)||isNaN(r)?t.set():(isNaN(e)&&(e=0),void 0===h&&(h=0),void 0===c&&(c=270),isNaN(f)&&(f=0),a=u,p=!1,"object"==typeof a&&(a=a[0],p=!0),void 0===o&&(o=a),void 0===s&&(s=f),i=Math.round(i),r=Math.round(r),v=0,y=0,0>i&&(i=Math.abs(i),v=-i),0>r&&(r=Math.abs(r),y=-r),v+=n.dx,y+=n.dy,f={fill:a,stroke:o,"fill-opacity":f,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),t=t.rect(v,y,i,r,h,e).attr(f),p&&t.gradient("linearGradient",u,c),t)};n.bullet=function(t,i,r,u,f,e,o,s,h,c,l,a,v){var y;"circle"==i&&(i="round");switch(i){case"round":y=n.circle(t,r/2,u,f,e,o,s);break;case"square":y=n.polygon(t,[-r/2,r/2,r/2,-r/2],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"rectangle":y=n.polygon(t,[-r,r,r,-r],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"diamond":y=n.polygon(t,[-r/2,0,r/2,0],[0,-r/2,0,r/2],u,f,e,o,s);break;case"triangleUp":y=n.triangle(t,r,0,u,f,e,o,s);break;case"triangleDown":y=n.triangle(t,r,180,u,f,e,o,s);break;case"triangleLeft":y=n.triangle(t,r,270,u,f,e,o,s);break;case"triangleRight":y=n.triangle(t,r,90,u,f,e,o,s);break;case"bubble":y=n.circle(t,r/2,u,f,e,o,s,!0);break;case"line":y=n.line(t,[-r/2,r/2],[0,0],u,f,e,o,s);break;case"yError":y=t.set();y.push(n.line(t,[0,0],[-r/2,r/2],u,f,e));y.push(n.line(t,[-h,h],[-r/2,-r/2],u,f,e));y.push(n.line(t,[-h,h],[r/2,r/2],u,f,e));break;case"xError":y=t.set();y.push(n.line(t,[-r/2,r/2],[0,0],u,f,e));y.push(n.line(t,[-r/2,-r/2],[-h,h],u,f,e));y.push(n.line(t,[r/2,r/2],[-h,h],u,f,e))}return y&&y.pattern(l,NaN,a),y};n.triangle=function(n,t,i,r,u,f,e,o){(void 0===f||0===f)&&(f=1);void 0===e&&(e="#000");void 0===o&&(o=0);r={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o};t/=2;var s;return 0===i&&(s=" M"+-t+","+t+" L0,"+-t+" L"+t+","+t+" Z"),180==i&&(s=" M"+-t+","+-t+" L0,"+t+" L"+t+","+-t+" Z"),90==i&&(s=" M"+-t+","+-t+" L"+t+",0 L"+-t+","+t+" Z"),270==i&&(s=" M"+-t+",0 L"+t+","+t+" L"+t+","+-t+" Z"),n.path(s).attr(r)};n.line=function(t,i,r,u,f,e,o,s,h,c,l){if(t.handDrawn&&!l)return n.handDrawnLine(t,i,r,u,f,e,o,s,h,c,l);for(e={fill:"none","stroke-width":e},void 0!==o&&0<o&&(e["stroke-dasharray"]=o),isNaN(f)||(e["stroke-opacity"]=f),u&&(e.stroke=u),u=Math.round,c&&(u=Number,i[0]=n.roundTo(i[0],5),r[0]=n.roundTo(r[0],5)),c=n.dx,f=n.dy,o="M"+(u(i[0])+c)+","+(u(r[0])+f),s=1;s<i.length;s++)i[s]=n.roundTo(i[s],5),r[s]=n.roundTo(r[s],5),o+=" L"+(u(i[s])+c)+","+(u(r[s])+f);return n.VML?t.path(o,void 0,!0).attr(e):(h&&(o+=" M0,0 L0,0"),t.path(o).attr(e))};n.makeHD=function(n,t,i){for(var a,c=[],l=[],r=1;r<n.length;r++)for(var f=Number(n[r-1]),e=Number(t[r-1]),o=Number(n[r]),s=Number(t[r]),h=Math.round(Math.sqrt(Math.pow(o-f,2)+Math.pow(s-e,2))/50)+1,o=(o-f)/h,s=(s-e)/h,u=0;u<=h;u++)a=e+u*s+Math.random()*i,c.push(f+u*o+Math.random()*i),l.push(a);return[c,l]};n.handDrawnLine=function(t,i,r,u,f,e,o,s,h,c){for(var p=t.set(),l=1;l<i.length;l++)for(var y=[i[l-1],i[l]],v=[r[l-1],r[l]],v=n.makeHD(y,v,t.handDrawScatter),y=v[0],v=v[1],a=1;a<y.length;a++)p.push(n.line(t,[y[a-1],y[a]],[v[a-1],v[a]],u,f,e+Math.random()*t.handDrawThickness-t.handDrawThickness/2,o,s,h,c,!0));return p};n.doNothing=function(n){return n};n.drop=function(n,t,i,r,u,f,e,o){var s=1/180*Math.PI,h=i-20,v=Math.sin(h*s)*t,y=Math.cos(h*s)*t,p=Math.sin((h+40)*s)*t,w=Math.cos((h+40)*s)*t,a=.8*t,c=-t/3,l=t/3;return 0===i&&(c=-c,l=0),180==i&&(l=0),90==i&&(c=0),270==i&&(c=0,l=-l),i={fill:r,stroke:e,"stroke-width":f,"stroke-opacity":o,"fill-opacity":u},t="M"+v+","+y+" A"+t+","+t+",0,1,1,"+p+","+w+(" A"+a+","+a+",0,0,0,"+(Math.sin((h+20)*s)*t+l)+","+(Math.cos((h+20)*s)*t+c)),t+=" A"+a+","+a+",0,0,0,"+v+","+y,n.path(t,void 0,void 0,"1000,1000").attr(i)};n.wedge=function(t,i,r,u,f,e,o,s,h,c,l,a,v,y){var p=Math.round,st,ut,ct,ht,lt;e=p(e);o=p(o);s=p(s);var k=p(o/e*s),et=n.VML,b=359.5+e/100;359.94<b&&(b=359.94);f>=b&&(f=b);var w=1/180*Math.PI,b=i+Math.sin(u*w)*s,d=r-Math.cos(u*w)*k,g=i+Math.sin(u*w)*e,nt=r-Math.cos(u*w)*o,tt=i+Math.sin((u+f)*w)*e,it=r-Math.cos((u+f)*w)*o,rt=i+Math.sin((u+f)*w)*s,w=r-Math.cos((u+f)*w)*k,ft={fill:n.adjustLuminosity(c.fill,-.2),"stroke-opacity":0,"fill-opacity":c["fill-opacity"]},ot=0;if(180<Math.abs(f)&&(ot=1),u=t.set(),et&&(b=p(10*b),g=p(10*g),tt=p(10*tt),rt=p(10*rt),d=p(10*d),nt=p(10*nt),it=p(10*it),w=p(10*w),i=p(10*i),h=p(10*h),r=p(10*r),e*=10,o*=10,s*=10,k*=10,1>Math.abs(f)&&1>=Math.abs(tt-g)&&1>=Math.abs(it-nt)&&(st=!0)),f="",a&&(ft["fill-opacity"]=0,ft["stroke-opacity"]=c["stroke-opacity"]/2,ft.stroke=c.stroke),0<h){for(ut=" M"+b+","+(d+h)+" L"+g+","+(nt+h),et?(st||(ut+=" A"+(i-e)+","+(h+r-o)+","+(i+e)+","+(h+r+o)+","+g+","+(nt+h)+","+tt+","+(it+h)),ut+=" L"+rt+","+(w+h),0<s&&(st||(ut+=" B"+(i-s)+","+(h+r-k)+","+(i+s)+","+(h+r+k)+","+rt+","+(h+w)+","+b+","+(h+d)))):(ut+=" A"+e+","+o+",0,"+ot+",1,"+tt+","+(it+h)+" L"+rt+","+(w+h),0<s&&(ut+=" A"+s+","+k+",0,"+ot+",0,"+b+","+(d+h))),ut+=" Z",ct=h,et&&(ct/=10),ht=0;ht<ct;ht+=10)lt=t.path(ut,void 0,void 0,"1000,1000").attr(ft),u.push(lt),lt.translate(0,-ht);ut=t.path(" M"+b+","+d+" L"+b+","+(d+h)+" L"+g+","+(nt+h)+" L"+g+","+nt+" L"+b+","+d+" Z",void 0,void 0,"1000,1000").attr(ft);h=t.path(" M"+tt+","+it+" L"+tt+","+(it+h)+" L"+rt+","+(w+h)+" L"+rt+","+w+" L"+tt+","+it+" Z",void 0,void 0,"1000,1000").attr(ft);u.push(ut);u.push(h)}if(et?(st||(f=" A"+p(i-e)+","+p(r-o)+","+p(i+e)+","+p(r+o)+","+p(g)+","+p(nt)+","+p(tt)+","+p(it)),o=" M"+p(b)+","+p(d)+" L"+p(g)+","+p(nt)+f+" L"+p(rt)+","+p(w)):o=" M"+b+","+d+" L"+g+","+nt+(" A"+e+","+o+",0,"+ot+",1,"+tt+","+it)+" L"+rt+","+w,0<s&&(et?st||(o+=" B"+(i-s)+","+(r-k)+","+(i+s)+","+(r+k)+","+rt+","+w+","+b+","+d):o+=" A"+s+","+k+",0,"+ot+",0,"+b+","+d),t.handDrawn&&(s=n.line(t,[b,g],[d,nt],c.stroke,c.thickness*Math.random()*t.handDrawThickness,c["stroke-opacity"]),u.push(s)),t=t.path(o+" Z",void 0,void 0,"1000,1000").attr(c),l){for(s=[],k=0;k<l.length;k++)s.push(n.adjustLuminosity(c.fill,l[k]));"radial"!=y||n.isModern||(s=[]);0<s.length&&t.gradient(y+"Gradient",s)}return n.isModern&&"radial"==y&&t.grad&&(t.grad.setAttribute("gradientUnits","userSpaceOnUse"),t.grad.setAttribute("r",e),t.grad.setAttribute("cx",i),t.grad.setAttribute("cy",r)),t.pattern(a,NaN,v),u.wedge=t,u.push(t),u};n.rgb2hex=function(n){return(n=n.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===n.length?"#"+("0"+parseInt(n[1],10).toString(16)).slice(-2)+("0"+parseInt(n[2],10).toString(16)).slice(-2)+("0"+parseInt(n[3],10).toString(16)).slice(-2):""};n.adjustLuminosity=function(t,i){t&&-1!=t.indexOf("rgb")&&(t=n.rgb2hex(t));t=String(t).replace(/[^0-9a-f]/gi,"");6>t.length&&(t=String(t[0])+String(t[0])+String(t[1])+String(t[1])+String(t[2])+String(t[2]));i=i||0;for(var f="#",r,u=0;3>u;u++)r=parseInt(t.substr(2*u,2),16),r=Math.round(Math.min(Math.max(0,r+r*i),255)).toString(16),f+=("00"+r).substr(r.length);return f}}(),function(){var n=window.AmCharts;n.AmLegend=n.Class({construct:function(t){this.enabled=!0;this.cname="AmLegend";this.createEvents("rollOverMarker","rollOverItem","rollOutMarker","rollOutItem","showItem","hideItem","clickMarker","clickLabel");this.position="bottom";this.borderColor=this.color="#000000";this.borderAlpha=0;this.markerLabelGap=5;this.verticalGap=10;this.align="left";this.horizontalGap=0;this.spacing=10;this.markerDisabledColor="#AAB3B3";this.markerType="square";this.markerSize=16;this.markerBorderThickness=this.markerBorderAlpha=1;this.marginBottom=this.marginTop=0;this.marginLeft=this.marginRight=20;this.autoMargins=!0;this.valueWidth=50;this.switchable=!0;this.switchType="x";this.switchColor="#FFFFFF";this.rollOverColor="#CC0000";this.reversedOrder=!1;this.labelText="[[title]]";this.valueText="[[value]]";this.accessibleLabel="[[title]]";this.useMarkerColorForLabels=!1;this.rollOverGraphAlpha=1;this.textClickEnabled=!1;this.equalWidths=!0;this.backgroundColor="#FFFFFF";this.backgroundAlpha=0;this.useGraphSettings=!1;this.showEntries=!0;this.labelDx=0;n.applyTheme(this,t,this.cname)},setData:function(n){this.legendData=n;this.invalidateSize()},invalidateSize:function(){this.destroy();this.entries=[];this.valueLabels=[];var t=this.legendData;this.enabled&&(n.ifArray(t)||n.ifArray(this.data))&&this.drawLegend()},drawLegend:function(){var t=this.chart,r=this.position,u=this.width,s=t.divRealWidth,i=t.divRealHeight,f=this.div,e=this.legendData,o;if(this.data&&(e=this.combineLegend?this.legendData.concat(this.data):this.data),isNaN(this.fontSize)&&(this.fontSize=t.fontSize),this.maxColumnsReal=this.maxColumns,"right"==r||"left"==r?(this.maxColumnsReal=1,this.autoMargins&&(this.marginLeft=this.marginRight=10)):this.autoMargins&&(this.marginRight=t.marginRight,this.marginLeft=t.marginLeft,o=t.autoMarginOffset,"bottom"==r?(this.marginBottom=o,this.marginTop=0):(this.marginTop=o,this.marginBottom=0)),u=void 0!==u?n.toCoordinate(u,s):"right"!=r&&"left"!=r?t.realWidth:0<this.ieW?this.ieW:t.realWidth,"outside"==r?(u=f.offsetWidth,i=f.offsetHeight,f.clientHeight&&(u=f.clientWidth,i=f.clientHeight)):(isNaN(u)||(f.style.width=u+"px"),f.className="amChartsLegend "+t.classNamePrefix+"-legend-div"),this.divWidth=u,(r=this.container)?(r.container.innerHTML="",f.appendChild(r.container),r.width=u,r.height=i,r.setSize(u,i),r.addDefs(t)):r=new n.AmDraw(f,u,i,t),this.container=r,this.lx=0,this.ly=8,i=this.markerSize,i>this.fontSize&&(this.ly=i/2-1),0<i&&(this.lx+=i+this.markerLabelGap),this.titleWidth=0,(i=this.title)&&(i=n.text(this.container,i,this.color,t.fontFamily,this.fontSize,"start",!0),n.setCN(t,i,"legend-title"),i.translate(this.marginLeft,this.marginTop+this.verticalGap+this.ly+1),t=i.getBBox(),this.titleWidth=t.width+15,this.titleHeight=t.height+6),this.index=this.maxLabelWidth=0,this.showEntries){for(t=0;t<e.length;t++)this.createEntry(e[t]);for(t=this.index=0;t<e.length;t++)this.createValue(e[t])}this.arrangeEntries();this.updateValues()},arrangeEntries:function(){var f=this.position,e=this.marginLeft+this.titleWidth,c=this.marginRight,o=this.marginTop,ut=this.marginBottom,s=this.horizontalGap,tt=this.div,y=this.divWidth,h=this.maxColumnsReal,nt=this.verticalGap,i=this.spacing,ft=y-c-e,it=0,p=0,rt=this.container,w,b,l,t,r,u,g,v;for(this.set&&this.set.remove(),w=rt.set(),this.set=w,b=rt.set(),w.push(b),l=this.entries,r=0;r<l.length;r++)t=l[r].getBBox(),u=t.width,u>it&&(it=u),t=t.height,t>p&&(p=t);var u=p=0,k=s,d=0,a=0;for(r=0;r<l.length;r++)g=l[r],this.reversedOrder&&(g=l[l.length-r-1]),t=g.getBBox(),this.equalWidths?v=u*(it+i+this.markerLabelGap):(v=k,k=k+t.width+s+i),v+t.width>ft&&0<r&&0!==u&&(p++,v=u=0,k=v+t.width+s+i,d=d+a+nt,a=0),t.height>a&&(a=t.height),g.translate(v,d),u++,!isNaN(h)&&u>=h&&(u=0,p++,d=d+a+nt,k=s,a=0),b.push(g);t=b.getBBox();h=t.height+2*nt-1;"left"==f||"right"==f?(i=t.width+2*s,y=i+e+c,tt.style.width=y+"px",this.ieW=y):i=y-e-c-1;c=n.polygon(this.container,[0,i,i,0],[0,0,h,h],this.backgroundColor,this.backgroundAlpha,1,this.borderColor,this.borderAlpha);n.setCN(this.chart,c,"legend-bg");w.push(c);w.translate(e,o);c.toBack();e=s;("top"==f||"bottom"==f||"absolute"==f||"outside"==f)&&("center"==this.align?e=s+(i-t.width)/2:"right"==this.align&&(e=s+i-t.width));b.translate(e,nt+1);this.titleHeight>h&&(h=this.titleHeight);o=h+o+ut+1;0>o&&(o=0);"absolute"!=f&&"outside"!=f&&o>this.chart.divRealHeight&&(tt.style.top="0px");tt.style.height=Math.round(o)+"px";rt.setSize(this.divWidth,o)},createEntry:function(t){var f,b,s,l,u,y,d,h,a;if(!1!==t.visibleInLegend&&!t.hideFromLegend){var i=this,e=i.chart,v=i.useGraphSettings,p=t.markerType;p&&(v=!1);t.legendEntryWidth=i.markerSize;p||(p=i.markerType);f=t.color;b=t.alpha;t.legendKeyColor&&(f=t.legendKeyColor());t.legendKeyAlpha&&(b=t.legendKeyAlpha());!0===t.hidden&&(s=f=i.markerDisabledColor);l=t.pattern;y=t.customMarker;y||(y=i.customMarker);var o=i.container,r=i.markerSize,c=0,k=0,w=r/2;v?(v=t.type,i.switchType=void 0,"line"==v||"step"==v||"smoothedLine"==v||"ohlc"==v?(u=o.set(),t.hidden||(f=t.lineColorR,s=t.bulletBorderColorR),c=n.line(o,[0,2*r],[r/2,r/2],f,t.lineAlpha,t.lineThickness,t.dashLength),n.setCN(e,c,"graph-stroke"),u.push(c),t.bullet&&(t.hidden||(f=t.bulletColorR),c=n.bullet(o,t.bullet,t.bulletSize,f,t.bulletAlpha,t.bulletBorderThickness,s,t.bulletBorderAlpha))&&(n.setCN(e,c,"graph-bullet"),c.translate(r+1,r/2),u.push(c)),w=0,c=r,k=r/3):(t.getGradRotation&&(u=t.getGradRotation(),0===u&&(u=180)),c=t.fillColorsR,!0===t.hidden&&(c=f),(u=i.createMarker("rectangle",c,t.fillAlphas,t.lineThickness,f,t.lineAlpha,u,l,t.dashLength))&&(w=r,u.translate(w,r/2)),c=r),n.setCN(e,u,"graph-"+v),n.setCN(e,u,"graph-"+t.id)):y?u=o.image(y,0,0,r,r):(isNaN(i.gradientRotation)||(d=180+i.gradientRotation),(u=i.createMarker(p,f,b,void 0,void 0,void 0,d,l))&&u.translate(r/2,r/2));n.setCN(e,u,"legend-marker");i.addListeners(u,t);o=o.set([u]);i.switchable&&t.switchable&&o.setAttr("cursor","pointer");void 0!==t.id&&n.setCN(e,o,"legend-item-"+t.id);n.setCN(e,o,t.className,!0);s=i.switchType;s&&"none"!=s&&0<r&&("x"==s?(h=i.createX(),h.translate(r/2,r/2)):h=i.createV(),h.dItem=t,!0!==t.hidden?"x"==s?h.hide():h.show():"x"!=s&&h.hide(),i.switchable||h.hide(),i.addListeners(h,t),t.legendSwitch=h,o.push(h),n.setCN(e,h,"legend-switch"));s=i.color;t.showBalloon&&i.textClickEnabled&&void 0!==i.selectedColor&&(s=i.selectedColor);i.useMarkerColorForLabels&&!l&&(s=f);!0===t.hidden&&(s=i.markerDisabledColor);f=n.massReplace(i.labelText,{"[[title]]":t.title});void 0!==i.tabIndex&&(o.setAttr("tabindex",i.tabIndex),o.setAttr("role","menuitem"),o.keyup(function(n){13==n.keyCode&&i.clickMarker(t,n)}));e.accessible&&i.accessibleLabel&&(l=n.massReplace(i.accessibleLabel,{"[[title]]":t.title}),e.makeAccessible(o,l));l=i.fontSize;u&&(r<=l&&(r=r/2+i.ly-l/2+(l+2-r)/2-k,u.translate(w,r),h&&h.translate(h.x,r)),t.legendEntryWidth=u.getBBox().width);f&&(f=n.fixBrakes(f),t.legendTextReal=f,a=i.labelWidth,a=isNaN(a)?n.text(i.container,f,s,e.fontFamily,l,"start"):n.wrappedText(i.container,f,s,e.fontFamily,l,"start",!1,a,0),n.setCN(e,a,"legend-label"),a.translate(i.lx+c,i.ly),o.push(a),i.labelDx=c,e=a.getBBox().width,i.maxLabelWidth<e&&(i.maxLabelWidth=e));i.entries[i.index]=o;t.legendEntry=i.entries[i.index];t.legendMarker=u;t.legendLabel=a;i.index++}},addListeners:function(n,t){var i=this;n&&n.mouseover(function(n){i.rollOverMarker(t,n)}).mouseout(function(n){i.rollOutMarker(t,n)}).click(function(n){i.clickMarker(t,n)})},rollOverMarker:function(n,t){this.switchable&&this.dispatch("rollOverMarker",n,t);this.dispatch("rollOverItem",n,t)},rollOutMarker:function(n,t){this.switchable&&this.dispatch("rollOutMarker",n,t);this.dispatch("rollOutItem",n,t)},clickMarker:function(n,t){this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t));this.dispatch("clickMarker",n,t)},rollOverLabel:function(n,t){n.hidden||this.textClickEnabled&&n.legendLabel&&n.legendLabel.attr({fill:this.rollOverColor});this.dispatch("rollOverItem",n,t)},rollOutLabel:function(n,t){if(!n.hidden&&this.textClickEnabled&&n.legendLabel){var i=this.color;void 0!==this.selectedColor&&n.showBalloon&&(i=this.selectedColor);this.useMarkerColorForLabels&&(i=n.lineColor,void 0===i&&(i=n.color));n.legendLabel.attr({fill:i})}this.dispatch("rollOutItem",n,t)},clickLabel:function(n,t){this.textClickEnabled?n.hidden||this.dispatch("clickLabel",n,t):this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t))},dispatch:function(n,t,i){n={type:n,dataItem:t,target:this,event:i,chart:this.chart};this.chart&&this.chart.handleLegendEvent(n);this.fire(n)},createValue:function(t){var i=this,r=i.fontSize,o=i.chart,u,f,s;if(!1!==t.visibleInLegend&&!t.hideFromLegend){u=i.maxLabelWidth;f=0;i.forceWidth&&(u=i.labelWidth);i.equalWidths||(i.valueAlign="left");f={x:0,y:0,width:0,height:0};t.legendLabel&&(f=t.legendLabel.getBBox());"left"==i.valueAlign&&(u=f.width);var f=f.height,h=u,e=i.markerSize;if(e<r+7&&(e=r+7,n.VML&&(e+=3)),i.valueText&&0<i.valueWidth){s=i.color;i.useMarkerColorForValues&&(s=t.color,t.legendKeyColor&&(s=t.legendKeyColor()));!0===t.hidden&&(s=i.markerDisabledColor);var l=i.valueText,u=u+i.lx+i.labelDx+i.markerLabelGap+i.valueWidth,c="end";"left"==i.valueAlign&&(u-=i.valueWidth,c="start");r=n.text(i.container,l,s,i.chart.fontFamily,r,c);n.setCN(o,r,"legend-value");r.translate(u,i.ly);i.entries[i.index].push(r);h+=i.valueWidth+2*i.markerLabelGap;r.dItem=t;i.valueLabels.push(r);e<f+5&&(e=f+5)}i.index++;o=i.container.rect(t.legendEntryWidth,0,h,e,0,0).attr({stroke:"none",fill:"#fff","fill-opacity":.005});o.dItem=t;i.entries[i.index-1].push(o);o.mouseover(function(n){i.rollOverLabel(t,n)}).mouseout(function(n){i.rollOutLabel(t,n)}).click(function(n){i.clickLabel(t,n)})}},createV:function(){var t=this.markerSize;return n.polygon(this.container,[t/5,t/2,t-t/5,t/2],[t/3,t-t/5,t/5,t/1.7],this.switchColor)},createX:function(){var t=(this.markerSize-4)/2,i={stroke:this.switchColor,"stroke-width":3},r=this.container,u=n.line(r,[-t,t],[-t,t]).attr(i),t=n.line(r,[-t,t],[t,-t]).attr(i);return this.container.set([u,t])},createMarker:function(t,i,r,u,f,e,o,s,h){var c=this.markerSize,l=this.container;return f||(f=this.markerBorderColor),f||(f=i),isNaN(u)&&(u=this.markerBorderThickness),isNaN(e)&&(e=this.markerBorderAlpha),n.bullet(l,t,c,i,r,u,f,e,c,o,s,this.chart.path,h)},validateNow:function(){this.invalidateSize()},updateValues:function(){var h=this.valueLabels,o=this.chart,s,l=this.data,i,t,r,f,u,c,e;if(h)for(s=0;s<h.length;s++)i=h[s],t=i.dItem,t.periodDataItem=void 0,t.periodPercentDataItem=void 0,r=" ",l?t.value?i.text(t.value):i.text(""):(f=null,void 0!==t.type?(f=t.currentDataItem,u=this.periodValueText,t.legendPeriodValueText&&(u=t.legendPeriodValueText),t.legendPeriodValueTextR&&(u=t.legendPeriodValueTextR),f?(r=this.valueText,t.legendValueText&&(r=t.legendValueText),t.legendValueTextR&&(r=t.legendValueTextR),r=o.formatString(r,f)):u&&o.formatPeriodString&&(u=n.massReplace(u,{"[[title]]":t.title}),r=o.formatPeriodString(u,t))):r=o.formatString(this.valueText,t),u=t,f&&(u=f),c=this.valueFunction,c&&(r=c(u,r,o.periodDataItem)),this.useMarkerColorForLabels&&!f&&t.lastDataItem&&(f=t.lastDataItem),f?e=o.getBalloonColor(t,f):t.legendKeyColor&&(e=t.legendKeyColor()),t.legendColorFunction&&(e=t.legendColorFunction(u,r,t.periodDataItem,t.periodPercentDataItem)),i.text(r),!t.pattern&&(this.useMarkerColorForValues&&i.setAttr("fill",e),this.useMarkerColorForLabels)&&((i=t.legendMarker)&&(i.setAttr("fill",e),i.setAttr("stroke",e)),(i=t.legendLabel)&&(t.hidden?i.setAttr("fill",this.markerDisabledColor):i.setAttr("fill",e))))},renderFix:function(){if(!n.VML&&this.enabled){var t=this.container;t&&t.renderFix()}},destroy:function(){this.div.innerHTML="";n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.AmMap=n.Class({inherits:n.AmChart,construct:function(t){this.cname="AmMap";this.type="map";this.theme=t;this.svgNotSupported="This browser doesn't support SVG. Use Chrome, Firefox, Internet Explorer 9 or later.";this.createEvents("rollOverMapObject","rollOutMapObject","clickMapObject","mouseDownMapObject","selectedObjectChanged","homeButtonClicked","zoomCompleted","dragCompleted","positionChanged","writeDevInfo","click","descriptionClosed");this.zoomDuration=.6;this.zoomControl=new n.ZoomControl(t);this.fitMapToContainer=!0;this.mouseWheelZoomEnabled=this.backgroundZoomsToTop=!1;this.allowClickOnSelectedObject=this.useHandCursorOnClickableOjects=this.showBalloonOnSelectedObject=!0;this.showObjectsAfterZoom=this.wheelBusy=!1;this.zoomOnDoubleClick=this.useObjectColorForBalloon=!0;this.allowMultipleDescriptionWindows=!1;this.dragMap=this.centerMap=this.linesAboveImages=!0;this.colorSteps=5;this.forceNormalize=!1;this.showAreasInList=!0;this.showLinesInList=this.showImagesInList=!1;this.areasProcessor=new n.AreasProcessor(this);this.areasSettings=new n.AreasSettings(t);this.imagesProcessor=new n.ImagesProcessor(this);this.imagesSettings=new n.ImagesSettings(t);this.linesProcessor=new n.LinesProcessor(this);this.linesSettings=new n.LinesSettings(t);this.initialTouchZoom=1;this.showDescriptionOnHover=!1;n.AmMap.base.construct.call(this,t);this.creditsPosition="bottom-left";this.product="ammap";this.areasClasses={};this.updatableImages=[];n.applyTheme(this,t,this.cname)},initChart:function(){var t,i;this.zoomInstantly=!0;t=this.container;this.panRequired=!0;this.sizeChanged&&n.hasSVG&&this.chartCreated?(this.updatableImages=[],this.freeLabelsSet&&this.freeLabelsSet.remove(),this.freeLabelsSet=t.set(),this.container.setSize(this.realWidth,this.realHeight),this.resizeMap(),this.drawBackground(),this.redrawLabels(),this.drawTitles(),this.processObjects(!0),this.rescaleObjects(),this.zoomControl.init(this,t),this.drawBg(),i=this.smallMap,i&&i.init(this,t),(i=this.valueLegend)&&i.init(this,t),this.sizeChanged=!1,this.zoomToLongLat(this.zLevelTemp,this.zLongTemp,this.zLatTemp,!0),this.previousWidth=this.realWidth,this.previousHeight=this.realHeight,this.updateSmallMap(),this.linkSet.toFront(),this.zoomControl.update&&this.zoomControl.update()):(n.AmMap.base.initChart.call(this),n.hasSVG)?(this.dataChanged&&(this.parseData(),this.dispatchDataUpdated=!0,this.dataChanged=!1,t=this.legend)&&(t.position="absolute",t.invalidateSize()),this.createDescriptionsDiv(),this.svgAreas=[],this.svgAreasById={},this.drawChart()):(this.chartDiv.style.textAlign="",this.chartDiv.setAttribute("class","ammapAlert"),this.chartDiv.innerHTML=this.svgNotSupported,this.fire({type:"failed",chart:this}))},storeTemp:function(){if(n.hasSVG&&0<this.realWidth&&0<this.realHeight){var t=this.mapContainer.getBBox();0<t.width&&0<t.height&&(t=this.zoomLongitude(),isNaN(t)||(this.zLongTemp=t),t=this.zoomLatitude(),isNaN(t)||(this.zLatTemp=t),t=this.zoomLevel(),isNaN(t)||(this.zLevelTemp=t))}},invalidateSize:function(){this.storeTemp();n.AmMap.base.invalidateSize.call(this)},validateSize:function(){this.storeTemp();n.AmMap.base.validateSize.call(this)},handleWheelReal:function(t){if(!this.wheelBusy){this.stopAnimation();var r=this.zoomLevel(),u=this.zoomControl,i=u.zoomFactor;this.wheelBusy=!0;t=n.fitToBounds(0<t?r*i:r/i,u.minZoomLevel,u.maxZoomLevel);i=this.mouseX/this.mapWidth;u=this.mouseY/this.mapHeight;i=(this.zoomX()-i)*(t/r)+i;r=(this.zoomY()-u)*(t/r)+u;this.zoomTo(t,i,r)}},addLegend:function(t,i){return t.position="absolute",t.autoMargins=!1,t.valueWidth=0,t.switchable=!1,n.AmMap.base.addLegend.call(this,t,i),void 0===t.enabled&&(t.enabled=!0),t},handleLegendEvent:function(){},createDescriptionsDiv:function(){if(!this.descriptionsDiv){var t=document.createElement("div"),n=t.style;n.position="absolute";n.left="0px";n.top="0px";this.descriptionsDiv=t}this.containerDiv.appendChild(this.descriptionsDiv)},drawChart:function(){var t,r,i;n.AmMap.base.drawChart.call(this);t=this.dataProvider;this.dataProvider=t=n.extend(t,new n.MapData,!0);this.areasSettings=n.processObject(this.areasSettings,n.AreasSettings,this.theme);this.imagesSettings=n.processObject(this.imagesSettings,n.ImagesSettings,this.theme);this.linesSettings=n.processObject(this.linesSettings,n.LinesSettings,this.theme);r=this.container;this.mapContainer&&this.mapContainer.remove();this.mapContainer=r.set();this.graphsSet.push(this.mapContainer);t.map&&(i=n.maps[t.map]);t.mapVar&&(i=t.mapVar);i?(this.svgData=i.svg,this.getBounds(),this.buildEverything()):(t=t.mapURL)&&this.loadXml(t);this.balloonsSet.toFront()},drawBg:function(){var n=this;n.background.click(function(){n.handleBackgroundClick()});n.background.mouseover(function(){n.rollOutMapObject(n.previouslyHovered)})},buildEverything:function(){var r,t,i;0<this.realWidth&&0<this.realHeight?(r=this.container,t=this.dataProvider,isNaN(t.zoomLevel)||(this.mapContainer.scale=t.zoomLevel),this.projection||(this.projection=t.projection,this.projection||(this.projection="equirectangular")),this.updatableImages=[],i=this.projection,i&&(this.projectionFunction=n[i]),this.projectionFunction||(this.projectionFunction=n.equirectangular),this.dpProjectionFunction=n[t.projection],this.dpProjectionFunction||(this.dpProjectionFunction=n.equirectangular),this.zoomControl=n.processObject(this.zoomControl,n.ZoomControl,this.theme),this.zoomControl.init(this,r),this.drawBg(),this.buildSVGMap(),this.projectionFunction&&i!=t.projection||this.forceNormalize?(this.normalizeMap(),this.changeProjection()):this.fixMapPosition(),(i=this.smallMap)&&(i=n.processObject(i,n.SmallMap,this.theme),i.init(this,r),this.smallMap=i),isNaN(t.zoomX)&&isNaN(t.zoomY)&&isNaN(t.zoomLatitude)&&isNaN(t.zoomLongitude)&&(this.centerMap?(i=this.xyToCoordinates(this.mapWidth/2,this.mapHeight/2),t.zoomLongitudeC=i.longitude,t.zoomLatitudeC=i.latitude):(t.zoomX=0,t.zoomY=0),this.zoomInstantly=!0),this.selectObject(this.dataProvider),this.processAreas(),(t=this.valueLegend)&&(this.valueLegend=t=n.processObject(t,n.ValueLegend,this.theme),t.init(this,r)),this.objectList&&(r=this.objectList=n.processObject(this.objectList,n.ObjectList))&&(this.clearObjectList(),r.init(this)),this.dispDUpd(),this.updateSmallMap(),this.linkSet.toFront()):this.cleanChart()},hideGroup:function(n){this.showHideGroup(n,!1)},showGroup:function(n){this.showHideGroup(n,!0)},showHideGroup:function(n,t){this.showHideReal(this.imagesProcessor.allObjects,n,t);this.showHideReal(this.areasProcessor.allObjects,n,t);this.showHideReal(this.linesProcessor.allObjects,n,t)},showHideReal:function(n,t,i){for(var r,f,u=0;u<n.length;u++)r=n[u],r.groupId==t&&(f=r.displayObject,f&&(i?(r.hidden=!1,f.show()):(r.hidden=!0,f.hide())))},makeObjectAccessible:function(n){if(n.accessibleLabel){var t=this.formatString(n.accessibleLabel,n);n.displayObject&&this.makeAccessible(n.displayObject,t,"menuitem")}},update:function(){if(n.hasSVG){n.AmMap.base.update.call(this);this.zoomControl&&this.zoomControl.update&&this.zoomControl.update();for(var t=0,i=this.updatableImages.length;t<i;t++)this.updatableImages[t].update()}},animateMap:function(){var t=this;t.totalFrames=t.zoomDuration*n.updateRate;t.totalFrames+=1;t.frame=0;t.tweenPercent=0;t.balloon.hide(0);setTimeout(function(){t.updateSize.call(t)},1e3/n.updateRate)},updateSize:function(){var t=this,i=t.totalFrames;t.preventHover=!0;t.frame<=i?(t.frame++,i=n.easeOutSine(0,t.frame,0,1,i),1<=i?(i=1,t.preventHover=!1,t.wheelBusy=!1):window.requestAnimationFrame?window.requestAnimationFrame(function(){t.updateSize.call(t)}):setTimeout(function(){t.updateSize.call(t)},1e3/n.updateRate),.8<i&&(t.preventHover=!1)):(i=1,t.preventHover=!1,t.wheelBusy=!1);t.tweenPercent=i;t.rescaleMapAndObjects()},rescaleMapAndObjects:function(){var r=this.initialScale,n=this.initialX,i=this.initialY,u=this.tweenPercent,r=r+(this.finalScale-r)*u,t,f;if(this.mapContainer.translate(n+(this.finalX-n)*u,i+(this.finalY-i)*u,r,!0),this.areasSettings.adjustOutlineThickness){for(n=this.svgAreas,t=0;t<n.length;t++)(i=n[t])&&i.setAttr("stroke-width",this.areasSettings.outlineThickness/r/this.mapScale);if(n=this.dataProvider.areas)for(t=0;t<n.length;t++)i=n[t],f=i.displayObject,f&&f.setAttr("stroke-width",i.outlineThicknessReal/r/this.mapScale)}this.rescaleObjects();this.positionChanged();this.updateSmallMap();1==u&&this.fire({type:"zoomCompleted",chart:this})},updateSmallMap:function(){this.smallMap&&this.smallMap.update()},rescaleObjects:function(){for(var f=this.mapContainer.scale,i=this.imagesProcessor.objectsToResize,n=0;n<i.length;n++){var t=i[n].image,r=i[n].scale,u=i[n].mapImage;isNaN(u.selectedScaleReal)||u!=this.selectedObject||(u.tempScale=r,r*=u.selectedScaleReal);t.translate(t.x,t.y,r/f,!0)}for(i=this.imagesProcessor.labelsToReposition,n=0;n<i.length;n++)t=i[n],t.imageLabel&&this.imagesProcessor.positionLabel(t.imageLabel,t,t.labelPositionReal);if(i=this.linesProcessor,t=i.linesToResize)for(n=0;n<t.length;n++)r=t[n],r.line.setAttr("stroke-width",r.thickness/f);for(i=i.objectsToResize,n=0;n<i.length;n++)t=i[n],t.translate(t.x,t.y,1/f,!0)},handleTouchEnd:function(t){this.initialDistance=NaN;this.mouseIsDown=this.isDragging=!1;n.AmMap.base.handleTouchEnd.call(this,t)},handleMouseDown:function(t){if(n.resetMouseOver(),this.mouseIsDown=this.mouseIsOver=!0,this.balloon.hide(0),t&&this.mouseIsOver&&t.preventDefault&&this.panEventsEnabled&&t.preventDefault(),this.chartCreated&&!this.preventHover&&(this.initialTouchZoom=this.zoomLevel(),this.dragMap&&(this.stopAnimation(),this.mapContainerClickX=this.mapContainer.x,this.mapContainerClickY=this.mapContainer.y),t||(t=window.event),t.shiftKey&&!0===this.developerMode&&this.getDevInfo(),t&&t.touches)){var r=this.mouseX,u=this.mouseY,i=t.touches.item(1);i&&this.panEventsEnabled&&this.boundingRect&&(t=i.clientX-this.boundingRect.left,i=i.clientY-this.boundingRect.top,this.middleXP=(r+(t-r)/2)/this.realWidth,this.middleYP=(u+(i-u)/2)/this.realHeight,this.initialDistance=Math.sqrt(Math.pow(t-r,2)+Math.pow(i-u,2)))}},stopDrag:function(){this.isDragging=!1},handleReleaseOutside:function(){var t,i;if(n.isModern){if(t=this,n.AmMap.base.handleReleaseOutside.call(t),t.mouseIsDown=!1,setTimeout(function(){t.resetPinch.call(t)},100),!t.preventHover){t.stopDrag();i=t.zoomControl;i&&i.draggerUp&&i.draggerUp();t.mapWasDragged=!1;var i=t.mapContainer,r=t.mapContainerClickX,u=t.mapContainerClickY;!isNaN(r)&&!isNaN(u)&&(3<Math.abs(i.x-r)||3<Math.abs(i.y-u))&&(t.mapWasDragged=!0,i={type:"dragCompleted",zoomX:t.zoomX(),zoomY:t.zoomY(),zoomLevel:t.zoomLevel(),chart:t},t.fire(i));(t.mouseIsOver&&!t.mapWasDragged&&!t.skipClick||t.wasTouched&&3>Math.abs(t.mouseX-t.tmx)&&3>Math.abs(t.mouseY-t.tmy))&&t.fire({type:"click",x:t.mouseX,y:t.mouseY,chart:t});t.mapContainerClickX=NaN;t.mapContainerClickY=NaN;t.objectWasClicked=!1;t.zoomOnDoubleClick&&t.mouseIsOver&&(i=(new Date).getTime(),200>i-t.previousClickTime&&40<i-t.previousClickTime&&t.doDoubleClickZoom(),t.previousClickTime=i)}t.wasTouched=!1}},resetPinch:function(){this.mapWasPinched=!1},handleMouseMove:function(t){var i=this,r,o,v,e;if(n.AmMap.base.handleMouseMove.call(i,t),!t||!t.touches||!i.tapToActivate||i.tapped){i.panEventsEnabled&&i.mouseIsOver&&t&&t.preventDefault&&t.preventDefault();var u=i.previuosMouseX,f=i.previuosMouseY,s=i.mouseX,h=i.mouseY,c=i.zoomControl;if(isNaN(u)&&(u=s),isNaN(f)&&(f=h),i.mouse2X=NaN,i.mouse2Y=NaN,t&&t.touches&&(t=t.touches.item(1))&&i.panEventsEnabled&&i.boundingRect&&(i.mouse2X=t.clientX-i.boundingRect.left,i.mouse2Y=t.clientY-i.boundingRect.top),t=i.mapContainer){r=i.mouse2X;o=i.mouse2Y;i.pinchTO&&clearTimeout(i.pinchTO);i.pinchTO=setTimeout(function(){i.resetPinch.call(i)},1e3);var l=i.realHeight,y=i.realWidth,p=i.mapWidth,a=i.mapHeight;if(i.mouseIsDown&&i.dragMap&&(3<Math.abs(i.previuosMouseX-i.mouseX)||3<Math.abs(i.previuosMouseY-i.mouseY))&&(i.isDragging=!0),!isNaN(r)&&(i.stopDrag(),v=Math.sqrt(Math.pow(r-s,2)+Math.pow(o-h,2)),e=i.initialDistance,isNaN(e)&&(e=Math.sqrt(Math.pow(r-s,2)+Math.pow(o-h,2))),!isNaN(e))){var r=i.initialTouchZoom*v/e,r=n.fitToBounds(r,c.minZoomLevel,c.maxZoomLevel),c=i.zoomLevel(),e=i.middleXP,o=i.middleYP,v=l/a,w=y/p,e=(i.zoomX()-e*w)*(r/c)+e*w,o=(i.zoomY()-o*v)*(r/c)+o*v;.1<Math.abs(r-c)&&(i.zoomTo(r,e,o,!0),i.mapWasPinched=!0,clearTimeout(i.pinchTO))}r=t.scale;i.isDragging&&(i.balloon.hide(0),i.positionChanged(),u=t.x+(s-u),f=t.y+(h-f),i.preventDragOut&&(a=-a*r+l/2-i.diffY*i.mapScale*r,l=l/2-i.diffY*i.mapScale*r,u=n.fitToBounds(u,-p*r+y/2,y/2),f=n.fitToBounds(f,a,l)),isNaN(u)||isNaN(f)||(t.translate(u,f,r,!0),i.updateSmallMap()));i.previuosMouseX=s;i.previuosMouseY=h}}},selectObject:function(t,i){var u=this,l,e,h,c,r,f,o,s,a;if(t||(t=u.dataProvider),t.isOver=!1,r=t.linkToObject,n.isString(r)&&(r=u.getObjectById(r)),t.useTargetsZoomValues&&r&&(t.zoomX=r.zoomX,t.zoomY=r.zoomY,t.zoomLatitude=r.zoomLatitude,t.zoomLongitude=r.zoomLongitude,t.zoomLevel=r.zoomLevel),l=u.selectedObject,l&&u.returnInitialColor(l),u.selectedObject=t,e=!1,"MapArea"==t.objectType&&(t.autoZoomReal&&(e=!0),h=u.areasSettings.selectedOutlineColor,c=u.areasSettings.selectedOutlineThickness),r&&!e&&(n.isString(r)&&(r=u.getObjectById(r)),isNaN(t.zoomLevel)&&isNaN(t.zoomX)&&isNaN(t.zoomY))){if(u.extendMapData(r))return;u.selectObject(r);return}if(u.allowMultipleDescriptionWindows||u.closeAllDescriptions(),clearTimeout(u.selectedObjectTimeOut),clearTimeout(u.processObjectsTimeOut),r=u.zoomDuration,!e&&isNaN(t.zoomLevel)&&isNaN(t.zoomX)&&isNaN(t.zoomY)?(u.showDescriptionAndGetUrl(),i||u.processObjects()):(u.selectedObjectTimeOut=setTimeout(function(){u.showDescriptionAndGetUrl.call(u)},1e3*r+200),u.showObjectsAfterZoom)?i||(u.processObjectsTimeOut=setTimeout(function(){u.processObjects.call(u)},1e3*r+200)):i||u.processObjects(),r=t.displayObject,e=t.selectedColorReal,"MapImage"==t.objectType&&(h=u.imagesSettings.selectedOutlineColor,c=u.imagesSettings.selectedOutlineThickness,r=t.image,f=t.selectedScaleReal,isNaN(f)||1==f||(o=t.scale,isNaN(t.tempScale)||(o=t.tempScale),isNaN(o)&&(o=1),t.tempScale=o,s=t.displayObject,s.translate(s.x,s.y,o*f,!0))),r?(n.removeCN(u,r,"selected-object"),n.setCN(u,r,"selected-object"),t.bringForwardOnHover&&t.displayObject.toFront(),u.outlinesToFront(),t.preserveOriginalAttributes)||(r.setAttr("stroke",t.outlineColorReal),void 0!==e&&r.setAttr("fill",e),void 0!==h&&r.setAttr("stroke",h),void 0!==c&&r.setAttr("stroke-width",c),"MapLine"==t.objectType&&((f=t.lineSvg)&&f.setAttr("stroke",e),f=t.arrowSvg)&&(f.setAttr("fill",e),f.setAttr("stroke",e)),(f=t.imageLabel)&&(o=t.selectedLabelColorReal,void 0!==o&&f.setAttr("fill",o)),t.selectable||(r.setAttr("cursor","default"),f&&f.setAttr("cursor","default"))):u.returnInitialColorReal(t),r=t.groupId)for(f=t.groupArray,f||(f=u.getGroupById(r),t.groupArray=f),o=0;o<f.length;o++)(s=f[o],s.isOver=!1,r=s.displayObject,"MapImage"==s.objectType&&(r=s.image),r)&&(a=s.selectedColorReal,void 0!==a&&r.setAttr("fill",a),void 0!==h&&r.setAttr("stroke",h),void 0!==c&&r.setAttr("stroke-width",c),"MapLine"==s.objectType&&((r=s.lineSvg)&&r.setAttr("stroke",e),r=s.arrowSvg)&&(r.setAttr("fill",e),r.setAttr("stroke",e)));u.rescaleObjects();u.zoomToSelectedObject();l!=t&&u.fire({type:"selectedObjectChanged",chart:u})},returnInitialColor:function(n,t){var i,r;if(this.returnInitialColorReal(n),t&&(n.isFirst=!1),this.selectedObject.bringForwardOnHover&&(i=this.selectedObject.displayObject,i&&i.toFront()),i=n.groupId)for(i=this.getGroupById(i),r=0;r<i.length;r++)this.returnInitialColorReal(i[r]),t&&(i[r].isFirst=!1);this.outlinesToFront()},outlinesToFront:function(){if(this.outlines)for(var n=0;n<this.outlines.length;n++)this.outlines[n].toFront()},closeAllDescriptions:function(){this.descriptionsDiv.innerHTML=""},fireClosed:function(){this.fire({type:"descriptionClosed",chart:this})},returnInitialColorReal:function(t){var i,f,e,r,u,o;if(t.isOver=!1,i=t.displayObject,i){n.removeCN(this,i,"selected-object");i.toPrevious();"MapImage"==t.objectType&&(r=t.tempScale,isNaN(r)||i.translate(i.x,i.y,r,!0),t.tempScale=NaN,i=t.image);r=t.colorReal;"MapLine"==t.objectType&&(f=t.lineSvg,f&&f.setAttr("stroke",r),(f=t.arrowSvg)&&(e=t.arrowColor,void 0===e&&(e=r),f.setAttr("fill",e),f.setAttr("stroke",e)));var f=t.alphaReal,e=t.outlineAlphaReal,s=t.outlineThicknessReal,h=t.outlineColorReal;t.showAsSelected&&(r=t.selectedColorReal,"MapImage"==t.objectType&&(u=this.imagesSettings.selectedOutlineColor,o=this.imagesSettings.selectedOutlineThickness),"MapArea"==t.objectType&&(u=this.areasSettings.selectedOutlineColor,o=this.areasSettings.selectedOutlineThickness),void 0!==u&&(h=u),void 0!==o&&(s=o));"bubble"==t.type&&(r=void 0);void 0!==r&&i.setAttr("fill",r);(u=t.image)&&(u.setAttr("fill",r),u.setAttr("stroke",h),u.setAttr("stroke-width",s),u.setAttr("fill-opacity",f),u.setAttr("stroke-opacity",e));"MapArea"==t.objectType&&(r=1,this.areasSettings.adjustOutlineThickness&&(r=this.zoomLevel()*this.mapScale),i.setAttr("stroke",h),i.setAttr("stroke-width",s/r),i.setAttr("fill-opacity",f),i.setAttr("stroke-opacity",e));(r=t.pattern)&&i.pattern(r,this.mapScale,this.path);(i=t.imageLabel)&&!t.labelInactive&&(t.showAsSelected&&void 0!==t.selectedLabelColor?i.setAttr("fill",t.selectedLabelColor):i.setAttr("fill",t.labelColorReal))}},zoomToRectangle:function(t,i,r,u){var e=this.realWidth,o=this.realHeight,f=this.mapSet.scale,s=this.zoomControl,e=n.fitToBounds(r/e>u/o?.8*e/(r*f):.8*o/(u*f),s.minZoomLevel,s.maxZoomLevel);this.zoomToMapXY(e,(t+r/2)*f,(i+u/2)*f)},zoomToLatLongRectangle:function(t,i,r,u){var f=this.dataProvider,e=this.zoomControl,o=Math.abs(r-t),s=Math.abs(i-u),h=Math.abs(f.rightLongitude-f.leftLongitude),f=Math.abs(f.topLatitude-f.bottomLatitude),e=n.fitToBounds(o/h>s/f?.8*h/o:.8*f/s,e.minZoomLevel,e.maxZoomLevel);this.zoomToLongLat(e,t+(r-t)/2,u+(i-u)/2)},getGroupById:function(n){var t=[];return this.getGroup(this.imagesProcessor.allObjects,n,t),this.getGroup(this.linesProcessor.allObjects,n,t),this.getGroup(this.areasProcessor.allObjects,n,t),t},zoomToGroup:function(n){var i,r,u,f,o,e;for(n="object"==typeof n?n:this.getGroupById(n),o=0;o<n.length;o++)if(e=n[o].displayObject,e){var t=e.getBBox(),e=t.y,s=t.y+t.height,h=t.x,t=t.x+t.width;(e<i||isNaN(i))&&(i=e);(s>f||isNaN(f))&&(f=s);(h<r||isNaN(r))&&(r=h);(t>u||isNaN(u))&&(u=t)}r+=this.diffX;u+=this.diffX;f+=this.diffY;i+=this.diffY;this.zoomToRectangle(r,i,u-r,f-i)},getGroup:function(n,t,i){var r,u;if(n)for(r=0;r<n.length;r++)u=n[r],u.groupId==t&&i.push(u)},zoomToStageXY:function(t,i,r,u){var f,e;this.objectWasClicked||(f=this.zoomControl,t=n.fitToBounds(t,f.minZoomLevel,f.maxZoomLevel),f=this.zoomLevel(),e=this.mapSet.getBBox(),i=this.xyToCoordinates((i-this.mapContainer.x)/f-e.x*this.mapScale,(r-this.mapContainer.y)/f-e.y*this.mapScale),this.zoomToLongLat(t,i.longitude,i.latitude,u))},zoomToLongLat:function(n,t,i,r){t=this.coordinatesToXY(t,i);this.zoomToMapXY(n,t.x,t.y,r)},zoomToMapXY:function(n,t,i,r){var u=this.mapWidth,f=this.mapHeight;this.zoomTo(n,-(t/u)*n+this.realWidth/u/2,-(i/f)*n+this.realHeight/f/2,r)},zoomToObject:function(t){var u,f;if(t){u=t.zoomLatitude;f=t.zoomLongitude;isNaN(t.zoomLatitudeC)||(u=t.zoomLatitudeC);isNaN(t.zoomLongitudeC)||(f=t.zoomLongitudeC);var r=t.zoomLevel,i=this.zoomInstantly,e=t.zoomX,h=t.zoomY,o=this.realWidth,s=this.realHeight;isNaN(r)||(isNaN(u)||isNaN(f)?this.zoomTo(r,e,h,i):this.zoomToLongLat(r,f,u,i));this.zoomInstantly=!1;"MapImage"==t.objectType&&isNaN(t.zoomX)&&isNaN(t.zoomY)&&isNaN(t.zoomLatitude)&&isNaN(t.zoomLongitude)&&!isNaN(t.latitude)&&!isNaN(t.longitude)&&this.zoomToLongLat(t.zoomLevel,t.longitude,t.latitude);"MapArea"==t.objectType&&(i=t.displayObject.getBBox(),e=this.mapScale,u=(i.x+this.diffX)*e,f=(i.y+this.diffY)*e,r=i.width*e,i=i.height*e,o=t.autoZoomReal&&isNaN(t.zoomLevel)?r/o>i/s?.8*o/r:.8*s/i:t.zoomLevel,s=this.zoomControl,o=n.fitToBounds(o,s.minZoomLevel,s.maxZoomLevel),isNaN(t.zoomX)&&isNaN(t.zoomY)&&isNaN(t.zoomLatitude)&&isNaN(t.zoomLongitude)&&this.zoomToMapXY(o,u+r/2,f+i/2));this.zoomControl.update()}},zoomToSelectedObject:function(){this.zoomToObject(this.selectedObject)},zoomTo:function(t,i,r,u){var f=this.zoomControl;t=n.fitToBounds(t,f.minZoomLevel,f.maxZoomLevel);f=this.zoomLevel();isNaN(i)&&(i=this.realWidth/this.mapWidth,i=(this.zoomX()-.5*i)*(t/f)+.5*i);isNaN(r)&&(r=this.realHeight/this.mapHeight,r=(this.zoomY()-.5*r)*(t/f)+.5*r);this.stopAnimation();isNaN(t)||(f=this.mapContainer,this.initialX=f.x,this.initialY=f.y,this.initialScale=f.scale,this.finalX=this.mapWidth*i,this.finalY=this.mapHeight*r,this.finalScale=t,this.finalX!=this.initialX||this.finalY!=this.initialY||this.finalScale!=this.initialScale?u?(this.tweenPercent=1,this.rescaleMapAndObjects(),this.wheelBusy=!1):this.animateMap():this.wheelBusy=!1)},loadXml:function(n){var t;window.XMLHttpRequest&&(t=new XMLHttpRequest);t.overrideMimeType&&t.overrideMimeType("text/xml");t.open("GET",n,!1);t.send();this.parseXMLObject(t.responseXML);this.svgData&&this.buildEverything()},stopAnimation:function(){this.frame=this.totalFrames},processObjects:function(n){var t=this.selectedObject,i,r,u,f;(0<t.images.length||0<t.areas.length||0<t.lines.length||t==this.dataProvider||n)&&(n=this.container,i=this.stageImagesContainer,i&&i.remove(),this.stageImagesContainer=i=n.set(),this.trendLinesSet.push(i),r=this.stageLinesContainer,r&&r.remove(),this.stageLinesContainer=r=n.set(),this.trendLinesSet.push(r),u=this.mapImagesContainer,u&&u.remove(),this.mapImagesContainer=u=n.set(),this.mapContainer.push(u),f=this.mapLinesContainer,f&&f.remove(),this.mapLinesContainer=f=n.set(),this.mapContainer.push(f),this.linesAboveImages?(u.toFront(),i.toFront(),f.toFront(),r.toFront()):(f.toFront(),r.toFront(),u.toFront(),i.toFront()),t&&(this.imagesProcessor.reset(),this.linesProcessor.reset(),this.linesAboveImages?(this.imagesProcessor.process(t),this.linesProcessor.process(t)):(this.linesProcessor.process(t),this.imagesProcessor.process(t))),this.rescaleObjects())},processAreas:function(){this.areasProcessor.process(this.dataProvider)},buildSVGMap:function(){var f,i,r;n.remove(this.mapSet);var u=this.svgData.g.path,o=this.container,e=o.set();for(this.svgAreas=[],this.svgAreasById={},void 0===u.length&&(u=[u]),f=0;f<u.length;f++){var t=u[f],s=t.d,h=t.title;if(t.titleTr&&(h=t.titleTr),i=o.path(s),i.id=t.id,this.areasSettings.preserveOriginalAttributes){i.customAttr={};for(r in t)"d"!=r&&"id"!=r&&"title"!=r&&(i.customAttr[r]=t[r])}t.outline&&(i.outline=!0);i.path=s;this.svgAreasById[t.id]={area:i,title:h,className:t["class"]};this.svgAreas.push(i);e.push(i)}this.mapSet=e;this.mapContainer.push(e);this.resizeMap()},centerAlign:function(){},setProjection:function(n){this.projection=n;this.chartCreated=!1;this.buildEverything()},addObjectEventListeners:function(n,t){var i=this;n.mousedown(function(n){i.mouseDownMapObject(t,n)}).mouseup(function(n){i.clickMapObject(t,n)}).mouseover(function(n){i.balloonX=NaN;i.rollOverMapObject(t,!0,n)}).mouseout(function(n){i.balloonX=NaN;i.rollOutMapObject(t,n)}).touchend(function(n){4>Math.abs(i.mouseX-i.tmx)&&4>Math.abs(i.mouseY-i.tmy)&&(i.tapped=!0);i.tapToActivate&&!i.tapped||i.mapWasDragged||i.mapWasPinched||(i.balloonX=NaN,i.rollOverMapObject(t,!0,n),i.clickMapObject(t,n))}).touchstart(function(n){i.tmx=i.mouseX;i.tmy=i.mouseY;i.mouseDownMapObject(t,n)}).keyup(function(n){13==n.keyCode&&i.clickMapObject(t,n)}).focus(function(n){var r,u;"MapImage"!=t.objectType||isNaN(t.longitude)||(r=t.longitude,u=t.latitude);"MapArea"==t.objectType&&(r=i.getAreaCenterLongitude(t),u=i.getAreaCenterLatitude(t));r=i.coordinatesToStageXY(r,u);i.balloonX=r.x;i.balloonY=r.y;i.rollOverMapObject(t,!0,n);i.focusedItem=t}).blur(function(n){i.rollOutMapObject(t,n);i.focusedItem=void 0})},checkIfSelected:function(n){var t=this.selectedObject,i;if(t==n)return!0;if(t=t.groupId)for(t=this.getGroupById(t),i=0;i<t.length;i++)if(t[i]==n)return!0;return!1},clearMap:function(){this.chartDiv.innerHTML="";this.clearObjectList()},clearObjectList:function(){var n=this.objectList;n&&n.div&&(n.div.innerHTML="")},checkIfLast:function(n){if(n){var t=n.parentNode;if(t&&t.lastChild==n)return!0}return!1},showAsRolledOver:function(t){var u=t.displayObject,i,r,f;t.showAsSelected||!u||t.isOver||(u.node.onmouseout=function(){},u.node.onmouseover=function(){},u.node.onclick=function(){},!t.isFirst&&t.bringForwardOnHover&&(u.toFront(),t.isFirst=!0),i=t.rollOverColorReal,t.preserveOriginalAttributes&&(i=void 0),"bubble"==t.type&&(i=void 0),void 0==i&&(isNaN(t.rollOverBrightnessReal)||(i=n.adjustLuminosity(t.colorReal,t.rollOverBrightnessReal/100))),void 0!=i&&("MapImage"==t.objectType?(r=t.image)&&r.setAttr("fill",i):"MapLine"==t.objectType?((r=t.lineSvg)&&r.setAttr("stroke",i),r=t.arrowSvg)&&(r.setAttr("fill",i),r.setAttr("stroke",i)):u.setAttr("fill",i)),(i=t.imageLabel)&&!t.labelInactive&&(r=t.labelRollOverColorReal,void 0!=r&&i.setAttr("fill",r)),i=t.rollOverOutlineColorReal,void 0!=i&&("MapImage"==t.objectType?(r=t.image)&&r.setAttr("stroke",i):u.setAttr("stroke",i)),"MapImage"==t.objectType?(i=this.imagesSettings.rollOverOutlineThickness,(r=t.image)&&(isNaN(i)||r.setAttr("stroke-width",i))):(i=this.areasSettings.rollOverOutlineThickness,isNaN(i)||u.setAttr("stroke-width",i)),"MapArea"==t.objectType&&(i=this.areasSettings,r=t.rollOverAlphaReal,isNaN(r)||u.setAttr("fill-opacity",r),r=i.rollOverOutlineAlpha,isNaN(r)||u.setAttr("stroke-opacity",r),r=1,this.areasSettings.adjustOutlineThickness&&(r=this.zoomLevel()*this.mapScale),f=i.rollOverOutlineThickness,isNaN(f)||u.setAttr("stroke-width",f/r),(i=i.rollOverPattern)&&u.pattern(i,this.mapScale,this.path)),"MapImage"==t.objectType&&(i=t.rollOverScaleReal,isNaN(i)||1==i||(r=u.scale,isNaN(r)&&(r=1),t.tempScale=r,u.translate(u.x,u.y,r*i,!0))),this.useHandCursorOnClickableOjects&&this.checkIfClickable(t)&&u.setAttr("cursor","pointer"),t.mouseEnabled&&this.addObjectEventListeners(u,t),t.isOver=!0);this.outlinesToFront()},rollOverMapObject:function(n,t,i){var r,u;if(this.chartCreated&&(this.handleMouseMove(),r=this.previouslyHovered,r&&r!=n?(!1===this.checkIfSelected(r)&&(this.returnInitialColor(r,!0),this.previouslyHovered=null),this.balloon.hide(0)):clearTimeout(this.hoverInt),!this.preventHover)){if(!1===this.checkIfSelected(n)){if(r=n.groupId)for(r=this.getGroupById(r),u=0;u<r.length;u++)r[u]!=n&&this.showAsRolledOver(r[u]);this.showAsRolledOver(n)}else(r=n.displayObject)&&(this.allowClickOnSelectedObject?r.setAttr("cursor","pointer"):r.setAttr("cursor","default"));this.showDescriptionOnHover?this.showDescription(n):!this.showBalloonOnSelectedObject&&this.checkIfSelected(n)||!1===t||(u=this.balloon,this.balloon.fixedPosition=!1,t=n.colorReal,r="",void 0!==t&&this.useObjectColorForBalloon||(t=u.fillColor),(u=n.balloonTextReal)&&(r=this.formatString(u,n)),this.balloonLabelFunction&&(r=this.balloonLabelFunction(n,this)),r&&""!==r&&this.showBalloon(r,t,!1,this.balloonX,this.balloonY));i={type:"rollOverMapObject",mapObject:n,chart:this,event:i};n.isOver=!0;this.fire(i);this.previouslyHovered=n}},longitudeToX:function(n){return(this.longitudeToCoordinate(n)+this.diffX*this.mapScale)*this.zoomLevel()+this.mapContainer.x},latitudeToY:function(n){return(this.latitudeToCoordinate(n)+this.diffY*this.mapScale)*this.zoomLevel()+this.mapContainer.y},latitudeToStageY:function(n){return this.latitudeToCoordinate(n)*this.zoomLevel()+this.mapContainer.y+this.diffY*this.mapScale},longitudeToStageX:function(n){return this.longitudeToCoordinate(n)*this.zoomLevel()+this.mapContainer.x+this.diffX*this.mapScale},stageXToLongitude:function(n){return n=(n-this.mapContainer.x)/this.zoomLevel(),this.coordinateToLongitude(n)},stageYToLatitude:function(n){return n=(n-this.mapContainer.y)/this.zoomLevel(),this.coordinateToLatitude(n)},rollOutMapObject:function(n,t){if(this.hideBalloon(),n&&this.chartCreated&&n.isOver){this.checkIfSelected(n)||this.returnInitialColor(n);var i={type:"rollOutMapObject",mapObject:n,chart:this,event:t};n.isOver=!1;this.fire(i)}},formatString:function(t,i){var r=this.nf,u=this.pf,f=i.title,e;i.titleTr&&(f=i.titleTr);void 0==f&&(f="");var o=i.value,o=isNaN(o)?"":n.formatNumber(o,r),r=i.percents,r=isNaN(r)?"":n.formatNumber(r,u),u=i.description;return void 0==u&&(u=""),e=i.customData,void 0==e&&(e=""),n.massReplace(t,{"[[title]]":f,"[[value]]":o,"[[percent]]":r,"[[description]]":u,"[[customData]]":e})},mouseDownMapObject:function(n,t){this.fire({type:"mouseDownMapObject",mapObject:n,chart:this,event:t})},clickMapObject:function(n,t){var i=this;if(t&&(t.touches||isNaN(n.zoomLevel)&&isNaN(n.zoomX)&&isNaN(n.zoomY)||i.hideBalloon()),i.chartCreated&&!i.preventHover&&i.checkTouchDuration(t)&&!i.mapWasDragged&&i.checkIfClickable(n)&&!i.mapWasPinched){i.selectObject(n);var r=i.zoomLevel(),u=i.mapSet.getBBox(),r=i.xyToCoordinates((i.mouseX-i.mapContainer.x)/r-u.x*i.mapScale,(i.mouseY-i.mapContainer.y)/r-u.y*i.mapScale);i.clickLatitude=r.latitude;i.clickLongitude=r.longitude;t&&t.touches&&setTimeout(function(){i.showBalloonAfterZoom.call(i)},1e3*i.zoomDuration);i.fire({type:"clickMapObject",mapObject:n,chart:i,event:t});i.objectWasClicked=!0}},showBalloonAfterZoom:function(){var n=this.clickLongitude,i=this.clickLatitude,t=this.selectedObject;"MapImage"!=t.objectType||isNaN(t.longitude)||(n=t.longitude,i=t.latitude);n=this.coordinatesToStageXY(n,i);this.balloonX=n.x;this.balloonY=n.y;this.rollOverMapObject(this.selectedObject,!0)},checkIfClickable:function(n){var t=this.allowClickOnSelectedObject;return this.selectedObject==n&&t?!0:this.selectedObject!=n||t?!0===n.selectable||"MapArea"==n.objectType&&n.autoZoomReal||n.url||n.linkToObject||0<n.images.length||0<n.lines.length||!isNaN(n.zoomLevel)||!isNaN(n.zoomX)||!isNaN(n.zoomY)||n.description?!0:!1:!1},resizeMap:function(){var r=this.mapSet;if(r){var t=1,n=r.getBBox(),u=this.realWidth,f=this.realHeight,i=n.width,n=n.height;0<i&&0<n&&(this.fitMapToContainer&&(t=i/u>n/f?u/i:f/n),r.translate(0,0,t,!0),this.mapScale=t,this.mapHeight=n*t,this.mapWidth=i*t)}},zoomIn:function(){var n=this.zoomLevel()*this.zoomControl.zoomFactor;this.zoomTo(n)},zoomOut:function(){var n=this.zoomLevel()/this.zoomControl.zoomFactor;this.zoomTo(n)},moveLeft:function(){var n=this.zoomX()+this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),n,this.zoomY())},moveRight:function(){var n=this.zoomX()-this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),n,this.zoomY())},moveUp:function(){var n=this.zoomY()+this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),this.zoomX(),n)},moveDown:function(){var n=this.zoomY()-this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),this.zoomX(),n)},zoomX:function(){return this.mapSet?Math.round(1e4*this.mapContainer.x/this.mapWidth)/1e4:NaN},zoomY:function(){return this.mapSet?Math.round(1e4*this.mapContainer.y/this.mapHeight)/1e4:NaN},goHome:function(){this.selectObject(this.dataProvider);this.fire({type:"homeButtonClicked",chart:this})},zoomLevel:function(){return Math.round(1e5*this.mapContainer.scale)/1e5},showDescriptionAndGetUrl:function(){var i=this.selectedObject,t,r;if(i)if(this.showDescription(),t=i.url,t)n.getURL(t,i.urlTarget);else if(t=i.linkToObject){if(n.isString(t)&&(r=this.getObjectById(t),r)){this.selectObject(r);return}t&&i.passZoomValuesToTarget&&(t.zoomLatitude=this.zoomLatitude(),t.zoomLongitude=this.zoomLongitude(),t.zoomLevel=this.zoomLevel());this.extendMapData(t)||this.selectObject(t)}},extendMapData:function(t){var i=t.objectType;if("MapImage"!=i&&"MapArea"!=i&&"MapLine"!=i)return n.extend(t,new n.MapData,!0),this.dataProvider=t,this.zoomInstantly=!0,this.validateData(),!0},showDescription:function(t){var i,u;if(t||(t=this.selectedObject),this.allowMultipleDescriptionWindows||this.closeAllDescriptions(),t.description){i=t.descriptionWindow;i&&i.close();i=new n.DescriptionWindow;t.descriptionWindow=i;var s=t.descriptionWindowWidth,h=t.descriptionWindowHeight,r=t.descriptionWindowLeft,f=t.descriptionWindowTop,e=t.descriptionWindowRight,o=t.descriptionWindowBottom;isNaN(e)||(r=this.realWidth-e);isNaN(o)||(f=this.realHeight-o);u=t.descriptionWindowX;isNaN(u)||(r=u);u=t.descriptionWindowY;isNaN(u)||(f=u);isNaN(r)&&(r=this.mouseX,r=r>this.realWidth/2?r-s-20:r+20);isNaN(f)&&(f=this.mouseY);i.maxHeight=h;u=t.title;t.titleTr&&(u=t.titleTr);i.show(this,this.descriptionsDiv,t.description,u);t=i.div.style;t.position="absolute";t.width=s+"px";t.maxHeight=h+"px";isNaN(o)||(f-=i.div.offsetHeight);isNaN(e)||(r-=i.div.offsetWidth);t.left=r+"px";t.top=f+"px"}},parseXMLObject:function(n){var t={root:{}};this.parseXMLNode(t,"root",n);this.svgData=t.root.svg;this.getBounds()},getBounds:function(){var n=this.dataProvider,t,i;try{t=this.svgData.defs["amcharts:ammap"];n.leftLongitude=Number(t.leftLongitude);n.rightLongitude=Number(t.rightLongitude);n.topLatitude=Number(t.topLatitude);n.bottomLatitude=Number(t.bottomLatitude);n.projection=t.projection;i=t.wrappedLongitudes;i&&(n.rightLongitude+=360);n.wrappedLongitudes=i}catch(r){}},recalcLongitude:function(n){return this.dataProvider.wrappedLongitudes?n<this.dataProvider.leftLongitude?Number(n)+360:n:n},latitudeToCoordinate:function(n){var t,r=this.dataProvider,i;return this.mapSet&&(t=r.topLatitude,i=r.bottomLatitude,"mercator"==r.projection&&(n=this.mercatorLatitudeToCoordinate(n),t=this.mercatorLatitudeToCoordinate(t),i=this.mercatorLatitudeToCoordinate(i)),t=(n-t)/(i-t)*this.mapHeight),t},longitudeToCoordinate:function(n){n=this.recalcLongitude(n);var t,i=this.dataProvider;return this.mapSet&&(t=i.leftLongitude,t=(n-t)/(i.rightLongitude-t)*this.mapWidth),t},mercatorLatitudeToCoordinate:function(t){return 89.5<t&&(t=89.5),-89.5>t&&(t=-89.5),t=n.degreesToRadians(t),n.radiansToDegrees(.5*Math.log((1+Math.sin(t))/(1-Math.sin(t)))/2)},zoomLatitude:function(){if(this.mapContainer){var n=this.mapSet.getBBox(),t=(-this.mapContainer.x+this.previousWidth/2)/this.zoomLevel()-n.x*this.mapScale,n=(-this.mapContainer.y+this.previousHeight/2)/this.zoomLevel()-n.y*this.mapScale;return this.xyToCoordinates(t,n).latitude}},zoomLongitude:function(){if(this.mapContainer){var n=this.mapSet.getBBox(),t=(-this.mapContainer.x+this.previousWidth/2)/this.zoomLevel()-n.x*this.mapScale,n=(-this.mapContainer.y+this.previousHeight/2)/this.zoomLevel()-n.y*this.mapScale;return this.xyToCoordinates(t,n).longitude}},getAreaCenterLatitude:function(n){n=n.displayObject.getBBox();var t=this.mapScale,i=this.mapSet.getBBox();return this.xyToCoordinates((n.x+n.width/2+this.diffX)*t-i.x*t,(n.y+n.height/2+this.diffY)*t-i.y*t).latitude},getAreaCenterLongitude:function(n){n=n.displayObject.getBBox();var t=this.mapScale,i=this.mapSet.getBBox();return this.xyToCoordinates((n.x+n.width/2+this.diffX)*t-i.x*t,(n.y+n.height/2+this.diffY)*t-i.y*t).longitude},milesToPixels:function(n){var t=this.dataProvider;return this.mapWidth/(t.rightLongitude-t.leftLongitude)*n/69.172},kilometersToPixels:function(n){var t=this.dataProvider;return this.mapWidth/(t.rightLongitude-t.leftLongitude)*n/111.325},handleBackgroundClick:function(){var n;if(this.backgroundZoomsToTop&&!this.mapWasDragged)if(n=this.dataProvider,this.checkIfClickable(n))this.clickMapObject(n);else{var t=n.zoomX,i=n.zoomY,r=n.zoomLongitude,u=n.zoomLatitude,n=n.zoomLevel;isNaN(t)||isNaN(i)||this.zoomTo(n,t,i);isNaN(r)||isNaN(u)||this.zoomToLongLat(n,r,u,!0)}},parseXMLNode:function(n,t,i,r){var h,u,s,c,o;if(void 0===r&&(r=""),i){for(c=i.childNodes.length,h=0;h<c;h++){u=i.childNodes[h];var f=u.nodeName,e=u.nodeValue?this.trim(u.nodeValue):"",l=!1;if(u.attributes&&0<u.attributes.length&&(l=!0),0!==u.childNodes.length||""!==e||!1!==l)if(3==u.nodeType||4==u.nodeType){if(""!==e){u=0;for(s in n[t])n[t].hasOwnProperty(s)&&u++;u?n[t]["#text"]=e:n[t]=e}}else if(1==u.nodeType){if(void 0!==n[t][f]?void 0===n[t][f].length?(o=n[t][f],n[t][f]=[],n[t][f].push(o),n[t][f].push({}),o=n[t][f][1]):"object"==typeof n[t][f]&&(n[t][f].push({}),o=n[t][f][n[t][f].length-1]):(n[t][f]={},o=n[t][f]),u.attributes&&u.attributes.length)for(e=0;e<u.attributes.length;e++)o[u.attributes[e].name]=u.attributes[e].value;void 0!==n[t][f].length?this.parseXMLNode(n[t][f],n[t][f].length-1,u,r+"  "):this.parseXMLNode(n[t],f,u,r+"  ")}}u=0;i="";for(s in n[t])"#text"==s?i=n[t][s]:u++;0===u&&void 0===n[t].length&&(n[t]=i)}},doDoubleClickZoom:function(){if(!this.mapWasDragged){var n=this.zoomLevel()*this.zoomControl.zoomFactor;this.zoomToStageXY(n,this.mouseX,this.mouseY)}},getDevInfo:function(){var n=this.zoomLevel(),t=this.mapSet.getBBox(),t=this.xyToCoordinates((this.mouseX-this.mapContainer.x)/n-t.x*this.mapScale,(this.mouseY-this.mapContainer.y)/n-t.y*this.mapScale),n={chart:this,type:"writeDevInfo",zoomLevel:n,zoomX:this.zoomX(),zoomY:this.zoomY(),zoomLatitude:this.zoomLatitude(),zoomLongitude:this.zoomLongitude(),latitude:t.latitude,longitude:t.longitude,left:this.mouseX,top:this.mouseY,right:this.realWidth-this.mouseX,bottom:this.realHeight-this.mouseY,percentLeft:Math.round(this.mouseX/this.realWidth*100)+"%",percentTop:Math.round(this.mouseY/this.realHeight*100)+"%",percentRight:Math.round((this.realWidth-this.mouseX)/this.realWidth*100)+"%",percentBottom:Math.round((this.realHeight-this.mouseY)/this.realHeight*100)+"%"},t="zoomLevel:"+n.zoomLevel+", zoomLongitude:"+n.zoomLongitude+", zoomLatitude:"+n.zoomLatitude+"\n",t=t+("zoomX:"+n.zoomX+", zoomY:"+n.zoomY+"\n"),t=t+("latitude:"+n.latitude+", longitude:"+n.longitude+"\n"),t=t+("left:"+n.left+", top:"+n.top+"\n"),t=t+("right:"+n.right+", bottom:"+n.bottom+"\n"),t=t+("left:"+n.percentLeft+", top:"+n.percentTop+"\n"),t=t+("right:"+n.percentRight+", bottom:"+n.percentBottom+"\n");return n.str=t,this.fire(n),n},getXY:function(n,t,i){return void 0!==n&&(-1!=String(n).indexOf("%")?(n=Number(n.split("%").join("")),i&&(n=100-n),n=Number(n)*t/100):i&&(n=t-n)),n},getObjectById:function(n){var i=this.dataProvider,t;return i.areas&&(t=this.getObject(n,i.areas),t)?t:(t=this.getObject(n,i.images))?t:(n=this.getObject(n,i.lines))?n:void 0},getObject:function(n,t){var r,i,u;if(t)for(r=0;r<t.length;r++){if(i=t[r],i.id==n)return i;if(i.areas&&(u=this.getObject(n,i.areas),u)||(u=this.getObject(n,i.images)))return u;if(i=this.getObject(n,i.lines))return i}},parseData:function(){var n=this.dataProvider;this.processObject(n.areas,n,"area");this.processObject(n.images,n,"image");this.processObject(n.lines,n,"line")},processObject:function(t,i,r){var f,u;if(t)for(f=0;f<t.length;f++)u=t[f],u.parentObject=i,"area"==r&&n.extend(u,new n.MapArea(this.theme),!0),"image"==r&&(u=n.extend(u,new n.MapImage(this.theme),!0)),"line"==r&&(u=n.extend(u,new n.MapLine(this.theme),!0)),t[f]=u,u.areas&&this.processObject(u.areas,u,"area"),u.images&&this.processObject(u.images,u,"image"),u.lines&&this.processObject(u.lines,u,"line")},positionChanged:function(){var n={type:"positionChanged",zoomX:this.zoomX(),zoomY:this.zoomY(),zoomLevel:this.zoomLevel(),chart:this};this.fire(n)},getX:function(n,t){return this.getXY(n,this.realWidth,t)},getY:function(n,t){return this.getXY(n,this.realHeight,t)},trim:function(n){if(n){for(var t=0;t<n.length;t++)if(-1===" \n\r\t\f\x0b            ​\u2028\u2029　".indexOf(n.charAt(t))){n=n.substring(t);break}for(t=n.length-1;0<=t;t--)if(-1===" \n\r\t\f\x0b            ​\u2028\u2029　".indexOf(n.charAt(t))){n=n.substring(0,t+1);break}return-1===" \n\r\t\f\x0b            ​\u2028\u2029　".indexOf(n.charAt(0))?n:""}},destroy:function(){n.AmMap.base.destroy.call(this)},x2c:function(n){var t=this.dataProvider.leftLongitude;return Math.round(this.unscaledMapWidth*(n-t)/(this.dataProvider.rightLongitude-t)*100)/100},y2c:function(n){var t=this.dataProvider.topLatitude;return Math.round(this.unscaledMapHeight*(n-t)/(this.dataProvider.bottomLatitude-t)*100)/100},normalize:function(t){var r,i;t.pathsArray||(t.normalized?r=t.normalized:(i=n.normalizePath(t.node),r=t.node.getAttribute("d"),t.normalized=r,i.maxX>this.maxMapX&&(this.maxMapX=i.maxX),i.minX<this.minMapX&&(this.minMapX=i.minX),i.maxY>this.maxMapY&&(this.maxMapY=i.maxY),i.minY<this.minMapY&&(this.minMapY=i.minY)),t.node.setAttribute("d",r))},redraw:function(n){var t=n.normalized,t=t.split(" Z").join(""),t=t.split("M"),i,r,u;for(n.pathsArray=[],i=0;i<t.length;i++)if(r=t[i],r){for(var r=r.split("L"),e=[],f=0;f<r.length;f++)r[f]&&(u=r[f].split(" "),u=this.xyToCoordinates(Number(u[1])-this.minMapX,Number(u[2])-this.minMapY,this.dpProjectionFunction,this.sourceMapWidth,this.sourceMapHeight),e.push([u.longitude,u.latitude]));n.pathsArray.push(e)}for(t="",i=0;i<n.pathsArray.length;i++)t+=this.redrawArea(n.pathsArray[i]);n.node.setAttribute("d",t);n.path=t},redrawArea:function(t){for(var s=!1,f="",r=0;r<t.length;r++){var e=t[r][0],o=t[r][1],u=n.degreesToRadians(t[r][0]),i=n.degreesToRadians(t[r][1]),i=this.projectionFunction(u,i),u=n.roundTo(this.x2c(n.radiansToDegrees(i[0])),3),i=n.roundTo(this.y2c(n.radiansToDegrees(i[1])),3);u<this.minMapXX&&(this.minMapXX=u,this.leftLongLat={longitude:e,latitude:o});u>this.maxMapXX&&(this.maxMapXX=u,this.rightLongLat={longitude:e,latitude:o});i<this.minMapYY&&(this.minMapYY=i,this.topLongLat={longitude:e,latitude:o});i>this.maxMapYY&&(this.maxMapYY=i,this.bottomLongLat={longitude:e,latitude:o});s?f+=" L ":(f+=" M ",s=!0);f+=u+" "+i}return f+" Z "},normalizeMap:function(){var t=n.degreesToRadians(this.dataProvider.leftLongitude),u=n.degreesToRadians(this.dataProvider.rightLongitude),i=n.degreesToRadians(this.dataProvider.topLatitude),f=n.degreesToRadians(this.dataProvider.bottomLatitude),e=t+(u-t)/2,o=i+(f-i)/2,s=this.dpProjectionFunction(e,i)[1],c=this.dpProjectionFunction(e,f)[1],h=this.dpProjectionFunction(t,o)[0],r=this.dpProjectionFunction(u,o)[0],i=n.equirectangular(e,i),f=n.equirectangular(e,f),s=(i[1]-f[1])/(s-c),t=n.equirectangular(t,o),u=n.equirectangular(u,o),h=(t[0]-u[0])/(h-r);for(this.minMapX=Infinity,this.maxMapX=-Infinity,this.minMapY=Infinity,this.maxMapY=-Infinity,r=0;r<this.svgAreas.length;r++)this.normalize(this.svgAreas[r]);this.sourceMapHeight=Math.abs(this.maxMapY-this.minMapY);this.sourceMapWidth=Math.abs(this.maxMapX-this.minMapX);this.unscaledMapWidth=this.sourceMapWidth*h;this.unscaledMapHeight=this.sourceMapHeight*s;this.diffY=this.diffX=0},fixMapPosition:function(){var u=n.degreesToRadians(this.dataProvider.leftLongitude),e=n.degreesToRadians(this.dataProvider.rightLongitude),i=n.degreesToRadians(this.dataProvider.topLatitude),t=n.degreesToRadians(this.dataProvider.bottomLatitude),r=u+(e-u)/2,f=i+(t-i)/2,o=this.dpProjectionFunction(r,i)[1],s=this.dpProjectionFunction(r,t)[1],h=this.dpProjectionFunction(u,f)[0],c=this.dpProjectionFunction(e,f)[0];for(this.sourceMapHeight=this.mapHeight/this.mapScale,this.sourceMapWidth=this.mapWidth/this.mapScale,this.unscaledMapWidth=(u-e)/(h-c)*this.sourceMapWidth,this.unscaledMapHeight=(i-t)/(o-s)*this.sourceMapHeight,e=this.coordinatesToXY(n.radiansToDegrees(r),n.radiansToDegrees(i)),u=this.coordinatesToXY(n.radiansToDegrees(u),n.radiansToDegrees(f)),i=f=Infinity,t=0;t<this.svgAreas.length;t++)r=this.svgAreas[t].getBBox(),r.y<f&&(f=r.y),r.x<i&&(i=r.x);for(this.diffY=e.y/this.mapScale-f,this.diffX=u.x/this.mapScale-i,t=0;t<this.svgAreas.length;t++)this.svgAreas[t].translate(this.diffX,this.diffY)},changeProjection:function(){this.minMapXX=Infinity;this.maxMapXX=-Infinity;this.minMapYY=Infinity;this.maxMapYY=-Infinity;this.projectionChanged=!1;for(var n=0;n<this.svgAreas.length;n++)this.redraw(this.svgAreas[n]);this.projectionChanged=!0;this.resizeMap()},coordinatesToXY:function(t,i){var u,r;return u=!1,this.dataProvider&&(u=this.dataProvider.wrappedLongitudes)&&(t=this.recalcLongitude(t)),this.projectionFunction?(r=this.projectionFunction(n.degreesToRadians(t),n.degreesToRadians(i)),u=this.mapScale*n.roundTo(this.x2c(n.radiansToDegrees(r[0])),3),r=this.mapScale*n.roundTo(this.y2c(n.radiansToDegrees(r[1])),3)):(u=this.longitudeToCoordinate(t),r=this.latitudeToCoordinate(i)),{x:u,y:r}},coordinatesToStageXY:function(n,t){var i=this.coordinatesToXY(n,t),r=i.x*this.zoomLevel()+this.mapContainer.x,i=i.y*this.zoomLevel()+this.mapContainer.y;return{x:r,y:i}},stageXYToCoordinates:function(n,t){var i=this.mapSet.getBBox(),r=(n-this.mapContainer.x)/this.zoomLevel()-i.x*this.mapScale,i=(t-this.mapContainer.y)/this.zoomLevel()-i.y*this.mapScale;return this.xyToCoordinates(r,i)},xyToCoordinates:function(t,i,r,u,f){var s;if(isNaN(u)&&(u=this.mapWidth),isNaN(f)&&(f=this.mapHeight),r||(r=this.projectionFunction),s=r.invert){var e=this.dataProvider.leftLongitude,h=this.dataProvider.rightLongitude,o=this.dataProvider.topLatitude,c=this.dataProvider.bottomLatitude,l=e+(h-e)/2,a=o+(c-o)/2,o=n.radiansToDegrees(r(n.degreesToRadians(l),n.degreesToRadians(o))[1]),c=n.radiansToDegrees(r(n.degreesToRadians(l),n.degreesToRadians(c))[1]),e=n.radiansToDegrees(r(n.degreesToRadians(e),n.degreesToRadians(a))[0]),h=n.radiansToDegrees(r(n.degreesToRadians(h),n.degreesToRadians(a))[0]);this.projectionChanged&&(o=n.radiansToDegrees(r(n.degreesToRadians(this.topLongLat.longitude),n.degreesToRadians(this.topLongLat.latitude))[1]),c=n.radiansToDegrees(r(n.degreesToRadians(this.bottomLongLat.longitude),n.degreesToRadians(this.bottomLongLat.latitude))[1]),e=n.radiansToDegrees(r(n.degreesToRadians(this.leftLongLat.longitude),n.degreesToRadians(this.leftLongLat.latitude))[0]),h=n.radiansToDegrees(r(n.degreesToRadians(this.rightLongLat.longitude),n.degreesToRadians(this.rightLongLat.latitude))[0]));t=n.degreesToRadians(t/u*(h-e)+e);i=n.degreesToRadians(i/f*(c-o)+o);i=s(t,i);s=n.radiansToDegrees(i[0]);i=n.radiansToDegrees(i[1])}else s=this.coordinateToLongitude(t),i=this.coordinateToLatitude(i);return{longitude:n.roundTo(s,4),latitude:n.roundTo(i,4)}},coordinateToLatitude:function(t,i){var r,u,f;return void 0===i&&(i=this.mapHeight),this.mapSet&&(u=this.dataProvider,f=u.bottomLatitude,r=u.topLatitude,"mercator"==u.projection?(u=this.mercatorLatitudeToCoordinate(f),r=this.mercatorLatitudeToCoordinate(r),r=2*n.degreesToRadians(t*(u-r)/i+r),r=n.radiansToDegrees(2*Math.atan(Math.exp(r))-.5*Math.PI)):r=t/i*(f-r)+r),Math.round(1e6*r)/1e6},handleKeyUp:function(n){13==n.keyCode&&this.focusedItem&&this.selectObject(this.focusedItem)},coordinateToLongitude:function(n,t){var r,i=this.dataProvider;return void 0===t&&(t=this.mapWidth),this.mapSet&&(r=n/t*(i.rightLongitude-i.leftLongitude)+i.leftLongitude),Math.round(1e6*r)/1e6}})}(),function(){var n=window.AmCharts;n.ZoomControl=n.Class({construct:function(t){this.cname="ZoomControl";this.panStepSize=.1;this.zoomFactor=2;this.maxZoomLevel=64;this.minZoomLevel=1;this.panControlEnabled=!1;this.zoomControlEnabled=!0;this.buttonRollOverColor="#DADADA";this.buttonFillColor="#FFFFFF";this.buttonFillAlpha=1;this.buttonBorderColor="#000000";this.buttonBorderAlpha=.1;this.buttonIconAlpha=this.buttonBorderThickness=1;this.gridColor=this.buttonIconColor="#000000";this.homeIconFile="homeIcon.gif";this.gridBackgroundColor="#000000";this.draggerAlpha=this.gridAlpha=this.gridBackgroundAlpha=0;this.draggerSize=this.buttonSize=31;this.iconSize=11;this.homeButtonEnabled=!0;this.buttonCornerRadius=2;this.gridHeight=5;this.roundButtons=!0;this.top=this.left=10;n.applyTheme(this,t,this.cname)},init:function(t,i){var r=this,w,l,u,v,ut,a,ft,ot;r.chart=t;n.remove(r.set);w=i.set();n.setCN(t,w,"zoom-control");var f=r.buttonSize,a=r.zoomControlEnabled,s=r.panControlEnabled,b=r.buttonFillColor,y=r.buttonFillAlpha,k=r.buttonBorderThickness,d=r.buttonBorderColor,p=r.buttonBorderAlpha,g=r.buttonCornerRadius,nt=r.buttonRollOverColor,tt=r.gridHeight,o=r.zoomFactor,st=r.minZoomLevel,et=r.maxZoomLevel,h=r.buttonIconAlpha,c=r.buttonIconColor,it=r.roundButtons,rt=t.svgIcons,u=t.getX(r.left),e=t.getY(r.top);if(isNaN(r.right)||(u=t.getX(r.right,!0),u=s?u-3*f:u-f),isNaN(r.bottom)||(e=t.getY(r.bottom,!0),a&&(e-=tt+3*f),e=s?e-3*f:r.homeButtonEnabled?e-.5*f:e+f),w.translate(u,e),r.previousDY=NaN,u=f/4-1,a){for(l=i.set(),n.setCN(t,l,"zoom-control-zoom"),w.push(l),r.set=w,r.zoomSet=l,5<tt&&(a=n.rect(i,f+6,tt+2*f+6,r.gridBackgroundColor,r.gridBackgroundAlpha,0,"#000000",0,4),n.setCN(t,a,"zoom-bg"),a.translate(-3,-3),a.mouseup(function(){r.handleBgUp()}).touchend(function(){r.handleBgUp()}),l.push(a)),v=f,it&&(v=f/1.5),r.draggerSize=v,ut=Math.log(et/st)/Math.log(o)+1,1e3<ut&&(ut=1e3),a=tt/ut,ot=i.set(),ot.translate((f-v)/2+1,1,NaN,!0),l.push(ot),ft=1;ft<ut;ft++)e=f+ft*a,e=n.line(i,[1,v-2],[e,e],r.gridColor,r.gridAlpha,1),n.setCN(t,e,"zoom-grid"),ot.push(e);e=new n.SimpleButton;e.setDownHandler(r.draggerDown,r);e.setClickHandler(r.draggerUp,r);e.init(i,v,a,b,y,k,d,p,g,nt);n.setCN(t,e.set,"zoom-dragger");l.push(e.set);e.set.setAttr("opacity",r.draggerAlpha);r.dragger=e.set;r.previousY=NaN;e=new n.SimpleButton;rt?(v=i.set(),ut=n.line(i,[-u,u],[0,0],c,h,1),ft=n.line(i,[0,0],[-u,u],c,h,1),v.push(ut),v.push(ft),e.svgIcon=v):e.setIcon(t.pathToImages+"plus.gif",r.iconSize);e.setClickHandler(t.zoomIn,t);e.init(i,f,f,b,y,k,d,p,g,nt,h,c,it);n.setCN(t,e.set,"zoom-in");l.push(e.set);e=new n.SimpleButton;rt?e.svgIcon=n.line(i,[-u,u],[0,0],c,h,1):e.setIcon(t.pathToImages+"minus.gif",r.iconSize);e.setClickHandler(t.zoomOut,t);e.init(i,f,f,b,y,k,d,p,g,nt,h,c,it);e.set.translate(0,tt+f);n.setCN(t,e.set,"zoom-out");l.push(e.set);tt-=a;et=Math.log(et/100)/Math.log(o);r.realStepSize=tt/(et-Math.log(st/100)/Math.log(o));r.realGridHeight=tt;r.stepMax=et}s&&(s=i.set(),n.setCN(t,s,"zoom-control-pan"),w.push(s),l&&l.translate(f,4*f),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[u/5,-u+u/5,u/5],[-u,0,u],c,h,1):o.setIcon(t.pathToImages+"panLeft.gif",r.iconSize),o.setClickHandler(t.moveLeft,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(0,f),n.setCN(t,o.set,"pan-left"),s.push(o.set),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[-u/5,u-u/5,-u/5],[-u,0,u],c,h,1):o.setIcon(t.pathToImages+"panRight.gif",r.iconSize),o.setClickHandler(t.moveRight,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(2*f,f),n.setCN(t,o.set,"pan-right"),s.push(o.set),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[-u,0,u],[u/5,-u+u/5,u/5],c,h,1):o.setIcon(t.pathToImages+"panUp.gif",r.iconSize),o.setClickHandler(t.moveUp,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(f,0),n.setCN(t,o.set,"pan-up"),s.push(o.set),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[-u,0,u],[-u/5,u-u/5,-u/5],c,h,1):o.setIcon(t.pathToImages+"panDown.gif",r.iconSize),o.setClickHandler(t.moveDown,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(f,2*f),n.setCN(t,o.set,"pan-down"),s.push(o.set),w.push(s));r.homeButtonEnabled&&(s=new n.SimpleButton,rt?s.svgIcon=n.polygon(i,[-u,0,u,u-1,u-1,2,2,-2,-2,-u+1,-u+1],[0,-u,0,0,u-1,u-1,2,2,u-1,u-1,0],c,h,1,c,h):s.setIcon(t.pathToImages+r.homeIconFile,r.iconSize),s.setClickHandler(t.goHome,t),r.panControlEnabled&&(p=y=0),s.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),r.panControlEnabled?s.set.translate(f,f):l&&l.translate(0,1.5*f),n.setCN(t,s.set,"pan-home"),w.push(s.set));r.update()},draggerDown:function(){this.chart.stopDrag();this.isDragging=!0},draggerUp:function(){this.isDragging=!1},handleBgUp:function(){var n=this.chart;n.zoomTo(100*Math.pow(this.zoomFactor,this.stepMax-(n.mouseY-this.zoomSet.y-this.set.y-this.buttonSize-this.realStepSize/2)/this.realStepSize))},update:function(){var r=this.zoomFactor;var e=this.realStepSize,o=this.stepMax,f=this.dragger,u=this.buttonSize,t,i=this.chart;i&&(this.isDragging?(i.stopDrag(),t=f.y+(i.mouseY-this.previousY),t=n.fitToBounds(t,u,this.realGridHeight+u),i.zoomTo(100*Math.pow(r,o-(t-u)/e),NaN,NaN,!0)):(r=Math.log(i.zoomLevel()/100)/Math.log(r),t=(o-r)*e+u),this.previousY=i.mouseY,this.previousDY!=t&&f&&(f.translate((this.buttonSize-this.draggerSize)/2,t),this.previousDY=t))}})}(),function(){var n=window.AmCharts;n.SimpleButton=n.Class({construct:function(){},init:function(t,i,r,u,f,e,o,s,h,c,l,a,v){var y=this,p;y.rollOverColor=c;y.color=u;y.container=t;c=t.set();y.set=c;v?(i/=2,u=n.circle(t,i,u,f,e,o,s),u.translate(i,i)):u=n.rect(t,i,r,u,f,e,o,s,h);c.push(u);f=y.iconPath;f&&(p=y.iconSize,e=(i-p)/2,v&&(e=(2*i-p)/2),p=t.image(f,e,(r-p)/2,p,p));y.svgIcon&&(p=y.svgIcon,v?p.translate(i,i):p.translate(i/2,i/2));c.setAttr("cursor","pointer");p&&(c.push(p),p.setAttr("opacity",l),p.node.style.pointerEvents="none");u.mousedown(function(){y.handleDown()}).touchstart(function(){y.handleDown()}).mouseup(function(){y.handleUp()}).touchend(function(){y.handleUp()}).mouseover(function(){y.handleOver()}).mouseout(function(){y.handleOut()});y.bg=u},setIcon:function(n,t){this.iconPath=n;this.iconSize=t},setClickHandler:function(n,t){this.clickHandler=n;this.scope=t},setDownHandler:function(n,t){this.downHandler=n;this.scope=t},handleUp:function(){var n=this.clickHandler;n&&n.call(this.scope)},handleDown:function(){var n=this.downHandler;n&&n.call(this.scope)},handleOver:function(){this.container.chart.skipClick=!0;this.bg.setAttr("fill",this.rollOverColor)},handleOut:function(){this.container.chart.skipClick=!1;this.bg.setAttr("fill",this.color)}})}(),function(){var n=window.AmCharts;n.SmallMap=n.Class({construct:function(t){this.cname="SmallMap";this.mapColor="#e6e6e6";this.rectangleColor="#FFFFFF";this.top=this.right=10;this.minimizeButtonWidth=23;this.backgroundColor="#9A9A9A";this.backgroundAlpha=1;this.borderColor="#FFFFFF";this.iconColor="#000000";this.borderThickness=3;this.borderAlpha=1;this.size=.2;this.enabled=!0;n.applyTheme(this,t,this.cname)},init:function(t,i){var r=this,h,l,c,a,v;if(r.enabled){r.chart=t;r.container=i;r.width=t.realWidth*r.size;r.height=t.realHeight*r.size;n.remove(r.mapSet);n.remove(r.allSet);n.remove(r.set);h=i.set();r.set=h;n.setCN(t,h,"small-map");l=i.set();r.allSet=l;h.push(l);r.buildSVGMap();var u=r.borderThickness,e=r.borderColor,f=n.rect(i,r.width+u,r.height+u,r.backgroundColor,r.backgroundAlpha,u,e,r.borderAlpha);n.setCN(t,f,"small-map-bg");f.translate(-u/2,-u/2);l.push(f);f.toBack();var y,p,f=r.minimizeButtonWidth,o=new n.SimpleButton,s=f/2;t.svgIcons?o.svgIcon=n.line(i,[-s/2,0,s/2],[-s/4,s/4,-s/4],r.iconColor,1,1):o.setIcon(t.pathToImages+"arrowDown.gif",f);o.setClickHandler(r.minimize,r);o.init(i,f,f,e,1,1,e,1);n.setCN(t,o.set,"small-map-down");o=o.set;r.downButtonSet=o;h.push(o);c=new n.SimpleButton;t.svgIcons?c.svgIcon=n.line(i,[-s/2,0,s/2],[s/4,-s/4,s/4],r.iconColor,1,1):c.setIcon(t.pathToImages+"arrowUp.gif",f);c.setClickHandler(r.maximize,r);c.init(i,f,f,e,1,1,e,1);n.setCN(t,c.set,"small-map-up");e=c.set;r.upButtonSet=e;e.hide();h.push(e);isNaN(r.top)||(y=t.getY(r.top)+u,v=0);isNaN(r.bottom)||(y=t.getY(r.bottom,!0)-r.height-u,v=r.height-f+u/2);isNaN(r.left)||(p=t.getX(r.left)+u,a=-u/2);isNaN(r.right)||(p=t.getX(r.right,!0)-r.width-u,a=r.width-f+u/2);u=i.set();u.clipRect(1,1,r.width,r.height);l.push(u);r.rectangleC=u;h.translate(p,y);o.translate(a,v);e.translate(a,v);l.mouseup(function(){r.handleMouseUp()});r.drawRectangle()}else n.remove(r.allSet),n.remove(r.downButtonSet),n.remove(r.upButtonSet)},minimize:function(){this.downButtonSet.hide();this.upButtonSet.show();this.allSet.hide()},maximize:function(){this.downButtonSet.show();this.upButtonSet.hide();this.allSet.show()},buildSVGMap:function(){var f=this.chart,i={fill:this.mapColor,stroke:this.mapColor,"stroke-opacity":1},t=this.container,u=t.set(),r,e;for(n.setCN(f,u,"small-map-image"),r=0;r<f.svgAreas.length;r++)e=t.path(f.svgAreas[r].path).attr(i),u.push(e);this.allSet.push(u);i=u.getBBox();t=this.size*f.mapScale;r=-i.x*t;var e=-i.y*t,o=0,s=0;f.centerMap&&(o=(this.width-i.width*t)/2,s=(this.height-i.height*t)/2);this.mapWidth=i.width*t;this.mapHeight=i.height*t;r+=o;e+=s;this.dx=o;this.dy=s;u.translate(r,e,t);this.mapSet=u;this.mapX=r;this.mapY=e},update:function(){var n=this.chart;if(n){var t=n.zoomLevel(),i=this.width,r=this.height,f=i/(n.realWidth*t),e=n.mapContainer.getBBox(),i=i/t,r=r/t,u=this.rectangle;u.translate(-(n.mapContainer.x+e.x*t)*f+this.dx,-(n.mapContainer.y+e.y*t)*f+this.dy);0<i&&0<r&&(u.setAttr("width",Math.ceil(i+1)),u.setAttr("height",Math.ceil(r+1)));this.rWidth=i;this.rHeight=r}},drawRectangle:function(){var t=this.rectangle;n.remove(t);t=n.rect(this.container,10,10,"#000",0,1,this.rectangleColor,1);n.setCN(this.chart,t,"small-map-rectangle");this.rectangleC.push(t);this.rectangle=t},handleMouseUp:function(){var n=this.chart,t=n.zoomLevel();n.zoomToMapXY(t,(n.mouseX-this.set.x-this.mapX)/this.size+n.diffX*n.mapScale,(n.mouseY-this.set.y-this.mapY)/this.size+n.diffY*n.mapScale)}})}(),function(){var n=window.AmCharts;n.AreasProcessor=n.Class({construct:function(n){this.chart=n},process:function(n){var r;this.updateAllAreas();this.allObjects=[];n=n.areas;r=this.chart;r.outlines=[];for(var e=n.length,t,o=0,f=!1,u=!1,s=0,i=0;i<e;i++)(t=n[i],t.value=Number(t.value),t=t.value,isNaN(t))||((!1===f||f<t)&&(f=t),(!1===u||u>t)&&(u=t),o+=Math.abs(t),s++);for(this.minValue=u,this.maxValue=f,isNaN(r.minValue)||(this.minValue=r.minValue),isNaN(r.maxValue)||(this.maxValue=r.maxValue),r.maxValueReal=f,r.minValueReal=u,i=0;i<e;i++)t=n[i],isNaN(t.value)?t.percents=void 0:(t.percents=(t.value-u)/o*100,u==f&&(t.percents=100));for(i=0;i<e;i++)t=n[i],this.createArea(t);r.outlinesToFront()},updateAllAreas:function(){for(var u=this.chart,f=u.areasSettings,s=f.unlistedAreasColor,h=f.unlistedAreasAlpha,c=f.unlistedAreasOutlineColor,l=f.unlistedAreasOutlineAlpha,a=u.svgAreas,e=u.dataProvider,t=e.areas,v={},o,r,i=0;i<t.length;i++)v[t[i].id]=t[i];for(i=0;i<a.length;i++){if(t=a[i],f.preserveOriginalAttributes){if(t.customAttr)for(o in t.customAttr)t.setAttr(o,t.customAttr[o])}else void 0!=s&&t.setAttr("fill",s),isNaN(h)||t.setAttr("fill-opacity",h),void 0!=c&&t.setAttr("stroke",c),isNaN(l)||t.setAttr("stroke-opacity",l),r=f.outlineThickness,f.adjustOutlineThickness&&(r=r/u.zoomLevel()/u.mapScale),t.setAttr("stroke-width",r);n.setCN(u,t,"map-area-unlisted");e.getAreasFromMap&&!v[t.id]&&(r=new n.MapArea(u.theme),r.parentObject=e,r.id=t.id,r.outline=t.outline,e.areas.push(r))}},createArea:function(t){var r=this.chart,f=r.svgAreasById[t.id],i=r.areasSettings,e,a,g;f&&f.className&&(e=r.areasClasses[f.className],e&&(i=n.processObject(e,n.AreasSettings,r.theme)));var s=i.color,h=i.alpha,w=i.outlineThickness,c=i.rollOverColor,b=i.selectedColor,k=i.rollOverAlpha,u=i.rollOverBrightness,v=i.outlineColor,o=i.outlineAlpha,l=i.balloonText,nt=i.selectable,y=i.pattern,d=i.rollOverOutlineColor,p=i.bringForwardOnHover,tt=i.preserveOriginalAttributes;this.allObjects.push(t);t.chart=r;t.baseSettings=i;t.autoZoomReal=void 0==t.autoZoom?i.autoZoom:t.autoZoom;e=t.color;void 0==e&&(e=s);a=t.alpha;isNaN(a)&&(a=h);h=t.rollOverAlpha;isNaN(h)&&(h=k);isNaN(h)&&(h=a);k=t.rollOverColor;void 0==k&&(k=c);c=t.pattern;void 0==c&&(c=y);y=t.selectedColor;void 0==y&&(y=b);b=t.balloonText;void 0===b&&(b=l);void 0==i.colorSolid||isNaN(t.value)||(l=Math.floor((t.value-this.minValue)/((this.maxValue-this.minValue)/r.colorSteps)),l==r.colorSteps&&l--,l*=1/(r.colorSteps-1),this.maxValue==this.minValue&&(l=1),t.colorReal=n.getColorFade(e,i.colorSolid,l));void 0!=t.color&&(t.colorReal=t.color);void 0==t.selectable&&(t.selectable=nt);void 0==t.colorReal&&(t.colorReal=s);s=t.outlineColor;void 0==s&&(s=v);v=t.outlineAlpha;isNaN(v)&&(v=o);o=t.outlineThickness;isNaN(o)&&(o=w);w=t.rollOverOutlineColor;void 0==w&&(w=d);d=t.rollOverBrightness;void 0==d&&(d=u);void 0==t.bringForwardOnHover&&(t.bringForwardOnHover=p);void 0==t.preserveOriginalAttributes&&(t.preserveOriginalAttributes=tt);isNaN(i.selectedBrightness)||(y=n.adjustLuminosity(t.colorReal,i.selectedBrightness/100));t.alphaReal=a;t.rollOverColorReal=k;t.rollOverAlphaReal=h;t.balloonTextReal=b;t.selectedColorReal=y;t.outlineColorReal=s;t.outlineAlphaReal=v;t.rollOverOutlineColorReal=w;t.outlineThicknessReal=o;t.patternReal=c;t.rollOverBrightnessReal=d;t.accessibleLabel||(t.accessibleLabel=i.accessibleLabel);n.processDescriptionWindow(i,t);f&&(u=f.area,p=f.title,t.enTitle=f.title,p&&!t.title&&(t.title=p),(f=r.language)?(p=n.mapTranslations)&&(f=p[f])&&f[t.enTitle]&&(t.titleTr=f[t.enTitle]):t.titleTr=void 0,u)&&(f=t.tabIndex,void 0===f&&(f=i.tabIndex),void 0!==f&&u.setAttr("tabindex",f),t.displayObject=u,t.outline&&(a=0,t.alphaReal=0,t.rollOverAlphaReal=0,t.mouseEnabled=!1,r.outlines.push(u),u.node.setAttribute("pointer-events","none")),t.mouseEnabled&&r.addObjectEventListeners(u,t),void 0!=e&&(g=e),void 0!=t.colorReal&&(g=t.showAsSelected||r.selectedObject==t?t.selectedColorReal:t.colorReal),u.node.setAttribute("class",""),n.setCN(r,u,"map-area"),n.setCN(r,u,"map-area-"+u.id),i.adjustOutlineThickness&&(o=o/r.zoomLevel()/r.mapScale),t.preserveOriginalAttributes||(u.setAttr("fill",g),u.setAttr("stroke",s),u.setAttr("stroke-opacity",v),u.setAttr("stroke-width",o),u.setAttr("fill-opacity",a)),r.makeObjectAccessible(t),c&&u.pattern(c,r.mapScale,r.path),t.hidden&&u.hide())}})}(),function(){var n=window.AmCharts;n.AreasSettings=n.Class({construct:function(t){this.cname="AreasSettings";this.alpha=1;this.autoZoom=!1;this.balloonText="[[title]]";this.color="#FFCC00";this.colorSolid="#990000";this.unlistedAreasAlpha=1;this.unlistedAreasColor="#DDDDDD";this.outlineColor="#FFFFFF";this.outlineThickness=this.outlineAlpha=1;this.selectedColor=this.rollOverOutlineColor="#CC0000";this.unlistedAreasOutlineColor="#FFFFFF";this.unlistedAreasOutlineAlpha=1;this.descriptionWindowWidth=250;this.bringForwardOnHover=this.adjustOutlineThickness=!0;this.accessibleLabel="[[title]] [[value]] [[description]]";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.ImagesProcessor=n.Class({construct:function(n){this.chart=n;this.reset()},process:function(n){for(var i=n.images,r,t=i.length-1;0<=t;t--)r=i[t],this.createImage(r,t),r.parentArray=i;this.counter=t;n.parentObject&&n.remainVisible&&this.process(n.parentObject)},createImage:function(t,i){var s,y,r;t=n.processObject(t,n.MapImage);t.arrays=[];isNaN(i)&&(this.counter++,i=this.counter);var u=this.chart,a=u.container,g=u.mapImagesContainer,ot=u.stageImagesContainer,f=u.imagesSettings;t.remove&&t.remove();var p=f.color,w=f.alpha,nt=f.rollOverColor,b=f.rollOverOutlineColor,it=f.selectedColor,d=f.balloonText,tt=f.outlineColor,h=f.outlineAlpha,et=f.outlineThickness,k=f.selectedScale,c=f.rollOverScale,v=f.selectable,rt=f.labelPosition,ut=f.labelColor,e=f.labelFontSize,st=f.bringForwardOnHover,ft=f.labelRollOverColor,l=f.rollOverBrightness,o=f.selectedLabelColor;return t.index=i,t.chart=u,t.baseSettings=u.imagesSettings,s=a.set(),t.displayObject=s,y=t.color,void 0==y&&(y=p),p=t.alpha,isNaN(p)&&(p=w),void 0==t.bringForwardOnHover&&(t.bringForwardOnHover=st),w=t.outlineAlpha,isNaN(w)&&(w=h),h=t.rollOverColor,void 0==h&&(h=nt),nt=t.selectedColor,void 0==nt&&(nt=it),it=t.balloonText,void 0===it&&(it=d),d=t.outlineColor,void 0==d&&(d=tt),t.outlineColorReal=d,tt=t.outlineThickness,isNaN(tt)&&(tt=et),(et=t.labelPosition)||(et=rt),rt=t.labelColor,void 0==rt&&(rt=ut),ut=t.labelRollOverColor,void 0==ut&&(ut=ft),ft=t.selectedLabelColor,void 0==ft&&(ft=o),o=t.labelFontSize,isNaN(o)&&(o=e),e=t.selectedScale,isNaN(e)&&(e=k),k=t.rollOverScale,isNaN(k)&&(k=c),c=t.rollOverBrightness,void 0==c&&(c=l),void 0==t.selectable&&(t.selectable=v),t.colorReal=y,isNaN(f.selectedBrightness)||(nt=n.adjustLuminosity(t.colorReal,f.selectedBrightness/100)),t.alphaReal=p,t.rollOverColorReal=h,t.balloonTextReal=it,t.selectedColorReal=nt,t.labelColorReal=rt,t.labelRollOverColorReal=ut,t.selectedLabelColorReal=ft,t.labelFontSizeReal=o,t.labelPositionReal=et,t.selectedScaleReal=e,t.rollOverScaleReal=k,t.rollOverOutlineColorReal=b,t.rollOverBrightnessReal=c,t.accessibleLabel||(t.accessibleLabel=f.accessibleLabel),n.processDescriptionWindow(f,t),t.centeredReal=void 0==t.centered?f.centered:t.centered,b=t.type,c=t.imageURL,k=t.svgPath,e=t.width,o=t.height,v=t.scale,isNaN(t.percentWidth)||(e=t.percentWidth/100*u.realWidth),isNaN(t.percentHeight)||(o=t.percentHeight/100*u.realHeight),c||b||k||(b="circle",e=1,w=p=0),h=l=0,f=t.selectedColorReal,b?(isNaN(e)&&(e=10),isNaN(o)&&(o=10),"kilometers"==t.widthAndHeightUnits&&(e=u.kilometersToPixels(t.width),o=u.kilometersToPixels(t.height)),"miles"==t.widthAndHeightUnits&&(e=u.milesToPixels(t.width),o=u.milesToPixels(t.height)),("circle"==b||"bubble"==b)&&(o=e),r=this.createPredefinedImage(y,d,tt,b,e,o),h=l=0,t.centeredReal?(isNaN(t.right)||(l=e*v),isNaN(t.bottom)||(h=o*v)):(l=e*v/2,h=o*v/2),r.translate(l,h,v,!0)):c?(isNaN(e)&&(e=10),isNaN(o)&&(o=10),r=a.image(c,0,0,e,o),r.node.setAttribute("preserveAspectRatio","none"),r.setAttr("opacity",p),t.centeredReal&&(l=isNaN(t.right)?-e/2:e/2,h=isNaN(t.bottom)?-o/2:o/2,r.translate(l,h,NaN,!0))):k&&(r=a.path(k),c=r.getBBox(),t.centeredReal?(l=-c.x*v-c.width*v/2,isNaN(t.right)||(l=-l),h=-c.y*v-c.height*v/2,isNaN(t.bottom)||(h=-h)):l=h=0,r.translate(l,h,v,!0),r.x=l,r.y=h),r&&(s.push(r),t.image=r,r.setAttr("stroke-opacity",w),r.setAttr("stroke-width",tt),r.setAttr("stroke",d),r.setAttr("fill-opacity",p),"bubble"!=b&&r.setAttr("fill",y),n.setCN(u,r,"map-image"),void 0!=t.id&&n.setCN(u,r,"map-image-"+t.id)),y=t.labelColorReal,(t.showAsSelected||u.selectedObject==t)&&void 0!=f&&(r&&r.setAttr("fill",f),y=t.selectedLabelColorReal),r=null,void 0!==t.label&&(r=n.text(a,t.label,y,u.fontFamily,t.labelFontSizeReal,t.labelAlign),n.setCN(u,r,"map-image-label"),void 0!==t.id&&n.setCN(u,r,"map-image-label-"+t.id),y=t.labelBackgroundAlpha,(p=t.labelBackgroundColor)&&0<y&&(w=r.getBBox(),a=n.rect(a,w.width+16,w.height+10,p,y),n.setCN(u,a,"map-image-label-background"),void 0!=t.id&&n.setCN(u,a,"map-image-label-background-"+t.id),s.push(a),t.labelBG=a),t.imageLabel=r,s.push(r),n.setCN(u,s,"map-image-container"),void 0!=t.id&&n.setCN(u,s,"map-image-container-"+t.id),this.labelsToReposition.push(t),t.arrays.push({arr:this.labelsToReposition,el:t})),a=isNaN(t.latitude)||isNaN(t.longitude)?!0:!1,t.lineId&&(r=this.chart.getObjectById(t.lineId))&&0<r.longitudes.length&&(a=!1),a?ot.push(s):g.push(s),s.toBack(),s&&(s.rotation=t.rotation,isNaN(t.rotation)||s.rotate(t.rotation),t.arrays.push({arr:this.allSvgObjects,el:s}),this.allSvgObjects.push(s)),this.allObjects.push(t),u.makeObjectAccessible(t),g=t.tabIndex,void 0===g&&(g=u.imagesSettings.tabIndex),void 0!==g&&s.setAttr("tabindex",g),t.arrays.push({arr:this.allObjects,el:t}),isNaN(t.longitude)||isNaN(t.latitude)||!t.fixedSize||(t.objToResize={image:s,mapImage:t,scale:1},this.objectsToResize.push(t.objToResize),t.arrays.push({arr:this.objectsToResize,el:t.objToResize})),this.updateSizeAndPosition(t),t.mouseEnabled&&u.addObjectEventListeners(s,t),t.hidden&&s.hide(),n.removeFromArray(u.updatableImages,t),t.animateAlongLine&&(u.updatableImages.push(t),t.delayAnimateAlong()),t},updateSizeAndPosition:function(t){var u=this.chart,o=t.displayObject,f=u.getX(t.left),i=u.getY(t.top),h,c=t.image.getBBox(),e;isNaN(t.right)||(f=u.getX(t.right,!0)-c.width*t.scale);isNaN(t.bottom)||(i=u.getY(t.bottom,!0)-c.height*t.scale);var l=t.longitude,a=t.latitude,s=t.positionOnLine,c=t.imageLabel,y=this.chart.zoomLevel(),r,v;t.lineId&&(t.line=this.chart.getObjectById(t.lineId));t.line&&t.line.getCoordinates&&(t.line.chart=u,e=t.line.getCoordinates(s,t.lineSegment),e&&(l=u.coordinateToLongitude(e.x),a=u.coordinateToLatitude(e.y),r=e.x,v=e.y,t.animateAngle&&(h=n.radiansToDegrees(e.angle))));isNaN(h)||o.rotate(h+t.extraAngle);isNaN(f)||isNaN(i)?isNaN(a)||isNaN(l)||((i=u.coordinatesToXY(l,a),f=i.x,i=i.y,isNaN(r)||(f=r),isNaN(v)||(i=v),t.fixedSize)?(r=t.positionScale,isNaN(r)?r=0:(--r,r*=1-2*Math.abs(s-.5)),(s=t.objectToResize)&&(s.scale=1+r),o.translate(f,i,1/y+r,!0)):o.translate(f,i,NaN,!0)):o.translate(f,i,NaN,!0);this.positionLabel(c,t,t.labelPositionReal)},positionLabel:function(n,t,i){if(n){var e=t.image,u=0,f=0,o=0,r=0;e&&(r=e.getBBox(),f=e.y+r.y,u=e.x+r.x,o=r.width,r=r.height,t.svgPath&&(o*=t.scale,r*=t.scale));var e=n.getBBox(),s=e.width,h=e.height;"right"==i&&(u+=o+s/2+5,f+=r/2-2);"left"==i&&(u+=-s/2-5,f+=r/2-2);"top"==i&&(f-=h/2+3,u+=o/2);"bottom"==i&&(f+=r+h/2,u+=o/2);"middle"==i&&(u+=o/2,f+=r/2);n.translate(u+t.labelShiftX,f+t.labelShiftY,NaN,!0);n=t.labelFontSizeReal;t.labelBG&&t.labelBG.translate(u-e.width/2+t.labelShiftX-9,f-n/2+t.labelShiftY-4,NaN,!0)}},createPredefinedImage:function(t,i,r,u,f,e){var s=this.chart.container,o;switch(u){case"circle":o=n.circle(s,f/2,t,1,r,i,1);break;case"rectangle":o=n.polygon(s,[-f/2,f/2,f/2,-f/2],[e/2,e/2,-e/2,-e/2],t,1,r,i,1,0,!0);break;case"bubble":o=n.circle(s,f/2,t,1,r,i,1,!0);break;case"hexagon":f/=Math.sqrt(3);o=n.polygon(s,[.866*f,0*f,-.866*f,-.866*f,0*f,.866*f],[.5*f,1*f,.5*f,-.5*f,-1*f,-.5*f],t,1,r,i,1)}return o},reset:function(){this.objectsToResize=[];this.allSvgObjects=[];this.allObjects=[];this.allLabels=[];this.labelsToReposition=[]}})}(),function(){var n=window.AmCharts;n.ImagesSettings=n.Class({construct:function(t){this.cname="ImagesSettings";this.balloonText="[[title]]";this.alpha=1;this.borderAlpha=0;this.borderThickness=1;this.labelPosition="right";this.labelColor="#000000";this.labelFontSize=11;this.color="#000000";this.labelRollOverColor="#00CC00";this.centered=!0;this.rollOverScale=this.selectedScale=1;this.descriptionWindowWidth=250;this.bringForwardOnHover=!0;this.outlineColor="transparent";this.adjustAnimationSpeed=!1;this.baseAnimationDistance=500;this.pauseDuration=0;this.easingFunction=n.easeInOutQuad;this.animationDuration=3;this.positionScale=1;this.accessibleLabel="[[title]] [[description]]";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.LinesProcessor=n.Class({construct:function(n){this.chart=n;this.reset()},process:function(n){for(var i=n.lines,r,t=0;t<i.length;t++)r=i[t],this.createLine(r,t),r.parentArray=i;this.counter=t;n.parentObject&&n.remainVisible&&this.process(n.parentObject)},createLine:function(t,i){var k,nt,d,ht,w,r,a,v,o,ft,ot;t=n.processObject(t,n.MapLine);isNaN(i)&&(this.counter++,i=this.counter);t.index=i;t.remove&&t.remove();var l=this.chart,s=l.linesSettings,ut=this.objectsToResize,yt=l.mapLinesContainer,pt=l.stageLinesContainer,a=s.thickness,p=s.dashLength,g=s.arrow,y=s.arrowSize,it=s.arrowColor,e=s.arrowAlpha,tt=s.color,r=s.alpha,et=s.rollOverColor,h=s.selectedColor,u=s.rollOverAlpha,rt=s.balloonText,f=s.bringForwardOnHover,b=s.arc,c=s.rollOverBrightness,st=l.container;if(t.chart=l,t.baseSettings=s,k=st.set(),t.displayObject=k,nt=t.tabIndex,void 0===nt&&(nt=s.tabIndex),void 0!==nt&&k.setAttr("tabindex",nt),this.allSvgObjects.push(k),t.arrays.push({arr:this.allSvgObjects,el:k}),this.allObjects.push(t),t.arrays.push({arr:this.allObjects,el:t}),t.mouseEnabled&&l.addObjectEventListeners(k,t),t.remainVisible||l.selectedObject==t.parentObject){if(nt=t.thickness,isNaN(nt)&&(nt=a),a=t.dashLength,isNaN(a)&&(a=p),p=t.color,void 0==p&&(p=tt),tt=t.alpha,isNaN(tt)&&(tt=r),r=t.rollOverAlpha,isNaN(r)&&(r=u),isNaN(r)&&(r=tt),u=t.rollOverColor,void 0==u&&(u=et),et=t.selectedColor,void 0==et&&(et=h),h=t.balloonText,void 0===h&&(h=rt),rt=Number(t.arc),isNaN(rt)&&(rt=b),b=t.arrow,b&&("none"!=b||"none"==g)||(b=g),g=t.arrowColor,void 0==g&&(g=it),void 0==g&&(g=p),it=t.arrowAlpha,isNaN(it)&&(it=e),isNaN(it)&&(it=tt),e=t.arrowSize,isNaN(e)&&(e=y),y=t.rollOverBrightness,void 0==y&&(y=c),t.colorReal=p,t.arrowColor=g,isNaN(s.selectedBrightness)||(et=n.adjustLuminosity(t.colorReal,s.selectedBrightness/100)),t.alphaReal=tt,t.rollOverColorReal=u,t.rollOverAlphaReal=r,t.balloonTextReal=h,t.selectedColorReal=et,t.thicknessReal=nt,t.rollOverBrightnessReal=y,t.accessibleLabel||(t.accessibleLabel=s.accessibleLabel),void 0===t.shiftArrow&&(t.shiftArrow=s.shiftArrow),void 0==t.bringForwardOnHover&&(t.bringForwardOnHover=f),n.processDescriptionWindow(s,t),f=this.processCoordinates(t.x,l.realWidth),c=this.processCoordinates(t.y,l.realHeight),y=t.longitudes,s=t.latitudes,r=y.length,0<r)for(f=[],c=[],u=0;u<r;u++)h=l.coordinatesToXY(y[u],s[u]),f.push(h.x),c.push(h.y);if(0<f.length){if(t.segments=f.length,n.dx=0,n.dy=0,r=10*(1-Math.abs(rt)),10<=r&&(r=NaN),1>r&&(r=1),t.arcRadius=[],t.distances=[],y=l.mapContainer.scale,isNaN(r)){for(r=0;r<f.length-1;r++)ht=Math.sqrt(Math.pow(f[r+1]-f[r],2)+Math.pow(c[r+1]-c[r],2)),t.distances[r]=ht;r=n.line(st,f,c,p,1,nt/y,a,!1,!1,!0);p=n.line(st,f,c,p,.001,5/y,a,!1,!1,!0);r.setAttr("stroke-linecap","round")}else{for(u=1,h={fill:"none",stroke:p,"stroke-opacity":1,"stroke-width":nt/y,"fill-opacity":0,"stroke-linecap":"round"},void 0!==a&&0<a&&(h["stroke-dasharray"]=a),a="",v=0;v<f.length-1;v++){var ct=f[v],lt=f[v+1],at=c[v],vt=c[v+1];ht=Math.sqrt(Math.pow(lt-ct,2)+Math.pow(vt-at,2));w=ht/2*r;d=270+180*Math.acos(ht/2/w)/Math.PI;isNaN(d)&&(d=270);u=ct<=lt?0>rt?1:0:0<rt?1:0;0<rt&&(d=-d);a+="M"+ct+","+at+"A"+w+","+w+",0,0,"+u+","+lt+","+vt;t.arcRadius[v]=w;t.distances[v]=ht}r=st.path(a).attr(h);p=st.path(a).attr({"fill-opacity":0,stroke:p,"stroke-width":5/y,"stroke-opacity":.001,fill:"none"})}n.setCN(l,r,"map-line");void 0!=t.id&&n.setCN(l,r,"map-line-"+t.id);n.dx=.5;n.dy=.5;k.push(r);k.push(p);r.setAttr("opacity",tt);"none"!=b&&(("end"==b||"both"==b)&&(u=f[f.length-1],v=c[c.length-1],1<f.length?(h=f[f.length-2],o=c[c.length-2]):(h=u,o=v),o=180*Math.atan((v-o)/(u-h))/Math.PI,isNaN(d)||(o+=d),ft=u,ot=v,o=0>u-h?o-90:o+90),tt=[-e/2-.5,-.5,e/2-.5],a=[e,-.5,e],t.shiftArrow&&"middle"!=b&&(a=[0,1.2*-e,0]),"both"==b&&(e=n.polygon(st,tt,a,g,it,1,g,it,void 0,!0),k.push(e),e.translate(ft,ot,1/y,!0),isNaN(o)||e.rotate(o),n.setCN(l,r,"map-line-arrow"),void 0!=t.id&&n.setCN(l,r,"map-line-arrow-"+t.id),t.fixedSize&&ut.push(e)),("start"==b||"both"==b)&&(e=f[0],ot=c[0],1<f.length?(u=f[1],ft=c[1]):(u=e,ft=ot),o=180*Math.atan((ot-ft)/(e-u))/Math.PI,isNaN(d)||(o-=d),ft=e,o=0>e-u?o-90:o+90),"middle"==b&&(u=f[f.length-1],v=c[c.length-1],1<f.length?(h=f[f.length-2],o=c[c.length-2]):(h=u,o=v),ft=h+(u-h)/2,ot=o+(v-o)/2,o=180*Math.atan2(v-o,u-h)/Math.PI,isNaN(d)||(d=ht/2,w-=Math.sqrt(w*w-d*d),u>=h?0>rt&&(w=-w):0<rt&&(w=-w),ft-=Math.sin(o/180*Math.PI)*w,ot+=Math.cos(o/180*Math.PI)*w),o+=90),e=n.polygon(st,tt,a,g,it,1,g,it,void 0,!0),n.setCN(l,r,"map-line-arrow"),void 0!=t.id&&n.setCN(l,r,"map-line-arrow-"+t.id),k.push(e),e.translate(ft,ot,1/y,!0),isNaN(o)||e.rotate(o),t.fixedSize&&(ut.push(e),t.arrays.push({arr:ut,el:e})),t.arrowSvg=e);t.fixedSize&&r&&(ut={line:r,thickness:nt},this.linesToResize.push(ut),t.arrays.push({arr:this.linesToResize,el:ut}),ut={line:p,thickness:5},this.linesToResize.push(ut),t.arrays.push({arr:this.linesToResize,el:ut}));t.lineSvg=r;t.showAsSelected&&!isNaN(et)&&r.setAttr("stroke",et);0<s.length?yt.push(k):pt.push(k);t.hidden&&k.hide();l.makeObjectAccessible(t)}}},processCoordinates:function(n,t){for(var f=[],u,i,r=0;r<n.length;r++)u=n[r],i=Number(u),isNaN(i)&&(i=Number(u.replace("%",""))*t/100),isNaN(i)||f.push(i);return f},reset:function(){this.objectsToResize=[];this.allSvgObjects=[];this.allObjects=[];this.linesToResize=[]}})}(),function(){var n=window.AmCharts;n.LinesSettings=n.Class({construct:function(t){this.cname="LinesSettings";this.balloonText="[[title]]";this.thickness=1;this.dashLength=0;this.arrowSize=10;this.arrowAlpha=1;this.arrow="none";this.color="#990000";this.descriptionWindowWidth=250;this.bringForwardOnHover=!0;n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.MapObject=n.Class({construct:function(t){this.fixedSize=this.mouseEnabled=!0;this.images=[];this.lines=[];this.areas=[];this.remainVisible=!0;this.passZoomValuesToTarget=!1;this.objectType=this.cname;n.applyTheme(this,t,"MapObject");this.arrays=[]},deleteObject:function(){if(this.remove(),this.parentArray&&n.removeFromArray(this.parentArray,this),this.arrays)for(var t=0;t<this.arrays.length;t++)n.removeFromArray(this.arrays[t].arr,this.arrays[t].el);this.arrays=[]}})}(),function(){var n=window.AmCharts;n.MapArea=n.Class({inherits:n.MapObject,construct:function(t){this.cname="MapArea";n.MapArea.base.construct.call(this,t);n.applyTheme(this,t,this.cname)},validate:function(){this.chart.areasProcessor.createArea(this)}})}(),function(){var n=window.AmCharts;n.MapLine=n.Class({inherits:n.MapObject,construct:function(t){this.cname="MapLine";this.longitudes=[];this.latitudes=[];this.x=[];this.y=[];this.segments=0;this.arrow="none";n.MapLine.base.construct.call(this,t);n.applyTheme(this,t,this.cname)},validate:function(){this.chart.linesProcessor.createLine(this)},remove:function(){var n=this.displayObject;n&&n.remove()},getCoordinates:function(n,t){var f,i,e,u,c,s,o,l;if(isNaN(t)&&(t=0),isNaN(this.arc),!isNaN(n)){1<this.longitudes.length?(i=this.chart.coordinatesToXY(this.longitudes[t],this.latitudes[t]),o=this.chart.coordinatesToXY(this.longitudes[t+1],this.latitudes[t+1]),f=i.x,e=o.x,i=i.y,u=o.y):1<this.x.length&&(f=this.x[t],e=this.x[t+1],i=this.y[t],u=this.y[t+1]);c=f+(e-f)*n;s=i+(u-i)*n;var h=Math.atan2(u-i,e-f),o=this.arc,r=10*(1-Math.abs(o));return 10<=r&&(r=NaN),1>r&&(r=1),isNaN(o)||0===o||isNaN(r)||(l=Math.sqrt(Math.pow(e-f,2)+Math.pow(u-i,2)),s=l/2*r+.001,h=l/2,r=-Math.sqrt(s*s-h*h),h=180*Math.atan2(u-i,e-f)/Math.PI,e>=f?0>o&&(r=-r):0<o&&(r=-r),c=f+.5*(e-f)-Math.sin(h/180*Math.PI)*r,r=i+.5*(u-i)+Math.cos(h/180*Math.PI)*r,i=(180*Math.atan2(i-r,f-c)/Math.PI+360)%360,u=(180*Math.atan2(u-r,e-c)/Math.PI+360)%360,u<i&&(u+=360),180<u-i&&(i+=360),i=(i+(u-i)*n)/180*Math.PI,h=e>=f?0>o?i+Math.PI/2:i-Math.PI/2:0<o?i+Math.PI/2:i-Math.PI/2,c+=s*Math.cos(i),s=r+s*Math.sin(i)),this.distance=l,{x:c,y:s,angle:h}}},fixToStage:function(){var n,t;if(0<this.latitudes.length){for(this.y=[],n=0;n<this.latitudes.length;n++)t=this.chart.coordinatesToStageXY(this.longitudes[n],this.latitudes[n]),this.y.push(t.y),this.x.push(t.x);this.latitudes=[];this.longitudes=[]}this.validate()},fixToMap:function(){var n,t;if(0<this.y.length){for(this.latitudes=[],n=0;n<this.y.length;n++)t=this.chart.stageXYToCoordinates(this.x[n],this.y[n]),this.latitudes.push(t.latitude),this.longitudes.push(t.longitude);this.y=[];this.x=[]}this.validate()}})}(),function(){var n=window.AmCharts;n.MapImage=n.Class({inherits:n.MapObject,construct:function(t){this.cname="MapImage";this.scale=1;this.widthAndHeightUnits="pixels";this.labelShiftY=this.labelShiftX=0;this.positionOnLine=.5;this.direction=1;this.lineSegment=this.extraAngle=0;this.animateAngle=!0;this.createEvents("animationStart","animationEnd");n.MapImage.base.construct.call(this,t);n.applyTheme(this,t,this.cname);this.delayCounter=0},validate:function(){this.chart.imagesProcessor.createImage(this)},updatePosition:function(){this.chart.imagesProcessor.updateSizeAndPosition(this)},remove:function(){var n=this.displayObject;n&&n.remove();(n=this.imageLabel)&&n.remove()},animateTo:function(n,t,i,r){isNaN(i)||(this.animationDuration=i);r&&(this.easingFunction=r);this.finalX=n;this.finalY=t;isNaN(this.longitude)||(this.initialX=this.longitude);isNaN(this.left)||(this.initialX=this.left);isNaN(this.right)||(this.initialX=this.right);isNaN(this.latitude)||(this.initialY=this.latitude);isNaN(this.top)||(this.initialY=this.top);isNaN(this.bottom)||(this.initialY=this.bottom);this.animatingAlong=!1;this.animate()},animateAlong:function(n,t,i){1==this.positionOnLine&&this.flipDirection&&(this.direction=-1,this.extraAngle=180);isNaN(t)||(this.animationDuration=t);i&&(this.easingFunction=i);n&&(this.line=this.chart.getObjectById(n));this.animateAlongLine=this.line;this.animatingAlong=!0;this.animate()},animate:function(){var i=this.chart.imagesSettings,t=this.animationDuration;isNaN(t)&&(t=i.animationDuration);this.totalFrames=t*n.updateRate;t=1;this.line&&i.adjustAnimationSpeed&&(this.line.distances&&(t=this.line.distances[this.lineSegment]*this.chart.zoomLevel(),t=Math.abs(t/i.baseAnimationDistance)),this.totalFrames=Math.round(t*this.totalFrames));this.frame=0;this.fire({type:"animationStart",chart:this.chart,image:this,lineSegment:this.lineSegment,direction:this.direction})},update:function(){var n=this.totalFrames,t,i;this.frame++;this.delayCounter--;0===this.delayCounter&&this.animateAlong();0<this.delayCounter||(this.frame<=n?(t=this.chart.imagesSettings,i=this.easingFunction,i||(i=t.easingFunction),n=i(0,this.frame,0,1,n),-1==this.direction&&(n=1-n),this.animatingAlong?this.positionOnLine=n:(t=this.initialX+(this.finalX-this.initialX)*n,isNaN(this.longitude)||(this.longitude=t),isNaN(this.left)||(this.left=t),isNaN(this.right)||(this.right=t),n=this.initialY+(this.finalY-this.initialY)*n,isNaN(this.latitude)||(this.latitude=n),isNaN(this.top)||(this.top=n),isNaN(this.bottom)||(this.bottom=n)),this.updatePosition()):this.frame==n+1&&(this.fire({type:"animationEnd",chart:this.chart,image:this,lineSegment:this.lineSegment,direction:this.direction}),this.line&&this.animatingAlong&&(1==this.direction?this.lineSegment<this.line.segments-2?(this.lineSegment++,this.delayAnimateAlong(),this.positionOnLine=0):this.flipDirection?(this.direction=-1,this.extraAngle=180,this.delayAnimateAlong()):this.loop&&(this.delayAnimateAlong(),this.lineSegment=0):0<this.lineSegment?(this.lineSegment--,this.delayAnimateAlong(),this.positionOnLine=0):this.loop&&this.flipDirection?(this.direction=1,this.extraAngle=0,this.delayAnimateAlong()):this.loop&&this.delayAnimateAlong())))},delayAnimateAlong:function(){this.animateAlongLine&&(this.delayCounter=this.chart.imagesSettings.pauseDuration*n.updateRate)},fixToStage:function(){if(!isNaN(this.longitude)){var n=this.chart.coordinatesToStageXY(this.longitude,this.latitude);this.left=n.x;this.top=n.y;this.latitude=this.longitude=void 0}this.validate()},fixToMap:function(){if(!isNaN(this.left)){var n=this.chart.stageXYToCoordinates(this.left,this.top);this.longitude=n.longitude;this.latitude=n.latitude;this.top=this.left=void 0}this.validate()}})}(),function(){var n=window.AmCharts;n.degreesToRadians=function(n){return n/180*Math.PI};n.radiansToDegrees=function(n){return n/Math.PI*180};n.getColorFade=function(t,i,r){var f=n.hex2RGB(i),e,u;i=f[0];var o=f[1],f=f[2],u=n.hex2RGB(t);return t=u[0],e=u[1],u=u[2],t+=Math.round((i-t)*r),e+=Math.round((o-e)*r),u+=Math.round((f-u)*r),"rgb("+t+","+e+","+u+")"};n.hex2RGB=function(n){return[parseInt(n.substring(1,3),16),parseInt(n.substring(3,5),16),parseInt(n.substring(5,7),16)]};n.processDescriptionWindow=function(n,t){isNaN(t.descriptionWindowX)&&(t.descriptionWindowX=n.descriptionWindowX);isNaN(t.descriptionWindowY)&&(t.descriptionWindowY=n.descriptionWindowY);isNaN(t.descriptionWindowLeft)&&(t.descriptionWindowLeft=n.descriptionWindowLeft);isNaN(t.descriptionWindowRight)&&(t.descriptionWindowRight=n.descriptionWindowRight);isNaN(t.descriptionWindowTop)&&(t.descriptionWindowTop=n.descriptionWindowTop);isNaN(t.descriptionWindowBottom)&&(t.descriptionWindowBottom=n.descriptionWindowBottom);isNaN(t.descriptionWindowWidth)&&(t.descriptionWindowWidth=n.descriptionWindowWidth);isNaN(t.descriptionWindowHeight)&&(t.descriptionWindowHeight=n.descriptionWindowHeight)};n.normalizePath=function(t){for(var o="",v=n.parsePath(t.getAttribute("d")),f,e,s=Infinity,h=-Infinity,c=Infinity,l=-Infinity,a=0;a<v.length;a++){var i=v[a],r=i.letter,u=i.x,i=i.y;"h"==r&&(r="L",u+=f,i=e);"H"==r&&(r="L",i=e);"v"==r&&(r="L",u=f,i+=e);"V"==r&&(r="L",u=f);("m"===r||"l"===r)&&(r=r.toUpperCase(),u+=f,i+=e);u=n.roundTo(u,3);i=n.roundTo(i,3);f=u;e=i;u>h&&(h=u);u<s&&(s=u);i>l&&(l=i);i<c&&(c=i);o="z"==r.toLowerCase()?o+"Z ":o+(r+" "+u+" "+i+" ")}return t.setAttribute("d",o),{minX:s,maxX:h,minY:c,maxY:l}};n.mercatorLatitudeToRadians=function(t){return Math.log(Math.tan(Math.PI/4+n.degreesToRadians(t)/2))};n.parsePath=function(n){var u,r,t,i;for(n=n.match(/([MmLlHhVvZz]{1}[0-9.,\-\s]*)/g),u=[],r=0;r<n.length;r++){t=n[r].match(/([MmLlHhVvZz]{1})|([0-9.\-]+)/g);i={letter:t[0]};switch(t[0]){case"Z":case"Z":case"z":break;case"V":case"v":i.y=Number(t[1]);break;case"H":case"h":i.x=Number(t[1]);break;default:i.x=Number(t[1]);i.y=Number(t[2])}u.push(i)}return u};n.acos=function(n){return 1<n?0:-1>n?Math.PI:Math.acos(n)};n.asin=function(n){return 1<n?Math.PI/2:-1>n?-Math.PI/2:Math.asin(n)};n.sinci=function(n){return n?n/Math.sin(n):1};n.asqrt=function(n){return 0<n?Math.sqrt(n):0};n.winkel3=function(t,i){var r=n.aitoff(t,i);return[(r[0]+t/Math.PI*2)/2,(r[1]+i)/2]};n.winkel3.invert=function(t,i){var f=t,e=i,nt=25,p=Math.PI/2;do var r=Math.cos(e),u=Math.sin(e),w=Math.sin(2*e),a=u*u,y=r*r,b=Math.sin(f),c=Math.cos(f/2),l=Math.sin(f/2),k=l*l,o=1-y*c*c,s=o?n.acos(r*c)*Math.sqrt(h=1/o):h=0,h,o=.5*(2*s*r*l+f/p)-t,d=.5*(s*u+e)-i,g=.5*h*(y*k+s*r*c*a)+.5/p,v=h*(b*w/4-s*u*l),u=.125*h*(w*l-s*u*y*b),a=.5*h*(a*c+s*k*r)+.5,r=v*u-a*g,v=(d*v-o*a)/r,o=(o*u-d*g)/r,f=f-v,e=e-o;while((1e-6<Math.abs(v)||1e-6<Math.abs(o))&&0<--nt);return[f,e]};n.aitoff=function(t,i){var r=Math.cos(i),u=n.sinci(n.acos(r*Math.cos(t/=2)));return[2*r*Math.sin(t)*u,Math.sin(i)*u]};n.orthographic=function(n,t){return[Math.cos(t)*Math.sin(n),Math.sin(t)]};n.equirectangular=function(n,t){return[n,t]};n.equirectangular.invert=function(n,t){return[n,t]};n.eckert5=function(n,t){var i=Math.PI;return[n*(1+Math.cos(t))/Math.sqrt(2+i),2*t/Math.sqrt(2+i)]};n.eckert5.invert=function(n,t){var i=Math.sqrt(2+Math.PI),r=t*i/2;return[i*n/(1+Math.cos(r)),r]};n.eckert6=function(n,t){for(var r=Math.PI,i=(1+r/2)*Math.sin(t),u=0,f=Infinity;10>u&&1e-5<Math.abs(f);u++)t-=f=(t+Math.sin(t)-i)/(1+Math.cos(t));return i=Math.sqrt(2+r),[n*(1+Math.cos(t))/i,2*t/i]};n.eckert6.invert=function(t,i){var r=1+Math.PI/2,u=Math.sqrt(r/2);return[2*t*u/(1+Math.cos(i*=u)),n.asin((i+Math.sin(i))/r)]};n.mercator=function(n,t){return t>=Math.PI/2-.02&&(t=Math.PI/2-.02),t<=-Math.PI/2+.02&&(t=-Math.PI/2+.02),[n,Math.log(Math.tan(Math.PI/4+t/2))]};n.mercator.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Math.PI/2]};n.miller=function(n,t){return[n,1.25*Math.log(Math.tan(Math.PI/4+.4*t))]};n.miller.invert=function(n,t){return[n,2.5*Math.atan(Math.exp(.8*t))-.625*Math.PI]};n.eckert3=function(n,t){var i=Math.PI,r=Math.sqrt(i*(4+i));return[2/r*n*(1+Math.sqrt(1-4*t*t/(i*i))),4/r*t]};n.eckert3.invert=function(t,i){var r=Math.PI,u=Math.sqrt(r*(4+r))/2;return[t*u/(1+n.asqrt(1-i*i*(4+r)/(4*r))),i*u/2]}}(),function(){var n=window.AmCharts;n.MapData=n.Class({inherits:n.MapObject,construct:function(){this.cname="MapData";n.MapData.base.construct.call(this);this.projection="mercator";this.topLatitude=90;this.bottomLatitude=-90;this.leftLongitude=-180;this.rightLongitude=180;this.zoomLevel=1;this.getAreasFromMap=!1}})}(),function(){var n=window.AmCharts;n.DescriptionWindow=n.Class({construct:function(){},show:function(n,t,i,r){var e=this,f,o,s,u;e.chart=n;f=document.createElement("div");f.style.position="absolute";o=n.classNamePrefix+"-description-";f.className="ammapDescriptionWindow "+o+"div";e.div=f;t.appendChild(f);s=".gif";n.svgIcons&&(s=".svg");u=document.createElement("img");u.className="ammapDescriptionWindowCloseButton "+o+"close-img";u.src=n.pathToImages+"xIcon"+s;u.style.cssFloat="right";u.style.cursor="pointer";u.onclick=function(){e.close()};u.onmouseover=function(){u.src=n.pathToImages+"xIconH"+s};u.onmouseout=function(){u.src=n.pathToImages+"xIcon"+s};f.appendChild(u);t=document.createElement("div");t.className="ammapDescriptionTitle "+o+"title-div";t.onmousedown=function(){e.div.style.zIndex=1e3};f.appendChild(t);t.innerHTML=r;r=t.offsetHeight;t=document.createElement("div");t.className="ammapDescriptionText "+o+"text-div";t.style.maxHeight=e.maxHeight-r-20+"px";f.appendChild(t);t.innerHTML=i},close:function(){try{this.div.parentNode.removeChild(this.div);this.chart.fireClosed()}catch(n){}}})}(),function(){var n=window.AmCharts;n.ValueLegend=n.Class({construct:function(t){this.cname="ValueLegend";this.enabled=!0;this.showAsGradient=!1;this.minValue=0;this.height=12;this.width=200;this.bottom=this.left=10;this.borderColor="#FFFFFF";this.borderAlpha=this.borderThickness=1;this.color="#000000";this.fontSize=11;n.applyTheme(this,t,this.cname)},init:function(t,i){var s;if(this.enabled){var e=t.areasSettings.color,c=t.areasSettings.colorSolid,l=t.colorSteps;n.remove(this.set);s=i.set();this.set=s;n.setCN(t,s,"value-legend");var r=0,h=this.minValue,o=this.fontSize,f=t.fontFamily,u=this.color,a={precision:t.precision,decimalSeparator:t.decimalSeparator,thousandsSeparator:t.thousandsSeparator};if(void 0==h&&(h=n.formatNumber(t.minValueReal,a)),void 0!==h&&(r=n.text(i,h,u,f,o,"left"),r.translate(0,o/2-1),n.setCN(t,r,"value-legend-min-label"),s.push(r),r=r.getBBox().height),h=this.maxValue,void 0===h&&(h=n.formatNumber(t.maxValueReal,a)),void 0!==h&&(r=n.text(i,h,u,f,o,"right"),r.translate(this.width,o/2-1),n.setCN(t,r,"value-legend-max-label"),s.push(r),r=r.getBBox().height),this.showAsGradient)e=n.rect(i,this.width,this.height,[e,c],1,this.borderThickness,this.borderColor,1,0,0),n.setCN(t,e,"value-legend-gradient"),e.translate(0,r),s.push(e);else for(o=this.width/l,f=0;f<l;f++)u=n.getColorFade(e,c,1*f/(l-1)),u=n.rect(i,o,this.height,u,1,this.borderThickness,this.borderColor,1),n.setCN(t,u,"value-legend-color"),n.setCN(t,u,"value-legend-color-"+f),u.translate(o*f,r),s.push(u);c=e=0;l=s.getBBox();r=t.getY(this.bottom,!0);o=t.getY(this.top);f=t.getX(this.right,!0);u=t.getX(this.left);isNaN(o)||(e=o);isNaN(r)||(e=r-l.height);isNaN(u)||(c=u);isNaN(f)||(c=f-l.width);s.translate(c,e)}else n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.ObjectList=n.Class({construct:function(n){this.divId=n},init:function(n){this.chart=n;var t=this.divId;this.container&&(t=this.container);this.div="object"!=typeof t?document.getElementById(t):t;t=document.createElement("div");t.className="ammapObjectList "+n.classNamePrefix+"-object-list-div";this.div.appendChild(t);this.addObjects(n.dataProvider,t)},addObjects:function(n,t){var f=this.chart,u=document.createElement("ul"),i,r;if(u.className=f.classNamePrefix+"-object-list-ul",n.areas)for(i=0;i<n.areas.length;i++)r=n.areas[i],void 0===r.showInList&&(r.showInList=f.showAreasInList),this.addObject(r,u);if(n.images)for(i=0;i<n.images.length;i++)r=n.images[i],void 0===r.showInList&&(r.showInList=f.showImagesInList),this.addObject(r,u);if(n.lines)for(i=0;i<n.lines.length;i++)r=n.lines[i],void 0===r.showInList&&(r.showInList=f.showLinesInList),this.addObject(r,u);0<u.childNodes.length&&t.appendChild(u)},addObject:function(n,t){var f=this,e,u,r,i;n.showInList&&void 0!==n.title&&(e=f.chart,u=document.createElement("li"),u.className=e.classNamePrefix+"-object-list-li",r=n.titleTr,r||(r=n.title),r=document.createTextNode(r),i=document.createElement("a"),i.className=e.classNamePrefix+"-object-list-a",i.appendChild(r),u.appendChild(i),t.appendChild(u),this.addObjects(n,u),i.onmouseover=function(){f.chart.rollOverMapObject(n,!1)},i.onmouseout=function(){f.chart.rollOutMapObject(n)},i.onclick=function(){f.chart.clickMapObject(n)})}})}();!function(){"use strict";function p(n,t,i){return n*(i-t)+t}function w(n){var t=1-n;return t*=t*t*t,1-t}function o(n,t,i,r){this._object=n;this._key=t;this._from=i;this._to=r}function t(n,t,i,r,u){this._finished=!1;this._startTime=null;this._duration=n;this._easing=null==t?w:t;this._onComplete=i;this._tweens=r;this._chart=u}function i(){this._animating=!1;this._animations=[];this._onBeforeFrames=[];this._onAfterFrames=[];var n=this;this._raf=function(t){n._onFrame(t)}}function b(n){return n!==n}function n(n,t){for(var i=0;i<n.length;++i)t(n[i])}function k(n,t){for(var i=0;i<n.length;++i)if(n[i]===t)return;n.push(t)}function d(n,t,i){t[i]||(t[i]=!0,n.push(i))}function r(t,i,r,u){n(u,function(n){var u=r[n];null!=u&&d(t,i,u)})}function l(n,t,i){r(t,i,n,["alphaField","valueField"])}function g(n,t,i){l(n,t,i)}function nt(n,t,i){l(n,t,i);r(t,i,n,["labelRadiusField"])}function s(n,t,i){r(t,i,n,["alphaField","bulletSizeField","closeField","dashLengthField","errorField","highField","lowField","openField","valueField"])}function tt(n,t,i){s(n,t,i);r(t,i,n,["xField","yField"])}function h(t,i,r,u){n(t,function(n){u(n,i,r)})}function it(n,t,i){r(t,i,n,["widthField"])}function a(n){var t=[],i={};return"funnel"===n.type?g(n,t,i):"pie"===n.type?nt(n,t,i):"serial"===n.type?(it(n.categoryAxis,t,i),h(n.graphs,t,i,s)):"radar"===n.type?h(n.graphs,t,i,s):"xy"===n.type&&h(n.graphs,t,i,tt),t}function rt(t){var i={};return("serial"===t.type||"radar"===t.type||"xy"===t.type)&&n(t.valueAxes,function(n){if(null==i[n.id]){i[n.id]={minimum:n.minimum,maximum:n.maximum};var t,u=n.minRR,r=n.maxRR,f=r-u;t=0===f?Math.pow(10,Math.floor(Math.log(Math.abs(r))*Math.LOG10E))/10:Math.pow(10,Math.floor(Math.log(Math.abs(f))*Math.LOG10E))/10;null==n.minimum&&(n.minimum=Math.floor(u/t)*t-t);null==n.maximum&&(n.maximum=Math.ceil(r/t)*t+t)}}),i}function ut(t,i){("serial"===t.type||"radar"===t.type||"xy"===t.type)&&n(t.valueAxes,function(n){var t=i[n.id];null!=t&&(null==t.minimum&&delete n.minimum,null==t.maximum&&delete n.maximum)})}function ft(n){return"funnel"===n.type||"pie"===n.type?n.titleField:"serial"===n.type||"radar"===n.type?n.categoryField:void 0}function f(n,t){var i=n[t];return null==i?null:(i=+i,b(i)?null:i)}function v(n,t){var i=n[t];return null==i?null:""+i}function et(t,i){var r={};return n(t,function(n){var t=v(n,i);null!=t&&(r[t]=n)}),r}function ot(t,i,r,u){var e=[];return n(t,function(t){var s=v(t,i),h;null!=s&&s in r&&(h=r[s],n(u,function(n){var i=f(h,n),r=f(t,n);null!=i&&null!=r&&e.push(new o(t,n,i,r))}))}),e}function st(t,i,r){for(var h,e,s=[],c=Math.min(t.length,i.length),u=0;c>u;++u)h=t[u],e=i[u],n(r,function(n){var t=f(h,n),i=f(e,n);null!=t&&null!=i&&s.push(new o(e,n,t,i))});return s}function ht(n,t){var i;if("xy"===n.type)return i=a(n),st(n.dataProvider,t,i);var r=ft(n),i=a(n),u=et(n.dataProvider,r);return ot(t,r,u,i)}function ct(n,i){function f(){ut(r,o);null!=i.complete&&i.complete()}var r=this,e=ht(r,n),o=rt(r),u;return r.dataProvider=n,u=new t(i.duration,i.easing,f,e,r),c.animate(u),u}var y,e,c,u;"undefined"==typeof requestAnimationFrame?(y=1e3/60,e=function(n){setTimeout(function(){n((new Date).getTime())},y)}):e=requestAnimationFrame;o.prototype.interpolate=function(n){this._object[this._key]=p(n,this._from,this._to)};t.prototype.cancel=function(){this._finished=!0;this._startTime=null;this._duration=null;this._easing=null;this._onComplete=null;this._tweens=null;this._chart=null};t.prototype._onFrame=function(n){if(this._finished)return!0;if(null===this._startTime)return this._startTime=n,!1;var t=n-this._startTime;return t<this._duration?(this._tick(t/this._duration),!1):(this._end(1),this.cancel(),!0)};t.prototype._tick=function(n){n=this._easing(n);for(var i=this._tweens,t=0;t<i.length;++t)i[t].interpolate(n);k(u,this._chart)};t.prototype._end=function(n){this._tick(n);this._onComplete()};i.prototype.animate=function(n){this._animations.push(n);this._animating||(this._animating=!0,e(this._raf))};i.prototype.onBeforeFrame=function(n){this._onBeforeFrames.push(n)};i.prototype.onAfterFrame=function(n){this._onAfterFrames.push(n)};i.prototype._onFrame=function(n){for(var i,f,u,r=this._onBeforeFrames,t=0;t<r.length;++t)r[t](n);for(i=this._animations,t=0;t<i.length;++t)f=i[t],f._onFrame(n)&&(i.splice(t,1),--t);for(u=this._onAfterFrames,t=0;t<u.length;++t)u[t](n);0===i.length?this._animating=!1:e(this._raf)};c=new i;u=[];c.onAfterFrame(function(){for(var n=0;n<u.length;++n)u[n].validateData();u.length=0});AmCharts.addInitHandler(function(n){n.animateData=ct},["funnel","pie","serial","radar","xy"])}();INFORMA=window.INFORMA||{};INFORMA.Analytics=function(n,t){"use strict";var u,i,r,f=t("#banner").find("a.subscribe-stick");u=function(n,t){if(typeof n=="object"){var u,h,f,e,o,s=n.parents(".contactUsPage-contactUs"),c=n.parents(".registration-form-single-section");t==="Open"?(u=n.data("modal"),u==="#Intelligence"?(f=u.replace(u,"#formRequestADemo"),o=f.replace("#",""),e=o.charAt(0).toUpperCase()+o.substr(1)):u==="#Insight"?(f=u.replace(u,"#formRequestATrial"),o=f.replace("#",""),e=o.charAt(0).toUpperCase()+o.substr(1)):s.length>0?e=r(s):(f=u.replace("#",""),e=f.charAt(0).toUpperCase()+f.substr(1))):(h=n.parents(".modal.in form"),u=h.data("formcapture"),u==="Intelligence"?(f=u.replace(u,"formRequestADemo"),e=f.charAt(0).toUpperCase()+f.substr(1)):u==="Insight"?(f=u.replace(u,"formRequestATrial"),e=f.charAt(0).toUpperCase()+f.substr(1)):s.length>0?e=r(s):c.length>0?(u=c.find(".form-inline-container form").data("formcapture"),e=u.charAt(0).toUpperCase()+u.substr(1)):e=u.charAt(0).toUpperCase()+u.substr(1));(u||s)&&i("Form",t,e,1)}};r=function(n){var t=n.find(".tab-pane.active").find(".form-inline-container form").data("formcapture"),i;return t&&(i=t.charAt(0).toUpperCase()+t.substr(1)),i};i=function(n,t,i,r){typeof ga!="undefined"&&ga("send",{hitType:"event",eventCategory:n,eventAction:t,eventLabel:i,eventValue:r});typeof _gaq!="undefined"&&_gaq.push(["_trackEvent",n,t,i])};f.click(function(){var n=t(this).text(),r=n.replace(/\w+/g,function(n){return n.charAt(0).toUpperCase()+n.substr(1)}).replace(/\s/g,"");i("Form","Open",r,1)});jQuery(document).on("click",".trigger-sc-event",function(){var n=t(this).data("goal-id");n&&t.ajax({url:"/client/ajax/triggerpageevent",dataType:"json",type:"post",contentType:"application/json",data:JSON.stringify({eventId:n}),processData:!1,success:function(n){console.log(JSON.stringify(n))},error:function(n,t,i){console.log(i)}})});t("body").on("click",".register,.product-login",function(){t(this).hasClass("register")?i("Form","Open","EventRegister",1):t(this).hasClass("product-login")&&i("Form","Open","ProductLogin",1)});return{trackFormEvents:u,trackEvents:i}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.Analytics);INFORMA=window.INFORMA||{},function(n){"use strict";var i=n.location.href.indexOf("127.0.0.1")>-1?"local":"dev",t;INFORMA.getCookie=function(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1);if(t.indexOf(r)!=-1)return t.substring(r.length,t.length)}return""};t={local:{GetArticles:"/data/article_list.json",GetSubSectorList:"/data/product-finder.json",ProductSearch:"/data/product-results.json",GetRefineResults:"/data/product-results.json",GetMoreProducts:"/data/product-results.json",SearchResult:"/data/search-results.json",AnalystSearch:"/data/analyst-search.json",AnalystSearchDropDown:"/data/analyst-search-dropdown.json",AnalystSearchAll:"/data/analyst-search-subsector.json",EventsSearch:"data/events-page.json",ResourceList:"data/resource-list.json",ResourceResult:"data/resource-list.json",GetFAQs:"/client/search/GetFAQList",GetFormItems:"/data/form-data.json",GetRecomendedItems:"/data/recomended-content.json",GetProductAndVerticalNames:"/data/GetWffmHiddenItemsContent.json",GetRecomendedProductItems:"/data/recomendedProducts.json",BrandPortfolioSearch:"/data/brandPortfolio-page.json",PieBarChartPageData:"/data/pie-bar-chart.json",WorldChartPageData:"/data/world-chart.json"},dev:{GetArticles:"/client/search/getarticles",GetSubSectorList:"/client/search/GetSubSectors",ProductSearch:"/client/search/GetProductsSampleContent",GetRefineResults:"/client/search/GetRefineProductResults",GetMoreProducts:"/client/search/GetMoreProducts",SearchResult:"/client/search/GetSearchResults",AnalystSearch:"/client/search/GetSpecialists",AnalystSearchDropDown:"/client/search/GetSubSectorList",AnalystSearchAll:"/client/search/SeeAllSpecialists",EventsSearch:"/client/search/GetEventList",ResourceList:"/client/search/GetResourceListing",ResourceResult:"/client/search/GetResourceListing",GetFAQs:"/client/search/GetFAQList",GetFormItems:"/client/ajax/GetModifiedWffmFormItems",GetRecomendedItems:"/client/Account/GetRemainingContent",GetProductAndVerticalNames:"/client/ajax/GetWffmHiddenItemsContent",GetRecomendedProductItems:"/client/Account/GetUpdatedProduct",SetFirstContentDisplayedCookie:"/client/Ajax/SetFirstContentDisplayedCookie",BrandPortfolioSearch:"/client/search/GetBrandPortfolioList",PieBarChartPageData:"/api/Sitecore/shared/GetChartsDetail",WorldChartPageData:"/api/Sitecore/shared/GetChartsDetail"}};INFORMA.Configs=function(){function n(){this.urls={webservices:t[i]};this.searchResult={pageSize:6};this.activeClass="informaui-active";this.views={small:768,medium:1024,large:1400};this.debug=!0;this.isMobile={Android:function(){return navigator.userAgent.match(/Android/i)}(),BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)}(),iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)}(),Opera:function(){return navigator.userAgent.match(/Opera Mini/i)}(),Windows:function(){return navigator.userAgent.match(/IEMobile/i)}()};this.init=function(){return this}}return new n}()}(this,$INFORMA=jQuery.noConflict(),"INFORMA");logThis=function(){if(INFORMA.Configs.debug)for(var n=0;n<arguments.length;n++);}(function(n,t,i){t.DataLoader=function(){function r(){this.GetContentOnlyFromURL=function(n){return i.ajax({url:n,dataType:"html",cache:!1})};this.GetServiceData=function(r,u){var f={};return i.extend(f,{data:"",cache:!1,method:"POST",contentType:"application/json; charset=utf-8",dataType:"json",headers:{}},u),n[r]&&n[r]!==null&&n[r].abort(),n[r]=i.ajax({type:f.method,url:r,data:f.data,cache:f.cache,contentType:f.contentType,dataType:f.dataType,headers:f.headers,success:function(i){if(f.contentType.indexOf("xml")>-1)typeof u!="undefined"&&typeof u.success_callback=="function"&&u.success_callback.call(this,i);else{var e=null;e=i!==null?i:!1;typeof u!="undefined"&&typeof u.success_callback=="function"&&u.success_callback.call(this,e)}n[r]=null;t.Spinner.Hide()},error:function(n,t,i){typeof u!="undefined"&&typeof u.error_callback=="function"&&u.error_callback.call(this,n,t,i)}}),n[r]}}var n={};return new r}()}(window,INFORMA,jQuery));INFORMA=window.INFORMA||{};INFORMA.global=function(n,t){"use strict";var i={},r={},u=t("html"),f=function(){var i=-1,n,t;return navigator.appName=="Microsoft Internet Explorer"?(n=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),t.exec(n)!=null&&(i=parseFloat(RegExp.$1))):navigator.appName=="Netscape"&&(n=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),t.exec(n)!=null&&(i=parseFloat(RegExp.$1))),i},e=function(){var f=t(n).width();f>=1024?(i.isDesktop=!0,i.viewport="desktop",i.viewportN=0):f>=768?(i.isTablet=!0,i.viewport="tablet",i.viewportN=1):(i.isMobile=!0,i.viewport="mobile",i.viewportN=2);u.addClass(i.viewport);t("html").hasClass("preview-mode")?r.isPreview=!0:t("html").hasClass("experience-mode")&&(r.isExperience=!0)};return f()>0&&(n.URLSearchParams=n.URLSearchParams||function(n){var t=this;t.searchString=n;t.get=function(n){var i=new RegExp("[?&]"+n+"=([^&#]*)").exec(t.searchString);return i==null?null:decodeURI(i[1])||0}}),{init:e,device:i,siteCore:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.global.init()),function(n){"use strict";n(function(){var t,n,i=["Configs","Utils"];for(t in i)n=i[t],INFORMA[n]&&INFORMA[n].init();for(t in INFORMA.initUI)n=INFORMA.initUI[t],INFORMA[n]&&INFORMA[n].init(t)}())}($INFORMA),function(n){"use strict";n(function(){var t,n,i=["Configs","Utils"];for(t in i)n=i[t],INFORMA[n]&&INFORMA[n].init();for(t in INFORMA.initUI)n=INFORMA.initUI[t],INFORMA[n]&&INFORMA[n].init(t)}())}($INFORMA),function(n,t,i){t.Spinner=function(){function n(){var n,t,u=i(u),f={width:124,height:124},r;this.Hide=function(){typeof t=="object"&&t.find(".load-spinner").fadeOut("fast")};this.Show=function(f){t=f;var e=t.find(".load-spinner");e.length||(n=i("<div class='load-spinner'><span class='loading'><em>Loading...<\/em><img src='/Static/images/loader.svg' alt='loading'/><\/span><\/div>").hide(),n.prependTo(t),n.fadeIn("slow"));n.fadeIn("fast");u.resize(function(){r()});r()};r=function(){t.find(".load-spinner .loading").css({left:(n.width()-f.width-5)/2,top:(n.height()-f.height-15)/2})}}return new n}()}(window,INFORMA,jQuery);INFORMA=window.INFORMA||{},function(){"use strict";INFORMA.Templates={articleListItemsNewCo:'{{#each Articles}}<li><div class="col-xs-12">{{#compare Video null operator="=="}}{{#compare ContentTileImage null operator="!="}}<div class="video-container"><img src="{{ContentTileImage.Url}}" alt="{{ContentTileImage.Alt}}"/><\/div>{{/compare}}{{/compare}}{{#compare Video null operator="!="}}<div class="video-container">{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a href="{{Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare HasExternalLink true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}<\/div>{{/compare}}{{#compare Video null operator="=="}}{{#compare ContentTileImage null operator="=="}}{{#compare Image null operator="!="}}{{#compare Image.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<a class="newco-article-image" href="{{PageURL}}" target="_blank" title="{{Title}}"><img src="{{Image}}" alt="" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<a href="{{PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_blank"><img src="{{Image}}" alt="{{Title}}" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}"><img src="{{Image}}" alt="{{Title}}" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<a href="{{PageURL}}" target="_blank"><img src="{{Image}}" alt="{{Title}}" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<img src="{{Image}}" alt="{{Title}}" class="img-responsive" />{{/compare}}{{/compare}}{{/compare}}<div class="recomended-wrapper" data-fetch="{{Id}}"><div class="recomend-content"><div class="content">{{#compare SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{SamplecontentProducts}}<\/span><\/p>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_blank" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a class="show-register-form gated-content" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<h4><span title="{{Title}}">{{Title}}<\/span><\/h4>{{/compare}}{{#IfNotBlank Description}}{{#compare Description null operator="!="}}{{#compare Description.length "0" operator=">"}}<p class="description">{{Description}}<\/p>{{/compare}}{{/compare}}{{/IfNotBlank}}<\/div><\/div><\/div><\/div><\/li>{{/each}}',articleListItems:'{{#each Articles}}<li><div class="col-xs-12"><div class="recomended-wrapper" data-fetch="{{Id}}"><div class="recomend-content"><div class="content">{{#compare SamplecontentProducts.length "0" operator=">"}}<p class="type">{{SamplecontentProducts}}<\/p>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_blank">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<h4><span>{{Title}}<\/span><\/h4>{{/compare}}<p class="publish">{{#if Profile}}{{ByKeyword}} {{#compare ProfileUrl null operator="!=" }} <a href="{{ProfileUrl}}" target="_blank"><strong>{{Profile}}<\/strong><\/a> {{/compare}}{{#compare ProfileUrl null operator="=="}} <strong>{{Profile}}<\/strong> {{/compare}}{{/if}}{{#if PublicationDate}}{{PublicationDate}}{{/if}}<\/p>{{#compare Video null operator="=="}}<div class="video-container"><img src="{{ContentTileImage.Url}}" alt="{{ContentTileImage.Alt}}"><\/div>{{/compare}}{{#compare Video null operator="!="}}<div class="video-container">{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a href="{{Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare HasExternalLink true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}<\/div>{{/compare}}{{#compare Description null operator="!="}}<p class="description">{{Description}}<\/p>{{/compare}}<\/div>{{#compare TopicURLS.length "0" operator=">"}}<p class="topics">{{TopicKeyword}} {{#each TopicURLS}}<strong><a href="{{this.TopicResourceLink}}">{{this.TopicName}}<\/a><\/strong>{{/each}}<\/p>{{/compare}}{{#compare ShowSubSectorOnSampleContentPage true operator="=="}}{{#compare SubSectorsUrlDetails.length 0 operator=">"}}<p class="SubSectors"><span>{{SubSectorKeyword}}<\/span>{{#each SubSectorsUrlDetails}}<span><a href="{{this.Value}}">{{this.Key}}<\/a><\/span>{{/each}}<\/p>{{/compare}}{{/compare}}<\/div><div class="footer">{{#compare Price null operator="!="}}<div class="recomended-currency"><strong>{{Price}}<\/strong><\/div>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn show-content-first-time" data-firstcontent="true" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a data-show-register="true" class="btn btn-primary show-register-form full-width-btn" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<div class="btn-container text-right"><a class="btn btn-primary" disabled>{{LinkText}}<\/a><\/div>{{/compare}}<\/div><\/div><\/div><\/li>{{/each}}',HeadlinesListItems:'{{#each Headlines}}<li>{{#compare ProductBrandName.length "0" operator=">"}}<p class="type"><span>{{ProductBrandName}}<\/span><\/p>{{/compare}}{{#compare SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{SamplecontentProducts}}<\/span><\/p>{{/compare}}<p class="date">{{PublicationDate}}<\/p>{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#compare HasExternalLink true operator="=="}}<div class="list-content"><h4 class="poduct-brand-subheading"><a href="{{PageURL}}" target="_blank">{{Title}}<\/a><\/h4><\/div>{{/compare}}{{#compare HasExternalLink false operator="=="}}<div class="list-content"><h4 class="poduct-brand-subheading"><a href="{{PageURL}}" target="_self">{{Title}}<\/a><\/h4><\/div>{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<div class="list-content"><h4 class="poduct-brand-subheading"><span>{{Title}}<\/span><\/h4><\/div>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#compare HasExternalLink true operator="=="}}<div class="link"><a role="button" href="{{PageURL}}" title="External Link" target="_blank"><span class="icon-external-link"><span class="access-link">Link<\/span><\/span><\/a><\/div>{{/compare}}{{#compare HasExternalLink false operator="=="}}<div class="link"><a role="button" href="{{PageURL}}" title="Internal Link" target="_self"><span class="icon-internal-link"><span class="access-link">Link<\/span><\/span><\/a><\/div>{{/compare}}{{/compare}}{{/compare}}<\/li>{{/each}}',SubSectorList:'{{#each SubSectors}}<option value="{{SubSectorID}}">{{SubSectorName}}<\/option>{{/each}}',RefineFacets:'{{#each results}}<li><span class="custom-checkbox"><label for="{{Id}}" class="label"><input type="checkbox" name="{{Name}}" id="{{Id}}" value="{{Value}}" {{#if Disabled}}disabled="disabled"{{/if}} {{#if Selected}}checked="checked"{{/if}} /><span>{{Text}}<\/span><\/label><\/span><\/li>{{/each}}',Resources:'<ul class="list-container">{{#each results}}<li class="col-xs-12 col-sm-6 col-md-4"><div class="columns"><p class="category"><strong>{{SectorType}}<\/strong><\/p><h2 class="poduct-brand-subheading">{{Title}}<\/h2><span class="content-type">{{ContentType}}<\/span><p class="date">{{PublicationDate}}<\/p><div class="list-content">{{#if Description}}<p class="description">{{Description}}<\/p><span class="article-info"><em>Author:<\/em> <strong>{{Profile}}<\/strong><\/span><span class="article-info"><em>Topic:<\/em><strong>{{Topic}}<\/strong><\/span>{{/if}}{{#if Video}}<div class="video-container"><a href="{{Video.url}}" class="video-link"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}" /><\/a><span class="play-icon"><\/span><\/div>{{/if}}<\/div><\/div>{{#if PageURL}}<div class="btn-container"><a role="button" href="{{PageURL}}" class="btn btn-primary" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}<\/li>{{/each}}<\/ul>',Events:'<section class="events-list analyst-profile-events event-profile-container"><div class="container" data-count="3"><div class="events-container row">{{#each results}}<div class="col-xs-12 col-sm-6 col-md-4 events-section"><div class="events-wrap"><div class="header clearfix"><p class="date-field">{{#compare EventDate null operator="!="}}<span class="bold">{{EventDate}}<\/span>{{/compare}}{{#if EventDate}}{{#if Time}}, {{/if}}{{/if}}{{#compare Time null operator="!="}}<span>{{Time}}<\/span>{{/compare}}<\/p><\/div><div class="content-wrap"><p class="country">{{#compare State null operator="!="}}<span>{{State}}<\/span>{{/compare}}{{#if State}}{{#if Country}},{{/if}}{{/if}}{{#compare Country null operator="!="}}<span class="bold">{{Country}}<\/span>{{/compare}}<\/p><p><span class="type">{{EventType}}<\/span><\/p><h3 class="title">{{Title}}<\/h3><div class="content clearfix"><div class="title-content">Presenter:<\/div><div class="title-body"><ul class="clearfix">{{#each Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div><div class="content clearfix"><div class="title-content">Themes:<\/div><div class="title-body"><ul class="clearfix">{{#each Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div><\/div><div class="footer clearfix">{{#compare StatusEnabled  true operator="=="}}{{#compare Register null operator="!="}}{{#compare Register.Url null operator="!="}}{{#compare Register.Url.length "0" operator=">"}}<a href="{{Register.Url}}" class="btn btn-default register" target="{{Register.Target}}">{{EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare StatusEnabled  false operator="=="}}{{#compare Register null operator="!="}}{{#compare Register.Url null operator="!="}}{{#compare Register.Url.length "0" operator=">"}}<a href="{{Register.Url}}" class="btn btn-default register disabled" target="{{Register.Target}}">{{EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare FullDetail null operator="!="}}{{#compare FullDetail.Url null operator="!="}}{{#compare FullDetail.Url.length "0" operator=">"}}<a href="{{FullDetail.Url}}" class="btn btn-default full-detail" target="{{FullDetail.Target}}">{{FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div>{{/each}}<\/div><\/div><\/section>',AnalystListNewCo:'<section class="analyst-views newco-analyst-views"><div class="container"><h2 class="header">{{results.header}}<\/h2><div class="row">{{#each results.ModelItem}}<div class="col-md-4 col-sm-12 col-xs-12 analyst-view-container"><div class="row"><div class="col-lg-12  image "><div class="analyst-img">{{#if ProfileImage}}<a href="{{ProfileUrl}}"><img src="{{ProfileImage}}" alt="{{image}}" /><\/a>{{/if}}<\/div><\/div><div class="col-lg-12  content"><div class="row"><div class="col-md-12"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{Type}}<\/span><a href="{{ProfileUrl}}"><h4>{{Name}}<\/h4><\/a><h5><span class="designation">{{Type}}{{#if Type}}{{#if JobTitle}},{{/if}}{{/if}} {{JobTitle}}<\/span><span class="newco-location">{{State}}{{#if Country}}{{#if State}},{{/if}}{{/if}} {{Country}}<\/span><span class="experiance"> {{YearsOfExperience}}+ {{ExperienceText}}<\/span><\/h5><\/div><\/div><\/div><\/div><\/div><\/div><div class="row discription"><div class="profile-discription"><div class="col-md-12"><strong>Specialities include <\/strong>{{#each Specialization}} {{#if @last}}{{this}} {{else}}{{this}}, {{/if}} {{/each}}<\/div><div class="col-md-12"><strong>Product covered include <\/strong>{{#each ProductDetails}} {{#if @last}}{{this.Key}} {{else}}{{this.Key}}, {{/if}}{{/each}}<\/div><\/div><div class="col-md-12 meet-anlyst-section"><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if LinkedInProfileID}}{{#compare LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow trigger-sc-event" addthis:userid="{{LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if TwitterHandleID}}{{#compare TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow trigger-sc-event" addthis:userid="{{TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if EmailAddressLink.Url}}{{#compare EmailAddressLink.Url null operator="!="}}<li><a href="{{EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><\/div><\/div><\/div><\/div><\/div><\/div><\/div>{{/each}}<div class="btn-container text-center"><a href="javascript:void(0)" class="btn-plus" data-fetch="{{results.SectorID}}" data-count="{{results.TotalCount}}"><span class="more"> See all {{results.TotalCount}} Specialists <\/span> <span class="less"> See Less Specialists <\/span><\/a><\/div><\/div><\/div><\/section>',AnalystList:'<section class="analyst-views"><div class="container"><h2 class="header">{{results.header}}<\/h2><div class="row analyst-items">{{#each results.ModelItem}}<div class="col-xs-12 col-sm-6 col-md-4 analyst-list-container {{Type}}"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{Type}}<\/span><h4>{{Name}}<\/h4><h5>{{Type}}{{#if Type}}{{#if JobTitle}},{{/if}}{{/if}} {{JobTitle}}<\/h5>{{#if Country}}<p class="location">{{State}}{{#if Country}}{{#if State}},{{/if}}{{/if}} {{Country}}<\/p>{{/if}}<\/div><div class="analyst-img">{{#if ProfileImage}}<img src="{{ProfileImage}}" alt="{{image}}" />{{/if}}<\/div><\/div><\/div><div class="analyst-description">{{#compare Specialization.length 0 operator=">"}}<p class="heading"><em>{{FirstName}}<\/em> {{SpecializationText}}<\/p><ul class="yellow-bullets">{{#each Specialization}}<li>{{this}}<\/li>{{/each}}<\/ul>{{/compare}}<p class="heading">+{{YearsOfExperience}} {{ExperienceText}}<\/p>{{#compare ProductDetails.length 0 operator=">"}}<ul class="track-analyst clearfix">{{#each ProductDetails}}<li><a href="{{this.Value}}">{{this.Key}}<\/a><\/li>{{/each}}<\/ul>{{/compare}}<\/div><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if LinkedInProfileID}}{{#compare LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if TwitterHandleID}}{{#compare TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if EmailAddressLink.Url}}{{#compare EmailAddressLink.Url null operator="!="}}<li><a href="{{EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><a href="{{ProfileUrl}}" class="btn btn-primary pull-right">Full Profile<\/a><\/div><\/div><\/div><\/div>{{/each}}<\/div>{{#compare results.TotalCount "3" operator=">"}}<div class="btn-container text-center"><a href="javascript:void(0)" data-fetch="{{results.SectorID}}" class="btn-plus"><span class="more">See All {{results.TotalCount}} Analysts<\/span><span class="less">Hide Analysts<\/span><\/a><\/div>{{/compare}}<\/div><\/section>',AnalystTemplate:'<div class="col-xs-12 col-sm-6 col-md-4 analyst-list-container {{results.Type}}"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><h4>{{results.Name}}<\/h5><h5>{{results.Type}}{{#if results.Type}}{{#if results.JobTitle}},{{/if}}{{/if}} {{results.JobTitle}}<\/h3>{{#if results.Country}}<p class="location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}} {{results.Country}}<\/p>{{/if}}<\/div><div class="analyst-img">{{#if results.ProfileImage}}<img src="{{results.ProfileImage}}" alt="{{results.image}}" />{{/if}}<\/div><\/div><\/div><div class="analyst-description">{{#compare results.Specialization.length "0" operator=">"}}<p class="heading"><em>{{results.FirstName}}<\/em> {{results.SpecializationText}}<\/p><ul class="yellow-bullets">{{#each results.Specialization}}<li>{{this}}<\/li>{{/each}}<\/ul>{{/compare}}<p class="heading">+{{results.YearsOfExperience}} {{results.ExperienceText}}<\/p>{{#compare results.ProductDetails.length "0" operator=">"}}<ul class="track-analyst clearfix">{{#each results.ProductDetails}}<li><a href="{{this.Value}}">{{this.Key}}<\/a><\/li>{{/each}}<\/ul>{{/compare}}<\/div><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink.Url}}{{#compare results.EmailAddressLink.Url null operator="!="}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><a href="{{results.ProfileUrl}}" class="btn btn-primary pull-right">{{results.SeeFullProfileLabel}}<\/a><\/div><\/div><\/div><\/div>',AnalystTemplateNewCo:'<div class="col-md-4 col-sm-12 col-xs-12 analyst-view-container {{results.Type}}"><div class="row"><div class="col-lg-12  image"><div class="analyst-img">{{#if results.ProfileImage}}<img src="{{results.ProfileImage}}" alt="{{results.image}}" />{{/if}}<\/div><\/div><div class="col-lg-12  content"><div class="row"><div class="col-md-12"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><a href={{results.ProfileUrl}}><h4>{{results.Name}}<\/h4><\/a><h5><span class="designation">{{results.JobTitle}}<\/span><span class="newco-location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}}{{results.Country}}<\/span><span class="experiance">    {{results.YearsOfExperience}}+ {{results.ExperienceText}}<\/span><\/h5><\/div><\/div><\/div><\/div><\/div><\/div><div class="row discription"><div class="profile-discription"><div class="col-md-12">{{#compare results.Specialization.length "0" operator=">"}}<strong>Specialities include<\/strong>{{#each results.Specialization}} {{this}}{{/each}}{{/compare}}<\/div><div class="col-md-12">{{#compare results.ProductDetails.length "0" operator=">"}}<strong>Product covered include<\/strong>{{#each results.ProductDetails}} {{this.Key}},{{/each}}{{/compare}}<\/div><\/div><div class="col-md-12 meet-anlyst-section"><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink.Url}}{{#compare results.EmailAddressLink.Url null operator="!="}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><\/div><\/div><\/div><\/div><\/div><\/div><\/div>',EventListingPage:'<div class="col-xs-12 col-sm-6 col-md-4 events-section {{results.DateType}}"><div class="events-wrap"><div class="header clearfix"><div class="date">{{results.DateField}}<\/div><div class="date month">{{results.MonthField}}<\/div><\/div><div class="content-wrap"><p class="country">{{#compare results.State null operator="!="}}{{results.State}}{{/compare}}{{#if results.State}}{{#if results.Country}},{{/if}}{{/if}} <strong>{{#compare results.Country null operator="!="}}{{results.Country}}{{/compare}}<\/strong><\/p><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3>{{#compare results.Presenters.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.PresentersLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}{{#compare results.Themes.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.ThemeLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}<\/div><div class="footer clearfix">{{#compare results.FullDetail null operator="!="}}{{#compare results.FullDetail.Url null operator="!="}}{{#compare results.FullDetail.Url.length "0" operator=">"}}<a href="{{results.FullDetail.Url}}" class="btn btn-default pull-left full-detail" target="{{results.FullDetail.Target}}">{{results.FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  true operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" class="btn btn-primary pull-right register" target="{{results.Register.Target}}">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  false operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" class="btn btn-primary pull-right register disabled" target="{{results.Register.Target}}">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div>',EventpageListviewTemplate:'<div class="col-xs-12 events-section {{results.DateType}}"> <div class="events-wrap"> <div class="dates col-sm-2"> {{{results.DateRange}}} <\/div> <div class="content-wrap col-sm-10 col-md-7"> {{#if results.Title}} <h3 class="title">{{results.Title}}<\/h3> {{/if}} {{#if results.EventType}} <p class="type">{{results.EventType}}<\/p> {{/if}} {{#if results.Venue}} <div class="content clearfix venue"> <div class="title-content">{{results.VenueLabel}}<\/div> <div class="title-body"> {{results.Venue}} <\/div> <\/div> {{/if}} {{#if results.Country}} <div class="content clearfix location"> <div class="title-content">{{results.LocationLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.State}} <li>{{results.State}}<\/li> {{/if}} <li>{{results.Country}}<\/li> <\/ul> <\/div> <\/div> {{/if}} {{#if results.Duration}} <div class="content clearfix duration"> <div class="title-content">{{results.DurationLabel}}<\/div> <div class="title-body"> {{results.Duration}} <\/div> <\/div> {{/if}} {{#if (or results.TimeZone results.TimeZone1 results.TimeZone2 results.TimeZone3 results.TimeZone4)}} <div class="content clearfix timezones"> <div class="title-content">{{results.TimeZoneLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.TimeZone}}<li>{{results.TimeZone}}<\/li>{{/if}} {{#if results.TimeZone1}}<li>{{results.TimeZone1}}<\/li>{{/if}} {{#if results.TimeZone2}}<li>{{results.TimeZone2}}<\/li>{{/if}} {{#if results.TimeZone3}}<li>{{results.TimeZone3}}<\/li>{{/if}} {{#if results.TimeZone4}}<li>{{results.TimeZone4}}<\/li>{{/if}} <\/ul> <\/div> <\/div> {{/if}} {{#if results.Description}} <div class="content clearfix description"> {{{results.Description}}} <\/div> {{/if}} {{#compare results.Presenters.length 0 operator=">"}} <div class="content clearfix presenters"> <div class="title-content">{{results.PresentersLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#each results.Presenters}} <li>{{this}}<\/li> {{/each}} <\/ul> <\/div> <\/div> {{/compare}} {{#compare results.Themes.length 0 operator=">"}} <div class="content clearfix themes"> <div class="title-content">{{results.ThemeLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#each results.Themes}} <li>{{this}}<\/li> {{/each}} <\/ul> <\/div> <\/div> {{/compare}} <div class="content clearfix ctas"> {{#if results.Primarycta}} {{#if results.Primarycta.Url}} {{#compare results.Primarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta disabled" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} {{#if results.Secondarycta}} {{#if results.Secondarycta.Url}} {{#compare results.Secondarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta disabled" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} {{#if results.Ical}} {{#if results.Ical.Url}} {{#compare results.Ical.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-left ical" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-left ical disabled" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} <\/div> {{#compare results.Tags.length 0 operator=">"}} <div class="content clearfix tags"> <div class="title-body"> <ul class="clearfix"> {{#each results.Tags}} <li>{{this}}<\/li> {{/each}} <\/ul> <\/div> <\/div> {{/compare}} <\/div> <div class="logo col-sm-offset-2 col-md-offset-0 col-md-3"> {{#if results.Logo}} <div class="content clearfix"> <img src="{{results.Logo}}" alt="event logo"> <\/div> {{/if}} <\/div> <\/div> <\/div>',EventpageTileviewTemplate:'<div class="col-xs-12 col-sm-6 col-md-4 events-section {{results.DateType}}"> <div class="events-wrap"> <div class="header clearfix"> {{{results.DateRange}}} {{#if results.Ical}} {{#if results.Ical.Url}} {{#compare results.Ical.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-right ical" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-right ical disabled" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} <\/div> <div class="content-wrap clearfix"> {{#if results.Venue}} <div class="content clearfix venue"> <div class="title-content">{{results.VenueLabel}}<\/div> <div class="title-body"> {{results.Venue}} <\/div> <\/div> {{/if}} {{#if results.Country}} <div class="content clearfix location"> <div class="title-content">{{results.LocationLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.State}} <li>{{results.State}}<\/li> {{/if}} <li>{{results.Country}}<\/li> <\/ul> <\/div> <\/div> {{/if}} {{#if results.Duration}} <div class="content clearfix duration"> <div class="title-content">{{results.DurationLabel}}<\/div> <div class="title-body"> {{results.Duration}} <\/div> <\/div> {{/if}} {{#if (or results.TimeZone results.TimeZone1 results.TimeZone2 results.TimeZone3 results.TimeZone4)}} <div class="content clearfix timezones"> <div class="title-content">{{results.TimeZoneLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.TimeZone}}<li>{{results.TimeZone}}<\/li>{{/if}} {{#if results.TimeZone1}}<li>{{results.TimeZone1}}<\/li>{{/if}} {{#if results.TimeZone2}}<li>{{results.TimeZone2}}<\/li>{{/if}} {{#if results.TimeZone3}}<li>{{results.TimeZone3}}<\/li>{{/if}} {{#if results.TimeZone4}}<li>{{results.TimeZone4}}<\/li>{{/if}} <\/ul> <\/div> <\/div> {{/if}} {{#if results.Title}} <h3 class="content clearfix title">{{results.Title}}<\/h3> {{/if}} {{#if results.Description}} <div class="content clearfix description"> {{{results.Description}}} <\/div> {{/if}} <\/div> <div class="footer clearfix"> <div class="content clearfix ctas"> {{#if results.Primarycta}} {{#if results.Primarycta.Url}} {{#compare results.Primarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta disabled" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} {{#if results.Secondarycta}} {{#if results.Secondarycta.Url}} {{#compare results.Secondarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta disabled" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} <\/div> <\/div> <\/div> <\/div>',EventpageModalTemplate:'<div id="event-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><\/button> <\/div> <div class="modal-body events-list"> <\/div> <\/div> <\/div> <\/div>',ResourceList:'<div class="col-xs-12 col-sm-6 col-md-4 list-item-container"><div class="list-item"><div class="columns">{{#if SectorType}}<p class="category"><strong>{{SectorType}}<\/strong><\/p>{{/if}}<h2 class="poduct-brand-subheading">{{Title}}<\/h2><span class="content-type">{{ContentType}}<\/span><p class="date">30.03.2016<\/p><div class="list-content">{{#if Description}}<p class="description">{{Description}}<\/p><span class="article-info"><em>Author:<\/em> <strong>{{Profiles}}<\/strong><\/span><span class="article-info"><em>Topic:<\/em> <strong>{{Topics}}<\/strong><\/span>{{/if}}{{#if Video}}<div class="video-container"><a href="{{Video.url}}" class="video-link"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}" /><span class="play-icon icon-play"><\/span><\/a><\/div>{{/if}}<\/div><\/div>{{#if PageURL}}<div class="btn-container"><a role="button" href="{{PageURL}}" class="btn btn-primary" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}<\/div><\/div>',AccordianTemplate:'<div class="panel panel-default"><div class="panel-heading" role="tab"><h4 class="panel-title"><a class="collapsed" role="button" data-toggle="collapse" data-parent="#{{results.FaqAccordionId}}" href="#{{results.Id}}{{results.FaqAccordionId}}{{results.Tabs}}" aria-expanded="false" aria-controls="{{results.Id}}">{{results.Title}}<\/a><\/h4><\/div><div id="{{results.Id}}{{results.FaqAccordionId}}{{results.Tabs}}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="{{results.Id}}" data-fetch="{{results.Id}}"><div class="panel-body">{{results.Description}}<\/div><\/div><\/div>',SampleContent:'<div class="col-md-4 col-sm-6 col-xs-12"><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="recomended-wrapper"><div class="recomend-content wrap-content"><div class="content">{{#compare results.SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{results.SamplecontentProducts}}<\/span><\/p>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4><a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<h4><span>{{results.Title}}<\/span><\/h4>{{/compare}}<p class="publish">{{#if results.Profile}}{{results.ByKeyword}} <strong> {{{AnalystData results.Profile}}} <\/strong>{{/if}}{{#if results.PublicationDate}}{{results.PublicationDate}}{{/if}}<\/p>{{#compare results.Publisher null operator="!="}}<p><span>{{results.PublisherKeyword}} <\/span><strong>{{results.Publisher}}<strong><\/p>{{/compare}}{{#compare results.Video null operator="!="}}<div class="video-container">{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a href="{{results.Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.Video.Url}}"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/if}}{{/compare}}{{/compare}}<\/div>{{/compare}}{{#compare results.ContentTileImage null operator="!="}}<div class="video-container"><img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}"><\/div>{{/compare}}{{#compare results.Description null operator="!="}}<p class="description">{{results.Description}}<\/p>{{/compare}}<\/div>{{#compare results.TopicURLS.length 0 operator=">"}}<p class="topics">{{results.TopicKeyword}} {{#each results.TopicURLS}}<strong><a href="{{this.TopicResourceLink}}">{{this.TopicName}}<\/a><\/strong>{{/each}}<\/p>{{/compare}}{{#compare results.ShowSubSectorOnSampleContentPage true operator="=="}}{{#compare results.SubSectorsUrlDetails.length 0 operator=">"}}<p class="SubSectors"><span>{{results.SubSectorKeyword}}<\/span>{{#each results.SubSectorsUrlDetails}}<span><a href="{{this.Value}}">{{this.Key}}<\/a><\/span>{{/each}}<\/p>{{/compare}}{{/compare}}<\/div><div class="footer">{{#compare results.Price null operator="!="}}<div class="recomended-currency"><strong>{{results.Price}}<\/strong><\/div>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn show-content-first-time" data-firstcontent="true" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a data-show-register="true" class="btn btn-primary show-register-form full-width-btn" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<div class="btn-container text-right"><a class="btn btn-primary" disabled>{{results.LinkText}}<\/a><\/div>{{/compare}}<\/div><\/div><\/div><\/div>',SampleContentNewCo:'<div class=""><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="recomended-wrapper"><div class="recomend-content wrap-content row">{{#compare results.Video null operator="!="}}<div class="col-sm-4 col-md-4">{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a href="{{results.Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.Video.Url}}"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/if}}{{/compare}}{{/compare}}<\/div>{{/compare}}{{#compare results.Video null operator="=="}}<div class="col-sm-4 col-md-4 img-container">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" target="_blank">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_self">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" target="_self">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" target="_blank">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}{{/compare}}<\/div>{{/compare}}<div class="content col-sm-8 col-md-8">{{#compare results.SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{results.SamplecontentProducts}}<\/span><\/p>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4 class="gated-content"><a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<h4><span>{{results.Title}}<\/span><\/h4>{{/compare}}<p class="publish">{{#if results.Profile}}{{results.ByKeyword}}<strong> {{{AnalystData results.Profile}}} <\/strong>{{/if}}{{#if results.PublicationDate}}{{results.PublicationDate}}{{/if}}<\/p>{{#compare results.Publisher null operator="!="}}<p><span>{{results.PublisherKeyword}} <\/span><strong>{{results.Publisher}}<\/strong><\/p>{{/compare}}{{#compare results.Description null operator="!="}}<p class="description">{{results.Description}}<\/p>{{/compare}}<\/div>{{#compare results.ShowSubSectorOnSampleContentPage true operator="=="}}{{#compare results.SubSectorsUrlDetails.length 0 operator=">"}}<p class="SubSectors"><span>{{results.SubSectorKeyword}}<\/span>{{#each results.SubSectorsUrlDetails}}<span><a href="{{this.Value}}">{{this.Key}}<\/a><\/span>{{/each}}<\/p>{{/compare}}{{/compare}}<\/div><div class="footer">{{#compare results.Price null operator="!="}}<div class="recomended-currency"><strong>{{results.Price}}<\/strong><\/div>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn show-content-first-time" data-firstcontent="true" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a data-show-register="true" class="btn btn-primary show-register-form full-width-btn" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<div class="btn-container text-right"><a class="btn btn-primary" disabled>{{results.LinkText}}<\/a><\/div>{{/compare}}<\/div><\/div><\/div><\/div>',Product:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="products"><div class="wrap-content"><div class="heading"><div class="heading-content"><p class="category">{{#each results.SectorTags}}<strong>{{this}}<\/strong>{{/each}}<\/p><h4 class={{results.SubSiteTheme}}>{{results.Title}}<\/h4><\/div><\/div><div class="body"><p>{{results.Description}}<\/p><ul>{{#each results.Benefits}}<li class="icon-tick">{{this}}<\/li>{{/each}}<\/ul><\/div><\/div><div class="button-links"><div class="button-links-wrap row"><div class="col-xs-6">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}" target="{{results.LinkTarget}}" class="btn btn-default">{{results.DetailText}}<\/a>{{/compare}}{{/compare}}<\/div><div class="col-xs-6">{{#if results.ProductSearchCTAType}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="=="}}{{#if (splitURL results.SalesforceLink.Url "registration")}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{else}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/if}}{{/compare}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="!="}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/compare}}{{else}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{/if}}<\/div><\/div><\/div><\/div><\/div><\/div>',ProductNewCo:'<div><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="recomended-wrapper products"><div class="recomend-content wrap-content row"><div class="col-md-4"><div class="image-gradient">{{results.Title}}<\/div><\/div><div class="wrap-content col-md-8"><div class="body"><p>{{results.Description}}<\/p><ul>{{#each results.Benefits}}<li class="icon-tick">{{this}}<\/li>{{/each}}<\/ul><\/div><div class="footer clearfix"><div class="row"><div class="col-xs-6">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}" target="{{results.LinkTarget}}" class="btn btn-default">{{results.DetailText}}<\/a>{{/compare}}{{/compare}}<\/div><div class="col-xs-6">{{#if results.ProductSearchCTAType}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="=="}}{{#if (splitURL results.SalesforceLink.Url "registration")}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{else}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/if}}{{/compare}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="!="}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/compare}}{{else}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{/if}}<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>',SearchTemplate:'<div class="product-results" data-pagesize="{{results.DefaultItemCount}}">{{#if results.ProductTitle}}<h2> <strong>{{results.ProductTitle}}<\/strong><\/h2>{{/if}}<div class="row list">{{{results.Content}}}<\/div>{{#compare results.ShowMoreFlag false operator="!="}}<div class="text-center"><a href="#" class="btn-showMore"><span class="more">{{results.ShowMoreText}}<\/span><span class="less">{{results.ShowLessText}}<\/span><\/a><\/div>{{/compare}}<\/div>',PieBarChartTemplate:'{{#if Heading}}<p class="heading">{{{Heading}}}<\/p>{{/if}}{{#if Bar}}{{#if LargeImage}}<img src="{{LargeImage}}" alt="" class="lg-image hidden-xs" />{{/if}}{{/if}}{{#if FacetList}}<div class="row"><div class="col-md-12"><div class="inf-pie-bar-chart-slider-section"><div class="pie-bar-chart-carousel">{{#each FacetList}}<div class="pie-bar-chart-col"><img src="{{Logo}}" alt="" class="icon" />{{#if ../SubHeadingColor}}<p class="sub-heading" style="color:{{../SubHeadingColor}};">{{Title}}<\/p>{{else}}<p class="sub-heading">{{Title}}<\/p>{{/if}}<div id="{{Id}}{{../UniqueId}}" class="pie-bar-chart-container"><\/div><\/div>{{/each}}<\/div><\/div><\/div><\/div>{{/if}}',Specialist:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items"><div class="analyst-list-container {{results.Type}}"><div class="meet-anlyst-section"><div class="wrap-content"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><h4>{{results.Name}}<\/h4><h5>{{results.JobTitle}}<\/h5>{{#if results.Country}}<p class="location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}} {{results.Country}}<\/p>{{/if}}<\/div><div class="analyst-img"><img src="{{results.Image}}" alt="@Model.Name" /><\/div><\/div><\/div><div class="analyst-description">{{#compare results.Specialization.length "0" operator=">"}}<p class="heading"><em>{{results.FirstName}}<\/em> {{results.SpecializationText}}<\/p><ul class="yellow-bullets">{{#each results.Specialization}}<li>{{this}}<\/li>{{/each}}<\/ul>{{/compare}}<p class="heading">+{{results.YearsOfExperience}} {{results.ExperienceText}}<\/p>{{#compare results.ProductDetails.length "0" operator=">"}}<ul class="track-analyst clearfix">{{#each results.ProductDetails}}<li><a href="{{this.Value}}">{{this.Key}}<\/a><\/li>{{/each}}<\/ul>{{/compare}}<\/div><\/div><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink}}{{#compare results.EmailAddressLink.Url.length "0" operator=">"}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><a href="{{results.PageURL}}" target="{{results.LinkTarget}}" class="btn btn-primary pull-right">{{results.SeeFullProfileLText}}<\/a><\/div><\/div><\/div><\/div><\/div><\/div>',Event:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items"><div class="events-wrap"><div class="wrap-content"><div class="header clearfix"><div class="date-field">{{results.EventDate}}<\/div><\/div><div class="content-wrap"><p class="country"><span>{{results.State}}<\/span>{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}}<strong> {{results.Country}}<\/strong><\/p><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3>{{#compare results.Presenters.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.PresentersLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}{{#compare results.Themes.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.ThemeLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}<\/div><\/div><div class="footer clearfix">{{#compare results.FullDetail null operator="!="}}{{#compare results.FullDetail.Url null operator="!="}}{{#compare results.FullDetail.Url.length "0" operator=">"}}<a href="{{results.FullDetail.Url}}" target="{{results.FullDetail.Target}}" class="btn btn-default full-detail pull-left">{{results.FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  true operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  false operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right disabled">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div><\/div>',SpecialistNewCo:'<section class="analyst-views newco-analyst-views"><div class="row"><div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 image "><div class="analyst-img"><a href="{{results.PageURL}}">  <img src="{{results.Image}}" alt="{{results.Name}}" /><\/a><\/div><\/div><div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 content"><div class="row"><div class="col-md-9"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><a href="@Model.PageURL"><h4>{{results.Name}}<\/h4><\/a><h5><span class="designation">{{results.JobTitle}}<\/span><span class="newco-location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}} {{results.Country}} <\/span><span class="experiance">{{results.YearsOfExperience}}+{{results.ExperienceText}}<\/span><\/h5><\/div><\/div><\/div><\/div><\/div><div class="col-md-3 meet-anlyst-section"><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink}}{{#compare results.EmailAddressLink.Url.length "0" operator=">"}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><\/div><\/div><\/div><\/div><div class="row discription"><div class="col-md-12">{{#compare results.Specialization.length "0" operator=">"}}<strong>Specialities include <\/strong>{{#each results.Specialization}}{{this}} {{/each}}{{/compare}}<\/div><div class="col-md-12">{{#compare results.ProductDetails.length "0" operator=">"}}<strong>Product covered include <\/strong>{{#each results.ProductDetails}}{{this.Key}}{{/each}}{{/compare}}<\/div><\/div><\/div><\/div><\/section>',EventNewCo:'<div class=""><div class="list-items"><div class="recomended-wrapper"><div class="recomend-content wrap-content row" style="height: auto;"><div class="col-md-4">{{#if results.Image}}<img src="results.Image" alt="results.Title" class="img-responsive" />{{else}}<div class="image-gradient"><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3><\/div>{{/if}}<\/div><div class="events-wrap col-md-8"><div class="wrap-content"><div class="header clearfix"><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3><\/div><div class="content-wrap"><div class="content clearfix"><div class="date-field">{{results.EventDate}}<\/div><div class="seperator"> | <\/div><p class="country"><span>{{results.State}}<\/span>{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}}<span>{{results.Country}}<\/span><\/p>{{#compare results.Presenters.length 0 operator=">"}}<div class="seperator"> | <\/div><div class="title-content">{{results.PresentersLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div>{{/compare}}<\/div>{{#compare results.Themes.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.ThemeLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}<\/div><\/div><div class="footer clearfix">{{#compare results.FullDetail null operator="!="}}{{#compare results.FullDetail.Url null operator="!="}}{{#compare results.FullDetail.Url.length "0" operator=">"}}<a href="{{results.FullDetail.Url}}" target="{{results.FullDetail.Target}}" class="btn btn-default full-detail pull-left">{{results.FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  true operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  false operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right disabled">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div><\/div><\/div><\/div>',Other:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items"><div class="others-wrapper"><div class="wrap-content"><div class="content"><h4>{{results.Title}}<\/h4>{{#if results.Description}}<p class="description">{{results.Description}}<\/p>{{/if}}<\/div><\/div><div class="footer"><div class="btn-container text-right">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}" class="btn btn-primary" target="{{results.LinkTarget}}">{{results.DetailText}}<\/a>{{/compare}}{{/compare}}<\/div><\/div><\/div><\/div><\/div>',SiteWideSearch:'{{#each Results}}<div class="search-tile-article artcl-list" boxid="{{ItemId}}"><div class="left-artcl">{{#if PageUrl}}<a href="{{PageUrl}}" target="_blank">{{#if Image }}<img src="{{Image}}">{{else}}<img src="/Static/images/tech/Article-List-FallBack-Image.jpg">{{/if}}<\/a>{{else if this.Image }}<img src="{{Image}}">{{else}}<img src="/Static/images/tech/Article-List-FallBack-Image.jpg">{{/if}}<\/div><div class="right-artcl">{{#if PageUrl}}<p class="artcl-headline"><a href="{{PageUrl}}" target="_blank"> {{Title}} <\/a><\/p>{{else if Title}}<p class="artcl-headline">{{Title}}<\/p>{{/if}}{{#if SubtitleLength}}<ul class="artcl-info list-unstyled"><li>{{SubTitle}}<li><\/ul>{{/if}}<p class="artcl-description desktop">{{Description}}{{#if PageUrl}}<a href="{{PageUrl}}" target="_blank" class="artcl-read-more">{{LinkText}} <i class="fa fa-long-arrow-right" aria-hidden="true"><\/i> <\/a>{{/if}}<\/p><\/div><p class="artcl-description mobile">{{Description}}{{#if PageUrl}}<a href="{{PageUrl}}" target="_blank" class="artcl-read-more">{{LinkText}} <i class="fa fa-long-arrow-right" aria-hidden="true"><\/i> <\/a>{{/if}}<\/p><\/div>{{/each}}'}}(this,jQuery,"INFORMA"),function(n,t){n.Utils=function(){function r(){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){var i,u,f,t,r;if(this==null)throw TypeError('"this" is null or not defined');if(i=Object(this),u=i.length>>>0,typeof n!="function")throw TypeError("predicate must be a function");for(f=arguments[1],t=0;t<u;){if(r=i[t],n.call(f,r,t,i))return r;t++}return undefined},configurable:!0,writable:!0});Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(n){var i,r,u,t,f;if(this==null)throw new TypeError('"this" is null or not defined');if(i=Object(this),r=i.length>>>0,typeof n!="function")throw new TypeError("predicate must be a function");for(u=arguments[1],t=0;t<r;){if(f=i[t],n.call(u,f,t,i))return t;t++}return-1},configurable:!0,writable:!0});Array.prototype.contains=function(n){for(i in this)if(this[i]==n)return!0;return!1};Array.prototype.remove=function(){for(var r,t,u=Array.apply(null,arguments),i=[],n=0;n<u.length;n++)for(r=u[n],t=this.indexOf(r);t>-1;)i.push(t),t=this.indexOf(r,t+1);for(i.sort(),n=0;n<i.length;n++)t=i[n]-n,this.splice(t,1)};this.getUniqueArray=function(n){var i=[];return t.each(n,function(n,r){t.inArray(r,i)===-1&&i.push(r)}),i};this.RemoveArrayItem=function(n){for(var t,i=arguments,r=i.length,u;r>1&&n.length;)for(t=i[--r];(u=n.indexOf(t))!==-1;)n.splice(u,1);return n};this.ArrayUnique=function(n){for(var i,t=n.concat(),r=0;r<t.length;++r)for(i=r+1;i<t.length;++i)t[r]===t[i]&&t.splice(i--,1);return t};this.StrngToQryStrng=function(n){if((typeof n=="object"||typeof n=="string")&&n){var t=n.toString().split(",");return t.join("&")}};this.serializeObject=function(n){var i={},r=n;return t.each(r,function(){i[this.name]?(i[this.name].push||(i[this.name]=[i[this.name]]),i[this.name].push(this.value||"")):i[this.name]=this.value||""}),i};this.getIEVersion=function(){var t=navigator.userAgent,n=t.match(/MSIE\s?(\d+)(?:\.(\d+))?/i);return n!==null?{major:n[1],minor:n[2]}:{major:"-1",minor:"-1"}};this.getViewport=function(){var r=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u=Math.max(document.documentElement.clientHeight,window.innerHeight||0),i;return t("html").hasClass("lt-ie9")?i="large":(i=r<=n.Configs.views.xsmall?"xsmall":i,i=r>n.Configs.views.xsmall&&r<=n.Configs.views.small?"small":i,i=r>n.Configs.views.small?"medium":i,i=r>n.Configs.views.medium?"large":i,i=r>n.Configs.views.large?"xlarge":i),n.Configs.viewport={size:i,width:r,height:u},n.Configs.viewport};this.isMobileView=function(){return this.getViewport().size=="small"||this.getViewport().size=="xsmall"};this.isTabletView=function(){return this.getViewport().size=="medium"};this.appendEloquaCookieId=function(n){if(n.indexOf("istrial=true")==-1)return n;var i=t("body").attr("data-eloqua-customerid");return i?n+"&eloquacookieid="+i:n};this.init=function(){var n=this;return this.getViewport(),this.getIEVersion().major==="10"&&t("html").addClass("ie10"),this}}return new r}()}(window.INFORMA=typeof INFORMA!="undefined"&&INFORMA instanceof Object?INFORMA:{},$INFORMA);logThis=function(){if(INFORMA.Configs.debug)for(var n=0;n<arguments.length;n++);};AmCharts.themes.light={themeName:"light",AmChart:{color:"#000000",backgroundColor:"#FFFFFF"},AmCoordinateChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"]},AmStockChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"]},AmSlicedChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"],outlineAlpha:1,outlineThickness:2,labelTickColor:"#000000",labelTickAlpha:.3},AmRectangularChart:{zoomOutButtonColor:"#000000",zoomOutButtonRollOverAlpha:.15,zoomOutButtonImage:"lens"},AxisBase:{axisColor:"#000000",axisAlpha:.3,gridAlpha:.1,gridColor:"#000000"},ChartScrollbar:{backgroundColor:"#000000",backgroundAlpha:.12,graphFillAlpha:.5,graphLineAlpha:0,selectedBackgroundColor:"#FFFFFF",selectedBackgroundAlpha:.4,gridAlpha:.15},ChartCursor:{cursorColor:"#000000",color:"#FFFFFF",cursorAlpha:.5},AmLegend:{color:"#000000"},AmGraph:{lineAlpha:.9},GaugeArrow:{color:"#000000",alpha:.8,nailAlpha:0,innerRadius:"40%",nailRadius:15,startWidth:15,borderAlpha:.8,nailBorderAlpha:0},GaugeAxis:{tickColor:"#000000",tickAlpha:1,tickLength:15,minorTickLength:8,axisThickness:3,axisColor:"#000000",axisAlpha:1,bandAlpha:.8},TrendLine:{lineColor:"#c03246",lineAlpha:.8},AreasSettings:{alpha:.8,color:"#67b7dc",colorSolid:"#003767",unlistedAreasAlpha:.4,unlistedAreasColor:"#000000",outlineColor:"#FFFFFF",outlineAlpha:.5,outlineThickness:.5,rollOverColor:"#3c5bdc",rollOverOutlineColor:"#FFFFFF",selectedOutlineColor:"#FFFFFF",selectedColor:"#f15135",unlistedAreasOutlineColor:"#FFFFFF",unlistedAreasOutlineAlpha:.5},LinesSettings:{color:"#000000",alpha:.8},ImagesSettings:{alpha:.8,labelColor:"#000000",color:"#000000",labelRollOverColor:"#3c5bdc"},ZoomControl:{buttonFillAlpha:.7,buttonIconColor:"#a7a7a7"},SmallMap:{mapColor:"#000000",rectangleColor:"#f15135",backgroundColor:"#FFFFFF",backgroundAlpha:.7,borderThickness:1,borderAlpha:.8},PeriodSelector:{color:"#000000"},PeriodButton:{color:"#000000",background:"transparent",opacity:.7,border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",boxSizing:"border-box"},PeriodButtonSelected:{color:"#000000",backgroundColor:"#b9cdf5",border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",opacity:1,boxSizing:"border-box"},PeriodInputField:{color:"#000000",background:"transparent",border:"1px solid rgba(0, 0, 0, .3)",outline:"none"},DataSetSelector:{color:"#000000",selectedBackgroundColor:"#b9cdf5",rollOverBackgroundColor:"#a8b0e4"},DataSetCompareList:{color:"#000000",lineHeight:"100%",boxSizing:"initial",webkitBoxSizing:"initial",border:"1px solid rgba(0, 0, 0, .3)"},DataSetSelect:{border:"1px solid rgba(0, 0, 0, .3)",outline:"none"}},function(){var n=window.AmCharts;n.AmSlicedChart=n.Class({inherits:n.AmChart,construct:function(t){this.createEvents("rollOverSlice","rollOutSlice","clickSlice","pullOutSlice","pullInSlice","rightClickSlice");n.AmSlicedChart.base.construct.call(this,t);this.colors="#FF0F00 #FF6600 #FF9E01 #FCD202 #F8FF01 #B0DE09 #04D215 #0D8ECF #0D52D1 #2A0CD0 #8A0CCF #CD0D74 #754DEB #DDDDDD #999999 #333333 #000000 #57032A #CA9726 #990000 #4B0C25".split(" ");this.alpha=1;this.groupPercent=0;this.groupedTitle="Other";this.groupedPulled=!1;this.groupedAlpha=1;this.marginLeft=0;this.marginBottom=this.marginTop=10;this.marginRight=0;this.hoverAlpha=1;this.outlineColor="#FFFFFF";this.outlineAlpha=0;this.outlineThickness=1;this.startAlpha=0;this.startDuration=1;this.startEffect="bounce";this.sequencedAnimation=!0;this.pullOutDuration=1;this.pullOutEffect="bounce";this.pullOnHover=this.pullOutOnlyOne=!1;this.labelsEnabled=!0;this.labelTickColor="#000000";this.labelTickAlpha=.2;this.hideLabelsPercent=0;this.urlTarget="_self";this.autoMarginOffset=10;this.gradientRatio=[];this.maxLabelWidth=200;this.accessibleLabel="[[title]]: [[percents]]% [[value]] [[description]]";n.applyTheme(this,t,"AmSlicedChart")},initChart:function(){n.AmSlicedChart.base.initChart.call(this);this.dataChanged&&(this.parseData(),this.dispatchDataUpdated=!0,this.dataChanged=!1,this.setLegendData(this.chartData));this.drawChart()},handleLegendEvent:function(n){var r=n.type,t=n.dataItem,u=this.legend,i;if(t.wedge&&t){i=t.hidden;n=n.event;switch(r){case"clickMarker":i||u.switchable||this.clickSlice(t,n);break;case"clickLabel":i||this.clickSlice(t,n,!1);break;case"rollOverItem":i||this.rollOverSlice(t,!1,n);break;case"rollOutItem":i||this.rollOutSlice(t,n);break;case"hideItem":this.hideSlice(t,n);break;case"showItem":this.showSlice(t,n)}}},invalidateVisibility:function(){this.recalculatePercents();this.initChart();var n=this.legend;n&&n.invalidateSize()},addEventListeners:function(n,t){var i=this;n.mouseover(function(n){i.rollOverSlice(t,!0,n)}).mouseout(function(n){i.rollOutSlice(t,n)}).touchend(function(n){i.rollOverSlice(t,n)}).mouseup(function(n){i.clickSlice(t,n)}).contextmenu(function(n){i.handleRightClick(t,n)})},formatString:function(t,i,r){t=n.formatValue(t,i,["value"],this.nf,"",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers);var u=this.pf.precision;return isNaN(this.tempPrec)||(this.pf.precision=this.tempPrec),t=n.formatValue(t,i,["percents"],this.pf),t=n.massReplace(t,{"[[title]]":i.title,"[[description]]":i.description}),this.pf.precision=u,-1!=t.indexOf("[[")&&(t=n.formatDataContextValue(t,i.dataContext)),t=r?n.fixNewLines(t):n.fixBrakes(t),n.cleanFromEmpty(t)},startSlices:function(){for(var n=0;n<this.chartData.length;n++)0<this.startDuration&&this.sequencedAnimation?this.setStartTO(n):this.startSlice(this.chartData[n])},setStartTO:function(n){var t=this;n=setTimeout(function(){t.startSequenced.call(t)},t.startDuration/t.chartData.length*500*n);t.timeOuts.push(n)},pullSlices:function(n){for(var r=this.chartData,i,t=0;t<r.length;t++)i=r[t],i.pulled&&this.pullSlice(i,1,n)},startSequenced:function(){for(var t=this.chartData,n=0;n<t.length;n++)if(!t[n].started){this.startSlice(this.chartData[n]);break}},startSlice:function(n){n.started=!0;var t=n.wedge,i=this.startDuration,r=n.labelSet;t&&0<i&&(0<n.alpha&&t.show(),t.translate(n.startX,n.startY),this.animatable.push(t),t.animate({opacity:1,translate:"0,0"},i,this.startEffect));r&&0<i&&(0<n.alpha&&r.show(),r.translate(n.startX,n.startY),r.animate({opacity:1,translate:"0,0"},i,this.startEffect))},showLabels:function(){for(var r=this.chartData,n,i,t=0;t<r.length;t++)n=r[t],0<n.alpha&&(i=n.label,i&&i.show(),(n=n.tick)&&n.show())},showSlice:function(n){isNaN(n)?n.hidden=!1:this.chartData[n].hidden=!1;this.invalidateVisibility()},hideSlice:function(n){isNaN(n)?n.hidden=!0:this.chartData[n].hidden=!0;this.hideBalloon();this.invalidateVisibility()},rollOverSlice:function(t,i,r){var e,o,u,f;isNaN(t)||(t=this.chartData[t]);clearTimeout(this.hoverInt);t.hidden||(this.pullOnHover&&this.pullSlice(t,1),1>this.hoverAlpha&&t.wedge&&t.wedge.attr({opacity:this.hoverAlpha}),e=t.balloonX,o=t.balloonY,t.pulled&&(e+=t.pullX,o+=t.pullY),u=this.formatString(this.balloonText,t,!0),f=this.balloonFunction,f&&(u=f(t,u)),f=n.adjustLuminosity(t.color,-.15),u?this.showBalloon(u,f,i,e,o):this.hideBalloon(),0===t.value&&this.hideBalloon(),this.fire({type:"rollOverSlice",dataItem:t,chart:this,event:r}))},rollOutSlice:function(n,t){isNaN(n)||(n=this.chartData[n]);n.wedge&&n.wedge.attr({opacity:1});this.hideBalloon();this.fire({type:"rollOutSlice",dataItem:n,chart:this,event:t})},clickSlice:function(t,i,r){this.checkTouchDuration(i)&&(isNaN(t)||(t=this.chartData[t]),t.pulled?this.pullSlice(t,0):this.pullSlice(t,1),n.getURL(t.url,this.urlTarget),r||this.fire({type:"clickSlice",dataItem:t,chart:this,event:i}))},handleRightClick:function(n,t){isNaN(n)||(n=this.chartData[n]);this.fire({type:"rightClickSlice",dataItem:n,chart:this,event:t})},drawTicks:function(){for(var u=this.chartData,t,i,r=0;r<u.length;r++)t=u[r],t.label&&!t.skipTick&&(i=t.ty,i=n.line(this.container,[t.tx0,t.tx,t.tx2],[t.ty0,i,i],this.labelTickColor,this.labelTickAlpha),n.setCN(this,i,this.type+"-tick"),n.setCN(this,i,t.className,!0),t.tick=i,t.wedge.push(i))},initialStart:function(){var n=this,t=n.startDuration,i=setTimeout(function(){n.showLabels.call(n)},1e3*t);n.timeOuts.push(i);n.chartCreated?n.pullSlices(!0):(n.startSlices(),0<t?(t=setTimeout(function(){n.pullSlices.call(n)},1200*t),n.timeOuts.push(t)):n.pullSlices(!0))},pullSlice:function(n,t,i){var r=this.pullOutDuration;!0===i&&(r=0);(i=n.wedge)&&(0<r?(i.animate({translate:t*n.pullX+","+t*n.pullY},r,this.pullOutEffect),n.labelSet&&n.labelSet.animate({translate:t*n.pullX+","+t*n.pullY},r,this.pullOutEffect)):(n.labelSet&&n.labelSet.translate(t*n.pullX,t*n.pullY),i.translate(t*n.pullX,t*n.pullY)));1==t?(n.pulled=!0,this.pullOutOnlyOne&&this.pullInAll(n.index),n={type:"pullOutSlice",dataItem:n,chart:this}):(n.pulled=!1,n={type:"pullInSlice",dataItem:n,chart:this});this.fire(n)},pullInAll:function(n){for(var i=this.chartData,t=0;t<this.chartData.length;t++)t!=n&&i[t].pulled&&this.pullSlice(i[t],0)},pullOutAll:function(){for(var t=this.chartData,n=0;n<t.length;n++)t[n].pulled||this.pullSlice(t[n],1)},parseData:function(){var o=[],s,f,e,r,t,i,u;if(this.chartData=o,s=this.dataProvider,isNaN(this.pieAlpha)||(this.alpha=this.pieAlpha),void 0!==s){for(f=s.length,e=0,r=0;r<f;r++)t={},u=s[r],t.dataContext=u,null!==u[this.valueField]&&(t.value=Number(u[this.valueField])),(i=u[this.titleField])||(i=""),t.title=i,t.pulled=n.toBoolean(u[this.pulledField],!1),(i=u[this.descriptionField])||(i=""),t.description=i,t.labelRadius=Number(u[this.labelRadiusField]),t.switchable=!0,t.className=u[this.classNameField],t.url=u[this.urlField],i=u[this.patternField],!i&&this.patterns&&(i=this.patterns[r]),t.pattern=i,t.visibleInLegend=n.toBoolean(u[this.visibleInLegendField],!0),i=u[this.alphaField],t.alpha=void 0!==i?Number(i):this.alpha,i=u[this.colorField],void 0!==i&&(t.color=i),t.labelColor=n.toColor(u[this.labelColorField]),e+=t.value,t.hidden=!1,o[r]=t;for(r=s=0;r<f;r++)t=o[r],t.percents=t.value/e*100,t.percents<this.groupPercent&&s++;for(1<s&&(this.groupValue=0,this.removeSmallSlices(),o.push({title:this.groupedTitle,value:this.groupValue,percents:this.groupValue/e*100,pulled:this.groupedPulled,color:this.groupedColor,url:this.groupedUrl,description:this.groupedDescription,alpha:this.groupedAlpha,pattern:this.groupedPattern,className:this.groupedClassName,dataContext:{}})),f=this.baseColor,f||(f=this.pieBaseColor),e=this.brightnessStep,e||(e=this.pieBrightnessStep),r=0;r<o.length;r++)f?i=n.adjustLuminosity(f,r*e/100):(i=this.colors[r],void 0===i&&(i=n.randomColor())),void 0===o[r].color&&(o[r].color=i);this.recalculatePercents()}},recalculatePercents:function(){for(var i=this.chartData,r=0,n,t=0;t<i.length;t++)n=i[t],!n.hidden&&0<n.value&&(r+=n.value);for(t=0;t<i.length;t++)n=this.chartData[t],n.percents=!n.hidden&&0<n.value?100*n.value/r:0},removeSmallSlices:function(){for(var t=this.chartData,n=t.length-1;0<=n;n--)t[n].percents<this.groupPercent&&(this.groupValue+=t[n].value,t.splice(n,1))},animateAgain:function(){var n=this,t,i,r;for(n.startSlices(),t=0;t<n.chartData.length;t++)i=n.chartData[t],i.started=!1,r=i.wedge,r&&(r.setAttr("opacity",n.startAlpha),r.translate(i.startX,i.startY)),(r=i.labelSet)&&(r.setAttr("opacity",n.startAlpha),r.translate(i.startX,i.startY));t=n.startDuration;0<t?(t=setTimeout(function(){n.pullSlices.call(n)},1200*t),n.timeOuts.push(t)):n.pullSlices()},measureMaxLabel:function(){for(var f=this.chartData,u=0,r=0;r<f.length;r++){var i=f[r],t=this.formatString(this.labelText,i),e=this.labelFunction;e&&(t=e(i,t));i=n.text(this.container,t,this.color,this.fontFamily,this.fontSize);t=i.getBBox().width;t>u&&(u=t);i.remove()}return u}})}(),function(){var n=window.AmCharts;n.AmPieChart=n.Class({inherits:n.AmSlicedChart,construct:function(t){this.type="pie";n.AmPieChart.base.construct.call(this,t);this.cname="AmPieChart";this.pieBrightnessStep=30;this.minRadius=10;this.depth3D=0;this.startAngle=90;this.angle=this.innerRadius=0;this.startRadius="500%";this.pullOutRadius="20%";this.labelRadius=20;this.labelText="[[title]]: [[percents]]%";this.balloonText="[[title]]: [[percents]]% ([[value]])\n[[description]]";this.previousScale=1;this.adjustPrecision=!1;this.gradientType="radial";n.applyTheme(this,t,this.cname)},drawChart:function(){var v,u,ut,f,y,i,a,k;if(n.AmPieChart.base.drawChart.call(this),v=this.chartData,n.ifArray(v)){if(0<this.realWidth&&0<this.realHeight){n.VML&&(this.startAlpha=1);var ft=this.startDuration,rt=this.container,h=this.updateWidth();this.realWidth=h;u=this.updateHeight();this.realHeight=u;var o=n.toCoordinate,f=o(this.marginLeft,h),t=o(this.marginRight,h),d=o(this.marginTop,u)+this.getTitleHeight(),s=o(this.marginBottom,u)+this.depth3D,g,nt,r,w=n.toNumber(this.labelRadius),c=this.measureMaxLabel();for(c>this.maxLabelWidth&&(c=this.maxLabelWidth),this.labelText&&this.labelsEnabled||(w=c=0),g=void 0===this.pieX?(h-f-t)/2+f:o(this.pieX,this.realWidth),nt=void 0===this.pieY?(u-d-s)/2+d:o(this.pieY,u),r=o(this.radius,h,u),r||(h=0<=w?h-f-t-2*c:h-f-t,u=u-d-s,r=Math.min(h,u),u<h&&(r/=1-this.angle/90,r>h&&(r=h)),u=n.toCoordinate(this.pullOutRadius,r),r=(0<=w?r-1.8*(w+u):r-1.8*u)/2),r<this.minRadius&&(r=this.minRadius),u=o(this.pullOutRadius,r),d=n.toCoordinate(this.startRadius,r),o=o(this.innerRadius,r),o>=r&&(o=r-1),s=n.fitToBounds(this.startAngle,0,360),0<this.depth3D&&(s=270<=s?270:90),s-=90,360<s&&(s-=360),h=r-r*this.angle/90,f=c=0;f<v.length;f++)t=v[f],!0!==t.hidden&&(c+=n.roundTo(t.percents,this.pf.precision));for(c=n.roundTo(c,this.pf.precision),this.tempPrec=NaN,this.adjustPrecision&&100!=c&&(this.tempPrec=this.pf.precision+1),f=0;f<v.length;f++)if(t=v[f],!0!==t.hidden&&(this.showZeroSlices||0!==t.percents)){var l=360*t.percents/100,c=Math.sin((s+l/2)/180*Math.PI),tt=h/r*-Math.cos((s+l/2)/180*Math.PI),e=this.outlineColor;if(e||(e=t.color),y=this.alpha,isNaN(t.alpha)||(y=t.alpha),e={fill:t.color,stroke:e,"stroke-width":this.outlineThickness,"stroke-opacity":this.outlineAlpha,"fill-opacity":y},t.url&&(e.cursor="pointer"),e=n.wedge(rt,g,nt,s,l,r,h,o,this.depth3D,e,this.gradientRatio,t.pattern,this.path,this.gradientType),n.setCN(this,e,"pie-item"),n.setCN(this,e.wedge,"pie-slice"),n.setCN(this,e,t.className,!0),this.addEventListeners(e,t),t.startAngle=s,v[f].wedge=e,0<ft&&(this.chartCreated||e.setAttr("opacity",this.startAlpha)),t.ix=c,t.iy=tt,t.wedge=e,t.index=f,t.label=null,y=rt.set(),this.labelsEnabled&&this.labelText&&t.percents>=this.hideLabelsPercent){i=s+l/2;0>i&&(i+=360);360<i&&(i-=360);a=w;isNaN(t.labelRadius)||(a=t.labelRadius,0>a&&(t.skipTick=!0));var l=g+c*(r+a),it=nt+tt*(r+a),b,p=0;isNaN(ut)&&350<i&&1<v.length-f&&(ut=f-1+Math.floor((v.length-f)/2));0<=a?(90>=i&&0<=i?(k=0,b="start",p=8):90<=i&&180>i?(k=1,b="start",p=8):180<=i&&270>i?(k=2,b="end",p=-8):270<=i&&354>=i?(k=3,b="end",p=-8):354<=i&&(f>ut?(k=0,b="start",p=8):(k=3,b="end",p=-8)),t.labelQuarter=k):b="middle";i=this.formatString(this.labelText,t);(a=this.labelFunction)&&(i=a(t,i));a=t.labelColor;a||(a=this.color);""!==i&&(i=n.wrappedText(rt,i,a,this.fontFamily,this.fontSize,b,!1,this.maxLabelWidth),n.setCN(this,i,"pie-label"),n.setCN(this,i,t.className,!0),i.translate(l+1.5*p,it),0>w&&(i.node.style.pointerEvents="none"),i.node.style.cursor="default",t.ty=it,t.textX=l+1.5*p,y.push(i),this.axesSet.push(y),t.labelSet=y,t.label=i,this.addEventListeners(y,t));t.tx=l;t.tx2=l+p;t.tx0=g+c*r;t.ty0=nt+tt*r}l=o+(r-o)/2;t.pulled&&(l+=u);this.accessible&&this.accessibleLabel&&(it=this.formatString(this.accessibleLabel,t),this.makeAccessible(e,it));void 0!==this.tabIndex&&e.setAttr("tabindex",this.tabIndex);t.balloonX=c*l+g;t.balloonY=tt*l+nt;t.startX=Math.round(c*d);t.startY=Math.round(tt*d);t.pullX=Math.round(c*u);t.pullY=Math.round(tt*u);this.graphsSet.push(e);(0===t.alpha||0<ft&&!this.chartCreated)&&(e.hide(),y&&y.hide());s+=360*t.percents/100;360<s&&(s-=360)}0<w&&this.arrangeLabels();this.pieXReal=g;this.pieYReal=nt;this.radiusReal=r;this.innerRadiusReal=o;0<w&&this.drawTicks();this.initialStart();this.setDepths()}(v=this.legend)&&v.invalidateSize()}else this.cleanChart();this.dispDUpd()},setDepths:function(){for(var i=this.chartData,t=0;t<i.length;t++){var n=i[t],r=n.wedge,n=n.startAngle;0<=n&&180>n?r.toFront():180<=n&&r.toBack()}},arrangeLabels:function(){for(var i=this.chartData,r=i.length,t,n=r-1;0<=n;n--)t=i[n],0!==t.labelQuarter||t.hidden||this.checkOverlapping(n,t,0,!0,0);for(n=0;n<r;n++)t=i[n],1!=t.labelQuarter||t.hidden||this.checkOverlapping(n,t,1,!1,0);for(n=r-1;0<=n;n--)t=i[n],2!=t.labelQuarter||t.hidden||this.checkOverlapping(n,t,2,!0,0);for(n=0;n<r;n++)t=i[n],3!=t.labelQuarter||t.hidden||this.checkOverlapping(n,t,3,!1,0)},checkOverlapping:function(n,t,i,r,u){var e,f,o=this.chartData,s=o.length,h=t.label;if(h){if(!0===r)for(f=n+1;f<s;f++)o[f].labelQuarter==i&&(e=this.checkOverlappingReal(t,o[f],i))&&(f=s);else for(f=n-1;0<=f;f--)o[f].labelQuarter==i&&(e=this.checkOverlappingReal(t,o[f],i))&&(f=0);!0===e&&200>u&&isNaN(t.labelRadius)&&(e=t.ty+3*t.iy,t.ty=e,h.translate(t.textX,e),this.checkOverlapping(n,t,i,r,u+1))}},checkOverlappingReal:function(t,i,r){var e=!1,f=t.label,u=i.label;return t.labelQuarter!=r||t.hidden||i.hidden||!u||(f=f.getBBox(),r={},r.width=f.width,r.height=f.height,r.y=t.ty,r.x=t.tx,t=u.getBBox(),u={},u.width=t.width,u.height=t.height,u.y=i.ty,u.x=i.tx,n.hitTest(r,u)&&(e=!0)),e}})}(),function(){var n=window.AmCharts;n.AmRectangularChart=n.Class({inherits:n.AmCoordinateChart,construct:function(t){n.AmRectangularChart.base.construct.call(this,t);this.theme=t;this.createEvents("zoomed","changed");this.marginRight=this.marginBottom=this.marginTop=this.marginLeft=20;this.depth3D=this.angle=0;this.plotAreaFillColors="#FFFFFF";this.plotAreaFillAlphas=0;this.plotAreaBorderColor="#000000";this.plotAreaBorderAlpha=0;this.maxZoomFactor=20;this.zoomOutButtonImageSize=19;this.zoomOutButtonImage="lens";this.zoomOutText="Show all";this.zoomOutButtonColor="#e5e5e5";this.zoomOutButtonAlpha=0;this.zoomOutButtonRollOverAlpha=1;this.zoomOutButtonPadding=8;this.trendLines=[];this.autoMargins=!0;this.marginsUpdated=!1;this.autoMarginOffset=10;n.applyTheme(this,t,"AmRectangularChart")},initChart:function(){n.AmRectangularChart.base.initChart.call(this);this.updateDxy();!this.marginsUpdated&&this.autoMargins&&(this.resetMargins(),this.drawGraphs=!1);this.processScrollbars();this.updateMargins();this.updatePlotArea();this.updateScrollbars();this.updateTrendLines();this.updateChartCursor();this.updateValueAxes();this.scrollbarOnly||this.updateGraphs()},drawChart:function(){if(n.AmRectangularChart.base.drawChart.call(this),this.drawPlotArea(),n.ifArray(this.chartData)){var t=this.chartCursor;t&&t.draw()}},resetMargins:function(){var i={},n,t,r,u;if("xy"==this.type){for(t=this.xAxes,r=this.yAxes,n=0;n<t.length;n++)u=t[n],u.ignoreAxisWidth||(u.setOrientation(!0),u.fixAxisPosition(),i[u.position]=!0);for(n=0;n<r.length;n++)t=r[n],t.ignoreAxisWidth||(t.setOrientation(!1),t.fixAxisPosition(),i[t.position]=!0)}else{for(r=this.valueAxes,n=0;n<r.length;n++)t=r[n],t.ignoreAxisWidth||(t.setOrientation(this.rotate),t.fixAxisPosition(),i[t.position]=!0);(n=this.categoryAxis)&&!n.ignoreAxisWidth&&(n.setOrientation(!this.rotate),n.fixAxisPosition(),n.fixAxisPosition(),i[n.position]=!0)}i.left&&(this.marginLeft=0);i.right&&(this.marginRight=0);i.top&&(this.marginTop=0);i.bottom&&(this.marginBottom=0);this.fixMargins=i},measureMargins:function(){for(var f=this.valueAxes,t=this.autoMarginOffset,o=this.fixMargins,s=this.realWidth,h=this.realHeight,i=t,r=t,u=s,n=h,e=0;e<f.length;e++)f[e].handleSynchronization(),n=this.getAxisBounds(f[e],i,u,r,n),i=Math.round(n.l),u=Math.round(n.r),r=Math.round(n.t),n=Math.round(n.b);(f=this.categoryAxis)&&(n=this.getAxisBounds(f,i,u,r,n),i=Math.round(n.l),u=Math.round(n.r),r=Math.round(n.t),n=Math.round(n.b));o.left&&i<t&&(this.marginLeft=Math.round(-i+t),!isNaN(this.minMarginLeft)&&this.marginLeft<this.minMarginLeft&&(this.marginLeft=this.minMarginLeft));o.right&&u>=s-t&&(this.marginRight=Math.round(u-s+t),!isNaN(this.minMarginRight)&&this.marginRight<this.minMarginRight&&(this.marginRight=this.minMarginRight));o.top&&r<t+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-r+t+this.titleHeight),!isNaN(this.minMarginTop)&&this.marginTop<this.minMarginTop&&(this.marginTop=this.minMarginTop));o.bottom&&n>h-t&&(this.marginBottom=Math.round(this.marginBottom+n-h+t),!isNaN(this.minMarginBottom)&&this.marginBottom<this.minMarginBottom&&(this.marginBottom=this.minMarginBottom));this.initChart()},getAxisBounds:function(n,t,i,r,u){if(!n.ignoreAxisWidth){var f=n.labelsSet,e=n.tickLength;if(n.inside&&(e=0),f)switch(f=n.getBBox(),n.position){case"top":n=f.y;r>n&&(r=n);break;case"bottom":n=f.y+f.height;u<n&&(u=n);break;case"right":n=f.x+f.width+e+3;i<n&&(i=n);break;case"left":n=f.x-e;t>n&&(t=n)}}return{l:t,t:r,r:i,b:u}},drawZoomOutButton:function(){var t=this,r,i,u,o;if(!t.zbSet){r=t.container.set();t.zoomButtonSet.push(r);var f=t.color,h=t.fontSize,a=t.zoomOutButtonImageSize,l=t.zoomOutButtonImage.replace(/\.[a-z]*$/i,""),v=t.langObj.zoomOutText||t.zoomOutText,e=t.zoomOutButtonColor,c=t.zoomOutButtonAlpha,i=t.zoomOutButtonFontSize,s=t.zoomOutButtonPadding;for(isNaN(i)||(h=i),(i=t.zoomOutButtonFontColor)&&(f=i),i=t.zoomOutButton,i&&(i.fontSize&&(h=i.fontSize),i.color&&(f=i.color),i.backgroundColor&&(e=i.backgroundColor),isNaN(i.backgroundAlpha)||(t.zoomOutButtonRollOverAlpha=i.backgroundAlpha)),o=i=0,o=t.pathToImages,l&&((n.isAbsolute(l)||void 0===o)&&(o=""),u=t.container.image(o+l+t.extension,0,0,a,a),n.setCN(t,u,"zoom-out-image"),r.push(u),u=u.getBBox(),i=u.width+5),void 0!==v&&(f=n.text(t.container,v,f,t.fontFamily,h,"start"),n.setCN(t,f,"zoom-out-label"),h=f.getBBox(),o=u?u.height/2-3:h.height/2,f.translate(i,o),r.push(f)),u=r.getBBox(),f=1,n.isModern||(f=0),e=n.rect(t.container,u.width+2*s+5,u.height+2*s-2,e,1,1,e,f),e.setAttr("opacity",c),e.translate(-s,-s),n.setCN(t,e,"zoom-out-bg"),r.push(e),e.toBack(),t.zbBG=e,u=e.getBBox(),r.translate(t.marginLeftReal+t.plotAreaWidth-u.width+s,t.marginTopReal+s),r.hide(),r.mouseover(function(){t.rollOverZB()}).mouseout(function(){t.rollOutZB()}).click(function(){t.clickZB()}).touchstart(function(){t.rollOverZB()}).touchend(function(){t.rollOutZB();t.clickZB()}),c=0;c<r.length;c++)r[c].attr({cursor:"pointer"});void 0!==t.zoomOutButtonTabIndex&&(r.setAttr("tabindex",t.zoomOutButtonTabIndex),r.setAttr("role","menuitem"),r.keyup(function(n){13==n.keyCode&&t.clickZB()}));t.zbSet=r}},rollOverZB:function(){this.rolledOverZB=!0;this.zbBG.setAttr("opacity",this.zoomOutButtonRollOverAlpha)},rollOutZB:function(){this.rolledOverZB=!1;this.zbBG.setAttr("opacity",this.zoomOutButtonAlpha)},clickZB:function(){this.rolledOverZB=!1;this.zoomOut()},zoomOut:function(){this.zoomOutValueAxes()},drawPlotArea:function(){var i=this.dx,u=this.dy,e=this.marginLeftReal,s=this.marginTopReal,r=this.plotAreaWidth-1,o=this.plotAreaHeight-1,t=this.plotAreaFillColors,f=this.plotAreaFillAlphas,h=this.plotAreaBorderColor,c=this.plotAreaBorderAlpha;"object"==typeof f&&(f=f[0]);t=n.polygon(this.container,[0,r,r,0,0],[0,0,o,o,0],t,f,1,h,c,this.plotAreaGradientAngle);n.setCN(this,t,"plot-area");t.translate(e+i,s+u);this.set.push(t);0!==i&&0!==u&&(t=this.plotAreaFillColors,"object"==typeof t&&(t=t[0]),t=n.adjustLuminosity(t,-.15),r=n.polygon(this.container,[0,i,r+i,r,0],[0,u,u,0,0],t,f,1,h,c),n.setCN(this,r,"plot-area-bottom"),r.translate(e,s+o),this.set.push(r),i=n.polygon(this.container,[0,0,i,i,0],[0,o,o+u,u,0],t,f,1,h,c),n.setCN(this,i,"plot-area-left"),i.translate(e,s),this.set.push(i));(e=this.bbset)&&this.scrollbarOnly&&e.remove()},updatePlotArea:function(){var n=this.updateWidth(),t=this.updateHeight(),i=this.container;this.realWidth=n;this.realWidth=t;i&&this.container.setSize(n,t);var i=this.marginLeftReal,r=this.marginTopReal,n=n-i-this.marginRightReal-this.dx,t=t-r-this.marginBottomReal;1>n&&(n=1);1>t&&(t=1);this.plotAreaWidth=Math.round(n);this.plotAreaHeight=Math.round(t);this.plotBalloonsSet.translate(i,r)},updateDxy:function(){this.dx=Math.round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(this.angle*Math.PI/180));this.d3x=Math.round(this.columnSpacing3D*Math.cos(this.angle*Math.PI/180));this.d3y=Math.round(-this.columnSpacing3D*Math.sin(this.angle*Math.PI/180))},updateMargins:function(){var n=this.getTitleHeight();this.titleHeight=n;this.marginTopReal=this.marginTop-this.dy;this.fixMargins&&!this.fixMargins.top&&(this.marginTopReal+=n);this.marginBottomReal=this.marginBottom;this.marginLeftReal=this.marginLeft;this.marginRightReal=this.marginRight},updateValueAxes:function(){for(var i=this.valueAxes,t,n=0;n<i.length;n++)t=i[n],this.setAxisRenderers(t),this.updateObjectSize(t)},setAxisRenderers:function(t){t.axisRenderer=n.RecAxis;t.guideFillRenderer=n.RecFill;t.axisItemRenderer=n.RecItem;t.marginsChanged=!0},updateGraphs:function(){for(var i=this.graphs,t,n=0;n<i.length;n++)t=i[n],t.index=n,t.rotate=this.rotate,this.updateObjectSize(t)},updateObjectSize:function(n){n.width=this.plotAreaWidth-1;n.height=this.plotAreaHeight-1;n.x=this.marginLeftReal;n.y=this.marginTopReal;n.dx=this.dx;n.dy=this.dy},updateChartCursor:function(){var t=this.chartCursor;t&&(t=n.processObject(t,n.ChartCursor,this.theme),this.updateObjectSize(t),this.addChartCursor(t),t.chart=this)},processScrollbars:function(){var t=this.chartScrollbar;t&&(t=n.processObject(t,n.ChartScrollbar,this.theme),this.addChartScrollbar(t))},updateScrollbars:function(){},removeChartCursor:function(){n.callMethod("destroy",[this.chartCursor]);this.chartCursor=null},zoomTrendLines:function(){for(var i=this.trendLines,n,t=0;t<i.length;t++)n=i[t],n.valueAxis.recalculateToPercents?n.set&&n.set.hide():(n.x=this.marginLeftReal,n.y=this.marginTopReal,n.draw())},handleCursorValueZoom:function(){},addTrendLine:function(n){this.trendLines.push(n)},zoomOutValueAxes:function(){for(var t=this.valueAxes,n=0;n<t.length;n++)t[n].zoomOut()},removeTrendLine:function(n){for(var i=this.trendLines,t=i.length-1;0<=t;t--)i[t]==n&&i.splice(t,1)},adjustMargins:function(n,t){var r=n.position,i=n.scrollbarHeight+n.offset;n.enabled&&("top"==r?t?this.marginLeftReal+=i:this.marginTopReal+=i:t?this.marginRightReal+=i:this.marginBottomReal+=i)},getScrollbarPosition:function(n,t,i){var r="bottom",u="top";n.oppositeAxis||(u=r,r="top");n.position=t?"bottom"==i||"left"==i?r:u:"top"==i||"right"==i?r:u},updateChartScrollbar:function(n,t){if(n){n.rotate=t;var i=this.marginTopReal,u=this.marginLeftReal,f=n.scrollbarHeight,e=this.dx,o=this.dy,r=n.offset;"top"==n.position?t?(n.y=i,n.x=u-f-r):(n.y=i-f+o-r,n.x=u+e):t?(n.y=i+o,n.x=u+this.plotAreaWidth+e+r):(n.y=i+this.plotAreaHeight+r,n.x=this.marginLeftReal)}},showZB:function(n){var t=this.zbSet;n&&(t=this.zoomOutText,""!==t&&t&&this.drawZoomOutButton());(t=this.zbSet)&&(this.zoomButtonSet.push(t),n?t.show():t.hide(),this.rollOutZB())},handleReleaseOutside:function(t){n.AmRectangularChart.base.handleReleaseOutside.call(this,t);(t=this.chartCursor)&&t.handleReleaseOutside&&t.handleReleaseOutside()},handleMouseDown:function(t){n.AmRectangularChart.base.handleMouseDown.call(this,t);var i=this.chartCursor;i&&i.handleMouseDown&&!this.rolledOverZB&&i.handleMouseDown(t)},update:function(){n.AmRectangularChart.base.update.call(this);this.chartCursor&&this.chartCursor.update&&this.chartCursor.update()},handleScrollbarValueZoom:function(n){this.relativeZoomValueAxes(n.target.valueAxes,n.relativeStart,n.relativeEnd);this.zoomAxesAndGraphs()},zoomValueScrollbar:function(n){if(n&&n.enabled){var t=n.valueAxes[0],i=t.relativeStart,r=t.relativeEnd;t.reversed&&(r=1-i,i=1-t.relativeEnd);n.percentZoom(i,r)}},zoomAxesAndGraphs:function(){if(!this.scrollbarOnly){for(var t=this.valueAxes,n=0;n<t.length;n++)t[n].zoom(this.start,this.end);for(t=this.graphs,n=0;n<t.length;n++)t[n].zoom(this.start,this.end);(n=this.chartCursor)&&n.clearSelection();this.zoomTrendLines()}},handleValueAxisZoomReal:function(n,t){var i=n.relativeStart,r=n.relativeEnd;if(i>r)var u=i,i=r,r=u;this.relativeZoomValueAxes(t,i,r);this.updateAfterValueZoom()},updateAfterValueZoom:function(){this.zoomAxesAndGraphs();this.zoomScrollbar()},relativeZoomValueAxes:function(t,i,r){var u,f,e;if(i=n.fitToBounds(i,0,1),r=n.fitToBounds(r,0,1),i>r&&(u=i,i=r,r=u),u=1/this.maxZoomFactor,f=n.getDecimals(u)+4,r-i<u&&(r=i+(r-i)/2,i=r-u/2,r+=u/2),i=n.roundTo(i,f),r=n.roundTo(r,f),u=!1,t){for(f=0;f<t.length;f++)e=t[f].zoomToRelativeValues(i,r,!0),e&&(u=e);this.showZB()}return u},addChartCursor:function(t){n.callMethod("destroy",[this.chartCursor]);t&&(this.listenTo(t,"moved",this.handleCursorMove),this.listenTo(t,"zoomed",this.handleCursorZoom),this.listenTo(t,"zoomStarted",this.handleCursorZoomStarted),this.listenTo(t,"panning",this.handleCursorPanning),this.listenTo(t,"onHideCursor",this.handleCursorHide));this.chartCursor=t},handleCursorChange:function(){},handleCursorMove:function(n){for(var r=this.valueAxes,i,t=0;t<r.length;t++)n.panning||(i=r[t],i&&i.showBalloon&&i.showBalloon(n.x,n.y))},handleCursorZoom:function(n){if(this.skipZoomed)this.skipZoomed=!1;else{var t=this.startX0,r=this.endX0,u=this.endY0,i=this.startY0,f=n.startX,e=n.endX,o=n.startY,s=n.endY;this.startX0=this.endX0=this.startY0=this.endY0=NaN;this.handleCursorZoomReal(t+f*(r-t),t+e*(r-t),i+o*(u-i),i+s*(u-i),n)}},handleCursorHide:function(){for(var t=this.valueAxes,n=0;n<t.length;n++)t[n].hideBalloon();for(t=this.graphs,n=0;n<t.length;n++)t[n].hideBalloonReal()}})}(),function(){var n=window.AmCharts;n.AmSerialChart=n.Class({inherits:n.AmRectangularChart,construct:function(t){this.type="serial";n.AmSerialChart.base.construct.call(this,t);this.cname="AmSerialChart";this.theme=t;this.columnSpacing=5;this.columnSpacing3D=0;this.columnWidth=.8;var i=new n.CategoryAxis(t);i.chart=this;this.categoryAxis=i;this.zoomOutOnDataUpdate=!0;this.mouseWheelZoomEnabled=this.mouseWheelScrollEnabled=this.rotate=this.skipZoom=!1;this.minSelectedTime=0;n.applyTheme(this,t,this.cname)},initChart:function(){n.AmSerialChart.base.initChart.call(this);this.updateCategoryAxis(this.categoryAxis,this.rotate,"categoryAxis");this.dataChanged?this.parseData():this.onDataUpdated();this.drawGraphs=!0},onDataUpdated:function(){for(var u=this.countColumns(),n=this.chartData,r=this.graphs,i,t=0;t<r.length;t++)i=r[t],i.data=n,i.columnCount=u;0<n.length&&(this.firstTime=this.getStartTime(n[0].time),this.lastTime=this.getEndTime(n[n.length-1].time));this.drawChart();this.autoMargins&&!this.marginsUpdated?(this.marginsUpdated=!0,this.measureMargins()):this.dispDUpd()},syncGrid:function(){var u,t,i,o,r,f,e;if(this.synchronizeGrid&&(u=this.valueAxes,0<u.length)){for(o=0,i=0;i<u.length;i++)t=u[i],o<t.gridCountReal&&(o=t.gridCountReal);for(r=!1,i=0;i<u.length;i++)(t=u[i],t.gridCountReal<o)&&(f=(o-t.gridCountReal)/2,e=r=f,0!=f-Math.round(f)&&(r-=.5,e+=.5),0<=t.min&&0>t.min-r*t.step&&(e+=r,r=0),0>=t.max&&0<t.max+e*t.step&&(r+=e,e=0),f=n.getDecimals(t.step),t.minimum=n.roundTo(t.min-r*t.step,f),t.maximum=n.roundTo(t.max+e*t.step,f),t.setStep=t.step,r=t.strictMinMax=!0);for(r&&this.updateAfterValueZoom(),i=0;i<u.length;i++)t=u[i],t.minimum=NaN,t.maximum=NaN,t.setStep=NaN,t.strictMinMax=!1}},handleWheelReal:function(n,t){var e,o;if(!this.wheelBusy){var s=this.categoryAxis,u=s.parseDates,r=s.minDuration(),i=1,f=1;this.mouseWheelZoomEnabled?t||(i=-1):t&&(i=-1);o=this.chartCursor;o&&(e=o.mouseX,o=o.mouseY,i!=f&&(e=this.rotate?o/this.plotAreaHeight:e/this.plotAreaWidth,i*=e,f*=1-e),e=.05*(this.end-this.start),u&&(e=.05*(this.endTime-this.startTime)/r),1>e&&(e=1),i*=e,f*=e,(!u||s.equalSpacing)&&(i=Math.round(i),f=Math.round(f)));o=this.chartData.length;s=this.lastTime;e=this.firstTime;0>n?u?(o=this.endTime-this.startTime,u=this.startTime+i*r,r=this.endTime+f*r,0<f&&0<i&&r>=s&&(r=s,u=s-o),this.zoomToDates(new Date(u),new Date(r))):(0<f&&0<i&&this.end>=o-1&&(i=f=0),u=this.start+i,r=this.end+f,this.zoomToIndexes(u,r)):u?(o=this.endTime-this.startTime,u=this.startTime-i*r,r=this.endTime-f*r,0<f&&0<i&&u<=e&&(u=e,r=e+o),this.zoomToDates(new Date(u),new Date(r))):(0<f&&0<i&&1>this.start&&(i=f=0),u=this.start-i,r=this.end-f,this.zoomToIndexes(u,r))}},validateData:function(t){this.marginsUpdated=!1;this.zoomOutOnDataUpdate&&!t&&(this.endTime=this.end=this.startTime=this.start=NaN);n.AmSerialChart.base.validateData.call(this)},drawChart:function(){var r,u,t,i;0<this.realWidth&&0<this.realHeight?(n.AmSerialChart.base.drawChart.call(this),r=this.chartData,n.ifArray(r)&&(u=this.chartScrollbar,u&&(this.marginsUpdated||!this.autoMargins)&&u.draw(),(u=this.valueScrollbar)&&u.draw(),u=r.length-1,t=this.categoryAxis,t.parseDates&&!t.equalSpacing?(t=this.startTime,i=this.endTime,isNaN(t)||isNaN(i))&&(t=this.firstTime,i=this.lastTime):(t=this.start,i=this.end,(isNaN(t)||isNaN(i))&&(i=t=NaN),isNaN(t)&&(isNaN(this.startTime)||(t=this.getClosestIndex(r,"time",this.startTime,!0,0,r.length))),isNaN(i)&&(isNaN(this.endTime)||(i=this.getClosestIndex(r,"time",this.endTime,!1,0,r.length))),(isNaN(t)||isNaN(i))&&(t=0,i=u)),this.endTime=this.startTime=this.end=this.start=void 0,this.zoom(t,i))):this.cleanChart()},cleanChart:function(){n.callMethod("destroy",[this.valueAxes,this.graphs,this.categoryAxis,this.chartScrollbar,this.chartCursor,this.valueScrollbar])},updateCategoryAxis:function(n,t,i){n.chart=this;n.id=i;n.rotate=t;n.setOrientation(!this.rotate);n.init();this.setAxisRenderers(n);this.updateObjectSize(n)},updateValueAxes:function(){var u,i,r,t;for(n.AmSerialChart.base.updateValueAxes.call(this),u=this.valueAxes,i=0;i<u.length;i++)r=u[i],t=this.rotate,r.rotate=t,r.setOrientation(t),t=this.categoryAxis,(!t.startOnAxis||t.parseDates)&&(r.expandMinMax=!0)},getStartTime:function(t){var i=this.categoryAxis;return n.resetDateToMin(new Date(t),i.minPeriod,1,i.firstDayOfWeek).getTime()},getEndTime:function(t){var i=n.extractPeriod(this.categoryAxis.minPeriod);return n.changeDate(new Date(t),i.period,i.count,!0).getTime()-1},updateMargins:function(){n.AmSerialChart.base.updateMargins.call(this);var t=this.chartScrollbar;t&&(this.getScrollbarPosition(t,this.rotate,this.categoryAxis.position),this.adjustMargins(t,this.rotate));(t=this.valueScrollbar)&&(this.getScrollbarPosition(t,!this.rotate,this.valueAxes[0].position),this.adjustMargins(t,!this.rotate))},updateScrollbars:function(){n.AmSerialChart.base.updateScrollbars.call(this);this.updateChartScrollbar(this.chartScrollbar,this.rotate);this.updateChartScrollbar(this.valueScrollbar,!this.rotate)},zoom:function(n,t){var i=this.categoryAxis;i.parseDates&&!i.equalSpacing?this.timeZoom(n,t):this.indexZoom(n,t);isNaN(n)&&this.zoomOutValueAxes();(i=this.chartCursor)&&(i.pan||i.hideCursorReal());this.updateLegendValues()},timeZoom:function(t,i){var u=this.maxSelectedTime,e,r;if(isNaN(u)||(i!=this.endTime&&i-t>u&&(t=i-u),t!=this.startTime&&i-t>u&&(i=t+u)),r=this.minSelectedTime,0<r&&i-t<r&&(e=Math.round(t+(i-t)/2),r=Math.round(r/2),t=e-r,i=e+r),r=this.chartData,e=this.categoryAxis,n.ifArray(r)&&(t!=this.startTime||i!=this.endTime)){var f=e.minDuration(),s=this.firstTime,o=this.lastTime;t||(t=s,isNaN(u)||(t=o-u));i||(i=o);t>o&&(t=o);i<s&&(i=s);t<s&&(t=s);i>o&&(i=o);i<t&&(i=t+f);i-t<f/5&&(i<o?i=t+f/5:t=i-f/5);this.startTime=t;this.endTime=i;u=r.length-1;f=this.getClosestIndex(r,"time",t,!0,0,u);r=this.getClosestIndex(r,"time",i,!1,f,u);e.timeZoom(t,i);e.zoom(f,r);this.start=n.fitToBounds(f,0,u);this.end=n.fitToBounds(r,0,u);this.zoomAxesAndGraphs();this.zoomScrollbar();this.fixCursor();this.showZB();this.syncGrid();this.updateColumnsDepth();this.dispatchTimeZoomEvent()}},showZB:function(){var i,t=this.categoryAxis;t&&t.parseDates&&!t.equalSpacing&&(this.startTime>this.firstTime&&(i=!0),this.endTime<this.lastTime&&(i=!0));0<this.start&&(i=!0);this.end<this.chartData.length-1&&(i=!0);(t=this.valueAxes)&&(t=t[0],isNaN(t.relativeStart)||(0!==n.roundTo(t.relativeStart,3)&&(i=!0),1!=n.roundTo(t.relativeEnd,3)&&(i=!0)));n.AmSerialChart.base.showZB.call(this,i)},updateAfterValueZoom:function(){n.AmSerialChart.base.updateAfterValueZoom.call(this);this.updateColumnsDepth()},indexZoom:function(n,t){var r=this.maxSelectedSeries,i=!1,u;isNaN(r)||(t!=this.end&&t-n>r&&(n=t-r,i=!0),n!=this.start&&t-n>r&&(t=n+r,i=!0));i&&(i=this.chartScrollbar)&&i.dragger&&(u=i.dragger.getBBox(),i.maxWidth=u.width,i.maxHeight=u.height);(n!=this.start||t!=this.end)&&(i=this.chartData.length-1,isNaN(n)&&(n=0,isNaN(r)||(n=i-r)),isNaN(t)&&(t=i),t<n&&(t=n),t>i&&(t=i),n>i&&(n=i-1),0>n&&(n=0),this.start=n,this.end=t,this.categoryAxis.zoom(n,t),this.zoomAxesAndGraphs(),this.zoomScrollbar(),this.fixCursor(),0!==n||t!=this.chartData.length-1?this.showZB(!0):this.showZB(!1),this.syncGrid(),this.updateColumnsDepth(),this.dispatchIndexZoomEvent())},updateGraphs:function(){var r,i,t;for(n.AmSerialChart.base.updateGraphs.call(this),r=this.graphs,i=0;i<r.length;i++)t=r[i],t.columnWidthReal=this.columnWidth,t.categoryAxis=this.categoryAxis,n.isString(t.fillToGraph)&&(t.fillToGraph=this.graphsById[t.fillToGraph])},zoomAxesAndGraphs:function(){n.AmSerialChart.base.zoomAxesAndGraphs.call(this);this.updateColumnsDepth()},updateColumnsDepth:function(){var i,r,u,t,f;if(0!==this.depth3D||0!==this.angle){for(r=this.graphs,this.columnsArray=[],i=0;i<r.length;i++)if(u=r[i],t=u.columnsArray,t)for(f=0;f<t.length;f++)this.columnsArray.push(t[f]);if(this.columnsArray.sort(this.compareDepth),0<this.columnsArray.length){for(r=this.columnsSet,t=this.container.set(),this.columnSet.push(t),i=0;i<this.columnsArray.length;i++)t.push(this.columnsArray[i].column.set);u&&t.translate(u.x,u.y);this.columnsSet=t;n.remove(r)}}},compareDepth:function(n,t){return n.depth>t.depth?1:-1},zoomScrollbar:function(){var n=this.chartScrollbar,i=this.categoryAxis,t;n&&(this.zoomedByScrollbar||(t=n.dragger,t&&t.stop()),this.zoomedByScrollbar=!1,i.parseDates&&!i.equalSpacing?n.timeZoom(this.startTime,this.endTime):n.zoom(this.start,this.end));this.zoomValueScrollbar(this.valueScrollbar)},updateTrendLines:function(){for(var r=this.trendLines,t,i=0;i<r.length;i++)t=r[i],t=n.processObject(t,n.TrendLine,this.theme),r[i]=t,t.chart=this,t.id||(t.id="trendLineAuto"+i+"_"+(new Date).getTime()),n.isString(t.valueAxis)&&(t.valueAxis=this.getValueAxisById(t.valueAxis)),t.valueAxis||(t.valueAxis=this.valueAxes[0]),t.categoryAxis=this.categoryAxis},countColumns:function(){for(var t=0,h=this.valueAxes.length,o=this.graphs.length,n,i,f=!1,r,e,s,u=0;u<h;u++){if(i=this.valueAxes[u],e=i.stackType,s=0,"100%"==e||"regular"==e)for(f=!1,r=0;r<o;r++)n=this.graphs[r],n.tcc=1,n.valueAxis==i&&"column"==n.type&&(!f&&n.stackable&&(t++,f=!0),(!n.stackable&&n.clustered||n.newStack&&0!==s)&&t++,n.columnIndex=t-1,n.clustered||(n.columnIndex=0),s++);if("none"==e||"3d"==e){for(f=!1,r=0;r<o;r++)n=this.graphs[r],n.valueAxis==i&&"column"==n.type&&(n.clustered?(n.tcc=1,n.newStack&&(t=0),n.hidden||(n.columnIndex=t,t++)):n.hidden||(f=!0,n.tcc=1,n.columnIndex=0));f&&0===t&&(t=1)}if("3d"==e){for(i=1,u=0;u<o;u++)n=this.graphs[u],n.newStack&&i++,n.depthCount=i,n.tcc=t;t=i}}return t},parseData:function(){n.AmSerialChart.base.parseData.call(this);this.parseSerialData(this.dataProvider)},getCategoryIndexByValue:function(n){for(var i=this.chartData,t=0;t<i.length;t++)if(i[t].category==n)return t},handleScrollbarZoom:function(n){this.zoomedByScrollbar=!0;this.zoom(n.start,n.end)},dispatchTimeZoomEvent:function(){var t;if(this.drawGraphs&&(this.prevStartTime!=this.startTime||this.prevEndTime!=this.endTime)){t={type:"zoomed"};t.startDate=new Date(this.startTime);t.endDate=new Date(this.endTime);t.startIndex=this.start;t.endIndex=this.end;this.startIndex=this.start;this.endIndex=this.end;this.startDate=t.startDate;this.endDate=t.endDate;this.prevStartTime=this.startTime;this.prevEndTime=this.endTime;var i=this.categoryAxis,r=n.extractPeriod(i.minPeriod).period,i=i.dateFormatsObject[r];t.startValue=n.formatDate(t.startDate,i,this);t.endValue=n.formatDate(t.endDate,i,this);t.chart=this;t.target=this;this.fire(t)}},dispatchIndexZoomEvent:function(){var i,t;this.drawGraphs&&(this.prevStartIndex!=this.start||this.prevEndIndex!=this.end)&&(this.startIndex=this.start,this.endIndex=this.end,i=this.chartData,!n.ifArray(i)||isNaN(this.start)||isNaN(this.end)||(t={chart:this,target:this,type:"zoomed"},t.startIndex=this.start,t.endIndex=this.end,t.startValue=i[this.start].category,t.endValue=i[this.end].category,this.categoryAxis.parseDates&&(this.startTime=i[this.start].time,this.endTime=i[this.end].time,t.startDate=new Date(this.startTime),t.endDate=new Date(this.endTime)),this.prevStartIndex=this.start,this.prevEndIndex=this.end,this.fire(t)))},updateLegendValues:function(){this.legend&&this.legend.updateValues()},getClosestIndex:function(n,t,i,r,u,f){0>u&&(u=0);f>n.length-1&&(f=n.length-1);var e=u+Math.round((f-u)/2),o=n[e][t];return i==o?e:1>=f-u?r?u:Math.abs(n[u][t]-i)<Math.abs(n[f][t]-i)?u:f:i==o?e:i<o?this.getClosestIndex(n,t,i,r,u,e):this.getClosestIndex(n,t,i,r,e,f)},zoomToIndexes:function(n,t){var r=this.chartData,i;r&&(i=r.length,0<i&&(0>n&&(n=0),t>i-1&&(t=i-1),i=this.categoryAxis,i.parseDates&&!i.equalSpacing?this.zoom(r[n].time,this.getEndTime(r[t].time)):this.zoom(n,t)))},zoomToDates:function(t,i){var r=this.chartData,u;r&&(this.categoryAxis.equalSpacing?(u=this.getClosestIndex(r,"time",t.getTime(),!0,0,r.length),i=n.resetDateToMin(i,this.categoryAxis.minPeriod,1),r=this.getClosestIndex(r,"time",i.getTime(),!1,0,r.length),this.zoom(u,r)):this.zoom(t.getTime(),i.getTime()))},zoomToCategoryValues:function(n,t){this.chartData&&this.zoom(this.getCategoryIndexByValue(n),this.getCategoryIndexByValue(t))},formatPeriodString:function(t,i){var h,r,u,f;if(i){i.periodDataItem={};i.periodPercentDataItem={};var tt=["value","open","low","high","close"],it="value open low high close average sum count".split(" "),ft=i.valueAxis,et=this.chartData,w=i.numberFormatter;for(w||(w=this.nf),h=0;h<tt.length;h++){for(var s=tt[h],e=0,b=0,o=0,k=0,d,rt,c,l,a,g,ut,v,y,p,nt=this.start;nt<=this.end;nt++)f=et[nt],f&&(r=f.axes[ft.id].graphs[i.id],r&&(r.values&&(u=r.values[s],f=f.x.categoryAxis,this.rotate?(0>f||f>r.graph.height)&&(u=NaN):(0>f||f>r.graph.width)&&(u=NaN),isNaN(u)||(isNaN(d)&&(d=u),rt=u,(isNaN(c)||c>u)&&(c=u),(isNaN(l)||l<u)&&(l=u),a=n.getDecimals(e),f=n.getDecimals(u),e+=u,e=n.roundTo(e,Math.max(a,f)),b++,a=e/b)),r.percents&&(r=r.percents[s],!isNaN(r))&&(isNaN(g)&&(g=r),ut=r,(isNaN(v)||v>r)&&(v=r),(isNaN(y)||y<r)&&(y=r),p=n.getDecimals(o),u=n.getDecimals(r),o+=r,o=n.roundTo(o,Math.max(p,u)),k++,p=o/k)));e={open:d,close:rt,high:l,low:c,average:a,sum:e,count:b};o={open:g,close:ut,high:y,low:v,average:p,sum:o,count:k};t=n.formatValue(t,e,it,w,s+"\\.",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers);t=n.formatValue(t,o,it,this.pf,"percents\\."+s+"\\.");i.periodDataItem[s]=e;i.periodPercentDataItem[s]=o}}return n.cleanFromEmpty(t)},formatString:function(t,i,r){var o,e,u,f;if(i)return o=i.graph,void 0!==t&&(-1!=t.indexOf("[[category]]")&&(e=i.serialDataItem.category,this.categoryAxis.parseDates&&(u=this.balloonDateFormat,f=this.chartCursor,f&&f.categoryBalloonDateFormat&&(u=f.categoryBalloonDateFormat),u=n.formatDate(e,u,this),-1!=u.indexOf("fff")&&(u=n.formatMilliseconds(u,e)),e=u),t=t.replace(/\[\[category\]\]/g,String(e.replace("$","$$$")))),e=o.numberFormatter,e||(e=this.nf),u=i.graph.valueAxis,(f=u.duration)&&!isNaN(i.values.value)&&(f=n.formatDuration(i.values.value,f,"",u.durationUnits,u.maxInterval,e),t=t.replace(RegExp("\\[\\[value\\]\\]","g"),f)),"date"==u.type&&(u=n.formatDate(new Date(i.values.value),o.dateFormat,this),f=RegExp("\\[\\[value\\]\\]","g"),t=t.replace(f,u),u=n.formatDate(new Date(i.values.open),o.dateFormat,this),f=RegExp("\\[\\[open\\]\\]","g"),t=t.replace(f,u)),o="value open low high close total".split(" "),u=this.pf,t=n.formatValue(t,i.percents,o,u,"percents\\."),t=n.formatValue(t,i.values,o,e,"",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers),t=n.formatValue(t,i.values,["percents"],u),-1!=t.indexOf("[[")&&(t=n.formatDataContextValue(t,i.dataContext)),-1!=t.indexOf("[[")&&i.graph.customData&&(t=n.formatDataContextValue(t,i.graph.customData)),t=n.AmSerialChart.base.formatString.call(this,t,i,r)),t},updateChartCursor:function(){var i,r;if(n.AmSerialChart.base.updateChartCursor.call(this),i=this.chartCursor,r=this.categoryAxis,i){var o=i.categoryBalloonAlpha,u=i.categoryBalloonColor,s=i.color;void 0===u&&(u=i.cursorColor);var f=i.valueZoomable,t=i.zoomable,e=i.valueLineEnabled;if(this.rotate?(i.vLineEnabled=e,i.hZoomEnabled=f,i.vZoomEnabled=t):(i.hLineEnabled=e,i.vZoomEnabled=f,i.hZoomEnabled=t),i.valueLineBalloonEnabled)for(e=0;e<this.valueAxes.length;e++)f=this.valueAxes[e],(t=f.balloon)||(t={}),t=n.extend(t,this.balloon,!0),t.fillColor=u,t.balloonColor=u,t.fillAlpha=o,t.borderColor=u,t.color=s,f.balloon=t;else for(t=0;t<this.valueAxes.length;t++)f=this.valueAxes[t],f.balloon&&(f.balloon=null);r&&(r.balloonTextFunction=i.categoryBalloonFunction,i.categoryLineAxis=r,r.balloonText=i.categoryBalloonText,i.categoryBalloonEnabled&&((t=r.balloon)||(t={}),t=n.extend(t,this.balloon,!0),t.fillColor=u,t.balloonColor=u,t.fillAlpha=o,t.borderColor=u,t.color=s,r.balloon=t),r.balloon&&(r.balloon.enabled=i.categoryBalloonEnabled))}},addChartScrollbar:function(t){n.callMethod("destroy",[this.chartScrollbar]);t&&(t.chart=this,this.listenTo(t,"zoomed",this.handleScrollbarZoom));this.rotate?void 0===t.width&&(t.width=t.scrollbarHeight):void 0===t.height&&(t.height=t.scrollbarHeight);t.gridAxis=this.categoryAxis;this.chartScrollbar=t},addValueScrollbar:function(t){n.callMethod("destroy",[this.valueScrollbar]);t&&(t.chart=this,this.listenTo(t,"zoomed",this.handleScrollbarValueZoom),this.listenTo(t,"zoomStarted",this.handleCursorZoomStarted));var i=t.scrollbarHeight;this.rotate?void 0===t.height&&(t.height=i):void 0===t.width&&(t.width=i);t.gridAxis||(t.gridAxis=this.valueAxes[0]);t.valueAxes=this.valueAxes;this.valueScrollbar=t},removeChartScrollbar:function(){n.callMethod("destroy",[this.chartScrollbar]);this.chartScrollbar=null},removeValueScrollbar:function(){n.callMethod("destroy",[this.valueScrollbar]);this.valueScrollbar=null},handleReleaseOutside:function(t){n.AmSerialChart.base.handleReleaseOutside.call(this,t);n.callMethod("handleReleaseOutside",[this.chartScrollbar,this.valueScrollbar])},update:function(){n.AmSerialChart.base.update.call(this);this.chartScrollbar&&this.chartScrollbar.update&&this.chartScrollbar.update();this.valueScrollbar&&this.valueScrollbar.update&&this.valueScrollbar.update()},processScrollbars:function(){n.AmSerialChart.base.processScrollbars.call(this);var t=this.valueScrollbar;t&&(t=n.processObject(t,n.ChartScrollbar,this.theme),t.id="valueScrollbar",this.addValueScrollbar(t))},handleValueAxisZoom:function(n){this.handleValueAxisZoomReal(n,this.valueAxes)},zoomOut:function(){n.AmSerialChart.base.zoomOut.call(this);this.zoom();this.syncGrid()},getNextItem:function(n){var t=n.index,i=this.chartData,r=n.graph;if(t+1<i.length)for(t+=1;t<i.length;t++)if((n=i[t])&&(n=n.axes[r.valueAxis.id].graphs[r.id],!isNaN(n.y)))return n},handleCursorZoomReal:function(n,t,i,r,u){var o=u.target,f,e;this.rotate?(isNaN(n)||isNaN(t)||this.relativeZoomValueAxes(this.valueAxes,n,t)&&this.updateAfterValueZoom(),o.vZoomEnabled&&(f=u.start,e=u.end)):(isNaN(i)||isNaN(r)||this.relativeZoomValueAxes(this.valueAxes,i,r)&&this.updateAfterValueZoom(),o.hZoomEnabled&&(f=u.start,e=u.end));isNaN(f)||isNaN(e)||(n=this.categoryAxis,n.parseDates&&!n.equalSpacing?this.zoomToDates(new Date(f),new Date(e)):this.zoomToIndexes(f,e))},handleCursorZoomStarted:function(){var n=this.valueAxes;if(n){var n=n[0],t=n.relativeStart,i=n.relativeEnd;n.reversed&&(t=1-n.relativeEnd,i=1-n.relativeStart);this.rotate?(this.startX0=t,this.endX0=i):(this.startY0=t,this.endY0=i)}this.categoryAxis&&(this.start0=this.start,this.end0=this.end,this.startTime0=this.startTime,this.endTime0=this.endTime)},fixCursor:function(){this.chartCursor&&this.chartCursor.fixPosition();this.prevCursorItem=null},handleCursorMove:function(t){var u,c,o,e,f,r,i,s,h,l,a;if(n.AmSerialChart.base.handleCursorMove.call(this,t),u=t.target,c=this.categoryAxis,t.panning)this.handleCursorHide(t);else if(this.chartData&&!u.isHidden){if(o=this.graphs,o&&(e=c.xToIndex(this.rotate?t.y:t.x),e=this.chartData[e])){if(u.oneBalloonOnly&&u.valueBalloonsEnabled){for(h=Infinity,f=0;f<o.length;f++)if(r=o[f],r.balloon.enabled&&r.showBalloon&&!r.hidden){if(i=r.valueAxis.id,i=e.axes[i].graphs[r.id],u.showNextAvailable&&isNaN(i.y)&&(i=this.getNextItem(i),!i))continue;i=i.y;"top"==r.showBalloonAt&&(i=0);"bottom"==r.showBalloonAt&&(i=this.height);l=u.mouseX;a=u.mouseY;i=this.rotate?Math.abs(l-i):Math.abs(a-i);i<h&&(h=i,s=r)}u.mostCloseGraph=s}if(this.prevCursorItem!=e||s!=this.prevMostCloseGraph){for(h=[],f=0;f<o.length;f++)r=o[f],i=r.valueAxis.id,i=e.axes[i].graphs[r.id],u.showNextAvailable&&isNaN(i.y)&&(i=this.getNextItem(i)),s&&r!=s?(r.showGraphBalloon(i,u.pointer,!1,u.graphBulletSize,u.graphBulletAlpha),r.balloon.hide(0)):u.valueBalloonsEnabled?(r.balloon.showBullet=u.bulletsEnabled,r.balloon.bulletSize=u.bulletSize/2,t.hideBalloons||(r.showGraphBalloon(i,u.pointer,!1,u.graphBulletSize,u.graphBulletAlpha),r.balloon.set&&h.push({balloon:r.balloon,y:r.balloon.pointToY}))):(r.currentDataItem=i,r.resizeBullet(i,u.graphBulletSize,u.graphBulletAlpha));u.avoidBalloonOverlapping&&this.arrangeBalloons(h);this.prevCursorItem=e}this.prevMostCloseGraph=s}c.showBalloon(t.x,t.y,u.categoryBalloonDateFormat,t.skip);this.updateLegendValues()}},handleCursorHide:function(t){n.AmSerialChart.base.handleCursorHide.call(this,t);t=this.categoryAxis;this.prevCursorItem=null;this.updateLegendValues();t&&t.hideBalloon();t=this.graphs;for(var i=0;i<t.length;i++)t[i].currentDataItem=null},handleCursorPanning:function(t){var c=t.target,i,s=t.deltaX,h=t.deltaY,r=t.delta2X,f=t.delta2Y,e,a,l;if(t=!1,this.rotate){isNaN(r)&&(r=s,t=!0);e=this.endX0;i=this.startX0;var u=e-i,e=e-u*r,o=u;t||(o=0);t=n.fitToBounds(i-u*s,0,1-o)}else isNaN(f)&&(f=h,t=!0),e=this.endY0,i=this.startY0,u=e-i,e+=u*h,o=u,t||(o=0),t=n.fitToBounds(i+u*f,0,1-o);i=n.fitToBounds(e,o,1);c.valueZoomable&&(a=this.relativeZoomValueAxes(this.valueAxes,t,i));i=this.categoryAxis;this.rotate&&(s=h,r=f);t=!1;isNaN(r)&&(r=s,t=!0);c.zoomable&&(0<Math.abs(s)||0<Math.abs(r))&&(i.parseDates&&!i.equalSpacing?(f=this.startTime0,h=this.endTime0,i=h-f,r*=i,u=this.firstTime,e=this.lastTime,o=i,t||(o=0),t=Math.round(n.fitToBounds(f-i*s,u,e-o)),r=Math.round(n.fitToBounds(h-r,u+o,e)),this.startTime!=t||this.endTime!=r)&&(l={chart:this,target:c,type:"zoomed",start:t,end:r},this.skipZoomed=!0,c.fire(l),this.zoom(t,r),l=!0):(f=this.start0,h=this.end0,i=h-f,s=Math.round(i*s),r=Math.round(i*r),u=this.chartData.length-1,t||(i=0),t=n.fitToBounds(f-s,0,u-i),i=n.fitToBounds(h-r,i,u),this.start!=t||this.end!=i)&&(this.skipZoomed=!0,c.fire({chart:this,target:c,type:"zoomed",start:t,end:i}),this.zoom(t,i),l=!0));!l&&a&&this.updateAfterValueZoom()},arrangeBalloons:function(n){var r=this.plotAreaHeight,i,t,u,f,e,o;for(n.sort(this.compareY),f=this.plotAreaWidth,e=n.length,i=0;i<e;i++)t=n[i].balloon,t.setBounds(0,0,f,r),t.restorePrevious(),t.draw(),r=t.yPos-3;for(n.reverse(),i=0;i<e;i++)t=n[i].balloon,r=t.bottom,o=t.bottom-t.yPos,0<i&&r-o<u+3&&(t.setBounds(0,u+3,f,u+o+3),t.restorePrevious(),t.draw()),t.set&&t.set.show(),u=t.bottom},compareY:function(n,t){return n.y<t.y?1:-1}})}(),function(){var n=window.AmCharts;n.Cuboid=n.Class({construct:function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w){this.set=n.set();this.container=n;this.h=Math.round(i);this.w=Math.round(t);this.dx=r;this.dy=u;this.colors=f;this.alpha=e;this.bwidth=o;this.bcolor=s;this.balpha=h;this.dashLength=v;this.topRadius=p;this.pattern=y;this.rotate=a;this.bcn=w;a?0>t&&0===c&&(c=180):0>i&&270==c&&(c=90);this.gradientRotation=c;0===r&&0===u&&(this.cornerRadius=l);this.draw()},draw:function(){var pt=this.set,l,nt,st,ft,et,ht,y,ct,lt,bt,c,w,b,tt,ut,at,vt,yt;pt.clear();var r=this.container,d=r.chart,t=this.w,i=this.h,f=this.dx,e=this.dy,v=this.colors,u=this.alpha,o=this.bwidth,s=this.bcolor,h=this.balpha,it=this.gradientRotation,wt=this.cornerRadius,g=this.dashLength,ot=this.pattern,k=this.topRadius,rt=this.bcn,p=v,a=v;for("object"==typeof v&&(p=v[0],a=v[v.length-1]),bt=u,ot&&(u=0),ut=this.rotate,(0<Math.abs(f)||0<Math.abs(e))&&(isNaN(k)?(y=a,a=n.adjustLuminosity(p,-.2),a=n.adjustLuminosity(p,-.2),l=n.polygon(r,[0,f,t+f,t,0],[0,e,e,0,0],a,u,1,s,0,it),0<h&&(lt=n.line(r,[0,f,t+f],[0,e,e],s,h,o,g)),nt=n.polygon(r,[0,0,t,t,0],[0,i,i,0,0],a,u,1,s,0,it),nt.translate(f,e),0<h&&(st=n.line(r,[f,f],[e,e+i],s,h,o,g)),ft=n.polygon(r,[0,0,f,f,0],[0,i,i+e,e,0],a,u,1,s,0,it),et=n.polygon(r,[t,t,t+f,t+f,t],[0,i,i+e,e,0],a,u,1,s,0,it),0<h&&(ht=n.line(r,[t,t+f,t+f,t],[0,e,i+e,i],s,h,o,g)),a=n.adjustLuminosity(y,.2),y=n.polygon(r,[0,f,t+f,t,0],[i,i+e,i+e,i,i],a,u,1,s,0,it),0<h&&(ct=n.line(r,[0,f,t+f],[i,i+e,i+e],s,h,o,g))):(ut?(at=i/2,a=f/2,yt=i/2,vt=t+f/2,w=Math.abs(i/2),c=Math.abs(f/2)):(a=t/2,at=e/2,vt=t/2,yt=i+e/2+1,c=Math.abs(t/2),w=Math.abs(e/2)),b=c*k,tt=w*k,.1<c&&.1<c&&(l=n.circle(r,c,p,u,o,s,h,!1,w),l.translate(a,at)),.1<b&&.1<b&&(y=n.circle(r,b,n.adjustLuminosity(p,.5),u,o,s,h,!1,tt),y.translate(vt,yt)))),u=bt,1>Math.abs(i)&&(i=0),1>Math.abs(t)&&(t=0),!isNaN(k)&&(0<Math.abs(f)||0<Math.abs(e))?(v=[p],v={fill:v,stroke:s,"stroke-width":o,"stroke-opacity":h,"fill-opacity":u},ut?(u="M0,0 L"+t+","+(i/2-i/2*k),o=" B",0<t&&(o=" A"),n.VML?(u+=o+Math.round(t-b)+","+Math.round(i/2-tt)+","+Math.round(t+b)+","+Math.round(i/2+tt)+","+t+",0,"+t+","+i,u=u+(" L0,"+i)+(o+Math.round(-c)+","+Math.round(i/2-w)+","+Math.round(c)+","+Math.round(i/2+w)+",0,"+i+",0,0")):(u+="A"+b+","+tt+",0,0,0,"+t+","+(i-i/2*(1-k))+"L0,"+i,u+="A"+c+","+w+",0,0,1,0,0"),c=90):(o=t/2-t/2*k,u="M0,0 L"+o+","+i,n.VML?(u="M0,0 L"+o+","+i,o=" B",0>i&&(o=" A"),u+=o+Math.round(t/2-b)+","+Math.round(i-tt)+","+Math.round(t/2+b)+","+Math.round(i+tt)+",0,"+i+","+t+","+i,u+=" L"+t+",0",u+=o+Math.round(t/2+c)+","+Math.round(w)+","+Math.round(t/2-c)+","+Math.round(-w)+","+t+",0,0,0"):(u+="A"+b+","+tt+",0,0,0,"+(t-t/2*(1-k))+","+i+"L"+t+",0",u+="A"+c+","+w+",0,0,1,0,0"),c=180),r=r.path(u).attr(v),r.gradient("linearGradient",[p,n.adjustLuminosity(p,-.3),n.adjustLuminosity(p,-.3),p],c),ut?r.translate(f/2,0):r.translate(0,e/2)):r=0===i?n.line(r,[0,t],[0,0],s,h,o,g):0===t?n.line(r,[0,0],[0,i],s,h,o,g):0<wt?n.rect(r,t,i,v,u,o,s,h,wt,it,g):n.polygon(r,[0,0,t,t,0],[0,i,i,0,0],v,u,o,s,h,it,!1,g),t=isNaN(k)?0>i?[l,lt,nt,st,ft,et,ht,y,ct,r]:[y,ct,nt,st,ft,et,l,lt,ht,r]:ut?0<t?[l,r,y]:[y,r,l]:0>i?[l,r,y]:[y,r,l],n.setCN(d,r,rt+"front"),n.setCN(d,nt,rt+"back"),n.setCN(d,y,rt+"top"),n.setCN(d,l,rt+"bottom"),n.setCN(d,ft,rt+"left"),n.setCN(d,et,rt+"right"),l=0;l<t.length;l++)(nt=t[l])&&(pt.push(nt),n.setCN(d,nt,rt+"element"));ot&&r.pattern(ot,NaN,d.path)},width:function(n){isNaN(n)&&(n=0);this.w=Math.round(n);this.draw()},height:function(n){isNaN(n)&&(n=0);this.h=Math.round(n);this.draw()},animateHeight:function(t,i){var r=this;r.animationFinished=!1;r.easing=i;r.totalFrames=t*n.updateRate;r.rh=r.h;r.frame=0;r.height(1);setTimeout(function(){r.updateHeight.call(r)},1e3/n.updateRate)},updateHeight:function(){var t=this,i;t.frame++;i=t.totalFrames;t.frame<=i?(i=t.easing(0,t.frame,1,t.rh-1,i),t.height(i),window.requestAnimationFrame?window.requestAnimationFrame(function(){t.updateHeight.call(t)}):setTimeout(function(){t.updateHeight.call(t)},1e3/n.updateRate)):(t.height(t.rh),t.animationFinished=!0)},animateWidth:function(t,i){var r=this;r.animationFinished=!1;r.easing=i;r.totalFrames=t*n.updateRate;r.rw=r.w;r.frame=0;r.width(1);setTimeout(function(){r.updateWidth.call(r)},1e3/n.updateRate)},updateWidth:function(){var t=this,i;t.frame++;i=t.totalFrames;t.frame<=i?(i=t.easing(0,t.frame,1,t.rw-1,i),t.width(i),window.requestAnimationFrame?window.requestAnimationFrame(function(){t.updateWidth.call(t)}):setTimeout(function(){t.updateWidth.call(t)},1e3/n.updateRate)):(t.width(t.rw),t.animationFinished=!0)}})}(),function(){var n=window.AmCharts;n.CategoryAxis=n.Class({inherits:n.AxisBase,construct:function(t){this.cname="CategoryAxis";n.CategoryAxis.base.construct.call(this,t);this.minPeriod="DD";this.equalSpacing=this.parseDates=!1;this.position="bottom";this.startOnAxis=!1;this.gridPosition="middle";this.safeDistance=30;this.stickBalloonToCategory=!1;n.applyTheme(this,t,this.cname)},draw:function(){var l,t,a,k,nt,tt,p,ut,ft;if(n.CategoryAxis.base.draw.call(this),this.generateDFObject(),l=this.chart.chartData,this.data=l,this.labelRotationR=this.labelRotation,this.type=null,n.ifArray(l)){a=this.chart;"scrollbar"!=this.id?(n.setCN(a,this.set,"category-axis"),n.setCN(a,this.labelsSet,"category-axis"),n.setCN(a,this.axisLine.axisSet,"category-axis")):this.bcn=this.id+"-";var e=this.start,w=this.labelFrequency,g=0,r=this.end-e+1,v=this.gridCountR,i=this.showFirstLabel,y=this.showLastLabel,c,o="",o=n.extractPeriod(this.minPeriod),p=n.getPeriodDuration(o.period,o.count),h,b,it,s,f,rt=this.rotate,u=this.firstDayOfWeek,d=this.boldPeriodBeginning;if(t=n.resetDateToMin(new Date(l[l.length-1].time+1.05*p),this.minPeriod,1,u).getTime(),this.firstTime=a.firstTime,this.endTime>t&&(this.endTime=t),f=this.minorGridEnabled,b=this.gridAlpha,k=0,nt=0,this.widthField)for(t=this.start;t<=this.end;t++)(s=this.data[t])&&(tt=Number(this.data[t].dataContext[this.widthField]),isNaN(tt)||(k+=tt,s.widthValue=tt));if(this.parseDates&&!this.equalSpacing)this.lastTime=l[l.length-1].time,this.maxTime=n.resetDateToMin(new Date(this.lastTime+1.05*p),this.minPeriod,1,u).getTime(),this.timeDifference=this.endTime-this.startTime,this.parseDatesDraw();else if(this.parseDates){if(this.parseDates&&this.equalSpacing){if(g=this.start,this.startTime=this.data[this.start].time,this.endTime=this.data[this.end].time,this.timeDifference=this.endTime-this.startTime,t=this.choosePeriod(0),w=t.period,h=t.count,t=n.getPeriodDuration(w,h),t<p&&(w=o.period,h=o.count,t=p),b=w,"WW"==b&&(b="DD"),this.currentDateFormat=this.dateFormatsObject[b],this.stepWidth=this.getStepWidth(r),v=Math.ceil(this.timeDifference/t)+1,o=n.resetDateToMin(new Date(this.startTime-t),w,h,u).getTime(),this.cellWidth=this.getStepWidth(r),r=Math.round(o/t),e=-1,r/2==Math.round(r/2)&&(e=-2,o-=t),r=this.start,r/2==Math.round(r/2)&&r--,0>r&&(r=0),nt=this.end+2,nt>=this.data.length&&(nt=this.data.length),l=!1,l=!i,this.previousPos=-1e3,20<this.labelRotationR&&(this.safeDistance=5),tt=r,this.data[r].time!=n.resetDateToMin(new Date(this.data[r].time),w,h,u).getTime())for(p=0,ut=o,t=r;t<nt;t++)s=this.data[t].time,this.checkPeriodChange(w,h,s,ut)&&(p++,2<=p&&(tt=t,t=nt),ut=s);if(f&&1<h&&(s=this.chooseMinorFrequency(h),n.getPeriodDuration(w,s)),0<this.gridCountR)for(t=r;t<nt;t++)(s=this.data[t].time,this.checkPeriodChange(w,h,s,o)&&t>=tt)&&(r=this.getCoordinate(t-this.start),f=!1,this.nextPeriod[b]&&(f=this.checkPeriodChange(this.nextPeriod[b],1,s,o,b))&&n.resetDateToMin(new Date(s),this.nextPeriod[b],1,u).getTime()!=s&&(f=!1),p=!1,f&&this.markPeriodChange?(f=this.dateFormatsObject[this.nextPeriod[b]],p=!0):f=this.dateFormatsObject[b],o=n.formatDate(new Date(s),f,a),(t!=e||i)&&(t!=v||y)||(o=" "),l?l=!1:(d||(p=!1),r-this.previousPos>this.safeDistance*Math.cos(this.labelRotationR*Math.PI/180)&&(this.labelFunction&&(o=this.labelFunction(o,new Date(s),this,w,h,it)),this.boldLabels&&(p=!0),c=new this.axisItemRenderer(this,r,o,void 0,void 0,void 0,void 0,p),f=c.graphics(),this.pushAxisItem(c),f=f.getBBox().width,n.isModern||(f-=r),this.previousPos=r+f)),it=o=s)}}else if(this.cellWidth=this.getStepWidth(r),r<v&&(v=r),g+=this.start,this.stepWidth=this.getStepWidth(r),0<v)for(u=Math.floor(r/v),s=this.chooseMinorFrequency(u),r=g,r/2==Math.round(r/2)&&r--,0>r&&(r=0),d=0,this.widthField&&(r=this.start),this.end-r+1>=this.autoRotateCount&&(this.labelRotationR=this.autoRotateAngle),t=r;t<=this.end+2;t++){if(v=!1,0<=t&&t<this.data.length?(h=this.data[t],o=h.category,v=h.forceShow):o="",f&&!isNaN(s))if(t/s==Math.round(t/s)||v)t/u==Math.round(t/u)||v||(this.gridAlpha=this.minorGridAlpha,o=void 0);else continue;else if(t/u!=Math.round(t/u)&&!v)continue;r=this.getCoordinate(t-g);v=0;"start"==this.gridPosition&&(r-=this.cellWidth/2,v=this.cellWidth/2);c=!0;it=v;"start"==this.tickPosition&&(it=0,c=!1,v=0);(t!=e||i)&&(t!=this.end||y)||(o=void 0);Math.round(d/w)!=d/w&&(o=void 0);d++;l=this.cellWidth;rt&&(l=NaN,this.ignoreAxisWidth||!a.autoMargins)&&(l="right"==this.position?a.marginRight:a.marginLeft,l-=this.tickLength+10);this.labelFunction&&h&&(o=this.labelFunction(o,h,this));o=n.fixBrakes(o);p=!1;this.boldLabels&&(p=!0);t>this.end&&"start"==this.tickPosition&&(o=" ");this.rotate&&this.inside&&(v-=2);isNaN(h.widthValue)||(h.percentWidthValue=h.widthValue/k*100,l=this.rotate?this.height*h.widthValue/k:this.width*h.widthValue/k,r=nt,nt+=l,v=l/2);c=new this.axisItemRenderer(this,r,o,c,l,v,void 0,p,it,!1,h.labelColor,h.className);c.serialDataItem=h;this.pushAxisItem(c);this.gridAlpha=b}for(t=i=0;t<this.data.length;t++)(s=this.data[t])&&(this.parseDates&&!this.equalSpacing?(y=s.time,e=this.cellWidth,"MM"==this.minPeriod&&(e=864e5*n.daysInMonth(new Date(y))*this.stepWidth,s.cellWidth=e),y=Math.round((y-this.startTime)*this.stepWidth+e/2)):y=this.getCoordinate(t-g),s.x[this.id]=y);if(this.widthField)for(t=this.start;t<=this.end;t++)s=this.data[t],e=s.widthValue,s.percentWidthValue=e/k*100,this.rotate?(y=this.height*e/k/2+i,i=this.height*e/k+i):(y=this.width*e/k/2+i,i=this.width*e/k+i),s.x[this.id]=y;for(k=this.guides.length,t=0;t<k;t++)(i=this.guides[t],u=u=u=f=e=NaN,y=i.above,i.toCategory&&(u=a.getCategoryIndexByValue(i.toCategory),isNaN(u)||(e=this.getCoordinate(u-g),i.expand&&(e+=this.cellWidth/2),c=new this.axisItemRenderer(this,e,"",!0,NaN,NaN,i),this.pushAxisItem(c,y))),i.category&&(u=a.getCategoryIndexByValue(i.category),isNaN(u)||(f=this.getCoordinate(u-g),i.expand&&(f-=this.cellWidth/2),u=(e-f)/2,c=new this.axisItemRenderer(this,f,i.label,!0,NaN,u,i),this.pushAxisItem(c,y))),d=a.dataDateFormat,i.toDate&&(!d||i.toDate instanceof Date||(i.toDate=i.toDate.toString()+" |"),i.toDate=n.getDate(i.toDate,d),this.equalSpacing?(u=a.getClosestIndex(this.data,"time",i.toDate.getTime(),!1,0,this.data.length-1),isNaN(u)||(e=this.getCoordinate(u-g))):e=(i.toDate.getTime()-this.startTime)*this.stepWidth,c=new this.axisItemRenderer(this,e,"",!0,NaN,NaN,i),this.pushAxisItem(c,y)),i.date&&(!d||i.date instanceof Date||(i.date=i.date.toString()+" |"),i.date=n.getDate(i.date,d),this.equalSpacing?(u=a.getClosestIndex(this.data,"time",i.date.getTime(),!1,0,this.data.length-1),isNaN(u)||(f=this.getCoordinate(u-g))):f=(i.date.getTime()-this.startTime)*this.stepWidth,u=(e-f)/2,c=!0,i.toDate&&(c=!1),c="H"==this.orientation?new this.axisItemRenderer(this,f,i.label,c,2*u,NaN,i):new this.axisItemRenderer(this,f,i.label,!1,NaN,u,i),this.pushAxisItem(c,y)),i.balloonText&&c&&(u=c.label)&&this.addEventListeners(u,i),0<e||0<f)&&(u=!1,this.rotate?(e<this.height||f<this.height)&&(u=!0):(e<this.width||f<this.width)&&(u=!0),u&&(e=new this.guideFillRenderer(this,f,e,i),f=e.graphics(),this.pushAxisItem(e,y),i.graphics=f,f.index=t,i.balloonText&&this.addEventListeners(f,i)));(a=a.chartCursor)&&(rt?a.fixHeight(this.cellWidth):(a.fixWidth(this.cellWidth),a.fullWidth&&this.balloon&&(this.balloon.minWidth=this.cellWidth)));this.previousHeight=ft}this.axisCreated=!0;this.set.translate(this.x,this.y);this.labelsSet.translate(this.x,this.y);this.labelsSet.show();this.positionTitle();(rt=this.axisLine.set)&&rt.toFront();ft=this.getBBox().height;2<ft-this.previousHeight&&this.autoWrap&&!this.parseDates&&(this.axisCreated=this.chart.marginsUpdated=!1)},xToIndex:function(t){var f=this.data,e=this.chart,s=e.rotate,r=this.stepWidth,i,u,o;if(this.parseDates&&!this.equalSpacing)t=this.startTime+Math.round(t/r)-this.minDuration()/2,i=e.getClosestIndex(f,"time",t,!1,this.start,this.end+1);else if(this.widthField)for(e=Infinity,r=this.start;r<=this.end;r++)u=this.data[r],u&&(u=Math.abs(u.x[this.id]-t),u<e&&(e=u,i=r));else this.startOnAxis||(t-=r/2),i=this.start+Math.round(t/r);return i=n.fitToBounds(i,0,f.length-1),f[i]&&(o=f[i].x[this.id]),s?o>this.height+1&&i--:o>this.width+1&&i--,0>o&&i++,n.fitToBounds(i,0,f.length-1)},dateToCoordinate:function(n){return this.parseDates&&!this.equalSpacing?(n.getTime()-this.startTime)*this.stepWidth:this.parseDates&&this.equalSpacing?(n=this.chart.getClosestIndex(this.data,"time",n.getTime(),!1,0,this.data.length-1),this.getCoordinate(n-this.start)):NaN},categoryToCoordinate:function(n){if(this.chart){if(this.parseDates)return this.dateToCoordinate(new Date(n));if(n=this.chart.getCategoryIndexByValue(n),!isNaN(n))return this.getCoordinate(n-this.start)}else return NaN},coordinateToDate:function(n){return this.equalSpacing?(n=this.xToIndex(n),new Date(this.data[n].time)):new Date(this.startTime+n/this.stepWidth)},coordinateToValue:function(n){return n=this.xToIndex(n),(n=this.data[n])?this.parseDates?n.time:n.category:void 0},getCoordinate:function(n){return n*=this.stepWidth,this.startOnAxis||(n+=this.stepWidth/2),Math.round(n)},formatValue:function(t,i){return i||(i=this.currentDateFormat),this.parseDates&&(t=n.formatDate(new Date(t),i,this.chart)),t},showBalloonAt:function(n,t){return void 0===t&&(t=this.parseDates?this.dateToCoordinate(new Date(n)):this.categoryToCoordinate(n)),this.adjustBalloonCoordinate(t)},formatBalloonText:function(t,i,r){var u="",f="",s=this.chart,e=this.data[i],o;return e&&(this.parseDates?(u=n.formatDate(e.category,r,s),i=n.changeDate(new Date(e.category),this.minPeriod,1),f=n.formatDate(i,r,s),-1!=u.indexOf("fff")&&(u=n.formatMilliseconds(u,e.category),f=n.formatMilliseconds(f,i))):(this.data[i+1]&&(o=this.data[i+1]),u=n.fixNewLines(e.category),o&&(f=n.fixNewLines(o.category)))),t=t.replace(/\[\[category\]\]/g,String(u)),t.replace(/\[\[toCategory\]\]/g,String(f))},adjustBalloonCoordinate:function(n,t){var e=this.xToIndex(n),r=this.chart.chartCursor,f,i,u,o;return this.stickBalloonToCategory&&(f=this.data[e],f&&(n=f.x[this.id]),this.stickBalloonToStart&&(n-=this.cellWidth/2),i=0,r&&(u=r.limitToGraph,u&&(o=u.valueAxis.id,u.hidden||(i=f.axes[o].graphs[u.id].y)),this.rotate?("left"==this.position?(u&&(i-=r.width),0<i&&(i=0)):0>i&&(i=0),r.fixHLine(n,i)):("top"==this.position?(u&&(i-=r.height),0<i&&(i=0)):0>i&&(i=0),r.fixVLine(n,i)))),r&&!t&&(r.setIndex(e),this.parseDates&&r.setTimestamp(this.coordinateToDate(n).getTime())),n}})}();-!function(n){"use strict";var t=function(t,i){this.el=n(t);this.options=n.extend({},n.fn.typed.defaults,i);this.isInput=this.el.is("input");this.attr=this.options.attr;this.showCursor=this.isInput?!1:this.options.showCursor;this.elContent=this.attr?this.el.attr(this.attr):this.el.text();this.contentType=this.options.contentType;this.typeSpeed=this.options.typeSpeed;this.startDelay=this.options.startDelay;this.backSpeed=this.options.backSpeed;this.backDelay=this.options.backDelay;this.strings=this.options.strings;this.strPos=0;this.arrayPos=0;this.stopNum=0;this.loop=this.options.loop;this.loopCount=this.options.loopCount;this.curLoop=0;this.stop=!1;this.cursorChar=this.options.cursorChar;this.shuffle=this.options.shuffle;this.sequence=[];this.build()};t.prototype={constructor:t,init:function(){var n=this;n.timeout=setTimeout(function(){for(var t=0;t<n.strings.length;++t)n.sequence[t]=t;n.shuffle&&(n.sequence=n.shuffleArray(n.sequence));n.typewrite(n.strings[n.sequence[n.arrayPos]],n.strPos)},n.startDelay)},build:function(){this.showCursor===!0&&(this.cursor=n('<span class="typed-cursor">'+this.cursorChar+"<\/span>"),this.el.after(this.cursor));this.init()},typewrite:function(n,t){if(this.stop!==!0){var r=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var s=0,r=n.substr(t),e,u,o,f;if("^"===r.charAt(0)&&(e=1,/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],e+=r.length,s=parseInt(r)),n=n.substring(0,t)+n.substring(t+e)),"html"===i.contentType&&(u=n.substr(t).charAt(0),"<"===u||"&"===u)){for(o="",f="",f="<"===u?">":";";n.substr(t).charAt(0)!==f;)o+=n.substr(t).charAt(0),t++;t++;o+=f}i.timeout=setTimeout(function(){if(t===n.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(n,t)},i.backDelay)}else{0===t&&i.options.preStringTyped(i.arrayPos);var r=n.substr(0,t+1);i.attr?i.el.attr(i.attr,r):i.isInput?i.el.val(r):"html"===i.contentType?i.el.html(r):i.el.text(r);t++;i.typewrite(n,t)}},s)},r)}},backspace:function(n,t){if(this.stop!==!0){var r=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){var u,r;if("html"===i.contentType&&">"===n.substr(t).charAt(0)){for(u="";"<"!==n.substr(t).charAt(0);)u-=n.substr(t).charAt(0),t--;t--;u+="<"}r=n.substr(0,t);i.attr?i.el.attr(i.attr,r):i.isInput?i.el.val(r):"html"===i.contentType?i.el.html(r):i.el.text(r);t>i.stopNum?(t--,i.backspace(n,t)):t<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],t))},r)}},shuffleArray:function(n){var r,i,t=n.length;if(t)for(;--t;)i=Math.floor(Math.random()*(t+1)),r=n[i],n[i]=n[t],n[t]=r;return n},reset:function(){var n=this,t;clearInterval(n.timeout);t=this.el.attr("id");this.el.after('<span id="'+t+'"/>');this.el.remove();"undefined"!=typeof this.cursor&&this.cursor.remove();n.options.resetCallback()}};n.fn.typed=function(i){return this.each(function(){var u=n(this),r=u.data("typed"),f="object"==typeof i&&i;r||u.data("typed",r=new t(this,f));"string"==typeof i&&r[i]()})};n.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery);AmCharts.maps.worldLow={svg:{defs:{"amcharts:ammap":{projection:"mercator",leftLongitude:"-169.6",topLatitude:"83.68",rightLongitude:"190.25",bottomLatitude:"-55.55"}},g:{path:[{id:"AE",title:"United Arab Emirates",d:"M619.874,393.722L620.373,393.573L620.477,394.411L622.671,393.93L624.99,394.009L626.684,394.1L628.604,392.028L630.695,390.054L632.467,388.146L633.001,389.202L633.382,391.639L631.949,391.651L631.72,393.648L632.216,394.073L630.947,394.674L630.939,395.919L630.122,397.175L630.049,398.394L629.484,399.032L621.056,397.508L619.981,394.428z"},{id:"AF",title:"Afghanistan",d:"M646.879,356.901L649.738,358.201L651.853,357.745L652.438,356.188L654.651,355.669L656.231,354.617L656.791,351.832L659.154,351.154L659.594,349.902L660.917,350.843L661.762,350.952L663.323,350.975L665.438,351.716L666.295,352.143L668.324,351.017L669.27,351.694L670.174,350.085L671.85,350.159L672.281,349.641L672.578,348.213L673.785,346.975L675.303,347.785L674.998,348.869L675.846,349.038L675.585,351.994L676.694,353.137L677.672,352.404L678.916,352.057L680.663,350.486L682.594,350.745L685.486,350.751L685.985,351.758L684.353,352.15L682.928,352.795L679.71,353.2L676.699,353.931L675.063,355.439L675.725,356.899L676.046,358.603L674.649,360.033L674.766,361.335L673.995,362.549L671.328,362.444L672.43,364.663L670.646,365.507L669.455,367.511L669.609,369.491L668.514,370.415L667.477,370.109L665.334,370.537L665.027,371.451L662.939,371.446L661.377,373.289L661.278,376.039L657.635,377.374L655.682,377.092L655.114,377.794L653.438,377.386L650.634,377.865L645.936,376.228L648.479,373.298L648.249,371.202L646.125,370.65L645.905,368.565L644.987,365.921L646.187,364.094L644.966,363.599L645.736,361.148z"},{id:"AL",title:"Albania",d:"M532.985,334.657L532.629,335.93L533.027,337.524L534.19,338.425L534.134,339.393L533.223,339.925L533.054,341.115L531.75,342.88L531.274,342.626L531.218,341.826L529.665,340.601L529.421,338.851L529.658,336.323L530.041,335.164L529.568,334.573L529.38,333.377L530.596,331.512L530.774,332.227L531.528,331.891L532.125,332.907L532.796,333.293z"},{id:"AM",title:"Armenia",d:"M597.453,337.502L601.349,336.923L601.93,337.897L602.998,338.537L602.434,339.461L603.927,340.719L603.137,341.881L604.327,342.869L605.586,343.462L605.648,345.958L604.633,346.064L603.488,343.984L603.501,343.427L602.262,343.435L601.432,342.462L600.849,342.561L599.744,341.498L597.659,340.59L597.929,338.803z"},{id:"AO",title:"Angola",d:"M521.03,479.784l0.691,2.088l0.805,1.683l0.645,0.908l1.074,1.47l1.854,-0.228l0.925,-0.396l1.549,0.397l0.42,-0.703l0.704,-1.637l1.739,-0.109l0.151,-0.486l1.431,-0.011l-0.244,1.011l3.402,-0.024l0.051,1.768l0.568,1.086l-0.413,1.698l0.206,1.735l0.935,1.049l-0.15,3.371l0.694,-0.26l1.219,0.07l1.737,-0.425l1.277,0.167l0.296,0.881l-0.319,1.379l0.493,1.335l-0.418,1.068l0.239,0.986l-5.838,-0.036l-0.129,9.158l1.892,2.377l1.83,1.823l-5.153,1.192l-6.788,-0.414l-1.943,-1.4l-11.366,0.126l-0.424,0.205L513,511.367l-1.818,-0.087l-1.678,0.497l-1.35,0.555l-0.264,-1.833l0.388,-2.552l0.967,-2.645l0.146,-1.236l0.91,-2.588l0.668,-1.173l1.611,-1.87l0.899,-1.269l0.294,-2.107l-0.147,-1.609l-0.838,-1.013l-0.747,-1.716l-0.689,-1.694l0.15,-0.586l0.862,-1.117l-0.851,-2.718l-0.574,-1.88l-1.405,-1.774l0.267,-0.544l1.157,-0.376l0.813,0.052l0.983,-0.336L521.03,479.784zM510.124,479.243l-0.713,0.296l-0.75,-2.104l1.132,-1.207l0.847,-0.47l1.051,0.959l-1.021,0.587l-0.458,0.719L510.124,479.243z"},{id:"AR",title:"Argentina",d:"M291.601,648.907l-2.664,0.245l-1.43,-1.726l-1.689,-0.13l-3.002,-0.003l-0.002,-10.568l1.077,2.148l1.402,3.525l3.645,2.865l3.925,1.207L291.601,648.907zM293.101,526.469l1.648,2.178l1.094,-2.426l3.197,0.125l0.453,0.644l5.155,4.945l2.292,0.464l3.426,2.262l2.888,1.202l0.402,1.362l-2.76,4.731l2.827,0.854l3.149,0.479l2.217,-0.505l2.543,-2.398l0.458,-2.743l1.389,-0.593l1.407,1.789l-0.057,2.489l-2.361,1.729l-1.883,1.282l-3.165,3.078l-3.741,4.372l-0.701,2.594l-0.75,3.365l0.028,3.297l-0.608,0.742l-0.217,2.165l-0.192,1.761l3.56,2.914l-0.383,2.368l1.752,1.507l-0.143,1.7l-2.694,4.516l-4.157,1.913l-5.624,0.746l-3.08,-0.361l0.589,2.147l-0.574,2.721l0.518,1.851l-1.682,1.299l-2.874,0.512l-2.696,-1.347l-1.083,0.967l0.391,3.71l1.893,1.135l1.535,-1.189l0.835,1.962l-2.582,1.18l-2.251,2.383l-0.412,3.907l-0.663,2.107l-2.648,0.011l-2.198,2.035l-0.804,3.013l2.757,2.982l2.681,0.831l-0.964,3.726l-3.312,2.375l-1.822,5.025l-2.559,1.719l-1.149,2.059l0.905,4.641l1.866,2.633l-1.182,-0.231l-2.599,-0.715l-6.775,-0.608l-1.162,-2.632l0.054,-3.332l-1.867,0.284l-0.988,-1.596l-0.245,-4.599l2.151,-1.878l0.889,-2.68l-0.326,-2.112l1.486,-3.52l1.024,-5.35l-0.301,-2.331l1.224,-0.748l-0.3,-1.478l-1.301,-0.782l0.924,-1.63l-1.266,-1.462l-0.655,-4.395l1.127,-0.767l-0.474,-4.543l0.659,-3.751l0.75,-3.223l1.679,-1.3l-0.853,-3.462l-0.009,-3.217l2.123,-2.263l-0.065,-2.868l1.6,-3.313l0.007,-3.086l-0.728,-0.609l-1.292,-5.694l1.728,-3.343l-0.265,-3.115l1.002,-2.896l1.836,-2.963l1.979,-1.95l-0.839,-1.225l0.585,-1.001l-0.089,-5.143l3.054,-1.509l0.962,-3.159l-0.34,-0.758l2.336,-2.722L293.101,526.469z"},{id:"AT",title:"Austria",d:"M522.861,309.853L522.648,311.557L521.069,311.565L521.613,312.464L520.682,315.111L520.147,315.8L517.695,315.901L516.28,316.823L513.964,316.509L509.955,315.458L509.329,314.034L506.558,314.746L506.231,315.523L504.533,314.943L503.102,314.832L501.833,314.085L502.262,313.078L502.154,312.344L503,312.116L504.419,313.264L504.818,312.173L507.291,312.35L509.295,311.606L510.64,311.733L511.514,312.582L511.775,311.878L511.378,309.158L512.385,308.624L513.374,306.673L515.457,308.037L517.034,306.302L518.021,305.983L520.198,307.281L521.515,307.061L522.807,307.861L522.582,308.396z"},{id:"AU",title:"Australia",d:"M882.928,588.16l2.709,1.277l1.526,-0.508l2.188,-0.71l1.682,0.248l0.199,4.425l-0.961,1.3l-0.289,3.064l-0.98,-1.047l-1.946,2.675l-0.58,-0.208l-1.725,-0.12l-1.729,-3.276l-0.384,-2.496l-1.617,-3.254l0.071,-1.695L882.928,588.16zM877.779,502.097l1.01,2.254l1.799,-1.084l0.929,1.218l1.346,1.125l-0.288,1.28l0.598,2.484l0.426,1.452l0.706,0.355l0.761,2.495l-0.271,1.52l0.908,1.995l3.038,1.542l1.98,1.407l1.881,1.292l-0.367,0.721l1.604,1.872l1.09,3.249l1.119,-0.662l1.137,1.306l0.686,-0.464l0.483,3.208l1.989,1.871l1.302,1.167l2.191,2.488l0.788,2.487l0.072,1.774l-0.193,1.937l1.336,2.676l-0.16,2.811l-0.485,1.48l-0.757,2.871l0.057,1.859l-0.555,2.34l-1.238,2.996l-2.077,1.631l-1.023,2.59l-0.936,1.666l-0.831,2.932l-1.082,1.707l-0.709,2.583l-0.362,2.401l0.144,1.109l-1.607,1.224l-3.139,0.128l-2.588,1.454l-1.288,1.38l-1.694,1.539l-2.322,-1.584l-1.718,-0.629l0.436,-1.851l-1.533,0.67l-2.455,2.582l-2.424,-0.97l-1.59,-0.564l-1.604,-0.254l-2.714,-1.027l-1.813,-2.175l-0.521,-2.655l-0.651,-1.752l-1.378,-1.398l-2.697,-0.414l0.922,-1.661l-0.679,-2.522l-1.369,2.351l-2.495,0.627l1.467,-1.885l0.425,-1.953l1.083,-1.646l-0.225,-2.472l-2.28,2.849l-1.752,1.15l-1.074,2.693l-2.189,-1.396l0.087,-1.791l-1.754,-2.43l-1.479,-1.247l0.527,-0.766l-3.598,-2.001l-1.971,-0.094l-2.696,-1.597l-5.021,0.31l-3.631,1.175l-3.19,1.1l-2.676,-0.219l-2.972,1.696l-2.432,0.766l-0.54,1.75l-1.035,1.363l-2.38,0.082l-1.761,0.299l-2.478,-0.613l-2.017,0.367l-1.925,0.154l-1.668,1.801l-0.817,-0.153l-1.406,0.959l-1.348,1.082l-2.046,-0.134l-1.879,-0.001l-2.975,-2.168l-1.507,-0.642l0.061,-1.927l1.393,-0.456l0.476,-0.761l-0.1,-1.196l0.343,-2.302l-0.313,-1.948l-1.482,-3.294l-0.46,-1.845l0.121,-1.83l-1.116,-2.079l-0.071,-0.934l-1.242,-1.262l-0.35,-2.468l-1.603,-2.477l-0.388,-1.327l1.231,1.346l-0.946,-2.881l1.391,0.898l0.83,1.203l-0.047,-1.59l-1.388,-2.43l-0.269,-0.968l-0.65,-0.917l0.305,-1.767l0.574,-0.75l0.383,-1.519l-0.3,-1.768l1.159,-2.165l0.211,2.292l1.185,-2.071l2.278,-1.002l1.366,-1.276l2.143,-1.095l1.274,-0.232l0.772,0.367l2.209,-1.109l1.701,-0.33l0.425,-0.65l0.742,-0.271l1.55,0.07l2.947,-0.867l1.524,-1.313l0.716,-1.575l1.645,-1.491l0.126,-1.169l0.073,-1.589l1.962,-2.474l1.181,2.514l1.193,-0.582l-0.998,-1.375l0.88,-1.409l1.237,0.629l0.34,-2.205l1.532,-1.421l0.676,-1.138l1.41,-0.491l0.044,-0.804l1.232,0.335l0.049,-0.722l1.233,-0.412l1.355,-0.387l2.071,1.318l1.556,1.705l1.755,0.02l1.783,0.271l-0.594,-1.582l1.343,-2.303l1.264,-0.749l-0.437,-0.715l1.218,-1.632l1.698,-1.006l1.435,0.339l2.355,-0.537l-0.051,-1.455l-2.054,-0.936l1.493,-0.413l1.857,0.704l1.489,1.167l2.361,0.729l0.801,-0.288l1.738,0.875l1.638,-0.815l1.054,0.248l0.656,-0.547l1.287,1.41l-0.747,1.528l-1.064,1.155l-0.964,0.096l0.325,1.146l-0.824,1.435l-0.996,1.414l0.201,0.814l2.229,1.596l2.16,0.928l1.443,0.999l2.027,1.722l0.79,-0.003l1.468,0.746l0.426,0.901l2.677,0.992l1.852,-0.999l0.549,-1.566l0.568,-1.289l0.349,-1.59l0.853,-2.3l-0.39,-1.394l0.202,-0.837l-0.324,-1.643l0.367,-2.157l0.538,-0.581l-0.437,-0.953l0.678,-1.511l0.532,-1.563l0.07,-0.81l1.042,-1.063l0.791,1.388l0.194,1.783l0.699,0.344l0.119,1.197l1.02,1.452l0.21,1.62L877.779,502.097z"},{id:"AZ",title:"Azerbaijan",d:"M601.432,342.462l0.831,0.973l1.239,-0.008l-0.013,0.558l1.145,2.08l-1.923,-0.477l-1.417,-1.661l-0.445,-1.366L601.432,342.462zM608.081,337.029l1.241,0.253l0.481,-0.945l1.674,-1.506l1.474,1.965l1.426,2.623l1.307,0.172l0.863,0.988l-2.31,0.294l-0.487,2.823l-0.482,1.263l-1.028,0.839l0.075,1.769l-0.698,0.178l-1.749,-1.869l0.967,-1.779l-0.829,-1.062l-1.051,0.268l-3.307,2.656l-0.062,-2.496l-1.259,-0.593l-1.19,-0.988l0.791,-1.162l-1.494,-1.258l0.564,-0.924l-1.068,-0.64l-0.581,-0.974l0.687,-0.607l2.089,1.068l1.511,0.22l0.382,-0.435l-1.381,-2.017l0.728,-0.517l0.788,0.126L608.081,337.029z"},{id:"BA",title:"Bosnia and Herzegovina",d:"M528.542,323.106L529.558,323.096L528.856,324.823L530.208,326.323L529.799,328.144L529.139,328.314L528.615,328.666L527.703,329.559L527.292,331.658L524.811,330.215L523.752,328.613L522.684,327.76L521.395,326.313L520.787,325.104L519.414,323.27L520,321.629L521.007,322.539L521.614,321.717L522.924,321.629L525.335,322.287L527.273,322.232z"},{id:"BD",title:"Bangladesh",d:"M735.094,400.405L735.036,402.557L734.058,402.104L734.241,404.507L733.439,402.951L733.278,401.426L732.744,399.979L731.573,398.223L728.99,398.102L729.245,399.347L728.365,401.021L727.172,400.412L726.765,400.958L725.971,400.631L724.886,400.362L724.449,397.877L723.478,395.596L723.954,393.757L722.229,392.938L722.851,391.819L724.604,390.672L722.58,389.037L723.57,386.93L725.791,388.273L727.13,388.426L727.377,390.576L730.045,390.999L732.646,390.953L734.262,391.479L732.97,394.073L731.715,394.25L730.85,395.984L732.385,397.556L732.843,395.616L733.617,395.606z"},{id:"BE",title:"Belgium",d:"M484.548,295.906L486.601,296.258L489.199,295.327L490.974,297.283L492.515,298.319L492.197,301.287L491.466,301.452L491.162,303.882L488.709,301.909L487.271,302.247L485.313,300.19L484.01,298.422L482.707,298.35L482.301,296.788z"},{id:"BF",title:"Burkina Faso",d:"M467.325,436.401L465.406,435.672L464.092,435.779L463.112,436.49L461.851,435.894L461.361,434.958L460.1,434.341L459.914,432.695L460.679,431.491L460.614,430.528L462.84,428.167L463.251,426.207L464.02,425.508L465.375,425.894L466.551,425.311L466.932,424.574L469.107,423.287L469.643,422.388L472.263,421.192L473.807,420.782L474.506,421.335L476.304,421.322L476.082,422.718L476.458,424.027L478.037,425.899L478.125,427.284L481.357,427.932L481.294,429.884L480.681,430.735L479.311,431.001L478.739,432.243L477.775,432.564L475.32,432.504L474.023,432.278L473.118,432.736L471.879,432.529L467.008,432.663L466.942,434.271z"},{id:"BG",title:"Bulgaria",d:"M538.78,325.558L539.587,327.156L540.673,326.872L542.828,327.476L546.945,327.68L548.336,326.692L551.637,325.788L553.677,327.2L555.326,327.606L553.871,329.202L552.847,331.931L553.751,334.086L551.337,333.581L548.481,334.764L548.451,336.623L545.902,336.974L543.927,335.673L541.682,336.697L539.608,336.589L539.409,334.116L538.005,332.907L538.466,332.373L538.162,331.922L538.633,330.712L539.702,329.517L538.34,327.856L538.088,326.441z"},{id:"BI",title:"Burundi",d:"M557.518,475.931L557.34,472.564L556.635,471.296L558.337,471.515L559.196,469.928L560.686,470.11L560.848,471.208L561.452,471.84L561.478,472.747L560.786,473.331L559.695,474.786L558.677,475.798z"},{id:"BJ",title:"Benin",d:"M482.8,445.918L480.483,446.246L479.792,444.312L479.92,437.852L479.355,437.27L479.249,435.884L478.275,434.893L477.418,434.057L477.775,432.564L478.739,432.243L479.311,431.001L480.681,430.735L481.294,429.884L482.235,429.05L483.24,429.042L485.378,430.681L485.269,431.625L485.899,433.309L485.347,434.45L485.643,435.211L484.282,436.961L483.418,437.826L482.89,439.604L482.961,441.395z"},{id:"BN",title:"Brunei Darussalam",d:"M795.464,450.767L796.574,449.721L798.96,448.189L798.834,449.567L798.67,451.352L797.33,451.263L796.741,452.214z"},{id:"BO",title:"Bolivia",d:"M299.041,526.346L295.843,526.222L294.75,528.647L293.101,526.469L289.432,525.737L287.096,528.459L285.073,528.874L283.975,524.724L282.468,521.376L283.351,518.508L281.88,517.258L281.506,515.136L280.132,513.144L281.9,509.998L280.694,507.561L281.337,506.589L280.835,505.519L281.931,504.079L281.985,501.636L282.124,499.624L282.726,498.657L280.302,494.077L282.387,494.317L283.831,494.255L284.456,493.397L286.908,492.249L288.385,491.186L292.054,490.708L291.755,492.828L292.1,493.918L291.875,495.822L294.919,498.374L298.059,498.845L299.163,499.912L301.058,500.479L302.218,501.311L303.982,501.282L305.611,502.132L305.734,503.793L306.281,504.633L306.317,505.876L305.5,505.924L306.578,509.294L311.953,509.414L311.542,511.093L311.842,512.244L313.374,513.063L314.036,514.884L313.538,517.2L312.77,518.493L313.04,520.18L312.163,520.793L312.115,519.879L309.503,518.365L306.899,518.324L302.013,519.184L300.668,521.795L300.598,523.399L299.493,526.99z"},{id:"BR",title:"Brazil",d:"M313.681,551.79L317.421,547.418L320.586,544.34L322.469,543.058L324.83,541.33L324.887,538.84L323.48,537.052L322.092,537.645L322.642,535.862L323.022,534.045L323.023,532.363L322.015,531.81L320.963,532.303L319.917,532.167L319.59,530.995L319.329,528.217L318.804,527.315L316.91,526.5L315.766,527.09L312.806,526.512L312.992,522.447L312.163,520.793L313.04,520.18L312.77,518.493L313.538,517.2L314.036,514.884L313.374,513.063L311.842,512.244L311.542,511.093L311.953,509.414L306.578,509.294L305.5,505.924L306.317,505.876L306.281,504.633L305.734,503.793L305.611,502.132L303.982,501.282L302.218,501.311L301.058,500.479L299.163,499.912L298.059,498.845L294.919,498.374L291.875,495.822L292.1,493.918L291.755,492.828L292.054,490.708L288.385,491.186L286.908,492.249L284.456,493.397L283.831,494.255L282.387,494.317L280.302,494.077L278.72,494.565L277.445,494.239L277.632,489.939L275.332,491.605L272.857,491.532L271.797,490.024L269.936,489.86L270.529,488.648L268.971,486.934L267.804,484.401L268.543,483.887L268.541,482.702L270.235,481.892L269.956,480.376L270.671,479.402L270.875,478.096L274.081,476.194L276.379,475.656L276.755,475.236L279.282,475.367L280.542,467.72L280.608,466.512L280.169,464.917L278.925,463.901L278.939,461.877L280.519,461.418L281.079,461.707L281.174,460.64L279.531,460.352L279.497,458.608L284.959,458.671L285.887,457.71L286.666,458.594L287.212,460.237L287.742,459.894L289.285,461.367L291.465,461.187L292.008,460.334L294.093,459.684L295.248,459.227L295.573,458.047L297.576,457.254L297.425,456.668L295.049,456.429L294.66,454.672L294.773,452.802L293.518,452.078L294.044,451.821L296.12,452.178L298.349,452.876L299.158,452.216L301.175,451.783L304.311,450.737L305.336,449.671L304.965,448.882L306.423,448.758L307.075,449.402L306.71,450.63L307.674,451.053L308.317,452.351L307.54,453.334L307.093,455.708L307.811,457.118L308.014,458.408L309.739,459.715L311.115,459.853L311.425,459.308L312.312,459.187L313.58,458.698L314.492,457.957L316.042,458.194L316.725,458.094L318.25,458.322L318.502,457.752L318.032,457.198L318.312,456.391L319.443,456.639L320.768,456.354L322.374,456.945L323.598,457.52L324.466,456.764L325.093,456.88L325.476,457.665L326.818,457.466L327.893,456.407L328.753,454.354L330.412,451.799L331.367,451.667L332.061,453.211L333.633,458.088L335.133,458.548L335.208,460.471L333.1,462.764L333.972,463.604L338.928,464.041L339.029,466.833L341.159,465.005L344.687,466.006L349.344,467.708L350.712,469.34L350.253,470.883L353.513,470.024L358.97,471.499L363.159,471.39L367.304,473.699L370.884,476.828L373.044,477.634L375.442,477.747L376.458,478.629L377.41,482.195L377.875,483.894L376.759,488.546L375.332,490.389L371.38,494.329L369.594,497.544L367.518,500.019L366.817,500.075L366.034,502.183L366.233,507.581L365.451,512.059L365.153,513.986L364.267,515.143L363.77,519.082L360.927,522.96L360.45,526.053L358.181,527.357L357.524,529.168L354.478,529.161L350.067,530.326L348.092,531.679L344.952,532.57L341.652,535.01L339.279,538.071L338.871,540.393L339.337,542.12L338.813,545.302L338.177,546.85L336.217,548.604L333.106,554.28L330.641,556.873L328.734,558.412L327.456,561.566L325.601,563.48L324.825,561.585L326.061,560.007L324.439,557.759L322.24,555.944L319.354,553.855L318.313,553.95L315.5,551.446z"},{id:"BS",title:"Bahamas",d:"M257.857,395.204l-0.688,0.151l-0.712,-1.758l-1.05,-0.887l0.61,-1.951l0.844,0.124l0.981,2.549L257.857,395.204zM257.057,386.514l-3.056,0.499l-0.196,-1.154l1.318,-0.25l1.851,0.094L257.057,386.514zM259.356,386.482l-0.484,2.21l-0.516,-0.397l0.046,-1.625l-1.256,-1.234l-0.006,-0.359L259.356,386.482z"},{id:"BT",title:"Bhutan",d:"M732.356,382.777L733.498,383.782L733.301,385.707L731.014,385.8L728.646,385.59L726.884,386.079L724.335,384.892L724.275,384.263L726.13,381.922L727.645,381.119L729.648,381.852L731.129,381.929z"},{id:"BW",title:"Botswana",d:"M547.169,515.946L547.733,516.471L548.615,518.177L551.788,521.432L552.989,521.752L552.996,522.803L553.821,524.698L555.989,525.158L557.776,526.516L553.809,528.737L551.292,531.002L550.358,533.034L549.515,534.185L547.989,534.43L547.497,535.901L547.213,536.864L545.42,537.584L543.138,537.431L541.798,536.565L540.617,536.19L539.249,536.906L538.563,538.389L537.235,539.323L535.833,540.714L533.824,541.033L533.199,539.937L533.457,538.044L531.795,535.111L531.038,534.649L531.037,525.788L533.801,525.683L533.883,515.113L535.971,515.016L540.293,513.99L541.365,515.198L543.155,514.049L544.005,514.043L545.586,513.383L546.09,513.602z"},{id:"BY",title:"Belarus",d:"M541.099,284.075L543.809,284.107L546.853,282.31L547.504,279.586L549.803,278.024L549.539,275.817L551.244,274.982L554.256,273.053L557.208,274.309L557.606,275.545L559.078,274.952L561.819,276.135L562.093,278.443L561.493,279.757L563.25,282.91L564.392,283.779L564.223,284.637L566.113,285.468L566.921,286.722L565.83,287.744L563.568,287.582L563.028,288.017L563.687,289.557L564.376,292.494L561.969,292.764L561.105,293.759L560.925,296.024L559.81,295.591L557.279,295.806L556.544,294.756L555.493,295.539L554.438,294.89L552.23,294.8L549.101,293.716L546.269,293.361L544.096,293.462L542.56,294.687L541.219,294.862L541.166,292.849L540.301,290.732L541.982,289.792L541.999,287.944L541.221,286.165z"},{id:"BZ",title:"Belize",d:"M225.309,412.958L225.287,412.527L225.626,412.393L226.135,412.739L227.14,410.968L227.673,410.93L227.683,411.361L228.214,411.374L228.168,412.172L227.714,413.438L227.959,413.891L227.666,414.935L227.842,415.214L227.518,416.685L226.967,417.455L226.46,417.548L225.905,418.552L225.068,418.553L225.287,415.273z"},{id:"CA",title:"Canada",d:"M198.925,96.233l-0.222,-5.902l3.63,0.579l1.634,0.955l3.351,4.925l-0.76,4.97l-4.148,2.771l-2.284,-3.123L198.925,96.233zM212.14,108.876l0.334,-1.49l-1.968,-2.448l-5.646,-0.194l0.748,3.676l5.254,0.827L212.14,108.876zM248.488,155.832l3.085,5.103l0.812,0.574l3.069,-1.275l3.021,0.201l2.98,0.276l-0.248,-2.643l-4.835,-5.381l-6.417,-1.077l-1.349,0.666L248.488,155.832zM183.063,93.132l-2.708,4.188l6.242,0.516l4.615,4.438l4.579,1.498l-1.092,-5.68l-2.145,-6.726l-7.582,-5.353l-5.504,-2.044l0.204,5.687L183.063,93.132zM208.96,82.895l5.127,-0.116l-2.216,4.002l-0.043,5.297l3.013,5.756l5.811,1.766l4.96,-0.99l5.181,-10.729l3.85,-4.447l-3.38,-4.97l-2.215,-10.648l-4.599,-3.188l-4.718,-3.682l-3.581,-9.561l-6.521,0.937l1.225,4.149l-2.874,1.246l-1.943,5.322l-1.944,7.458l1.776,7.261L208.96,82.895zM145.21,136.272l3.92,1.953l12.667,-1.298l-5.824,4.771l0.357,3.431l4.264,-0.236l7.074,-4.58l9.495,-1.673l1.706,-5.218l-0.493,-5.569l-2.938,-0.502l-2.497,1.929l-1.099,-4.133l-0.945,-5.699l-2.895,-1.415l-2.569,4.411l4.01,11.049l-4.898,-0.851l-4.981,-6.788l-7.891,-3.998l-2.639,3.321L145.21,136.272zM167.773,94.206l-3.646,-2.897l-1.504,-0.659l-2.876,4.284l-0.045,2.002l4.656,0.014L167.773,94.206zM166.305,106.564l0.932,-3.985l-3.954,-2.125l-4.094,1.385l-2.271,4.261l4.159,4.207L166.305,106.564zM195.404,139.803l4.623,-1.106l1.277,-8.252l-0.087,-5.945l-2.144,-5.56l-0.216,1.596l-3.943,-0.699l-4.223,4.087l-3.017,-0.37l0.178,8.924l4.596,-0.868l-0.058,6.465L195.404,139.803zM192.118,185.406l-5.06,-3.927l-4.709,-4.208l-0.869,-6.18l-1.76,-8.925l-3.141,-3.839l-2.787,-1.547l-2.467,1.417l1.992,9.586l-1.409,3.731l-2.294,-8.979l-2.562,-3.105l-3.168,4.814l-3.899,-4.76l-6.239,2.868l1.399,-4.463l-2.865,-1.875l-7.507,5.838l-1.952,3.711l-2.354,6.771l4.896,2.317l4.325,-0.122l-6.503,3.461l1.479,3.129l3.976,0.169l5.991,-0.669l5.422,1.959l-3.66,1.445l-3.953,-0.372l-4.328,1.409l-1.865,0.874l3.455,6.354l2.489,-0.883l3.828,2.145l1.519,3.651l4.988,-0.725l7.105,-1.157l5.264,-2.646l3.26,-0.479l4.823,2.115l5.074,1.219l0.945,-2.859l-1.789,-3.049l4.604,-0.645L192.118,185.406zM199.863,184.425l-1.96,3.539l-2.468,2.486l3.829,3.541l2.284,-0.854l3.779,2.358l1.743,-2.732l-1.709,-3.03l-0.841,-1.526l-1.682,-1.458L199.863,184.425zM182.25,154.982l-2.131,-2.175l-3.757,0.397l-0.953,1.384l4.374,6.752L182.25,154.982zM210.937,168.154l3.008,-6.927l3.343,-1.848l4.189,-8.743l-5.356,-2.47l-5.842,-0.357l-2.782,2.77l-1.465,4.231l-0.043,4.817l1.75,8.188L210.937,168.154zM228.092,145.149l5.756,-0.185l8.043,-1.614l3.589,1.275l4.181,-2.26l1.749,-2.84l-0.626,-4.519l-3.003,-4.229l-4.556,-0.801l-5.709,0.969l-4.457,2.441l-4.091,-0.939l-3.782,-0.495l-1.781,-2.702l-3.217,-2.614l0.639,-4.433l-2.42,-3.982l-5.52,0.027l-3.113,-3.988l-5.779,-0.799l-1.055,5.096l3.25,3.745l5.8,1.454l2.815,5.095l0.341,5.602l0.97,5.99l7.452,3.417L228.092,145.149zM139.073,126.88l5.212,-5.053l2.62,-0.587l2.16,-4.228l0.385,-9.769l-3.846,1.914l-4.3,-0.18l-5.758,8.189l-4.759,8.977l3.799,2.51L139.073,126.88zM211.251,143.053l1.525,-4.14l-1.023,-3.458l-2.448,-3.918l-4.031,3.018l-1.493,4.924l3.399,2.787L211.251,143.053zM202.943,154.49l-0.729,-2.881l-5.002,1.264l-3.344,-2.107l-3.318,4.804l3.089,6.282l-5.725,-1.174l-0.056,3.011l6.968,7.046l1.94,3.38l2.701,0.731l4.598,-3.413l0.504,-8.211l-4.244,-4.074L202.943,154.49zM128.949,308.228l-1.157,-2.344l-2.799,-1.769l-1.386,-2.053l-0.954,-1.505l-2.635,-0.464l-1.721,-0.667l-2.943,-0.962l-0.242,1.021l1.08,2.38l2.886,0.781l0.505,1.231l2.509,1.502l0.841,1.513l4.604,1.92L128.949,308.228zM250.655,230.599l-2.002,-2.109l-2.063,0.498l-0.249,-3.062l-3.212,-2.035l-3.07,-2.267l-1.63,-1.753l-1.435,1.034l-0.521,-2.963l-2.026,-0.555l-0.956,6.134l-0.358,5.107l-2.438,3.136l3.8,-0.604l0.963,3.65l3.99,-3.225l2.78,-3.379l1.575,2.863l4.363,1.511L250.655,230.599zM130.121,178.055l7.38,-4.179v-3.874l3.477,-6.407l6.875,-6.689l3.525,-2.467l-3.01,-4.199l-2.723,-2.953l-7.162,-0.572l-4.004,-2.156l-9.477,1.625l2.742,6.225l-2.432,6.431l-1.942,6.866l-1.203,3.858l6.474,4.694L130.121,178.055zM264.358,205.358l0.316,-1.009l-0.031,-3.175l-2.189,-2.084l-2.57,1.047l-1.191,4.167l0.7,3.559l3.143,-0.361L264.358,205.358zM288.177,212.904l4.408,6.601l3.45,2.855l4.921,-7.87l0.873,-4.933l-4.41,-0.474l-4.03,-6.696l-4.451,-1.64l-6.604,-4.968l5.148,-3.634l-2.652,-7.542l-2.442,-3.354l-6.769,-3.352l-2.922,-5.549l-5.207,1.991l-0.363,-3.863l-3.862,-4.322l-6.221,-4.714l-2.652,3.714l-5.547,2.662l0.417,-6.064l-4.81,-10.052l-7.106,4.063l-2.591,7.701l-2.209,-5.923l2.063,-6.371l-7.24,2.651l-2.883,3.991l-2.155,8.421l0.889,9.051l3.983,0.038l-2.932,3.924l2.332,2.961l4.547,1.255l5.931,2.417l10.204,1.818l5.083,-1.044l1.501,-2.42l2.211,2.788l2.471,0.462l2.968,4.965l-1.796,1.98l5.68,2.626l4.295,3.678l1.081,2.55l0.771,3.239l-3.627,6.925l-0.979,3.443l0.937,2.423l-5.772,0.859l-5.269,0.119l-1.847,4.869l2.372,2.226l8.107,-1.031l-0.045,-1.889l4.083,3.148l4.183,3.276l-0.979,1.773l3.398,3.021l6.017,3.535l7.604,2.391l-0.456,-2.089l-2.92,-3.672l-3.963,-5.373l7.033,4.997l3.536,1.66l0.966,-4.438l-1.825,-6.298l-1.155,-1.729l-3.806,-3.035l-2.949,-3.911l0.354,-3.942L288.177,212.904zM222.346,51.338l2.336,7.293l4.957,5.88l9.811,-1.088l6.313,1.968l-4.375,6.053l-2.214,-1.776l-7.664,-0.712l1.19,8.314l3.96,6.036l-0.795,5.201l-4.972,3.462l-2.271,5.471l4.548,2.646l3.823,8.549l-7.497,-5.703l-1.71,0.941l1.381,9.377l-5.184,2.833l0.352,5.851l5.301,0.626l4.173,1.438l8.236,-1.845l7.327,3.269l7.492,-7.191l-0.061,-3.019l-4.791,0.482l-0.392,-2.841l3.917,-3.829l1.33,-5.151l4.332,-3.829l2.664,-4.762l-2.319,-7.103l1.938,-2.649l-3.865,-1.887l8.489,-1.628l1.787,-3.147l5.784,-2.604l4.795,-13.473l4.569,-4.943l6.616,-11.124l-6.104,0.098l2.535,-4.303l6.784,-3.993l6.841,-8.903l0.123,-5.731l-5.131,-6.042l-6.021,-2.93l-7.494,-1.819l-6.072,-1.489l-6.073,-1.503l-8.095,3.977l-1.49,-2.527l-8.57,0.976l-5.028,2.571l-3.701,3.65L242.028,30.5L239,24.517l-3.477,-1.142l-4.122,7.97l-5.501,3.348l-3.274,0.664l-4.169,3.837l0.614,6.646L222.346,51.338zM296.747,316.344l-0.982,-1.984l-1.059,1.262l0.701,1.361l3.556,1.713l1.039,-0.262l1.379,-1.656l-2.6,0.111L296.747,316.344zM239.747,238.477l0.614,1.63l1.979,0.138l3.282,-3.337l0.06,-1.188l-3.851,-0.059L239.747,238.477zM301.875,304.917l-2.867,-1.799l-3.687,-1.087l-0.97,0.365l2.607,2.039l3.634,1.343l1.365,-0.076L301.875,304.917zM326.765,309.712l-0.357,-2.235l-1.962,0.723l0.868,-3.113l-2.796,-1.321l-1.293,1.047l-2.488,-1.179l0.984,-1.509l-1.883,-0.933l-1.83,1.469l1.855,-3.825l1.497,-2.8l0.542,-1.217l-1.301,-0.197l-2.433,1.547l-1.738,2.529l-2.897,6.917l-2.354,2.558l1.22,1.144l-1.747,1.473l0.43,1.231l5.442,0.126l3.013,-0.248l2.69,1.005l-1.98,1.932l1.673,0.142l3.253,-3.576l0.781,0.528l-0.608,3.367l1.843,0.77l1.269,-0.151l1.18,-3.614L326.765,309.712zM305.569,314.475l-2.811,4.56l-4.633,0.581l-3.642,-2.009l-0.915,-3.07l-0.889,-4.462l2.648,-2.829l-2.482,-2.089l-4.195,0.426l-5.881,3.53l-4.501,5.452l-2.381,0.672l3.227,-3.804l4.044,-5.574l3.575,-1.899l2.348,-3.112l2.904,-0.303l4.208,0.031l5.997,0.919l4.74,-0.708l3.528,-3.624l4.621,-1.587l2.012,-1.58l2.035,-1.706l-0.205,-5.188l-1.126,-1.772l-2.184,-0.628l-1.111,-4.047l-1.8,-1.548l-4.471,-1.264l-2.521,-2.822l-3.729,-2.826l1.127,-3.197l-3.101,-6.26l-3.651,-6.893l-2.184,-4.983l-1.855,2.611l-2.682,6.053l-4.06,2.973l-2.032,-3.155l-2.561,-0.847l-0.932,-6.99l0.084,-4.797l-5,-0.438l-0.851,-2.266l-3.453,-3.436l-2.611,-2.039l-2.322,1.583l-2.883,-0.585l-4.807,-1.646l-1.952,1.397l0.937,9.177l1.222,5.116l-3.309,5.751l3.406,4.022l1.904,4.44l0.229,3.422l-1.554,3.504l-3.177,3.461l-4.489,2.281l1.978,2.529l1.464,7.402l-1.517,4.676l-2.159,1.458l-4.172,-4.283l-2.031,-5.168l-0.872,-4.759l0.458,-4.194l-3.05,-0.474l-4.63,-0.283l-2.971,-2.082l-3.513,-1.373l-2.006,-2.379l-2.803,-1.935l-5.21,-2.229l-3.923,1.02l-1.311,-3.947l-1.263,-4.99l-4.12,-0.902l0.155,-6.411l1.087,-4.483l3.041,-6.6l3.431,-4.902l3.262,-0.769l0.186,-4.048l2.213,-2.682l4.014,-0.424l3.252,-4.392l0.818,-2.897l2.703,-5.725l0.836,-3.5l2.899,2.107l3.899,-1.076l5.49,-4.964l0.357,-3.539l-1.977,-3.98l2.086,-4.057l-0.169,-3.865l-3.763,-3.953l-4.145,-1.19l-3.985,-0.624l-0.153,8.714l-2.045,6.555l-2.928,5.304l-2.712,-4.946l0.835,-5.606l-3.352,-5.018l-3.747,6.09l0.012,-7.991l-5.214,-1.626l2.488,-4.014l-3.809,-9.586L212,170.539l-3.698,-1.442l-3.315,6.428l-0.225,9.343l3.272,3.292l3.004,4.906l-1.268,7.708l-2.255,-0.202l-1.785,5.884l0.017,-7.004l-4.345,-2.583l-2.493,1.335l0.324,4.672l-4.09,-0.178l-4.353,1.173l-4.954,-3.353l-3.131,0.598l-2.818,-4.114l-2.263,-1.84l-2.243,0.773l-3.413,0.355l-1.811,2.614l2.862,3.187l-3.05,3.725l-2.989,-4.423l-2.388,1.302l-7.568,0.873l-5.068,-1.589l3.945,-3.736l-3.782,-3.902l-2.747,0.5l-3.859,-1.323l-6.562,-2.891l-4.288,-3.373l-3.396,-0.469l-1.059,2.357l-3.445,1.311l-0.379,-6.15l-3.733,5.505l-4.741,-7.321l-1.938,-0.892l-0.626,3.905l-2.092,1.904l-1.926,-3.393l-4.589,2.048l-4.2,3.551l-4.165,-0.98l-3.396,2.495l-2.461,3.276l-2.924,-0.717l-4.414,-3.8l-5.23,-1.936l-0.019,27.648l-0.015,35.43l2.761,0.167l2.731,1.556l1.958,2.436l2.491,3.596l2.728,-3.054l2.815,-1.793l1.488,2.855l1.889,2.229l2.567,2.424l1.753,3.794l2.867,5.881l4.767,3.204l0.078,3.124l-1.559,2.355l0.059,2.484l3.392,3.449l0.492,3.761l3.587,1.958l-0.399,2.79l1.562,3.958l5.078,1.825l2.003,1.887l5.428,4.227l0.376,0.011h7.963h8.324h2.756h8.546h8.271h8.412l8.417,0l9.528,0l9.593,-0.003l5.803,0.003l0.008,-1.644l0.949,-0.021l0.498,2.345l0.872,0.718l1.958,0.26l2.863,0.672l2.72,1.303l2.271,-0.545l3.449,1.089l1.138,-1.659l1.591,-0.663l0.623,-1.032l0.632,-0.554l2.607,0.856l1.932,0.102l0.67,0.566l0.938,2.382l3.147,0.627l-0.495,1.182l1.109,1.212l-0.478,1.56l1.177,0.513l-0.587,1.372l0.752,0.125l0.527,-0.597l0.55,0.898l2.103,0.501l2.132,0.042l2.273,0.412l2.508,0.779l0.915,1.256l1.816,3.037l-0.903,1.299l-2.279,-0.54l-1.415,-2.441l0.355,2.486l-1.337,2.17l0.147,1.838l-0.231,1.074l-1.815,1.267l-1.318,2.091l-0.617,1.321l1.539,0.237l2.081,-1.201l1.225,-1.059l0.833,-0.173l1.542,0.382l0.746,-0.591l1.368,-0.481l2.443,-0.469v0.002l0,-0.002l-0.249,-1.15l-0.134,0.044l-0.856,0.198l-1.118,-0.363l0.839,-1.317l0.855,-0.457l1.979,-0.565l2.37,-0.528l1.244,0.734l0.782,-0.851l0.889,-0.54l0.596,0.286l0.032,0.061l2.87,-2.73l1.265,-0.726l4.26,-0.027l5.167,-0.003l0.281,-0.978l0.897,-0.2l1.191,-0.616l0.995,-1.82l0.855,-3.148l2.139,-3.097l0.932,1.083l1.88,-0.7l1.245,1.187l-0.002,5.525l1.833,2.251l3.116,-0.483l4.488,-0.13l-4.868,3.261l0.107,3.291l2.129,0.283l3.133,-2.793l2.781,-1.584l6.21,-2.351l3.469,-2.616l-1.811,-1.46L305.569,314.475zM251.905,243.372l1.098,-3.124l-0.713,-1.233l-1.148,-0.132l-1.082,1.804l-0.131,0.413l0.736,1.771L251.905,243.372zM109.249,279.8L109.249,279.8l1.559,-2.354L109.249,279.8z"},{id:"CD",title:"Democratic Republic of Congo",d:"M561.707,453.605L561.537,456.867L562.661,457.244L561.759,458.233L560.682,458.974L559.61,460.426L559.021,461.721L558.862,463.957L558.213,465.021L558.189,467.121L557.383,467.898L557.279,469.556L556.894,469.771L556.635,471.296L557.34,472.564L557.518,475.931L558.022,478.503L557.742,479.958L558.303,481.584L559.929,483.154L561.443,486.696L560.339,486.41L556.573,486.885L555.821,487.222L555.022,489.021L555.65,490.267L555.152,493.618L554.805,496.469L555.562,496.976L557.522,498.084L558.292,497.566L558.526,500.646L556.38,500.622L555.229,499.049L554.196,497.833L552.047,497.435L551.418,495.943L549.704,496.841L547.458,496.444L546.521,495.153L544.741,494.891L543.427,494.96L543.267,494.077L542.299,494.006L541.022,493.839L539.286,494.264L538.067,494.194L537.373,494.454L537.523,491.083L536.588,490.034L536.382,488.299L536.795,486.601L536.227,485.515L536.175,483.747L532.773,483.771L533.018,482.76L531.587,482.771L531.436,483.257L529.697,483.366L528.993,485.003L528.573,485.707L527.024,485.31L526.099,485.705L524.245,485.933L523.171,484.462L522.526,483.554L521.722,481.872L521.03,479.784L512.756,479.747L511.773,480.083L510.96,480.031L509.803,480.407L509.411,479.539L510.124,479.243L510.211,478.023L510.67,477.304L511.69,476.717L512.427,477.001L513.386,475.932L514.913,475.959L515.093,476.75L516.141,477.245L517.79,475.494L519.424,474.13L520.132,473.237L520.038,470.942L521.256,468.234L522.541,466.799L524.387,465.457L524.709,464.568L524.779,463.547L525.236,462.581L525.089,461.002L525.438,458.533L525.987,456.794L526.826,455.304L526.993,453.619L527.245,451.672L528.336,450.254L529.838,449.354L532.145,450.304L533.931,451.334L535.982,451.609L538.074,452.154L538.912,450.467L539.297,450.252L540.575,450.533L543.696,449.138L544.803,449.729L545.71,449.645L546.131,448.965L547.173,448.726L549.282,449.02L551.081,449.084L552.006,448.788L553.705,451.095L554.964,451.434L555.714,450.965L557.011,451.148L558.572,450.558L559.238,451.75z"},{id:"CF",title:"Central African Republic",d:"M518.094,442.656L520.413,442.444L520.929,441.722L521.394,441.776L522.094,442.413L525.624,441.337L526.814,440.239L528.277,439.255L527.999,438.263L528.79,438.003L531.498,438.179L534.136,436.871L536.163,433.785L537.586,432.637L539.361,432.152L539.679,433.367L541.296,435.138L541.304,436.291L540.849,437.466L541.028,438.343L542.001,439.155L544.136,440.386L545.671,441.522L545.697,442.436L547.583,443.898L548.751,445.112L549.459,446.793L551.555,447.901L552.006,448.788L551.081,449.084L549.282,449.02L547.173,448.726L546.131,448.965L545.71,449.645L544.803,449.729L543.696,449.138L540.575,450.533L539.297,450.252L538.912,450.467L538.074,452.154L535.982,451.609L533.931,451.334L532.145,450.304L529.838,449.354L528.336,450.254L527.245,451.672L526.993,453.619L525.189,453.463L523.292,452.994L521.621,454.473L520.15,457.068L519.855,456.26L519.729,454.988L518.447,454.091L517.412,452.65L517.173,451.648L515.848,450.189L516.074,449.356L515.795,448.178L516.011,446.008L516.684,445.499z"},{id:"CG",title:"Republic of Congo",d:"M511.69,476.717L510.64,475.758L509.792,476.228L508.661,477.435L506.358,474.476L508.493,472.935L507.436,471.091L508.397,470.39L510.289,470.048L510.512,468.813L512.01,470.151L514.485,470.269L515.346,468.952L515.7,467.099L515.394,464.924L514.067,463.277L515.281,460.051L514.582,459.498L512.496,459.725L511.712,458.285L511.916,457.069L515.454,457.179L517.721,457.914L519.949,458.573L520.15,457.068L521.621,454.473L523.292,452.994L525.189,453.463L526.993,453.619L526.826,455.304L525.987,456.794L525.438,458.533L525.089,461.002L525.236,462.581L524.779,463.547L524.709,464.568L524.387,465.457L522.541,466.799L521.256,468.234L520.038,470.942L520.132,473.237L519.424,474.13L517.79,475.494L516.141,477.245L515.093,476.75L514.913,475.959L513.386,475.932L512.427,477.001z"},{id:"CH",title:"Switzerland",d:"M502.154,312.344L502.262,313.078L501.833,314.085L503.102,314.832L504.533,314.943L504.311,316.613L503.075,317.297L501,316.789L500.393,318.419L499.058,318.547L498.572,317.908L497,319.272L495.648,319.463L494.441,318.603L493.479,316.832L492.14,317.466L492.181,315.628L494.231,313.325L494.141,312.275L495.419,312.656L496.188,311.949L498.573,311.978L499.149,311.075z"},{id:"CI",title:"Côte d'Ivoire",d:"M467.245,449.457L465.969,449.486L464.013,448.939L462.215,448.971L458.894,449.459L456.947,450.266L454.171,451.291L453.629,451.218L453.845,448.916L454.113,448.565L454.027,447.463L452.84,446.29L451.949,446.103L451.132,445.333L451.741,444.088L451.461,442.73L451.59,441.914L452.035,441.91L452.2,440.684L451.983,440.14L452.251,439.749L453.293,439.41L452.6,437.153L451.954,435.985L452.179,435.025L452.738,434.806L453.104,434.548L453.88,434.974L456.045,434.997L456.561,434.17L457.045,434.226L457.854,433.906L458.289,435.117L458.943,434.76L460.1,434.341L461.361,434.958L461.851,435.894L463.112,436.49L464.092,435.779L465.406,435.672L467.325,436.401L468.069,440.413L466.887,442.774L466.156,445.942L467.372,448.354z"},{id:"CL",title:"Chile",d:"M282.813,636.726l0.002,10.568l3.002,0.003l1.689,0.13l-0.929,1.978l-2.404,1.532l-1.378,-0.157l-1.66,-0.4l-2.036,-1.479l-2.937,-0.707l-3.528,-2.71l-2.864,-2.573l-3.862,-5.254l2.312,0.974l3.937,3.133l3.719,1.704l1.447,-2.174l0.909,-3.202l2.584,-1.907L282.813,636.726zM283.975,524.724l1.098,4.15l2.023,-0.415l0.34,0.758l-0.962,3.159l-3.054,1.509l0.089,5.143l-0.585,1.001l0.839,1.225l-1.979,1.95l-1.836,2.963l-1.002,2.896l0.265,3.115l-1.728,3.343l1.292,5.694l0.728,0.609l-0.007,3.086l-1.6,3.313l0.065,2.868l-2.123,2.263l0.009,3.217l0.853,3.462l-1.679,1.3l-0.75,3.223l-0.659,3.751l0.474,4.543l-1.127,0.767l0.655,4.395l1.266,1.462l-0.924,1.63l1.301,0.782l0.3,1.478l-1.224,0.748l0.301,2.331l-1.024,5.35l-1.486,3.52l0.326,2.112l-0.889,2.68l-2.151,1.878l0.245,4.599l0.988,1.596l1.867,-0.284l-0.054,3.332l1.162,2.632l6.775,0.608l2.599,0.715l-2.495,-0.034l-1.35,1.128l-2.53,1.669l-0.452,4.378l-1.187,0.11l-3.164,-1.535l-3.209,-3.251l0,0l-3.488,-2.632l-0.878,-2.874l0.794,-2.623l-1.411,-2.937l-0.359,-7.344l1.192,-4.033l2.961,-3.187l-4.256,-1.19l2.67,-3.569l0.955,-6.557l3.116,1.374l1.465,-7.97l-1.881,-1.003l-0.876,4.749l-1.769,-0.541l0.881,-5.42l0.956,-6.843l1.288,-2.478l-0.807,-3.495l-0.231,-3.977l1.182,-0.114l1.72,-5.596l1.938,-5.432l1.187,-4.968l-0.646,-4.912l0.837,-2.671l-0.336,-3.955l1.64,-3.867l0.505,-6.038l0.9,-6.374l0.877,-6.747l-0.205,-4.874l-0.584,-4.153l1.442,-0.749l0.751,-1.501l1.374,1.992l0.375,2.122l1.471,1.25l-0.883,2.868L283.975,524.724z"},{id:"CM",title:"Cameroon",d:"M511.916,457.069L511.566,456.917L509.907,457.276L508.203,456.903L506.871,457.086L502.308,457.022L502.717,454.821L501.622,452.977L500.342,452.503L499.772,451.252L499.054,450.852L499.086,450.079L499.808,448.1L501.142,445.398L501.953,445.373L503.623,443.731L504.686,443.685L506.26,444.838L508.187,443.893L508.449,442.726L509.079,441.594L509.513,440.17L511.012,439.01L511.578,437.035L512.173,436.406L512.568,434.936L513.31,433.128L515.671,430.931L515.82,429.985L516.125,429.471L515.015,428.335L515.105,427.426L515.897,427.262L517.012,429.09L517.199,430.979L517.097,432.865L518.623,435.44L517.057,435.412L516.266,435.614L514.988,435.33L514.378,436.664L516.034,438.311L517.255,438.789L517.649,439.955L518.534,441.895L518.094,442.656L516.684,445.499L516.011,446.008L515.795,448.178L516.074,449.356L515.848,450.189L517.173,451.648L517.412,452.65L518.447,454.091L519.729,454.988L519.855,456.26L520.15,457.068L519.949,458.573L517.721,457.914L515.454,457.179z"},{id:"CN",title:"China",d:"M784.628,410.405l-2.423,1.412l-2.299,-0.91l-0.081,-2.535l1.382,-1.341l3.063,-0.831l1.612,0.071l0.627,1.131l-1.232,1.301L784.628,410.405zM833.186,302.885l4.88,1.379l3.321,3.035l1.135,3.945l4.261,0.005l2.431,-1.647l4.634,-1.239l-1.474,3.761l-1.089,1.512l-0.961,4.462l-1.886,3.888l-3.402,-0.703l-2.407,1.4l0.739,3.357l-0.404,4.553l-1.432,0.103l0.017,1.929l-1.811,-2.244l-1.114,2.13l-4.33,1.625l0.438,1.975l-2.424,-0.136l-1.331,-1.172l-1.927,2.644l-3.09,1.984l-2.283,2.347l-3.92,1.057l-2.064,1.689l-3.02,0.981l1.49,-1.668l-0.587,-1.411l2.221,-2.454l-1.481,-1.93l-2.444,1.302l-3.165,2.544l-1.728,2.34l-2.75,0.173l-1.431,1.676l1.479,2.409l2.294,0.582l0.095,1.583l2.218,1.025l3.143,-2.513l2.489,1.374l1.813,0.093l0.455,1.836l-3.97,0.974l-1.311,1.872l-2.727,1.728l-1.439,2.393l3.019,1.864l1.102,3.307l1.706,3.046l1.904,2.529l-0.046,2.426l-1.76,0.887l0.671,1.725l1.65,1l-0.431,2.609l-0.712,2.518l-1.567,0.284l-2.047,3.407l-2.271,4.086l-2.604,3.676l-3.855,2.818l-3.9,2.553l-3.159,0.347l-1.714,1.34l-0.97,-0.979l-1.586,1.498l-3.919,1.504l-2.967,0.459l-0.957,3.151l-1.554,0.174l-0.735,-2.162l0.664,-1.157l-3.762,-0.959l-1.325,0.488l-2.823,-0.778l-1.335,-1.222l0.443,-1.738l-2.563,-0.553l-1.352,-1.138l-2.39,1.615l-2.726,0.349l-2.236,-0.016l-1.505,0.737l-1.453,0.442l0.424,3.433l-1.495,-0.082l-0.252,-0.703l-0.085,-1.24l-2.057,0.874l-1.214,-0.552l-2.082,-1.128l0.816,-2.507l-1.775,-0.587l-0.669,-2.801l-2.96,0.506l0.337,-3.635l2.655,-2.58l0.113,-2.566l-0.083,-2.398l-1.224,-0.75l-0.937,-1.86l-1.641,0.235l-3.023,-0.474l0.947,-1.334l-1.314,-1.986l-1.999,1.346l-2.352,-0.785l-3.232,2.03l-2.552,2.355l-2.262,0.395l-1.228,-0.849l-1.48,-0.077l-2.004,-0.732l-1.515,0.803l-1.854,2.341l-0.235,-2.481l-1.71,0.665l-3.27,-0.309l-3.172,-0.725l-2.275,-1.393l-2.179,-0.627l-0.941,-1.533l-1.575,-0.459l-2.831,-2.094l-2.248,-0.993l-1.162,0.773l-3.896,-2.265l-2.755,-2.065l-0.786,-3.629l2.012,0.445l0.092,-1.694l-1.115,-1.708l0.284,-2.744l-3.014,-3.989l-4.611,-1.39l-0.83,-2.661l-2.071,-1.627l-0.499,-1.007l-0.421,-2.012l0.098,-1.381l-1.703,-0.812l-0.921,0.359l-0.711,-3.324l0.798,-0.829l-0.387,-0.85l2.677,-1.726l1.938,-0.718l2.968,0.492l1.061,-2.354l3.597,-0.44l0.999,-1.478l4.419,-2.031l0.394,-0.853l-0.224,-2.165l1.924,-0.995l-2.524,-6.754l5.555,-1.582l1.436,-0.886l2.022,-7.262l5.563,1.353l1.56,-1.86l0.134,-4.186l2.329,-0.395l2.134,-2.831l1.098,-0.352l0.736,2.97l2.356,2.23l3.999,1.565l1.935,3.319l-1.079,4.728l1.009,1.729l3.332,0.678l3.776,0.552l3.388,2.448l1.732,0.433l1.277,3.568l1.646,2.269l3.091,-0.088l5.787,0.852l3.729,-0.528l2.768,0.565l4.148,2.291l3.393,-0.003l1.241,1.164l3.265,-2.014l4.529,-1.312l4.202,-0.144l3.276,-1.337l2.012,-2.051l1.963,-1.297l-0.454,-1.28l-0.896,-1.499l1.473,-2.538l1.577,0.358l2.882,0.8l2.794,-2.101l4.275,-1.546l2.055,-2.662l1.974,-1.156l4.072,-0.541l2.213,0.459l0.307,-1.453l-2.541,-2.887l-2.25,-1.333l-2.155,1.538l-2.766,-0.647l-1.587,0.528l-0.723,-1.706l1.981,-4.228l1.365,-3.247l3.365,1.632l3.952,-2.739l-0.026,-1.929l2.531,-4.725l1.56,-1.45l-0.035,-2.522l-1.538,-1.095l2.315,-2.313l3.484,-0.845l3.718,-0.127l4.196,1.394l2.462,1.711l1.733,4.611l1.051,1.937l0.977,2.731L833.186,302.885z"},{id:"CO",title:"Colombia",d:"M263.917,463.809L262.717,463.149L261.341,462.227L260.544,462.669L258.165,462.283L257.481,461.085L256.959,461.129L254.154,459.539L253.774,458.674L254.82,458.465L254.696,457.069L255.354,456.059L256.745,455.872L257.925,454.12L258.998,452.655L257.965,451.991L258.494,450.37L257.861,447.812L258.462,447.077L258.02,444.707L256.885,443.212L257.244,441.847L258.147,442.048L258.676,441.213L258.025,439.555L258.366,439.143L259.814,439.232L261.918,437.264L263.073,436.963L263.1,436.029L263.617,433.637L265.225,432.321L266.992,432.267L267.215,431.675L269.409,431.912L271.615,430.477L272.708,429.84L274.065,428.467L275.059,428.642L275.794,429.392L275.25,430.351L273.449,430.828L272.737,432.248L271.652,433.062L270.837,434.115L270.494,436.134L269.717,437.786L271.164,437.975L271.523,439.271L272.142,439.89L272.364,441.023L272.031,442.064L272.129,442.65L272.819,442.885L273.487,443.864L277.093,443.594L278.722,443.951L280.695,446.364L281.828,446.064L283.848,446.214L285.446,445.895L286.438,446.376L285.933,447.884L285.307,448.823L285.087,450.828L285.651,452.684L286.448,453.513L286.545,454.138L285.124,455.526L286.141,456.141L286.887,457.115L287.742,459.894L287.212,460.237L286.666,458.594L285.887,457.71L284.959,458.671L279.497,458.608L279.531,460.352L281.174,460.64L281.079,461.707L280.519,461.418L278.939,461.877L278.925,463.901L280.169,464.917L280.608,466.512L280.542,467.72L279.282,475.367L277.878,473.883L277.041,473.817L278.85,470.978L276.703,469.672L275.02,469.912L274.007,469.43L272.462,470.167L270.375,469.817L268.723,466.896L267.425,466.178L266.53,464.864L264.665,463.544z"},{id:"CR",title:"Costa Rica",d:"M242.629,440.397L241.107,439.773L240.539,439.182L240.861,438.692L240.759,438.069L239.982,437.394L238.879,436.839L237.914,436.477L237.729,435.65L236.994,435.145L237.174,435.967L236.614,436.642L235.974,435.858L235.073,435.579L234.689,435.008L234.706,434.146L235.077,433.254L234.285,432.854L234.928,432.306L235.35,431.94L237.197,432.692L237.842,432.322L238.731,432.559L239.196,433.143L240.023,433.332L240.695,432.73L241.405,434.271L242.489,435.41L243.806,436.616L242.721,436.869L242.737,438.005L243.321,438.424L242.901,438.758L243.011,439.268L242.777,439.839z"},{id:"CU",title:"Cuba",d:"M244.585,396.94L247.007,397.156L249.21,397.19L251.843,398.222L252.959,399.327L255.578,398.986L256.571,399.695L258.946,401.557L260.691,402.907L261.614,402.866L263.287,403.476L263.083,404.315L265.149,404.438L267.269,405.656L266.936,406.352L265.072,406.729L263.185,406.875L261.253,406.641L257.238,406.93L259.118,405.273L257.975,404.5L256.167,404.301L255.199,403.44L254.534,401.736L252.95,401.853L250.335,401.048L249.494,400.418L245.839,399.951L244.86,399.364L245.912,398.61L243.162,398.455L241.147,400.022L239.985,400.064L239.583,400.798L238.195,401.126L236.996,400.842L238.476,399.913L239.083,398.825L240.351,398.153L241.783,397.563L243.906,397.273z"},{id:"CY",title:"Cyprus",d:"M570.306,358.286L572.2,356.827L569.651,357.851L567.631,357.804L567.226,358.629L567.028,358.647L565.696,358.773L566.351,360.14L567.724,360.58L570.598,359.2L570.51,358.926z"},{id:"CZ",title:"Czechia",d:"M522.807,307.861L521.515,307.061L520.198,307.281L518.021,305.983L517.034,306.302L515.457,308.037L513.374,306.673L511.791,304.837L510.36,303.804L510.063,301.979L509.572,300.683L511.61,299.729L512.651,298.631L514.665,297.773L515.368,296.927L516.107,297.438L517.358,296.974L518.688,298.403L520.784,298.788L520.609,299.999L522.132,300.904L522.55,299.773L524.474,300.264L524.739,301.631L526.824,301.895L528.114,304.025L527.278,304.03L526.844,304.804L526.2,304.99L526.017,305.963L525.48,306.165L525.404,306.561L524.447,307L523.205,306.929z"},{id:"DE",title:"Germany",d:"M503.072,278.923L503.122,280.798L505.956,281.92L505.926,283.617L508.776,282.721L510.353,281.407L513.519,283.299L514.842,284.812L515.498,287.205L514.716,288.449L515.734,290.098L516.428,292.547L516.209,294.11L517.358,296.974L516.107,297.438L515.368,296.927L514.665,297.773L512.651,298.631L511.61,299.729L509.572,300.683L510.063,301.979L510.36,303.804L511.791,304.837L513.374,306.673L512.385,308.624L511.378,309.158L511.775,311.878L511.514,312.582L510.64,311.733L509.295,311.606L507.291,312.35L504.818,312.173L504.419,313.264L503,312.116L502.154,312.344L499.149,311.075L498.573,311.978L496.188,311.949L496.544,308.974L497.962,306.074L493.922,305.288L492.599,304.165L492.757,302.27L492.197,301.287L492.515,298.319L492.044,293.629L493.729,293.627L494.439,291.916L495.138,287.691L494.614,286.108L495.162,285.11L497.505,284.853L498.025,285.893L499.929,283.56L499.288,281.767L499.159,279.022L501.278,279.664z"},{id:"DJ",title:"Djibouti",d:"M596.046,427.719L596.71,428.602L596.622,429.785L595.022,430.466L596.226,431.245L595.193,432.764L594.571,432.258L593.896,432.46L592.33,432.412L592.285,431.548L592.066,430.764L593.015,429.429L594,428.168L595.201,428.416z"},{id:"DK",title:"Denmark",d:"M510.834,275.843l-1.683,3.971l-2.934,-2.761l-0.391,-2.054l4.113,-1.656L510.834,275.843zM505.849,271.592l-0.685,1.901l-0.835,-0.545l-2.019,3.587l0.762,2.389l-1.794,0.741l-2.119,-0.642l-1.138,-2.723l-0.085,-5.12l0.467,-1.375l0.804,-1.54l2.47,-0.32l0.984,-1.429l2.256,-1.473l-0.095,2.676l-0.83,1.676l0.336,1.429L505.849,271.592z"},{id:"DO",title:"Dominican Republic",d:"M274.182,407.348L274.533,406.843L276.721,406.856L278.382,407.619L279.121,407.544L279.63,408.593L281.165,408.534L281.074,409.413L282.321,409.52L283.7,410.6L282.658,411.795L281.325,411.157L280.038,411.28L279.115,411.14L278.61,411.676L277.533,411.856L277.106,411.145L276.18,411.566L275.057,413.572L274.335,413.107L274.193,412.265L274.251,411.468L273.529,410.586L274.213,410.09L274.427,408.957z"},{id:"DZ",title:"Algeria",d:"M508.898,396.081L499.29,401.833L491.172,407.683L487.218,409L484.108,409.289L484.076,407.409L482.777,406.928L481.032,406.079L480.365,404.686L470.907,398.139L461.449,391.485L450.903,383.96L450.957,383.352L450.956,383.141L450.932,379.389L455.46,377.03L458.26,376.541L460.555,375.676L461.627,374.059L464.905,372.775L465.026,370.358L466.648,370.072L467.917,368.856L471.586,368.301L472.1,367.016L471.361,366.311L470.393,362.782L470.226,360.729L469.169,358.551L471.864,356.678L474.896,356.08L476.666,354.655L479.366,353.598L484.118,352.978L488.756,352.694L490.17,353.212L492.81,351.836L495.806,351.809L496.947,352.623L498.864,352.41L498.294,354.197L498.739,357.485L498.079,360.297L496.351,362.184L496.598,364.711L498.891,366.695L498.915,367.497L500.644,368.829L501.839,374.686L502.747,377.526L502.899,379.011L502.405,381.601L502.608,383.041L502.251,384.76L502.496,386.725L501.383,388.025L503.041,390.281L503.146,391.601L504.144,393.312L505.454,392.751L507.667,394.172z"},{id:"EC",title:"Ecuador",d:"M250.097,472.874L251.589,470.789L250.982,469.572L249.911,470.866L248.231,469.645L248.8,468.859L248.327,466.331L249.309,465.91L249.825,464.175L250.886,462.382L250.691,461.245L252.227,460.647L254.154,459.539L256.959,461.129L257.481,461.085L258.165,462.283L260.544,462.669L261.341,462.227L262.717,463.149L263.917,463.809L264.309,465.924L263.436,467.735L260.378,470.653L257.007,471.753L255.289,474.181L254.758,476.064L253.173,477.214L251.996,475.803L250.864,475.501L249.705,475.724L249.629,474.7L250.429,474.035z"},{id:"EE",title:"Estonia",d:"M543.423,264.71L543.748,261.586L542.717,262.258L540.938,260.358L540.694,257.245L544.24,255.717L547.772,254.915L550.814,255.827L553.708,255.664L554.13,256.624L552.135,259.756L552.966,264.718L551.765,266.377L549.453,266.368L547.04,264.426L545.811,263.78z"},{id:"EG",title:"Egypt",d:"M573.171,377.28L572.383,378.566L571.78,380.969L571.017,382.615L570.363,383.165L569.429,382.147L568.164,380.735L566.163,376.157L565.875,376.449L567.037,379.822L568.758,383.004L570.877,387.876L571.913,389.561L572.813,391.303L575.329,394.695L574.772,395.227L574.862,397.201L578.128,399.913L578.621,400.529L567.5,400.529L556.621,400.529L545.349,400.529L545.349,389.301L545.349,378.121L544.508,375.535L545.23,373.539L544.796,372.149L545.812,370.582L549.542,370.527L552.24,371.392L555.024,372.356L556.322,372.862L558.481,371.831L559.635,370.895L562.108,370.625L564.102,371.038L564.865,372.656L565.516,371.591L567.763,372.361L569.949,372.546L571.328,371.725z"},{id:"EH",title:"Western Sahara",d:"M438.411,383.192L436.633,386.392L434.766,387.527L433.753,389.444L433.687,391.088L432.945,392.88L432.001,393.374L430.44,395.315L429.476,397.458L429.657,398.482L428.739,400.053L427.663,400.873L427.53,402.263L427.41,403.526L428.021,402.529L439.001,402.548L438.47,398.204L439.156,396.648L441.783,396.375L441.692,388.524L450.895,388.687L450.903,383.96L450.957,383.352L450.956,383.148L438.446,383.162z"},{id:"ER",title:"Eritrea",d:"M594,428.168L593.042,427.244L591.889,425.566L590.646,424.646L589.921,423.654L587.48,422.501L585.558,422.467L584.882,421.865L583.238,422.542L581.536,421.234L580.66,423.383L577.396,422.782L577.098,421.629L578.305,417.378L578.582,415.446L579.465,414.552L581.53,414.072L582.949,412.402L584.577,415.783L585.35,418.449L586.886,419.859L590.713,422.583L592.271,424.222L593.791,425.876L594.668,426.859L596.046,427.719L595.201,428.416z"},{id:"ES",title:"Spain",d:"M449.921,334.562L450.062,331.875L448.917,330.223L452.883,327.448L456.314,328.145L460.079,328.121L463.063,328.778L465.39,328.576L469.922,328.704L471.04,330.194L476.201,331.925L477.22,331.104L480.375,332.819L483.625,332.329L483.775,334.519L481.118,337.005L477.525,337.789L477.275,339.031L475.552,341.064L474.472,344.02L475.565,346.074L473.943,347.666L473.337,349.968L471.22,350.67L469.234,353.36L465.676,353.413L463.003,353.347L461.247,354.573L460.176,355.879L458.804,355.593L457.766,354.424L456.971,352.423L454.354,351.881L454.12,350.72L455.159,349.398L455.544,348.435L454.577,347.378L455.351,345.028L454.228,342.863L455.439,342.564L455.552,340.843L456.007,340.307L456.043,337.432L457.339,336.426L456.555,334.552L454.921,334.42L454.441,334.894L452.785,334.898L452.083,333.057L450.938,333.607z"},{id:"ET",title:"Ethiopia",d:"M581.536,421.234L583.238,422.542L584.882,421.865L585.558,422.467L587.48,422.501L589.921,423.654L590.646,424.646L591.889,425.566L593.042,427.244L594,428.168L593.015,429.429L592.066,430.764L592.285,431.548L592.33,432.412L593.896,432.46L594.571,432.258L595.193,432.764L594.582,433.769L595.617,435.328L596.651,436.689L597.722,437.696L606.889,441.04L609.248,441.022L601.324,449.438L597.672,449.561L595.173,451.53L593.375,451.582L592.608,452.462L590.692,452.461L589.562,451.518L587,452.686L586.172,453.849L584.302,453.629L583.681,453.307L583.024,453.384L582.138,453.356L578.589,450.985L576.638,450.985L575.68,450.065L575.68,448.496L574.224,448.026L572.566,444.979L571.286,444.328L570.794,443.206L569.374,441.837L567.651,441.635L568.606,440.033L570.095,439.964L570.514,439.104L570.477,436.567L571.306,433.606L572.634,432.812L572.916,431.651L574.118,429.478L575.809,428.065L576.949,425.248L577.396,422.782L580.66,423.383z"},{id:"FK",title:"Falkland Islands",d:"M303.657,633.134L307.022,630.436L309.405,631.556L311.087,629.767L313.331,631.78L312.489,633.36L308.704,634.725L307.442,633.134L305.059,635.182z"},{id:"FI",title:"Finland",d:"M555.42,193.099L555.011,198.503L559.305,203.493L556.718,208.971L559.979,216.928L558.091,222.691L560.615,227.546L559.469,231.691L563.62,235.947L562.565,239.052L559.96,242.504L553.957,249.91L548.869,250.361L543.938,252.429L539.376,253.608L537.753,250.543L535.038,248.674L535.662,242.946L534.3,237.538L535.637,233.959L538.179,230.017L544.594,222.997L546.465,221.611L546.174,218.774L542.274,215.549L541.328,212.849L541.254,201.729L536.877,196.576L533.14,192.774L534.821,190.686L537.937,194.839L541.598,194.455L544.608,196.324L547.282,192.885L548.657,187.03L553.01,184.255L556.608,187.507z"},{id:"FJ",title:"Fiji",d:"M980.525,508.605l-0.348,1.396l-0.231,0.155l-1.782,0.716l-1.792,0.613l-0.36,-1.085l1.401,-0.596l0.889,-0.16l1.645,-0.905L980.525,508.605zM974.69,512.924l-1.274,-0.361l-1.082,1.004l0.271,1.288l1.546,0.363l1.738,-0.403l0.463,-1.529l-0.965,-0.843L974.69,512.924z"},{id:"FR",title:"France",d:"M502.058,333.54l-0.926,2.893l-1.273,-0.759l-0.649,-2.526l0.566,-1.407l1.806,-1.455L502.058,333.54zM485.313,300.19l1.957,2.057l1.439,-0.338l2.453,1.973l0.627,0.374l0.809,-0.091l1.323,1.123l4.04,0.787l-1.417,2.899l-0.356,2.975l-0.77,0.707l-1.278,-0.381l0.09,1.05l-2.051,2.303l-0.041,1.838l1.339,-0.634l0.963,1.771l-0.116,1.134l0.825,1.498l-0.972,1.208l0.723,3.039l1.52,0.494l-0.321,1.684l-2.54,2.173l-5.53,-1.039l-4.083,1.244l-0.321,2.292l-3.25,0.49l-3.155,-1.716l-1.02,0.821l-5.161,-1.73l-1.118,-1.491l1.45,-2.319l0.534,-7.877l-2.894,-4.264l-2.068,-2.086l-4.285,-1.599l-0.283,-3.066l3.636,-0.923l4.708,1.091l-0.889,-4.845l2.647,1.849l6.528,-3.374l0.842,-3.605l2.452,-0.898l0.406,1.562l1.303,0.073L485.313,300.19z"},{id:"GA",title:"Gabon",d:"M506.358,474.476L503.477,471.659L501.624,469.358L499.921,466.48L500.011,465.555L500.624,464.665L501.305,462.637L501.87,460.572L502.815,460.411L506.895,460.439L506.871,457.086L508.203,456.903L509.907,457.276L511.566,456.917L511.916,457.069L511.712,458.285L512.496,459.725L514.582,459.498L515.281,460.051L514.067,463.277L515.394,464.924L515.7,467.099L515.346,468.952L514.485,470.269L512.01,470.151L510.512,468.813L510.289,470.048L508.397,470.39L507.436,471.091L508.493,472.935z"},{id:"GB",title:"United Kingdom",d:"M459.378,281.001l-1.503,3.287l-2.119,-0.98l-1.734,0.065l0.578,-2.571l-0.578,-2.604l2.351,-0.202L459.378,281.001zM466.827,260.239l-2.997,5.729l2.856,-0.716l3.072,0.027l-0.731,4.218l-2.521,4.535l2.899,0.318l0.223,0.524l2.497,5.787l1.919,0.774l1.726,5.409l0.799,1.841l3.397,0.882l-0.341,2.933l-1.428,1.331l1.12,2.327l-2.522,2.328l-3.751,-0.041l-4.773,1.212l-1.308,-0.867l-1.854,2.058l-2.594,-0.497l-1.97,1.667l-1.491,-0.87l4.112,-4.636l2.51,-0.966l-0.022,-0.004l-4.379,-0.749l-0.793,-1.799l2.93,-1.413l-1.536,-2.479l0.533,-3.056l4.167,0.425l0.005,0l0.413,-2.743l-1.878,-2.952l-0.042,-0.068l-3.405,-0.852l-0.668,-1.318l1.019,-2.195l-0.922,-1.366l-1.51,2.338l-0.164,-4.797l-1.416,-2.587l1.018,-5.356l2.178,-4.311l2.239,0.425L466.827,260.239z"},{id:"GE",title:"Georgia",d:"M591.765,335.853L592.183,334.253L591.482,331.676L589.862,330.272L588.308,329.833L587.281,328.657L587.623,328.202L589.993,328.86L594.121,329.481L597.938,331.313L598.43,332.019L600.13,331.422L602.745,332.216L603.604,333.766L605.366,334.637L604.638,335.153L606.019,337.17L605.637,337.604L604.125,337.384L602.036,336.316L601.349,336.923L597.453,337.502L594.752,335.675z"},{id:"GF",title:"French Guiana",d:"M327.893,456.407l-1.075,1.059l-1.342,0.199l-0.382,-0.785l-0.627,-0.117l-0.868,0.756l-1.225,-0.575l0.711,-1.19l0.244,-1.27l0.484,-1.195l-1.088,-1.647l-0.222,-1.912l1.459,-2.405l0.952,0.308l2.065,0.662l2.968,2.36l0.464,1.144l-1.659,2.554L327.893,456.407z"},{id:"GH",title:"Ghana",d:"M478.226,446.843L473.83,448.481L472.271,449.44L469.744,450.251L467.245,449.457L467.372,448.354L466.156,445.942L466.887,442.774L468.069,440.413L467.325,436.401L466.942,434.271L467.008,432.663L471.879,432.529L473.118,432.736L474.023,432.278L475.32,432.504L475.113,433.388L476.284,434.849L476.279,436.902L476.546,439.124L477.25,440.151L476.629,442.684L476.852,444.081L477.6,445.859z"},{id:"GL",title:"Greenland",d:"M344.134,23.907L353.548,10.302L363.386,11.368L366.962,2.416L376.872,0L399.267,3.147L416.806,21.735L411.628,30.045L400.902,30.968L385.81,32.998L387.222,36.643L397.147,34.4L405.593,41.313L411.036,35.189L413.367,42.339L410.289,53.306L417.427,46.381L431.042,38.831L439.447,42.644L441.022,50.755L429.591,63.423L428.008,67.316L419.046,70.182L425.54,70.968L422.26,82.476L420.003,92.074L420.091,107.331L423.458,115.665L419.078,116.178L414.467,120.058L419.641,126.358L420.3,135.984L417.302,137L420.935,146.154L414.706,146.896L417.958,151.036L417.039,154.545L413.085,156.063L409.178,156.091L412.69,162.572L412.729,166.7L407.18,162.867L405.737,165.356L409.522,167.649L413.196,173.125L414.259,180.08L409.261,181.703L407.1,178.44L403.633,173.46L404.592,179.329L401.335,183.74L408.725,184.091L412.59,184.542L405.075,191.571L397.454,197.697L389.249,200.313L386.156,200.346L383.256,203.218L379.355,210.853L373.325,215.742L371.388,216.025L367.655,217.704L363.625,219.287L361.223,223.409L361.185,227.967L359.766,232.133L355.194,237.082L356.323,241.787L355.063,246.637L353.626,252.202L349.675,252.544L345.537,247.91L339.931,247.881L337.21,244.701L335.34,238.896L330.481,231.225L329.06,227.069L328.677,221.177L324.793,214.91L325.803,209.74L323.932,207.212L326.704,198.556L330.924,195.708L332.031,192.447L332.618,186.185L329.415,189.052L327.888,190.242L325.37,191.375L321.929,188.77L321.742,183.219L322.839,178.741L325.439,178.618L331.163,180.873L326.342,175.438L323.833,172.434L321.041,173.675L318.701,171.482L321.831,162.976L320.126,159.453L317.901,152.71L314.526,141.804L310.956,137.625L310.989,132.998L303.465,126.308L297.512,125.456L290.019,125.928L283.177,126.785L279.923,123.039L275.051,115.379L282.413,111.41L288.057,110.734L276.059,107.365L269.739,101.932L270.125,96.589L280.74,89.721L291.01,82.562L292.094,76.925L284.526,71.163L286.971,64.519L296.678,52.186L300.757,50.207L299.588,41.637L306.23,36.398L314.852,33.188L323.468,33.005L326.527,39.311L333.965,27.987L340.657,35.767L344.594,37.36L350.417,43.772L343.75,33.002z"},{id:"GM",title:"Gambia",d:"M428.032,426.427L428.39,425.157L431.444,425.075L432.077,424.396L432.966,424.35L434.073,425.056L434.943,425.069L435.867,424.586L436.434,425.415L435.22,426.058L434.002,426.007L432.799,425.402L431.76,426.063L431.258,426.087L430.584,426.488z"},{id:"GN",title:"Guinea",d:"M451.59,441.914L450.797,441.841L450.226,442.973L449.433,442.959L448.887,442.361L449.073,441.232L447.9,439.508L447.168,439.825L446.569,439.888L445.797,440.049L445.829,439.016L445.378,438.279L445.469,437.458L444.861,436.271L444.081,435.26L441.839,435.257L441.185,435.79L440.413,435.854L439.934,436.464L439.61,437.247L438.112,438.488L436.882,436.818L435.792,435.712L435.074,435.346L434.374,434.783L434.055,433.532L433.645,432.907L432.83,432.442L434.077,431.058L434.927,431.11L435.659,430.633L436.277,430.628L436.719,430.251L436.48,429.308L436.788,429.01L436.839,428.042L438.192,428.072L440.208,428.768L440.826,428.704L441.036,428.386L442.565,428.612L442.97,428.451L443.131,429.495L443.576,429.492L444.308,429.112L444.773,429.207L445.551,429.93L446.751,430.158L447.52,429.542L448.426,429.16L449.1,428.761L449.661,428.836L450.284,429.462L450.618,430.248L451.767,431.439L451.192,432.17L451.083,433.093L451.68,432.814L452.03,433.145L451.882,433.989L452.738,434.806L452.179,435.025L451.954,435.985L452.6,437.153L453.293,439.41L452.251,439.749L451.983,440.14L452.2,440.684L452.035,441.91z"},{id:"GQ",title:"Equatorial Guinea",d:"M501.87,460.572L501.345,460.152L502.308,457.022L506.871,457.086L506.895,460.439L502.815,460.411z"},{id:"GR",title:"Greece",d:"M541.704,356.712l1.533,1.156l2.182,-0.195l2.086,0.243l-0.067,0.595l1.528,-0.41l-0.351,1.007l-4.038,0.29l0.028,-0.563l-3.421,-0.666L541.704,356.712zM549.847,335.754l-0.868,2.325l-0.666,0.414l-1.708,-0.104l-1.463,-0.35l-3.396,0.959l1.944,2.062l-1.424,0.594l-1.562,0.004l-1.483,-1.884l-0.526,0.804l0.626,2.176l1.403,1.697l-1.057,0.788l1.562,1.65l1.388,1.033l0.042,2l-1.358,-1.146l-1.236,0.209l0.827,1.799l-0.917,0.19l-1,-0.694l1.2,3.952l-0.583,0.014l-0.446,-1.263l-0.573,-0.025l-0.26,1.318l-0.454,-0.299l0.102,-0.739l-0.561,-1.045h-0.637l0.118,0.843l-0.25,0.267l-0.616,-0.54l-0.383,-1.021l0.519,-0.569l-0.357,-0.74l-0.408,-0.382l-0.423,-0.094l-0.491,-0.943l0.583,-0.519l0.357,-0.484l0.561,0.102l0.251,-0.41l0.59,-0.163l0.683,0.461l0.553,0.169l0.386,-0.622l-0.938,-0.084l-0.555,-0.194l-1.25,0.28l-1.219,0.048l-1.093,-1.641l-0.181,-0.254l0.167,-0.642l-1.423,-1.155l-0.19,-1.03l1.304,-1.765l0.168,-1.19l0.911,-0.533l0.056,-0.968l1.834,-0.327l1.069,-0.81l1.52,0.072l0.461,-0.647l0.534,-0.124l2.074,0.107l2.245,-1.024l1.976,1.301l2.548,-0.351l0.031,-1.859L549.847,335.754z"},{id:"GT",title:"Guatemala",d:"M222.638,424.754L221.2,424.254L219.451,424.202L218.168,423.632L216.66,422.446L216.729,421.607L217.054,420.931L216.656,420.391L218.005,418.032L221.604,418.023L221.676,417.035L221.222,416.859L220.91,416.229L219.874,415.557L218.83,414.583L220.096,414.576L220.098,412.931L222.716,412.926L225.309,412.958L225.287,415.273L225.068,418.553L225.905,418.552L226.819,419.076L227.061,418.645L227.883,419.014L226.605,420.117L225.276,420.925L225.079,421.479L225.302,422.045L224.719,422.776L224.063,422.953L224.212,423.292L223.686,423.609L222.725,424.334z"},{id:"GW",title:"Guinea-Bissau",d:"M432.83,432.442L431.333,431.255L430.152,431.066L429.509,430.265L429.525,429.832L428.67,429.227L428.492,428.617L429.977,428.152L430.906,428.244L431.657,427.923L436.839,428.042L436.788,429.01L436.48,429.308L436.719,430.251L436.277,430.628L435.659,430.633L434.927,431.11L434.077,431.058z"},{id:"GY",title:"Guyana",d:"M307.7,439.998L309.541,441.033L311.275,442.864L311.354,444.31L312.411,444.376L313.913,445.744L315.02,446.719L314.572,449.236L312.87,449.966L313.021,450.625L312.504,452.066L313.747,454.093L314.645,454.096L315.013,455.67L316.725,458.094L316.042,458.194L314.492,457.957L313.58,458.698L312.312,459.187L311.425,459.308L311.115,459.853L309.739,459.715L308.014,458.408L307.811,457.118L307.093,455.708L307.54,453.334L308.317,452.351L307.674,451.053L306.71,450.63L307.075,449.402L306.423,448.758L304.965,448.882L303.067,446.758L303.827,445.987L303.771,444.693L305.497,444.243L306.193,443.717L305.233,442.675L305.478,441.65z"},{id:"HN",title:"Honduras",d:"M230.43,426.904L229.946,426.009L229.094,425.76L229.289,424.612L228.908,424.301L228.331,424.097L227.101,424.438L226.997,424.052L226.15,423.591L225.546,423.018L224.719,422.776L225.302,422.045L225.079,421.479L225.276,420.925L226.605,420.117L227.883,419.014L228.174,419.127L228.789,418.618L229.591,418.577L229.852,418.813L230.287,418.669L231.589,418.93L232.885,418.854L233.787,418.534L234.116,418.209L235.01,418.359L235.681,418.557L236.414,418.489L236.971,418.237L238.252,418.639L238.697,418.703L239.553,419.244L240.363,419.893L241.382,420.335L242.121,421.129L241.159,421.07L240.771,421.463L239.797,421.839L239.089,421.841L238.47,422.208L237.908,422.077L237.43,421.637L237.137,421.721L236.777,422.409L236.508,422.384L236.462,422.977L235.483,423.768L234.967,424.109L234.679,424.465L233.852,423.885L233.247,424.651L232.662,424.631L232.004,424.698L232.064,426.107L231.653,426.133L231.302,426.787z"},{id:"HR",title:"Croatia",d:"M528.049,318.934L528.73,320.484L529.621,321.618L528.542,323.106L527.273,322.232L525.335,322.287L522.924,321.629L521.614,321.717L521.007,322.539L520,321.629L519.414,323.27L520.787,325.104L521.395,326.313L522.684,327.76L523.752,328.613L524.811,330.215L527.292,331.658L526.984,332.303L524.348,330.896L522.722,329.521L520.158,328.379L517.8,325.526L518.366,325.234L517.087,323.586L517.035,322.254L515.232,321.629L514.373,323.335L513.545,322.013L513.608,320.633L513.708,320.569L515.662,320.705L516.175,320.031L517.129,320.683L518.229,320.76L518.219,319.644L519.193,319.234L519.466,317.607L521.698,316.531L522.589,317.031L524.685,318.762L527.001,319.533z"},{id:"HT",title:"Haiti",d:"M270.04,406.751L271.75,406.882L274.182,407.348L274.427,408.957L274.213,410.09L273.529,410.586L274.251,411.468L274.193,412.265L272.331,411.767L271.008,411.97L269.297,411.758L267.985,412.306L266.483,411.392L266.73,410.445L269.312,410.853L271.427,411.089L272.437,410.435L271.156,409.158L271.177,408.03L269.408,407.569z"},{id:"HU",title:"Hungary",d:"M520.682,315.111L521.613,312.464L521.069,311.565L522.648,311.557L522.861,309.853L524.288,310.922L525.322,311.376L527.675,310.866L527.901,310.027L529.015,309.903L530.38,309.252L530.684,309.521L532,308.997L532.658,308.005L533.577,307.747L536.58,309.028L537.178,308.598L538.734,309.741L538.93,310.861L537.217,311.733L535.891,314.531L534.195,317.292L531.947,318.054L530.197,317.875L528.049,318.934L527.001,319.533L524.685,318.762L522.589,317.031L521.698,316.531L521.153,315.156z"},{id:"ID",title:"Indonesia",d:"M813.722,492.058l-1.18,0.054l-3.721,-1.981l2.614,-0.555l1.474,0.86l0.98,0.858L813.722,492.058zM824.153,491.776l-2.4,0.623l-0.336,-0.34l0.252,-0.962l1.206,-1.724l2.771,-1.12l0.284,0.556l0.052,0.856L824.153,491.776zM805.827,486.009l1.011,0.75l1.732,-0.23l0.695,1.197l-3.241,0.566l-1.942,0.378l-1.507,-0.022l0.963,-1.623l1.538,-0.022L805.827,486.009zM819.856,486.005l-0.411,1.564l-4.213,0.8l-3.729,-0.348l-0.01,-1.03l2.228,-0.585l1.757,0.844l1.866,-0.214L819.856,486.005zM779.817,482.306l5.371,0.28l0.618,-1.156l5.201,1.349l1.021,1.82l4.207,0.513l3.438,1.672l-3.199,1.073l-3.083,-1.135l-2.538,0.077l-2.909,-0.208l-2.624,-0.505l-3.248,-1.074l-2.059,-0.278l-1.166,0.352l-5.113,-1.157l-0.486,-1.207l-2.565,-0.206l1.924,-2.678l3.401,0.166l2.264,1.095l1.162,0.214L779.817,482.306zM853.001,480.728l-1.442,1.909l-0.273,-2.11l0.498,-1.007l0.587,-0.946l0.638,0.819L853.001,480.728zM832.041,473.025l-1.05,0.926l-1.938,-0.513l-0.546,-1.2l2.836,-0.134L832.041,473.025zM841.075,472.006l1.02,2.134l-2.367,-1.15l-2.343,-0.233l-1.582,0.184l-1.94,-0.098l0.665,-1.534l3.463,-0.116L841.075,472.006zM851.371,466.593l0.783,4.507l2.901,1.669l2.344,-2.958l3.217,-1.682l2.493,-0.002l2.397,0.972l2.08,0.997l3.01,0.533l0.047,9.103l0.048,9.157l-2.497,-2.313l-2.848,-0.566l-0.69,0.802l-3.553,0.086l1.19,-2.289l1.766,-0.78l-0.731,-3.05l-1.346,-2.35l-5.436,-2.368l-2.313,-0.233l-4.21,-2.58l-0.828,1.356l-1.076,0.246l-0.637,-1.024l-0.009,-1.212l-2.142,-1.37l3.02,-1.004l2,0.054l-0.235,-0.74l-4.104,-0.005l-1.11,-1.659l-2.505,-0.514l-1.187,-1.378l3.779,-0.675l1.438,-0.908l4.501,1.144L851.371,466.593zM826.409,459.431l-2.253,2.763l-2.107,0.536l-2.698,-0.544l-4.673,0.139l-2.449,0.401l-0.398,2.108l2.51,2.477l1.514,-1.262l5.229,-0.948l-0.23,1.283l-1.222,-0.405l-1.218,1.632l-2.468,1.08l2.653,3.573l-0.513,0.958l2.521,3.223l-0.024,1.837l-1.497,0.822l-1.1,-0.984l1.355,-2.289l-2.752,1.082l-0.697,-0.773l0.363,-1.079l-2.021,-1.637l0.208,-2.718l-1.87,0.848l0.237,3.253l0.114,3.999l-1.778,0.406l-1.204,-0.821l0.804,-2.573l-0.434,-2.694l-1.18,-0.021l-0.871,-1.911l1.159,-1.826l0.399,-2.212l1.409,-4.199l0.588,-1.148l2.384,-2.069l2.189,0.823l3.535,0.387l3.225,-0.117l2.771,-2.023L826.409,459.431zM836.076,460.231l-0.146,2.434l-1.446,-0.272l-0.427,1.695l1.155,1.47l-0.785,0.334l-1.132,-1.764l-0.833,-3.561l0.564,-2.226l0.93,-1.014l0.202,1.522l1.655,0.244L836.076,460.231zM805.759,458.294l3.144,2.578l-3.322,0.329l-0.936,1.898l0.122,2.524l-2.696,1.905l-0.074,2.775l-1.081,4.266l-0.413,-0.993l-3.186,1.256l-1.11,-1.707l-1.999,-0.158l-1.398,-0.894l-3.333,1.003l-1.023,-1.35l-1.836,0.154l-2.312,-0.322l-0.429,-3.738l-1.399,-0.774l-1.346,-2.383l-0.391,-2.437l0.326,-2.581l1.666,-1.852l0.469,1.862l1.917,1.574l1.809,-0.566l1.79,0.201l1.634,-1.409l1.345,-0.244l2.652,0.781l2.287,-0.594l1.438,-3.876l1.079,-0.97l0.972,-3.175l3.224,0.001l2.43,0.471l-1.595,2.521l2.062,2.64L805.759,458.294zM771.95,479.713l-3.104,0.059l-2.361,-2.339l-3.601,-2.283l-1.2,-1.692l-2.122,-2.271l-1.393,-2.089l-2.133,-3.9l-2.462,-2.321l-0.824,-2.395l-1.033,-2.175l-2.528,-1.755l-1.466,-2.386l-2.111,-1.563l-2.925,-3.078l-0.246,-1.424l1.806,0.113l4.34,0.541l2.479,2.733l2.169,1.893l1.546,1.161l2.656,2.997l2.851,0.043l2.355,1.909l1.623,2.333l2.135,1.272l-1.123,2.274l1.606,0.967l1.007,0.071l0.476,1.943l0.977,1.555l2.059,0.247l1.364,1.765l-0.704,3.471L771.95,479.713z"},{id:"IE",title:"Ireland",d:"M457.875,284.288L458.337,287.648L456.218,291.771L451.248,294.453L447.279,293.77L449.552,288.99L448.088,284.223L451.902,280.47L454.021,278.198L454.6,280.802L454.021,283.373L455.756,283.308z"},{id:"IL",title:"Israel",d:"M575.406,366.825L574.918,367.868L573.903,367.41L573.317,369.606L574.021,369.975L573.305,370.426L573.184,371.287L574.502,370.844L574.568,372.114L573.171,377.28L571.328,371.725L572.144,370.648L571.953,370.462L572.694,368.927L573.263,366.433L573.664,365.59L573.741,365.556L574.68,365.562L574.938,364.978L575.69,364.934L575.733,366.297L575.353,366.802z"},{id:"IN",title:"India",d:"M693.498,357.437L696.512,361.426L696.228,364.169L697.343,365.877L697.251,367.571L695.239,367.126L696.025,370.756L698.78,372.821L702.677,375.086L700.897,376.547L699.809,379.538L702.525,380.74L705.169,382.292L708.826,384.059L712.669,384.465L714.286,386.058L716.453,386.354L719.826,387.081L722.161,387.029L722.482,385.794L722.113,383.803L722.33,382.447L724.04,381.782L724.275,384.263L724.335,384.892L726.884,386.079L728.646,385.59L731.014,385.8L733.301,385.707L733.498,383.782L732.356,382.777L734.618,382.383L737.17,380.027L740.402,377.997L742.754,378.782L744.753,377.436L746.067,379.421L745.12,380.756L748.144,381.229L748.355,382.428L747.372,383.006L747.603,384.939L745.599,384.372L741.969,386.534L742.054,388.313L740.507,390.907L740.364,392.405L739.114,394.927L736.923,394.231L736.814,397.379L736.181,398.41L736.477,399.691L735.094,400.405L733.617,395.606L732.843,395.616L732.385,397.556L730.85,395.984L731.715,394.25L732.97,394.073L734.262,391.479L732.646,390.953L730.045,390.999L727.377,390.576L727.13,388.426L725.791,388.273L723.57,386.93L722.58,389.037L724.604,390.672L722.851,391.819L722.229,392.938L723.954,393.757L723.478,395.596L724.449,397.877L724.886,400.362L724.484,401.458L722.576,401.421L719.12,402.043L719.281,404.291L717.784,406.051L713.749,408.045L710.611,411.511L708.503,413.359L705.709,415.271L705.705,416.609L704.308,417.325L701.782,418.364L700.472,418.518L699.632,420.723L700.215,424.466L700.364,426.842L699.176,429.554L699.163,434.379L697.712,434.516L696.436,436.673L697.289,437.604L694.732,438.403L693.788,440.319L692.663,441.128L690.009,438.499L688.711,434.542L687.635,431.682L686.652,430.336L685.163,427.598L684.467,424.016L683.982,422.22L681.432,418.252L680.271,412.606L679.432,408.844L679.442,405.255L678.898,402.461L674.818,404.249L672.842,403.892L669.179,400.261L670.527,399.172L669.699,397.986L666.41,395.411L668.277,393.374L674.447,393.382L673.891,390.745L672.315,389.179L671.996,386.788L670.161,385.386L673.251,382.091L676.507,382.331L679.44,379.005L681.197,375.754L683.92,372.505L683.876,370.177L686.268,368.274L684.004,366.64L683.03,364.386L682.037,361.44L683.411,359.979L687.665,360.807L690.79,360.303z"},{id:"IQ",title:"Iraq",d:"M602.605,355.773L604.444,356.807L604.656,358.807L603.245,359.982L602.595,362.62L604.537,365.801L607.972,367.62L609.415,370.123L608.956,372.489L609.851,372.488L609.879,374.217L611.43,375.914L609.767,375.756L607.882,375.487L605.825,378.567L600.612,378.312L592.706,371.821L588.528,369.529L585.151,368.637L584.021,364.596L590.228,361.097L591.288,356.976L591.023,354.455L592.558,353.598L593.995,351.418L595.199,350.873L598.46,351.326L599.445,352.218L600.789,351.627z"},{id:"IR",title:"Iran",d:"M626.441,351.527L628.905,350.848L630.899,348.831L632.774,348.934L634.005,348.273L635.999,348.6L639.1,350.391L641.339,350.775L644.543,353.87L646.633,353.995L646.879,356.901L645.736,361.148L644.966,363.599L646.187,364.094L644.987,365.921L645.905,368.565L646.125,370.65L648.249,371.202L648.479,373.298L645.936,376.228L647.323,377.914L648.452,379.84L651.133,381.236L651.21,384.013L652.552,384.521L652.783,385.963L648.739,387.572L647.683,391.167L642.408,390.236L639.351,389.526L636.187,389.124L634.99,385.308L633.648,384.752L631.494,385.312L628.666,386.823L625.239,385.788L622.409,383.378L619.71,382.481L617.837,379.474L615.768,375.201L614.259,375.724L612.477,374.655L611.43,375.914L609.879,374.217L609.851,372.488L608.956,372.489L609.415,370.123L607.972,367.62L604.537,365.801L602.595,362.62L603.245,359.982L604.656,358.807L604.444,356.807L602.605,355.773L600.789,351.626L599.255,348.805L599.804,347.705L598.929,343.593L600.849,342.561L601.293,343.926L602.71,345.587L604.633,346.064L605.648,345.958L608.955,343.302L610.006,343.035L610.835,344.096L609.868,345.875L611.617,347.744L612.314,347.566L613.201,350.178L615.86,350.911L617.808,352.667L621.794,353.269L626.173,352.345z"},{id:"IS",title:"Iceland",d:"M434.573,212.429L433.925,216.909L437.093,221.51L433.448,226.516L425.36,230.897L422.943,232.045L419.252,231.119L411.429,229.111L414.189,226.27L408.086,223.071L413.051,221.788L412.931,219.825L407.046,218.254L408.94,213.78L413.19,212.748L417.56,217.432L421.82,213.682L425.348,215.639L429.921,211.932z"},{id:"IT",title:"Italy",d:"M518.77,347.883l-1.01,2.783l0.419,1.087l-0.588,1.795l-2.145,-1.313l-1.426,-0.377l-3.914,-1.786l0.393,-1.816l3.281,0.324l2.86,-0.387L518.77,347.883zM501.077,337.065l1.682,2.622l-0.394,4.811l-1.275,-0.228l-1.144,1.201l-1.062,-0.954l-0.112,-4.384l-0.64,-2.105l1.542,0.185L501.077,337.065zM509.955,315.458l4.01,1.051l-0.304,1.991l0.671,1.707l-2.232,-0.583l-2.28,1.417l0.155,1.966l-0.343,1.121l0.919,1.989l2.629,1.951l1.41,3.167l3.12,3.047l2.197,-0.023l0.683,0.829l-0.787,0.745l2.511,1.345l2.059,1.12l2.404,1.919l0.291,0.683l-0.524,1.306l-1.556,-1.704l-2.436,-0.603l-1.18,2.362l2.026,1.344l-0.333,1.879l-1.171,0.213l-1.498,3.057l-1.168,0.272l0.011,-1.084l0.572,-1.913l0.609,-0.766l-1.095,-2.09l-0.855,-1.833l-1.164,-0.455l-0.828,-1.583l-1.802,-0.67l-1.213,-1.487l-2.075,-0.241l-2.191,-1.683l-2.565,-2.448l-1.906,-2.188l-0.875,-3.803l-1.395,-0.452l-2.281,-1.287l-1.291,0.528l-1.62,1.802l-1.165,0.284l0.321,-1.684l-1.52,-0.494l-0.723,-3.039l0.972,-1.208l-0.825,-1.498l0.116,-1.134l1.207,0.86l1.352,-0.19l1.572,-1.364l0.486,0.639l1.335,-0.128l0.607,-1.63l2.075,0.508l1.235,-0.684l0.222,-1.67l1.699,0.581l0.326,-0.777l2.771,-0.712L509.955,315.458z"},{id:"JM",title:"Jamaica",d:"M257.759,410.958L259.646,411.221L261.136,411.926L261.601,412.729L259.629,412.783L258.778,413.272L257.208,412.802L255.605,411.734L255.942,411.063L257.121,410.858z"},{id:"JO",title:"Jordan",d:"M574.918,367.868L575.406,366.825L578.53,368.136L584.021,364.596L585.151,368.637L584.617,369.134L579.001,370.78L581.796,374.036L580.869,374.585L580.407,375.666L578.268,376.111L577.597,377.268L576.385,378.252L573.265,377.744L573.171,377.28L574.568,372.114L574.502,370.844L574.917,369.882z"},{id:"JP",title:"Japan",d:"M852.76,362.009l0.358,1.154l-1.579,2.025l-1.15,-1.072l-1.438,0.777l-0.744,1.946l-1.827,-0.946l0.022,-1.583l1.551,-2.003l1.595,0.39l1.152,-1.417L852.76,362.009zM870.53,351.726l-1.057,2.781l0.489,1.731l-1.461,2.416l-3.582,1.602l-4.929,0.208l-3.995,3.844l-1.884,-1.288l-0.116,-2.523l-4.877,0.747l-3.318,1.588l-3.282,0.064l2.843,2.463l-1.871,5.611l-1.813,1.373l-1.356,-1.268l0.688,-2.961l-1.774,-0.962l-1.139,-2.281l2.65,-1.03l1.471,-2.114l2.82,-1.75l2.057,-2.333l5.581,-1.023l2.998,0.702l2.934,-6.168l1.869,1.671l4.113,-3.512l1.595,-1.377l1.763,-4.383l-0.481,-4.1l1.185,-2.333l2.981,-0.682l1.528,5.108l-0.083,2.938l-2.594,3.602L870.53,351.726zM878.756,325.795l1.972,0.829l1.983,-1.651l0.623,4.348l-4.159,1.048l-2.455,3.763l-4.409,-2.583l-1.525,4.122l-3.119,0.056l-0.386,-3.741l1.387,-2.937l2.996,-0.213l0.817,-5.381l0.829,-3.089l3.295,4.117L878.756,325.795z"},{id:"KE",title:"Kenya",d:"M590.191,465.775L591.852,468.074L589.888,469.187L589.195,470.35L588.145,470.554L587.747,472.519L586.847,473.645L586.299,475.502L585.17,476.425L581.146,473.633L580.955,472.015L570.788,466.337L570.314,466.031L570.286,463.079L571.089,461.951L572.468,460.107L573.489,458.076L572.255,454.876L571.927,453.476L570.598,451.538L572.323,449.869L574.224,448.026L575.68,448.496L575.68,450.065L576.638,450.985L578.589,450.985L582.138,453.356L583.024,453.384L583.681,453.307L584.302,453.629L586.172,453.849L587,452.686L589.562,451.518L590.692,452.461L592.608,452.462L590.158,455.627z"},{id:"KG",title:"Kyrgyzstan",d:"M674.221,333.111L674.849,331.451L676.694,330.914L681.308,332.223L681.743,329.976L683.335,329.182L687.328,330.791L688.347,330.37L692.996,330.475L697.156,330.874L698.563,332.239L700.29,332.794L699.896,333.647L695.478,335.679L694.479,337.157L690.882,337.597L689.821,339.951L686.854,339.459L684.916,340.177L682.239,341.903L682.626,342.753L681.828,343.582L676.526,344.129L673.063,342.955L670.022,343.236L670.288,341.14L673.34,341.75L674.366,340.624L676.499,340.984L680.09,338.339L676.767,336.385L674.77,337.312L672.7,335.911L675.054,333.482z"},{id:"KH",title:"Cambodia",d:"M765.444,433.599L764.304,432.121L762.886,429.182L762.222,425.732L764.018,423.347L767.643,422.797L770.271,423.21L772.585,424.336L773.854,422.354L776.338,423.413L776.988,425.327L776.643,428.753L771.93,430.944L773.161,432.665L770.218,432.871L767.791,434.013z"},{id:"KP",title:"North Korea",d:"M841.548,332.624L841.94,333.285L840.875,333.059L839.658,334.334L838.821,335.608L838.927,338.276L837.478,339.092L836.979,339.74L835.922,340.823L834.055,341.424L832.838,342.401L832.75,343.969L832.423,344.368L833.539,344.953L835.127,346.525L834.723,347.388L833.529,347.623L831.548,347.795L830.455,349.395L829.204,349.269L829.028,349.589L827.667,348.917L827.328,349.581L826.507,349.874L826.408,349.209L825.682,348.885L824.928,348.32L825.695,346.753L826.356,346.333L826.107,345.679L826.818,343.738L826.635,343.146L824.998,342.752L823.676,341.777L825.959,339.43L829.049,337.446L830.976,334.802L832.307,335.974L834.73,336.11L834.293,334.135L838.623,332.511L839.737,330.38z"},{id:"KR",title:"South Korea",d:"M835.127,346.525L837.547,350.707L838.241,352.977L838.263,356.962L837.206,358.844L834.667,359.498L832.426,360.906L829.9,361.196L829.587,359.348L830.106,356.782L828.867,353.181L830.95,352.594L829.028,349.589L829.204,349.269L830.455,349.395L831.548,347.795L833.529,347.623L834.723,347.388z"},{id:"XK",title:"Kosovo",d:"M533.467,333.918L533.341,334.688L532.985,334.657L532.796,333.293L532.125,332.907L531.528,331.891L532.052,331.039L532.723,330.765L533.111,329.495L533.614,329.283L534.012,329.824L534.536,330.062L534.903,330.669L535.364,330.849L535.909,331.554L536.307,331.533L535.993,332.457L535.657,332.907L535.75,333.19L535.123,333.335z"},{id:"KW",title:"Kuwait",d:"M609.767,375.756L610.352,377.174L610.101,377.905L611.004,380.309L609.021,380.391L608.323,378.875L605.825,378.567L607.882,375.487z"},{id:"KZ",title:"Kazakhstan",d:"M674.221,333.111L672.613,333.808L668.915,336.417L667.688,339.066L666.644,339.09L665.875,337.339L662.31,337.219L661.739,334.16L660.373,334.134L660.582,330.333L657.226,327.526L652.417,327.828L649.129,328.389L646.451,324.891L644.157,323.407L639.811,320.57L639.287,320.224L632.069,322.571L632.18,336.698L630.741,336.88L628.779,333.948L626.884,332.892L623.701,333.677L622.462,334.927L622.305,334.012L622.994,332.439L622.459,331.117L619.21,329.816L617.944,326.352L616.396,325.367L616.303,324.091L619.03,324.464L619.138,321.581L621.522,320.935L623.972,321.529L624.477,317.622L623.977,315.108L621.171,315.306L618.787,314.307L615.541,316.104L612.925,316.955L611.501,316.299L611.786,314.197L609.999,311.437L607.918,311.553L605.538,308.716L607.156,305.501L606.337,304.627L608.575,299.857L611.458,302.389L611.807,299.196L617.595,294.347L621.975,294.23L628.155,297.332L631.475,299.123L634.45,297.255L638.895,297.166L642.481,299.458L643.296,298.148L647.234,298.339L647.937,296.233L643.393,293.136L646.084,290.913L645.559,289.659L648.251,288.455L646.227,285.247L647.512,283.629L658.004,281.966L659.373,280.776L666.389,278.985L668.91,276.953L673.949,278.011L674.832,283.023L677.759,281.858L681.36,283.489L681.128,286.072L683.817,285.804L690.844,281.31L689.818,282.814L693.396,286.473L699.661,298.049L701.155,295.716L705.018,298.281L709.047,297.141L710.595,297.94L711.944,300.486L713.904,301.334L715.098,303.177L718.71,302.598L720.197,305.232L718.063,308.063L715.734,308.457L715.601,312.643L714.041,314.503L708.479,313.15L706.456,320.412L705.021,321.298L699.466,322.88L701.99,329.634L700.066,330.629L700.29,332.794L698.563,332.239L697.156,330.874L692.996,330.475L688.347,330.37L687.328,330.791L683.335,329.182L681.743,329.976L681.308,332.223L676.694,330.914L674.849,331.451z"},{id:"LA",title:"Lao People's Democratic Republic",d:"M770.271,423.21L771.184,421.913L771.309,419.47L769.039,416.943L768.864,414.068L766.731,411.69L764.611,411.489L764.046,412.509L762.404,412.594L761.564,412.077L758.609,413.823L758.543,411.197L759.232,408.093L757.338,407.957L757.177,406.177L755.964,405.26L756.561,404.164L758.947,402.22L759.199,402.923L760.694,403.004L760.271,399.571L761.724,399.129L763.362,401.505L764.621,404.222L768.073,404.245L769.16,406.837L767.368,407.613L766.563,408.676L769.923,410.438L772.253,413.903L774.021,416.471L776.142,418.49L776.848,420.533L776.338,423.413L773.854,422.354L772.585,424.336z"},{id:"LB",title:"Lebanon",d:"M575.69,364.934L574.938,364.978L574.68,365.562L573.741,365.556L574.74,362.83L576.134,360.451L576.187,360.332L577.448,360.505L577.907,361.832L576.378,363.101z"},{id:"LK",title:"Sri Lanka",d:"M704.574,442.372L704.152,445.294L702.977,446.091L700.538,446.732L699.203,444.504L698.706,440.466L699.976,435.888L701.913,437.457L703.219,439.442z"},{id:"LR",title:"Liberia",d:"M453.629,451.218L452.895,451.242L450.005,449.91L447.457,447.781L445.068,446.25L443.18,444.441L443.851,443.543L443.999,442.727L445.264,441.201L446.569,439.888L447.168,439.825L447.9,439.508L449.073,441.232L448.887,442.361L449.433,442.959L450.226,442.973L450.797,441.841L451.59,441.914L451.461,442.73L451.741,444.088L451.132,445.333L451.949,446.103L452.84,446.29L454.027,447.463L454.113,448.565L453.845,448.916z"},{id:"LS",title:"Lesotho",d:"M556.504,547.746L557.477,548.709L556.616,550.268L556.14,551.318L554.577,551.822L554.062,552.855L553.058,553.178L550.955,550.693L552.45,548.662L553.969,547.414L555.28,546.765z"},{id:"LT",title:"Lithuania",d:"M538.988,282.094L538.763,280.866L539.063,279.539L537.823,278.766L534.887,277.91L534.291,273.746L537.502,272.203L542.204,272.527L544.958,272.028L545.352,273.076L546.844,273.398L549.539,275.817L549.803,278.024L547.504,279.586L546.853,282.31L543.809,284.107L541.099,284.075L540.426,282.606z"},{id:"LU",title:"Luxembourg",d:"M492.197,301.287L492.757,302.27L492.599,304.165L491.79,304.255L491.162,303.882L491.466,301.452z"},{id:"LV",title:"Latvia",d:"M534.291,273.746L534.387,269.938L535.765,266.703L538.408,264.92L540.634,268.799L542.884,268.699L543.423,264.71L545.811,263.78L547.04,264.426L549.453,266.368L551.765,266.377L553.116,267.572L553.355,270.063L554.256,273.053L551.244,274.982L549.539,275.817L546.844,273.398L545.352,273.076L544.958,272.028L542.204,272.527L537.502,272.203z"},{id:"LY",title:"Libya",d:"M516.894,397.927L514.91,399.05L513.333,397.389L508.898,396.081L507.667,394.172L505.454,392.751L504.144,393.312L503.146,391.601L503.041,390.281L501.383,388.025L502.496,386.725L502.251,384.76L502.608,383.041L502.405,381.601L502.899,379.011L502.747,377.526L501.839,374.686L503.208,373.936L503.45,372.564L503.152,371.213L505.077,369.951L505.94,368.898L507.307,367.951L507.466,365.402L510.759,366.547L511.937,366.262L514.279,366.815L518,368.294L519.313,371.212L521.83,371.846L525.781,373.208L528.769,374.818L530.136,373.979L531.479,372.486L530.826,369.983L531.706,368.382L533.726,366.833L535.656,366.38L539.449,367.059L540.405,368.537L541.449,368.55L542.342,369.112L545.128,369.498L545.812,370.582L544.796,372.149L545.23,373.539L544.508,375.535L545.349,378.121L545.349,389.301L545.349,400.529L545.349,406.492L542.125,406.501L542.09,407.744L530.907,402.045L519.725,396.269z"},{id:"MA",title:"Morocco",d:"M471.361,366.311L470.393,362.782L470.226,360.729L469.169,358.551L467.951,358.514L465.047,357.759L462.38,357.996L460.69,356.54L458.626,356.523L457.745,358.627L455.871,362.14L453.792,363.53L450.979,365.058L449.175,367.304L448.799,369.042L447.734,371.861L448.435,375.892L446.094,378.568L444.688,379.418L442.479,381.587L439.872,381.937L438.462,383.148L438.446,383.162L450.956,383.148L450.956,383.141L450.932,379.389L455.46,377.03L458.26,376.541L460.555,375.676L461.627,374.059L464.905,372.775L465.026,370.358L466.648,370.072L467.917,368.856L471.586,368.301L472.1,367.016z"},{id:"MD",title:"Moldova",d:"M549.89,309.445L550.559,308.826L552.422,308.409L554.489,309.718L555.642,309.875L556.909,310.999L556.708,312.406L557.729,313.082L558.134,314.799L559.113,315.837L558.915,316.444L559.438,316.855L558.695,317.155L557.043,317.036L556.767,316.475L556.181,316.799L556.379,317.523L555.611,318.809L555.122,320.184L554.416,320.617L553.914,318.791L554.209,317.067L554.12,315.282L552.502,312.84L551.613,311.092L550.744,309.854z"},{id:"ME",title:"Montenegro",d:"M530.774,332.227L530.596,331.512L529.38,333.377L529.568,334.573L528.981,334.283L528.196,333.053L526.984,332.302L527.292,331.658L527.703,329.559L528.615,328.666L529.139,328.314L529.883,328.975L530.292,329.506L531.214,329.919L532.283,330.712L532.052,331.039L531.528,331.891z"},{id:"MG",title:"Madagascar",d:"M614.166,498.396L614.91,499.611L615.604,501.501L616.056,504.958L616.781,506.307L616.503,507.693L616.007,508.546L615.055,506.85L614.527,507.706L615.063,509.854L614.813,511.087L614.04,511.76L613.863,514.236L612.759,517.663L611.376,521.745L609.644,527.42L608.57,531.634L607.303,535.184L605.022,535.913L602.575,537.218L600.96,536.43L598.734,535.327L597.96,533.708L597.775,531.001L596.788,528.583L596.531,526.414L597.034,524.251L598.324,523.733L598.332,522.739L599.672,520.484L599.925,518.598L599.274,517.2L598.743,515.345L598.519,512.647L599.499,511.016L599.875,509.172L601.272,509.065L602.836,508.471L603.874,507.947L605.105,507.908L606.704,506.26L609.011,504.484L609.853,503.038L609.471,501.811L610.662,502.156L612.207,500.165L612.259,498.447L613.188,497.172z"},{id:"MK",title:"Macedonia",d:"M532.985,334.657L533.341,334.688L533.467,333.918L535.123,333.335L535.75,333.19L536.705,332.97L538.005,332.907L539.409,334.116L539.608,336.589L539.074,336.713L538.612,337.36L537.093,337.288L536.024,338.098L534.19,338.425L533.027,337.524L532.628,335.93z"},{id:"ML",title:"Mali",d:"M441.128,422.221L442.072,421.696L442.543,419.996L443.432,419.93L445.39,420.734L446.971,420.163L448.055,420.354L448.476,419.712L459.726,419.668L460.35,417.64L459.864,417.282L458.511,404.597L457.158,391.541L461.449,391.485L470.907,398.139L480.365,404.686L481.032,406.079L482.777,406.928L484.076,407.409L484.108,409.289L487.218,409L487.226,415.75L485.693,417.691L485.454,419.476L482.963,419.935L479.138,420.183L478.101,421.208L476.304,421.322L474.506,421.335L473.807,420.782L472.263,421.192L469.643,422.388L469.107,423.287L466.932,424.574L466.551,425.311L465.375,425.894L464.02,425.508L463.251,426.207L462.84,428.167L460.614,430.528L460.679,431.491L459.914,432.695L460.1,434.341L458.943,434.76L458.289,435.117L457.854,433.906L457.045,434.226L456.561,434.17L456.045,434.997L453.88,434.974L453.104,434.548L452.738,434.806L451.882,433.989L452.03,433.145L451.68,432.814L451.083,433.093L451.192,432.17L451.767,431.439L450.618,430.248L450.284,429.462L449.661,428.836L449.1,428.761L448.426,429.16L447.52,429.542L446.751,430.158L445.551,429.93L444.773,429.207L444.308,429.112L443.576,429.492L443.131,429.495L442.97,428.451L443.099,427.562L442.859,426.456L441.81,425.652L441.256,424.01z"},{id:"MM",title:"Myanmar",d:"M754.357,405.947L752.722,407.233L750.742,407.366L749.464,410.556L748.28,411.09L749.636,413.662L751.415,415.792L752.563,417.709L751.537,420.227L750.569,420.76L751.238,422.206L753.108,424.49L753.429,426.09L753.385,427.418L754.481,430.019L752.941,432.669L751.583,435.58L751.313,433.478L752.174,431.304L751.231,429.62L751.459,426.51L750.321,425.026L749.407,421.586L748.9,417.934L747.688,415.526L745.841,416.985L742.654,419.053L741.082,418.795L739.345,418.115L740.311,414.511L739.726,411.771L737.528,408.376L737.871,407.311L736.23,406.931L734.241,404.507L734.058,402.104L735.036,402.557L735.094,400.405L736.477,399.691L736.181,398.41L736.814,397.379L736.923,394.231L739.114,394.927L740.364,392.405L740.507,390.907L742.054,388.313L741.969,386.534L745.599,384.372L747.603,384.939L747.372,383.006L748.355,382.428L748.144,381.229L749.784,380.994L750.721,382.854L751.944,383.605L752.027,386.003L751.914,388.57L749.259,391.15L748.922,394.785L751.882,394.278L752.551,397.079L754.326,397.666L753.51,400.173L755.592,401.301L756.806,401.854L758.862,400.98L758.947,402.22L756.561,404.164L755.964,405.26z"},{id:"MN",title:"Mongolia",d:"M721.295,304.88L724.251,304.136L729.601,300.396L733.865,298.326L736.304,299.679L739.229,299.744L741.103,301.787L743.901,301.943L747.955,303.033L750.681,300L749.542,297.4L752.446,292.741L755.587,294.612L758.132,295.139L761.429,296.291L761.964,299.612L765.946,301.453L768.597,300.644L772.144,300.071L774.953,300.648L777.699,302.74L779.401,304.943L782.001,304.898L785.533,305.595L788.11,304.533L791.802,303.821L795.908,300.762L797.59,301.234L799.058,302.69L802.403,302.329L801.038,305.576L799.057,309.803L799.779,311.509L801.366,310.981L804.132,311.628L806.287,310.09L808.537,311.423L811.078,314.31L810.771,315.763L808.559,315.303L804.486,315.844L802.513,317L800.458,319.662L796.183,321.208L793.389,323.309L790.507,322.509L788.93,322.151L787.457,324.689L788.353,326.188L788.807,327.468L786.844,328.765L784.832,330.816L781.556,332.153L777.354,332.297L772.824,333.608L769.56,335.622L768.318,334.458L764.926,334.461L760.777,332.17L758.01,331.605L754.28,332.133L748.493,331.282L745.402,331.37L743.757,329.101L742.479,325.533L740.747,325.1L737.359,322.652L733.583,322.1L730.251,321.421L729.242,319.692L730.321,314.965L728.387,311.646L724.388,310.081L722.031,307.85z"},{id:"MR",title:"Mauritania",d:"M441.128,422.221L439.278,420.24L437.581,418.111L435.72,417.343L434.38,416.488L432.814,416.521L431.446,417.154L430.053,416.903L429.093,417.834L428.85,416.269L429.633,414.832L429.981,412.079L429.671,409.173L429.333,407.705L429.612,406.227L428.888,404.814L427.41,403.526L428.021,402.529L439.001,402.548L438.47,398.204L439.156,396.648L441.783,396.375L441.692,388.524L450.895,388.687L450.903,383.96L461.449,391.485L457.158,391.541L458.511,404.597L459.864,417.282L460.35,417.64L459.726,419.668L448.476,419.712L448.055,420.354L446.971,420.163L445.39,420.734L443.432,419.93L442.543,419.996L442.072,421.696z"},{id:"MW",title:"Malawi",d:"M572.154,495.69L571.369,497.854L572.154,501.57L573.127,501.529L574.139,502.454L575.313,504.532L575.552,508.246L574.338,508.856L573.482,510.873L571.653,509.077L571.445,507.036L572.035,505.693L571.873,504.538L570.766,503.81L569.994,504.074L568.38,502.695L566.906,501.951L567.757,499.292L568.639,498.299L568.101,495.938L568.664,493.636L569.142,492.868L568.429,490.466L567.105,489.207L569.854,489.733L570.418,490.514L571.369,491.833z"},{id:"MX",title:"Mexico",d:"M202.887,388.721L201.799,391.432L201.308,393.639L201.104,397.716L200.833,399.191L201.319,400.834L202.188,402.296L202.749,404.612L204.609,406.825L205.264,408.513L206.361,409.965L209.338,410.745L210.497,411.974L212.957,411.153L215.094,410.856L217.194,410.328L218.958,409.823L220.742,408.62L221.41,406.895L221.64,404.398L222.125,403.526L224.024,402.743L226.989,402.049L229.472,402.153L231.172,401.899L231.845,402.534L231.75,403.974L230.243,405.743L229.577,407.548L230.093,408.063L229.673,409.34L228.97,411.635L228.26,410.881L227.673,410.93L227.14,410.968L226.135,412.739L225.626,412.393L225.287,412.527L225.309,412.958L222.716,412.926L220.098,412.931L220.096,414.576L218.83,414.583L219.874,415.557L220.91,416.229L221.222,416.859L221.676,417.035L221.604,418.023L218.005,418.032L216.656,420.391L217.054,420.931L216.729,421.607L216.66,422.446L213.487,419.339L212.041,418.399L209.751,417.643L208.186,417.853L205.934,418.943L204.52,419.229L202.54,418.466L200.439,417.914L197.818,416.582L195.716,416.175L192.542,414.82L190.196,413.424L189.488,412.643L187.919,412.468L185.051,411.54L183.884,410.199L180.871,408.525L179.466,406.659L178.798,405.212L179.733,404.921L179.445,404.072L180.089,403.297L180.103,402.263L179.157,400.917L178.904,399.72L177.964,398.196L175.493,395.18L172.674,392.792L171.31,390.877L168.903,389.617L168.388,388.86L168.815,386.941L167.386,386.213L165.731,384.693L165.032,382.5L163.523,382.243L161.896,380.576L160.582,379.028L160.459,378.031L158.952,375.61L157.958,373.133L158.001,371.883L155.973,370.586L155.037,370.729L153.437,369.826L152.987,371.156L153.451,372.721L153.724,375.153L154.686,376.48L156.767,378.687L157.229,379.437L157.655,379.664L158.025,380.755L158.523,380.711L159.086,382.75L159.938,383.552L160.535,384.664L162.297,386.255L163.227,389.146L164.06,390.5L164.838,391.942L164.993,393.559L166.345,393.66L167.469,395.047L168.486,396.406L168.418,396.949L167.238,398.062L166.741,398.047L166.002,396.204L164.167,394.469L162.145,392.99L160.711,392.211L160.804,389.958L160.378,388.28L159.042,387.317L157.115,385.926L156.745,386.328L156.037,385.514L154.308,384.756L152.655,382.932L152.86,382.694L154.015,382.873L155.055,381.693L155.16,380.264L153.001,377.99L151.355,377.104L150.322,375.095L149.282,372.972L147.983,370.363L146.844,367.4L150.03,367.146L153.591,366.786L153.329,367.434L157.563,369.039L163.959,371.348L169.535,371.325L171.758,371.324L171.764,369.973L176.622,369.974L177.644,371.135L179.078,372.167L180.744,373.596L181.673,375.285L182.371,377.054L183.82,378.021L186.148,378.979L187.914,376.45L190.207,376.388L192.183,377.667L193.59,379.851L194.559,381.709L196.213,383.507L196.831,385.702L197.616,387.168L199.803,388.131L201.793,388.813z"},{id:"MY",title:"Malaysia",d:"M758.654,446.07l0.22,1.438l1.852,-0.334l0.916,-1.15l0.645,0.262l1.656,1.69l1.177,1.873l0.16,1.881l-0.298,1.27l0.272,0.959l0.205,1.651l0.987,0.768l1.103,2.465l-0.054,0.942l-1.988,0.186l-2.652,-2.064l-3.317,-2.212l-0.328,-1.421l-1.621,-1.866l-0.387,-2.313l-1.012,-1.524l0.308,-2.038l-0.618,-1.188l0.487,-0.5L758.654,446.07zM807.841,450.9l-2.064,0.952l-2.43,-0.471l-3.224,-0.001l-0.972,3.175l-1.079,0.97l-1.438,3.876l-2.287,0.594l-2.652,-0.781l-1.345,0.244l-1.634,1.409l-1.79,-0.201l-1.809,0.566l-1.917,-1.574l-0.469,-1.862l2.055,0.955l2.167,-0.521l0.564,-2.36l1.196,-0.526l3.361,-0.604l2.011,-2.207l1.377,-1.766l1.277,1.447l0.589,-0.952l1.34,0.089l0.164,-1.785l0.126,-1.377l2.159,-1.947l1.414,-2.191l1.134,-0.009l1.44,1.419l0.128,1.218l1.847,0.78l2.34,0.842l-0.2,1.095l-1.881,0.139L807.841,450.9z"},{id:"MZ",title:"Mozambique",d:"M572.154,495.69L574.264,495.461L577.633,496.262L578.365,495.902L580.317,495.829L581.316,494.977L582.998,495.023L586.064,493.921L588.295,492.278L588.749,493.548L588.633,496.378L588.979,498.879L589.088,503.355L589.582,504.765L588.745,506.827L587.657,508.837L585.872,510.639L583.309,511.746L580.148,513.163L576.98,516.31L575.901,516.848L573.944,518.944L572.789,519.629L572.552,521.746L573.882,524.005L574.435,525.763L574.47,526.662L574.965,526.512L574.885,529.473L574.43,530.883L575.091,531.404L574.674,532.673L573.502,533.762L571.189,534.798L567.817,536.465L566.587,537.607L566.828,538.914L567.544,539.123L567.304,540.763L565.177,540.737L564.937,539.359L564.521,537.967L564.282,536.856L564.782,533.428L564.052,531.259L562.709,526.998L565.663,523.593L566.402,521.443L566.826,521.172L567.143,519.426L566.692,518.55L566.813,516.347L567.359,514.312L567.353,510.617L565.896,509.683L564.562,509.472L563.957,508.754L562.658,508.142L560.319,508.2L560.138,507.12L559.872,505.065L568.38,502.695L569.994,504.074L570.766,503.81L571.873,504.538L572.035,505.693L571.445,507.036L571.653,509.077L573.482,510.873L574.338,508.856L575.552,508.246L575.313,504.532L574.139,502.454L573.127,501.529L572.154,501.57L571.369,497.854z"},{id:"NA",title:"Namibia",d:"M521.082,546.54L518.998,544.149L517.901,541.854L517.282,538.817L516.591,536.574L515.651,531.851L515.588,528.22L515.229,526.576L514.139,525.337L512.691,522.865L511.218,519.301L510.605,517.446L508.324,514.576L508.154,512.332L509.503,511.777L511.182,511.28L513,511.367L514.671,512.687L515.095,512.481L526.46,512.355L528.403,513.756L535.191,514.17L540.345,512.978L542.641,512.314L544.458,512.482L545.565,513.141L545.586,513.383L544.005,514.043L543.155,514.049L541.365,515.198L540.293,513.99L535.971,515.016L533.883,515.113L533.801,525.683L531.037,525.788L531.038,534.649L531.035,546.173L528.532,547.799L527.026,548.032L525.263,547.43L524.005,547.198L523.532,545.84L522.425,544.973z"},{id:"NC",title:"New Caledonia",d:"M940.075,523.484L942.375,525.34L943.833,526.722L942.768,527.445L941.225,526.631L939.219,525.279L937.411,523.692L935.556,521.59L935.168,520.583L936.374,520.625L937.945,521.636L939.179,522.648z"},{id:"NE",title:"Niger",d:"M481.294,429.884L481.357,427.932L478.125,427.284L478.037,425.899L476.458,424.027L476.082,422.718L476.304,421.322L478.101,421.208L479.138,420.183L482.963,419.935L485.454,419.476L485.693,417.691L487.226,415.75L487.218,409L491.172,407.683L499.29,401.833L508.898,396.081L513.333,397.389L514.91,399.05L516.894,397.927L517.583,402.604L518.632,403.381L518.677,404.33L519.843,405.35L519.233,406.628L518.153,412.608L518.005,416.404L514.429,419.14L513.218,422.94L514.386,424.004L514.379,425.849L516.177,425.915L515.897,427.262L515.105,427.426L515.015,428.335L514.494,428.398L512.597,425.268L511.938,425.153L509.746,426.754L507.575,425.919L506.066,425.752L505.257,426.154L503.613,426.067L501.959,427.286L500.529,427.355L497.136,425.877L495.807,426.58L494.376,426.531L493.325,425.45L490.515,424.38L487.501,424.72L486.771,425.34L486.376,426.986L485.573,428.138L485.378,430.681L483.24,429.042L482.235,429.05z"},{id:"NG",title:"Nigeria",d:"M499.086,450.079L496.176,451.085L495.111,450.938L494.033,451.564L491.791,451.503L490.29,449.755L489.366,447.73L487.381,445.885L485.274,445.92L482.8,445.918L482.961,441.395L482.89,439.604L483.418,437.826L484.282,436.961L485.643,435.211L485.347,434.45L485.899,433.309L485.269,431.625L485.378,430.681L485.573,428.138L486.376,426.986L486.771,425.34L487.501,424.72L490.515,424.38L493.325,425.45L494.376,426.531L495.807,426.58L497.136,425.877L500.529,427.355L501.959,427.286L503.613,426.067L505.257,426.154L506.066,425.752L507.575,425.919L509.746,426.754L511.938,425.153L512.597,425.268L514.494,428.398L515.015,428.335L516.125,429.471L515.82,429.985L515.671,430.931L513.31,433.128L512.568,434.936L512.173,436.406L511.578,437.035L511.012,439.01L509.513,440.17L509.079,441.594L508.449,442.726L508.187,443.893L506.26,444.838L504.686,443.685L503.623,443.731L501.953,445.373L501.142,445.398L499.808,448.1z"},{id:"NI",title:"Nicaragua",d:"M234.928,432.306L233.958,431.411L232.647,430.264L232.03,429.304L230.848,428.408L229.443,427.118L229.755,426.676L230.218,427.106L230.43,426.904L231.302,426.787L231.653,426.133L232.064,426.107L232.004,424.698L232.662,424.631L233.247,424.651L233.852,423.885L234.679,424.465L234.967,424.109L235.483,423.768L236.462,422.977L236.508,422.384L236.777,422.409L237.137,421.721L237.43,421.637L237.908,422.077L238.47,422.208L239.089,421.841L239.797,421.839L240.771,421.463L241.159,421.07L242.121,421.129L241.879,421.406L241.736,422.049L242.022,423.102L241.376,424.081L241.076,425.235L240.985,426.497L241.135,427.234L241.206,428.52L240.778,428.799L240.516,430.018L240.708,430.77L240.135,431.497L240.265,432.264L240.695,432.73L240.023,433.332L239.196,433.143L238.731,432.559L237.842,432.322L237.197,432.692L235.35,431.94z"},{id:"NL",title:"Netherlands",d:"M489.078,287.613L488.907,288.521L489.391,288.679L489.603,289.087L489.688,289.458L490.078,289.597L490.108,289.794L489.76,290.059L489.375,290.083L489.375,290.375L489.642,290.84L489.257,291.292L489.646,291.417L490.438,290.646L490.917,289.938L490.917,289.458L490.75,289.125L490.292,288.896L490.397,288.375L490.292,287.917L490.708,286.917L491.12,286.396L492.284,285.975L494.614,286.108L495.138,287.691L494.439,291.916L493.729,293.627L492.044,293.629L492.515,298.319L490.974,297.283L489.199,295.327L486.601,296.258L484.548,295.906L485.25,294.667L486.167,293.458L487.446,292.209L488.203,290.117L488.448,287.935z"},{id:"NO",title:"Norway",d:"M554.225,175.606l8.77,6.24l-3.611,2.226l3.072,5.115l-4.771,3.188l-2.265,0.724l1.188,-5.592l-3.598,-3.252l-4.354,2.775l-1.375,5.854l-2.673,3.439l-3.011,-1.87l-3.661,0.384l-3.116,-4.153l-1.681,2.088l-1.739,0.323l-0.412,5.083l-5.284,-1.224l-0.742,4.217l-2.692,-0.025l-1.851,5.243l-2.805,7.867l-4.354,9.5l1.021,2.232l-0.976,2.554l-2.781,-0.109l-1.821,5.906l0.172,8.044l1.792,2.978l-0.928,6.727l-2.333,3.812l-1.236,3.145l-1.881,-3.351l-5.536,6.266l-3.738,1.245l-3.877,-2.715l-1.002,-5.864l-0.887,-13.256l2.582,-3.875l7.403,-5.184l5.536,-6.586l5.133,-9.301l6.737,-13.762l4.696,-5.674l7.705,-9.893l6.153,-3.592l4.613,0.44l4.27,-6.995l5.113,0.381L554.225,175.606z"},{id:"NP",title:"Nepal",d:"M722.33,382.447L722.113,383.803L722.482,385.794L722.161,387.029L719.826,387.081L716.453,386.354L714.286,386.058L712.669,384.465L708.826,384.059L705.169,382.292L702.525,380.74L699.809,379.538L700.897,376.547L702.677,375.086L703.839,374.313L706.087,375.306L708.918,377.4L710.493,377.86L711.435,379.393L713.613,380.021L715.889,381.413L719.061,382.138z"},{id:"NZ",title:"New Zealand",d:"M960.377,588.627l0.636,1.531l1.994,-1.503l0.811,1.567l0.003,1.571l-1.043,1.741l-1.833,2.797l-1.435,1.541l1.034,1.856l-2.163,0.048l-2.399,1.465l-0.751,2.568l-1.594,4.027l-2.201,1.802l-1.399,1.159l-2.583,-0.086l-1.815,-1.338l-3.048,-0.284l-0.47,-1.479l1.507,-2.957l3.525,-3.875l1.81,-0.731l2.015,-1.472l2.403,-2.01l1.683,-1.975l1.247,-2.808l1.063,-0.946l0.416,-2.074l1.967,-1.703L960.377,588.627zM964.839,571.614l2.032,3.665l0.059,-2.383l1.266,0.949l0.419,2.651l2.257,1.15l1.895,0.283l1.603,-1.347l1.421,0.407l-0.68,3.151l-0.854,2.093l-2.141,-0.074l-0.749,1.097l0.261,1.561l-0.412,0.678l-1.06,1.974l-1.39,2.532l-2.167,1.487l-0.481,-0.979l-1.169,-0.536l1.617,-3.039l-0.918,-2.012l-3.018,-1.452l0.079,-1.308l2.026,-1.253l0.473,-2.744l-0.13,-2.282l-1.136,-2.344l0.075,-0.613l-1.34,-1.43l-2.206,-3.041l-1.173,-2.409l1.04,-0.266l1.526,1.887l2.182,0.885L964.839,571.614z"},{id:"OM",title:"Oman",d:"M640.291,403.185l-1.047,2.042l-1.271,-0.156l-0.583,0.708l-0.45,1.504l0.345,1.975l-0.265,0.362l-1.29,-0.01l-1.751,1.1l-0.273,1.43l-0.642,0.618l-1.744,-0.023l-1.098,0.737l0.014,1.18l-1.356,0.81l-1.547,-0.275l-1.875,0.982l-1.296,0.165l-0.915,-2.036l-2.192,-4.841l8.411,-2.957l1.869,-5.972l-1.285,-2.135l0.073,-1.219l0.817,-1.256l0.008,-1.245l1.269,-0.601l-0.496,-0.425l0.229,-1.997l1.433,-0.012l1.257,2.095l1.565,1.108l2.057,0.398l1.66,0.555l1.266,1.74l0.756,1.005l1.004,0.382l-0.006,0.673l-1.021,1.792l-0.448,0.841L640.291,403.185zM633.366,388.64l-0.365,0.562l-0.534,-1.057l0.817,-1.059l0.347,0.271L633.366,388.64z"},{id:"PA",title:"Panama",d:"M256.885,443.212L255.95,442.402L255.349,440.884L256.042,440.133L255.332,439.939L254.808,439.009L253.411,438.226L252.185,438.405L251.616,439.385L250.483,440.093L249.872,440.191L249.597,440.777L250.935,442.303L250.169,442.662L249.764,443.078L248.459,443.221L247.974,441.543L247.609,442.021L246.684,441.855L246.119,440.724L244.969,440.537L244.241,440.208L243.038,440.212L242.951,440.823L242.629,440.397L242.777,439.839L243.011,439.268L242.901,438.758L243.321,438.424L242.737,438.005L242.721,436.869L243.806,436.616L244.813,437.629L244.755,438.227L245.874,438.354L246.139,438.124L246.909,438.817L248.289,438.613L249.481,437.901L251.184,437.332L252.141,436.488L253.689,436.654L253.585,436.932L255.148,437.028L256.396,437.516L257.311,438.364L258.366,439.143L258.025,439.555L258.676,441.213L258.147,442.048L257.244,441.847z"},{id:"PE",title:"Peru",d:"M280.132,513.144L279.38,514.645L277.938,515.394L275.127,513.711L274.884,512.512L269.325,509.588L264.297,506.42L262.134,504.643L260.973,502.268L261.433,501.441L259.059,497.691L256.294,492.449L253.645,486.827L252.499,485.545L251.616,483.476L249.438,481.645L247.44,480.51L248.348,479.26L246.989,476.593L247.861,474.636L250.097,472.874L250.429,474.035L249.629,474.7L249.705,475.724L250.864,475.501L251.996,475.803L253.173,477.214L254.758,476.064L255.289,474.181L257.007,471.753L260.378,470.653L263.436,467.735L264.309,465.924L263.917,463.809L264.665,463.544L266.53,464.864L267.425,466.178L268.723,466.896L270.375,469.817L272.462,470.167L274.007,469.43L275.02,469.912L276.703,469.672L278.85,470.978L277.041,473.817L277.878,473.883L279.282,475.367L276.755,475.236L276.379,475.656L274.081,476.194L270.875,478.096L270.671,479.402L269.956,480.376L270.235,481.892L268.541,482.702L268.543,483.887L267.804,484.401L268.971,486.934L270.529,488.648L269.936,489.86L271.797,490.024L272.857,491.532L275.332,491.605L277.632,489.939L277.445,494.239L278.72,494.565L280.302,494.077L282.726,498.657L282.124,499.624L281.985,501.636L281.931,504.079L280.835,505.519L281.337,506.589L280.694,507.561L281.9,509.998z"},{id:"PG",title:"Papua New Guinea",d:"M912.317,482.425l-0.785,0.281l-1.214,-1.077l-1.228,-1.779l-0.604,-2.131l0.389,-0.271l0.301,0.832l0.85,0.635l1.359,1.775l1.324,0.951L912.317,482.425zM901.391,478.666l-1.469,0.23l-0.442,0.785l-1.533,0.681l-1.439,0.655l-1.489,-0.003l-2.299,-0.813l-1.602,-0.781l0.232,-0.866l2.514,0.409l1.534,-0.219l0.423,-1.341l0.402,-0.069l0.272,1.485l1.6,-0.214l0.791,-0.957l1.565,-0.997l-0.309,-1.646l1.68,-0.053l0.566,0.458l-0.057,1.55L901.391,478.666zM887.957,484.02l2.504,1.844l1.82,2.987l1.606,-0.094l-0.113,1.25l2.165,0.48l-0.841,0.533l2.979,1.19l-0.311,0.819l-1.857,0.198l-0.689,-0.734l-2.409,-0.318l-2.832,-0.426l-2.181,-1.804l-1.591,-1.552l-1.457,-2.465l-3.657,-1.229l-2.375,0.802l-1.712,0.929l0.357,2.078l-2.202,0.97l-1.57,-0.472l-2.9,-0.118l-0.048,-9.157l-0.047,-9.103l4.865,1.921l5.184,1.597l1.932,1.43l1.562,1.405l0.426,1.647l4.672,1.73l0.682,1.486l-2.58,0.302L887.957,484.02zM904.635,475.931l-0.877,0.745l-0.528,-1.649l-0.652,-1.079l-1.27,-0.915l-1.596,-1.19l-2.024,-0.82l0.779,-0.673l1.514,0.781l0.953,0.613l1.178,0.669l1.122,1.172l1.065,0.894L904.635,475.931z"},{id:"PH",title:"Philippines",d:"M829.595,439.864l0.285,1.869l0.165,1.576l-0.955,2.566l-1.024,-2.859l-1.311,1.424l0.896,2.065l-0.804,1.312l-3.3,-1.625l-0.788,-2.029l0.855,-1.334l-1.776,-1.329l-0.881,1.165l-1.319,-0.108l-2.075,1.566l-0.464,-0.822l1.101,-2.368l1.766,-0.792l1.529,-1.062l0.991,1.275l2.132,-0.771l0.457,-1.257l1.982,-0.075l-0.167,-2.184l2.273,1.34l0.235,1.42L829.595,439.864zM822.882,434.601l-1.008,0.93l-0.878,1.785l-0.881,0.835l-1.727,-1.952l0.577,-0.757l0.704,-0.792l0.31,-1.759l1.546,-0.167l-0.451,1.908l2.075,-2.737L822.882,434.601zM807.522,437.322l-3.73,2.675l1.375,-1.971l2.025,-1.743l1.684,-1.957l1.47,-2.818l0.499,2.314l-1.851,1.559L807.522,437.322zM816.996,430.022l1.684,0.881l1.784,-0.004l-0.055,1.187l-1.298,1.205l-1.781,0.851l-0.099,-1.317l0.199,-1.448L816.996,430.022zM827.144,429.25l0.788,3.175l-2.164,-0.753l0.059,0.953l0.687,1.749l-1.334,0.634l-0.116,-1.992l-0.845,-0.147l-0.438,-1.719l1.649,0.227l-0.036,-1.077l-1.714,-2.176l2.692,0.063L827.144,429.25zM815.998,426.661l-0.744,2.467l-1.2,-1.423l-1.432,-2.179l2.402,0.105L815.998,426.661zM815.42,410.918l1.729,0.838l0.864,-0.764l0.255,0.746l-0.456,1.215l0.957,2.094l-0.738,2.417l-1.653,0.961l-0.441,2.332l0.627,2.294l1.486,0.317l1.24,-0.34l3.502,1.592l-0.267,1.56l0.915,0.687l-0.292,1.316l-2.185,-1.402l-1.036,-1.504l-0.722,1.051l-1.785,-1.715l-2.547,0.424l-1.396,-0.634l0.143,-1.187l0.876,-0.732l-0.837,-0.666l-0.362,1.038l-1.384,-1.655l-0.42,-1.257l-0.104,-2.774l1.129,0.955l0.29,-4.555l0.914,-2.656L815.42,410.918z"},{id:"PL",title:"Poland",d:"M517.358,296.974L516.209,294.11L516.428,292.547L515.734,290.098L514.716,288.449L515.498,287.205L514.842,284.812L516.758,283.417L521.134,281.201L524.665,279.563L527.463,280.383L527.674,281.56L530.378,281.62L533.832,282.166L538.988,282.094L540.426,282.606L541.099,284.075L541.221,286.165L541.999,287.944L541.982,289.792L540.301,290.732L541.166,292.849L541.219,294.862L542.629,298.753L542.329,299.988L540.938,300.499L538.392,304.108L539.115,306.033L538.502,305.785L535.838,304.137L533.82,304.745L532.496,304.304L530.839,305.223L529.425,303.7L528.272,304.285L528.114,304.025L526.824,301.895L524.739,301.631L524.474,300.264L522.55,299.773L522.132,300.904L520.609,299.999L520.784,298.788L518.688,298.403z"},{id:"PK",title:"Pakistan",d:"M685.985,351.758L688.057,353.385L688.887,356.046L693.498,357.437L690.79,360.303L687.665,360.807L683.411,359.979L682.037,361.44L683.03,364.386L684.004,366.64L686.268,368.274L683.876,370.177L683.92,372.505L681.197,375.754L679.44,379.005L676.507,382.331L673.251,382.091L670.161,385.386L671.996,386.788L672.315,389.179L673.891,390.745L674.447,393.382L668.277,393.374L666.41,395.411L664.355,394.64L663.519,392.441L661.353,390.097L656.187,390.677L651.631,390.734L647.683,391.167L648.739,387.572L652.783,385.963L652.552,384.521L651.21,384.013L651.133,381.236L648.452,379.84L647.323,377.914L645.936,376.228L650.634,377.865L653.438,377.386L655.114,377.794L655.682,377.092L657.635,377.374L661.278,376.039L661.377,373.289L662.939,371.446L665.027,371.451L665.334,370.537L667.477,370.109L668.514,370.415L669.609,369.491L669.455,367.511L670.646,365.507L672.43,364.663L671.328,362.444L673.995,362.549L674.766,361.335L674.649,360.033L676.046,358.603L675.725,356.899L675.063,355.439L676.699,353.931L679.71,353.2L682.928,352.795L684.353,352.15z"},{id:"PR",title:"Puerto Rico",d:"M289.407,410.886L290.84,411.145L291.346,411.729L290.627,412.468L288.517,412.45L286.878,412.554L286.715,411.298L287.112,410.869z"},{id:"PS",title:"Palestinian Territories",d:"M574.918,367.868L574.917,369.882L574.502,370.844L573.184,371.287L573.305,370.426L574.021,369.975L573.317,369.606L573.903,367.41z"},{id:"PT",title:"Portugal",d:"M449.921,334.562L450.938,333.607L452.083,333.057L452.785,334.898L454.441,334.894L454.921,334.42L456.555,334.552L457.339,336.426L456.043,337.432L456.007,340.307L455.552,340.843L455.439,342.564L454.228,342.863L455.351,345.028L454.577,347.378L455.544,348.435L455.159,349.398L454.12,350.72L454.354,351.881L453.227,352.788L451.749,352.297L450.302,352.682L450.73,349.937L450.467,347.759L449.212,347.431L448.542,346.078L448.765,343.723L449.883,342.408L450.082,340.935L450.667,338.728L450.604,337.16L450.044,335.824z"},{id:"PY",title:"Paraguay",d:"M299.493,526.99L300.598,523.399L300.668,521.795L302.013,519.184L306.899,518.324L309.503,518.365L312.115,519.879L312.163,520.793L312.992,522.447L312.806,526.512L315.766,527.09L316.91,526.5L318.804,527.315L319.329,528.217L319.59,530.995L319.917,532.167L320.963,532.303L322.015,531.81L323.023,532.363L323.022,534.045L322.642,535.862L322.092,537.645L321.633,540.387L319.09,542.785L316.873,543.29L313.724,542.811L310.896,541.957L313.657,537.225L313.254,535.863L310.366,534.661L306.94,532.399L304.648,531.935z"},{id:"QA",title:"Qatar",d:"M617.717,392.161L617.531,389.92L618.287,388.296L619.053,387.962L619.901,388.934L619.95,390.743L619.342,392.552L618.564,392.77z"},{id:"RO",title:"Romania",d:"M538.93,310.861L540.141,309.966L541.875,310.43L543.673,310.445L544.975,311.463L545.932,310.824L548.001,310.423L548.707,309.444L549.89,309.445L550.744,309.854L551.613,311.092L552.502,312.84L554.12,315.282L554.209,317.067L553.914,318.791L554.416,320.617L555.667,321.35L556.984,320.71L558.256,321.393L558.321,322.415L556.962,323.264L556.11,322.895L555.326,327.606L553.677,327.2L551.637,325.788L548.336,326.692L546.945,327.68L542.828,327.476L540.673,326.872L539.587,327.156L538.78,325.558L538.267,324.877L538.917,324.216L538.225,323.728L537.345,324.606L535.71,323.466L535.49,321.838L533.781,320.903L533.467,319.633L531.947,318.054L534.195,317.292L535.891,314.531L537.217,311.733z"},{id:"RS",title:"Serbia",d:"M533.781,320.903L535.49,321.838L535.71,323.466L537.345,324.606L538.225,323.728L538.917,324.216L538.267,324.877L538.78,325.558L538.088,326.441L538.34,327.856L539.702,329.517L538.633,330.712L538.162,331.922L538.466,332.373L538.005,332.907L536.705,332.97L535.75,333.19L535.657,332.907L535.993,332.457L536.307,331.533L535.909,331.554L535.364,330.849L534.903,330.669L534.536,330.062L534.012,329.824L533.614,329.283L533.111,329.495L532.723,330.765L532.052,331.039L532.283,330.712L531.214,329.919L530.292,329.506L529.883,328.975L529.139,328.314L529.799,328.144L530.208,326.323L528.856,324.823L529.558,323.096L528.542,323.106L529.621,321.618L528.73,320.484L528.049,318.934L530.197,317.875L531.947,318.054L533.467,319.633z"},{id:"RU",title:"Russia",d:"M1008.267,215.754l-2.78,2.973l-4.596,0.698l-0.069,6.463l-1.123,1.347l-2.625,-0.193l-2.138,-2.264l-3.728,-1.917l-0.627,-2.89l-2.848,-1.102l-3.188,0.875l-1.523,-2.369l0.609,-2.552l-3.358,1.635l1.265,3.194l-1.591,2.833l-0.021,0.036l-3.604,2.885l-3.634,-0.478l2.529,3.442l1.669,5.201l1.295,1.668l0.325,2.532l-0.724,1.602l-5.226,-1.317l-7.837,4.511l-2.493,0.688l-4.29,4.096l-4.07,3.505l-1.03,2.553l-4.011,-3.9l-7.306,4.419l-1.275,-2.078l-2.701,2.394l-3.75,-0.763l-0.903,3.631l-3.364,5.218l0.101,2.137l3.193,1.174l-0.376,7.458l-2.603,0.186l-1.201,4.154l1.167,2.104l-4.903,2.467l-0.973,5.405l-4.181,1.135l-0.84,4.663l-4.042,4.183l-1.036,-3.085l-1.201,-6.693l-1.564,-10.647l1.348,-6.954l2.365,-3.071l0.146,-2.441l4.357,-1.18l5.009,-6.781l4.826,-5.727l5.04,-4.57l2.254,-8.366l-3.406,0.511l-1.685,4.922l-7.111,6.361l-2.297,-7.138l-7.238,1.999l-7.018,9.56l2.315,3.377l-6.258,1.419l-4.335,0.557l0.203,-3.946l-4.358,-0.839l-3.474,2.702l-8.573,-0.941l-9.223,1.62l-9.083,10.33l-10.745,11.777l4.417,0.61l1.379,3.001l2.724,1.055l1.794,-2.378l3.076,0.311l4.048,5.191l0.095,3.924l-2.191,4.512l-0.237,5.266l-1.265,6.848l-4.226,6.013l-0.939,2.817l-3.806,4.662l-3.777,4.528l-1.811,2.283l-3.736,2.245l-1.769,0.049l-1.761,-1.858l-3.764,2.792l-0.438,1.258l-0.393,-0.661l-0.017,-1.929l1.432,-0.103l0.404,-4.553l-0.739,-3.358l2.407,-1.399l3.402,0.703l1.886,-3.888l0.961,-4.462l1.089,-1.511l1.474,-3.761l-4.634,1.239l-2.431,1.647l-4.261,-0.005l-1.135,-3.945l-3.321,-3.035l-4.88,-1.379l-1.037,-4.284l-0.977,-2.731l-1.051,-1.937l-1.733,-4.611l-2.462,-1.711l-4.196,-1.394l-3.718,0.127l-3.484,0.845l-2.315,2.313l1.538,1.095l0.035,2.522l-1.56,1.45l-2.531,4.725l0.026,1.929l-3.952,2.739l-3.365,-1.632l-3.346,0.361l-1.468,-1.457l-1.682,-0.472l-4.106,3.059l-3.691,0.712l-2.577,1.062l-3.532,-0.697l-2.6,0.045l-1.702,-2.203l-2.746,-2.092l-2.81,-0.577l-3.547,0.573l-2.65,0.809l-3.983,-1.841l-0.534,-3.322l-3.297,-1.151l-2.545,-0.527l-3.141,-1.871l-2.904,4.659l1.139,2.6l-2.726,3.034l-4.054,-1.09l-2.799,-0.156l-1.874,-2.042l-2.925,-0.065l-2.438,-1.354l-4.265,2.071l-5.35,3.739l-2.956,0.744l-1.098,0.352l-1.487,-2.634l-3.612,0.579l-1.193,-1.843l-1.96,-0.848l-1.35,-2.545l-1.548,-0.799l-4.029,1.14l-3.862,-2.565l-1.494,2.333l-6.266,-11.576l-3.577,-3.659l1.025,-1.504l-7.026,4.494l-2.689,0.268l0.232,-2.583l-3.602,-1.631l-2.927,1.166l-0.883,-5.012l-5.039,-1.059l-2.521,2.033l-7.016,1.791l-1.369,1.189l-10.492,1.663l-1.285,1.618l2.024,3.208l-2.692,1.204l0.525,1.254l-2.691,2.223l4.544,3.098l-0.702,2.106l-3.938,-0.191l-0.814,1.31l-3.586,-2.293l-4.445,0.089l-2.976,1.868l-3.319,-1.791l-6.181,-3.102l-4.38,0.117l-5.788,4.849l-0.349,3.193l-2.883,-2.532l-2.237,4.77l0.819,0.874l-1.618,3.215l2.38,2.837l2.081,-0.116l1.787,2.76l-0.284,2.102l1.424,0.656l-1.278,2.391l-2.718,0.66l-2.787,4.088l2.548,3.695l-0.276,2.586l3.062,4.456l-1.674,1.506l-0.481,0.945l-1.241,-0.253l-1.927,-2.266l-0.788,-0.126l-1.763,-0.871l-0.858,-1.55l-2.615,-0.794l-1.7,0.597l-0.491,-0.706l-3.818,-1.831l-4.128,-0.622l-2.37,-0.658l-0.342,0.455l-3.575,-3.274l-3.199,-1.477l-2.422,-2.319l2.041,-0.636l2.327,-3.354l-1.568,-1.605l4.132,-1.667l-0.074,-0.899l-2.517,0.663l0.088,-1.832l1.445,-1.159l2.713,-0.306l0.441,-1.395l-0.62,-2.327l1.139,-2.233l-0.033,-1.263l-4.133,-1.409l-1.639,0.047l-1.73,-2.043l-2.151,0.693l-3.561,-1.542l0.061,-0.868l-0.997,-1.926l-2.236,-0.216l-0.232,-1.392l0.7,-0.913l-1.792,-2.575l-2.907,0.442l-0.852,-0.229l-0.708,1.037l-1.047,-0.184l-0.689,-2.937l-0.658,-1.54l0.54,-0.435l2.262,0.162l1.091,-1.022l-0.808,-1.253l-1.891,-0.832l0.169,-0.857l-1.141,-0.87l-1.758,-3.153l0.601,-1.314l-0.274,-2.308l-2.741,-1.183l-1.471,0.593l-0.398,-1.236l-2.952,-1.256l-0.901,-2.989l-0.239,-2.492l-1.351,-1.194l1.201,-1.659l-0.832,-4.962l1.995,-3.133l-0.422,-0.959l3.187,-3.071l-2.938,-2.684l6.003,-7.405l2.604,-3.453l1.055,-3.104l-4.15,-4.256l1.146,-4.145l-2.524,-4.854l1.888,-5.764l-3.261,-7.957l2.587,-5.478l-4.294,-4.99l0.409,-5.404l2.265,-0.724l4.771,-3.188l2.893,-2.813l4.606,4.86l7.678,1.876l10.594,8.646l2.152,3.508l0.185,4.796l-3.113,3.695l-4.578,1.846l-12.517,-5.313l-2.059,0.9l4.571,5.097l0.179,3.154l0.183,6.753l3.61,1.966l2.191,1.657l0.362,-3.107l-1.689,-2.801l1.785,-2.505l6.778,4.099l2.361,-1.593l-1.887,-4.877l6.535,-6.742l2.588,0.404l2.618,2.43l1.633,-4.811l-2.338,-4.283l1.373,-4.406l-2.061,-4.692l7.843,2.442l1.602,4.183l-3.55,0.908l0.019,4.038l2.207,2.438l4.332,-1.541l0.686,-4.611l5.857,-3.525l9.785,-6.543l2.114,0.382l-2.764,4.64l3.478,0.785l2.009,-2.584l5.255,-0.211l4.164,-3.193l3.195,4.621l3.186,-5.087l-2.938,-4.577l1.458,-2.663l8.282,2.443l3.881,2.488l10.161,8.799l1.875,-3.975l-2.85,-4.111l-0.082,-1.677l-3.379,-0.782l0.925,-3.827l-1.5,-6.491l-0.085,-2.737l5.175,-7.99l1.84,-8.419l2.085,-1.878l7.423,2.514l0.585,5.183l-2.658,7.283l1.744,2.779l0.902,5.938l-0.637,11.073l3.093,4.73l-1.203,5.008l-5.492,10.198l3.205,1.024l1.115,-2.514l3.085,-1.815l0.744,-3.553l2.427,-3.489l-1.634,-4.26l1.309,-5.083l-3.066,-0.644l-0.674,-4.418l2.237,-8.278l-3.642,-7.033l5.018,-6.042l-0.648,-6.619l1.398,-0.216l1.473,5.189l-1.105,8.667l3,1.592l-1.278,-6.373l4.692,-3.579l5.819,-0.488l5.181,5.18l-2.493,-7.622l-0.279,-10.282l4.876,-2.021l6.744,0.444l6.075,-1.321l-2.278,-5.381l3.245,-7.016l3.221,-0.3l5.452,-5.513l7.403,-1.514l0.936,-3.153l7.362,-1.082l2.294,2.606l6.293,-6.237l5.151,0.199l0.772,-5.238l2.68,-5.334l6.619,-5.312l4.809,4.208l-3.818,3.131l6.352,1.917l0.757,6.034l2.562,-2.943l8.197,0.163l6.32,5.843l2.251,4.351l-0.698,5.854l-3.102,3.242l-7.368,5.917l-2.106,3.079l3.477,1.433l4.148,2.552l2.523,-1.91l1.431,6.393l1.231,-2.559l4.483,-1.575l8.996,1.646l0.684,4.576l11.722,1.43l0.16,-7.473l5.95,1.742l4.477,-0.054l4.527,5.138l1.291,6.038l-1.659,3.836l3.521,6.982l4.41,3.493l2.705,-9.178l4.498,3.996l4.778,-2.376l5.427,2.716l2.065,-2.475l4.587,1.242l-2.024,-8.398l3.702,-4.067l25.323,6.061l2.387,5.355l7.34,6.653l11.322,-1.623l5.582,1.414l2.334,3.498l-0.341,6.016l3.454,2.286l3.753,-1.641l4.973,-0.211l5.293,1.575l5.314,-0.887l4.884,6.994l3.475,-2.483l-2.268,-5.074l1.249,-3.618l8.945,2.286l5.832,-0.486l8.064,3.843l3.925,3.44l6.869,5.858l7.352,7.341l-0.241,4.437l1.891,1.745l-0.65,-5.146l7.611,1.068L1008.267,215.754zM880.842,306.251l-2.821,-7.684l-1.157,-4.509l0.072,-4.496l-0.971,-4.503l-0.729,-3.15l-1.248,0.673l1.113,2.205l-2.592,2.166l-0.248,6.296l1.643,4.411l-0.123,5.852l-0.649,3.237l0.32,4.537l-0.313,4.015l0.52,3.4l1.838,-3.134l2.125,2.445l0.078,-2.836l-2.732,-4.229l1.725,-6.107L880.842,306.251zM537.823,278.766l-2.936,-0.856l-3.869,1.583l-0.639,2.127l3.453,0.545l5.156,-0.072l-0.225,-1.228l0.299,-1.327L537.823,278.766zM979.946,178.648l3.662,-0.52l2.889,-2.065l0.24,-1.188l-4.056,-2.515l-2.376,-0.019l-0.359,0.371l-3.574,3.645l0.5,2.726L979.946,178.648zM870.068,151.559l-2.66,3.915l0.491,0.518l5.746,1.084l4.251,-0.068l-0.339,-2.569l-3.983,-3.81L870.068,151.559zM894.642,142.031l3.241,-4.248l-7.036,-2.875l-5.227,-1.681l-0.671,3.585l5.211,4.267L894.642,142.031zM869.514,140.337l10.335,0.296l2.205,-8.145l-10.135,-6.071l-7.404,-0.512l-3.699,2.18l-1.507,7.752l5.555,7.013L869.514,140.337zM622.395,166.284l-2.867,1.958l0.41,4.832l5.075,2.348l0.744,3.818l9.161,1.102l1.656,-0.743l-5.363,-7.106l-0.57,-7.516l4.395,-9.143l4.179,-9.819l8.71,-10.168l8.563,-5.338l9.935,-5.74l1.884,-3.706l-1.949,-4.827l-5.457,1.604l-4.802,4.492l-9.332,2.222l-9.257,7.409l-6.271,5.849l0.759,4.87l-6.713,9.029l2.578,1.22l-5.562,8.271L622.395,166.284zM769.869,98.338l0.833,-5.72l-7.107,-8.343l-2.106,-0.985l-2.304,1.696l-5.122,18.604L769.869,98.338zM605.64,69.025l3.037,3.876l3.277,-2.693l0.391,-2.719l2.521,-1.272l3.764,-2.235l1.085,-2.624l-4.159,-3.847l-2.643,2.903l-1.61,4.125l-0.573,-4.649l-4.26,0.211l-5.474,3.152l6.24,0.521L605.64,69.025zM736.889,82.071l4.653,5.73l7.81,4.202l6.118,-1.803l0.691,-13.623l-6.456,-16.04l-5.448,-9.023l-6.065,4.109l-7.28,11.834l3.825,3.27L736.889,82.071z"},{id:"RW",title:"Rwanda",d:"M560.543,466.545L561.657,468.118L561.495,469.757L560.686,470.11L559.196,469.928L558.337,471.515L556.635,471.296L556.894,469.771L557.279,469.556L557.383,467.898L558.189,467.121L558.868,467.405z"},{id:"SA",title:"Saudi Arabia",d:"M595.2,417.216L594.836,415.976L593.99,415.098L593.774,413.934L592.326,412.886L590.832,410.425L590.041,408.022L588.102,405.983L586.851,405.495L584.994,402.653L584.67,400.569L584.789,398.783L583.181,395.421L581.866,394.231L580.352,393.599L579.43,391.842L579.583,391.147L578.804,389.547L577.985,388.856L576.89,386.544L575.183,384.021L573.753,381.857L572.357,381.872L572.793,380.133L572.917,379.019L573.265,377.744L576.385,378.252L577.597,377.268L578.268,376.111L580.407,375.666L580.869,374.585L581.796,374.036L579.001,370.78L584.617,369.134L585.151,368.637L588.528,369.529L592.706,371.821L600.612,378.312L605.825,378.567L608.323,378.875L609.021,380.391L611.004,380.309L612.102,383.036L613.481,383.755L613.962,384.857L615.873,386.171L616.043,387.457L615.764,388.491L616.118,389.532L616.924,390.397L617.298,391.408L617.717,392.161L618.564,392.77L619.342,392.552L619.874,393.722L619.981,394.428L621.056,397.508L629.484,399.032L630.049,398.394L631.334,400.529L629.465,406.501L621.054,409.458L612.969,410.587L610.352,411.908L608.343,414.979L607.034,415.465L606.333,414.493L605.258,414.639L602.548,414.347L602.034,414.055L598.798,414.122L598.038,414.386L596.886,413.626L596.144,415.061L596.431,416.289z"},{id:"SB",title:"Solomon Islands",d:"M929.811,492.747l0.784,0.974l-1.959,-0.018l-1.065,-1.743l1.675,0.685L929.811,492.747zM926.259,491.021l-1.093,0.063l-1.719,-0.286l-0.587,-0.436l0.176,-1.121l1.851,0.444l0.913,0.593L926.259,491.021zM928.58,490.25l-0.423,0.521l-2.078,-2.447l-0.583,-1.683h0.953l1.009,2.254L928.58,490.25zM923.519,486.689l0.119,0.566l-2.197,-1.194l-1.535,-1.01l-1.052,-0.936l0.418,-0.286l1.289,0.674l2.3,1.293L923.519,486.689zM916.968,483.907l-0.559,0.16l-1.226,-0.64l-1.152,-1.153l0.145,-0.467l1.675,1.185L916.968,483.907z"},{id:"SD",title:"Sudan",d:"M570.481,436.904L570.093,436.848L570.141,435.441L569.804,434.469L568.36,433.351L568.023,431.304L568.36,429.203L567.061,429.007L566.868,429.643L565.184,429.79L565.857,430.621L566.098,432.328L564.558,433.886L563.162,435.927L561.718,436.218L559.359,434.566L558.3,435.15L558.011,435.975L556.567,436.509L556.471,437.091L553.679,437.091L553.294,436.509L551.272,436.412L550.262,436.896L549.491,436.654L548.047,435.004L547.566,434.227L545.544,434.615L544.774,435.927L544.052,438.447L543.089,438.979L542.229,439.286L542.001,439.155L541.028,438.343L540.849,437.466L541.304,436.291L541.296,435.138L539.679,433.367L539.361,432.152L539.395,431.464L538.364,430.626L538.333,428.972L537.745,427.872L536.761,428.037L537.043,426.987L537.77,425.795L537.452,424.608L538.374,423.728L537.789,423.056L538.53,421.277L539.811,419.15L542.229,419.353L542.09,407.744L542.125,406.501L545.349,406.492L545.349,400.529L556.621,400.529L567.5,400.529L578.621,400.529L579.524,403.469L578.91,404.011L579.317,407.07L580.346,410.594L581.415,411.318L582.949,412.402L581.53,414.072L579.465,414.552L578.582,415.446L578.306,417.379L577.098,421.629L577.396,422.782L576.949,425.248L575.809,428.065L574.118,429.478L572.916,431.651L572.634,432.812L571.306,433.606L570.477,436.567z"},{id:"SE",title:"Sweden",d:"M537.451,217.489L534.732,222.179L535.17,226.195L530.71,231.334L525.295,236.672L523.254,245.084L525.25,249.151L527.931,252.291L525.355,258.517L522.439,259.782L521.37,268.62L519.777,273.378L516.376,272.893L514.789,276.842L511.543,277.068L510.652,272.358L508.305,266.547L506.172,259.046L507.408,255.901L509.741,252.089L510.669,245.362L508.877,242.384L508.705,234.34L510.525,228.434L513.307,228.543L514.282,225.989L513.261,223.757L517.615,214.257L520.419,206.39L522.271,201.147L524.963,201.172L525.705,196.955L530.989,198.179L531.401,193.097L533.14,192.774L536.877,196.576L541.254,201.729L541.328,212.849L542.274,215.549z"},{id:"SI",title:"Slovenia",d:"M513.964,316.509L516.28,316.823L517.695,315.901L520.147,315.8L520.682,315.111L521.153,315.156L521.698,316.531L519.466,317.607L519.193,319.234L518.219,319.644L518.229,320.76L517.129,320.683L516.175,320.031L515.662,320.705L513.708,320.569L514.332,320.207L513.661,318.5z"},{id:"SJ",title:"Svalbard and Jan Mayen",d:"M544.576,104.488l-6.263,5.359l-4.947,-3.021l1.935,-3.424l-1.694,-4.343l5.811,-2.782l1.113,5.175L544.576,104.488zM526.428,77.812l9.23,11.292l-7.056,5.66l-1.558,10.086l-2.46,2.49l-1.335,10.505l-3.379,0.478l-6.03,-7.644l2.543,-4.623l-4.203,-3.862l-5.463,-11.823l-2.181,-11.786l7.644,-5.686l1.536,5.561l3.993,-0.217l1.065,-5.435l4.117,-0.563L526.428,77.812zM546.604,66.354l5.495,5.799l-4.158,8.517l-8.132,1.806l-8.269,-2.562l-0.499,-4.322l-4.023,-0.279l-3.068,-7.478l8.658,-4.723l4.071,4.075l2.835,-5.091L546.604,66.354z"},{id:"SK",title:"Slovakia",d:"M528.114,304.025L528.272,304.285L529.425,303.7L530.839,305.223L532.496,304.304L533.82,304.745L535.838,304.137L538.502,305.785L537.725,306.893L537.178,308.598L536.58,309.028L533.577,307.747L532.658,308.005L532,308.997L530.684,309.521L530.38,309.252L529.015,309.903L527.901,310.027L527.675,310.866L525.322,311.376L524.288,310.922L522.861,309.853L522.582,308.396L522.807,307.861L523.205,306.929L524.447,307L525.404,306.561L525.48,306.165L526.017,305.963L526.2,304.99L526.844,304.804L527.278,304.03z"},{id:"SL",title:"Sierra Leone",d:"M443.18,444.441L442.425,444.233L440.406,443.102L438.946,441.597L438.455,440.569L438.112,438.488L439.61,437.247L439.934,436.464L440.413,435.854L441.185,435.79L441.839,435.257L444.081,435.26L444.861,436.271L445.469,437.458L445.378,438.279L445.829,439.016L445.797,440.049L446.569,439.888L445.264,441.201L443.999,442.727L443.851,443.543z"},{id:"SN",title:"Senegal",d:"M428.39,425.157L427.234,422.921L425.835,421.896L427.068,421.349L428.427,419.321L429.093,417.834L430.053,416.903L431.446,417.154L432.814,416.521L434.38,416.488L435.72,417.343L437.581,418.111L439.278,420.24L441.128,422.221L441.256,424.01L441.81,425.652L442.859,426.456L443.099,427.562L442.97,428.451L442.565,428.612L441.036,428.386L440.826,428.704L440.208,428.768L438.192,428.072L436.839,428.042L431.657,427.923L430.906,428.244L429.977,428.152L428.492,428.617L428.032,426.427L430.584,426.488L431.258,426.087L431.76,426.063L432.799,425.402L434.002,426.007L435.22,426.058L436.434,425.415L435.867,424.586L434.943,425.069L434.073,425.056L432.966,424.35L432.077,424.396L431.444,425.075z"},{id:"SO",title:"Somalia",d:"M618.625,430.431L618.562,429.644L617.498,429.651L616.171,430.626L614.685,430.912L613.393,431.334L612.497,431.391L610.9,431.49L609.898,432.009L608.508,432.196L606.04,433.077L602.988,433.413L600.345,434.138L598.953,434.129L597.688,432.942L597.138,431.769L596.226,431.245L595.193,432.764L594.582,433.769L595.617,435.328L596.651,436.689L597.722,437.696L606.889,441.04L609.248,441.022L601.324,449.438L597.672,449.561L595.173,451.53L593.375,451.582L592.608,452.462L590.158,455.627L590.191,465.775L591.852,468.074L592.485,467.414L593.131,465.945L596.2,462.571L598.813,460.453L603.008,457.687L605.813,455.43L609.111,451.623L611.505,448.494L613.911,444.388L615.645,440.801L616.994,437.654L617.784,434.599L618.377,433.575L618.366,432.084z"},{id:"SR",title:"Suriname",d:"M315.02,446.719L318.379,447.28L318.681,446.775L320.948,446.573L323.962,447.325L322.503,449.73L322.725,451.642L323.826,453.296L323.335,454.497L323.089,455.772L322.374,456.945L320.768,456.354L319.443,456.639L318.312,456.391L318.032,457.198L318.502,457.752L318.25,458.322L316.725,458.094L315.013,455.67L314.645,454.096L313.747,454.093L312.504,452.066L313.021,450.625L312.87,449.966L314.572,449.236z"},{id:"SS",title:"South Sudan",d:"M570.481,436.904L570.514,439.104L570.095,439.964L568.606,440.033L567.651,441.635L569.374,441.837L570.794,443.206L571.286,444.328L572.566,444.979L574.224,448.026L572.323,449.869L570.598,451.538L568.874,452.822L566.901,452.815L564.644,453.469L562.861,452.845L561.707,453.605L559.238,451.75L558.572,450.558L557.011,451.148L555.714,450.965L554.964,451.434L553.705,451.095L552.006,448.788L551.555,447.901L549.459,446.793L548.751,445.112L547.583,443.898L545.697,442.436L545.671,441.522L544.136,440.386L542.229,439.286L543.089,438.979L544.052,438.447L544.774,435.927L545.544,434.615L547.566,434.227L548.047,435.004L549.491,436.654L550.262,436.896L551.272,436.412L553.294,436.509L553.679,437.091L556.471,437.091L556.567,436.509L558.011,435.975L558.3,435.15L559.359,434.566L561.718,436.218L563.162,435.927L564.558,433.886L566.098,432.328L565.857,430.621L565.184,429.79L566.868,429.643L567.061,429.007L568.36,429.203L568.023,431.304L568.36,433.351L569.804,434.469L570.141,435.441L570.093,436.848z"},{id:"SV",title:"El Salvador",d:"M229.094,425.76L228.783,426.434L227.159,426.391L226.149,426.117L224.99,425.548L223.432,425.37L222.638,424.754L222.725,424.334L223.686,423.609L224.212,423.292L224.063,422.953L224.719,422.776L225.546,423.018L226.15,423.591L226.997,424.052L227.101,424.438L228.331,424.097L228.908,424.301L229.289,424.612z"},{id:"SY",title:"Syria",d:"M584.021,364.596L578.53,368.136L575.406,366.825L575.353,366.802L575.733,366.297L575.69,364.934L576.378,363.101L577.907,361.832L577.448,360.505L576.187,360.332L575.925,357.724L576.611,356.312L577.362,355.556L578.113,354.799L578.265,352.86L579.183,353.538L582.27,352.568L583.762,353.225L586.068,353.214L589.295,351.904L590.806,351.963L593.995,351.418L592.558,353.598L591.023,354.455L591.288,356.976L590.228,361.097z"},{id:"SZ",title:"Swaziland",d:"M565.177,540.737L564.606,542.126L562.965,542.465L561.292,540.768L561.266,539.69L562.031,538.523L562.296,537.621L563.106,537.4L564.521,537.967L564.937,539.359z"},{id:"TD",title:"Chad",d:"M515.897,427.262L516.177,425.915L514.379,425.849L514.386,424.004L513.218,422.94L514.429,419.14L518.005,416.404L518.153,412.608L519.233,406.628L519.843,405.35L518.677,404.33L518.631,403.381L517.583,402.604L516.894,397.927L519.725,396.269L530.907,402.045L542.09,407.744L542.229,419.353L539.811,419.15L538.53,421.277L537.789,423.056L538.374,423.728L537.452,424.608L537.77,425.795L537.043,426.987L536.761,428.037L537.745,427.872L538.333,428.972L538.364,430.626L539.395,431.464L539.361,432.152L537.586,432.637L536.163,433.785L534.136,436.871L531.498,438.179L528.79,438.003L527.999,438.263L528.277,439.255L526.814,440.239L525.624,441.337L522.094,442.413L521.394,441.776L520.929,441.722L520.413,442.444L518.094,442.656L518.534,441.895L517.649,439.955L517.255,438.789L516.034,438.311L514.378,436.664L514.988,435.33L516.266,435.614L517.057,435.412L518.623,435.44L517.097,432.865L517.199,430.979L517.012,429.09z"},{id:"TF",title:"French Southern and Antarctic Lands",d:"M668.536,619.028L670.345,620.364L672.994,620.897L673.093,621.71L672.308,623.668L668.004,623.949L667.934,621.656L668.348,619.896z"},{id:"TG",title:"Togo",d:"M480.483,446.246L478.226,446.843L477.6,445.859L476.852,444.081L476.629,442.684L477.25,440.151L476.546,439.124L476.279,436.902L476.284,434.849L475.113,433.388L475.32,432.504L477.775,432.564L477.418,434.057L478.275,434.893L479.249,435.884L479.355,437.27L479.92,437.852L479.792,444.312z"},{id:"TH",title:"Thailand",d:"M762.886,429.182L760.369,427.873L757.971,427.926L758.382,425.679L755.912,425.696L755.69,428.839L754.177,432.993L753.266,435.495L753.458,437.539L755.284,437.628L756.422,440.2L756.926,442.634L758.49,444.242L760.189,444.568L761.642,446.023L760.726,447.173L758.874,447.508L758.654,446.07L756.366,444.842L755.879,445.342L754.771,444.266L754.291,442.876L752.802,441.29L751.443,439.955L750.982,441.608L750.451,440.046L750.757,438.288L751.583,435.58L752.941,432.669L754.481,430.019L753.385,427.418L753.429,426.09L753.108,424.49L751.238,422.206L750.569,420.76L751.537,420.227L752.563,417.709L751.415,415.792L749.636,413.662L748.28,411.09L749.464,410.556L750.742,407.366L752.722,407.233L754.357,405.947L755.964,405.26L757.177,406.177L757.338,407.957L759.232,408.093L758.543,411.197L758.609,413.823L761.564,412.077L762.404,412.594L764.046,412.509L764.611,411.489L766.731,411.69L768.864,414.068L769.039,416.943L771.309,419.47L771.184,421.913L770.271,423.21L767.643,422.797L764.018,423.347L762.222,425.732z"},{id:"TJ",title:"Tajikistan",d:"M674.366,340.624L673.34,341.75L670.288,341.14L670.022,343.236L673.063,342.955L676.526,344.129L681.828,343.582L682.539,346.905L683.46,346.546L685.163,347.358L685.065,348.739L685.486,350.751L682.594,350.745L680.663,350.486L678.916,352.057L677.672,352.404L676.694,353.137L675.585,351.994L675.846,349.038L674.998,348.869L675.303,347.785L673.785,346.975L672.578,348.213L672.281,349.641L671.85,350.159L670.174,350.085L669.27,351.694L668.324,351.017L666.295,352.143L665.438,351.716L667.014,348.147L666.408,345.489L664.351,344.632L665.078,343.041L667.419,343.211L668.751,341.202L669.643,338.849L673.392,337.991L672.808,339.7L673.209,340.719z"},{id:"TL",title:"Timor-Leste",d:"M825.646,488.254L825.977,487.589L828.39,486.956L830.346,486.86L831.223,486.509L832.284,486.857L831.253,487.621L828.33,488.855L825.982,489.666L825.931,488.81z"},{id:"TM",title:"Turkmenistan",d:"M646.879,356.901L646.633,353.995L644.543,353.87L641.339,350.775L639.1,350.391L635.999,348.6L634.005,348.273L632.774,348.934L630.899,348.831L628.905,350.848L626.441,351.527L625.92,349.036L626.327,345.308L624.141,344.089L624.86,341.606L622.999,341.394L623.619,338.3L626.264,339.205L628.727,338.024L626.685,335.795L625.881,333.65L623.624,334.609L623.338,337.342L622.462,334.927L623.701,333.677L626.884,332.892L628.779,333.948L630.741,336.88L632.18,336.698L635.343,336.647L634.883,334.767L637.278,333.472L639.64,331.271L643.418,333.273L643.718,336.265L644.791,337.026L647.822,336.855L648.763,337.529L650.142,341.32L653.348,343.827L655.177,345.522L658.109,347.273L661.839,348.793L661.762,350.952L660.917,350.843L659.594,349.902L659.154,351.154L656.791,351.832L656.231,354.617L654.651,355.669L652.438,356.188L651.853,357.745L649.738,358.201z"},{id:"TN",title:"Tunisia",d:"M501.839,374.686L500.644,368.829L498.915,367.497L498.891,366.695L496.598,364.711L496.351,362.184L498.079,360.297L498.739,357.485L498.294,354.197L498.864,352.41L501.917,350.997L503.88,351.418L503.798,353.186L506.176,351.901L506.376,352.573L504.974,354.278L504.955,355.877L505.926,356.733L505.557,359.692L503.711,361.396L504.244,363.232L505.694,363.289L506.399,364.881L507.466,365.402L507.307,367.951L505.94,368.898L505.077,369.951L503.152,371.213L503.45,372.564L503.208,373.936z"},{id:"TR",title:"Turkey",d:"M578.752,336.599l4.022,1.435l3.266,-0.571l2.414,0.33l3.311,-1.94l2.987,-0.177l2.701,1.827l0.476,1.301l-0.27,1.788l2.085,0.908l1.104,1.063l-1.92,1.032l0.875,4.112l-0.549,1.1l1.534,2.822l-1.344,0.591l-0.985,-0.892l-3.261,-0.453l-1.204,0.545l-3.189,0.544l-1.511,-0.059l-3.227,1.31l-2.307,0.011l-1.492,-0.656l-3.087,0.969l-0.917,-0.677l-0.152,1.938l-0.751,0.757l-0.751,0.755l-1.031,-1.566l1.062,-1.304l-1.71,0.296l-2.345,-0.801l-1.928,1.999l-4.255,0.389l-2.27,-1.861l-3.022,-0.117l-0.646,1.44l-1.938,0.411l-2.711,-1.847l-3.061,0.063l-1.661,-3.484l-2.048,-1.964l1.364,-2.778l-1.777,-1.723l3.11,-3.484l4.318,-0.147l1.178,-2.806l5.344,0.491l3.371,-2.416l3.267,-1.061l4.639,-0.08L578.752,336.599zM551.497,338.986l-2.34,1.976l-0.882,-1.708l0.039,-0.761l0.666,-0.414l0.868,-2.325l-1.366,-0.99l2.856,-1.183l2.414,0.505l0.333,1.441l2.447,1.204l-0.51,0.909l-3.33,0.204L551.497,338.986z"},{id:"TT",title:"Trinidad and Tobago",d:"M302.312,433.238L303.923,432.869L304.512,432.968L304.4,435.079L302.059,435.39L301.554,435.135L302.367,434.357z"},{id:"TW",title:"Taiwan",d:"M816.7,393.266L815.012,398.145L813.81,400.618L812.332,398.072L812.013,395.823L813.663,392.825L815.907,390.497L817.187,391.415z"},{id:"TZ",title:"Tanzania",d:"M570.314,466.031L570.788,466.337L580.955,472.015L581.146,473.633L585.17,476.425L583.876,479.872L584.042,481.459L585.837,482.481L585.921,483.211L585.149,484.907L585.31,485.762L585.126,487.106L586.105,488.873L587.266,491.659L588.295,492.278L586.064,493.921L582.998,495.023L581.316,494.977L580.317,495.829L578.365,495.902L577.633,496.262L574.264,495.461L572.154,495.69L571.369,491.833L570.418,490.514L569.854,489.733L567.105,489.207L565.514,488.359L563.732,487.885L562.615,487.413L561.443,486.696L559.929,483.155L558.303,481.584L557.742,479.958L558.022,478.503L557.518,475.931L558.677,475.798L559.695,474.786L560.786,473.331L561.478,472.747L561.452,471.84L560.848,471.208L560.686,470.11L561.495,469.757L561.657,468.118L560.543,466.545L561.527,466.211L564.601,466.247z"},{id:"UA",title:"Ukraine",d:"M564.376,292.494L565.423,292.678L566.132,291.641L566.983,291.87L569.891,291.428L571.682,294.003L570.982,294.916L571.214,296.308L573.45,296.524L574.447,298.451L574.386,299.319L577.947,300.861L580.099,300.168L581.829,302.211L583.468,302.165L587.601,303.573L587.634,304.836L586.495,307.069L587.114,309.396L586.673,310.791L583.96,311.097L582.515,312.256L582.426,314.088L580.188,314.416L578.322,315.738L575.697,315.953L573.282,317.466L571.958,318.496L573.446,319.966L574.818,320.929L577.678,320.689L577.13,322.107L574.061,322.792L570.254,325.064L568.695,324.268L569.313,322.417L566.25,321.257L566.745,320.494L569.908,318.858L569.515,318.042L569.063,318.453L568.617,318.243L564.259,317.222L564.066,315.708L561.468,316.209L560.427,318.437L558.256,321.393L556.984,320.71L555.667,321.35L554.416,320.617L555.122,320.184L555.611,318.809L556.379,317.523L556.181,316.799L556.767,316.475L557.043,317.036L558.695,317.155L559.438,316.855L558.915,316.444L559.113,315.837L558.134,314.799L557.729,313.082L556.708,312.406L556.909,310.999L555.642,309.875L554.489,309.718L552.422,308.409L550.559,308.826L549.89,309.445L548.707,309.444L548.001,310.423L545.932,310.824L544.975,311.463L543.673,310.445L541.875,310.43L540.141,309.966L538.93,310.861L538.734,309.741L537.178,308.598L537.725,306.893L538.502,305.785L539.115,306.033L538.392,304.108L540.938,300.499L542.329,299.988L542.629,298.753L541.219,294.862L542.56,294.687L544.096,293.462L546.269,293.361L549.101,293.716L552.23,294.8L554.438,294.89L555.493,295.539L556.544,294.756L557.279,295.806L559.81,295.591L560.925,296.024L561.105,293.759L561.969,292.764z"},{id:"UG",title:"Uganda",d:"M564.601,466.247L561.527,466.211L560.543,466.545L558.868,467.405L558.189,467.121L558.213,465.021L558.862,463.957L559.021,461.721L559.61,460.426L560.682,458.974L561.759,458.233L562.661,457.244L561.537,456.867L561.707,453.605L562.861,452.845L564.644,453.469L566.901,452.815L568.874,452.822L570.598,451.538L571.927,453.476L572.255,454.876L573.489,458.076L572.468,460.107L571.089,461.951L570.286,463.079L570.314,466.031z"},{id:"US",title:"United States",d:"M109.249,279.8L109.249,279.8l-1.542,-1.834l-2.471,-1.569l-0.793,-4.356l-3.615,-4.131l-1.511,-4.938l-2.692,-0.343l-4.458,-0.13l-3.286,-1.535l-5.797,-5.643l-2.685,-1.05l-4.905,-1.993l-3.882,0.478l-5.514,-2.59l-3.333,-2.435l-3.112,1.213l0.578,3.928l-1.55,0.358l-3.244,1.161l-2.468,1.863l-3.107,1.163l-0.401,-3.245l1.261,-5.531l2.979,-1.771l-0.769,-1.456l-3.574,3.218l-1.914,3.771l-4.04,3.947l2.052,2.647l-2.65,3.849l-3.014,2.207l-2.806,1.592l-0.694,2.287l-4.377,2.634l-0.886,2.363l-3.281,2.127l-1.924,-0.381l-2.617,1.377l-2.845,1.669l-2.332,1.626l-4.812,1.377l-0.439,-0.809l3.067,-2.268l2.743,-1.513l2.989,-2.71l3.478,-0.565l1.383,-2.063l3.886,-3.053l0.626,-1.032l2.07,-1.833l0.484,-4l1.426,-3.174l-3.233,1.636l-0.904,-0.927l-1.518,1.954l-1.831,-2.73l-0.756,1.936l-1.048,-2.695l-2.803,2.167l-1.721,-0.004l-0.242,-3.232l0.507,-2.02l-1.806,-1.982l-3.646,1.07l-2.366,-2.631l-1.918,-1.359l-0.012,-3.25l-2.161,-2.483l1.085,-3.405l2.286,-3.368l1,-3.154l2.269,-0.454l1.924,0.992l2.262,-3.007l2.036,0.541l2.137,-1.955l-0.521,-2.917l-1.57,-1.163l2.076,-2.519l-1.722,0.075l-2.975,1.426l-0.854,1.434l-2.211,-1.432l-3.966,0.729l-4.106,-1.563l-1.177,-2.654l-3.548,-3.906l3.94,-2.867l6.254,-3.407h2.305l-0.382,3.484l5.918,-0.269l-2.276,-4.339l-3.449,-2.722l-1.994,-3.639l-2.69,-3.166l-3.853,-2.385l1.569,-4.028l4.974,-0.253l3.539,-3.585l0.667,-3.917l2.864,-3.911l2.731,-0.955l5.315,-3.758l2.578,0.572l4.315,-4.609l4.242,1.831l2.029,3.869l1.246,-1.648l4.738,0.513l-0.168,1.951l4.29,1.428l2.86,-0.838l5.907,2.635l5.393,0.776l2.159,1.068l3.731,-1.335l4.253,2.462l3.046,1.135l-0.019,27.648l-0.015,35.43l2.761,0.167l2.731,1.556l1.958,2.436l2.491,3.596l2.728,-3.054l2.815,-1.793l1.488,2.855l1.889,2.229l2.567,2.424l1.753,3.794l2.867,5.881l4.767,3.204l0.078,3.124L109.249,279.8zM285.179,314.235l-1.245,-1.187l-1.88,0.7l-0.932,-1.083l-2.139,3.097l-0.855,3.148l-0.995,1.82l-1.191,0.616l-0.897,0.2l-0.281,0.978l-5.167,0.003l-4.26,0.027l-1.265,0.726l-2.87,2.73l0.287,0.544l0.166,1.506l-2.103,1.27l-2.297,-0.318l-2.204,-0.143l-1.328,0.439l0.249,1.15l0,0.002l0.055,0.373l-2.416,2.265l-2.115,1.089l-1.443,0.506l-1.661,1.035l-2.03,0.496l-1.398,-0.191l-1.729,-0.772l0.961,-1.449l0.617,-1.321l1.318,-2.091l-0.14,-1.571l-0.505,-2.241l-1.037,-0.388l-1.738,1.705l-0.557,-0.032l-0.144,-0.974l1.542,-1.556l0.256,-1.786l-0.228,-1.794l-2.075,-1.552l-2.383,-0.8l-0.392,1.518l-0.618,0.405l-0.496,1.953l-0.26,-1.325l-1.121,0.947l-0.7,1.321l-0.731,1.916l-0.14,1.645l0.93,2.376l-0.077,2.508l-1.138,1.836l-0.568,0.518l-0.757,0.412l-0.953,0.021l-0.258,-0.253l-0.755,-1.975l-0.022,-0.982l0.075,-0.937l-0.352,-1.87l0.533,-2.181l0.633,-2.713l1.455,-3.035l-0.422,0.014l-2.06,2.543l-0.38,-0.464l1.099,-1.422l1.672,-2.573l1.907,-0.361l2.187,-0.804l2.205,0.424l0.094,0.018l2.47,-0.363l-1.395,-1.609l-0.752,-0.125l-0.855,-0.164l-0.589,-1.14l-2.755,0.356l-2.488,0.905l-1.975,-1.551l-1.589,-0.521l0.901,-2.17l-2.475,1.365l-2.25,1.328l-2.165,1.037l-1.719,-1.401l-2.809,0.851l0.009,-0.599l1.903,-1.73l1.991,-1.654l2.86,-1.375l-3.449,-1.089l-2.271,0.545l-2.72,-1.303l-2.863,-0.672l-1.958,-0.26l-0.872,-0.718l-0.498,-2.345l-0.949,0.021l-0.008,1.644l-5.803,-0.003l-9.593,0.003l-9.528,0l-8.417,0h-8.412h-8.271h-8.546h-2.756h-8.324h-7.963l0.954,3.466l0.448,3.41l-0.693,1.087l-1.494,-3.911l-4.055,-1.425l-0.339,0.82l0.817,1.938l0.886,3.525l0.506,5.416l-0.341,3.591l-0.341,3.535l-1.096,3.614l0.895,2.898l0.098,3.202l-0.615,3.055l1.494,1.992l0.387,2.945l2.17,2.991l1.237,1.169l-0.1,0.817l2.335,4.851l2.72,3.452l0.341,1.866l0.715,0.547l2.605,0.333l1.003,0.913l1.573,0.169l0.307,0.965l1.308,0.401l1.817,1.92l0.472,1.696l3.186,-0.255l3.561,-0.359l-0.263,0.648l4.234,1.604l6.396,2.31l5.576,-0.023l2.223,-0.001l0.006,-1.351l4.857,0.001l1.022,1.162l1.434,1.032l1.666,1.429l0.93,1.689l0.698,1.769l1.449,0.967l2.328,0.958l1.766,-2.528l2.292,-0.063l1.976,1.279l1.407,2.184l0.969,1.859l1.654,1.797l0.617,2.195l0.785,1.466l2.187,0.963l1.991,0.682l1.093,-0.093l-0.533,-1.055l-0.14,-1.495l0.028,-2.161l0.645,-1.416l1.531,-1.509l2.787,-1.369l2.552,-2.367l2.359,-0.75l1.744,-0.225l2.04,0.743l2.445,-0.4l2.093,1.692l2.035,0.1l1.052,-0.606l1.041,0.472l0.534,-0.42l-0.595,-0.632l0.045,-1.302l-0.505,-0.856l1.159,-0.504l2.138,-0.223l2.488,0.357l3.169,-0.406l1.758,0.799l1.361,1.502l0.502,0.16l2.829,-1.46l1.094,0.494l2.186,2.682l0.785,1.751l-0.576,2.101l0.421,1.232l1.304,2.397l1.486,2.675l1.065,0.712l0.442,1.354l1.38,0.374l0.838,-0.389l0.699,-1.887l0.122,-1.207l0.088,-2.102l-1.328,-3.646l-0.016,-1.369l-1.246,-2.253l-0.936,-2.745l-0.496,-2.246l0.433,-2.315l1.321,-1.945l1.581,-1.571l3.078,-2.156l0.401,-1.121l1.419,-1.232l1.4,-0.215l1.843,-1.98l2.901,-1.006l1.782,-2.534l-0.394,-3.455l-0.291,-1.205l-0.805,-0.241l-0.12,-3.346l-1.93,-1.143l1.853,0.557l-0.598,-2.26l0.54,-1.552l0.329,2.974l1.432,1.356l-0.867,2.398l0.255,0.139l1.578,-2.815l0.899,-1.381l-0.042,-1.35l-0.696,-0.639l-0.583,-1.941l0.92,0.903l0.616,0.188l0.208,0.924l2.04,-2.779l0.605,-2.622l-0.825,-0.168l0.854,-1.02l-0.083,0.452l1.786,-0.007l3.925,-1.106l-0.831,-0.702l-4.118,0.697l2.337,-1.073l1.63,-0.184l1.22,-0.186l2.074,-0.65l1.347,0.073l1.893,-0.605l0.224,-1.07l-0.841,-0.835l0.294,1.372l-1.164,-0.094l-0.925,-1.995l0.028,-2.013l0.475,-0.859l1.484,-2.283l2.961,-1.146l2.881,-1.344l2.994,-1.9l-0.484,-1.295l-1.833,-2.251L285.179,314.235zM45.622,263.786l-1.497,0.802l-2.547,1.858l0.434,2.421l1.434,1.321l2.8,-1.955l2.426,-2.465l-1.188,-1.627L45.622,263.786zM0,235.225l2.042,-1.258l0.231,-0.677L0,232.608V235.225zM8.502,250.587l-2.769,0.967l1.702,1.524l1.838,1.042l1.721,-0.867l-0.268,-2.154L8.502,250.587zM105.845,283.087l-2.691,0.381l-1.318,-0.62l-0.167,1.518l0.519,2.074l1.415,1.456l1.036,2.133l1.689,2.097l1.118,0.009l-2.44,-3.702L105.845,283.087zM37.131,403.772l-0.997,-0.284l-0.274,0.256l0.025,0.186l0.322,0.243l0.483,0.627l0.94,-0.213l0.234,-0.357L37.131,403.772zM34.136,403.233l1.502,0.087l0.087,-0.323l-1.38,-0.128L34.136,403.233zM40.026,406.522l-0.498,-0.257l-1.074,-0.501l-0.213,-0.055l-0.163,0.277l0.193,0.583l-0.487,0.483l-0.14,0.33l0.464,1.077l-0.08,0.825l0.696,0.422l0.41,-0.493l0.897,-0.461l1.096,-0.631l0.067,-0.164l-0.714,-1.037L40.026,406.522zM32.174,401.379l-0.75,0.414l0.109,0.12l0.356,0.679l0.976,0.105l0.201,0.039l0.152,-0.173l-0.81,-0.99L32.174,401.379zM27.769,399.818l-0.428,0.295l-0.145,0.219l0.944,0.548l0.333,-0.297l-0.058,-0.701L27.769,399.818z"},{id:"UY",title:"Uruguay",d:"M313.681,551.79L315.5,551.446L318.313,553.95L319.354,553.855L322.24,555.944L324.439,557.759L326.061,560.007L324.825,561.585L325.601,563.48L324.388,565.598L321.221,567.484L319.151,566.804L317.634,567.168L315.042,565.711L313.14,565.82L311.432,563.954L311.649,561.789L312.258,561.047L312.23,557.75L312.98,554.384z"},{id:"UZ",title:"Uzbekistan",d:"M661.762,350.952L661.839,348.793L658.109,347.273L655.177,345.522L653.348,343.827L650.142,341.32L648.763,337.529L647.822,336.855L644.791,337.026L643.718,336.265L643.418,333.273L639.64,331.271L637.278,333.472L634.883,334.767L635.343,336.647L632.18,336.698L632.069,322.571L639.287,320.224L639.811,320.57L644.157,323.407L646.451,324.891L649.129,328.389L652.417,327.828L657.226,327.526L660.582,330.333L660.373,334.134L661.739,334.16L662.31,337.219L665.875,337.339L666.644,339.09L667.688,339.066L668.915,336.417L672.613,333.808L674.221,333.111L675.054,333.482L672.7,335.911L674.77,337.312L676.767,336.385L680.09,338.339L676.499,340.984L674.366,340.624L673.209,340.719L672.808,339.7L673.392,337.991L669.643,338.849L668.751,341.202L667.419,343.211L665.078,343.041L664.351,344.632L666.408,345.489L667.014,348.147L665.438,351.716L663.323,350.975z"},{id:"VE",title:"Venezuela",d:"M275.25,430.351L275.17,431.023L273.524,431.354L274.438,432.644L274.404,434.126L273.167,435.77L274.229,438.011L275.438,437.827L276.067,435.786L275.198,434.79L275.056,432.645L278.548,431.49L278.159,430.15L279.143,429.251L280.149,431.251L282.115,431.297L283.937,432.881L284.047,433.82L286.564,433.845L289.56,433.553L291.166,434.822L293.31,435.171L294.883,434.287L294.915,433.574L298.388,433.403L301.748,433.363L299.367,434.2L300.325,435.537L302.567,435.749L304.693,437.138L305.14,439.397L306.601,439.334L307.7,439.998L305.478,441.65L305.233,442.675L306.193,443.717L305.497,444.243L303.771,444.693L303.827,445.987L303.067,446.758L304.965,448.882L305.336,449.671L304.311,450.737L301.175,451.783L299.158,452.216L298.349,452.876L296.12,452.178L294.044,451.821L293.518,452.078L294.773,452.802L294.66,454.672L295.049,456.429L297.425,456.668L297.576,457.254L295.573,458.047L295.248,459.227L294.093,459.684L292.008,460.334L291.465,461.187L289.285,461.367L287.742,459.894L286.887,457.115L286.141,456.141L285.124,455.526L286.545,454.138L286.448,453.513L285.651,452.684L285.087,450.828L285.307,448.823L285.933,447.884L286.438,446.376L285.446,445.895L283.848,446.214L281.828,446.064L280.695,446.364L278.722,443.951L277.093,443.594L273.487,443.864L272.819,442.885L272.129,442.65L272.031,442.064L272.364,441.023L272.142,439.89L271.523,439.271L271.164,437.975L269.717,437.786L270.494,436.134L270.837,434.115L271.652,433.062L272.737,432.248L273.449,430.828z"},{id:"VN",title:"Vietnam",d:"M778.21,401.873L774.466,404.43L772.13,407.236L771.514,409.287L773.658,412.385L776.28,416.2L778.824,417.994L780.528,420.318L781.813,425.641L781.434,430.662L779.096,432.533L775.885,434.358L773.598,436.716L770.102,439.342L769.083,437.534L769.871,435.621L767.791,434.013L770.218,432.871L773.161,432.665L771.93,430.944L776.643,428.753L776.988,425.327L776.338,423.413L776.848,420.533L776.142,418.49L774.021,416.471L772.253,413.903L769.923,410.438L766.563,408.676L767.368,407.613L769.16,406.837L768.073,404.245L764.621,404.222L763.362,401.505L761.724,399.129L763.229,398.393L765.465,398.408L768.19,398.059L770.58,396.444L771.932,397.582L774.495,398.134L774.052,399.873L775.387,401.095z"},{id:"VU",title:"Vanuatu",d:"M945.865,509.898l-0.925,0.382l-0.939,-1.272l0.104,-0.777L945.865,509.898zM943.799,505.463l0.455,2.329l-0.754,-0.363l-0.584,0.157l-0.401,-0.799l-0.059,-2.21L943.799,505.463z"},{id:"YE",title:"Yemen",d:"M624.161,416.335L622.134,417.116L621.591,418.404L621.524,419.391L618.733,420.611L614.253,421.957L611.742,423.986L610.508,424.144L609.667,423.974L608.028,425.165L606.241,425.716L603.887,425.865L603.179,426.028L602.566,426.783L601.831,426.992L601.397,427.719L600.009,427.656L599.113,428.043L597.173,427.898L596.443,426.228L596.523,424.662L596.065,423.815L595.517,421.687L594.711,420.501L595.272,420.361L594.984,419.04L595.324,418.481L595.2,417.216L596.431,416.289L596.144,415.061L596.886,413.626L598.038,414.386L598.798,414.122L602.034,414.055L602.548,414.347L605.258,414.639L606.333,414.493L607.034,415.465L608.343,414.979L610.352,411.908L612.969,410.587L621.054,409.458L623.246,414.299z"},{id:"ZA",title:"South Africa",d:"M563.633,548.709l-0.548,0.462l-1.188,1.631l-0.782,1.658l-1.59,2.327l-3.169,3.382l-1.979,1.984l-2.117,1.514l-2.931,1.297l-1.429,0.174l-0.362,0.933l-1.704,-0.497l-1.388,0.64l-3.039,-0.648l-1.699,0.41l-1.161,-0.176l-2.892,1.33l-2.394,0.535l-1.732,1.282l-1.275,0.082l-1.187,-1.209l-0.947,-0.062l-1.208,-1.507l-0.133,0.467l-0.373,-0.905l0.016,-1.964l-0.911,-2.229l0.905,-0.603l-0.073,-2.527l-1.836,-3.053l-1.409,-2.737l-0.004,-0.009l-2.013,-4.153l1.343,-1.567l1.107,0.867l0.473,1.358l1.258,0.232l1.763,0.603l1.506,-0.233l2.502,-1.626l0.003,-11.524l0.757,0.461l1.662,2.933l-0.258,1.893l0.625,1.096l2.008,-0.319l1.402,-1.391l1.328,-0.935l0.687,-1.482l1.368,-0.716l1.182,0.375l1.339,0.865l2.282,0.153l1.793,-0.72l0.284,-0.962l0.493,-1.471l1.526,-0.246l0.843,-1.15l0.934,-2.032l2.517,-2.265l3.967,-2.222l1.141,0.033l1.357,0.51l0.945,-0.361l1.49,0.301l1.343,4.261l0.729,2.168l-0.5,3.428l0.239,1.111l-1.415,-0.567l-0.811,0.221l-0.265,0.902l-0.766,1.167l0.026,1.078l1.673,1.697l1.641,-0.338l0.571,-1.39l2.126,0.026l-0.701,2.281l-0.331,2.622l-0.726,1.433L563.633,548.709zM556.504,547.746l-1.224,-0.98l-1.311,0.649l-1.519,1.248l-1.495,2.031l2.103,2.484l1.003,-0.322l0.516,-1.033l1.563,-0.504l0.477,-1.05l0.86,-1.559L556.504,547.746z"},{id:"ZM",title:"Zambia",d:"M567.105,489.207L568.429,490.466L569.142,492.868L568.664,493.636L568.101,495.938L568.639,498.299L567.757,499.292L566.906,501.951L568.38,502.695L559.872,505.065L560.138,507.12L558.014,507.516L556.417,508.67L556.076,509.676L555.073,509.904L552.634,512.299L551.082,514.192L550.135,514.26L549.224,513.922L546.09,513.602L545.586,513.383L545.565,513.141L544.458,512.482L542.641,512.314L540.345,512.978L538.515,511.155L536.623,508.778L536.752,499.62L542.591,499.656L542.352,498.67L542.77,497.602L542.277,496.266L542.596,494.887L542.299,494.006L543.267,494.077L543.427,494.96L544.741,494.891L546.521,495.153L547.458,496.444L549.704,496.841L551.418,495.943L552.047,497.435L554.196,497.833L555.229,499.049L556.38,500.622L558.526,500.646L558.292,497.566L557.522,498.084L555.562,496.976L554.805,496.469L555.152,493.618L555.65,490.267L555.022,489.021L555.821,487.222L556.573,486.885L560.339,486.41L561.443,486.696L562.615,487.413L563.732,487.885L565.514,488.359z"},{id:"ZW",title:"Zimbabwe",d:"M562.709,526.998L561.219,526.697L560.274,527.059L558.917,526.548L557.776,526.516L555.989,525.158L553.821,524.698L552.996,522.803L552.989,521.752L551.788,521.432L548.615,518.177L547.733,516.471L547.169,515.946L546.09,513.602L549.224,513.922L550.135,514.26L551.082,514.192L552.634,512.299L555.073,509.904L556.076,509.676L556.417,508.67L558.014,507.516L560.138,507.12L560.319,508.2L562.658,508.142L563.957,508.754L564.562,509.472L565.896,509.683L567.353,510.617L567.359,514.312L566.813,516.347L566.692,518.55L567.143,519.426L566.826,521.172L566.402,521.443L565.663,523.593z"}]}}};!function(n,t){if("function"==typeof define&&define.amd)define(["module","exports"],t);else if("undefined"!=typeof exports)t(module,exports);else{var i={exports:{}};t(i,i.exports);n.WOW=i.exports}}(this,function(n,t){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){return t.indexOf(n)>=0}function l(n,t){var i,r;for(i in t)null==n[i]&&(r=t[i],n[i]=r);return n}function a(n){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n)}function v(n){var i=arguments.length<=1||void 0===arguments[1]?!1:arguments[1],r=arguments.length<=2||void 0===arguments[2]?!1:arguments[2],u=arguments.length<=3||void 0===arguments[3]?null:arguments[3],t=void 0;return null!=document.createEvent?(t=document.createEvent("CustomEvent"),t.initCustomEvent(n,i,r,u)):null!=document.createEventObject?(t=document.createEventObject(),t.eventType=n):t.eventName=n,t}function y(n,t){null!=n.dispatchEvent?n.dispatchEvent(t):t in(null!=n)?n[t]():"on"+t in(null!=n)&&n["on"+t]()}function i(n,t,i){null!=n.addEventListener?n.addEventListener(t,i,!1):null!=n.attachEvent?n.attachEvent("on"+t,i):n[t]=i}function e(n,t,i){null!=n.removeEventListener?n.removeEventListener(t,i,!1):null!=n.detachEvent?n.detachEvent("on"+t,i):delete n[t]}function p(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight}Object.defineProperty(t,"__esModule",{value:!0});var o,s,u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),w=window.WeakMap||window.MozWeakMap||function(){function n(){r(this,n);this.keys=[];this.values=[]}return u(n,[{key:"get",value:function(n){for(var i,t=0;t<this.keys.length;t++)if(i=this.keys[t],i===n)return this.values[t]}},{key:"set",value:function(n,t){for(var r,i=0;i<this.keys.length;i++)if(r=this.keys[i],r===n)return this.values[i]=t,this;return this.keys.push(n),this.values.push(t),this}}]),n}(),h=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver||(s=o=function(){function n(){r(this,n);"undefined"!=typeof console&&null!==console&&(console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content."))}return u(n,[{key:"observe",value:function(){}}]),n}(),o.notSupported=!0,s),c=window.getComputedStyle||function(n){var t=/(\-([a-z]){1})/g;return{getPropertyValue:function(i){"float"===i&&(i="styleFloat");t.test(i)&&i.replace(t,function(n,t){return t.toUpperCase()});var r=n.currentStyle;return(null!=r?r[i]:void 0)||null}}},b=function(){function n(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];r(this,n);this.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null,resetAnimation:!0};this.animate=function(){return"requestAnimationFrame"in window?function(n){return window.requestAnimationFrame(n)}:function(n){return n()}}();this.vendors=["moz","webkit"];this.start=this.start.bind(this);this.resetAnimation=this.resetAnimation.bind(this);this.scrollHandler=this.scrollHandler.bind(this);this.scrollCallback=this.scrollCallback.bind(this);this.scrolled=!0;this.config=l(t,this.defaults);null!=t.scrollContainer&&(this.config.scrollContainer=document.querySelector(t.scrollContainer));this.animationNameCache=new w;this.wowEvent=v(this.config.boxClass)}return u(n,[{key:"init",value:function(){this.element=window.document.documentElement;f(document.readyState,["interactive","complete"])?this.start():i(document,"DOMContentLoaded",this.start);this.finished=[]}},{key:"start",value:function(){var u=this,n,t,r;if(this.stopped=!1,this.boxes=[].slice.call(this.element.querySelectorAll("."+this.config.boxClass)),this.all=this.boxes.slice(0),this.boxes.length)if(this.disabled())this.resetStyle();else for(n=0;n<this.boxes.length;n++)t=this.boxes[n],this.applyStyle(t,!0);(this.disabled()||(i(this.config.scrollContainer||window,"scroll",this.scrollHandler),i(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live)&&(r=new h(function(n){for(var r,i,f,t=0;t<n.length;t++)for(r=n[t],i=0;i<r.addedNodes.length;i++)f=r.addedNodes[i],u.doSync(f)}),r.observe(document.body,{childList:!0,subtree:!0}))}},{key:"stop",value:function(){this.stopped=!0;e(this.config.scrollContainer||window,"scroll",this.scrollHandler);e(window,"resize",this.scrollHandler);null!=this.interval&&clearInterval(this.interval)}},{key:"sync",value:function(){h.notSupported&&this.doSync(this.element)}},{key:"doSync",value:function(n){var r,i,t;if("undefined"!=typeof n&&null!==n||(n=this.element),1===n.nodeType)for(n=n.parentNode||n,r=n.querySelectorAll("."+this.config.boxClass),i=0;i<r.length;i++)t=r[i],f(t,this.all)||(this.boxes.push(t),this.all.push(t),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(t,!0),this.scrolled=!0)}},{key:"show",value:function(n){return this.applyStyle(n),n.className=n.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(n),y(n,this.wowEvent),this.config.resetAnimation&&(i(n,"animationend",this.resetAnimation),i(n,"oanimationend",this.resetAnimation),i(n,"webkitAnimationEnd",this.resetAnimation),i(n,"MSAnimationEnd",this.resetAnimation)),n}},{key:"applyStyle",value:function(n,t){var i=this,r=n.getAttribute("data-wow-duration"),u=n.getAttribute("data-wow-delay"),f=n.getAttribute("data-wow-iteration");return this.animate(function(){return i.customStyle(n,t,r,u,f)})}},{key:"resetStyle",value:function(){for(var t,n=0;n<this.boxes.length;n++)t=this.boxes[n],t.style.visibility="visible"}},{key:"resetAnimation",value:function(n){if(n.type.toLowerCase().indexOf("animationend")>=0){var t=n.target||n.srcElement;t.className=t.className.replace(this.config.animateClass,"").trim()}}},{key:"customStyle",value:function(n,t,i,r,u){return t&&this.cacheAnimationName(n),n.style.visibility=t?"hidden":"visible",i&&this.vendorSet(n.style,{animationDuration:i}),r&&this.vendorSet(n.style,{animationDelay:r}),u&&this.vendorSet(n.style,{animationIterationCount:u}),this.vendorSet(n.style,{animationName:t?"none":this.cachedAnimationName(n)}),n}},{key:"vendorSet",value:function(n,t){var i,u,r,f;for(i in t)if(t.hasOwnProperty(i))for(u=t[i],n[""+i]=u,r=0;r<this.vendors.length;r++)f=this.vendors[r],n[""+f+i.charAt(0).toUpperCase()+i.substr(1)]=u}},{key:"vendorCSS",value:function(n,t){for(var f,u=c(n),i=u.getPropertyCSSValue(t),r=0;r<this.vendors.length;r++)f=this.vendors[r],i=i||u.getPropertyCSSValue("-"+f+"-"+t);return i}},{key:"animationName",value:function(n){var t=void 0;try{t=this.vendorCSS(n,"animation-name").cssText}catch(i){t=c(n).getPropertyValue("animation-name")}return"none"===t?"":t}},{key:"cacheAnimationName",value:function(n){return this.animationNameCache.set(n,this.animationName(n))}},{key:"cachedAnimationName",value:function(n){return this.animationNameCache.get(n)}},{key:"scrollHandler",value:function(){this.scrolled=!0}},{key:"scrollCallback",value:function(){var i,t,n;if(this.scrolled){for(this.scrolled=!1,i=[],t=0;t<this.boxes.length;t++)if(n=this.boxes[t],n){if(this.isVisible(n)){this.show(n);continue}i.push(n)}this.boxes=i;this.boxes.length||this.config.live||this.stop()}}},{key:"offsetTop",value:function(n){for(;void 0===n.offsetTop;)n=n.parentNode;for(var t=n.offsetTop;n.offsetParent;)n=n.offsetParent,t+=n.offsetTop;return t}},{key:"isVisible",value:function(n){var r=n.getAttribute("data-wow-offset")||this.config.offset,t=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,u=t+Math.min(this.element.clientHeight,p())-r,i=this.offsetTop(n),f=i+n.clientHeight;return u>=i&&f>=t}},{key:"disabled",value:function(){return!this.config.mobile&&a(navigator.userAgent)}}]),n}();t["default"]=b;n.exports=t["default"]});INFORMA=window.INFORMA||{};INFORMA.welcome_description=function(n,t){"use strict";var i,r;return r=function(){t("#closetip").on("click",function(){t(".tool").remove()})},i=function(){r()},{init:i}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.welcome_description.init());_adjustHeigt=function(){var t=Math.max.apply(null,el.find(".sector-card h2").map(function(){return $(this).height()}).get()),i=Math.max.apply(null,el.find(".sector-card .content").map(function(){return $(this).height()}).get()),n=Math.max.apply(null,el.find(".sector-card .sector-list-products").map(function(){return $(this).height()}).get());el.find(".sector-card h2").height(t);el.find(".sector-card .content").height(i);el.find(".sector-card .sector-list-products").height(n);el.find(".sector-card .btn-container").height(n)};INFORMA=window.INFORMA||{};INFORMA.AnalystEventList=function(n,t){"use strict";var i=t(".analyst-profile-events"),s=i.find(".events-section"),o=i.find(".btn-more-events"),r,u,f,e;return e=function(){t(".register.disabled").click(function(n){n.preventDefault()})},f=function(){t(".register.disabled").on("keydown",function(n){(n.keyCode===13||n.which===13)&&n.preventDefault()})},u=function(){o.on("click",function(){t(this).toggleClass("showLess");t(".analyst-profile-events .events-section:nth-child(n+2)").slideToggle()})},r=function(){i.length>0&&(u(),f(),e())},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.AnalystEventList.init());INFORMA=window.INFORMA||{};INFORMA.analystProfile=function(n,t){"use strict";var i,r,u;return r=function(){var n=t(".show-options");n.click(function(){t(this).parents("#analyst-profile").find(".descriptions").toggleClass("show-content")})},u=function(){var n=t(".descriptions").height(),i=t(".descriptions").addClass("show-content").height();t(".descriptions").removeClass("show-content");i<n&&jQuery(".show-options").addClass("hidden")},i=function(){r();u();INFORMA.global.siteCore.isExperience&&(t("#analyst-profile .show-options").hide(),t("#analyst-profile .descriptions").addClass("show-content"))},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.analystProfile.init());INFORMA=window.INFORMA||{};INFORMA.AnalystSearch=function(n,t){"use strict";var i=t(".analyst-search"),o=i.find(".sector select"),r=i.find(".sub-sector select"),f=i.find(".submit-btn"),c=i.find(".btn-reset"),l=i.find("#name"),s=t(".product-analyst-results"),h=INFORMA.Configs.urls.webservices,u=INFORMA.Templates,w,e,a,b,v,y,k,p,d,g,nt;return g=function(){i.find("#name").val("");o.prop("selectedIndex",0).trigger("chosen:updated").trigger("change")},y=function(){var n=jQuery(".analyst-views");n.each(function(){var n=jQuery(this).find(".analyst-list-container, .analyst-view-container"),u=n.find("analyst-description, .profile-discription"),f=n.find(".analyst-details"),e=n.find(".analyst-footer-content"),t=0,i=0,r=0;f.each(function(){var n=jQuery(this).height();n>i&&(i=n)});f.css("height",i);u.each(function(){var n=jQuery(this).height();n>t&&(t=n)});u.css("height",t);e.each(function(){var n=jQuery(this).height();n>r&&(r=n)});e.css("height",r)})},v=function(){var n=INFORMA.global.device.viewport,i=s.data(n),r=s.find(".analyst-views");r.each(function(){var n=t(this).find(".btn-plus").attr("data-count");n<=i&&t(this).find(".btn-plus").addClass("hidden")})},d=function(n,i){var f=n,e="",h=jQuery('a[data-fetch="'+i+'"]').parents(".analyst-views"),v=INFORMA.global.device.viewport,p=s.data(v)+1;for(var r in f)if(f.hasOwnProperty(r))if(t("#IsNewCoTemplateEnabled").val()=="True"){var o=f[r],c=r,l=u.AnalystTemplateNewCo!=="undefined"?u.AnalystTemplateNewCo:"",a=Handlebars.compile(l);o.header=c;e+=a({results:o})}else{var o=f[r],c=r,l=u.AnalystTemplate!=="undefined"?u.AnalystTemplate:"",a=Handlebars.compile(l);o.header=c;e+=a({results:o})}return h.find(".row").html(e),y(),h.addClass("showLess"),addthis.toolbox(".analyst-views"),h.find(".analyst-list-container:nth-child(n+"+p+")").slideDown(),e},b=function(){l.on("keyup",function(){var n=jQuery(this).val().trim().length,s=o.val(),u;n<3&&s==="default"?f.addClass("disabled"):f.removeClass("disabled");n>0?c.show():(u={Name:null,Sector:null,SearchText:t(".SearchTextSpecialist").val()},i.find("#name").val(""),o.prop("selectedIndex",0).trigger("chosen:updated").trigger("change"),r.prop("selectedIndex",0).trigger("chosen:updated").trigger("change"),e(h.AnalystSearch,"Post",JSON.stringify(u),a,null,null),c.hide())});o.chosen().on("change",function(){var n=jQuery(this).val(),t=jQuery(this).find("option:selected").text(),i=l.val().length;n==="default"&&i<3?f.addClass("disabled"):(f.removeClass("disabled"),c.show());n==="default"?(r.parents(".sub-sector").addClass("disabled"),r.parents(".form-group").find("label").html("By Sub-Sector")):(r.parents(".sub-sector").removeClass("disabled"),r.parents(".form-group").find("label").html("By "+t));e(h.AnalystSearchDropDown,"Post",n,k,null,null);r.trigger("chosen:updated")});f.on("click",function(){var n=i.find("form").serializeArray(),r,u,f;for(r in n)n[r].value==="default"&&(n[r].value=null);u=INFORMA.Utils.serializeObject(n);u.SearchText=t(".SearchTextSpecialist").val();f=JSON.stringify(u);e(h.AnalystSearch,"Post",f,a,null,null)});c.on("click",function(n){n.preventDefault();var u={Name:null,Sector:null,SearchText:t(".SearchTextSpecialist").val()};i.find("#name").val("");o.prop("selectedIndex",0).trigger("chosen:updated").trigger("change");r.prop("selectedIndex",0).trigger("chosen:updated").trigger("change");e(h.AnalystSearch,"Post",JSON.stringify(u),a,null,null);t(this).hide()})},k=function(n){var u=jQuery(r.find("option")[0]),i,t;for(r.empty(),i="<option value="+u.val()+">"+u.text()+"<\/option>",t=0;t<n.length;t++)i+="<option value="+n[t].Value+">"+n[t].Text+"<\/option>";r.html(i);r.trigger("chosen:updated")},a=function(n){var i,f,r;INFORMA.Spinner.Show(t("body"));i=n.SearchDictionary;f="";for(r in i)if(i.hasOwnProperty(r))if(t("#IsNewCoTemplateEnabled").val()=="True"){var e=i[r],o=r,h=u.AnalystListNewCo!=="undefined"?u.AnalystListNewCo:"",c=Handlebars.compile(h);e.header=o;f+=c({results:e})}else{var e=i[r],o=r,h=u.AnalystList!=="undefined"?u.AnalystList:"",c=Handlebars.compile(h);e.header=o;f+=c({results:e})}return Object.getOwnPropertyNames(i).length===0?t(".NoRecords").removeClass("hidden"):t(".NoRecords").addClass("hidden"),s.html(f),v(),y(),p(),addthis.toolbox(".analyst-views"),f},p=function(){var n=jQuery(".btn-plus");n.on("click",function(){var f=jQuery(this).data("fetch"),c=i.find("form").serializeArray(),l=JSON.stringify(INFORMA.Utils.serializeObject(c)),n=JSON.parse(l),r=jQuery('a[data-fetch="'+f+'"]').parents(".analyst-views"),a=INFORMA.global.device.viewport,u=parseInt(s.data(a))+1,o;n.SectorID=f;n.SearchText=t(".SearchTextSpecialist").val();for(o in n)n[o]==="default"&&(n[o]=null);r.hasClass("showLess")?(t("#IsNewCoTemplateEnabled").val()=="True"?(r.find(".analyst-view-container:nth-child(n+"+u+")").slideUp(),r.find(".analyst-view-container:nth-child(n+"+u+")").hide("fast",function(){t(this).remove()})):(r.find(".analyst-list-container:nth-child(n+"+u+")").slideUp(),r.find(".analyst-list-container:nth-child(n+"+u+")").hide("fast",function(){t(this).remove()})),r.removeClass("showLess")):e(h.AnalystSearchAll,"Post",JSON.stringify(n),d,null,f)})},nt=function(){var n=t(".analyst-views").find(".btn-container .btn-plus .less");n.on("click",function(){t("html, body").animate({scrollTop:t(this).closest(".analyst-views").offset().top-35},500)})},e=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify({data:r}),success_callback:function(n){typeof u=="function"&&(u.call(this,n,e),jQuery(".load-spinner").delay(600).remove())},error_callback:function(){jQuery(".load-spinner").delay(600).remove();typeof f=="function"&&f.call(this,r,e)}})},w=function(){if(i.length>0){b();p();v();nt();g();l.on("keypress",function(n){n.which===13&&(n.preventDefault(),l.val()&&f.trigger("click"))})}},{init:w}}(this,jQuery,"INFORMA");jQuery(INFORMA.AnalystSearch.init());INFORMA=window.INFORMA||{};INFORMA.NewcoAnalystTiles=function(n,t){"use strict";var f=t(".newco-analyst-views"),i=f.find(".analyst-view-container"),r,u;return u=function(){var n=0,r;i.each(function(){r=t(this).find(".profile-discription");r.height()>n&&(n=r.height())});i.find(".profile-discription").css("height",n)},r=function(){u()},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.NewcoAnalystTiles.init());INFORMA=window.INFORMA||{};INFORMA.animation=function(n,t){"use strict";function u(n){var e={},i="",r="",t,u,f;for(n.className+=" wow ",t=0;t<n.attributes.length;t++)u=n.attributes[t].value,f=n.attributes[t].name.substr(15).replace(/-(.)/g),f=="direction"?r=u:f=="type"&&(i=u);return n.className+=r?i+r:i,[].forEach.call(n.attributes,function(t){if(/^data-swanimate-/.test(t.name)){var i=t.name.substr(15).replace(/-(.)/g,function(n,t){return t.toUpperCase()});e[i]=t.value;i=="repeat"&&t.value==-1&&(t.value="infinite");switch(i){case"duration":n.setAttribute("data-wow-duration",t.value+"ms");break;case"repeat":n.setAttribute("data-wow-iteration",t.value);break;case"delay":n.setAttribute("data-wow-delay",t.value+"ms")}}}),e}function f(){t(".initialize-swanimate").each(function(){var n=t.parseJSON(t(this).val());t(n).each(function(n,i){if(t("."+i.itemidentifier).attr("data-swanimate-type",i["data-swanimate-type"]),t("."+i.itemidentifier).attr("data-swanimate-direction",i["data-swanimate-direction"]),i.data==!0){var r=Number(i["data-swanimate-delay"]),u=r;t("."+i.itemidentifier).each(function(){t(this).attr("data-swanimate-delay",u);u+=r})}else t("."+i.itemidentifier).attr("data-swanimate-delay",i["data-swanimate-delay"])})})}var i,r;return setTimeout(function(){t(".campaign-animation").css("visibility","visible");r=new WOW({animateClass:"animated",offset:100,mobile:!0});r.init()},700),i=function(){setTimeout(function(){f();var n=t("*[data-swanimate-type]"),i=0;n.each(function(){var t=u(n[i]);i++})},500)},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.animation.init());INFORMA=window.INFORMA||{};INFORMA.articleHeadline=function(n,t){"use strict";var i=t(".all-category").children("a"),r;return r=function(){t(document).ready(function(){var r=t(".drop-content ul li:first-child input:radio[name=yesno]"),n=1;r.is(":checked")==!0&&(r.prop("checked",!0),n=parseInt(n),n=n+1);t(".drop-content #all-category").length>0&&(t(".drop-content #all-category")[0].checked?i.removeClass("select-gradient"):i.addClass("select-gradient"));t(document).on("click",".all-category a",function(){var u=t(this).children("a").children("span"),f=t(this).parent().hasClass("active"),i=t(this).children("span");r.is(":checked")===!1&&n==2&&(r.prop("checked",!0),n++);t(this).removeClass("active");t(this).children(".dropdown-content").removeClass("drop-content-active");u.removeClass("triangle-down");u.addClass("triangle-right");t(this).parent().toggleClass("active");t(this).siblings(".dropdown-content").toggleClass("drop-content-active");f?(i.removeClass("triangle-right"),i.addClass("triangle-down")):(i.addClass("triangle-right"),i.removeClass("triangle-down"))});t(document).on("click",".article-filter-section-for-mob .drop-content li",function(){var n=t('input[name="yesno"]:checked').parent(".custom-radio").siblings(".sub-seg").text();t("a#category-value").html('<span class="triangle-down"><\/span>'+n);t(".drop-content #all-category")[0].checked?i.removeClass("select-gradient"):i.addClass("select-gradient")})})},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.articleHeadline.init());INFORMA=window.INFORMA||{};INFORMA.ArticleList=function(n,t){"use strict";var k=t("#article-list-section"),f=t("#article-list-section .list-container"),i=t("section .headline-list .list-container"),e=t(".category-filter-list .categoryFilter"),l=t("section .article-list"),a=t("section .headline-list"),v=INFORMA.global.siteCore.isExperience,d=INFORMA.Configs.urls.webservices,y,g={autoplay:!1,autoplaySpeed:4e3,sliderDots:!0,sliderInfinite:!0,slidesScroll:3,slidesShow:3,speed:400},r,p,s,o,u,h,w,b,c;return p=function(n){var i=n.data(),u={},t,r;if(typeof i=="object"){for(t in i)i.hasOwnProperty(t)&&(r=i[t],u[t]=r!==null&&r!==undefined?r:g[t]);return u}},b=function(n){return n.find("li").size()},s=function(n,t){var i=Handlebars.compile(n);return i(t)},h=function(n,t,i,f){t.empty().html(n);r(t,i,f);t.show();var e=setTimeout(function(){clearTimeout(e);u();c()},500)},o=function(n){INFORMA.Spinner.Show(t(".article-list"));INFORMA.DataLoader.GetServiceData(d.GetArticles,{method:"GET",data:n,success_callback:function(n){var e=t("body").data("sitetemplate")==="ovum-new",r,u;n.Articles!==undefined&&n.Articles.length>0?(r=s(e?INFORMA.Templates.articleListItemsNewCo:INFORMA.Templates.articleListItems,{Articles:n.Articles}),f.slick("unslick"),l.show(),h(r,f,1,2)):l.hide();n.Articles!==undefined&&n.Headlines.length>0?(u=s(INFORMA.Templates.HeadlinesListItems,{Headlines:n.Headlines}),i.slick("unslick"),a.show(),h(u,i,2,4)):a.hide()},error_callback:function(){}})},u=function(){var n=k.find(".recomended-wrapper"),i=0,r=0,u=0,f=0;n.each(function(){var n=t(this).find(".content").outerHeight();n>i&&(i=n)});n.find(".content").css("min-height",i);n.each(function(){var n=t(this).find(".topics").outerHeight();n>u&&(u=n)});n.find(".topics").height(u);n.each(function(){var n=t(this).find(".SubSectors").outerHeight();n>f&&(f=n)});n.find(".SubSectors").height(f);n.each(function(){var n=t(this).find(".recomend-content").outerHeight();n>r&&(r=n)});n.find(".recomend-content").css("min-height",r)},c=function(){var r=i.find(".slick-slide"),n=0,u=0;r.each(function(){var i=t(this).outerHeight();i>n&&(n=i+u)});r.css("height",n)},w=function(){if(e)e.on("change",function(n){n.preventDefault();var t=e.val();o(t)});u()},r=function(n,t,i){var u=b(n),r=p(n);r!=undefined&&n.slick({dots:r.sliderDots,infinite:r.sliderInfinite,speed:r.speed,autoplay:v?!1:r.autoplay,autoplaySpeed:r.autoplaySpeed,slidesToShow:u>=r.slidesShow?r.slidesShow:u,slidesToScroll:r.slidesScroll,swipe:INFORMA.global.device.isDesktop?!1:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:u>=2?i:u,slidesToScroll:i}},{breakpoint:600,settings:{slidesToShow:u>=2?i:u,slidesToScroll:i}},{breakpoint:480,settings:{slidesToShow:t,slidesToScroll:t}}]})},y=function(){if(!t(".article-list").hasClass("no-carousel")){if(f.length>0&&r(f,1,2),i.length>0){var l=i.find("li"),s=l.length,h=INFORMA.global.device.viewportN;h===2&&s>=2||h===1&&s>=4||h===0&&s>=6?r(i,2,4):r(i,s,s)}e&&!v&&(t(".chosen-select").chosen({disable_search_threshold:10,width:"100%"}),w())}t(n).on("load",function(){u();c();t("#article-category-list li:first").children(".custom-radio").children("input").prop("checked",!0)});t(n).on("resize",function(){u()});t(document).on("click",".article-filter-section-for-mob .drop-content li p",function(n){n.preventDefault();var i=t(this).attr("value");o(i)});t(document).on("click","#article-category-list li",function(n){n.preventDefault();t(this).children(".custom-radio").children("input").prop("checked",!0);var i=t(this).attr("value");o(i)})},{init:y}}(this,jQuery,"INFORMA");jQuery(INFORMA.ArticleList.init());INFORMA=window.INFORMA||{};INFORMA.articleSerchlisting=function(n,t){"use strict";var r,i=t(".product-finder-results").children(".container").children(".refine-container");return r=function(){t(document).ready(function(){t(document).on("click",".btn-group .dropdown-toggle",function(){t(this).siblings(".multiselect-container").children("li").hasClass("active")?t(this).toggleClass("select-gradient"):t(this).removeClass("select-gradient")});t(document).on("click",".resource-sector-search .button button",function(){var n=t(this).parents(".resource-finder").siblings(".product-finder-results");n.addClass("show-refine-container");n.find(".refine-container").show()});t(document).on("click",".close-refine-list",function(){t(this).parent(".refine-container").hide()});t(document).on("click",".refine-container-button .refine-button",function(){t(this).parent(".refine-container-button").siblings(".refine-container").toggle()});i.find(".heading").hasClass("heading-collapsed")&&(i.find(".heading").removeClass("heading-collapsed"),i.find(".panel-group").css("display","block"))})},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.articleSerchlisting.init());INFORMA=window.INFORMA||{};INFORMA.freearticle=function(n,t){"use strict";var i,r;return r=function(){var n=t("#productDetails").find(".articlepage-freearticle"),i=n.find("h2"),r=n.find("h3");n.length>0&&(INFORMA.global.device.viewportN===1?(n.first().css("padding-top","35px"),n.last().css("padding-bottom","35px"),i.first().css("padding-top","0"),i.last().css("padding-bottom","35px"),r.first().css("padding-top","0"),r.last().css("padding-bottom","25px")):INFORMA.global.device.viewportN===2?(n.first().css("padding-top","25px"),n.last().css("padding-bottom","25px"),i.first().css("padding-top","0"),i.last().css("padding-bottom","25px"),r.first().css("padding-top","0"),r.last().css("padding-bottom","20px")):(n.first().css("padding-top","45px"),n.last().css("padding-bottom","45px"),i.first().css("padding-top","0"),i.last().css("padding-bottom","45px"),r.first().css("padding-top","0"),r.last().css("padding-bottom","30px")))},i=function(){r()},{init:i}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.freearticle.init());INFORMA=window.INFORMA||{};INFORMA.articleTileView=function(n,t){"use strict";var r,u,f,e,o,s,h,c,l,i,a=t(".brexitstyle .carousel-container"),v=t(".brexitstyle .prev-slide"),y=t(".brexitstyle .next-slide"),p=t(".brexitstyle .pc-body.Podcastslist .podcast-recoderbutton"),w=t(".brexitstyle .btn-Podcasts"),b=t(".brexitstyle button#carouselbutton"),k=t(".brexitstyle .carousel-container .brexit-list");return a.slick({vertical:!0,verticalSwiping:!0,infinite:!1,loop:!1,slidesToShow:3,slidesToScroll:3,arrows:!1}),e=function(){v.click(function(){t(this).parents(".carousel-section").find(".carousel-container").slick("slickNext")})},o=function(){y.click(function(){t(this).parents(".carousel-section").find(".carousel-container").slick("slickPrev")})},s=function(){p.click(function(){t(this).parent(".podcast-recoder").hide();t(this).parent(".podcast-recoder").siblings(".carousel-section").show();t(this).parents(".carousel-section").show()})},h=function(){w.click(function(){t(this).closest(".pc-body").next("div").addClass("demo")})},c=function(){b.click(function(){t(this).closest(".demo").removeClass("demo")})},l=function(){k.click(function(i){var r=t(this).find("input[type=hidden]:first").val(),e=t(this).hasClass("brexit-list"),f=t(this).parents(".carousel-section"),u=t(this).parents(".carousel-section").siblings(".podcast-recoder");e&&(r!=undefined&&r!=null&&r!=""?r.includes("soundcloud.com")?(u.show(),u.find("iframe").attr("src",r),u.find(".brexit-list").empty(),u.find(".brexit-list").append(i.delegateTarget.innerHTML),f.hide()):(n.open(r),u.hide(),f.show()):(u.hide(),f.show()))})},r=function(){t(".brexitstyle .carousel-container").each(function(){f=t(this).find(".slide-container").length;i=t(this).parents(".carousel-section").find(".carousel-slide-button");i.show();f<=3?i.hide():i.show()})},u=function(){r();e();o();s();h();c();l()},{init:u}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.articleTileView.init());INFORMA=window.INFORMA||{};INFORMA.articletech=function(n,t){"use strict";var vt="",a="Segments",ut="SearchInput",dt=document.documentElement,gt=typeof dt.style.transition=="string"?"transition":"WebkitTransition",ui={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[gt],ft=0,ni=t(this).hasClass("allSelected"),yt,et,ot,b,st,ht,o,h,v,ct,c,k,l,y,d,pt,wt,g,u,nt,f,e,s,tt,lt,bt,i,ti=4,it,ii,ri,rt,p,at=[],kt,w,r;document.addEventListener("readystatechange",function(n){n.target.readyState==="complete"&&t(".grid-item").addClass("grid-show")});t(function(){et();rt();t(document).ready(function(){var o=n.location.href.split("?"),e,f,r,i;if(o.length>1){if(e=h(),t.each(e,function(n,i){if(i.Segment!=null&&(t("#"+i.Segment+" p").eq(0).addClass("selected"),t("#"+i.Segment).find(".input-checkbox").eq(0).prop("checked",!0),i.SubSegment!=null)){var r=t("#"+i.Segment).find(".sub-seg-mob li").not(".selectall").length,u=i.SubSegment.length;t.each(i.SubSegment,function(n,i){t("#"+i).find("p").addClass("selected");t("#"+i).find(".input-checkbox").prop("checked",!0)});r==u&&t(".selectall .input-checkbox").prop("checked",!0)}}),f=c(),f!=null)for(r=f.split(","),i=0;i<productLineArray.length-1;i++)t("#"+r[i])!=null&&(t("#"+r[i]).find("p").addClass("selected"),t("#"+r[i]).find(".input-checkbox").prop("checked",!0));y();u()}})});t(document).ready(function(){t(document).on("click",".menu a",function(){var n=t(this).parent(".menu").siblings(".menu"),i=t(this).children("span");n.removeClass("active");n.children(".dropdown-content").removeClass("drop-content-active");n.children("a").children("span").removeClass("triangle-down");n.children("a").children("span").addClass("triangle-right");t(this).parent().toggleClass("active");t(this).siblings(".dropdown-content").toggleClass("drop-content-active");t(this).parent().hasClass("active")?(i.removeClass("triangle-right"),i.addClass("triangle-down")):(i.addClass("triangle-right"),i.removeClass("triangle-down"))});t(".article-list-filter #closeFilterBtn").on("click",function(){var n=t(".article-list-filter"),i=t("body"),r=t("html");n.removeClass("active");t("#showArticleFiltersBtn").text("Select filters");r.removeClass("showfilters");i.removeClass("showfilters")});t("#showArticleFiltersBtn").on("click",function(){var n=t(".article-list-filter"),i=t("body"),r=t("html");n.toggleClass("active");n.hasClass("active")?(t(this).text("Search"),r.addClass("showfilters"),i.addClass("showfilters")):(t(this).text("Select filters"),r.removeClass("showfilters"),i.removeClass("showfilters"),w(t("#txtArticleSearchText").val()))});t(".segmanet-head, .sub-segment").click(function(){t(this).siblings("label").children("input").trigger("change")});t(".segmanet-head-mob").on("click",function(){t(this).children().hasClass("sub-seg-mob")&&t(this).find(".sub-seg-mob").toggleClass("active-slide");t(this).children("span").hasClass("triangle-right")?(t(this).children("span").removeClass("triangle-right"),t(this).children("span").addClass("triangle-down")):(t(this).children("span").removeClass("triangle-down"),t(this).children("span").addClass("triangle-right"))});t(document).on("click",".active-slide .selectall",function(){ni?(t(this).siblings("li").children("label").children("input[type=checkbox]").prop("checked",!1),t(this).removeClass("allSelected")):(t(this).siblings("li").children("label").children("input[type=checkbox]").prop("checked",!0),t(this).addClass("allSelected"))});t(".drop-options li").each(function(){var n=t(this).children("ul").hasClass("sub-seg-mob");n||(t(this).children("span").addClass("de-active"),t(this).children("label").addClass("active"))});t(".brands,.sgmnt-menu").mouseout(function(n){for(var i=n.relatedTarget;i!=null;){if(i==this)return;i=i.parentNode}t(this).removeClass("active");t(this).find(".drop-content-active").removeClass("drop-content-active");t(this).find(".triangle-down").addClass("triangle-right").removeClass("triangle-down")})});t(document).on("click",".clearAllArticlesFilters",function(){n.location=n.location.href.split("?")[0]});w=function(n){p=n;n!=""&&(t("#filterpageno").val("0"),o(),y(),v(),pt(p))};kt=function(n){var i={data:JSON.stringify({SegmentAndSubSegments:h(),BrandID:c(),ProductLineId:t("#productlinepre").val(),SearchKeyword:n,CurrentPage:t("#CurrentPage").val(),RequestType:"Article",PageNo:1})};t.ajax({url:"/client/search/GetAutocompleteList",type:"POST",data:i,success:function(n){t.each(n.Articles,function(n,i){t.inArray(i.Title,at)==-1&&at.push(i.Title)});t("#txtArticleSearchText").closest(".search-bar").addClass("ui-front");t("#txtArticleSearchText").autocomplete({source:at,minLength:ti,select:function(n,t){var r=t.item.label,i=t.item.value;w(i);u()},create:function(n){t("#ui-id-1").css("width",n.target.offsetWidth)},open:function(n){t("#ui-id-1").css("width",n.target.offsetWidth)}}).on("input",function(n){n.which===13&&t("#ui-id-1").hide()}).off("focus blur").on("focus blur",function(n){var i=n.target.value;i.length>3&&t(n.target).autocomplete("search",i)});t("body").click(function(n){n.target!==t("#txtEventSearchText")[0]&&t("#txtEventSearchText").autocomplete("close")})},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})};t(".article-list-filter .search-bar i.search-icon").click(function(){w(t("#txtArticleSearchText").val());u()});t("#txtArticleSearchText").on("input",function(n){var i=n.keyCode?n.keyCode:n.which,t=this.value;t!=""&&t.length>0&&(i=="13"?(w(t),u()):kt(t))});t(document).on("click",".article-cross",function(){var n=t(this).attr("data-attr-id"),r=t(this).attr("data-attr-valueofoption"),u;g(n,r);t("#"+r+" input").prop("checked",!1);(n=="Segments"||n=="SubSegments")&&(n=="Segments"&&t("#"+r+" .sub-seg-mob li").find("p").each(function(){it=t(this).parent().attr("id");g("SubSegments",it)}),b("Segments"));n==ut&&(p="");n=="articlebrands"&&k(n);INFORMA.Spinner.Show(t("body"));var i=parseInt(t("#filterpageno").val()),e=t("#filterpagesize").val(),f=t("#showless").val();i=i=="1"?1:i;ft=f=="true"?i-1:i+1;INFORMA.Spinner.Show(t("body"));u={data:JSON.stringify({SegmentAndSubSegments:h(),BrandID:c(),SearchText:t("#searchText").val(),CurrentPage:t("#CurrentPage").val(),ProductLineId:t("#productlinepre").val(),MaxItemCount:t("#maxitemcount").val(),ArticleSearchText:p,PageNo:ft})};ii=!1;ct(vt,"POST",u,!0)});ct=function(n,i,r,u){t.ajax({url:"/client/search/GetFilteredArticlesList",type:"POST",data:r,success:function(n){if(u&&(t("#article-list").empty(),t(".no-records").show()),t(t(n).find(".artical-list-outer > .artcl-list")).length){t(".no-records").hide();t("#article-list").html("");t("#article-list").html(t(n).find("#article-list"));rt();return}INFORMA.Spinner.Hide()},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})};v=function(){var r=t(this).parents(".wrapper-dropdown-1").attr("name"),n=parseInt(t("#filterpageno").val())+1,u=t("#filterpagesize").val(),i;n=n=="1"?1:n;i={data:JSON.stringify({SegmentAndSubSegments:h(),BrandID:c(),SearchText:t("#txtArticleSearchText").val(),CurrentPage:t("#CurrentPage").val(),ProductLineId:t("#productlinepre").val(),ArticleSearchText:p,PageNo:n})};t("#filterpageno").val(n);ct(vt,"POST",i,!0)};t(document).on("click","#articlelistshowmore",function(){v()});return rt=function(){var n=parseInt(t("#totalresultcount").val()),r=parseInt(t("#PageNo").val()),u=parseInt(t("#filterpageno").val()),i=parseInt(t("#TotalPages").val());i<=n?(t("#articlelistshowmore").addClass("hide-article"),t("#articlelistshowmore").hide()):(t("#articlelistshowmore").removeClass("hide-article"),t("#articlelistshowmore").show())},et=function(){t(".drop-options .input-checkbox").change(function(){var n=t(this).parent().next(),c=t(this).parent(".round-checkbox").parent(),h,e,o,s,l,f;if(this.checked)t(c).hasClass("selectall")?(e=t(this).parent(".round-checkbox").parent().attr("parentsegmentid"),n=t("#"+e).find(".segmanet-head").eq(0),h=t(n).parent().children(".round-checkbox").siblings("ul").hasClass("sub-seg-mob"),h&&(t(n).parent().children("ul").children("li").not(".selectall").children("label").children("input[type=checkbox]").prop("checked",!0),t(n).parent().children("ul").children("li").not(".selectall").children("p").addClass("selected"))):(h=t(this).parent(".round-checkbox").siblings("ul").hasClass("sub-seg-mob"),h?(t(this).parent(".round-checkbox").siblings("ul").children("li").not(".selectall").children("label").children("input[type=checkbox]").prop("checked",!0),t(this).parent(".round-checkbox").siblings("ul").children("li").not(".selectall").children("p").addClass("selected")):(e=n.parent().attr("parentsegmentid"),t("#"+e+" p").eq(0).addClass("selected"),t("#"+e).find(".input-checkbox").eq(0).prop("checked",!0))),ot(n),v();else if(t(c).hasClass("selectall"))e=t(this).parent(".round-checkbox").parent().attr("parentsegmentid"),n=t("#"+e).find(".segmanet-head").eq(0),t(n).hasClass("segmanet-head")?i=t(n).parents(".wrapper-dropdown-1").attr("id"):t(n).hasClass("sub-segment")&&(i="SubSegments"),r=t(n).parent().attr("id"),t("#"+i+"_"+r).find(".article-cross").click(),i=="Segments"&&t("#"+r+" input").find("p").each(function(){t(this).removeClass("selected")});else{if(t(n).hasClass("segmanet-head")?i=t(n).parents(".wrapper-dropdown-1").attr("id"):t(n).hasClass("sub-segment")?i="SubSegments":t(n).hasClass("single-level-dropdown")&&(i=t(n).parents(".wrapper-dropdown-1").attr("id")),r=t(n).parent().attr("id"),t("#"+i+"_"+r).find(".article-cross").click(),i=="Segments"){if(o=JSON.parse(t("#"+i).attr("data-value-segment-and-subsegment")),o.length>0){for(f=0;f<o.length;f++)if(o[f].Segment==r){o.remove(o[f]);break}t("#"+i).attr("data-value-segment-and-subsegment",JSON.stringify(o))}t("#"+r+" input").attr("checked",!1)}if(i=="articlebrands"){if(s=t("#"+i).attr("data-value-brands").split(","),l="",s.length>0){for(f=0;f<s.length;f++)if(s[f]==r){t("#"+i).find("p").removeClass("selected");s.remove(s[f]);break}t("#"+i).attr("data-value-brands",s);v()}t("#"+r+" input").attr("checked",!1)}}y();u()})},ot=function(n){if(n==ut)d();else{var i="",r="",u=0,f=t(n).text();t(n).hasClass("segmanet-head")?i=t(n).parents(".wrapper-dropdown-1").attr("id"):t(n).hasClass("sub-segment")?i="SubSegments":t(n).hasClass("single-level-dropdown")&&(i=t(n).parents(".wrapper-dropdown-1").attr("id"));r=t(n).parent().attr("id");u=t(n).parent().attr("attr-index");(i==a||i=="SubSegments")&&(t(n).addClass("selected"),i=a,b(i));i=="articlebrands"&&(t(n).addClass("selected"),k(i))}},b=function(n){nt=[];t("#"+n+" .drop-options .segmanet-head-mob").each(function(){var i,n;f=this;var o=t(this).find(".segmanet-head"),r=t(f).find("p.segmanet-head").hasClass("selected"),u=t(f).find(".sub-seg-mob li").not(".selectall");s={};e=t(f).attr("id");r&&(s.Segment=e);i=0;u.length!=null&&(ri={},n=[],t(u).find("p").each(function(){var r=t(this).hasClass("selected");r&&(n.push(t(this).parent().attr("id")),i++)}),i>0?(s.Segment=e,s.SubSegment=n):r&&(n=[],t(u).each(function(){n.push(t(this).attr("id"))}),s.SubSegment=n.length>0?n:null));(i>0||r)&&nt.push(s)});nt.length==0?t("#"+a).attr("data-value-segment-and-subsegment",""):t("#"+a).attr("data-value-segment-and-subsegment",JSON.stringify(nt))},ht=function(){var n=t("#txtArticleSearchText").val();return n!=""&&n!="View Search"?!0:!1},h=function(){var n=t("#"+a).attr("data-value-segment-and-subsegment");return n!=null&&n!=""?JSON.parse(n):null},c=function(){var n=t("#articlebrands").attr("data-value-brands");return n!=null&&n!=""?n:null},k=function(n){tt=[];t("#"+n+" .drop-options .brands-item").each(function(){lt=this;var n=t(lt).find("p").hasClass("selected");bt=t(lt).attr("id");n&&tt.push(bt)});tt.length==0?t("#"+n).attr("data-value-brands",""):t("#"+n).attr("data-value-brands",tt)},l=function(n,i,r,u,f){var e;e=f?'<div class="unit articlelist-hidden-filter" style="display:none;" id="'+n+"_"+i+'" data-attr="'+i+'"><label class="value">'+r+'<\/label> <label data-attr-id="'+n+'" data-attr-x2="'+u+'" data-attr-valueofoption="'+i+'"  class="cross">X<\/label><\/div>':'<div class="unit" id="'+n+"_"+i+'" data-attr="'+i+'"><label class="value">'+r+'<\/label> <label data-attr-id="'+n+'" data-attr-x2="'+u+'" data-attr-valueofoption="'+i+'"  class="article-cross">X<\/label><\/div>';t(".section").append(e)},y=function(){if(t(".section").empty(),st())t(".section").append('<div class="unit clearAllArticlesFilters hideclass"><label class="value">Clear All Filters<\/label><label style="margin:0 10px;cursor:pointer">X<\/label><\/div>');t("#Segments .drop-options .segmanet-head-mob").each(function(){var i;f=this;var o=t(this).find(".segmanet-head"),s=t(this).find("p").hasClass("selected"),n=t(f).find(".sub-seg-mob li").not(".selectall");if(!t(n).hasClass("selectall")){if(e=t(f).attr("id"),s){var r=t(o).text(),u=t(f).attr("attr-index"),h=t("#"+e).find(".sub-seg-mob li").not(".selectall").find("p").hasClass("selected"),i=t("#"+e).find(".sub-seg-mob li").not(".selectall").length;h||i!=0?l("Segments",e,r,u,!0):l("Segments",e,r,u)}i=0;n.length!=null&&t(n).find("p").each(function(){var u=t(this).hasClass("selected"),n,r;u&&(i++,it=t(this).parent().attr("id"),n=t(this).text(),r=t(this).parent().attr("attr-index"),l("SubSegments",it,n,r))})}});t("#articlebrands .drop-options li").each(function(){var r=t(this).find(".single-level-dropdown"),u=t(this).find("p").hasClass("selected"),f=t(this).attr("id"),n,i;u&&(n=t(r).text(),i=t(this).attr("attr-index"),l("articlebrands",f,n,i))});d()},o=function(){t("#Input_ArticleSearchText").length>0&&t("#Input_ArticleSearchText").remove()},d=function(){var n=t.trim(t("#txtArticleSearchText").val()),i;n!=""?(o(),i='<div class="unit" id="Input_ArticleSearchText"><label class="value">'+n+'<\/label> <label data-attr-id="SearchInput" class="article-cross">X<\/label><\/div>',t(".section").append(i)):o()},pt=function(n){var i=t.trim(n),r;i!=""?(o(),r='<div class="unit" id="Input_ArticleSearchText"><label class="value">'+i+'<\/label> <label data-attr-id="SearchInput" class="article-cross">X<\/label><\/div>',t(".section").append(r)):o()},wt=function(n){n?t(".no-records").show():t(".no-records").hide()},g=function(n,i){if(n==ut)t("#Input_ArticleSearchText").remove(),t("#txtArticleSearchText").val("");else if(t("#"+i+" p").removeClass("selected"),t("#"+n+"_"+i).remove(),"Segments"==n||"SubSegments"==n){var r=t("#"+i).attr("parentSegmentId"),f=t("#"+r).find(".sub-seg-mob li").not(".selectall").find("p").hasClass("selected"),e=t("#"+r).find(".sub-seg-mob li").not(".selectall").length;f||e>0&&(t("#"+r+" p").removeClass("selected"),t("#Segments_"+r).remove(),t("#"+r+" .round-checkbox").find("input[type=checkbox]").prop("checked",!1))}u()},st=function(){var n=t(".drop-options p.selected").length;return n>=1?!0:!1},u=function(){var n=t(".drop-options p.selected").length,i=t(".articlelist-hidden-filter").length,r=ht();r&&n++;i>0&&(n=n-i);n==1?(t(".filter-section .heading").show(),t(".filter-section .heading").text("Active Filters ("+n+")"),t(".clearAllArticlesFilters").addClass("hide-clear-filter")):n>1?(t(".filter-section .heading").show(),t(".clearAllArticlesFilters").removeClass("hide-clear-filter"),t(".filter-section .heading").text("Active Filters ("+n+")")):(t(".filter-section .heading").hide(),t(".clearAllArticlesFilters").addClass("hide-clear-filter"))},yt=function(){t("#articlesection").length!=0&&(et(),ot(),b(),st(),ht(),o(),h(),c(),k(),l(),y(),d(),wt(),g(),u(),rt())},{init:yt}}(this,jQuery,"INFORMA");jQuery(INFORMA.articletech.init());INFORMA=window.INFORMA||{};INFORMA.brandList=function(n,t){"use strict";var i=t("#product-brands-list-section, #related-products-section"),r,u;return u=function(){var n=t(".product-brands-list .view-all-mobile-container");n.on("click",function(){var n=INFORMA.global.device.viewportN;n==2&&(t(this).prev().find(".col-xs-12 ").show(),t(this).hide())})},r=function(){i.length>0&&u(i)},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.brandList.init());INFORMA=window.INFORMA||{};INFORMA.brandList=function(n,t){"use strict";var r=t(".product-brands-list"),i,u=r.find(".btn-showMore");return i=function(){},{init:i}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.brandList.init());INFORMA=window.INFORMA||{};INFORMA.BrandPortfolio=function(n,t){"use strict";var r=t(".portfolio .select-filter"),i=t(".portfolio #showFiltersBtn"),e=t('<a href="#" id="closeFilterBtn">Hide filters<\/a>'),o=t(".search-icon"),f=t("body"),u=!1,s=function(){r.append(e);e.click(function(n){n.preventDefault();f.css("overflow-y","");r.hide();i.text("Select filters");i.attr("data-state","select");u=!1});i.click(function(n){n.preventDefault();u=!u;u?(f.css("overflow-y","hidden"),r.show(),i.text("Search"),i.attr("data-state","search")):(o.click(),f.css("overflow-y",""),r.hide(),i.text("Select filters"),i.attr("data-state","select"))});t(".segmanet-head, .sub-segment, .sub-seg").click(function(){t(this).siblings("label").trigger("click")})};return{init:s}}(this,jQuery,"INFORMA");jQuery(INFORMA.BrandPortfolio.init());INFORMA=window.INFORMA||{};INFORMA.campaignbackground=function(n,t){"use strict";var i,r;return r=function(n){var f=t("body").height(),r=t(".scroll-down"),e=t("span.scroll-down").length,f=t("body").height(),o=t("#informa-main-header").height(),s=t("footer").height(),i=t("#cookieBanner").height(),u;(i==null||i==undefined)&&(i=170);u=parseInt(f)-(parseInt(o)+parseInt(s)+parseInt(i)+700);r.removeClass("hide");e>0&&(n>=u?r.addClass("hide"):r.removeClass("hide"))},i=function(){n.addEventListener("scroll",function(){var n=this.scrollY;r(n)})},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.campaignbackground.init());INFORMA=window.INFORMA||{};INFORMA.campaigncarousel=function(n,t){"use strict";var r,i=t(".campaign-carousel"),u=i.data("autorotate"),o=i.data("pagination"),s=i.data("itemsperframe"),h=i.data("transitionspeed"),f=i.data("slideduration"),e;if(i.data("rtl")!==undefined&&(e=i.data("rtl")),e===!0&&u===!0)i.on("init",function(){n.setInterval(function(){i.slick("slickPrev")},f)});return r=function(){t(".campaign-carousel").slick({arrows:!1,autoplay:u,dots:o,slidesToShow:s,speed:h,autoplaySpeed:f})},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.campaigncarousel.init());INFORMA=window.INFORMA||{};INFORMA.CommunitySegment=function(n,t){"use strict";var u=t("#myCarousel"),i,r;return i=function(){if(t("#myCarousel").length!=0){var i,r=!1;t(document).ready(function(){function e(n){o.removeClass("current").eq(n).addClass("current");h.hide().eq(n).show();u=setTimeout(function(){f=(n+1)%o.length;e(f)},4e3)}var o=t("li.listgroup-item"),h=t(".carousel-inner .item"),f=0,u,s;e(f);t("#myCarousel .listgroup").hover(function(){n.clearTimeout(u)},function(){if(r){if(t("li.listgroup-item.current").length==0&&i.length>0)var n=t(i).attr("data-slide-to");return!1}e(f)});s=n.innerWidth;s<768&&n.clearTimeout(u);t("li.listgroup-item").hover(function(){var i,f;if(r)return!1;i=t(this).attr("data-slide-to");t("li.listgroup-item").removeClass("current");t(this).addClass("current");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+i+'"]').show().addClass("current");i=parseInt(i);f=i+1;t(".carousel-inner .item:nth-child("+f+")").show();n.clearTimeout(u)});t("li.listgroup-item").click(function(){var f,e;i=t(this);r=!0;f=t(this).attr("data-slide-to");t("li.listgroup-item").removeClass("current");t(this).addClass("current");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+f+'"]').show().addClass("current");f=parseInt(f);e=f+1;t(".carousel-inner .item:nth-child("+e+")").show();n.clearTimeout(u)});t(".carousel-inner").hover(function(){if(t("li.listgroup-item.current").length==0&&i.length>0){var n=t(i).attr("data-slide-to");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+n+'"]').show().addClass("current");t("li.listgroup-item").removeClass("current");t('li.listgroup-item[data-slide-to="'+n+'"]').addClass("current")}});t(".carousel-controls .carousel-control").click(function(n){var i=t(".carousel-inner .item"),e=i.filter(":visible"),o=i.index(e),r=t(this).hasClass("right")?o+1:o-1,s=i.length-1,u,h,f;r=r>s?0:r<0?s:r;u=i.eq(r);h=i.index(u);f=t('li.dropgroup-item[data-slide-to="'+h+'"]');u.addClass("current").show();e.removeClass("current").hide();f.addClass("current");t(".content-head").text(f.text());n.preventDefault()});t("#divsegment").click(function(){t(this).toggleClass("active")});setTimeout(function(){var n=t("#divsegment li:nth-child(1)").html();t(".content-head").text(n)},30);t("li.dropgroup-item").click(function(){var n,u;i=t(this);r=!0;n=t(this).attr("data-slide-to");t("li.dropgroup-item").removeClass("current");t(this).addClass("current");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+n+'"]').show().addClass("current");n=parseInt(n);u=n+1;t(".carousel-inner .item:nth-child("+u+")").show();t(".content-head").text(t(this).text())})})}},r=function(){},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.CommunitySegment.init());INFORMA=window.INFORMA||{};INFORMA.homeContactUs=function(n,t){"use strict";var i=t("#contactus-section"),s=i.find(".panel-default"),e=i.find(".panel-heading"),o=i.find(".panel-body"),r,u,f;f=function(){var n=INFORMA.global.device.viewportN;(n===0||n===1)&&o.each(function(){var n=jQuery(this).find(".btn-container").outerHeight()-30;n>0?jQuery(this).find(".content-wrapper-cta").css("margin-bottom",n+"px"):jQuery(this).find(".content-wrapper-cta").css("margin-bottom","15px")})};u=function(n){if(INFORMA.global.device.viewportN===2){var t=n.find(".panel-default");t.each(function(n){n<2?jQuery(this).find(".panel-heading").removeClass("collapsed"):jQuery(this).find(".collapse").collapse("hide")})}};e.on("click",function(n){n.stopPropagation();jQuery(this).hasClass("collapsed")?(jQuery(this).removeClass("collapsed"),jQuery(this).parent().find(".collapse").collapse("show")):(jQuery(this).addClass("collapsed"),jQuery(this).parent().find(".collapse").collapse("hide"))});return r=function(){i.length>0&&(u(i),f())},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.homeContactUs.init());INFORMA=window.INFORMA||{};INFORMA.ContactUs=function(n,t){"use strict";var i,r,u;return r=function(){var n=t(".contactUsPage-contactUs").find(".submit-status[data-status='success']").parents(".tab-pane").attr("id");t('.contactUsPage-contactUs .nav-tabs a[href!="#'+n+'"]').removeClass("active");t('.contactUsPage-contactUs .nav-tabs a[href="#'+n+'"]').tab("show").addClass("active")},i=function(){var i=t(".contactUsPage-contactUs").find(".redirect-url-field");i.length>0&&i.val(n.location.href)},u=function(){r();var u=document.location.hash,f="tab_";u?(t('.contactUsPage-contactUs .nav-tabs a[href="'+u.replace(f,"")+'"]').tab("show").addClass("active"),i()):(t('.contactUsPage-contactUs a[data-toggle="tab"]:first').tab("show").addClass("active"),r(),i());t('.contactUsPage-contactUs a[data-toggle="tab"]').on("shown.bs.tab",function(r){INFORMA.Analytics.trackFormEvents(t(this),"Open");n.location.hash=r.target.hash.replace("#","#"+f);i()})},{init:u}}(this,jQuery,"INFORMA");jQuery(INFORMA.ContactUs.init());INFORMA=window.INFORMA||{};INFORMA.CookiePolicy=function(n,t){"use strict";var i=0,r="cookiepolicybanneraccepted",u="yes",f,e,o,s;return e=function(){t("body").find("#cookieBanner").show();t("#cookieBanner:visible").length&&(INFORMA.global.device.isDesktop?t(".mainNavigation").hasClass("navbar-fixed-top")&&(t(".mainNavigation").css("top",t("#cookieBanner").outerHeight()),t("#pdp-navigation").css("top",t("#cookieBanner").outerHeight()+t(".mainNavigation").outerHeight())):t(".mobileNavigation").hasClass("navbar-fixed-top")&&(t(".mobileNavigation").css("top",t("#cookieBanner").outerHeight()),t("#pdp-navigation").css("top",t("#cookieBanner").outerHeight()+t(".mobileNavigation").outerHeight())));t("#cookieBanner a.close").on("click",function(n){n.preventDefault();s();INFORMA.DataLoader.GetServiceData("/client/ajax/SetCookie",{method:"Post",data:JSON.stringify({key:r,value:u,expires:i}),success_callback:function(){}})})},o=function(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)===" ";)t=t.substring(1,t.length);if(t.indexOf(r)===0)return t.substring(r.length,t.length)}return null},s=function(){t("body").find("#cookieBanner").hide();t(".mainNavigation").hasClass("navbar-fixed-top")&&t(".mainNavigation").css("top",0);t(".mobileNavigation").hasClass("navbar-fixed-top")&&t(".mobileNavigation").css("top",0);t("#pdp-navigation").hasClass("navbar-fixed-top")&&t("#pdp-navigation").css("top",t(".mainNavigation").outerHeight())},f=function(){var n=t("input.cookieDuration").val()?t("input.cookieDuration").val():365;i=parseInt(n);o(r)!==u&&e()},{init:f}}(this,jQuery,"INFORMA");jQuery(INFORMA.CookiePolicy.init());INFORMA=window.INFORMA||{};INFORMA.PreferenceTab=function(n,t){"use strict";var s=t(".preference .panel-body li .custom-checkbox"),h=t(".preference .panel-body .custom-checkbox input"),c=t(".preference .panel-heading .custom-checkbox input"),r,u,f,l,e,i,o=0;return f=function(){t(".preference .panel-body").each(function(){var n=t(this).find('input[type="checkbox"]').length,i=t(this).find('input[type="checkbox"]:checked').length;n>0&&n==i&&t(this).parents(".panel").find(".panel-heading").find('input[type="checkbox"]').attr("checked","checked")})},e=function(n,t){INFORMA.DataLoader.GetServiceData("/client/ajax/UpdateCookieAreaOfInterest",{method:"Post",data:JSON.stringify({key:n,value:t,expires:365}),success_callback:function(){}})},l=function(n){var t=document.cookie.match(new RegExp(n+"=([^;]+)"));return t&&(t=JSON.parse(t[1])),t},i=function(n,i){var u=n.parents(".panel-default").eq(0),s=u.find("span.count"),f=u.find(".panel-body input[type=checkbox]:checked"),h=u.find(".panel-body input[type=checkbox]"),c=t(".preference .panel-body").find("input[type=checkbox]:checked"),r=[];i||n.prop("checked")||n.parents(".panel").eq(0).find(".panel-heading input").prop("checked",!1);f&&(o=f.length,s.text(o));jQuery.each(c,function(){t(this).prop("checked")===!0&&r.push(t(this).val())});r=r?r.join(","):null;f.length===h.length&&n.parents(".panel").eq(0).find(".panel-heading input").prop("checked",!0);e("USR_DETAIL",r)},u=function(){c.on("click",function(){var n=t(this).parents(".panel").eq(0).find(".panel-body input");t(this).prop("checked")===!0?jQuery.each(n,function(){t(this).prop("checked")!==!0&&t(this).prop("checked",!0)}):jQuery.each(n,function(){t(this).prop("checked",!1)});i(t(this),!0)});h.on("click",function(n){n.stopPropagation();n.stopImmediatePropagation();i(t(this),!1)})},r=function(){s.length&&(u(),f())},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.PreferenceTab.init());INFORMA=window.INFORMA||{};INFORMA.EventsViews=function(n,t){"use strict";var e=INFORMA.Templates,a="POST",v,i,c,h,o,r,u,f,l,y,s;return i={Container:t(".events-search"),FiltersUI:t(".filter-section"),ActiveFilters:[],FilterContainer:t(".filter-section .active-filters"),FilterCountElement:t(".filter-section .active-count"),FilterElement:t('<div class="filter"><span class="text"><\/span><\/div>'),FilterDeleteBtn:t('<span class="delete icon-close"><\/span>'),Selects:t(".events-search select"),CustomSelects:t(".events-search .custom-dd-menu"),HaveUpdated:!1,AlwaysSelectedFilters:[],Init:function(){var n=this;this.PopulateAlwaysSelectedFilters();this.Selects.each(function(){var n=t(this);n.chosen("destroy");n.chosen({width:"100%",disable_search:!0})});this.Selects.change(function(){var n=t(this);this.value&&(u.AddProp(this.name,n.children("option:selected").text()),this.name!=="MonthYear"&&(n.children('option[value=""]').attr("selected","").siblings().removeAttr("selected"),n.trigger("chosen:updated")))});this.CustomSelects.each(function(){var i=t(this),f=i.find(".input-checkbox");i.data("addValues",function(n){var e,f,r=i.attr("data-values")===""?[]:i.attr("data-values").split(",");n.each(function(){e=t(this);f=e.children("p").text();!r.indexOf(f)>-1&&r.push(f)});u.AddProp(i.attr("name"),r);i.attr("data-values",r)});i.data("removeValues",function(r){var f,e,o=i.attr("data-values").split(","),h=[],s;r.each(function(){f=t(this);e=f.children("p").text();s=o.indexOf(e);s>-1&&(o.splice(s,1),h.push(e));n.RemoveFilter(i.attr("name"),f.attr("id"))});u.RemoveProp(i.attr("name"),h);i.attr("data-values",o)});i.children("a").off().click(function(u){if(i.hasClass("active"))r.BodyContainer.off("click");else{n.CustomSelects.removeClass("active").children(".dropdown-content").removeClass("drop-content-active");r.BodyContainer.off("click").on("click",function(n){if(t(n.target).closest(".custom-dd-menu")[0]===i[0]||t(n.target).attr("type")==="checkbox"||t(n.target).attr("type")==="radio"){n.stopPropagation();return}i.removeClass("active").children(".dropdown-content").removeClass("drop-content-active")})}i.toggleClass("active").children(".dropdown-content").toggleClass("drop-content-active");u.stopPropagation()});f.off().change(function(){var n=t(this).parent(".round-checkbox").parent(),u=n.children("ul").length>0,f=n.hasClass("selectall"),r=this.checked;u?(i.data(r?"addValues":"removeValues")(n.find("ul > li").not(".selectall")),n.find("ul > li").not(".selectall").each(function(){t(this).find(".input-checkbox")[0].checked=r})):f?(i.data(r?"addValues":"removeValues")(n.siblings("li")),n.siblings("li").each(function(){t(this).find(".input-checkbox")[0].checked=r})):i.data(r?"addValues":"removeValues")(n)})})},PopulateAlwaysSelectedFilters:function(){var n=this;this.Selects.each(function(){var i=t(this),s=i.attr("name"),e=!1,u=i.data("selected"),r=i.data("ignore"),f=i.find("option"),o;if(u&&r&&u===r){console.warn("Selected and Ignored filters match, therefore preselection will be ignored for: "+s);return}(u&&u.length>0&&(f=f.filter('[value="'+u+'"]'),e=!0),r&&r.length>0&&(f=f.not('[value="'+r+'"]'),e=!0,i.find('option[value="'+r+'"]').remove(),i.trigger("chosen:updated")),e)&&f.each(function(){o=t(this).attr("value");o!==""&&n.AlwaysSelectedFilters.push({type:s,value:o})})});this.CustomSelects.each(function(){var r=t(this),s=r.attr("name"),e=!1,u=r.data("selected"),i=r.data("ignore"),f=r.find(".round-checkbox").parent(),o;if(u&&i&&u===i){console.warn("Selected and Ignored filters match, therefore preselection will be ignored for: "+s);return}(u&&u.length>0&&(f=f.filter('[id="'+u+'"]'),e=!0),i&&i.length>0&&(f=f.not('[id="'+i+'"]'),e=!0,r.find('li[id="'+i+'"]').remove()),e)&&f.each(function(){o=t(this).attr("id");o!==""&&n.AlwaysSelectedFilters.push({type:s,value:o})})})},AddFilter:function(n){var i;n.value!==""&&(this.Selects.filter('[name="'+n.type+'"]').children("option").each(function(){if(t(this).text()===n.text)return i=t(this),n.value=i.attr("value"),!1}),this.CustomSelects.filter('[name="'+n.type+'"]').find("li").each(function(){if(t(this).children("p").text()===n.text)return i=t(this),n.value=i.attr("id"),!1}),n.type=="EventSearchText"||i&&i.length!==0)&&((n.type=="EventSearchText"&&(n.value=n.text,s=n.text),this.FilterContainer.children('[data-value="'+n.value+'"]').length>0)||(n.type==="MonthYear"&&(this.ActiveFilters=this.ActiveFilters.filter(function(n){return n.type!=="MonthYear"})),this.ActiveFilters.push(n),this.UpdateFilters()))},RemoveFilter:function(n,t){n&&t?this.ActiveFilters=this.ActiveFilters.filter(function(i){return i.type!==n&&i.value!==t}):(n&&(this.ActiveFilters=this.ActiveFilters.filter(function(t){return t.type!==n})),t&&(this.ActiveFilters=this.ActiveFilters.filter(function(n){n.value!==t})));this.UpdateFilters()},AddClearFilter:function(){var r=this,i,f;i=this.FilterElement.clone();i.children(".text").text("Clear All Filters");i.attr("data-type","clearall");i.attr("data-value","clearall");f=this.FilterDeleteBtn.clone();f.click(function(){r.ActiveFilters=[r.ActiveFilters[0]];r.UpdateFilters();t("#txtEventSearchText").val("");s="";history.pushState({},document.title,n.location.pathname);u.PopulateWithDefaults()});i.append(f);this.FilterContainer.find("div:nth-child(1)").after(i)},AddFilterElement:function(n){var f=this,i,r;i=this.FilterElement.clone();i.children(".text").text(n.text);i.attr("data-type",n.type);i.attr("data-value",n.value);n.type==="MonthYear"?this.FilterContainer.prepend(i):(r=this.FilterDeleteBtn.clone(),r.click(function(){var n=t(this).closest(".filter"),i=n.attr("data-type"),r=n.attr("data-value");i==="EventSearchText"&&(s="",t("#txtEventSearchText").val(""));f.RemoveFilter(i,r);u.RemoveProp(i,n.children(".text").text())}),i.append(r),this.FilterContainer.append(i))},UpdateFilters:function(){var t=this,n=this.ActiveFilters.length;this.FilterContainer.empty();this.EnableAllSelectOptions();n>0&&this.ActiveFilters.forEach(function(n){t.AddFilterElement(n);n.type!=="MonthYear"&&n.type!="EventSearchText"&&t.DisableSelectOption(n.type,n.value)});n>1&&this.AddClearFilter();this.FiltersUI.attr("data-count",n);this.FilterCountElement.text(n)},EnableAllSelectOptions:function(){this.Selects.each(function(){var n=t(this);n.children("option").each(function(){t(this).removeAttr("disabled")});n.trigger("chosen:updated")});this.CustomSelects.not('[name="MonthYear"]').each(function(){var n=t(this);n.find("li[id]").each(function(){var n=t(this).find(".input-checkbox");t(this).children("ul").length===0&&(n[0].checked=!1)})})},DisableSelectOption:function(n,t){var i=this.Selects.filter('[name="'+n+'"]'),r=this.CustomSelects.filter('[name="'+n+'"]');i.children('option[value="'+t+'"]').attr("disabled",!0);i.trigger("chosen:updated");r.find('li[id="'+t+'"] .input-checkbox')[0].checked=!0},PopulateMonthCustomSelect:function(){var f=this.CustomSelects.filter('[name="MonthYear"]'),e=f.find(".custom-drop-options"),s=r.EndDate.diff(r.PreviousDate,"months"),n,i,o;for(e.empty(),i=0;i<s;i++)o=moment(r.PreviousDate).add(i,"month"),n=t('<li class="date-item" />'),n.attr("attr-index",i),n.attr("id",o.format("MMMM YYYY")),n.append('<label class="round-checkbox active"><input type="checkbox" class="input-checkbox"><span class="checkmark"><\/span><\/label>'),n.append('<p class="sub-seg single-level-dropdown">'+o.format("MMMM YYYY")+"<\/p>"),e.append(n),n.find(".input-checkbox").change(function(){var n=t(this).parent(".round-checkbox").parent(),i=this.checked;f.attr("data-values",i?n.attr("id"):"");n.siblings().find(".input-checkbox").each(function(){this.checked=!1});u.AddProp("MonthYear",n.attr("id"))}),n.children("p").click(function(){t(this).closest("li").find(".input-checkbox").click()});f.children("a").click(function(){var n=e.children("li"),i=n.filter('[id="'+f.attr("data-values")+'"]'),t=n.index(i),r=t>2?t-2:0,u=n.eq(r);e.scrollTop(0).scrollTop(u.position().top)})},PopulateMonthSelect:function(){var n=this.Selects.filter('[name="MonthYear"]'),e=r.EndDate.diff(r.PreviousDate,"months"),i,u,f;for(n.chosen("destroy"),n.empty(),u=0;u<e;u++)i=t("<option />"),f=moment(r.PreviousDate).add(u,"month"),i.attr("value",f.format("MMMM YYYY")),i.text(f.format("MMMM YYYY")),n.append(i);n.chosen({width:"100%",disable_search:!0});n.chosen().on("chosen:showing_dropdown",function(n,t){var r=t.chosen.dropdown.children(".chosen-results"),i=r.children(".active-result"),f=i.filter(".result-selected"),u=i.index(f),e=u>2?u-2:0,o=i.eq(e);r.scrollTop(0).scrollTop(o.position().top)});n.trigger("chosen:updated");n.attr("populated",!0)},setMonthSelectDate:function(){var n=this.Selects.filter('[name="MonthYear"]'),t=n.children('option[value="'+this.Date.format("MMMM YYYY")+'"]');t.attr("selected","").siblings().removeAttr("selected");n.trigger("chosen:updated");this.AddFilter({type:"MonthYear",text:t.text()})},setMonthCustomSelectDate:function(){var n=this.CustomSelects.filter('[name="MonthYear"]'),t=n.find('li[id="'+this.Date.format("MMMM YYYY")+'"]');t.find(".input-checkbox").trigger("click");this.AddFilter({type:"MonthYear",text:this.Date.format("MMMM YYYY")})},set Date(n){this.Container.data("date",n);this.Selects.filter('[name="MonthYear"]').attr("populated")||this.PopulateMonthSelect();this.PopulateMonthCustomSelect();this.setMonthSelectDate();this.setMonthCustomSelectDate()},get Date(){return this.Container.data("date")}},c={Container:t('.events-list[data-view="tile-view"]'),EventsContainer:t('.events-list[data-view="tile-view"] .events-container'),TemplateName:e.EventpageTileviewTemplate!=="undefined"?e.EventpageTileviewTemplate:"",Template:null,Init:function(){this.Template=Handlebars.compile(this.TemplateName)},RenderView:function(n){this.AddEvents(n.Events);this.EqualHeight()},MakeNoEvent:function(){return'<div class="col-xs-12 no-events"><p>There are no further events scheduled.<\/p><\/div>'},AddEvents:function(n){var f=n.length,i,t,u=r.PageNum>1?this.EventsContainer.html():"";if(f>0)for(i=0;i<f;i++)t=n[i],t.DateRange=l(t.EventStartDate,t.EventEndDate),t.LocalTimeZone=(new Date).getTimezoneOffset(),u+=this.Template({results:t});else u+=this.MakeNoEvent();this.EventsContainer.html(u)},EqualHeight:function(){var n=0,i=this.EventsContainer.children(".events-section");i.each(function(){var i=t(this).height();i>n&&(n=i)});INFORMA.global.device.viewportN!==2&&(i.height(n+0),i.addClass("heightset"))},set ViewType(n){this.Container.attr("data-datetype",n)},get ViewType(){return this.Container.attr("data-datetype")},set Date(n){this.Container.data("date",n)},get Date(){return this.Container.data("date")}},h={Container:t('.events-list[data-view="list-view"]'),EventsContainer:t('.events-list[data-view="list-view"] .events-container'),TemplateName:e.EventpageListviewTemplate!=="undefined"?e.EventpageListviewTemplate:"",MoreBtn:t(".more-events .btn-more-events"),Template:null,EventData:[],EventStartMonth:null,EventMonthRange:0,Init:function(){this.Template=Handlebars.compile(this.TemplateName)},RenderView:function(n){this.SetupData(n);this.CalculateMonthRange();this.RenderEvents()},SetupData:function(n){this.EventData=r.PageNum===1?n.Events:this.EventData.concat(n.Events);this.EventData.length>0&&(this.EventStartMonth=f(this.EventData[0].EventStartDate,"event"))},CalculateMonthRange:function(){var i=this,r,n,t;this.EventMonthRange=0;this.EventData.forEach(function(u){r=f(u.EventStartDate,"event");n?(t=r.startOf("month").diff(n.startOf("month"),"month"),t>0&&(i.EventMonthRange+=t)):i.EventMonthRange++;n=f(u.EventStartDate,"event")})},RenderEvents:function(){for(var t="",i,n=0;n<this.EventMonthRange;n++)i=moment(this.EventStartMonth).add(n,"months"),t+=this.MakeMonthDivider(i),t+=this.MakeMonthEvents(i);this.EventsContainer.html(t)},MakeMonthDivider:function(n){return'<div class="col-xs-12 month-divider"><h3>'+n.format("MMMM YYYY").toUpperCase()+"<\/h3><\/div>"},MakeNoEvent:function(){return'<div class="col-xs-12 no-events"><p>There are no further events scheduled.<\/p><\/div>'},MakeMonthEvents:function(n){var i="",r=this.EventData.filter(function(t){return f(t.EventStartDate,"event").isSame(n,"month")}),u=r.length,t,e;if(u>0)for(t=0;t<u;t++)e=r[t],i+=this.MakeEvent(e);else i+=this.MakeNoEvent();return i},MakeEvent:function(n){return n.DateRange=l(n.EventStartDate,n.EventEndDate),n.LocalTimeZone=(new Date).getTimezoneOffset(),this.Template({results:n})},set ViewType(n){this.Container.attr("data-datetype",n)},get ViewType(){return this.Container.attr("data-datetype")},set Date(n){this.Container.data("date",n)},get Date(){return this.Container.data("date")}},o={EventData:[],FCEventData:[],ActiveContainer:null,ViewElements:null,Container:t('.events-list[data-view="calendar-view"]'),Modal:t(e.EventpageModalTemplate!=="undefined"?e.EventpageModalTemplate:""),Init:function(){this.ViewType="year";this.ViewType="month"},RenderView:function(n){this.InitFC();this.GoToStartDate();n&&(this.EventData=n,this.FCEventData=[],this.ProcessEventData(),this.ActiveContainer.removeAttr("events-loaded"));this.FCEventData.length>0&&this.RenderEventData()},InitFC:function(){var n=this,i,e=INFORMA.global.device.viewportN,o;if(this.ActiveContainer.attr("rendered")){INFORMA.Spinner.Hide();return}switch(n.ViewType){case"month":i={header:{left:"prev",center:"title",right:"next"},eventLimit:!0,eventLimitText:"More",contentHeight:e===2?100:805,dayNamesShort:e===2?["S","M","T","W","T","F","S"]:e===1?["SUN","MON","TUE","WED","THUR","FRI","SAT"]:["SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY"],showNonCurrentDates:!1,dayClick:function(t){var i,u="",e=n.EventData.Events,o=f(t).startOf("day"),s,c;for(var a in e)e.hasOwnProperty(a)&&(i=e[a],s=f(i.EventStartDate,"event").startOf("day"),c=f(i.EventEndDate,"event").endOf("day"),o>=s&&o<=c&&(i.DateRange=l(i.EventStartDate,i.EventEndDate),u+=h.Template({results:i})));u&&(n.Modal.find(".modal-body").attr("data-view","list-view").html(u),r.EventsContainer.append(n.Modal),n.Modal.modal("show"))},eventAfterAllRender:function(){INFORMA.Spinner.Hide()},eventAfterRender:function(n,t){var i=t.closest(".fc-content-skeleton"),r=n.start.format("YYYY-MM-DD"),f=i.find(".fc-day-top[data-date="+r+"]"),u=i.siblings(".fc-bg").find(".fc-day[data-date="+r+"]"),e=u.data("events-height")||0;f.addClass("event-now");u.addClass("event-present")},eventRender:function(n){var i=n.start.format("YYYY-MM-DD");return t('<div data-date="'+i+'" class="events"><p class="title">'+n.title+"<\/p><\/div>")}};break;case"year":i={header:{left:"",center:"title",right:""},eventLimit:!0,titleFormat:"MMM YYYY",dayNamesShort:["S","M","T","W","T","F","S"],showNonCurrentDates:!1,eventAfterRender:function(n,t){var i=t.closest(".fc-content-skeleton"),r=n.start.format("YYYY-MM-DD");i.find(".fc-day-top[data-date="+r+"]").addClass("event-now");i.siblings(".fc-bg").find(".fc-day[data-date="+r+"]").addClass("event-present")},eventAfterAllRender:function(n){var i=n.el,e=i.closest(".fccal"),o=n.el.find(".fc-day.event-present"),s;if(o.length>0){if(s=f(o.attr("data-date"),"fullcalendar"),i.attr("click-added"))return;i.data("month",s).addClass("event-present").attr("click-added",!0).on("click",function(){var n=t(this).data("month");n.isValid()&&(INFORMA.Spinner.Show(r.BodyContainer),setTimeout(function(){u.AddProps({MonthYear:n.format("MMMM YYYY"),ViewType:"month"})},200))}).on("mouseenter",function(){e.addClass("hovered")}).on("mouseleave",function(){e.removeClass("hovered")})}else i.removeData("month").removeClass("event-present").removeAttr("click-added").off("click mouseenter mouseleave");INFORMA.Spinner.Hide()}}}o=n.ViewElements.length-1;n.ViewElements.each(function(r){i.defaultDate=moment(n.Date).add(r,"months");t(this).fullCalendar(i);r===o&&n.ActiveContainer.attr("rendered","true")})},GoToStartDate:function(){var n=this,i=this.ViewElements.first().fullCalendar("getDate");this.Date&&!this.Date.isSame(i,"month")&&(this.ViewElements.each(function(i){var r=moment(n.Date).add(i,"months");t(this).fullCalendar("gotoDate",r)}),this.ActiveContainer.removeAttr("events-loaded"))},ProcessEventData:function(){for(var l=this.EventData.Events.length,n={},i,r,s,u,e,h,c,o,t=0;t<l;t++)if(n=this.EventData.Events[t],i=f(n.EventStartDate,"event"),r=f(n.EventEndDate,"event"),i.isSame(r,"day"))this.FCEventData.push({title:n.Title,start:i,end:r});else for(e=moment(i).startOf("day"),c=moment(r).endOf("day"),s=c.diff(e,"day"),u=0;u<=s;u++)o=moment(e).add(u,"days"),h=moment(o).endOf("day"),this.FCEventData.push({title:n.Title,start:o,end:h})},RenderEventData:function(){var u=this,n,f=this.FCEventData,o=f.length,i=0,r={},e;this.ActiveContainer.attr("events-loaded")||(e=u.ViewElements.length-1,u.ViewElements.each(function(s){for(n=t(this),n.data("date",n.fullCalendar("getDate")),n.fullCalendar("removeEvents"),i=0;i<o;i++)r=f[i],(r.start.isSame(n.data("date"),"month")||r.end.isSame(n.data("date"),"month"))&&t(this).fullCalendar("renderEvent",r);s===e&&u.ActiveContainer.attr("events-loaded","true")}))},set ViewType(n){var t=!0;this.ActiveContainer&&this.ActiveContainer.length>0&&(this.ActiveContainer.removeClass("active"),t=this.ActiveContainer.attr("data-datetype")!==n);this.ActiveContainer=this.Container.children('[data-datetype="'+n+'"]');this.ActiveContainer.addClass("active");this.ViewElements=this.ActiveContainer.find(".fccal");t&&INFORMA.Spinner.Show(r.BodyContainer);this.RenderView()},get ViewType(){return this.ActiveContainer.attr("data-datetype")},set Date(n){this.Container.data("date",n)},get Date(){return this.Container.data("date")}},r={BodyContainer:t("body"),EventExportButton:t(".export"),EventsContainer:t("#events-calendar"),EventsListContainers:t("#events-calendar .events-list"),NoEventsContainer:t("#events-calendar .no-result"),ErrorContainer:null,DateArrows:t(".header .arrows"),HeaderDate:t(".header h2"),ViewBtns:t(".views-section .state-views .view a"),ViewTypeSwitch:t(".views-section .date-views [name=dview]"),CountText:t(".views-section .event-count .listed"),TotalText:t(".views-section .event-count .total"),MoreBtn:t(".more-events .btn-more-events"),InfiniteScrollLoadPoint:0,StartDate:null,PreviousDate:moment().subtract(11,"months"),EndDate:moment().add(11,"months"),PageNum:1,AutocompleteMinCharCount:4,EventSearchText:t("#txtEventSearchText"),BtnSearchCmd:t(".search-bar i.search-icon"),LoadCalled:!1,ErrorTimeout:0,Init:function(){var n=this;this.ErrorContainer=t('<div class="container error hidden"><div class="row"><div class="col-12"><p>Something went wrong. Please try again later.<\/p><\/div><\/div><\/div>');this.ErrorContainer.insertAfter(this.NoEventsContainer);this.ViewBtns.click(function(n){u.AddProps({View:t(this).data("viewport"),ViewType:"month"});n.preventDefault()});this.DateArrows.click(function(r){var f=t(this),u;(r.preventDefault(),n.LoadCalled)||(f.hasClass("previous")&&(u=moment(n.Date).subtract(1,n.ViewType+"s").format("MMMM YYYY")),f.hasClass("next")&&(u=moment(n.Date).add(1,n.ViewType+"s").format("MMMM YYYY")),u)&&(i.Selects.filter('[name="MonthYear"]').val(u).trigger("change"),i.CustomSelects.filter('[name="MonthYear"]').find('li[id="'+u+'"] .input-checkbox').click(),n.UpdateArrows())});this.ViewTypeSwitch.change(function(){var n=this.value;u.AddProp("ViewType",n)});this.BtnSearchCmd.click(function(){n._loadEventFilteredData(t("#txtEventSearchText").val())});this.EventSearchText.on("input",function(t){var r=t.keyCode?t.keyCode:t.which,i=this.value;i.length>0&&(s=i,r=="13"?n._loadEventFilteredData(i):n._bindAutoComplete(i))});this.MoreBtn.click(function(){n.LoadMoreEvents()});this.EventExportButton.click(function(){n.DownloadEvents()})},_bindAutoComplete:function(n){if(n!=""&&n.length>0){var i=this.GetSendDataAutoComplete(n),u={data:JSON.stringify({SearchKeyword:i.SearchKeyword,MonthYear:i.MonthYear,EventsEndDate:i.EventsEndDate,ViewMode:i.ViewMode,ProductLineId:i.ProductLineId,SegmentId:i.SegmentId,Country:i.Country,EventsStartDate:i.EventsStartDate,CurrentPage:t("#events-calendar").data("currentpage"),PageNo:1})};t.ajax({url:"/client/search/GetAutocompleteListEvent",type:"POST",data:u,success:function(n){var i=[];t.each(n.Events,function(n,r){t.inArray(r.Title,i)==-1&&i.push(r.Title)});t("#txtEventSearchText").closest(".search-bar").addClass("ui-front");t("#txtEventSearchText").autocomplete({source:i,minLength:r.AutocompleteMinCharCount,select:function(n,t){var u=t.item.label,i=t.item.value;r._loadEventFilteredData(i)},open:function(n){INFORMA.global.device.viewportN===2&&t("#ui-id-1").css("width",n.target.offsetWidth)}}).on("input",function(n){n.which===13&&t("#ui-id-1").hide()}).off("focus blur").on("focus blur",function(n){var i=n.target.value;i.length>3&&t(n.target).autocomplete("search",i)});t("body").click(function(n){n.target!==t("#txtEventSearchText")[0]&&t("#txtEventSearchText").autocomplete("close")})},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})}},_loadEventFilteredData:function(n){if(s=n,n!=""){if(i.FilterContainer.children('[data-type="EventSearchText"]').length>0){var r=i.FilterContainer.children('[data-type="EventSearchText"]'),f=t(r).attr("data-value"),e=t(r).attr("data-type");i.RemoveFilter(e,f);u.RemoveProp(e,f)}u.AddProp("EventSearchText",n)}},AddInfiniteScrollEvent:function(){var r=this,i=t(n);if(this.View!=="calendar-view"){this.InfiniteScrollLoadPoint=this.MoreBtn.offset().top-i.height()-t("#tech-main-header").height();i.on("scroll.events.infinite",function(){i.scrollTop()>=r.InfiniteScrollLoadPoint&&!r.LoadCalled&&(i.off("scroll.events.infinite"),r.LoadMoreEvents())})}},UpdateArrows:function(){this.Date.isSameOrBefore(this.PreviousDate,"month")?this.DateArrows.filter(".previous").addClass("arrow-desabled"):this.DateArrows.filter(".previous").removeClass("arrow-desabled");this.Date.isSameOrAfter(moment(this.EndDate).subtract(1,"months"),"month")?this.DateArrows.filter(".next").addClass("arrow-desabled"):this.DateArrows.filter(".next").removeClass("arrow-desabled")},LoadMoreEvents:function(){this.PageNum++;this.LoadEvents(this.PageNum)},LoadEvents:function(n){var t=this,i;if(this.PageNum=n?n:1,i=this.GetSendData(),!i){this.ShowError();return}this.ErrorTimeout=setTimeout(function(){t.ShowError()},3e4);this.LoadCalled=!0;this.GetAjaxData(INFORMA.Configs.urls.webservices.EventsSearch,a,i,function(n){var i,r;if(!n)throw"data not detectable in callback";(i=n.Events.length,r=parseInt(n.TotalResults),t.LoadCalled=!1,clearTimeout(t.ErrorTimeout),t.ErrorContainer.addClass("hidden"),r===0&&t.PageNum===1?(t.NoEventsContainer.removeClass("hidden"),t.EventsListContainers.filter(".active").addClass("hidden")):(t.NoEventsContainer.addClass("hidden"),t.EventsListContainers.filter(".active").removeClass("hidden")),h.RenderView(n),c.RenderView(n),t.TotalCount=r,t.ActualCount=t.PageNum>1?t.ActualCount+i:i,i===0&&t.ActualCount==0&&t.EventExportButton.hide(),i!==0)&&(t.ActualCount>0&&t.EventExportButton.show(),o.RenderView(n),t.AddInfiniteScrollEvent())},function(){t.ShowError()})},ShowError:function(){INFORMA.Spinner.Hide();this.ErrorContainer.removeClass("hidden");this.NoEventsContainer.addClass("hidden");this.EventsListContainers.filter(".active").addClass("hidden")},DownloadEvents:function(){var i=this,n;if(n=this.GetSendData(),t("#data").val(n),t("#formDownloadEvent").submit(),!n){this.ShowError();return}},GetSendData:function(){var f=this,n={},t,r,u=[];if(i.ActiveFilters.forEach(function(f){n[f.type]||(t=i.Selects.filter('[name="'+f.type+'"]').data("ignore"),t&&t.length>0&&u.push(f.type),r=i.CustomSelects.filter('[name="'+f.type+'"]').data("ignore"),r&&r.length>0&&u.push(f.type),n[f.type]=[]);n[f.type].push(f.value)}),n.EventSearchText=s,i.AlwaysSelectedFilters.forEach(function(t){u.indexOf(t.type)===-1&&(n[t.type]||(n[t.type]=[]),n[t.type].push(t.value))}),!n.MonthYear)return null;n.CurrentPage=this.EventsContainer.data("currentpage");n.ViewMode=this.View==="calendar-view"?"calendar":"list";n.EventsEndDate=this.View==="calendar-view"?moment(this.Date).add(1,this.ViewType+"s").format("MMMM YYYY"):moment(this.Date).add(100,"years").format("MMMM YYYY");switch(this.View){case"list-view":case"tile-view":n.PageNo=this.PageNum;n.PageSize=parseInt(this.EventsContainer.data("count"));case"calendar-view":n.EventsStartDate=n.MonthYear[0];delete n.MonthYear;break;default:console.log("View : "+this.View+" is invalid. Essential senddata props are not set, headsup errors are coming!")}if(!n.EventsStartDate||typeof n.EventsStartDate!="string")throw"EventsStartDate not valid : "+n.EventsStartDate;if(!n.EventsEndDate||typeof n.EventsEndDate!="string")throw"EventsEndDate not valid : "+n.EventsEndDate;if(!n.CurrentPage||typeof n.CurrentPage!="string")throw"CurrentPage not valid : "+n.CurrentPage;if(this.View!=="calendar-view"){if(isNaN(n.PageNo))throw"PageNo not valid : "+n.PageNo;if(isNaN(n.PageSize))throw"PageSize not valid : "+n.PageSize;}return console.log("data sent (pre stringification)",n),JSON.stringify({data:JSON.stringify(n)})},GetSendDataAutoComplete:function(n){var o=this,r={},u,f,e=[];if(i.ActiveFilters.forEach(function(n){r[n.type]||(u=i.Selects.filter('[name="'+n.type+'"]').data("ignore"),u&&u.length>0&&e.push(n.type),f=i.CustomSelects.filter('[name="'+n.type+'"]').data("ignore"),f&&f.length>0&&e.push(n.type),r[n.type]=[]);r[n.type].push(n.value)}),r.SearchKeyword=n,i.AlwaysSelectedFilters.forEach(function(n){e.indexOf(n.type)===-1&&(r[n.type]||(r[n.type]=[]),r[n.type].push(n.value))}),!r.MonthYear)return null;r.CurrentPage=t("#events-calendar").data("currentpage");r.ViewMode=this.View==="calendar-view"?"calendar":"list";r.EventsEndDate=this.View==="calendar-view"?moment(this.Date).add(1,this.ViewType+"s").format("MMMM YYYY"):moment(this.Date).add(100,"years").format("MMMM YYYY");switch(this.View){case"list-view":case"tile-view":r.PageNo=1;case"calendar-view":r.EventsStartDate=r.MonthYear[0];delete r.MonthYear;break;default:console.log("View : "+this.View+" is invalid. Essential senddata props are not set, headsup errors are coming!")}if(!r.EventsStartDate||typeof r.EventsStartDate!="string")throw"EventsStartDate not valid : "+r.EventsStartDate;if(!r.EventsEndDate||typeof r.EventsEndDate!="string")throw"EventsEndDate not valid : "+r.EventsEndDate;if(!r.CurrentPage||typeof r.CurrentPage!="string")throw"CurrentPage not valid : "+r.CurrentPage;if(this.View!=="calendar-view"&&isNaN(r.PageNo))throw"PageNo not valid : "+r.PageNo;return console.log("data sent (pre stringification)",r),r},GetAjaxData:function(n,t,i,u,f,e){INFORMA.Spinner.Show(r.BodyContainer);INFORMA.DataLoader.GetServiceData(n,{method:t,data:i,success_callback:function(n){typeof u=="function"&&u.call(this,n,e)},error_callback:function(){typeof f=="function"&&f.call(this,i,e)}})},UpdateHeaderDate:function(){var n=INFORMA.global.device.viewportN,t=n===2?"MMM YYYY":"MMMM YYYY";this.ViewType==="year"?this.HeaderDate.text(this.Date.format("MMM YYYY")+" - "+moment(this.Date).add(11,"months").format("MMM YYYY")):this.HeaderDate.text(this.Date.format(t))},set View(n){this.EventsContainer.attr("data-eview",n);this.EventsListContainers.filter('[data-view="'+n+'"]').addClass("active").siblings(".events-list").removeClass("active");this.BodyContainer.removeClass("list-view tile-view calendar-view").addClass(n);this.ViewBtns.filter(".active").removeClass("active");this.ViewBtns.filter('[data-viewport="'+n+'"]').addClass("active")},get View(){return this.EventsContainer.attr("data-eview")||this.EventsContainer.attr("data-eview",this.EventsListContainers.filter(".active").data("view")),this.EventsContainer.attr("data-eview")},set ViewType(n){this.ViewTypeSwitch.filter('[value="'+n+'"]').trigger("click");this.EventsContainer.attr("data-edatetype",n);this.BodyContainer.removeClass("month year").addClass(n);this.View==="calendar-view"&&(o.Date=this.Date,o.ViewType=n);this.UpdateHeaderDate()},get ViewType(){return this.EventsContainer.attr("data-edatetype")},set Date(n){this.StartDate=n;i.Date=n;c.Date=n;h.Date=n;o.Date=n},get Date(){return this.StartDate},set ActualCount(n){this.EventsContainer.data("actual-count",n);this.TotalText.text(n)},get ActualCount(){return parseInt(this.EventsContainer.data("actual-count"))},set TotalCount(n){this.EventsContainer.attr("total-count",n)},get TotalCount(){return parseInt(this.EventsContainer.attr("total-count"))},UpdateViewsFromQuery:function(n){var e=!1,o=!1,s=!1,h=!1,r,t;if(n.hasOwnProperty("MonthYear")?this.Date&&this.Date.isSame(f(n.MonthYear[0],"select"),"month")||(this.Date=f(n.MonthYear[0],"select"),e=!0):(console.warn("MonthYear properties missing, reverting to detault"),this.Date&&this.Date.isSame(u.GetDefaultProp("MonthYear")[0],"month")||(this.Date=f(u.GetDefaultProp("MonthYear")[0],"select"),e=!0)),n.hasOwnProperty("View")?r=n.View[0]:(console.warn("View properties missing, reverting to detault"),r=u.GetDefaultProp("View")[0]),h=this.View==="calendar-view"&&r==="calendar-view",this.View=r,n.hasOwnProperty("ViewType")?(o=!!this.ViewType&&this.ViewType!==n.ViewType[0],this.ViewType=n.ViewType[0]):(console.warn("ViewType properties missing, reverting to detault"),this.ViewType=u.GetDefaultProp("ViewType")[0]),i.HaveUpdated){for(t in n)n.hasOwnProperty(t)&&t!=="MonthYear"&&t!=="View"&&t!=="ViewType"&&n[t].forEach(function(n){i.AddFilter({type:t,text:n})});s=!0;i.HaveUpdated=!1}(!h||o||e||s)&&this.LoadEvents()}},u={ActiveQuery:"",SanitizedQueryProps:[],ActiveProperties:[],Defaults:[],Init:function(){this.Defaults=[{name:"MonthYear",values:[moment().format("MMMM YYYY")]},{name:"View",values:[r.ViewBtns.filter(".active").data("viewport")||"list-view"]},{name:"ViewType",values:[r.ViewTypeSwitch.filter("[checked]").attr("value")||"month"]},];this.isqueried?this.PopulateWithQuery():this.PopulateWithDefaults()},PopulateWithQuery:function(){this.SanitizeQuery();this.ApplyPropsToController();this.SetQueryFromProps()},PopulateWithDefaults:function(){this.ActiveProperties=this.Defaults.slice(0);this.ApplyPropsToController()},SanitizeQuery:function(){for(var f=this,u=location.search.substr(1).split("&"),e=u.length,r,n=this.SanitizedQueryProps,t=0;t<e;t++)r={name:unescape(u[t].split("=")[0]),values:unescape(u[t].split("=")[1])},n.find(function(n){return n.name===r.name})||n.push({name:r.name,values:r.values});n=n.map(function(n){return f.ValidateQueryObj(n.name,n.values)});n=n.filter(function(n){return!!n});n=n.map(function(n){return{name:n.name,values:n.value.split(",")}});this.Defaults.forEach(function(t){var i=n.find(function(n){return n.name===t.name});i?t.name!=="MonthYear"&&t.name!=="View"&&t.name!=="ViewType"&&t.values.forEach(function(n){i.values.indexOf(n)===-1&&i.values.push(n)}):n.push(t)});n.findIndex(function(n){return n.name!=="MonthYear"&&n.name!=="View"&&n.name!=="ViewType"})&&(i.HaveUpdated=!0);this.ActiveProperties=n},ValidateQueryObj:function(n,r){var u=!1,e,h,o,c,s=!1;switch(n){case"View":u=r==="list-view"||r==="tile-view"||r==="calendar-view";break;case"ViewType":u=r==="month"||r==="year";break;case"MonthYear":u=f(r,"select").isValid();break;case"EventSearchText":r!=""?u=!0:u?{name:n,value:r}:null;break;default:for(e=r.split(","),h=e.length,o=0;o<h;o++)c=e[o],s=!1,i.Selects.children("option").each(function(){if(t(this).text()===c)return s=!0,!1}),i.CustomSelects.find("li[id]").each(function(){if(t(this).children("p").text()===c)return s=!0,!1}),s||(e.splice(o,1),o--,h=e.length);u=e.length>0;u&&(r=e.join(","))}return u?{name:n,value:r}:null},AddProps:function(n){var t=!1;for(var i in n)this.AddProp(i,n[i],!0)&&(t=!0);t&&(this.SetQueryFromProps(),this.ApplyPropsToController())},AddProp:function(n,t,r){var f=!1,u=this.ActiveProperties.find(function(t){return t.name===n}),e;if(u?n==="View"||n==="ViewType"||n==="MonthYear"?u.values[0]!==t&&(u.values[0]=t,f=!0):Array.isArray(t)?t.forEach(function(n){e=u.values.indexOf(n);e>=0?u.values[e]!==n&&(u.values[e]=n,f=!0,i.HaveUpdated=!0):(u.values.push(n),f=!0,i.HaveUpdated=!0)}):(e=u.values.indexOf(t),e>=0?u.values[e]!==t&&(u.values[e]=t,f=!0,i.HaveUpdated=!0):(u.values.push(t),f=!0,i.HaveUpdated=!0)):(this.ActiveProperties.push({name:n,values:Array.isArray(t)?t:[t]}),f=!0,i.HaveUpdated=!0),r)return f;f&&(this.SetQueryFromProps(),this.ApplyPropsToController())},RemoveProp:function(n,t){var e=this,o=!1,u=this.ActiveProperties.findIndex(function(t){return t.name===n}),r,f;u>=0&&(n==="View"||n==="ViewType"||n==="MonthYear"?(this.ActiveProperties.splice(u,1),o=!0):Array.isArray(t)?t.forEach(function(n){r=e.ActiveProperties[u].values;f=r.indexOf(n);f>=0&&(r.splice(f,1),r.length===0&&e.ActiveProperties.splice(u,1),o=!0,i.HaveUpdated=!0)}):(r=e.ActiveProperties[u].values,f=r.indexOf(t),f>=0&&(r.splice(f,1),r.length===0&&e.ActiveProperties.splice(u,1),o=!0,i.HaveUpdated=!0)));o&&(this.SetQueryFromProps(),this.ApplyPropsToController())},ApplyPropsToController:function(){var n={};this.ActiveProperties.forEach(function(t){n[t.name]=t.values});r.UpdateViewsFromQuery(n)},SetQueryFromProps:function(){var n="";this.ActiveProperties.forEach(function(t,i){n+=i>0?"&":"?";n+=escape(t.name)+"="+escape(t.values.join(","))});this.query=n},SetPropsFromQuery:function(){var i=this,t,r=n.location.search.substring(1).split("&");r.forEach(function(n){t=n.split("=");i.ActiveProperties[t[0]]=t[1]});console.log(i.ActiveProperties)},set query(n){history.pushState({},document.title,n);this.ActiveQuery=n},get isqueried(){return!!location.search},GetDefaultProp:function(n){return this.Defaults.find(function(t){return t.name===n})}},f=function(n,t){var i;switch(t){case"event":i=moment.ISO_8601;break;case"select":i="MMMM YYYY";break;case"fullcalendar":i="YYYY-MM-DD";break;default:console.warn("dateType not handled : "+t)}return i?moment(n,i):moment(n)},l=function(n,t){var i=f(n,"event"),r=f(t,"event"),o=i.format("DD"),u=i.format("DD[&nbsp;]MMM"),e=r.format("DD[&nbsp;]MMM");return i.isSame(r,"day")?'<div class="date">'+u+"<\/div>":i.isSame(r,"month")?'<div class="date">'+o+" - "+e+"<\/div>":'<div class="date">'+u+" - "+e+"<\/div>"},y=function(){return location.hostname==="localhost"||location.hostname==="127.0.0.1"},v=function(){if(i.Container.length!==0&&r.EventsContainer.length!==0){y()&&(a="GET");r.Init();i.Init();h.Init();c.Init();o.Init();u.Init();var e=r.BodyContainer,s=t("html"),n=t(".events-search #showFiltersBtn"),l=t("#closeFilterBtn"),f=!1;l.click(function(t){t.preventDefault();e.removeClass("showfilters");s.removeClass("showfilters");n.text("Select filters");n.attr("data-state","select");f=!1});n.click(function(i){i.preventDefault();f=!f;f?(e.addClass("showfilters"),s.addClass("showfilters"),n.text("Search"),n.attr("data-state","search")):(e.removeClass("showfilters"),s.removeClass("showfilters"),n.text("Select filters"),n.attr("data-state","select"),r._loadEventFilteredData(t("#txtEventSearchText").val()))})}},{init:v}}(this,jQuery,"INFORMA");jQuery(INFORMA.EventsViews.init());INFORMA=window.INFORMA||{};INFORMA.FAQs=function(n,t){"use strict";var c=t(".btn-faq-more"),l=0,i=t(".accordian-structure"),a=INFORMA.Configs.urls.webservices,r=INFORMA.Templates,u,f,e,o,s,h;return o=function(n,t,i,r,u,f){INFORMA.DataLoader.GetServiceData(n,{method:t,data:JSON.stringify(i),success_callback:function(n){typeof r=="function"&&r.call(this,n,f)},error_callback:function(){typeof u=="function"&&u.call(this,i,f)}})},h=function(n,i){for(var e=n,c=e.FaqList,u=e.FaqAccordionId,o="",f="",s=0;s<c.length;s++){var h=c[s],l=r.AccordianTemplate!=="undefined"?r.AccordianTemplate:"",a=Handlebars.compile(l);h.FaqAccordionId=u+i.parents(".accordian-structure").attr("data-tabs");i.parents(".accordian-structure").attr("data-tabs")&&(h.Tabs=i.parents(".accordian-structure").attr("data-tabs"));o+=a({results:h})}i.parents(".accordian-structure").attr("data-tabs").length>0&&(f=i.parents(".accordian-structure").attr("data-tabs"));t(".help-faq-wrapper").length>0?i.parents(".help-faq-wrapper").find('.panel-group[data-panel="'+u+f+'"]').append(o):i.parents(".accordian-wrap").find('.panel-group[data-panel="'+u+f+'"]').append(o);e.FaqRemainingCount<1?t(".panel-group#"+u+f).parent().find(".btn-faq-more").hide():t(".panel-group#"+u+f).parent().find(".btn-faq-more").show()},s=function(n){var r=n.find(".panel-collapse"),i=[];return r.each(function(){var n=t(this).attr("data-fetch");i.push(n)}),i},e=function(){var n=i.find(".panel-group");t(".help-faq-wrapper").length>0&&(t(".help-faq-wrapper .accordian-wrap").addClass("hide"),t(".help-faq-wrapper .accordian-wrap:first-child").removeClass("hide").addClass("show"));n.each(function(){t(this).attr("data-pageno",l)})},f=function(){c.on("click",function(n){n.preventDefault();var i=t(this).parents(".accordian-wrap"),f=i.find(".panel-group").attr("data-pageno"),u=i.parents(".accordian-structure").find(".help-faq-select"),e=i.parents(".accordian-structure").attr("data-count"),c=i.parents(".accordian-structure").attr("data-CurrentPageItemGuid"),l=t(".SearchTextFAQ").val(),r={PageNo:0,PageSize:e,CurrentPageItemGuid:c,SearchText:l};r.ExcludedFAQItemIds=s(i);r.FAQTypeItemGuid=u.length>0?u.val():null;i.find(".panel-group").attr("data-pageno",parseInt(f)+1);o(a.GetFAQs,"Post",r,h,null,t(this))})},u=function(){i.length>0&&(e(),f())},{init:u}}(this,jQuery,"INFORMA");jQuery(INFORMA.FAQs.init());INFORMA=window.INFORMA||{};INFORMA.featureList=function(n,t){"use strict";var o=t(".feature-list"),s=t(".feature-list-container"),i=t(".feature-list-section-pharma, .feature-list-section"),r,u,f,e;return f=function(){var n=t(".feature-list-section .btn-showMore");n.on("click",function(){var u=INFORMA.global.device.viewport,r=t(this).parents(".feature-list-section").data(INFORMA.global.device.viewport)+1,n=t(this).parents(".feature-list-section"),i=n.find(".feature-list-container");t(i.slice(r-1,i.length)).slideToggle();n.toggleClass("showLess")})},u=function(n){n.length>0&&n.each(function(){t(this).find(".feature-list-btn-container").hide();var n=t(this).data(INFORMA.global.device.viewport)+1,i=t(this).find(".feature-list-container").length,r=t(this).data(INFORMA.global.device.viewport);n?(t(this).find(".feature-list-container:nth-child(n+"+n+")").hide(),i>r?t(this).find(".feature-list-btn-container").show():t(this).find(".feature-list-btn-container").hide()):t(this).find(".feature-list-btn-container").show()})},e=function(){var n=t(".feature-list-section").find(".btn-showMore .less");n.on("click",function(){t("html, body").animate({scrollTop:t(this).closest(".feature-list-section").offset().top-50})})},r=function(){i.length>0&&(t(".feature-list-section").length>0&&u(i),f(),e())},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.featureList.init());INFORMA=window.INFORMA||{};INFORMA.formComponents=function(n,t){"use strict";var r=t(".hasToolTip .icon.icon-info"),i,u,f,e;return f=function(){},e=function(){t("#requestDemoForm").validate({errorPlacement:function(n,t){t.attr("type")==="select"?n.insertAfter(t.closest(".chosen-container")):n.insertAfter(t)}});t("#requestTrial").validate({ignore:[],errorPlacement:function(n,t){console.log(n,t);t.hasClass("chosen-select")?n.insertAfter(t.siblings(".chosen-container")):n.insertAfter(t)},submitHandler:function(){console.log("Form Submit")}})},i=function(){},u=function(){r.on("click",function(){t(this).toggleClass("active");t(this).parent().parent().children(".tooltip-placeholder").slideToggle()})},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.formComponents.init());INFORMA=window.INFORMA||{};INFORMA.RegistrationInterests=function(n,t){"use strict";var y,vt,s,p,w,h,yt,b=t(".register-myinterests-section"),i=t(".register-myinterests-form"),f=t(".register-myinterests-form-container"),ui=f.find("tab-content"),fi=i.find('input[type="submit"]'),pt=f.find("#step1"),wt=f.find("#step2"),bt=t(".recommended-tips"),kt=t(".recommended-tips-container"),e=t(".recommended-tips-col"),dt,gt,ni,ti,k,d,g,r=[],u=[],nt="false",ei=t(".show-register-form"),tt,ii,o=t("#registerMyinterestModal"),ri=t(".register-myinterests-close"),c,it,rt=INFORMA.Configs.urls.webservices,ut,l,a,ft,et,ot,st,v,ht,rt=INFORMA.Configs.urls.webservices,ct,lt,at;return l=function(n){n.find("input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel], textarea").val("");n.find(".area-interests-guid").val("");n.find(".area-interests-text").val("");n.find(".field-validation-error span").hide();n.find("input[type=radio]").removeAttr("checked");n.find(".normal-checkbox input[type=checkbox]").removeAttr("checked");n.find(".preselected-checkbox input[type=checkbox]").prop("checked",!0);n.find("select.chosen-select").find("option:first-child").prop("selected",!0).end().trigger("chosen:updated")},ut=function(){t(document).on("keypress",'input[type="number"]',function(n){(n.which>64&&n.which<91||n.which>96&&n.which<123)&&n.preventDefault()})},c=function(n,t,i,r,u,f){INFORMA.DataLoader.GetServiceData(n,{method:t,data:i,success_callback:function(n){typeof r=="function"&&r.call(this,n,f)},error_callback:function(){typeof u=="function"&&u.call(this,i,f)}})},et=function(){var n=t('.form-progressive-wizard a[data-toggle="tab"]');n.length>0&&t.each(n,function(n){t(this).prepend('<span class="tab-numbers">'+(n+1)+"<\/span>")})},a=function(){t('.form-progressive-wizard a[data-toggle="tab"]').on("show.bs.tab",function(n){var r,u;if(i.valid()==!0){if(r=t(n.target),r.attr("href")=="#step2"&&r.parent().attr("class")=="active"?e.css("display","block"):e.css("display","none"),r.parent().hasClass("disabled"))return!1}else return u=i.validate(),u.focusInvalid(),!1})},ii=function(){var n,f,c,e;o.find(".modal-body").empty();o.find(".modal-body").append(b);n=t("form.register-myinterests-form .chosen-select");f=t("form.register-myinterests-form .chosen-container");f.length>0&&f.remove();n.length>0&&(n.chosen("destroy"),n.chosen({disable_search_threshold:10,width:"100%"}));o.find(".modal-body .container").removeClass("container");l(i);r=[];u=[];c=i.removeData("validator").removeData("unobtrusiveValidation");t.validator.unobtrusive.parse(c);e=t(".form-progressive-wizard .triangle-nav li.active");e&&h(e);a();ft();s();t.each(t(".custom-multiselect"),function(){var n=t(this).find(".btn-group").eq(1);n&&n.remove()});t.each(t(".select-wrapper"),function(){var n=t(this).find(".btn-group").eq(1);n&&n.remove()});o.modal("show")},ht=function(){t("body").on("click",".show-content-first-time",function(i){var u=t(this).attr("href"),r=t(this).attr("data-firstcontent");navigator.userAgent.toLowerCase().indexOf("firefox")>-1?setTimeout(function(){c(rt.SetFirstContentDisplayedCookie,"Post",JSON.stringify({firstContent:r}),null,null,null)},100):c(rt.SetFirstContentDisplayedCookie,"Post",JSON.stringify({firstContent:r}),null,null,null);t(this).attr("data-target")!="loadPDFComponentModal"&&typeof t(this).attr("download")==typeof undefined&&t(this).attr("download")===!1&&(i.preventDefault(),n.location.href=u)})},at=function(n){for(var u=t("#formRegistration form"),r,f=n.length,i=0;i<f;i++)r=n[i],u.find(r.selector).val(r.value)},tt=function(){t("body").on("click",".show-register-form",function(n){var u,r,i;t(this).attr("data-show-register")=="true"?(u=t(this).attr("data-enable-download")=="true",u&&t("#formRegistration form").attr("data-trigger-download","true"),at([{selector:".resource-file-type",value:t(this).attr("data-download-type")||"NULL"},{selector:".resource-type",value:t(this).attr("data-enable-download")=="true"?"File Download":"Gated content viewed"}]),INFORMA.Analytics.trackFormEvents(t(this),"Open"),n.preventDefault(),n.stopPropagation(),t(".redirect-url-field").val(t(this).attr("data-url")),st(),t(this).attr("pdf-data-url")&&(r="",typeof t(this).attr("download")!=typeof undefined&&t(this).attr("download")!==!1&&(r="id@"+t(this).attr("id")),document.getElementsByClassName("showPdfUrl").length==0?(i=document.createElement("INPUT"),i.setAttribute("type","hidden"),i.setAttribute("value",t(this).attr("pdf-data-url")+r),i.setAttribute("id","showPdfUrl"),i.setAttribute("class","showPdfUrl"),document.body.appendChild(i)):t("#showPdfUrl").val(t(this).attr("pdf-data-url")+r))):t(this).attr("pdf-data-url")?typeof t(this).attr("download")==typeof undefined&&t(this).attr("download")===!1?(t("#showPdfUrl").val(t(this).attr("pdf-data-url")),PDFJS.webViewerLoad(t("#showPdfUrl").val())):(t(this).attr("href",t(this).attr("pdf-data-url")),t("#showPdfUrl").val(t(this).attr("pdf-data-url")+"id@"+t(this).attr("id"))):t(this).attr("href",t(this).attr("data-url"))})},ct=function(){if(/iP(hone|od|ad)/.test(navigator.platform)){var n=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]}},st=function(){var n,r,u;if(t.fn.modal.Constructor.prototype.enforceFocus=function(){},l(i),n=t("form.register-myinterests-form .chosen-select"),r=t("form.register-myinterests-form .chosen-container"),r.length>0&&r.remove(),n.length>0&&(n.chosen("destroy"),n.chosen({disable_search_threshold:10,width:"100%"})),u=ct(),u!==undefined){if(u[0]>=11){t("#formRegistration").on("show.bs.modal",function(){t("body").addClass("body-fixed")});t("#formRegistration").modal({show:"true"});t("#formRegistration").on("hide.bs.modal",function(){t("body").removeClass("body-fixed")})}}else t(".show-register-form").attr("data-show-register")=="true"&&t("#formRegistration").modal("show");v()},v=function(){t(".wffm-form .chosen-container").on("click mousedown",function(n){n.preventDefault();var i=t(this).find(".select-default");i.text()&&i.css("display","none")})},ti=function(){kt.append(bt);e.css("display","none")},ft=function(){i.find('select[multiple="multiple"]').multiselect("rebuild");var n=i.find("select");n.length>0&&t.each(n,function(){t(this).attr("multiple")=="multiple"&&t(this).multiselect("destroy")})},ni=function(){i.append(f);i.addClass("row");et();p();s()},gt=function(){f.before(i)},dt=function(){var n=i.find("fieldset.step1"),t=n.nextAll();pt.prepend(n);wt.prepend(t)},yt=function(){var n=t(".prev-step")[0],r=i.find(":submit").parent();r.append(n)},w=function(n){t(n).next().find('a[data-toggle="tab"]').click();e.css("display","block");f.removeClass("background-pattern")},h=function(n){t(n).prev().find('a[data-toggle="tab"]').click();t(".about-you-details").find(":input:not([type=hidden]):first").focus();e.css("display","none");f.addClass("background-pattern")},s=function(){var n=i.find("select");n.length>0&&(t.each(n,function(){var n,i,r,u,f;t(this).attr("multiple")=="multiple"&&(t(this).multiselect("destroy"),n=t(this).parents(".form-group").find(".sector-placeholder-text").text(),t(this).multiselect({buttonText:function(){return n},maxHeight:220,onChange:k,onDropdownShow:d,onDropdownHidden:g,numberDisplayed:1}),i=t(this).parents(".form-group").find(".sector-placeholder-text").text(),t(this).next().find("button.multiselect>.multiselect-selected-text").html(i),r=t(this).next().find(".multiselect-container"),r||(u=t(this).parent().find(".multiselect-container").detach(),t(this).next().append(u)),f=t('<div class="select-all-bottom"><a class="multiselect-all" data-selectall="false" href="#">Select all<\/a><\/div>'),t(this).next().append(f))}),it());t(".multiselect-container").mCustomScrollbar()},d=function(){t(this.$container).parent().find("select").addClass("active");t(this.$container).find(".select-all-bottom").css("display","block")},g=function(){t(this.$container).parent().find("select").removeClass("active");t(this.$container).find(".select-all-bottom").css("display","none")},k=function(n,f){n&&(f?(u.push(n.text()),r.push(n.val())):(u.splice(t.inArray(n.text(),u),1),r.splice(t.inArray(n.val(),r),1)),r=t.unique(r),u=t.unique(u),i.find(".area-interests-guid").val(r),i.find(".area-interests-text").val(u))},it=function(){var n=t(".select-all-bottom a");n.length>0&&t.each(n,function(){t(this).on("click",function(n){var f,e,o;return nt=t(this).attr("data-selectall"),n.preventDefault(),nt=="false"?(f=t(this).parents(".form-group").find("select"),f.multiselect("selectAll",!0),e=f.val(),o=f.find("option").map(function(){return t(this).text()}).get(),t.each(o,function(n,i){t.inArray(i,u)==-1&&u.push(i)}),t.each(e,function(n,i){t.inArray(i,r)==-1&&r.push(i)}),r=t.unique(r),u=t.unique(u),i.find(".area-interests-guid").val(""),i.find(".area-interests-guid").val(r),i.find(".area-interests-text").val(""),i.find(".area-interests-text").val(u),t(this).attr("data-selectall","true")):(f=t(this).parents(".form-group").find("select"),f.multiselect("deselectAll",!1),e=f.find("option").map(function(){return t(this).val()}).get(),o=f.find("option").map(function(){return t(this).text()}).get(),u=t.grep(u,function(n){return t.inArray(n,o)<0}),r=t.grep(r,function(n){return t.inArray(n,e)<0}),r=t.unique(r),u=t.unique(u),i.find(".area-interests-guid").val(""),i.find(".area-interests-guid").val(r),i.find(".area-interests-text").val(""),i.find(".area-interests-text").val(u),t(this).attr("data-selectall","false")),!1})})},vt=function(){a();t(document).on("click",".next-step",function(){var n=t(".form-progressive-wizard .triangle-nav li.active"),r,u,f;if(n.next().removeClass("disabled"),r=t("form.register-myinterests-form .email-field").parent().find(".email-validation-message.show"),t("form.register-myinterests-form").find(".field-validation-error span").css("display","block"),r.length==0)if(i.valid()==!0)u=t("form.register-myinterests-form").find(".form-submit-border .btn"),u.removeAttr("disabled"),w(n);else return f=i.validate(),f.focusInvalid(),!1});t(document).on("click",".prev-step",function(){var n=t(".form-progressive-wizard .triangle-nav li.active");h(n)})},p=function(){t("form.register-myinterests-form .chosen-select").chosen({disable_search_threshold:10,width:"100%"})},ot=function(){ri.click(function(){t("form.register-myinterests-form .chosen-select").chosen("destroy")})},lt=function(){var f,r,i,e=!1,o=!1,u;/*@cc_on!@*/!1&&!document.documentMode||(e=!0);e||!n.StyleMedia||(o=!0);e||o?(r=n.location.href,r.split("?")["1"]&&(u=r.split("?")["1"].split("&")["0"].split("=")[1],u!=undefined&&u.indexOf("pdf")!=-1&&(i=u))):(r=new URLSearchParams(n.location.search),i=r.get("pdf-url"));i&&(i.indexOf("%60")!=-1&&(i=i.replace(/%60/g,"~")),t('a[href$="'+i+'"]')[0]?t('a[href$="'+i+'"]')[0].click():(t("#loadPDFComponentModal").modal("show"),PDFJS.webViewerLoad(i)),f=n.location.protocol+"//"+n.location.host+n.location.pathname,n.history.pushState({path:f},"",f))},y=function(){i.length>0?(ut(),tt(),ot(),v(),ht()):b.css("display","none");lt()},{init:y}}(this,jQuery,"INFORMA");jQuery(INFORMA.RegistrationInterests.init());INFORMA=window.INFORMA||{};INFORMA.formRequestForDemo=function(n,t){"use strict";var r=t(".hasToolTip .icon.icon-info"),i;return i=function(){},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.formRequestForDemo.init());INFORMA=window.INFORMA||{};modal_Id="";INFORMA.forms=function(n,t){"use strict";function w(n){try{var t=n.split("-"),i=parseInt(t[0]),r=parseInt(t[1]),u=t.length>2?parseInt(t[2]):1;return i>0&&r>=0?new Date(i,r-1,u):null}catch(f){}}function b(n){var t=n.getFullYear(),i=n.getMonth();return t+"-"+(i+1)+"-"+n.getDate()}var k=t(".form-modal"),pi=t(".form-btn-container .form-modal-btn"),u=t(".submit-status"),ci=["JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"],d="",g="",nt=INFORMA.Configs.urls.webservices,li,tt,i,it,rt,f,s,ai,h,ut,ft,et,ot,o,st,c,l,a,v,vi,ht,ct,lt,at,vt,yt,yi,pt,wt,bt,kt,dt,gt,ni,ti,ii,y,ri,ui,fi,ei,oi,p,si,hi,r;return pt=function(){t.validator.setDefaults({ignore:":hidden:not(.chosen-select)"});t(document).on("change",".wffm-form .chosen-select",function(){t(this).valid()})},ui=function(){t(".wffm-form .product-list").on("change",function(){t("body").scrollTop(300);t(".wffm-form").filter(":input:first").focus()});t(".wffm-form .country-list").on("change",function(){t("body").scrollTop(300);t(".wffm-form").filter(":input:first").focus()})},ei=function(){t(".product-list").on("change",function(){var n=t(this).parents("form"),i=t(this).val();n.find(".tc-product-name").html(i)})},y=function(n,t){var i,r;if(typeof t=="undefined"||t==null||t=="")throw new Error("parameter is required");return i=new RegExp("\\b"+t+"=[^&;]+[&;]?","gi"),i.test(n)?(n=n.replace(i,""),n=n.replace(/[&;]$/,""),r=n.split("?"),r.length===1&&(n=r),n):void 0},ni=function(n){var i=t(".form-secondary-title");i.length>0&&i.each(function(){var f=t(this).val(),i=t(this).parents(".modal"),r=t(n).attr("data-modal"),u;i.length>0&&(i.find("h2").text(f),u=t(r).find(".product-list").val(),t(r).find(".tc-product-name").text(u))})},dt=function(){t(document).ready(function(){var n=t(".product-name").val(),i=t(".vertical-name").val();(n||i)&&(t("span.product-name-holder").html(n),t(".product-name-holder").val(n),t(".vertical-name-holder").val(i),t(".tc-product-name").html(n),t(".tc-vertical-name").html(i),n&&n.length>0?t(".tc-product-name").html(n):t(".tc-product-name").html(i));fi()})},yt=function(){t(document).on("keypress",'input[type="number"]',function(n){(n.which>64&&n.which<91||n.which>96&&n.which<123)&&n.preventDefault()})},at=function(){t(".form-modal").on("hidden.bs.modal",function(){var n=t(this),i=n.find(".submit-status");i.attr("data-status","");n.find(".submit-response, .error-response").addClass("hide");n.find("form").removeClass("hide");ii()})},ii=function(){var t=n.location.href,i=document.title,r=y(t,"sc_wffm_status"),u=y(r,"sc_wffm_clientid");n.history.pushState("",i,u)},si=function(){var n=!1,i=t(r),u,f;try{r.valid()==!0&&(u=i.find("input.email-field"),u.each(function(i,r){var u=t(r),f=u.parent().find("span.help-block");console.log("verifying email domain");t.ajax({url:"/client/ajax/validateEmailDomain?emailAddress="+u.val(),type:"GET",async:!1,success:function(i){i.message.length>0&&f.length>0?(console.log("domain error message"),t(f).text(i.message),u.attr("aria-invalid","true"),u.removeClass("valid").addClass("input-validation-error"),f.removeClass("field-validation-valid").addClass("field-validation-error"),n=!1):(console.log("no error message"),u.attr("aria-invalid","false"),u.removeClass("input-validation-error").addClass("valid"),f.removeClass("field-validation-error").addClass("field-validation-valid"),n=!0)}})}));f=i.find(".checkbox-required .custom-checkbox input");f.each(function(i,r){var u=t(r),f=u.attr("data-val-required"),e=u.parents(".checkbox-required").find("span.help-block");n=u.val();n=="false"&&f!=null?(t(e).text(f),n=!1):(t(e).text(""),n=!0)})}catch(e){console.log(e)}return n},c=function(n){for(var t,r=n+"=",f=decodeURIComponent(document.cookie),u=f.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return""},l=function(){var n=c("_utmz");return n!=""?n:""},a=function(n){var r=location.search,i=r.substring(r.indexOf("?")+1).split("&"),t,u,f,e;if(i.length>1){for(t=0,u={};t<i.length;t++)if(i[t]=i[t].split("="),u[i[t][0]]=decodeURIComponent(i[t][1]),f=i[t][0],e=i[t][1],f==n)return e;return""}return""},v=function(){var n=a("utm_source");return n?n:l()},ht=function(){t("form.get-in-touch, form.request-a-demo, form.single-step-form").on("click",'input[type="submit"]',function(n){var i,u;r=t(this).parents("form");si()==!0?(t(r).find(".utm-source").val(v()),i=t(r).find(".g-recaptcha"),i.length>0&&(n.preventDefault(),u=null,u=grecaptcha.render(t(i).attr("id"),{sitekey:t(i).data("sitekey")}),grecaptcha.reset(),grecaptcha.execute(u)),(t(this).parents(".modal").attr("id")=="formRegistration"||t(this).parents(".registration-form-single-section").find(".form-inline-container").attr("data-modal")=="formRegistration")&&INFORMA.Analytics.trackFormEvents(t(this),"Submit")):n.preventDefault()})},n.onSubmit=function(){var i=t(r),s,u,h,c;if(console.log("inside submit"),i.attr("data-trigger-download")=="true"&&(i.parents(".modal").attr("id")=="formRegistration"||i.find(".form-inline-container").attr("data-modal")=="formRegistration")){if(console.log("inside condition"),s=t(".close-download-form").attr("data-url")?t(".close-download-form").attr("data-url"):"",u=t(".close-download-form").attr("pdf-data-url")?t(".close-download-form").attr("pdf-data-url"):"",s!==""||u!=""){o();u!=""&&t(".close-download-form *").removeClass("wffm-elq-form-btn");k.modal("hide");h={"X-RequestVerificationToken":i.find("[name=__RequestVerificationToken]").val(),"X-Requested-With":"XMLHttpRequest",scController:"form",scAction:"Process","X-IsMediaDownload":!0};c=new FormData(r[0]);t.ajax({url:i.attr("action"),type:i.attr("method"),processData:!1,contentType:!1,headers:h,data:c,success:function(){},error:function(){}});t(".close-download-form").attr("data-show-register",!1);t(".close-download-form").attr("target","_blank");t(".close-download-form").attr("download","");var f=i.find(".redirect-url-field").val(),l=navigator.vendor&&navigator.vendor.indexOf("Apple")>-1&&navigator.userAgent&&navigator.userAgent.indexOf("CriOS")==-1&&navigator.userAgent.indexOf("FxiOS")==-1,a=!!n.MSInputMethodContext&&!!document.documentMode;l?i.append('<button id="download-link"  onclick="window.open("'+f+'","_blank");><\/button>'):a?i.append('<a id="download-link" href="'+f+'" target="_blank" download><\/a>'):i.append('<a id="download-link" href="'+f+'" download><\/a>');i.find("#download-link")[0].click()}return INFORMA.Analytics.trackFormEvents(t(this),"Submit"),e.preventDefault(),!1}r.submit()},st=function(){var t=n.location.href;(t.indexOf("?ResponseStatus=Success")!=-1||t.indexOf("/ResponseStatus/Success")!=-1)&&k.modal({show:!0,backdrop:"static"})},f=function(n){n.find("input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel], select, textarea").val("");n.find("input[type=radio]").removeAttr("checked");n.find(".normal-checkbox input[type=checkbox]").removeAttr("checked");n.find(".preselected-checkbox input[type=checkbox]").attr("checked","checked");n.find("select.chosen-select").find("option:first-child").prop("selected",!0).end().trigger("chosen:updated");var i=n.find(".preselected-checkbox input[type=checkbox]");i.length>0&&t.each(i,function(){t(this).val(this.checked?!0:!1)})},lt=function(){var n=t(".contactUsPage-contactUs .tab-pane.active"),e=t(".contactUsPage-contactUs .tab-pane .submit-status"),i,r,u,f;n.length>0&&(i=n.find(".error-response"),r=i.parents(".tab-pane.active").find("form"),i.length>0?r.addClass("hide"):r.removeClass("hide"),u=n.find(".submit-response"),f=u.parents(".tab-pane.active").find("form"),u.length>0?f.addClass("hide"):f.removeClass("hide"),e.each(function(){var i=t(this).attr("data-status"),n=t(this).parents(".tab-pane");i.length>0?(n.find("form").addClass("hide"),i=="success"?(n.find(".submit-response").removeClass("hide"),n.find(".error-response").addClass("hide")):(n.find(".error-response").removeClass("hide"),n.find(".submit-response").addClass("hide"))):(n.find("form").removeClass("hide"),n.find(".submit-response, .error-response").addClass("hide"))}))},o=function(){var n,i,r;u.length>0&&(i=t(u[0]),i.attr("data-status")==""?(n=i.parents(".form-modal:first"),n.length>0&&(n.find("form").removeClass("hide"),n.find(".submit-response, .error-response").addClass("hide"),n.removeClass("centreAlign"))):i.attr("data-status").length>0&&(r=i.parents("div[data-modal]"),r.length==0&&(n=i.parents(".form-modal:first"),n.length>0&&(n.find("form").addClass("hide"),n.find(".submit-response, .error-response").removeClass("hide"),n.addClass("centreAlign"),f(n.find("form")),n.modal({show:!0}))),u.attr("data-status")=="success"?(t(".submit-response").removeClass("hide"),t(".error-response").addClass("hide")):(t(".error-response").removeClass("hide"),t(".submit-response").addClass("hide"))),u.each(function(){var i=t(this).attr("data-status"),n=t(this).parents(".modal");i.length>0?(n.find("form").addClass("hide"),n.modal({show:!0,backdrop:"static"}),i=="success"?(INFORMA.Analytics.trackFormEvents(u,"Submit"),n.find(".submit-response").removeClass("hide"),n.find(".error-response").addClass("hide")):(n.find(".error-response").removeClass("hide"),n.find(".submit-response").addClass("hide"))):n.find(".submit-response, .error-response").addClass("hide")}))},vi=function(){t(".wffm-form").find(":submit").on("click",function(){return t(".get-in-touch ").valid()==!0?!0:!1})},oi=function(){t(".form-submit-border .btn").on("mouseover click",function(){t(".form-submit-border").addClass("hover-arrow")});t(".form-submit-border .btn").on("mouseout blur",function(){t(".form-submit-border").removeClass("hover-arrow")})},ft=function(){t("form.get-in-touch legend, form.request-a-demo legend, form.wffm-form legend").on("click",function(){t(this).toggleClass("active");t(this).parent().children("p").toggleClass("show")});t("form.get-in-touch legend, form.request-a-demo legend, form.wffm-form legend").each(function(){t(this).next().is("p")&&t(this).addClass("tool_tip")})},h=function(n){if(t("span.product-name-holder").html(n.ProductName),t(".product-name-holder").val(n.ProductName),modal_Id&&!n.ProductName){var i=t(modal_Id+" .page-header h2").text(),r=i.replace(" for ","");t(modal_Id+" .page-header h2").text(r)}t(".tc-product-name").html(n.ProductName);n.ProductName!=null&&t(".tc-product-name").html(n.ProductName);(t(".product-finder-results .search-container").length>0||t(".recom-prod-carousel").length>0)&&ri(n.ProductName)},ai=function(n){var r=n,u=t(i+" .area-interests input").first().attr("id"),f=t(i+" .area-interests input").first().attr("name"),s="",h="",c,o,e;u&&(u=u.replace("Id","Value"));f&&(f=f.replace("Id","Value"));t(i+" .area-interests .form-group .checkbox").remove();t(i+" .area-interests").addClass("dynamic-interests");t(i+" .page-header h2").find(".product-name").text(r.ProductName);t(i+" .page-header h2").text(li);o=t(i+" .form-additional-fields .product-name-field");o.length>0&&o.val(r.Title);for(e in r.Items)r.Items.hasOwnProperty(e)&&(h=r.Items[e].Text,s=r.Items[e].Value,c=t("<input>").attr({type:"checkbox",value:s,id:u,name:f}),t(i+" .area-interests .form-group").append(c),t(i+" .area-interests .form-group input[type=checkbox]").last().wrap('<div class="checkbox"><\/div>').wrap("<label>"+h+"<\/label>"))},s=function(n,t,i,r,u,f){INFORMA.DataLoader.GetServiceData(n,{method:t,data:i,success_callback:function(n){typeof r=="function"&&r.call(this,n,f)},error_callback:function(){typeof u=="function"&&u.call(this,i,f)}})},ot=function(){t(document).on("change","form.get-in-touch .hide-title .checkbox input, form.request-a-demo .hide-title .checkbox input",function(){t(this).parent().parent().toggleClass("active")})},t.fn.calendar=function(n){function o(n){var t=new Date(n);return t.setMonth(t.getMonth()+1),t.setDate(0),t.getDate()}function f(n){var t=w(i.find(".month").data("date"));t.setMonth(t.getMonth()+n);i.update(t)}var i=this,r=t.extend({},t.fn.calendar.defaults,n),e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"].map(function(n){return"<th>"+n+"<\/th>"}).join(""),u;return i.init=function(){var n='<table class="cal"><caption>   <span class="prev"><a href="javascript:void(0);">&lt;<\/a><\/span>   <span class="next"><a href="javascript:void(0);">&gt;<\/a><\/span>   <span class="month" data-date=""><span><\/caption><thead><tr>'+e+"<\/tr><\/thead><tbody><\/tbody><\/table>",r=t(n);i.append(r)},i.update=function(n){function a(r){var u=t('<td><a href="javascript:void(0);"><\/a><\/td>'),f=u.find("a");return f.text(r.getDate()),f.data("date",moment(r).format("YYYY-MM-DD")),n.getMonth()!=r.getMonth()?u.addClass("off"):i.data("date")==f.data("date")?(u.addClass("active"),i.data("date",b(r))):r.toDateString()==n.toDateString()&&u.addClass("active"),u}var r=new Date(n),u,f,c,e,s,h,l;for(r.setDate(1),u=r.getDay(),r.setDate(r.getDate()-u),f=i.find("tbody"),f.empty(),c=Math.ceil((u+o(n))/7),e=0;e<c;e++){for(s=t("<tr><\/tr>"),h=0;h<7;h++,r.setDate(r.getDate()+1))s.append(a(r));f.append(s)}l=b(n).replace(/-\d+$/,"");g=n.getMonth();d=ci[g];i.find(".month").text(d);i.find(".month").data("date",l)},i.getCurrentDate=function(){return i.data("date")},i.init(),u=r.date?r.date:new Date,(r.date||!r.picker)&&i.data("date",b(u)),i.update(u),i.delegate("tbody td","click",function(){var n=t(this);i.find(".active").removeClass("active");n.addClass("active");i.data("date",n.find("a").data("date"));n.hasClass("off")&&i.update(w(i.data("date")));r.picker&&i.hide()}),i.find(".next").click(function(){f(1)}),i.find(".prev").click(function(){f(-1)}),this},t.fn.calendar.defaults={date:new Date,picker:!1},t.fn.datePicker=function(){var i=this,n=t("<div><\/div>").addClass("picker-container").hide().calendar({date:w(i.val()),picker:!0});return i.after(n),t("body").click(function(){n.hide()}),i.click(function(){return n.show(),!1}),n.click(function(){return i.val(moment(n.getCurrentDate()).format("DD/MMM/YYYY")),!1}),this},et=function(){t("form.request-a-demo .three-column .date-picker").wrap("<div class='right-inner'><\/div>");t("form.request-a-demo .three-column .right-inner").prepend("<i class='icon-calender'><\/i>");t("form.request-a-demo .date-picker:text").each(function(){t(this).datePicker({dateFormat:"dd-mm-yy"})})},ct=function(){var n=t("form.wffm-form");n.length>0&&t.each(n,function(){var n=t(this).find(".form-submit-border .btn");n.attr("disabled",!0);t(this).on("change","input, textarea, select",function(){n.removeAttr("disabled");(t(this).is("textarea")||t(this).is('input[type="email"]')||t(this).is('input[type="text"]')||t(this).is('input[type="number"]')||t(this).is('input[type="tel"]'))&&t(this).val(t(this).val().trim())});t(this).on("change",".terms-and-conditions input[type=checkbox]",function(){t(this).val(this.checked?!0:!1);this.checked?t(this).attr("checked","checked"):t(this).removeAttr("checked")})})},hi=function(){if(/iP(hone|od|ad)/.test(navigator.platform)){var n=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]}},rt=function(n){t.fn.modal.Constructor.prototype.enforceFocus=function(){};i=t(n).data("modal");modal_Id=i;f(t(i).find("form"));t(n).attr("data-productid")?(t(i+" .page-header h2").find(".product-name-holder").length===0&&(t(i+" .page-header h2").text(t(i+" .page-header h2").text()+" for "),t(i+" .page-header h2").append('<span class="product-name-holder"><\/span>')),tt={guid:t(n).attr("data-productid")},s(nt.GetProductAndVerticalNames,"Get",tt,h,null,null)):ni(n);var r=hi();if(r!==undefined){if(r[0]>=11){t(i).on("show.bs.modal",function(){t("body").addClass("body-fixed")});t(i).modal({show:"true"});t(i).on("hide.bs.modal",function(){t("body").removeClass("body-fixed")})}}else t(i).modal({show:"true"});o();p()},ri=function(n){var t=jQuery(".form-modal select.product-list");t.append('<option val="'+n+'">'+n+"<\/option>");t.val(n);t.trigger("chosen:updated")},ut=function(){t(document).on("click",".wffm-elq-form-btn",function(){INFORMA.Analytics.trackFormEvents(t(this),"Open");rt(this)})},vt=function(){var n=t(".contactUsPage-contactUs"),i=n.find(".form-introduction"),r=n.find(".tab-content"),u=n.find(".page-header");i.length>0&&i.addClass("show");r.length>0&&u.addClass("hide")},yi=function(){var n={guid:t(".page-id").val()};s(nt.GetProductAndVerticalNames,"Get",n,h,null,null)},wt=function(){(INFORMA.global.device.isTablet||INFORMA.global.device.isMobile)&&t("form.wffm-form .chosen-select").length>0&&(t("form.wffm-form .chosen-select").chosen("destroy"),t("form.get-in-touch .form-group .chosen-select, form.request-a-demo .form-group .chosen-select, form.register-myinterests-form .form-group .chosen-select").wrap("<div class='select-wrapper'><\/div>"))},bt=function(){var n=t('form.wffm-form input[type="number"]').attr("data-val-regex");n&&t.extend(t.validator.messages,{number:n})},p=function(){t(".wffm-form .chosen-container").on("click mousedown",function(n){n.preventDefault();var i=t(this).find(".select-default");i.text()&&i.css("display","none")})},kt=function(){t(n).load(function(){t(".g-recaptcha-response").attr("aria-labelledby","g-recaptcha-response")})},gt=function(){t(n).bind("pageshow",function(){var n=t(".wffm-form");n.length>0&&t.each(n,function(){f(t(this))})})},ti=function(){t(".wffm-form").length>0&&t(".wffm-form").each(function(){var i=t(this).attr("id"),n=t(this).find(".form-clientid");n.length&&n.val(i)})},fi=function(){var n=t(".product-list");n.each(function(){var n=t(this).parents("form"),i=t(this).val();n.find(".tc-product-name").text(i)})},it=function(){ti();wt();yt();o();st();c();l();a();v();ht();ft();et();ut();ot();ct();lt();at();vt();dt();pt();bt();kt();gt();ui();ei();p();oi()},{init:it}}(this,jQuery,"INFORMA");jQuery(INFORMA.forms.init());INFORMA=window.INFORMA||{};INFORMA.GalleryTeam=function(n,t){"use strict";var r,f=t("meet-people-header"),i,u=/*@!@*/!1||!!document.documentMode;i=function(){r=document.getElementById("meet-people-header");u&&t(".tm-img").each(function(){t(this).addClass("ie").css("background-image","url("+t(this).children("img").attr("src")+")")})};jQuery(".tm-img").on("click",function(){var r=t(this).attr("id"),u=t(this).attr("data-profiledata");t("#hdnid").val(r);var f=t("#hdnid").val(),n=JSON.parse(u),i="",i="";i+=" <div class='container'>  <div class='row'> <div class='row'> <div class='col-md-12'> <div class='close' id='close'>";i+="X<\/div>    <\/div> <\/div>     <div class='col-md-4'>   <div class='pro-img'> <img src="+n.__interceptors[0].Values.ProfileImage.Src+" alt='' />";i+="  <\/div>   <\/div> <div class='col-md-8'>  <div class='header'>  <h2>"+n.__interceptors[0].Values.FirstName+" "+n.__interceptors[0].Values.LastName+"<\/h2>   <h3>"+n.__interceptors[0].Values.JobTitle+"<\/h3> <\/div> <div class='pro-social'>        <div class='unit'><\/div>  <div class='unit'><\/div>  <\/div> <div class='pro-details'>  <p>"+n.__interceptors[0].Values.ShortDescription+"<\/p>      <\/div>    <\/div>   <\/div> <\/div>\t";t("#team-discription").html(i)});jQuery("#close").on("click",function(){alert("lala");t("#team-discription").css("display","none")});return{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.GalleryTeam.init());INFORMA=window.INFORMA||{};INFORMA.global=function(n,t){"use strict";var i={},r={},u=t("html"),f=function(){var f=t(n).width();f>1024?(i.isDesktop=!0,i.viewport="desktop",i.viewportN=0):f>=768?(i.isTablet=!0,i.viewport="tablet",i.viewportN=1):(i.isMobile=!0,i.viewport="mobile",i.viewportN=2);u.addClass(i.viewport);t("html").hasClass("preview-mode")?r.isPreview=!0:t("html").hasClass("experience-mode")&&(r.isExperience=!0)};return{init:f,device:i,siteCore:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.global.init());INFORMA=window.INFORMA||{};INFORMA.globalFooter=function(n,t){"use strict";var i=t(".customers_list_slider"),r,u;return u=function(n){var t=n.data("itemsperframe"),i=n.data("autorotate"),f=n.data("transitionspeed"),e=n.data("slideduration"),u=!0,r=!1;INFORMA.global.siteCore.isPreview&&(i=!0);INFORMA.global.siteCore.isExperience&&(i=!1,u=!1);INFORMA.global.device.viewportN===1?(t=4,r=!0):INFORMA.global.device.viewportN===2&&(t=2,r=!0);n.slick({infinite:u,autoplay:i,autoplaySpeed:e,slidesToShow:t,slidesToScroll:t,speed:f,dots:r})},r=function(){i.length>0&&u(i)},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.globalFooter.init());INFORMA=window.INFORMA||{};INFORMA.globalHeader=function(n,t){"use strict";var h=t(".mainNavigation"),a=t(".mobileNavigation"),fi=t("#mobile-header-navigation"),y=t(".informaNav .mainNavigation .header-links"),tt=t("#cookieBanner"),d=h.height(),ei=0,p=a.height(),oi=0,e=t("#cookieBanner").outerHeight(),u="navbar-fixed-top",si=t("#banner h1").text(),yr=t(".marketing-banner .close a"),c=t("body").hasClass("tmt-newco"),it=80,f=t("#pdp-navigation"),hi,ci,l=0,rt=0,li=f.data("productpage"),ai=t(".product-detail-page"),w=t("#pdp-navigation .menuFollower"),pr=t("#pdp-navigation .nav-pdp-nondesktop"),vi=!0,i=t("#pdp-navigation ul > li > a"),r=t("#pdp-navigation ul > li > a > span"),k=!1,g=[],ut=[],vt=[],yt=[],o=0,yi,pi,pt=!0,wi=!0,wt=!1,bt=!1,kt=!1,dt=0,s=t("#services-navigation"),bi,b=0,gt=t("#services-navigation .menuFollower"),ki=!0,nt=t("#services-navigation ul > li > a"),ft=t("#services-navigation ul > li > a > span"),et=[],ni=[],ti=[],di,gi,ii=!0,nr=!0,ri=0,ot=!1,st=t("#banner .try-stick"),tr=t("#banner .subscribe-stick"),ir=t("#banner h1"),rr=0,ur=0,v=t(".informaNav .nav-links"),wr=t("#sub-nav .subnav-close"),br=t(".informaNav .navbar-toggle"),kr=t("#mobile-header-navigation .nav-close"),dr=t("#mobile-header-navigation .nav-back"),fr,er,or,sr,hr,cr,lr,ar,ht,vr,ct,lt,ui,at;return f.length>0&&(l=f.height(),t("#pdp-sections ul li").each(function(){var i=t(this).find("a").data("target"),n,r;t("#"+i).length==0?t(this).remove():(n=t(this).find("a").data("target-index"),n!=0&&(r=t("[id='"+i+"']"),r.length-1<n&&t(this).remove()))}),r=t("#pdp-navigation ul > li > a > span"),t("#pdp-navigation ul > li > a").each(function(n){var i=t(this).data("target"),r=t(this).data("target-index"),u,f;at?(u=Math.round(t(t("[id='"+i+"']")[r]).offset().top),f=Math.round(at.offset().top),u<f&&(at=t(t("[id='"+i+"']")[r]),o=n)):at=t(t("[id='"+i+"']")[r])}),t(r[o]).offset()&&w.css("width",t(r[o]).width()).css("left",t(r[o]).offset().left).show()),document.fonts&&document.fonts.ready.then(function(){f.length>0&&(t(r[o]).offset()&&w.css("width",t(r[o]).width()).css("left",t(r[o]).offset().left).show(),i.removeClass("active"),t(i[o]).addClass("active"))}),s.length>0&&(b=s.height(),gt.css("width",t(ft[0]).width()).css("left",t(ft[0]).offset().left).show()),h.length>0&&(d=h.height(),ei=h.offset().top),a.length>0&&(p=a.height(),oi=a.offset().top),ht=function(){e=t("#cookieBanner:visible").length?t("#cookieBanner").outerHeight():0},ct=function(){INFORMA.global.device.isDesktop?(h.addClass(u),tt.addClass(u),h.css("top",e),t("body").css("padding-top",d)):(a.addClass(u),tt.addClass(u),a.css("top",e),t("body").css("padding-top",p))},lt=function(){INFORMA.global.device.isDesktop?(h.removeClass(u),tt.removeClass(u),h.css("top",0),t("body").css("padding-top",0)):(a.removeClass(u),tt.removeClass(u),a.css("top",0),t("body").css("padding-top",0))},ui=function(){var r=t("#pdp-sections ul li").height()*t("#pdp-sections ul li").length,i=t(n).height()-p-t("#pdp-navigation .nav-pdp-nondesktop").outerHeight()-e,u=t("#pdp-sections-heading").height();r+u>i?(t("#pdp-sections").height(i),t("#pdp-sections").css("overflow","auto")):t("#pdp-sections").css({height:"auto",overflow:"hidden"})},er=function(){t(n).on("scroll",function(){!k&&h.length>0&&INFORMA.global.device.isDesktop&&or();!k&&a.length>0&&!INFORMA.global.device.isDesktop&&sr();f.length>0&&vi&&pi();s.length>0&&ki&&gi()})},or=function(){var i=t(n).scrollTop();ht();i>ei+e?h.hasClass(u)||(ct(),t(".informaNav .nav-left").animate({left:"0px"},1e3)):h.hasClass(u)&&(lt(),t(".informaNav .nav-left").animate({left:"0px"},1e3))},sr=function(){var i=t(n).scrollTop();ht();i>oi+e?(ct(),fi.css({"z-index":"2000"})):(lt(),fi.css({"z-index":"2"}))},ci=function(){pr.on("click",function(n){n.preventDefault();t("#pdp-sections:visible").length?t("#pdp-sections").slideUp():t("#pdp-sections").slideDown(function(){INFORMA.global.device.isDesktop||f.hasClass(u)&&(ui(),t("#pdp-sections").animate({scrollTop:0},500))})})},yi=function(){i=t("#pdp-navigation ul > li > a");i.length===0&&(f.remove(),vi=!1)},pi=function(){var y=t(n).scrollTop(),s,nt,h;if(wi&&(dt=c?it:f.offset().top,wi=!1),c?s=it:INFORMA.global.device.isDesktop?(s=d,l=t("#pdp-navigation").outerHeight()):(s=p,l=t("#pdp-navigation .nav-pdp-nondesktop").outerHeight()),(INFORMA.global.device.isDesktop||c)&&(st.length>0&&(rr=c?s:st.offset().top,y>rr-s+e?bt||(st.clone(!0).appendTo(".nav-pdp-desktop-sticky"),tr.clone(!0).appendTo(".nav-pdp-desktop-sticky"),bt=!0,t(".nav-pdp-desktop-sticky").addClass("move-left")):(bt=!1,t(".nav-pdp-desktop-sticky").empty())),ir.length>0&&(ur=c?s:ir.offset().top,i=t("#pdp-navigation ul > li > a"),r=t("#pdp-navigation ul > li > a > span"),y>ur-s+e?kt||(li&&(t("#pdp-sections-heading").text(si),t("#pdp-sections-heading").addClass("move-left")),kt=!0,w.css("width",t(r[o]).width()).css("left",t(r[o]).offset().left).show(),i.removeClass("active"),t(i[o]).addClass("active")):(t("#pdp-sections-heading").text(""),t("#pdp-sections-heading").removeClass("move-left"),w.css("width",t(r[o]).width()).css("left",t(r[o]).offset().left).show(),i.removeClass("active"),t(i[o]).addClass("active"),kt=!1))),ht(),y>dt-s-e){if(f.addClass(u),f.css("top",s+e+"px"),ai.css("padding-top",l),k=!0,t(".nav-pdp-nondesktop").addClass("move-left"),ct(),INFORMA.global.device.isDesktop||wt||(nt=w.css("left"),st.clone(!0).appendTo(".nav-pdp-nondesktop-sticky"),tr.clone(!0).appendTo(".nav-pdp-nondesktop-sticky"),wt=!0,li&&(t("#pdp-sections-heading").text(si),t("#pdp-sections-heading").addClass("move-left")),t(".nav-pdp-nondesktop-sticky").addClass("move-left"),w.css("left",nt+t("#pdp-sections-heading").outerWidth()),ui()),pt){for(g=[],ut=[],vt=[],yt=[],i=t("#pdp-navigation ul > li > a"),r=t("#pdp-navigation ul > li > a > span"),h=0;h<i.length;h++){var tt=t(i[h]).data("target"),ot=t(i[h]).data("target-index"),rt=t(t("[id='"+tt+"']")[ot]),b=rt.offset().top,ft=rt.height();c&&(b-=s+10);t("#"+tt).length>0?(g.push(b),c?ut.push(b+ft+s):ut.push(b+ft)):g.push(0);t(r[h]).length>0&&(vt.push(t(r[h]).width()),yt.push(t(r[h]).offset().left))}pt=!1}}else k&&(f.removeClass(u),f.css("top","0px"),ai.css("padding-top",0),k=!1,pt=!0,dt=f.offset().top,lt(),INFORMA.global.device.isDesktop||(wt=!1,t(".nav-pdp-nondesktop-sticky").empty(),t("#pdp-sections-heading").text(""),t("#pdp-sections-heading").removeClass("move-left"),t(".nav-pdp-nondesktop").removeClass("move-left"),t("#pdp-sections").css({height:"auto",overflow:"hidden"})));if(INFORMA.global.device.isDesktop||c){for(var a=g.length-1,et=y+s+l+e,v=-1;a>=0;a--)et>=g[a]&&et<=ut[a]&&(v=a);v!=-1&&(w.css("width",vt[v]),w.css("left",yt[v]),i.removeClass("active"),t(i[v]).addClass("active"))}},hi=function(){i.on("click",function(i){var r,o,u,s,h,a;i.preventDefault();INFORMA.global.device.isDesktop?(t("#pdp-navigation li").removeClass("selected"),t("#pdp-navigation li").addClass("select-options"),l=f.outerHeight(),o=t(this).data("target"),u=t(this).data("target-index"),r=c?it:p,a=t("[id='"+o+"']"),s=a.length>=[u]?t(a[u]).offset().top-(r+l+e):t("#"+o).offset().top-(r+l+e)):(o=t(this).data("target"),u=t(this).data("target-index"),t("#pdp-sections").slideUp(),l=t("#pdp-navigation .nav-pdp-nondesktop").outerHeight(),rt=k?0:t("#pdp-sections").height(),r=c?it:p,h=t("[id='"+o+"']"),console.log(h[u]),s=h.length>=[u]?t(h[u]).offset().top-(r+l+rt):t("#"+o).offset().top-(r+l+rt));c&&t(n).scrollTop()<=50&&(s-=r);t("html, body").stop().animate({scrollTop:s},1e3)})},di=function(){nt=t("#services-navigation ul > li > a");nt.length===0&&(s.remove(),ki=!1)},gi=function(){var e=t(n).scrollTop(),o=t("#services-list").parent(),f,r,h,c,i;if(nr&&(ri=s.offset().top,nr=!1),f=INFORMA.global.device.isDesktop?d:p,b=s.height(),e>ri-f){if(s.addClass(u),s.css("top",f+"px"),o.css("padding-top",b),ii){for(et=[],ni=[],ti=[],r=0;r<nt.length;r++)h="#"+t(nt[r]).data("target"),et.push(t(h).offset().top),ni.push(t(ft[r]).width()),ti.push(t(ft[r]).offset().left);ii=!1}}else s.removeClass(u),s.css("top","0px"),o.css("padding-top",0),ii=!0,ri=s.offset().top;for(c=f+b+7,i=et.length-1;i>=0;i--)e+c>=et[i]&&(INFORMA.global.device.isDesktop?(gt.css("width",ni[i]),gt.css("left",ti[i])):(t("#services-navigation li").removeClass("selected"),t("#services-navigation li").removeClass("select-options"),t(t("#services-navigation li")[i]).addClass("selected")),i=-1)},bi=function(){nt.on("click",function(n){n.preventDefault();var i,r,u;INFORMA.global.device.isDesktop?(r=t(this).data("target"),t("#services-navigation li").removeClass("selected"),t("#services-navigation li").addClass("select-options"),b=s.height(),i=d,u=t("#"+r).offset().top-(i+b),t("html, body").stop().animate({scrollTop:u},1e3)):ot?(r=t(this).data("target"),t("#services-navigation li").removeClass("selected"),t("#services-navigation li").removeClass("select-options"),t('#services-navigation li:not(".selected")').slideUp(),t(this).parent().addClass("selected"),b=s.height(),i=p,u=t("#"+r).offset().top-(i+b),t("html, body").stop().animate({scrollTop:t(this).parents("section").offset().top},1e3),ot=!1):(t("#services-navigation li").addClass("select-options"),ot=!0)})},lr=function(){yr.on("click",function(n){n.preventDefault();t(this).closest("section").hide()})},ar=function(){if(INFORMA.global.device.isDesktop){v.on("mouseover",function(n){n.preventDefault();var r=t(this).find("a").data("subnav"),i=t("#sub-nav"),u=t("#sub-nav").find(".subnav-container");i.css({left:0});u.hide();v.removeClass("nav-active");t(this).addClass("nav-active");i.show();t("#"+r).show();u.removeClass("active");i.find("#"+r).addClass("active")});t(".nav-links a").on("keydown",function(n){if(n.keyCode===13||n.which===13){t(this).parent().trigger("mouseover");var i=t(this).data("subnav");return t(t("#"+i).find("a")[0]).focus(),!1}});t(".subnav-close a").on("focusout",function(){var n=t(this).parents(".subnav-container").attr("id");t('.nav-links a[data-subnav="'+n+'"]').parent("li").next("li").find("a").focus();t(this).find("a").unbind("click")});t("#sub-nav").hover(function(){t(this).show();t("#sub-nav").css({left:0});var n=t("#sub-nav").find(".active").attr("id"),i=v.find("a[data-subnav="+n+"]").parent();v.removeClass("nav-active");i.addClass("nav-active")},function(){t(this).hide();v.removeClass("nav-active")});v.on("mouseout",function(n){n.preventDefault();t("#sub-nav").hide();t("#sub-nav").css({left:0});v.removeClass("nav-active")});wr.on("click",function(n){n.preventDefault();t("#sub-nav .subnav-container").hide();t("#sub-nav").css({left:0});v.removeClass("nav-active");t(this).unbind("focusout");t(this).find("a").unbind("focusout")})}else v.on("click",function(){var n=t(this).find("a").data("subnav"),i=t(this).find("a").text();t("#"+n).length>0&&(t("#sub-nav .subnav-container").hide(),t("#sub-nav").css("left","0"),t("#"+n).css("display","block"),t("#mobile-header-navigation .nav-subnav-heading").text(i),t("#mobile-header-navigation .nav-back").css("display","block"))});br.on("click",function(n){n.preventDefault();t("#mobile-header-navigation").css("left","0");t(".informaNav .nav-main").css("left","0");t("#mobile-header-navigation .nav-back").css("display","none");t("#mobile-header-navigation .nav-subnav-heading").text("");var i=t(".navbar-brand img")[0];t("#mobile-header-navigation .nav-subnav-heading").append('<div class="navbar-image"><img src="'+i.src+'" class="logo-img-big"/><\/div>')});kr.on("click",function(){t(".navbar-collapse").collapse("hide");t("#mobile-header-navigation").css("left","-100%");t(".informaNav .nav-main").css("left","-100%");t("#sub-nav").css("left","-100%");t("#mobile-header-navigation .nav-image").remove()});dr.on("click",function(){t(".informaNav .nav-main").css("left","0");t("#sub-nav").css("left","-100%");t("#mobile-header-navigation .nav-subnav-heading").text("");t("#mobile-header-navigation .nav-back").css("display","none");var n=t(".navbar-brand img")[0];t("#mobile-header-navigation .nav-subnav-heading").append('<div class="navbar-image"><img src="'+n.src+'" class="logo-img-big"/><\/div>')})},hr=function(){t("#pdp-sections ul li").each(function(){var n="#"+t(this).find("a").data("target");t(n).length===0&&t(this).remove()})},cr=function(){t(document).on("touchstart",function(n){n.target.class==="selectMenu"||t(".selectMenu").find(n.target).length||t(".selectMenu .chosen-container").removeClass("container-active chosen-with-drop")})},vr=function(){},fr=function(){y.length>0&&(INFORMA.global.device.isMobile||INFORMA.global.device.isTablet)&&(y.length===1?t(y).addClass("one"):y.length===3?t(y).addClass("three"):y.length===4?t(y).addClass("four"):t(y).addClass("two"));f.length>0&&(hr(),INFORMA.global.siteCore.isExperience||vr(),yi(),hi(),ci());s.length>0&&(di(),bi());t('[data-toggle="popover"]').popover();er();ar();lr();cr();INFORMA.global.device.isTablet&&t("#services-list section").each(function(){var n=this.id;t("#"+n+" .image-thumbnail").prependTo("#"+n+" .content")});INFORMA.global.device.isDesktop||(t("#services-navigation ul > li:first-child").addClass("selected"),ot=!1)},{init:fr}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.globalHeader.init());Handlebars.registerHelper("compare",function(n,t,i){var r,u,f;if(arguments.length<3)throw new Error("Handlerbars Helper 'compare' needs 2 parameters");if(r=i.hash.operator||"==",u={"==":function(n,t){return n===t},"===":function(n,t){return n===t},"!=":function(n,t){return n!==t},"<":function(n,t){return n<t},">":function(n,t){return n>t},"<=":function(n,t){return n<=t},">=":function(n,t){return n>=t},"typeof":function(n,t){return typeof n===t}},!u[r])throw new Error("Handlerbars Helper 'compare' doesn't know the operator "+r);return f=u[r](n,t),f?i.fn(this):i.inverse(this)});Handlebars.registerHelper("math",function(n,t,i){return n=parseFloat(n),i=parseFloat(i),{"+":n+i,"-":n-i,"*":n*i,"/":n/i,"%":n%i}[t]});Handlebars.registerHelper("splitURL",function(n,t){if(n){var i=n.split("?"),r=i[0].toString().split("/"),u=r.lastIndexOf(t);return u==-1?!1:!0}return!1});Handlebars.registerHelper("IfNotBlank",function(n,t){return(n==null||n==undefined)&&(n=""),n=n.trim(),n.length>0?t.fn(this):t.inverse(this)});Handlebars.registerHelper("AnalystData",function(n){if(n){var t=n.split("#");return n.indexOf("#")!==-1&&t[1]?"<a href="+t[1]+">"+t[0]+"<\/a>":n}});Handlebars.registerHelper({eq:function(n,t){return n===t},ne:function(n,t){return n!==t},lt:function(n,t){return n<t},gt:function(n,t){return n>t},lte:function(n,t){return n<=t},gte:function(n,t){return n>=t},and:function(){return Array.prototype.slice.call(arguments).every(Boolean)},or:function(){return Array.prototype.slice.call(arguments,0,-1).some(Boolean)}});INFORMA=window.INFORMA||{};INFORMA.helpfaq=function(n,t){"use strict";var u=t(".help-faq-select"),i,r;return r=function(){u.change(function(){t(this).parents(".accordian-structure").find(".help-faq-wrapper").children().removeClass("show").addClass("hide");var n=t("option:selected",this).data("show");t(n).removeClass("hide").addClass("show")})},i=function(){r()},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.helpfaq.init());INFORMA=window.INFORMA||{};INFORMA.heroBanner=function(n,t){"use strict";function lt(n){var f,i;if(INFORMA.global.device.viewport==="desktop"||INFORMA.global.device.viewportN===0)if(n.target.pauseVideo(),n.target.setVolume(l),et++,u.length===et){if(t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").removeClass("disable-arrow"),r.find(".videoBG").attr("data-videotype")==="youtube")for(f=r.find(".videoBG iframe")[0].id,i=0;i<u.length;i++)u[i].a.id===f&&u[i].playVideo()}else t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").addClass("disable-arrow")}var h=t("img[data-video]"),r=t(".hero-banner-carousel .slider-component"),o=t(".hero-banner-texture,.hero-banner"),f=t(".hero-banner-texture .cf-img,.hero-banner .cf-img"),b=t(".hero-banner-texture").not(".sample-content-banner, .product, .key-acocunt-landing-section"),k=t(".hero-banner-texture.product.supergraphic"),d,g,nt,e,s,c,tt,it,rt,l,ut,ft,u=[],et=0,a=0,i=[],ot,ct=[],st,ht,v,y,p,w;g=function(){var n=h.data("video");h.parent().html('<iframe width="100%" height="auto" src="'+n+'" frameborder="0" allowfullscreen volume="0"><\/iframe>')};nt=function(t){var u=1,i=t.data("autorotate"),s=t.data("transitionspeed"),f=t.data("slideduration"),e=!0,r=Boolean(t.data("dots")),o;if(t.data("rtl")!==undefined&&(o=t.data("rtl")),INFORMA.global.siteCore.isExperience&&(i=!1,e=!1),o===!0&&i===!0)t.on("init",function(){n.setInterval(function(){t.slick("slickPrev")},f)});t.slick({infinite:e,autoplay:i,autoplaySpeed:f,slidesToShow:u,slidesToScroll:u,speed:s,dots:r!=null||r!=undefined?r:!0,swipe:INFORMA.global.device.isDesktop?!1:!0})};r.on("init",function(){var n=t(".hero-banner-carousel .slick-slide .videoBG");n.each(function(n){var u,f,o,v,h,y,p,r,w,a;if(e=t(this).attr("data-videotype"),e==="youtube")s=t(this).attr("data-videoid"),l=t(this).attr("data-videosound"),u=document.createElement("div"),u.id="youtubePlayer"+n,t(this).append(u),f=document.createElement("script"),f.src="https://www.youtube.com/iframe_api",o=document.getElementById("youtubePlayer"+n),v=o.parentNode.insertBefore(f,o.nextSibling),t(this).append(v);else if(e==="vimeo")t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").removeClass("disable-arrow"),tt=t(this).attr("data-videoid"),ft=t(this).attr("data-videosound"),h=document.createElement("div"),h.id="vimeoPlayer"+n,t(this).append(h),y=document.getElementById("vimeoPlayer"+n),p={id:tt,loop:!0,autoplay:!0},ot=new Vimeo.Player(y,p),i.push(ot),INFORMA.global.device.viewportN===2&&(t(".videoBG_wrapper").css("height","80%"),t(".block-centered").css("transform","translateY(-40%)")),INFORMA.global.device.viewportN===1&&(t("section.hero-banner").addClass("vimeo-video-banner"),t(".videoBG_wrapper").css("height","80%"),t(".block-centered").css("transform","translateY(-25%)"));else if(e==="wistia"&&(it=t(this).attr("data-videourl"),c=t(this).attr("data-videoid"),ut=t(this).attr("data-videosound"),r=document.createElement("iframe"),r.id="wistiaEmbed"+n,r.class="wistia_embed",r.name="wistia_embed",r.src=it+"/embed/iframe/"+c+"?autoplay=1&playbar=false&smallPlayButton=false&fullscreenButton=false&volumeControl=false&endVideoBehavior=loop&volume="+ut,t(this).append(r),w={id:c},ct.push(w),(INFORMA.global.device.viewportN===1||INFORMA.global.device.viewportN===2)&&(a=t(".videoBG_wrapper"),a.length>0)))a.on("click",function(){var t=document.getElementById("wistiaEmbed"+n).wistiaApi;t.play()})});onVimeoIframeAPIReady()});r.length>0&&(n.onYouTubeIframeAPIReady=function(){var n=t(".hero-banner-carousel .slick-slide .videoBG");n.each(function(n){if(e=t(this).attr("data-videotype"),e==="youtube"){s=t(this).attr("data-videoid");l=t(this).attr("data-videosound");var i=document.getElementById("youtubePlayer"+n);rt=new YT.Player(i,{videoId:s,playerVars:{modestbranding:0,autoplay:1,controls:1,loop:1,wmode:"opaque",playlist:s,showinfo:0},events:{onReady:lt}});u.push(rt)}})},n.onVimeoIframeAPIReady=function(){a=0;t.each(i,function(n,u){a++;var f=u;f.ready().then(function(){var u,n;if(f.pause(),f.setVolume(ft),i.length===a){if(t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").removeClass("disable-arrow"),setTimeout(function(){r.find(".hero-items.slick-active .videoBG iframe").css("display","block")},100),r.find(".hero-items .videoBG").attr("data-videotype")==="vimeo")for(u=r.find(".hero-items .videoBG iframe").parent()[0].id,n=0;n<i.length;n++)i[n].element.parentElement.id===u&&i[n].play()}else t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").addClass("disable-arrow"),r.find(".hero-items.slick-active .videoBG iframe").css("display","none")})})});r.on("afterChange",function(n,r,f){var h,s,c,l,e,a,v,o;if((INFORMA.global.device.viewport==="desktop"||INFORMA.global.device.viewportN===0)&&(h=r.$slides[f].getElementsByClassName("videoBG"),s=t(n.target).find(".slick-active .videoBG").attr("data-videotype"),h.length>0))if(s==="youtube")for(c=t(r.$slides[f].getElementsByTagName("iframe")).parent(),st(c),l=r.$slides[f].getElementsByTagName("iframe")[0].id,e=0;e<u.length;e++)u[e].a.id===l&&u[e].playVideo();else if(s==="vimeo")for(a=t(r.$slides[f].getElementsByTagName("iframe")).parent(),ht(a),v=t(r.$slides[f].getElementsByTagName("iframe")).parent()[0].id,o=0;o<i.length;o++)i[o].element.parentElement.id===v&&i[o].play()});return st=function(n){for(var r,t,i=0;i<n.length;i++)for(r=n[i].id,t=0;t<u.length;t++)try{u[t].element.parentElement.id===r&&u[t].pauseVideo()}catch(f){console.log(f)}},ht=function(n){for(var u,t,r=0;r<n.length;r++)for(u=n[r].id,t=0;t<i.length;t++)try{i[t].element.parentElement.id===u&&i[t].pause()}catch(f){console.log(f)}},v=function(){var i;if(b.length>0)if(i=b.find(".h1-styles, .subtext, .description"),t(n).width()>1360){var r=o.width()-f.width(),u=(o.width()-1172)/2,e=r-u-15;i.css({width:e})}else i.css("width","auto")},y=function(){var n;k.length>0&&(INFORMA.global.device.viewport==="mobile"?(n=k.children(".container").children(".row").children("div").eq(1),f.legth>0&&(f.css("top",n[0].offsetTop),f.css("height",n.height()))):f.legth>0&&(f.css("top",""),f.css("height","")),f.addClass("ready"))},w=function(n){n.find("h1, h2, h3, p, span").each(function(){var i=t(this);if(i.html().length===0)return i.remove(),w(n),!1})},p=function(){var n,r,u,i;o.length>0&&INFORMA.global.device.viewport==="mobile"&&(t("#IsNewCoTemplateEnabled").val()=="True"?o.each(function(){(n=t(this),n.hasClass("hero-banner-carousel"))||(u=n.hasClass("hero-banner-video")?n.find(".videoBG"):n.find(".container"),i=n.find(".key-logo-img-mobile"),t("#IsNewCoTemplateEnabled").val()=="True"&&w(u),r=u.innerHeight()+(i.length>0?i.height():0),n.height(r))}):(i=t(".key-logo-img-mobile"),i?(r=t(".hero-banner .container,.hero-banner-texture .container").height()+i.height(),t(".hero-banner,.hero-banner-texture").height(r)):t(".hero-banner,.hero-banner-texture").height(r),t(".hero-banner").css("min-height","400px")))},d=function(){var i,u;h.length>0&&g();i=t(".animatedText ").val();i&&(u=i.split(","),t(".typed-text-primary").typed({strings:u,typeSpeed:50,backDelay:1200,loop:!0,cursorChar:""}));r.length>0&&(nt(r),(INFORMA.global.device.viewport==="desktop"||INFORMA.global.device.viewportN===0)&&t(".hero-banner-carousel .videoBG").length>0&&t(".hero-banner-carousel .slick-next, .hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").addClass("disable-arrow"));v();y();t(n).on("load",function(){p()});t(document).ready(function(){t(".single-image .hero-items .hero-cf-image").length==0&&t(".single-image .hero-items .vertical-align").addClass("empty-banner-image")});t(n).on("resize",function(){if(p(),o.length>0){if(INFORMA.global.device.viewport==="mobile"&&t("#IsNewCoTemplateEnabled").val()!="True"){var n=t(".hero-banner .container,.hero-banner-texture .container").outerHeight();t(".hero-banner,.hero-banner-texture").height(n);t(".hero-banner").css("min-height","400px")}v();y()}})},{init:d}}(this,jQuery,"INFORMA");jQuery(INFORMA.heroBanner.init());INFORMA=window.INFORMA||{};INFORMA.twitterFeed=function(n,t){"use strict";var i=t(".twitter-carousel"),r,u,f;return f=function(){var r=i.find(".feed"),u=INFORMA.global.device.viewportN,n=0;(u===0||u===1)&&(r.each(function(){var i=t(this).height();i>n&&(n=i)}),r.css("height",n))},u=function(t){var i=t.data("itemsperframe"),r=t.data("autorotate"),o=t.data("transitionspeed"),u=t.data("slideduration"),f=Boolean(t.data("pagination")),e;if(t.data("rtl")!==undefined&&(e=t.data("rtl")),INFORMA.global.device.viewportN===1?i=2:INFORMA.global.device.viewportN===2&&(i=1,f=!0),e===!0&&r===!0)t.on("init",function(){n.setInterval(function(){t.slick("slickPrev")},u)});t.slick({infinite:!0,autoplay:r,autoplaySpeed:u,slidesToShow:i,slidesToScroll:i,speed:o,dots:f,swipe:INFORMA.global.device.isDesktop?!1:!0,adaptiveHeight:!0})},r=function(){i.length>0&&(u(i),f())},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.twitterFeed.init());INFORMA=window.INFORMA||{};INFORMA.MeetCustomer=function(n,t){"use strict";var r=t("tech-main-header"),i;return i=function(){t(document).ready(function(){var n=t(".mc-button-div .mc-button-child").length;n>=4&&t(".mc-button-div").addClass("fourbutton");n==3&&t(".mc-button-div").addClass("threebutton");n==2&&t(".mc-button-div").addClass("twobutton")})},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.MeetCustomer.init());INFORMA=window.INFORMA||{};INFORMA.NewcoHeader=function(n,t){"use strict";var g=t("body"),o=t("#cookieBanner"),i=t("#informa-main-header"),et=i.find(".icon-close"),r,c,nt,tt,e,l,it,a,u,s,v,h,y,p,rt,ut,f=t(".newco-search-header .textbox"),w=t(".newco-search-header .newco-gobtn-2 i.fa-times"),b=t(".newco-search-header .newco-gobtn-2 i.fa-search"),k,d,ft;k=function(n,t){var r=n.closest(".menu-item"),i=r.closest(".menu-items");i.length!==0&&(t==="add"&&i.css("height",i.height()+parseInt(n.attr("data-height"))),t==="subtract"&&i.css("height",i.height()-parseInt(n.attr("data-height"))))};d=function(n){n>=y?u.hasClass("navbar-fixed-top")||u.css("top",p).addClass("navbar-fixed-top"):u.removeClass("navbar-fixed-top").css("top","")};ft=function(){if(g.hasClass("tmt-newco")){r=i.find(".newco-header");c=r.find(".hamburger");nt=r.find("button#mobile-search");tt=r.find(".newco-search-header");e=r.find(".newco-nav");l=e.find(".menu-items");it=e.find(".menu-item.hassub");a=t("#banner");u=t("#pdp-navigation");s=i.height();v=80;h=a.height();y=s+h;p=0;rt=0;ut=0;c.click(function(){r.toggleClass("nav-closed");f.removeClass("active");w.removeClass("active");b.addClass("active");r.hasClass("nav-closed")||r.addClass("search-closed")});tt.click(function(){r.toggleClass("search-closed");r.hasClass("search-closed")||r.addClass("nav-closed")});it.click(function(n){var r=t(this),i=r.children(".menu-items");(n.target.nodeName!=="A"||t(n.target).hasClass("disable"))&&(i.toggleClass("nav-closed"),r.toggleClass("subnav-open"),i.hasClass("nav-closed")?(i.find(".menu-items").addClass("nav-closed").css("height",""),i.find(".menu-item").removeClass("subnav-open"),i.css("height",""),k(i,"subtract")):(i.css("height",parseInt(i.attr("data-height"))),k(i,"add")),n.stopPropagation())});e.find("a").each(function(){var n=t(this),i=n.attr("href"),r=i&&i.length>0;r||n.addClass("disable")});nt.click(function(){var n=f.hasClass("active"),t=o.length,i=o.is(":visible");t>0&&i||f.removeAttr("style");c.trigger("click");n?(f.removeClass("active"),w.removeClass("active"),b.addClass("active")):(f.addClass("active"),w.addClass("active"),b.removeClass("active"))});et.click(function(){f.removeAttr("style")});ut=setInterval(function(){i.height()!=s&&i.trigger("heightchanged")},100);i.on("heightchanged",function(){var r=o.is(":visible")?o.outerHeight():0;s=i.height();h=a.outerHeight();y=h-i.next().offset().top-r+v;p=v+r;d(t(n).scrollTop());i.next().css("margin-top",r>0?r:"")});i.trigger("heightchanged")}};t(n).on("load",function(){l!=undefined&&(l.each(function(n,i){var r=t(i),u=r.find(".menu-item.hassub .menu-items");u.css("height",0);r.attr("data-height",i.clientHeight).addClass("ready");u.css("height","")}),u.length>0&&(rt=u.outerHeight(!0)),e.addClass("ready"))});return t(n).scroll(function(){if(g.hasClass("tmt-newco")){var r=t(n).scrollTop();r>50?i.addClass("scrolled"):i.removeClass("scrolled");u.length>0&&d(r)}}),{init:ft}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.NewcoHeader.init());INFORMA=window.INFORMA||{};INFORMA.analystList=function(n,t){"use strict";var i=t("#pdp-analyst"),r=t(".analyst-views"),u,f,o,e;return f=function(){var n=t(".btn-showMore");n.on("click",function(){var n=INFORMA.global.device.viewportN;n=n===2?2:n===3?3:4;t(this).parents(".analyst-views").find(".analyst-list-container:nth-child(n+"+n+")").slideToggle();t(this).parents(".analyst-views").toggleClass("showLess")})},e=function(){var n=jQuery(".analyst-views");n.each(function(){var r=jQuery(this).find(".analyst-list-container .analyst-description"),u=jQuery(this).find(".analyst-list-container .analyst-details"),f=jQuery(this).find(".analyst-list-container .analyst-footer-content"),n=0,t=0,i=0;u.each(function(){var n=jQuery(this).height();n>t&&(t=n)});u.css("height",t);r.each(function(){var t=jQuery(this).height();t>n&&(n=t)});r.css("height",n+50);f.each(function(){var n=jQuery(this).height();n>i&&(i=n)});f.css("height",i)})},o=function(){var n=i.find(".btn.btn-showMore .less");n.on("click",function(){t("html, body").animate({scrollTop:i.offset().top-35},700)})},u=function(){i.length>0&&f(i);r.length>0&&r.each(function(){var n=jQuery(this).find(".analyst-list-container");e(n)})},{init:u}}(this,jQuery,"INFORMA");jQuery(INFORMA.analystList.init());INFORMA=window.INFORMA||{};INFORMA.pdpBrochure=function(n,t){"use strict";var r=t(".pdp-brochure, #agri-report"),u=t("#formSendBrochure .submit-response"),f=r.data("url"),i;return i=function(){u.length>0&&n.open(f,"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=100,width=1000,height=600")},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.pdpBrochure.init());INFORMA=window.INFORMA||{};INFORMA.pdp_customer_quote=function(n,t){"use strict";var i=t(".customer-quote .slider-component"),r,u;return u=function(t){var u=1,i=t.data("autorotate"),s=t.data("transitionspeed"),f=t.data("slideduration"),e=!0,r=Boolean(t.data("dots")),o;if(t.data("rtl")!==undefined&&(o=t.data("rtl")),INFORMA.global.siteCore.isExperience&&(i=!1,e=!1),o===!0&&i===!0)t.on("init",function(){n.setInterval(function(){t.slick("slickPrev")},f)});t.slick({infinite:e,autoplay:i,autoplaySpeed:f,slidesToShow:u,slidesToScroll:u,speed:s,dots:r!=null||r!=undefined?r:!0,swipe:INFORMA.global.device.isDesktop?!1:!0})},r=function(){i.length>0&&u(i)},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.pdp_customer_quote.init());INFORMA=window.INFORMA||{};INFORMA.pharma_home_products=function(n,t){"use strict";var f=t("#Pharma-ourproducts"),i=f.find(".products-carousel"),r,u;return u=function(n){var i=n.data("itemsperframe"),t=n.data("autorotate"),u=n.data("transitionspeed"),f=n.data("slideduration"),r=!0,e=Boolean(n.data("pagination"));INFORMA.global.siteCore.isPreview&&(t=!0);INFORMA.global.siteCore.isExperience&&(t=!1,r=!1);n.slick({infinite:r,autoplay:t,autoplaySpeed:f,slidesToShow:i,slidesToScroll:i,speed:u,dots:e,adaptiveHeight:!0,arrows:!0,swipe:INFORMA.global.device.isDesktop?!1:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})},r=function(){i.length>0&&u(i)},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.pharma_home_products.init());INFORMA=window.INFORMA||{};INFORMA.piebarchart=function(n,t){"use strict";var r,u=INFORMA.Templates,y=INFORMA.Configs.urls.webservices,f,i,e,o,s,h,c,l,a,v;return f=function(n){i=JSON.parse(t(n).find("input[type=hidden]").val());i.UniqueId=Date.now();i.Bar=i.Type=="bar"?!0:!1;h(n)},h=function(n){e=u.PieBarChartTemplate?u.PieBarChartTemplate:"";o=Handlebars.compile(e);s=o(i);t(n).find(".inf-pie-bar-chart-section").append(s);i.Type=="pie"&&(t(n).addClass("chart-background"),t(n).find("p.heading").addClass("pie-heading"),t(n).find("img.icon").addClass("pie-icon-sub-head"),t(n).find("p.sub-heading").addClass("pie-icon-sub-head"),t(n).find(".pie-bar-chart-container").addClass("pie-animation"),c(n));i.Type=="bar"&&(t(n).addClass("bar-chart-background"),t(n).find("p.heading").addClass("bar-heading"),t(n).find("img.icon").addClass("bar-icon-sub-head"),t(n).find("p.sub-heading").addClass("bar-icon-sub-head"),t(n).find(".pie-bar-chart-container").addClass("bar-animation"),l(n));a(n)},c=function(r){t(r).find(".pie-bar-chart-col .pie-bar-chart-container").each(function(){function u(){var t={Radius:110},i=n.screen.width;return i>=320&&i<767?(t.Radius=60,t):t}var t=this.id,r=i.FacetList.filter(function(n){return n.Id+i.UniqueId===t}),f=AmCharts.makeChart(t,{type:"pie",radius:u().Radius,hideCredits:"true",labelTickAlpha:"50",labelTickColor:"#fff",labelRadius:20,labelText:"[[title]]\n",labelFunction:function(n){var t=n.title,i=n.value;return t+"\n"+i},theme:"light",fontSize:11,color:"#ffffff",colorField:"Color",titleField:"Name",valueField:"Count",autoMargins:"false",dataProvider:r[0].SectionList,balloon:{fixedPosition:!0},"export":{enabled:!1,menu:[]}})})},l=function(n){t(n).find(".pie-bar-chart-col .pie-bar-chart-container").each(function(){var t=this.id,n=i.FacetList.filter(function(n){return n.Id+i.UniqueId===t}),r=AmCharts.makeChart(t,{type:"serial",hideCredits:"true",theme:"none",fontSize:10,color:"#FFFFFF",titleField:"Name",plotAreaBorderAlpha:0,plotAreaBorderColor:"",plotAreaFillColors:"#FFFFFF",backgroundColor:"",backgroundAlpha:0,dataProvider:n[0].SectionList,valueAxes:[{axisAlpha:0,position:"left",gridColor:"transparent",minimum:0,maximum:n[0].maximumValue+.2*n[0].maximumValue,strictMinMax:"true"}],startDuration:1,graphs:[{balloonText:"<b>[[category]]\n[[value]]<\/b>",fillColorsField:"Color",fillAlphas:1,lineAlpha:0,type:"column",valueField:"Count",labelText:"[[category]]\n[[value]]",labelPosition:"top",labelFunction:function(n,t){return t.replace(" ","\n")+"\n"}}],chartCursor:{categoryBalloonEnabled:!1,cursorAlpha:0,zoomable:!1},categoryField:"Name",autoMargins:!1,marginLeft:10,marginRight:10,marginTop:0,marginBottom:0,categoryAxis:{gridPosition:"start",gridThickness:0,axisColor:"#FFFFFF",labelsEnabled:!1,startOnAxis:!1}})})},a=function(n){t(n).find(".pie-bar-chart-carousel").slick({slidesToShow:4,infinite:!1,responsive:[{breakpoint:1400,settings:{slidesToShow:3}},{breakpoint:800,settings:{slidesToShow:2}},{breakpoint:500,settings:{slidesToShow:1}}]})},v=function(){var i=t(".bar-chart-background .pie-bar-chart-carousel").find("button").length,n=t(".bar-chart-background a.world-chart-read-more");i>0?n.css("margin-top","80px"):n.css("margin-top","0px")},r=function(){t(".chart-bc").each(function(){f(this)});v()},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.piebarchart.init());INFORMA=window.INFORMA||{};INFORMA.ProductFinder=function(n,t){"use strict";var i=t("#product-finder-section"),r=t(".sector-search .SubSector"),y=t(".sector-search li.button"),p=i.find(".custom-multiselect select"),it=t(".search-options .close-finder"),rt=t(".site-search input"),f=t(".site-search li.button"),u=t(".search:visible"),w=INFORMA.Configs.urls.webservices,ut=INFORMA.Templates,b,e,k,d,o,s,g,h,nt,c,l,a,tt,v;return h=function(){var n=t("#sub-nav .subnav-close a");i.slideDown("slow");n&&n.trigger("click");t(".mainNavigation").hasClass("navbar-fixed-top")===!0&&t("html, body").stop().animate({scrollTop:0},600);t(".mobileNavigation").hasClass("navbar-fixed-top")===!0&&t("html, body").stop().animate({scrollTop:0},600)},g=function(){it.on("click",function(n){n.preventDefault();u.toggleClass("inactive");i.slideUp("fast")});u.on("click",function(n){n.preventDefault();t("#product-finder-section:hidden").length?(u.toggleClass("inactive"),h()):(u.toggleClass("active"),h())})},v=function(n,i,r,u){var f={};return t.extend(f,n,i,r,u),f},s=function(){var n=i.find("form").serializeArray();return INFORMA.Utils.serializeObject(n)},c=function(n){if(n.SubSectors.length>0){var i=Handlebars.compile(ut.SubSectorList),u=i({SubSectors:n.SubSectors});t(".sector-search li").removeClass("disabled");r.removeAttr("disabled").removeProp("disabled").html(u);r.multiselect("rebuild")}else t("ul.sector-search li.button").removeClass("disabled")},nt=function(i,r){var f,u;INFORMA.SearchResults.RenderSearchResults(i);r==="SearchResult"&&(f=t('input[name="SearchText"]')?t('input[name="SearchText"]').val():null,history.pushState&&(u=n.location.protocol+"//"+n.location.host+n.location.pathname+"?searchtext="+f,n.history.pushState({path:u},"",u)))},l=function(n,t,i,r,u){INFORMA.DataLoader.GetServiceData(n,{method:t,data:i,success_callback:function(n){typeof r=="function"&&r.call(this,n)},error_callback:function(){typeof u=="function"&&u.call(this,i)}})},a=function(n,i){n.off().on("click",function(n){n.preventDefault();INFORMA.Spinner.Show(t("body"));t("#hdnSearchType")&&(t("#hdnSearchType").attr("name",""),t("#hdnSearchType").attr("value",""));var u=s(),f=INFORMA.SearchResultFilter.GetRefineData(),e=INFORMA.SearchResults.DefaultParameters(),r=v(u,f,e);i==="ProductSearch"&&(r.IsProduct=!0);i==="SearchResult"&&(r.IsSearch=!0,r.PageNo=1,r.CurrentPage=t(".search-container").data("currentpage"));l(w.GetRefineResults,"Post",JSON.stringify(r),function(n){nt(n,i)},null);INFORMA.SearchResults.ResetPaging()})},tt=function(){var n=i.data("product")===!0?!0:!1,r=i.data("search")===!0?!0:!1;n&&a(y,"ProductSearch");r&&a(f,"SearchResult");rt.on("keyup",function(){var n=t(this).data("length");t(this).val().trim().length>=n?f.removeClass("disabled"):f.addClass("disabled")});t(".product-finder form").on("keydown",function(n){var r=t(".site-search input[name=SearchText]"),o=i.find("input[type=radio][data-show='site-search']:checked"),u=INFORMA.global.device.viewportN,f,e;if(n.keyCode===13||n.which===13)return(u===1||u===2)&&(r.trigger("blur"),document.activeElement.blur()),r.val().length>=r.data("length")&&o?(f=t('button[data-submit="site-search"]').parent(),f.hasClass("disabled")||r.parents(".site-search").find('button[data-submit="site-search"]').trigger("click"),!1):(e=t("button[data-submit='sector-search']").parent(),!e.hasClass("disabled"))?!0:!1})},o=function(n){var r=t(n).data("show");t("ul.searchToggle").addClass("hidden");i.find("ul."+r).removeClass("hidden").fadeIn("slow")},k=function(){g();jQuery(".search-options input[type=radio]").on("change",function(n){n.preventDefault();o(t(this))});jQuery(".search-options input[type=radio]").on("focus",function(n){n.preventDefault();t(this).parent().addClass("active")});jQuery(".search-options input[type=radio]").on("focusout",function(n){n.preventDefault();t(this).parent().removeClass("active")});var n=jQuery(".search-options input[type=radio]:checked");typeof n=="object"&&o(n)},e=function(n){var t=INFORMA.Utils.getUniqueArray(n).join(",");t="SectorIDs="+t;l(w.GetSubSectorList,"Get",t,c,null)},d=function(){var i=t("input.sector-list").val(),n=i?i.split(","):[];p.val("");p.multiselect({maxHeight:200,buttonText:function(n,i){if(n.length===0)return t(i).data("placeholder");var r=1;return n.each(function(n){r=parseInt(1+n)}),r+" Selected"},onChange:function(i,u){if(t(i).parent().hasClass("Sector")===!0){if(u)n.push(t(i).val());else{var f=n.indexOf(t(i).val());f>=0&&n.splice(f,1);r.parents("li").eq(0).addClass("disabled");r.attr("disabled","disabled");r.val("");r.multiselect("rebuild");y.addClass("disabled");t("li.disabled .dropdown-toggle").attr("disabled","disabled")}n.length>0&&e(n)}}})},b=function(){i.length>0&&(d(),k(),tt())},{init:b,UpdateSubSectorDropdown:c,GetProductData:s,GetSubSectorList:e,MergeData:v}}(this,jQuery,"INFORMA");jQuery(INFORMA.ProductFinder.init());INFORMA=window.INFORMA||{};INFORMA.ProductRefine=function(n,t){"use strict";var i=t(".product-refine-results"),f=i.find(".refine-heading"),r,u;return u=function(){var n=INFORMA.global.device.viewport;if(n!=="desktop")f.on("click",function(){t(this).parents(".refine-wrapper").find(".accordian-container").slideToggle();t(this).toggleClass("open")});t(".refine-accordian .title").on("click",function(n){n.preventDefault();t(this).next(".content").slideToggle();t(this).parents(".refine-accordian").toggleClass("open")})},r=function(){i.length>0&&u()},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.ProductRefine.init());INFORMA=window.INFORMA||{};INFORMA.RecomendedProductsItems=function(n,t){"use strict";var i=t(".recommended-products"),f=i.find(".recom-prod-carousel"),e,r,u;return u=function(){var n=i.find(".wrap-content"),r=0;i.find(".list-items").height("auto");n.height("auto");n.each(function(){var n=t(this).outerHeight();n>r&&(r=n)});n.height(r)},r=function(n){var i=n.data("itemsperframe"),t=n.data("autorotate"),f=n.data("transitionspeed"),e=n.data("slideduration"),r=!0,o=Boolean(n.data("pagination"));INFORMA.global.siteCore.isPreview&&(t=!0);INFORMA.global.siteCore.isExperience&&(t=!1,r=!1);n.slick({infinite:r,autoplay:t,autoplaySpeed:e,slidesToShow:i,slidesToScroll:i,speed:f,dots:o,adaptiveHeight:!0,arrows:!0,swipe:INFORMA.global.device.isDesktop?!1:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]});u()},e=function(){if(f.length>0){r(f);t(n).on("load",function(){u()})}},{init:e,CreateProductSlider:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.RecomendedProductsItems.init());INFORMA=window.INFORMA||{};INFORMA.RecomendedTabs=function(n,t){"use strict";var i=t(".recommendation-tabs"),c=t(".recommended-results"),l=i.find('a[data-toggle="tab"]'),a=INFORMA.Configs.urls.webservices,u=INFORMA.Templates,f,e,o,s,r,h;return s=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify({data:r}),success_callback:function(n){typeof u=="function"&&u.call(this,n,e)},error_callback:function(){typeof f=="function"&&f.call(this,r,e)}})},r=function(n){var i=null,r=t(".recomended-content").attr("data-defaultCount");n==="#tabs-1"&&(i={PageSize:r,GetContentBasedOnContentType:!0,SearchTexts:t(".SearchTextsSampleContent").val().split("|"),ExcludeContentTypeGuids:t(".ExcludeContentTypeGuids").val().split("|"),SubSubSectorFlagForRecomendations:t("input.SubSubSectorFlagForRecomendations").val()},s(a.GetRecomendedItems,"Post",i,INFORMA.RecomendedContent.RenderRecomendResult,null,"PreferenceUpdate"))},o=function(n){var i=n.find('select[name="RecommendTabs"]');i.val("#tabs-1").trigger("change");i.on("change",function(){var n=t(this).val();c.find(".tab-pane").removeClass("active");t(n).addClass("active");r(n)})},e=function(n){n.find(".nav-tabs li:first-child a").trigger("click");l.on("shown.bs.tab",function(n){var i=t(n.target).attr("href");r(i)})},h=function(n){var r,f,i;if(n.length>0){for(t("#tabs-1 .recommended-products").removeClass("hidden"),r=n,f="",i=0;i<r.length;i++){var e=r[i],o=u.Product!=="undefined"?u.Product:"",s=Handlebars.compile(o);f+=s({results:e})}t(".recom-prod-carousel").slick("unslick");t(".recom-prod-carousel").html(f);INFORMA.RecomendedProductsItems.CreateProductSlider(t(".recom-prod-carousel"))}else t("#tabs-1 .recommended-products").addClass("hidden")},f=function(){if(i.length>0){var n=INFORMA.global.device.viewport;n==="mobile"?o(i):e(i)}},{init:f,RenderDashboardProduct:h}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.RecomendedTabs.init());INFORMA=window.INFORMA||{};INFORMA.RecomendedContent=function(n,t){"use strict";var i=t(".recomended-content"),o=t(".tab-content .recomended-content").data("maximumnumberofarticles"),v=o!==""?o:0,r=i.find(".btn-showMore"),y=INFORMA.global.device.viewport,p=t(".tab-content .recomended-content").attr("data-"+y),s=INFORMA.Configs.urls.webservices,h=INFORMA.Templates,u,c,l,a,f,e;return f=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify({data:r}),success_callback:function(n){typeof u=="function"&&u.call(this,n,e)},error_callback:function(){typeof f=="function"&&f.call(this,r,e)}})},e=function(n,e){var c,w,b,k;if(n!=null){var a=n,l="",d=a.ArticleCount,o=a.Articles;if(o!=null){for(t("#tabs-1 .recomended-content").removeClass("hidden"),t("#tabs-1 .recommended-products").removeClass("hidden"),t("#tabs-1 .dashboard-no-record").addClass("hidden"),c=0;c<o.length;c++){var y=o[c],g=h.SampleContent!=="undefined"?h.SampleContent:"",nt=Handlebars.compile(g);t(".recommendation-tabs").length>0&&(y.IsAuthenticatedUser=t(".welcome-description").hasClass("Authenticated")?!0:!1);l+=nt({results:y})}o.length>0?(t("#tabs-1 section.recomended-content").removeClass("hidden"),t("#tabs-1 section.dashboard-no-record").addClass("hidden")):(t("#tabs-1 section.recomended-content").addClass("hidden"),t("#tabs-1 section.dashboard-no-record").removeClass("hidden"));e==null?i.find(".row").append(l):(i.find(".row").html(l),u(i),w="PrefernceUpdated",b=w+"=false; path=/",document.cookie=b);u(i);d>p&&i.find(".recomended-wrapper").length<v?r.removeClass("hidden"):r.addClass("hidden");t("#tabs-1 .recommended-products").length>0&&(k={SearchTexts:t(".SearchTextsPDPTemplateIds").length?t(".SearchTextsPDPTemplateIds").val().split("|"):"",PageSize:t(".recomended-content").data("maximumnumberofarticles"),SubSubSectorFlagForRecomendations:t("input.SubSubSectorFlagForRecomendations").val()},f(s.GetRecomendedProductItems,"Post",k,INFORMA.RecomendedTabs.RenderDashboardProduct,null,null))}else t("#tabs-1 .recomended-content").addClass("hidden"),t("#tabs-1 .recommended-products").addClass("hidden"),t("#tabs-1 .dashboard-no-record").removeClass("hidden")}else r.addClass("hidden")},a=function(n){var r=n.find(".list-items"),i=[];return r.each(function(){var n=t(this).attr("data-fetch");i.push(n)}),i},l=function(){r.on("click",function(n){n.preventDefault();var i=t(this).parents(".recomended-content"),c=INFORMA.global.device.viewport,r=i.attr("data-"+c),l=a(i),u=i.find(".recomended-wrapper").length,o=i.attr("data-MaximumNumberOfArticles"),h=null;o-u<=r&&(r=o-u);h={ExcludeContentGuids:l,PageSize:r,SearchTexts:t(".SearchTextsSampleContent").val().split("|"),ExcludeContentTypeGuids:t(".ExcludeContentTypeGuids").val().split("|"),SubSubSectorFlagForRecomendations:t("input.SubSubSectorFlagForRecomendations").val()};f(s.GetRecomendedItems,"Post",h,e,null,null)})},u=function(n){var i=n.find(".recomended-wrapper"),r=0,u=0,f=0,e=0;i.each(function(){var n=t(this).find(".content").height();n>r&&(r=n)});i.find(".content").height(r);i.each(function(){var n=t(this).find(".topics").outerHeight();n>f&&(f=n)});i.find(".topics").height(f);i.each(function(){var n=t(this).find(".SubSectors").outerHeight();n>e&&(e=n)});i.find(".SubSectors").height(e);i.each(function(){var n=t(this).find(".recomend-content").outerHeight();n>u&&(u=n)});i.find(".recomend-content").height(u)},c=function(){i.length>0&&(t("#tabs-1").addClass("active"),u(i),l())},{init:c,RenderRecomendResult:e}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.RecomendedContent.init());INFORMA=window.INFORMA||{};INFORMA.RelevantProducts=function(n,t){"use strict";var i=t("#relevant-products"),s=i.find(".btn-ShowMore"),h=i.find(".triangle"),r,u,f,e,o;return o=function(n){var r=n.find(".search-tile"),i=0;r.each(function(){var n=t(this).height();n>i&&(i=n)});r.height(i+90)},e=function(){h.on("click",function(){t(this).parents(".tile").toggleClass("flip")})},f=function(n){var t=INFORMA.global.device.viewport,i=n.attr("data-"+t);n.find(".search-tile:nth-child(n+"+(parseInt(i)+1)+")").hide()},u=function(){s.on("click",function(){var n=t(this).parents("#relevant-products"),i=INFORMA.global.device.viewport,r=n.attr("data-"+i);n.find(".search-tile:nth-child(n+"+(parseInt(r)+1)+")").slideToggle();n.toggleClass("showLess")})},r=function(){i.length>0&&(f(i),u(),e(),o(i))},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.RelevantProducts.init());INFORMA=window.INFORMA||{};INFORMA.ResourceFilter=function(n,t){"use strict";var r=t("#resource-finder-section"),s=r.find(".custom-multiselect select"),h=INFORMA.Configs.urls.webservices,y=INFORMA.Templates,i=r.find(".SubSector"),u=r.find("li.button"),c,l,a,f,e,v,o;return e=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:r,success_callback:function(n){typeof u=="function"&&u.call(this,n,e)},error_callback:function(){typeof f=="function"&&f.call(this,r,e)}})},o=function(){var n=r.find("form").serializeArray();return INFORMA.Utils.serializeObject(n)},v=function(){u.on("click",function(){var t=o(),i=INFORMA.SearchResultFilter.GetRefineData(),r=INFORMA.SearchResults.DefaultParameters(),n=INFORMA.ProductFinder.MergeData(t,i,r);n.PageNo=1;e(h.ResourceList,"Post",JSON.stringify(n),INFORMA.SearchResults.RenderSearchResults,null,null)})},f=function(n){if(n.SubSectors.length>0){var t=Handlebars.compile(y.SubSectorList),r=t({SubSectors:n.SubSectors});i.parents("li").removeClass("disabled");i.removeAttr("disabled").removeProp("disabled").html(r);i.multiselect("rebuild");u.removeClass("disabled")}},a=function(n){var t=INFORMA.Utils.getUniqueArray(n).join(",");t="SectorIDs="+t;e(h.GetSubSectorList,"Get",t,f,null,null);INFORMA.SearchResults.ResetPaging()},l=function(){var n=[];s.val("");s.multiselect({maxHeight:200,buttonText:function(n,i){if(n.length===0)return t(i).data("placeholder");var r=1;return n.each(function(n){r=parseInt(1+n)}),r+" Selected"},onChange:function(r,f){if(t(r).parent().hasClass("Sector")===!0){if(f)n.push(t(r).val()),u.removeClass("disabled");else{var e=n.indexOf(t(r).val());e>=0&&n.splice(e,1)}n.length>0?a(n):(i.parents("li").eq(0).addClass("disabled"),i.attr("disabled","disabled"),i.val(""),i.multiselect("rebuild"),u.addClass("disabled"),t("li.disabled .dropdown-toggle").attr("disabled","disabled"))}}})},c=function(){r.length>0&&(l(),v())},{init:c,GetResourceData:o,UpdateSubSectorDropdown:f}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.ResourceFilter.init());INFORMA=window.INFORMA||{};INFORMA.news_flash=function(n,t){"use strict";var e=t(".newsFlash"),i=e.find(".news-carousel"),r,u,f;return u=function(){t("#close-news").on("click",function(){t(".newsFlash").remove()})},f=function(n){var t=n.data("autorotate"),r=n.data("transitionspeed"),u=n.data("slideduration"),i=!0;INFORMA.global.siteCore.isPreview&&(t=!0);INFORMA.global.siteCore.isExperience&&(t=!1,i=!1);n.slick({infinite:i,autoplay:t,autoplaySpeed:u,slidesToShow:1,slidesToScroll:1,speed:r,dots:!1,adaptiveHeight:!0,arrows:!0,swipe:INFORMA.global.device.isDesktop?!1:!0})},r=function(){i.length>0&&f(i);u()},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.news_flash.init());INFORMA=window.INFORMA||{};INFORMA.RTETable=function(n,t){"use strict";var r=[],i,f,e,u=t(".rte-custom-table .responsiveTable"),o=t(".rte-custom-table .table-responsive .table").clone(!0);return e=function(){o.appendTo(u);t(".rte-custom-table .table tr:first-child td").each(function(){r.push('<div class="rteTitles">'+t(this).html()+"<\/div>")});u.find("table.table tr").each(function(){for(i=1;i<=r.length;i++)t(this).find("td").eq(i).wrapInner('<div class="rteValues" />').prepend(r[i])});u.find("table.table tr:first-child").remove()},f=function(){e()},{init:f}}(this,jQuery,"INFORMA");jQuery(INFORMA.RTETable.init());INFORMA=window.INFORMA||{};INFORMA.SearchResultFilter=function(n,t){"use strict";var nt=INFORMA.Configs.urls.webservices,s=t(".refine-container .panel-heading .custom-checkbox input"),h=t(".refine-container .panel-body"),tt=h.find("a.show-more"),it=t(".refine-container .panel-body .custom-checkbox input"),rt=t(".refine-container .panel-body .custom-checkbox input:checked"),r,b=t("#product-finder-section"),u="",i,ut=t('button[data-submit="site-search"]'),ft=t('button[data-submit="sector-search"]'),et=t('.resource-sector-search button[data-submit="sector-search"]'),l,a,v,o=!1,f,e,ot,k,d,y,p,c,g,w;return g=function(n,i,r,u,f){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:r,success_callback:u,error_callback:f});INFORMA.SearchResults.ResetPaging()},w=function(){var n={},r=[];if(h)return t.each(h,function(){var u=t(this).parent().attr("id").toLowerCase(),f=t(this).find("input[type=checkbox]:checked").not(":disabled"),e=[],i=[],o;f.length&&(t.each(f,function(){e.push(t(this).attr("value"));o=t(this).next().text().replace(/ /g,"-").toLowerCase();i.push(o.replace(/&/g,"%26"));n[u]=e}),i.length>0&&r.push(u+"="+i.toString()))}),i=r.join("&"),n.Brand===undefined?n.Brand=t('input[name="Brand"]')?t('input[name="Brand"]').val():null:n.Brand.push(t('input[name="Brand"]').val()),n},c=function(){var b,p,r,y,s,c;b=u==="ResourceResult"?INFORMA.ResourceFilter.GetResourceData():INFORMA.ProductFinder.GetProductData();var k=w(),d=INFORMA.SearchResults.DefaultParameters(),h=INFORMA.ProductFinder.MergeData(b,k,d);h.PageNo=1;u==="ResourceResult"&&(h.IsResourceListing=!0);u==="SearchResult"&&(h.IsSearch=!0);u==="ProductSearch"&&(h.IsProduct=!0);y=t("#productListingPageUrl").val();y!=undefined&&y!=""&&y.indexOf("newco")!=-1&&(u="SearchResult");h.SearchText&&(p=h.SearchText);g(nt.GetRefineResults,"Post",JSON.stringify(h),INFORMA.SearchResults.RenderSearchResults,null);u==="SearchResult"?(r=i?n.location.protocol+"//"+n.location.host+n.location.pathname+"?searchText="+p+"&"+i:n.location.protocol+"//"+n.location.host+n.location.pathname+"?searchText="+p,n.history.pushState({path:r},"",r)):u==="ProductSearch"?(s=[],o?s=l():(f&&s.push(f),e&&s.push(e)),r=i&&s.length!=0?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+s.join("&")+"&"+i:i&&s.length==0?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+i:i||s.length==0?n.location.protocol+"//"+n.location.host+n.location.pathname+"?PageRequest="+v:n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+s.join("&"),n.history.pushState({path:r},"",r)):u==="ResourceResult"&&(c=a(),r=i&&c.length!=0?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+c.join("&")+"&"+i:i&&c.length==0?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+i:i||c.length==0?n.location.protocol+"//"+n.location.host+n.location.pathname:n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+c.join("&"),n.history.pushState({path:r},"",r))},ot=function(t){for(var f=n.location.search.substring(1),u=f.split("&"),i,r=0;r<u.length;r++)if(i=u[r].split("="),i[0]===t)return i[1]===undefined?!0:decodeURIComponent(i[1])},l=function(){var n,i=[];return t("#SectorNames").val()&&(n=t("#SectorNames").val().trim().replace(/ /g,"-").toLowerCase(),i.push("sector="+n.replace(/&/g,"%26").toLowerCase()),v="Sector"),t("#SubSectorNames").val()&&t("#SubSector2").parent().find("button").attr("title")!="Please Select"&&(n=t("#SubSectorNames").val().trim().replace(/ /g,"-").toLowerCase(),i.push("subsector="+n.replace(/&/g,"%26").toLowerCase()),v="subsector"),i},a=function(){var n=[],i=[],r=[];return t("#Sector :selected").map(function(n,i){r.push(t(i).text().trim().replace(/ /g,"-").toLowerCase().replace(/&/g,"%26"))}),t("#sub-sector-list :selected").map(function(n,r){i.push(t(r).text().trim().replace(/ /g,"-").toLowerCase().replace(/&/g,"%26"))}),r.length!=0&&n.push("sector="+r.toString()),i.length!=0&&n.push("subsector="+i.toString()),n},d=function(){s.on("click",function(){var n=t(this).parents(".panel").eq(0).find(".panel-body"),i=n.find('input[type="checkbox"]').not(":disabled"),u=n.find("a.show-more"),f,e;t(this).prop("checked")===!0?jQuery.each(i,function(){t(this).prop("checked","checked");t(this).attr("checked","checked")}):jQuery.each(i,function(){t(this).removeAttr("checked",!1);t(this).removeProp("checked",!1)});u&&u.trigger("click");f=t(".refine-container .panel-body input[type=checkbox]:checked");e=jQuery(".search-container .items-found li").size();f.length>0||e===1?r.addClass("noOpaque"):r.removeClass("noOpaque");c()});s.on("focus",function(){t(this).parents("span").eq(0).addClass("active")});s.on("focusout",function(){t(this).parents("span").eq(0).removeClass("active")})},p=function(n){n.on("click",function(n){n.preventDefault();var r=t(".refine-container .custom-checkbox input"),i=t(".UnFilterCheckbox").length>0?t(".UnFilterCheckbox").val():"";t("#hdnSearchType").length>0&&(t("#hdnSearchType").attr("name",""),t("#hdnSearchType").attr("value",""));t(this).removeClass("noOpaque");t.each(r,function(){t(this).prop("checked",!1)});i.length>0&&t(".refine-container .custom-checkbox input#"+i).prop("checked",!0);c()})},y=function(){t.each(h,function(){var n=t(this).attr("data-defaultcount")!==null?t(this).attr("data-defaultcount"):5,i=t(this).find(".custom-checkbox input"),r=t(this).find("ul li"),u=i.length,f=t(this).find("a.show-more");u>n&&(f.addClass("show"),t.each(r,function(i){var r=i+1;r>n&&t(this).addClass("hidden")}))});var n=t(".refine-container .panel-body .custom-checkbox input");n.on("click",function(){var n=t(this).parents(".panel-body").eq(0),o=n.find("input[type=checkbox]"),i=n.find("input[type=checkbox]:checked"),u=t(this).parents(".panel").eq(0).find(".panel-heading input"),f,e;i&&i.length===o.length?u.prop("checked",!0):u.prop("checked",!1);f=t(".refine-container .panel-body input[type=checkbox]:checked");e=jQuery(".search-container .items-found li").size();f.length>0||e===1?r.addClass("noOpaque"):r.removeClass("noOpaque");c()});n.on("focus",function(){t(this).parents("li").eq(0).addClass("active")});n.on("focusout",function(){t(this).parents("li").eq(0).removeClass("active")});tt.on("click",function(n){n.preventDefault();var i,u,r;t(this).hasClass("SeeLess")!==!0?(i=t(this).data("lesstext"),t(this).parent().find("ul li").removeClass("hidden"),t(this).addClass("SeeLess"),t(this).text(i)):(i=t(this).data("moretext"),u=t(this).parent().data("defaultcount"),r=t(this).parent().find("li"),t(this).removeClass("SeeLess"),t(this).text(i),r.addClass("hidden"),t.each(r,function(n){var i=n+1;i<=u&&t(this).removeClass("hidden")}))});p(r)},k=function(){var nt=b.data("product")===!0?!0:!1,tt=b.data("search")===!0?!0:!1,yt=t(".resource-finder").data("resource")===!0?!0:!1,ot,v,pt,st,w,wt,c,k,h,bt,i,ht,ct,lt,vt;if(nt){u="ProductSearch";ft.on("click",function(){o=!0;r&&r.click();var i,t=l();t.length==0&&(o=!1,f&&t.push(f),e&&t.push(e));i=n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+t.join("&");n.history.pushState({path:i},"",i)})}if(tt){u="SearchResult";ut.on("click",function(){r&&r.click()})}if(yt&&!nt&&!tt){u="ResourceResult";et.on("click",function(){o=!0;r.click&&r.click();var i,t=a();t.length==0&&(o=!1,f&&t.push(f),e&&t.push(e));i=n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+t.join("&");n.history.pushState({path:i},"",i)})}if((tt||nt||yt)&&(bt=n.location.href,i=new URLSearchParams(n.location.search),ot=i.toString(),ot&&(k=ot.split("&"),k&&(ht=i.get("Sector")||i.get("sector"),ct=i.get("SubSector")||i.get("subsector"),ht&&(f="sector="+ht.replace(/&/g,"%26")),ct&&(e="subsector="+ct.replace(/&/g,"%26"))),k.length>1&&t.each(k,function(n){if(this){var r=[];h=this.split("=");c=h[0];h[0]&&i.get(h[0])&&(i.get(h[0]).includes(",")?r=i.get(h[0]).split(","):r.push(i.get(h[0])));w=[];v=[];t.each(r,function(){w.push(this.replace(/-/g," ").replace(/   /g," - ").replace(/%26/g,"&").toLowerCase())});t.each(r,function(){v.push(this.replace(/%26/g,"&").replace(/-&-/g," & ").toLowerCase())});st=t('[id="'+c+n+'"]').find("input[type='checkbox']");wt=t('[id="'+c+n+'"]').find("input[type='checkbox']").not(":disabled");w.length>0&&st.filter(function(){w.includes(t(this).next().text().toLowerCase())&&t(this).prop("checked",!0)});v.length>0&&st.filter(function(){v.includes(t(this).next().text().toLowerCase())&&t(this).prop("checked",!0)});pt=t("[id='"+c+"' i]").find("input:checked").not(":disabled");wt.length==pt.length&&t("[id='"+c+"1' i]").prop("checked",!0)}}))),rt.length>0,s&&it){if(lt=INFORMA.global.device.viewportN,lt===1||lt===2){var at=t(".refine-container").find("p.heading"),kt=t(".refine-container").find("a.clear-all"),g=t('<div class="clear-mobile"><a href="#" class="clear-all">'+kt.html()+"<\/a><\/div>");t("body").find(".refine-container").after(g);at.addClass("heading-collapsed");t("#refine-list").hide();at.hasClass("heading-collapsed")!==!0&&g.show();at.off().on("click",function(){var n=t(this).parent().find("#refine-list");t(this).hasClass("heading-collapsed")!==!0?(n.slideUp("slow"),t(this).addClass("heading-collapsed"),g.hide()):(n.slideDown("slow"),t(this).removeClass("heading-collapsed"),g.show())});t(".refine-container").addClass("showRefine")}r=t(".product-finder-results a.clear-all");d();y();vt=t("body").find(".clear-mobile a");vt&&p(vt)}t(document).on("change",".custom-multiselect input",function(){var n=[],i=[];t("#Sector2 :selected").map(function(n,r){i.push(t(r).text())});t("#SubSector2 :selected").map(function(i,r){n.push(t(r).text())});t("#SectorNames").val(i.toString());t("#SubSectorNames").val(n.toString())})},{init:k,GetRefineData:w,BindRefineEvents:y}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.SearchResultFilter.init());INFORMA=window.INFORMA||{};INFORMA.SearchResults=function(n,t){"use strict";var s=INFORMA.Templates,ri=INFORMA.Configs,u=INFORMA.Configs.urls.webservices,i="",r=t(".search-container"),h=t("#product-finder-section"),k=r.find(".btn-showMore"),ut=t("input.search-hidden"),kt=t("input.sector-list"),ft=t("input.sub-sector-list"),dt=t(".refine-container"),gt=r.find(".chosen-select"),ni=t(".refine-container").find(".chosen-select"),d=t('input[name="SearchText"]'),et=r.find(".see-all"),p=!1,g=2,ot,st,ht,ct,f,c,l,a,lt,at,v,vt,yt,pt,nt,w,e,y,wt,tt,it=t("#hdnTotalCountLimit")?t("#hdnTotalCountLimit").val():0,rt=t("#hdnFacetCountLimit")?t("#hdnFacetCountLimit").val():0,bt=t(".search-container .product-results").attr("data-pagesize"),ti=function(){t(".register.disabled").click(function(n){n.preventDefault()})},ii=function(){t(".register.disabled").on("keydown",function(n){(n.keyCode===13||n.which===13)&&n.preventDefault()})},o=function(){var n={},f=t('input[name="defaultPageSize"]')?t('input[name="defaultPageSize"]').val():null,r,u;return n.Sorting=t('select[name="sorting"]')?t('select[name="sorting"]').val():null,n.PageSize=t(".product-results")?t(".product-results").attr("data-pagesize")>0?t(".product-results").attr("data-pagesize"):f:null,n.DefaultItemCount=t('input[name="DefaultItemCount"]')?t('input[name="DefaultItemCount"]').val():null,n.MaxItemCount=t('input[name="MaxItemCount"]')?t('input[name="MaxItemCount"]').val():null,n.DefaultProductCount=t('input[name="DefaultProductCount"]')?t('input[name="DefaultProductCount"]').val():null,n.SearchTexts=t('input[name="SearchTexts"]')&&t('input[name="SearchTexts"]').length>0?t('input[name="SearchTexts"]').val().split(","):null,n.OrderOfContentType=t('input[name="OrderOfContentType"]')?t('input[name="OrderOfContentType"]').val().split(","):null,n.WhoWeHelp=t('input[name="WhoWeHelp"]')?t('input[name="WhoWeHelp"]').val():null,n.SearchText=t('input[name="SearchText"]')?t('input[name="SearchText"]').val():null,i!="ProductSearch"&&t("#hdnSearchType").length>0&&(r=t("#hdnSearchType").attr("name"),u=t("#hdnSearchType").attr("value"),n[r]=u),i==="ProductSearch"&&(n.SearchTextSampleContent=t('input[name="SearchTextSampleContent"]')&&t('input[name="SearchTextSampleContent"]').length>0?t('input[name="SearchTextSampleContent"]').val().split(","):null,n.SearchTextProducts=t('input[name="SearchTextProducts"]')&&t('input[name="SearchTextProducts"]').length>0?t('input[name="SearchTextProducts"]').val().split(","):null),n},b=function(){var n=t(".items-found").find("a");n.on("click",function(n){n.preventDefault();var h,c,r,a,s=t(this).attr("data-contenttype"),y=t(this).attr("data-check")!=undefined?t(this).attr("data-check"):"",v=t(this).attr("name")?t(this).attr("name"):"";i==="ResourceResult"&&(h=INFORMA.ResourceFilter.GetResourceData());i==="SearchResult"&&(h=INFORMA.ProductFinder.GetProductData());t(".product-finder-results a.clear-all").addClass("noOpaque");c=INFORMA.SearchResultFilter.GetRefineData();a=o();r=INFORMA.ProductFinder.MergeData(h,c,a);r.PageNo=1;y!="null"?(r[v]=s.split(","),t("#hdnSearchType").length>0&&(t("#hdnSearchType").attr("name",v),t("#hdnSearchType").attr("value",s))):(r.ContentType=s.split(","),t("#hdnSearchType").length>0&&(t("#hdnSearchType").attr("name","ContentType"),t("#hdnSearchType").attr("value",s)));e(u[i],"Post",r,f,null,null);l()})};return ht=function(){gt.on("change",function(){var n,r,t,s;i==="ResourceResult"&&(n=INFORMA.ResourceFilter.GetResourceData());i==="SearchResult"&&(n=INFORMA.ProductFinder.GetProductData());r=INFORMA.SearchResultFilter.GetRefineData();s=o();t=INFORMA.ProductFinder.MergeData(n,r,s);t.PageNo=1;e(u[i],"Post",t,f,null,null);l()});ni.on("change",function(){var n,r,t,s;i==="ResourceResult"&&(n=INFORMA.ResourceFilter.GetResourceData());i==="SearchResult"&&(n=INFORMA.ProductFinder.GetProductData());r=INFORMA.SearchResultFilter.GetRefineData();s=o();t=INFORMA.ProductFinder.MergeData(n,r,s);t.PageNo=1;e(u[i],"Post",t,f,null,null);l()})},at=function(){var n=t(".site-search li.button");n.removeClass("disabled");h.find("input[type=radio][data-show='site-search']").trigger("click")},l=function(){g=2},v=function(n,i){i.val("");t.each(n,function(n,t){i.find("option[value='"+t+"']").prop("selected",!0)});i.multiselect("rebuild")},a=function(i,r,u){var o,c,l=new URLSearchParams(n.location.search),s;if(o=l.toString(),o)if(c=o.split("&"),c){if(s=l.get(r),s){var f=[],e=[],a=s.split(","),h=[];if(t.each(a,function(){h.push(this.replace(/-/g," ").replace(/%26/g,"&").toLowerCase())}),u.length>0?(t.each(u,function(){e.push(this)}),t.each(e,function(){var n=this;h.includes(n.SubSectorName.toLowerCase())&&f.push(this.SubSectorID)})):(e=i=="sector-search"?t("."+i+" [id='"+r+"2' i]").next().find(".multiselect-container").find("input[type='checkbox']"):t("."+i+" [id='"+r+"' i]").next().find(".multiselect-container").find("input[type='checkbox']"),e.filter(function(){h.includes(t(this).parent().text().trim().toLowerCase())&&f.push(t(this).val())})),f.length>0)return f.toString()}}else return null},lt=function(n){var i,r=a("resource-sector-search","sector",[]);if(r){var e=r.split(","),f,s="SectorIDs="+r,o=t("#resource-finder-section"),h=o.find("select.SubSector");o.find("input[type=radio][data-show='sector-search']").trigger("click");n.length&&e&&(v(e,n),INFORMA.DataLoader.GetServiceData(u.GetSubSectorList,{method:"Get",data:s,success_callback:function(n){INFORMA.ResourceFilter.UpdateSubSectorDropdown(n);i=a("resource-sector-search","subsector",n.SubSectors);i&&(f=i.split(","));f&&v(f,h)},error_callback:function(){}}))}},vt=function(n,i,r){var f,o=a("sector-search","sector",[]);if(o&&(i=o),i){var s=i.split(","),e=r?r.split(","):"",c="SectorIDs="+i,l=h.find("select.SubSector");h.find("input[type=radio][data-show='sector-search']").trigger("click");n.length&&s&&(v(s,n),INFORMA.DataLoader.GetServiceData(u.GetSubSectorList,{method:"Get",data:c,success_callback:function(n){INFORMA.ProductFinder.UpdateSubSectorDropdown(n);f=a("sector-search","subsector",n.SubSectors);f&&(e=f.split(","));e&&v(e,l);t(".search:visible").trigger("click")},error_callback:function(){}}))}},e=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify(r),success_callback:function(n){typeof u=="function"&&u.call(this,n,e)},error_callback:function(){typeof f=="function"&&f.call(this,r)}})},y=function(){var i=r.find(".wrap-content"),u=r.find(".list-items"),n;t(".search-container").hasClass("tileView")?(t('.search-container .list-items[data-type="SampleContent"]').each(function(){var n=t(this).find(".video-container");n.length>0&&t(this).find(".content").css("padding-right","0")}),n=0,i.each(function(){var i=t(this).outerHeight();i>n&&(n=i)}),i.height(n)):(u.css("height","auto"),i.css("height","auto"),t('.search-container .list-items[data-type="SampleContent"]').each(function(){var n=t(this).find(".video-container");n.length>0&&t(this).find(".content").css("padding-right",n.width())}))},nt=function(n,i){var r={},u=i?i.data("pagesize"):null;return u&&(r.PageSize=u),t.each(n,function(){var n=t(this).data("type"),f=t(this).data("fetch"),u,i;r.hasOwnProperty(n)?(u=[],i=[],i=i.concat(r[n]),u.push(f),r[n]=u.concat(i)):r[n]=[].concat(f)}),r},w=function(){var s=r.find(".btn-showMore");s.off("click").on("click",function(r){var c;r.preventDefault();var s=t(this).parents(".product-results").eq(0),l=s.find(".list-items"),h=nt(l,s),a=INFORMA.ProductFinder.GetProductData(),v=o(),y=INFORMA.SearchResultFilter.GetRefineData();i==="ProductSearch"&&"Product"in h&&(h.CurrentProduct=h.Product);c=INFORMA.ProductFinder.MergeData(a,h,y,v);t(s).hasClass("showLess")?(t(s).removeClass("showLess"),t(s).find(".col-xs-12:nth-child(n+4)").remove(),t(n).scrollTop(t(s).offset().top-60)):(t(s).addClass("showLess"),e(u[i],"Post",c,f,null,t(this)))})},tt=function(){var n,i=jQuery(".search-container .product-results .list-items"),r=nt(i),s=INFORMA.SearchResultFilter.GetRefineData(),h=o(),c=INFORMA.ProductFinder.GetProductData();n=INFORMA.ProductFinder.MergeData(s,h,c);n.PageNo=1;n.ExcludedProduct=r;e(u.GetMoreProducts,"Post",n,f,null,t(this))},c=function(){var n=r.find(".btn-showMore");n.off("click").on("click",function(n){n.preventDefault();var s=INFORMA.ResourceFilter.GetResourceData(),h=INFORMA.SearchResultFilter.GetRefineData(),c=o(),r=INFORMA.ProductFinder.MergeData(s,h,c);r.PageNo=g;i==="SearchResult"&&(r.SearchText=t('input[name="SearchText"]').val());e(u[i],"Post",r,f,null,t(this))});b()},pt=function(){var n=t(".search-container .view-mode li");n.on("click",function(i){i.preventDefault();var r=t(this).data("view"),u=t(this).parents(".search-container").eq(0);r&&(n.removeClass("selected"),t(this).addClass("selected"),u.removeClass("tileView listView"),u.addClass(r));y()})},yt=function(n){var r,u,h,c,s;for(r in n)if(n.hasOwnProperty(r)&&n[r]&&(u=n[r],h=r,u&&h)){var f=dt.find("#"+h),e=f.find("input[type=checkbox]"),l=f.prev(".panel-heading"),o=l.find("input[type=checkbox]"),a=l.find("a strong");e&&f&&u.length&&(t.each(e,function(){var n=t(this).attr("value");u.contains(n)?(t(this).closest("li").removeClass("hide"),t(this).removeAttr("disabled")):(t(this).attr("disabled","disabled"),t(this).closest("li").addClass("hide"),t(this).prop("checked",!1))}),o.removeAttr("disabled"),o.closest("div.panel-default").removeClass("hide"),a.removeClass("disabled"));e&&f&&u.length<1&&(t.each(e,function(){t(this).attr("disabled","disabled");t(this).closest("li").addClass("hide");t(this).prop("checked",!1)}),o.attr("disabled","disabled"),o.closest("div.panel-default").addClass("hide"),a.addClass("disabled"))}i==="ResourceResult"&&(c=t("input.UnFilterCheckbox").val(),c!==undefined&&(s=jQuery("#"+c),typeof s!=undefined&&(s.removeAttr("disabled"),s.prop("checked","checked"))))},st=function(n){for(var f,l="",o=0;o<n.length;o++){var h=n[o],a,v,b,k,d="",u,e=h.Results;if(b=s.SearchTemplate?s.SearchTemplate:"",k=Handlebars.compile(b),e){for(f=0;f<e.length;f++)e[f].Category&&(u=e[f].Category,u=="SampleContent"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(u="SampleContentNewCo"),u=="Product"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(u="ProductNewCo"),u=="Event"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(u="EventNewCo"),u=="Specialist"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(u="SpecialistNewCo"),a=s[u]?s[u]:"",v=Handlebars.compile(a),e[f].SalesforceLink&&e[f].SalesforceLink.Url&&(e[f].SalesforceLink.Url=INFORMA.Utils.appendEloquaCookieId(e[f].SalesforceLink.Url)),d+=v({results:e[f]}));h.Content=d;p||r.find(".product-results").remove();l+=k({results:h})}}p=!1;r.find(".container").append(l);setTimeout(function(){y()},800);i==="ProductSearch"?w():c()},wt=function(n,r,u){var v=n[0],h,l,a="",f,o=v.Results,e;if(o){for(e=0;e<o.length;e++)o[e].Category&&(f=o[e].Category,f=="SampleContent"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(f="SampleContentNewCo"),f=="Product"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(f="ProductNewCo"),f=="Event"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(f="EventNewCo"),f=="Specialist"&&t("#IsNewCoTemplateEnabled").val()=="True"&&(f="SpecialistNewCo"),h=s[f]?s[f]:"",l=Handlebars.compile(h),o[e].SalesforceLink&&o[e].SalesforceLink.Url&&(o[e].SalesforceLink.Url=INFORMA.Utils.appendEloquaCookieId(o[e].SalesforceLink.Url)),a+=l({results:o[e]}));t(r).parents(".product-results").find(".list").append(a);setTimeout(function(){y()},800);i!="ProductSearch"&&u<1&&t(r).addClass("hidden")}i==="ProductSearch"?w():(c(),g++)},ct=function(n){var r,i,u;if(!t.isEmptyObject(n)){for(r="",i=0;i<n.length;i++)u=rt<=0||n[i].Count<rt?n[i].Count:rt+"+",r+="<li><a href='#' name='"+n[i].Name+"' data-check='"+n[i].Check+"'' data-contenttype='"+n[i].ItemId+"'><strong>"+u+"<\/strong>"+n[i].Value+"<\/li>";t(".items-found").html(r)}b()},f=function(n,i){var s;if(Object.keys(n).length){var u=n.ProductListing!==undefined?n.ProductListing:!1,f=n.UpdatedFacets!==undefined?n.UpdatedFacets:!1,e=n.AppendItemsFlag!==undefined?n.AppendItemsFlag:!1,o=n.FacetDescription!=null&&n.FacetDescription.length>0?n.FacetDescription:!1,h=n.ShowAllFlag!==undefined?n.ShowAllFlag:!1,c=n.RemainingCount!==undefined?n.RemainingCount:!1;if(u&&Object.keys(u).length&&e!=!0)if(st(u),s=it<=0||n.ProductFound<it?n.ProductFound:it+"+",r.find(".results").find("strong").html(s),n.ProductFound==0?(t(".items-found").addClass("hidden"),t(".product-results").hide()):(t(".items-found").removeClass("hidden"),t(".product-results").show()),r.find(".product-results").attr("data-pagesize",n.DefaultItemCount),o&&ct(o),f&&Object.keys(f).length&&yt(f),h){t(".see-all").removeClass("hidden");t(".see-all").off("click").on("click",function(n){n.preventDefault();p=!0;tt()})}else t(".see-all").addClass("hidden");e==!0&&wt(u,i,c);addthis.toolbox(".product-results")}else t(".product-results").html(n)},ot=function(){var r=h.data("product")===!0?!0:!1,e=t(".resource-finder").data("resource")===!0?!0:!1,u=h.data("search")===!0?!0:!1,o,s,l,f,a,v,g;if(r&&(i="ProductSearch",t("input[name=searchResultsPageUrl]")&&t("input.SeeAllResultInput")&&(o=t("input[name=searchResultsPageUrl]").val()+"?searchText=*",t("input.SeeAllResultInput").val(o)),et))et.off("click").on("click",function(n){n.preventDefault();p=!0;tt()});u&&(i="SearchResult");!e||r||u||(i="ResourceResult",f=t("#resource-finder-section").find("select.Sector"),lt(f));r&&(s=kt.val(),l=ft.length?ft.val():!1,r&&(f=h.find("select.Sector"),a=!!n.MSInputMethodContext&&!!document.documentMode,a||vt(f,s,l)));(u&&ut.length>0||d)&&(v=ut.val(),g=d.length>0?d.val():null,u&&at(v),g&&t(".search:visible").trigger("click"));k&&r&&w();k&&e&&(c(),b());k&&u&&(c(),b());bt>0&&t('input[name="defaultPageSize"]').val(bt);pt();t(n).on("load",function(){y()});ht();ii();ti()},{init:ot,RenderSearchResults:f,ResetPaging:l,DefaultParameters:o}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.SearchResults.init());INFORMA=window.INFORMA||{};INFORMA.sectorList=function(n,t){"use strict";var i=t("#sector-list-section"),r,u,f;return u=function(){var n=t(".view-all-sectors-btn");n.on("click",function(){t(".sector-list .container > .row + .row >.text-center:nth-child(n+3)").show();t(".sector-list .view-all-sectors-btn-container").hide()})},f=function(){var n=t(".view-all-sectors-btn.less");n.on("click",function(){t("html, body").animate({scrollTop:_sectorPageStrengths.offset().top-35},700)})},r=function(){i.length>0&&(u(i),f())},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.sectorList.init());INFORMA=window.INFORMA||{};INFORMA.sectorPageStrengths=function(n,t){"use strict";var s=t(".sectorpage-strengths"),i=0,r,u,f,e,o;return e=function(n){var u=INFORMA.global.device.viewportN,r;u===0?(r=n.data("desktop"),n.find(".marg1").hide(),n.find(".marg1").length>=r+1?n.find(".view-all-sectors-btn-container").show():n.find(".view-all-sectors-btn-container").hide(),i=r):u===1?(n.find(".marg1:nth-child(n+5)").hide(),n.find(".marg1").length>4?n.find(".view-all-sectors-btn-container").show():n.find(".view-all-sectors-btn-container").hide(),i=4):(n.find(".marg1:nth-child(n+4)").hide(),i=3);n.find(".marg1").slice(0,i).each(function(n,i){t(i).attr("data-display",!0).show()})},u=function(n){var i=t(n).find(".view-all-sectors-btn");i.on("click",function(){t(this).closest(".container").find(".row + .row >.marg1:not([data-display])").slideToggle();t(this).parents(".sectorpage-strengths").toggleClass("showLess")})},o=function(){var n=jQuery(".sectorpage-strengths");n.each(function(){var r=jQuery(this).find(".text-description"),u=jQuery(this).find(".yellow-container"),f=jQuery(this).find(".main-container"),n=0,t=0,i=0;r.each(function(){var t=jQuery(this).outerHeight();t>n&&(n=t)});r.css("height",n);u.each(function(){var n=jQuery(this).outerHeight();n>i&&(i=n)});u.css("height",i);f.each(function(){var n=jQuery(this).outerHeight();n>t&&(t=n)});f.css("height",t)})},f=function(){var n=s.find(".view-all-sectors-btn.less");n.on("click",function(){t("html, body").animate({scrollTop:t(this).parents("section").offset().top},700)})},r=function(){var i=jQuery(".sectorpage-strengths");i.each(function(i,r){e(t(r));u(r);f();t(n).on("load",function(){o()})});t("#loadPDFComponentModal").on("hidden.bs.modal",function(){t("#hiddenIframe").html("")})},{init:r}}(this,jQuery,"INFORMA");jQuery(INFORMA.sectorPageStrengths.init());INFORMA=window.INFORMA||{};INFORMA.signup=function(n,t){"use strict";var e=t(".inf-sign-up-box-expand"),o=t(".inf-sign-up-box"),b=t(".inf-sign-up-box img.collapse-box"),r=t(".inf-sign-up"),i=t(".inf-sign-up-box input[type=text]"),k=t("#modalId").val(),f=t("label.error-msg"),s,h,c,l,u,a,v,y,p,w;return h=function(){e.click(function(){o.slideDown();t(this).slideUp()})},c=function(){b.click(function(){o.slideUp();e.slideDown()})},l=function(n){return/^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/.test(n)},u=function(){l(i.val())?(r.removeAttr("disabled"),r.addClass("inf-btn-active"),i.val()!=""&&f.removeClass("active")):(r.prop("disabled",!0),r.removeClass("inf-btn-active"),i.val()!=""&&f.addClass("active"));i.val()==""&&f.removeClass("active")},a=function(){i.on("blur",function(){u()})},v=function(){i.keypress(function(n){n.which==13&&u()})},y=function(){i.mouseout(function(){u()})},p=function(){t(".redirect-to-link").click(function(){n.open(t("#ctaUrl").val(),"_blank")})},w=function(){t("#"+k).on("shown.bs.modal",function(){t(this).find(".email-field").focus();t(this).find(".email-field").val(t(".inf-sign-up-box input").val())})},s=function(){h();c();a();v();y();p();w()},{init:s}}(this,jQuery,"INFORMA");jQuery(INFORMA.signup.init());INFORMA=window.INFORMA||{};INFORMA.navtabs=function(n,t){"use strict";var i=t(".support-page-tabs ul.nav li"),r=t(".support-page-tabs .tab-content .tab-pane"),u;return u=function(){jQuery(i[0]).addClass("active");jQuery(r[0]).addClass("active");i.on("click",function(){i.removeClass("active");jQuery(this).addClass("active");var n=jQuery(this).find("a").attr("href");r.removeClass("active");jQuery(n).addClass("active")})},{init:u}}(this,jQuery,"INFORMA");jQuery(INFORMA.navtabs.init()),function(n){n.fn.stellarNav=function(t,i,r){var u;return nav=n(this),i=n(window).width(),u=n.extend({theme:"plain",breakpoint:768,menuLabel:"Menu",sticky:!1,position:"static",openingSpeed:250,closingDelay:0,showArrows:!0,phoneBtn:"",phoneLabel:"Call Us",locationBtn:"",locationLabel:"Location",closeBtn:!1,closeLabel:"Close",mobileMode:!1,scrollbarFix:!1},t),this.each(function(){function a(){var t=window.innerWidth;t<=r||u.mobileMode?(c(),nav.addClass("mobile"),nav.removeClass("desktop"),!nav.hasClass("active")&&nav.find("ul:first").is(":visible")&&nav.find("ul:first").hide(),nav.find("li.mega").each(function(){n(this).find("ul").first().removeAttr("style");n(this).find("ul").first().children().removeAttr("style")})):(nav.addClass("desktop"),nav.removeClass("mobile"),nav.hasClass("active")&&nav.removeClass("active"),!nav.hasClass("active")&&nav.find("ul:first").is(":hidden")&&nav.find("ul:first").show(),n("li.open").removeClass("open").find("ul:visible").hide(),c(),l(),navWidth=0,n(parentItems).each(function(){navWidth+=n(this)[0].getBoundingClientRect().width;navWidth=Math.round(navWidth);n(this).hasClass("mega")&&(n(this).find("ul").first().css({left:0,right:0,margin:"0px auto"}),numCols=n(this).attr("data-columns"),numCols==2?n(this).find("li.has-sub").width("50%"):numCols==3?n(this).find("ul").first().children().width("33.33%"):numCols==4?n(this).find("ul").first().children().width("25%"):numCols==5?n(this).find("ul").first().children().width("20%"):numCols==6?n(this).find("ul").first().children().width("16.66%"):numCols==7?n(this).find("ul").first().children().width("14.28%"):numCols==8?n(this).find("ul").first().children().width("12.5%"):n(this).find("ul").first().children().width("25%"))}),parentItems.hasClass("mega")&&nav.find("li.mega > ul").css({"max-width":navWidth}))}var t,f,e,s,o,h,c,l;if((u.theme=="light"||u.theme=="dark")&&nav.addClass(u.theme),u.breakpoint&&(r=u.breakpoint),menuLabel=u.menuLabel?u.menuLabel:"",phoneLabel=u.phoneLabel?u.phoneLabel:"",locationLabel=u.locationLabel?u.locationLabel:"",closeLabel=u.closeLabel?u.closeLabel:"",t=u.phoneBtn&&u.locationBtn?"third":u.phoneBtn||u.locationBtn?"half":"full",u.position=="right"||u.position=="left"?nav.prepend('<a href="#" class="menu-toggle"><span class="bars"><span><\/span><\/span> '+menuLabel+"<\/a>"):nav.prepend('<a href="#" class="menu-toggle '+t+'"><span class="bars"><span><\/span><\/span> '+menuLabel+"<\/a>"),!u.phoneBtn||u.position=="right"||u.position=="left"||(f='<a href="tel:'+u.phoneBtn+'" class="call-btn-mobile '+t+'"><svg id="icon-phone"><\/svg> <span>'+phoneLabel+"<\/span><\/a>",nav.find("a.menu-toggle").after(f)),!u.locationBtn||u.position=="right"||u.position=="left"||(f='<a href="'+u.locationBtn+'" class="location-btn-mobile '+t+'" target="_blank"><svg id="icon-location"><\/svg> <span>'+locationLabel+"<\/span><\/a>",nav.find("a.menu-toggle").after(f)),u.sticky&&(navPos=nav.offset().top,i>=r))n(window).on("scroll",function(){n(window).scrollTop()>navPos?nav.addClass("fixed"):nav.removeClass("fixed")});if(u.position=="top"&&nav.addClass("top"),u.position=="left"||u.position=="right"){var v='<a href="#" class="close-menu '+t+'"><span class="icon-close"><\/span>'+closeLabel+"<\/a>",y='<a href="tel:'+u.phoneBtn+'" class="call-btn-mobile '+t+'"><svg id="icon-phone"><\/svg><\/a>',p='<a href="'+u.locationBtn+'" class="location-btn-mobile '+t+'" target="_blank"><svg id="icon-location"><\/svg><\/i><\/a>';nav.find("ul:first").prepend(v);u.locationBtn&&nav.find("ul:first").prepend(p);u.phoneBtn&&nav.find("ul:first").prepend(y)}u.position=="right"&&nav.addClass("right");u.position=="left"&&nav.addClass("left");u.showArrows||nav.addClass("hide-arrows");!u.closeBtn||u.position=="right"||u.position=="left"||nav.find("ul:first").append('<li><a href="#" class="close-menu"><span class="icon-close"><\/span> '+closeLabel+"<\/a><\/li>");u.scrollbarFix&&n("body").addClass("stellarnav-noscroll-x");e=document.getElementById("icon-phone");e&&(e.setAttribute("viewBox","0 0 480 480"),s=document.createElementNS("http://www.w3.org/2000/svg","path"),s.setAttribute("d","M340.273,275.083l-53.755-53.761c-10.707-10.664-28.438-10.34-39.518,0.744l-27.082,27.076 c-1.711-0.943-3.482-1.928-5.344-2.973c-17.102-9.476-40.509-22.464-65.14-47.113c-24.704-24.701-37.704-48.144-47.209-65.257     c-1.003-1.813-1.964-3.561-2.913-5.221l18.176-18.149l8.936-8.947c11.097-11.1,11.403-28.826,0.721-39.521L73.39,8.194 C62.708-2.486,44.969-2.162,33.872,8.938l-15.15,15.237l0.414,0.411c-5.08,6.482-9.325,13.958-12.484,22.02     C3.74,54.28,1.927,61.603,1.098,68.941C-6,127.785,20.89,181.564,93.866,254.541c100.875,100.868,182.167,93.248,185.674,92.876 c7.638-0.913,14.958-2.738,22.397-5.627c7.992-3.122,15.463-7.361,21.941-12.43l0.331,0.294l15.348-15.029     C350.631,303.527,350.95,285.795,340.273,275.083z"),e.appendChild(s));o=document.getElementById("icon-location");o&&(o.setAttribute("viewBox","0 0 480 480"),h=document.createElementNS("http://www.w3.org/2000/svg","path"),h.setAttribute("d","M322.621,42.825C294.073,14.272,259.619,0,219.268,0c-40.353,0-74.803,14.275-103.353,42.825 c-28.549,28.549-42.825,63-42.825,103.353c0,20.749,3.14,37.782,9.419,51.106l104.21,220.986   c2.856,6.276,7.283,11.225,13.278,14.838c5.996,3.617,12.419,5.428,19.273,5.428c6.852,0,13.278-1.811,19.273-5.428 c5.996-3.613,10.513-8.562,13.559-14.838l103.918-220.986c6.282-13.324,9.424-30.358,9.424-51.106 C365.449,105.825,351.176,71.378,322.621,42.825z M270.942,197.855c-14.273,14.272-31.497,21.411-51.674,21.411 s-37.401-7.139-51.678-21.411c-14.275-14.277-21.414-31.501-21.414-51.678c0-20.175,7.139-37.402,21.414-51.675 c14.277-14.275,31.504-21.414,51.678-21.414c20.177,0,37.401,7.139,51.674,21.414c14.274,14.272,21.413,31.5,21.413,51.675 C292.355,166.352,285.217,183.575,270.942,197.855z"),o.appendChild(h));n(".menu-toggle, .stellarnav-open").on("click",function(t){if(t.preventDefault(),n(this).siblings(".menu-mobile").removeClass("active"),n(this).siblings(".outer-search-icon").removeClass("active"),n("#tech-main-header").removeClass("search-active"),n(this).siblings(".outer-search-icon").children(".search-icons").removeClass("active"),n(this).siblings(".outer-search-icon").children(".search-icons").children("i").addClass("search-active"),u.position=="left"||u.position=="right"){if(nav.find("ul:first").stop(!0,!0).fadeToggle(u.openingSpeed),nav.toggleClass("active"),nav.hasClass("active")&&nav.hasClass("mobile"))n(document).on("click",function(t){nav.hasClass("mobile")&&(n(t.target).closest(nav).length||(nav.find("ul:first").stop(!0,!0).fadeOut(u.openingSpeed),nav.removeClass("active")))})}else nav.find("ul:first").stop(!0,!0).slideToggle(u.openingSpeed),nav.toggleClass("active")});n(".close-menu, .stellarnav-close").on("click",function(){nav.removeClass("active");u.position=="left"||u.position=="right"?nav.find("ul:first").stop(!0,!0).fadeToggle(u.openingSpeed):nav.find("ul:first").stop(!0,!0).slideUp(u.openingSpeed).toggleClass("active")});nav.find("li a").each(function(){n(this).next().length>0?n(this).parent("li").addClass("has-sub"):n(this).parent("li").addClass("no-sub");n(this).parent("li").append('<a class="dd-toggle" href="#"><span class="icon-plus"><\/span><\/a>');var t=n(this).attr("href");t.indexOf("javascript")!=-1&&n(this).click(function(){n(this).parent().children(".dd-toggle").trigger("click")})});nav.find("li .dd-toggle").on("click",function(t){var i=n(this).closest("li");t.preventDefault();i.hasClass("has-sub")&&(i.children("ul").stop(!0,!0).slideToggle(u.openingSpeed),i.toggleClass("open"),i.hasClass("open")?nav.addClass("sub-open"):nav.removeClass("sub-open"))});c=function(){nav.find("li").off("mouseenter");nav.find("li").off("mouseleave")};parentItems=nav.find("> ul > li");l=function(){n(parentItems).each(function(){if(n(this).hasClass("mega")){n(this).on("mouseenter",function(){n(this).find("ul").first().stop(!0,!0).slideDown(u.openingSpeed)});n(this).on("mouseleave",function(){n(this).find("ul").first().stop(!0,!0).slideUp(u.openingSpeed)})}else{n(this).on("mouseenter",function(){n(this).children("ul").stop(!0,!0).slideDown(u.openingSpeed)});n(this).on("mouseleave",function(){n(this).children("ul").stop(!0,!0).delay(u.closingDelay).slideUp(u.openingSpeed)});n(this).find("li.has-sub").on("mouseenter",function(){n(this).children("ul").stop(!0,!0).slideDown(u.openingSpeed)});n(this).find("li.has-sub").on("mouseleave",function(){n(this).children("ul").stop(!0,!0).delay(u.closingDelay).slideUp(u.openingSpeed)})}})};a();n(window).on("resize",function(){a()})})}}(jQuery);INFORMA=window.INFORMA||{};INFORMA.TechHeader=function(n,t){"use strict";var u,i,o=t("tech-main-header"),f,e,r;return f=function(){i=document.getElementById("tech-main-header");i!=null&&(u=i.offsetTop);t(document).ready(function(){i!=null&&(e(),r())})},e=function(){var n=!1,i=t("#EnableHamburger").val(),n=!1;(i=="true"||i=="True")&&(n=!0);t(".stellarnav").stellarNav({theme:"plain",breakpoint:961,position:"right",phoneBtn:!1,closeBtn:!0,sticky:!1,scrollbarFix:!0,locationBtn:!1,mobileMode:n,showArrows:!1,menuLabel:"",closeLabel:""})},r=function(){i!=null&&(n.pageYOffset>u?i.classList.add("sticky"):i.classList.remove("sticky"))},n.onscroll=function(){r()},{init:f}}(this,jQuery,"INFORMA");jQuery(INFORMA.TechHeader.init());INFORMA=window.INFORMA||{};INFORMA.TechSearch=function(n,t){var st=t(".search-icons i"),ht=t(".menu-mobile"),i=1,b="facetFilter",v="txtComponentSearch",r="searchtext",k,d,c,l,a,g,y,nt,tt,e,o,s,it,rt,ut,h,ft,p,u,f,et,w,ot;st.on("click",function(){var n,i;t(this).parents(".stellarnav").removeClass("active");t(".main-nav-bar").hide();n=t(this).hasClass("search-active");n&&(t(this).removeClass("search-active"),t(this).parent(".search-icons").toggleClass("active"),i=t(this).parent(".search-icons").hasClass("active"),i?(t(this).parent(".search-icons").parent(".outer-search-icon").siblings(".menu-mobile").addClass("active"),t(this).parent(".search-icons").parent(".outer-search-icon").addClass("active"),t(this).parents("#tech-main-header").addClass("search-active")):(t(this).parent(".search-icons").parent(".outer-search-icon").siblings(".menu-mobile").removeClass("active"),t(this).parent(".search-icons").parent(".outer-search-icon").removeClass("active"),t(this).parents("#tech-main-header").removeClass("search-active")))});ht.on("click",function(){t(this).removeClass("active");t(this).siblings(".outer-search-icon").children(".search-icons").removeClass("active");t(this).siblings(".outer-search-icon").children(".search-icons").children("i").addClass("search-active");t(this).siblings(".outer-search-icon").removeClass("active");t("#tech-main-header").removeClass("search-active")});c=function(t){var i=new RegExp("[?&]"+t+"=([^&#]*)").exec(n.location.search);return i!==null?i[1]||"":""};t("#"+v).on("keypress",function(n){var f,u,i;if(n.keyCode==13)return f=c(r),u=jQuery(this).val(),u!=null&&u.length>=2&&(i=t(location)[0].origin,i=i+"/search?",i=i+r+"="+u,t(location).attr("href",i)),!1});t("#searchbox").on("keypress",function(n){var f,u,i;if(n.keyCode==13)return f=c(r),u=jQuery(this).val(),u!=null&&u.length>=2&&(i=t(location)[0].origin,i=i+"/search?",i=i+r+"="+u,t(location).attr("href",i)),!1});jQuery(document).ready(function(){var p=c(r),n,a,y;jQuery("#"+v).val(decodeURI(p));et()?(n=e(),i=jQuery("#txtPageNumber").val(),a=t("#"+b).find("li.facet-selected"),a.each(function(){t(this).data("facet-name")!="All"&&(n.SelectedFacets.push(t(this).data("facet-name")),y++)}),y>1&&l(!1),n=o(n),n.PageNo=i,n.CurrentPage=i,h(i),s(n)):jQuery("#txtPageNumber").val("1");jQuery("#ResultFound").val()=="1"&&(f(!1),u(!1));t("#totalCount").text(jQuery("#ResultFound").val());t("#searchKeyword").text(t("#txtComponentSearch").val())});l=function(n){n?t("#facet-all").addClass("facet-selected"):t("#facet-all").removeClass("facet-selected")};a=function(i){var a=decodeURI(c(r)),f=r+"=",v=t("#"+b).find("li.facet-selected"),o=0,s="&facets=",u,e="",h,l;v.each(function(){t(this).data("facet-name")!="All"&&(e+=t(this).data("facet-name")+"|");o++});h=g();l=!1;h&&(f+=a,l=!0);o>=1?(n.history.pushState("",document.title,n.location.pathname),e!=""?(s+=e,u=f+s):u=f,i>1&&(u+="&page="+i),u!=""&&n.history.pushState("",n.location.href,"?"+u)):n.history.pushState("",document.title,n.location.pathname)};g=function(){var n=t("#"+v).val();return n!=""&&n!="View Search"?!0:!1};jQuery(document).on("click","section.refine-container-container  ul > li",function(){var c=1,n=e(),r=0,v;t(this).data("facet-name")=="All"?(t(this).parent().find("li.facet-selected").each(function(){t(this).removeClass("facet-selected")}),n.SelectedFacets=[],l(!0)):(t(this).hasClass("facet-selected")?t(this).removeClass("facet-selected"):(t(this).addClass("facet-selected"),t("#facet-all").removeClass("facet-selected")),v=t(this).parent().find("li.facet-selected"),v.each(function(){t(this).data("facet-name")!="All"&&(n.SelectedFacets.push(t(this).data("facet-name")),r++)}),r>1?l(!1):r==0&&(l(!0),n.SelectedFacets=[]));i=c;f(!0);u(!1);n=o(n);n.PageNo=i;n.CurrentPage=i;h(i);s(n);a(c)});y=function(n){var i=t("#facetFilter ul li.facet-selected");return i.each(function(){t(this).data("facet-name")!="All"&&n.SelectedFacets.push(t(this).data("facet-name"))}),n};nt=function(){return t(".refine-container-container ul li")};tt=function(){var n=nt();n.each(function(){t(this).text(t(this).data("facet-name")+" (0)")})};e=function(){var n={};return n.SelectedFacets=[],n};o=function(n){return n.SearchText=t("#"+v).val(),n.PageSize=t("#resultPagesize").val(),n.LinkText=t("#readMoreText").val(),n};s=function(n){INFORMA.Spinner.Show(t("body"));jQuery.ajax({url:"/client/search/ComponentSearchResults",type:"POST",data:n,success:function(i){i.TotalPage<n.PageNo&&t("#facet-all").click();i&&i.Results&&i.Results.length>0&&i.Results.forEach(function(n){n.SubtitleLength=n.SubTitle.trim().length});d=Handlebars.compile(INFORMA.Templates.SiteWideSearch);k=d({Results:i.Results});jQuery("#totalPage").val(i.TotalPage);jQuery("#ResultFound").val(i.ResultFound);jQuery("#lblTotalPage").text(i.TotalPage);i.ResultFound>0?(jQuery("#searchResultListing").html(k),jQuery("#searchResultList").show(),jQuery(".no-result-hide").hide(),i.TotalPage==1&&(f(!1),u(!1))):(jQuery(".no-result").hide(),it());INFORMA.Spinner.Hide()},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})};it=function(){jQuery("#facetFilter").hide();jQuery("#searchResultList").hide();jQuery(".no-result-hide").show();tt()};rt=function(){var n=e(),t=p();return i>=1&&i<=t&&(i++,n=o(n),n=y(n),n.PageNo=i,n.CurrentPage=i,s(n),h(i),u(!0)),i==t&&f(!1),a(i),!1};ut=function(){var r=i,t,n;return i=jQuery("#txtPageNumber").val(),t=p(),parseInt(i)<=parseInt(t)?(n=e(),i>=1&&i<=t&&(n=o(n),n=y(n),n.PageNo=i,n.CurrentPage=i,s(n),h(i),u(!0)),i==t&&f(!1),a(i)):i=r,!1};h=function(n){jQuery("#txtPageNumber").val(n)};ft=function(){var n=e();return i>1&&(i--,n=o(n),n=y(n),n.PageNo=i,n.CurrentPage=i,s(n),h(i),f(!0)),i==1&&u(!1),a(i),!0};p=function(){return jQuery("#totalPage").val()};u=function(n){n?(jQuery("#btnPrePage").removeClass("disabled"),jQuery("#btnPrePage").attr("disabled",!1)):(jQuery("#btnPrePage").addClass("disabled"),jQuery("#btnPrePage").attr("disabled",!0))};f=function(n){n?(jQuery("#btnNextPage").removeClass("disabled"),jQuery("#btnNextPage").attr("disabled",!1)):(jQuery("#btnNextPage").addClass("disabled"),jQuery("#btnNextPage").attr("disabled",!0))};et=function(){var t=n.location.href.split("?");return t.length>1?!0:!1};w=function(n){if(n.length>=2){var i=t(location)[0].origin;i=i+"/search?";i=i+r+"="+n;t(location).attr("href",i)}};t("#txtPageNumber").on("keyup",function(n){var t=n.keyCode?n.keyCode:n.which;t=="13"&&document.getElementById("myBtn").click()});t(".hot-port-container").slick({centerMode:!0,centerPadding:"60px",slidesToShow:3,infinite:!0,speed:300,adaptiveHeight:!0,responsive:[{breakpoint:900,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:2}},{breakpoint:480,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:1}}]});t("#topNavSearch").click(function(){var n=t("#searchbox").val();w(n)});t("#searchPage").click(function(){var n=t("#txtComponentSearch").val();w(n)});t("#btnPrePage").on("click",function(){ft()});t("#myBtn").on("click",function(){ut()});t("#btnNextPage").on("click",function(){rt()});return ot=function(){},{init:ot}}(this,jQuery,"INFORMA");jQuery(INFORMA.TechSearch.init());INFORMA=window.INFORMA||{};INFORMA.trainingMaterial=function(n,t){"use strict";var i=t(".slick-carousel"),r,u;return u=function(n){var t=n.data("itemsperframe"),i=Boolean(n.data("autorotate")),r=n.data("transitionspeed"),u=n.data("slideduration"),f=Boolean(n.data("pagination"));n.slick({infinite:!0,autoplay:i,autoplaySpeed:u,slidesToShow:t,slidesToScroll:t,speed:r,dots:f,adaptiveHeight:!0,arrows:!0,swipe:INFORMA.global.device.isDesktop?!1:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})},r=function(){i.length>0&&u(i)},{init:r}}(this,$INFORMA=jQuery.noConflict(),"INFORMA");jQuery(INFORMA.trainingMaterial.init());INFORMA=window.INFORMA||{};INFORMA.videoBackground=function(n,t){"use strict";function y(n){(INFORMA.global.device.viewport=="desktop"||INFORMA.global.device.viewportN==0)&&(n.target.playVideo(),n.target.setVolume(s))}var v=t(".hero-banner .videoBG"),u,i,r,f,e,o,s,h,c,l,a=t(".hero-banner-carousel .slider-component");return l=function(){a.length==0&&v.each(function(){var u,l,a,v,p,w,n,y;if(i=t(this).attr("data-videotype"),i=="youtube")r=t(this).attr("data-videoid"),s=t(this).attr("data-videosound"),u=document.createElement("div"),u.id="youtubePlayer",t(this).append(u),l=document.createElement("script"),l.src="https://www.youtube.com/iframe_api",a=document.getElementById("youtubePlayer"),a.parentNode.insertBefore(l,a.nextSibling);else if(i=="vimeo")e=t(this).attr("data-videoid"),c=t(this).attr("data-videosound"),v=document.createElement("div"),v.id="vimeoPlayer",t(this).append(v),p={id:e,autoplay:!0,loop:!0},w=new Vimeo.Player("vimeoPlayer",p),w.setVolume(c),INFORMA.global.device.viewportN==2&&(t(".videoBG_wrapper").css("height","80%"),t(".block-centered").css("transform","translateY(-40%)")),INFORMA.global.device.viewportN==1&&(t("section.hero-banner").addClass("vimeo-video-banner"),t(".videoBG_wrapper").css("height","80%"),t(".block-centered").css("transform","translateY(-25%)"));else if(i=="wistia"&&(o=t(this).attr("data-videourl"),f=t(this).attr("data-videoid"),h=t(this).attr("data-videosound"),n=document.createElement("iframe"),n.id="wistiaEmbed",n.class="wistia_embed",n.name="wistia_embed",n.src=o+"/embed/iframe/"+f+"?autoplay=1&playbar=false&smallPlayButton=false&fullscreenButton=false&volumeControl=false&endVideoBehavior=loop&volume="+h,t(this).append(n),(INFORMA.global.device.viewportN==1||INFORMA.global.device.viewportN==2)&&(y=t(".videoBG_wrapper"),y.length>0)))y.on("click",function(){var n=document.getElementById("wistiaEmbed").wistiaApi;n.play()})})},a.length==0&&(n.onYouTubeIframeAPIReady=function(){var n=new YT.Player("youtubePlayer",{videoId:r,playerVars:{modestbranding:0,autoplay:1,controls:1,loop:1,wmode:"opaque",playlist:r,showinfo:0},events:{onReady:y}})}),u=function(){l()},{init:u}}(this,jQuery,"INFORMA");jQuery(INFORMA.videoBackground.init());INFORMA=window.INFORMA||{};INFORMA.videoFull=function(n,t){"use strict";function e(n,t){setTimeout(function(){var r=document.getElementById(n),i=new Vimeo.Player(r);i.ready().then(function(){i.setVolume(t)})},1e3)}var o=t(".video-full-container .video-img,.video-full-container .play-icon,.video-full-container h1,.video-full-container h2,.video-full-container h3,.video-full-container h4,.video-full-container h5,.video-full-container h6"),r="../../Static/images/video/video-thumb-default.png",s=t(".mobile-aspectratio .embed-responsive").attr("data-autoplaydelay"),e,u,i,f;return f=function(){o.click(function(n){var r=t(this).parent().find("img"),f=r.attr("data-videotype"),a=r.attr("data-videourl"),l=r.attr("data-videoautoplay"),u=r.attr("data-videocontrol"),v=r.attr("data-volume"),o=r.attr("data-rel"),s=r.attr("id"),h,c;if(l=="false"){l=1;switch(u){case"true":u=1;break;case"false":u=0;break;default:u=0}switch(o){case"true":o=0;break;case"false":o=1;break;default:o=0}switch(f){case"youtube":i="<iframe id="+s+'  width="100%" src="'+a+"?enablejsapi=1&autoplay="+l+"&controls="+u+"&rel="+o+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>';break;case"vimeo":i="<iframe id="+s+' width="100%"  src="'+a+"?api=1&player_id=vmplayer&autoplay="+l+"&controls="+u+'" frameborder="0" allow="autoplay" allowfullscreen><\/iframe>';break;case"wistia":i="<iframe id="+s+' width="100%" height="'+r.attr("height")+'" src="'+a+'?autoPlay=true" frameborder="0" allowfullscreen><\/iframe>';break;default:i="<iframe id="+s+' width="100%" src="'+a+"?enablejsapi=1&autoplay="+l+"&controls="+u+"&rel="+o+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>'}r.replaceWith(i);(f=="youtube"||f==" "||f==undefined||f==null)&&(h=document.createElement("script"),h.src="https://www.youtube.com/iframe_api",c=document.getElementsByTagName("script")[0],c.parentNode.insertBefore(h,c),onYouTubeIframeAPIReady(s,v));f=="vimeo"&&(h=document.createElement("script"),h.src="https://player.vimeo.com/api/player.js",c=document.getElementsByTagName("script")[0],c.parentNode.insertBefore(h,c),e(s,v/100));n.target.remove()}})},n.onYouTubeIframeAPIReady=function(){setTimeout(function(){var n=t(".embed-responsive").hasClass("isvideo");if(n)var i=t(".isvideo").attr("data-id"),r=t(".isvideo").attr("data-volume"),u=new YT.Player(i,{events:{onReady:function(n){n.target.setVolume(r)}}})},1e3)},t(n).scroll(function(){setTimeout(function(){t(".embed-responsive img").each(function(){var v=t(this).attr("src"),l=t(this).attr("data-videotype"),a=t(this).attr("data-videourl"),o=t(this).attr("data-videoautoplay"),u=t(this).attr("data-videocontrol"),y=t(this).attr("data-volume"),s=t(this).attr("id"),f=t(this).attr("data-rel"),b=t(this).attr("data-autoplaydelay"),p=t(this).offset().top,w=n.scrollY,h,c;if(o=="true"&&w>p-300){(v==""||v==undefined||v==null)&&t(this).attr("src",r);t(this).parent(".embed-responsive").attr("data-id",s);t(this).parent(".embed-responsive").attr("data-volume",y);t(this).parent(".embed-responsive").attr("data-videoautoplay",o);t(this).parent(".embed-responsive").attr("data-rel",f);t(this).parent(".embed-responsive").addClass("isvideo");o=1;switch(u){case"true":u=1;break;case"false":u=0;break;default:u=0}switch(f){case"true":f=0;break;case"false":f=1;break;default:f=0}switch(l){case"youtube":i="<iframe id="+s+'  width="100%" src="'+a+"?enablejsapi=1&autoplay="+o+"&controls="+u+"&rel="+f+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>';break;case"vimeo":i="<iframe id="+s+' width="100%"  src="'+a+"?api=1&player_id=vmplayer&autoplay="+o+"&controls="+u+'" frameborder="0" allow="autoplay" allowfullscreen><\/iframe>';break;case"wistia":i="<iframe id="+s+' width="100%" height="'+videoImg.attr("height")+'" src="'+a+'?autoPlay=true" frameborder="0" allowfullscreen><\/iframe>';break;default:i="<iframe id="+s+' width="100%" src="'+a+"?enablejsapi=1&autoplay="+o+"&controls="+u+"&rel="+f+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>'}t(this).replaceWith(i);(l=="youtube"||l==" "||l==undefined)&&(h=document.createElement("script"),h.src="https://www.youtube.com/iframe_api",c=document.getElementsByTagName("script")[0],c.parentNode.insertBefore(h,c));l=="vimeo"&&(h=document.createElement("script"),h.src="https://player.vimeo.com/api/player.js",c=document.getElementsByTagName("script")[0],c.parentNode.insertBefore(h,c),e(s,y/100))}})},s)}),t(".embed-responsive img").each(function(){var n=t(this).attr("src");(n==""||n==undefined||n==null)&&t(this).attr("src",r)}),u=function(){f()},{init:u}}(this,jQuery,"INFORMA");jQuery(INFORMA.videoFull.init());INFORMA=window.INFORMA||{};INFORMA.videoMini=function(n,t){"use strict";var h=t(".video-mini-container .video-img"),u=t(".video-mini-container .play-icon"),r=t("#videoMiniModal"),c=t(".video-mini-close"),i,f,e,o,s;return o=function(){u.click(function(){var n=t(this).parent().find("img");n.attr("data-videotype")=="youtube"?i='<iframe width="100%" src="'+n.attr("data-videourl")+'" frameborder="0" allowfullscreen><\/iframe>':n.attr("data-videotype")=="vimeo"?i='<iframe width="100%" src="'+n.attr("data-videourl")+'" frameborder="0" allowfullscreen><\/iframe>':n.attr("data-videotype")=="wistia"&&(i='<iframe width="100%" src="'+n.attr("data-videourl")+'" frameborder="0" allowfullscreen><\/iframe>');r.find(".modal-body .video-mini-player").html(i);r.modal("show");t(this).parents(".video-mini-container").find(".play-icon").hide()})},e=function(){h.click(function(){t(this).attr("data-videotype")=="youtube"?i='<iframe width="100%" height="'+t(this).attr("height")+'" src="'+t(this).attr("data-videourl")+'" frameborder="0" allowfullscreen><\/iframe>':t(this).attr("data-videotype")=="vimeo"?i='<iframe width="100%" height="'+t(this).attr("height")+'" src="'+t(this).attr("data-videourl")+'" frameborder="0" allowfullscreen><\/iframe>':t(this).attr("data-videotype")=="wistia"&&(i='<iframe width="100%" height="'+t(this).attr("height")+'" src="'+t(this).attr("data-videourl")+'" frameborder="0" allowfullscreen><\/iframe>');r.find(".modal-body .video-mini-player").html(i);r.modal("show");u.hide()})},s=function(){c.click(function(){u.show();t(this).parents(".video-mini-modal").find("iframe").remove()})},f=function(){e();o();s()},{init:f}}(this,jQuery,"INFORMA");jQuery(INFORMA.videoMini.init());INFORMA=window.INFORMA||{};INFORMA.worldchart=function(n,t){"use strict";var f,p=INFORMA.Configs.urls.webservices,w=t(".world-chart-background").data("source"),b=t(".world-chart-background").data("chart-type"),e=t(".move-image-container"),v=t(".move-image-container a"),o,r,s,u,h,c,i=0,l,y=[{latitude:59.334591,longitude:18.06324},{latitude:52.237049,longitude:21.017532},{latitude:48.210033,longitude:16.363449},{latitude:41.902782,longitude:12.496366},{latitude:48.864716,longitude:2.349014},{latitude:53.35014,longitude:-6.266155},],a=[{title:"Austria",id:"AT",color:"#233e90"},{title:"Ireland",id:"IE",color:"#233e90"},{title:"Finland",id:"FI",color:"#233e90"},{title:"Sweden",id:"SE",color:"#233e90"},{title:"Italy",id:"IT",color:"#233e90"},{title:"France",id:"FR",color:"#233e90"},{title:"Spain",id:"ES",color:"#233e90"},{title:"Greece",id:"GR",color:"#233e90"},{title:"Germany",id:"DE",color:"#233e90"},{title:"Belgium",id:"BE",color:"#233e90"},{title:"Netherlands",id:"NL",color:"#233e90"},{title:"Portugal",id:"PT",color:"#233e90"},{title:"Lithuania",id:"LT",color:"#233e90"},{title:"Latvia",id:"LV",color:"#233e90"},{title:"Czech Republic ",id:"CZ",color:"#233e90"},{title:"Slovakia",id:"SK",color:"#233e90"},{title:"Slovenia",id:"SI",color:"#233e90"},{title:"Estonia",id:"EE",color:"#233e90"},{title:"Hungary",id:"HU",color:"#233e90"},{title:"Poland",id:"PL",color:"#233e90"},{title:"Romania",id:"RO",color:"#233e90"},{title:"Bulgaria",id:"BG",color:"#233e90"},{title:"Croatia",id:"HR",color:"#233e90"},{title:"switzerland",id:"SW",color:"#233e90"}];return o=function(){t(".world-chart-background").length>0&&t(".inf-world-chart-section").length>0&&(r=JSON.parse(t(".world-chart-background").find("input[type=hidden]").val()),t(".inf-world-chart-section p").append(r.Heading),s())},s=function(){function c(){var n=[];return t.each(y,function(t,i){n.push(l(i.latitude,i.longitude))}),n}function l(n,t){return{latitude:n,longitude:t,imageURL:"../../Static/images/star.svg",width:i().Width,height:i().Height,balloonText:!1}}function s(n,t){if(typeof n.length!="undefined")for(var i=0;i<n.length;i++)s(n[i],t);else t.push(n)}function i(){var t={Width:16,Height:16,balloonHorizontalPadding:60,balloonMaxwidth:320,Zoom:1,dragMap:!1},i=n.screen.width;return i>=320&&i<767?(t.Width=8,t.Height=8,t.balloonHorizontalPadding=20,t.balloonMaxwidth=140,t.Zoom=1,t.dragMap=!0,t):t}var e=[],h=r.FacetList[0].SectionList,o=[],f;t.each(h,function(n,t){t.width=35;t.height=35;t.scale=1;t.imageURL="../../Static/images/circle.gif";o.push(t)});r.IsdisplayEurozone===!0?f=c():(f=[],a=[]);f.push(o);s(f,e);u=AmCharts.makeChart("inf-world-chart-wrapper",{type:"map",hideCredits:"true",zoomOnDoubleClick:!1,dragMap:i().dragMap,projection:"miller",dataProvider:{map:"worldLow",getAreasFromMap:!1,zoomLevel:i().Zoom,areas:a,images:e},responsive:{enabled:!0},zoomControl:{homeButtonEnabled:!1,zoomControlEnabled:!1,panControlEnabled:!1},areasSettings:{autoZoom:!1,outlineThickness:"0.1",adjustOutlineThickness:!0,unlistedAreasColor:"#d9d7e3",balloonText:!1},imagesSettings:{balloonText:"<span class='tooltip-text'>[[title]] [[value]]<\/span>"},balloon:{adjustBorderColor:!0,animationDuration:2,borderAlpha:0,borderColor:"",borderThickness:0,cornerRadius:6,fillColor:"#ab3192",fillAlpha:"1",fixedPosition:!0,horizontalPadding:i().balloonHorizontalPadding,maxWidth:i().balloonMaxwidth,pointerWidth:0,shadowAlpha:0,textAlign:"middle",verticalPadding:10},listeners:[{event:"descriptionClosed",method:function(n){n.chart.selectObject()}}]})},h=function(){t(".chart-expand").click(function(){var n=t(this).hasClass("zoom-out");n?(t(this).removeClass("zoom-out zoom-in"),t(this).addClass("zoom-in"),u.zoomOut(),e.hide(),t(".amcharts-main-div").css({"margin-left":"0px"})):(t(this).removeClass("zoom-in zoom-out"),t(this).addClass("zoom-out"),u.zoomIn(),e.show())})},c=function(){v.click(function(){var n=t(this).attr("class");n=="move-left"&&(i=i+50,t(".amcharts-main-div").animate({marginLeft:i+"px"}));n=="move-right"&&(i=i-50,t(".amcharts-main-div").animate({marginLeft:i+"px"}))})},l=function(){t(".world-chart-read-more").click(function(){var n=t(this).data("ga-category"),i=t(this).data("ga-action"),r=t(this).data("ga-label"),u=t(this).data("ga-value");INFORMA.Analytics.trackEvents(n,i,r,u)})},f=function(){o();h();c();l()},{init:f}}(this,jQuery,"INFORMA");jQuery(INFORMA.worldchart.init())