Mercurial > repos > bgruening > hicup_truncater
diff test-data/HiCUP_summary_report.html @ 4:17f80a8600ac draft
planemo upload for repository https://github.com/joachimwolff/galaxytools/tree/hicup/tools/hicup commit 22eec1b3b20b788e762837c02488f332f831fab3
author | bgruening |
---|---|
date | Fri, 25 May 2018 17:50:43 -0400 |
parents | |
children | 30b199ed897d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/HiCUP_summary_report.html Fri May 25 17:50:43 2018 -0400 @@ -0,0 +1,661 @@ +<!DOCTYPE html> +<html> +<head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <title>HiCUP Processing Report - dataset1_2</title> + <style type="text/css"> + body { + font-family: Arial, sans-serif; + font-size:14px; + padding:0 20px 20px; + } + .container { + margin:0 auto; + max-width:1200px; + } + .header_title { + float:left; + } + .header_subtitle { + float:right; + text-align:right; + margin-top:40px; + } + .header_subtitle h4, + .header_subtitle p { + margin:0; + } + h1 { + font-size: 3.2em; + } + h2 { + font-size:2.2em; + } + h3 { + font-size:1.8em; + } + h4 { + font-size:1.4em; + } + h3, h4, hr { + clear:both; + } + hr { + border-top:1px solid #CCC; + border-bottom:1px solid #F3F3F3; + border-left:0; + border-right:0; + height:0; + } + a img { + border:0; + } + .data { + float:left; + width:500px; + max-width:100%; + margin-right:30px; + } + .data_table { + border:1px solid #CCC; + border-collapse:separate; + border-spacing: 0; + border-left:0; + -webkit-border-radius:4px; + -moz-border-radius:4px; + border-radius:4px; + margin-bottom:30px; + } + .data_table th, .data_table td { + border-left:1px solid #CCC; + border-top:1px solid #CCC; + padding:5px 7px; + } + .data_table thead tr th, + .data_table thead tr td { + text-align:right; + border-top:0; + border-bottom: 2px solid #666; + } + .data_table tbody tr:first-child th, + .data_table tbody tr:first-child td { + border-top:0; + } + + .data_table th { + text-align:left; + } + .data_table td { + text-align:right; + } + .data_table tfoot th, + .data_table tfoot td { + border-top: 2px solid #666; + } + + .plot { + width:650px; + max-width:100%; + float:left; + margin-bottom:30px; + } + #ditag_length_plot { + width:100%; + height:600px; + } + + footer { + color:#999; + } + footer a { + color:#999; + } + </style> +</head> +<body> + <script> + /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license + //@ sourceMappingURL=jquery-1.10.2.min.map + */ + (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t + }({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); + u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window); + + /* Highcharts JS v3.0.4 (2013-08-02) (c) 2009-2013 Torstein Hønsi + License: www.highcharts.com/license */ + (function(){function e(e,t){var n;e||(e={});for(n in t)e[n]=t[n];return e}function t(){var e,t=arguments.length,n={},r=function(e,t){var n,i;typeof e!=="object"&&(e={});for(i in t)t.hasOwnProperty(i)&&(n=t[i],e[i]=n&&typeof n==="object"&&Object.prototype.toString.call(n)!=="[object Array]"&&typeof n.nodeType!=="number"?r(e[i]||{},n):t[i]);return e};for(e=0;e<t;e++)n=r(n,arguments[e]);return n}function n(e,t){return parseInt(e,t||10)}function r(e){return typeof e==="string"}function i(e){return typeof e==="object"}function s(e){return Object.prototype.toString.call(e)==="[object Array]"}function o(e){return typeof e==="number"}function u(e){return $.log(e)/$.LN10}function a(e){return $.pow(10,e)}function f(e,t){for(var n=e.length;n--;)if(e[n]===t){e.splice(n,1);break}}function l(e){return e!==W&&e!==null}function c(e,t,n){var s,o;if(r(t))l(n)?e.setAttribute(t,n):e&&e.getAttribute&&(o=e.getAttribute(t));else if(l(t)&&i(t))for(s in t)e.setAttribute(s,t[s]);return o}function h(e){return s(e)?e:[e]}function p(){var e=arguments,t,n,r=e.length;for(t=0;t<r;t++)if(n=e[t],typeof n!=="undefined"&&n!==null)return n}function d(t,n){if(ot&&n&&n.opacity!==W)n.filter="alpha(opacity="+n.opacity*100+")";e(t.style,n)}function v(t,n,r,i,s){t=X.createElement(t);n&&e(t,n);s&&d(t,{padding:0,border:Lt,margin:0});r&&d(t,r);i&&i.appendChild(t);return t}function m(t,n){var r=function(){};r.prototype=new t;e(r.prototype,n);return r}function g(e,t,r,i){var s=wt.lang,e=+e||0,o=t===-1?(e.toString().split(".")[1]||"").length:isNaN(t=Z(t))?2:t,t=r===void 0?s.decimalPoint:r,i=i===void 0?s.thousandsSep:i,s=e<0?"-":"",r=String(n(e=Z(e).toFixed(o))),u=r.length>3?r.length%3:0;return s+(u?r.substr(0,u)+i:"")+r.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+i)+(o?t+Z(e-r).toFixed(o).slice(2):"")}function y(e,t){return Array((t||2)+1-String(e).length).join(0)+e}function b(e,t,n){var r=e[t];e[t]=function(){var e=Array.prototype.slice.call(arguments);e.unshift(r);return n.apply(this,e)}}function w(e,t){for(var n="{",r=!1,i,s,o,u,a,f=[];(n=e.indexOf(n))!==-1;){i=e.slice(0,n);if(r){s=i.split(":");o=s.shift().split(".");a=o.length;i=t;for(u=0;u<a;u++)i=i[o[u]];if(s.length)s=s.join(":"),o=/\.([0-9])/,u=wt.lang,a=void 0,/f$/.test(s)?(a=(a=s.match(o))?a[1]:-1,i=g(i,a,u.decimalPoint,s.indexOf(",")>-1?u.thousandsSep:"")):i=Et(s,i)}f.push(i);e=e.slice(n+1);n=(r=!r)?"}":"{"}f.push(e);return f.join("")}function E(e){return $.pow(10,K($.log(e)/$.LN10))}function S(e,t,n,r){var i,n=p(n,1);i=e/n;t||(t=[1,2,2.5,5,10],r&&r.allowDecimals===!1&&(n===1?t=[1,2,5,10]:n<=.1&&(t=[1/n])));for(r=0;r<t.length;r++)if(e=t[r],i<=(t[r]+(t[r+1]||t[r]))/2)break;e*=n;return e}function x(e,t){var n=t||[[Ot,[1,2,5,10,20,25,50,100,200,500]],[Mt,[1,2,5,10,15,30]],[_t,[1,2,5,10,15,30]],[Dt,[1,2,3,4,6,8,12]],[Pt,[1,2]],[Ht,[1,2]],[Bt,[1,2,3,4,6]],[jt,null]],r=n[n.length-1],i=Tt[r[0]],s=r[1],o;for(o=0;o<n.length;o++)if(r=n[o],i=Tt[r[0]],s=r[1],n[o+1]&&e<=(i*s[s.length-1]+Tt[n[o+1][0]])/2)break;i===Tt[jt]&&e<5*i&&(s=[1,2,5]);i===Tt[jt]&&e<5*i&&(s=[1,2,5]);n=S(e/i,s,r[0]===jt?E(e/i):1);return{unitRange:i,count:n,unitName:r[0]}}function T(t,n,r,i){var s=[],o={},u=wt.global.useUTC,a,f=new Date(n),c=t.unitRange,h=t.count;if(l(n)){c>=Tt[Mt]&&(f.setMilliseconds(0),f.setSeconds(c>=Tt[_t]?0:h*K(f.getSeconds()/h)));if(c>=Tt[_t])f[Vt](c>=Tt[Dt]?0:h*K(f[qt]()/h));if(c>=Tt[Dt])f[$t](c>=Tt[Pt]?0:h*K(f[Rt]()/h));if(c>=Tt[Pt])f[Jt](c>=Tt[Bt]?1:h*K(f[zt]()/h));c>=Tt[Bt]&&(f[Kt](c>=Tt[jt]?0:h*K(f[Wt]()/h)),a=f[Xt]());c>=Tt[jt]&&(a-=a%h,f[Qt](a));if(c===Tt[Ht])f[Jt](f[zt]()-f[Ut]()+p(i,1));n=1;a=f[Xt]();for(var i=f.getTime(),d=f[Wt](),v=f[zt](),m=u?0:(864e5+f.getTimezoneOffset()*6e4)%864e5;i<r;)s.push(i),c===Tt[jt]?i=It(a+n*h,0):c===Tt[Bt]?i=It(a,d+n*h):!u&&(c===Tt[Pt]||c===Tt[Ht])?i=It(a,d,v+n*h*(c===Tt[Pt]?1:7)):i+=c*h,n++;s.push(i);rn(sn(s,function(e){return c<=Tt[Dt]&&e%Tt[Pt]===m}),function(e){o[e]=Pt})}s.info=e(t,{higherRanks:o,totalRange:c*h});return s}function N(){this.symbol=this.color=0}function C(e,t){var n=e.length,r,i;for(i=0;i<n;i++)e[i].ss_i=i;e.sort(function(e,n){r=t(e,n);return r===0?e.ss_i-n.ss_i:r});for(i=0;i<n;i++)delete e[i].ss_i}function k(e){for(var t=e.length,n=e[0];t--;)e[t]<n&&(n=e[t]);return n}function L(e){for(var t=e.length,n=e[0];t--;)e[t]>n&&(n=e[t]);return n}function A(e,t){for(var n in e)e[n]&&e[n]!==t&&e[n].destroy&&e[n].destroy(),delete e[n]}function O(e){bt||(bt=v(kt));e&&bt.appendChild(e);bt.innerHTML=""}function M(e,t){var n="Highcharts error #"+e+": www.highcharts.com/errors/"+e;if(t)throw n;else V.console&&console.log(n)}function _(e){return parseFloat(e.toPrecision(14))}function D(e,t){St=p(e,t.animation)}function P(){var e=wt.global.useUTC,t=e?"getUTC":"get",n=e?"setUTC":"set";It=e?Date.UTC:function(e,t,n,r,i,s){return(new Date(e,t,p(n,1),p(r,0),p(i,0),p(s,0))).getTime()};qt=t+"Minutes";Rt=t+"Hours";Ut=t+"Day";zt=t+"Date";Wt=t+"Month";Xt=t+"FullYear";Vt=n+"Minutes";$t=n+"Hours";Jt=n+"Date";Kt=n+"Month";Qt=n+"FullYear"}function H(){}function B(e,t,n,r){this.axis=e;this.pos=t;this.type=n||"";this.isNew=!0;!n&&!r&&this.addLabel()}function j(e,t){this.axis=e;if(t)this.options=t,this.id=t.id}function F(e,t,n,r,i,s){var o=e.chart.inverted;this.axis=e;this.isNegative=n;this.options=t;this.x=r;this.total=0;this.points={};this.stack=i;this.percent=s==="percent";this.alignOptions={align:t.align||(o?n?"left":"right":"center"),verticalAlign:t.verticalAlign||(o?"middle":n?"bottom":"top"),y:p(t.y,o?4:n?14:-6),x:p(t.x,o?n?-6:6:0)};this.textAlign=t.textAlign||(o?n?"right":"left":"center")}function I(){this.init.apply(this,arguments)}function q(){this.init.apply(this,arguments)}function R(e,t){this.init(e,t)}function U(e,t){this.init(e,t)}function z(){this.init.apply(this,arguments)}var W,X=document,V=window,$=Math,J=$.round,K=$.floor,Q=$.ceil,G=$.max,Y=$.min,Z=$.abs,et=$.cos,tt=$.sin,nt=$.PI,rt=nt*2/360,it=navigator.userAgent,st=V.opera,ot=/msie/i.test(it)&&!st,ut=X.documentMode===8,at=/AppleWebKit/.test(it),ft=/Firefox/.test(it),lt=/(Mobile|Android|Windows Phone)/.test(it),ct="http://www.w3.org/2000/svg",ht=!!X.createElementNS&&!!X.createElementNS(ct,"svg").createSVGRect,pt=ft&&parseInt(it.split("Firefox/")[1],10)<4,dt=!ht&&!ot&&!!X.createElement("canvas").getContext,vt,mt=X.documentElement.ontouchstart!==W,gt={},yt=0,bt,wt,Et,St,xt,Tt,Nt=function(){},Ct=[],kt="div",Lt="none",At="rgba(192,192,192,"+(ht?1e-4:.002)+")",Ot="millisecond",Mt="second",_t="minute",Dt="hour",Pt="day",Ht="week",Bt="month",jt="year",Ft="stroke-width",It,qt,Rt,Ut,zt,Wt,Xt,Vt,$t,Jt,Kt,Qt,Gt={};V.Highcharts=V.Highcharts?M(16,!0):{};Et=function(t,n,r){if(!l(n)||isNaN(n))return"Invalid date";var t=p(t,"%Y-%m-%d %H:%M:%S"),i=new Date(n),s,o=i[Rt](),u=i[Ut](),a=i[zt](),f=i[Wt](),c=i[Xt](),h=wt.lang,d=h.weekdays,i=e({a:d[u].substr(0,3),A:d[u],d:y(a),e:a,b:h.shortMonths[f],B:h.months[f],m:y(f+1),y:c.toString().substr(2,2),Y:c,H:y(o),I:y(o%12||12),l:o%12||12,M:y(i[qt]()),p:o<12?"AM":"PM",P:o<12?"am":"pm",S:y(i.getSeconds()),L:y(J(n%1e3),3)},Highcharts.dateFormats);for(s in i)for(;t.indexOf("%"+s)!==-1;)t=t.replace("%"+s,typeof i[s]==="function"?i[s](n):i[s]);return r?t.substr(0,1).toUpperCase()+t.substr(1):t};N.prototype={wrapColor:function(e){if(this.color>=e)this.color=0},wrapSymbol:function(e){if(this.symbol>=e)this.symbol=0}};Tt=function(){for(var e=0,t=arguments,n=t.length,r={};e<n;e++)r[t[e++]]=t[e];return r}(Ot,1,Mt,1e3,_t,6e4,Dt,36e5,Pt,864e5,Ht,6048e5,Bt,26784e5,jt,31556952e3);xt={init:function(e,t,n){var t=t||"",r=e.shift,i=t.indexOf("C")>-1,s=i?7:3,o,t=t.split(" "),n=[].concat(n),u,a,f=function(e){for(o=e.length;o--;)e[o]==="M"&&e.splice(o+1,0,e[o+1],e[o+2],e[o+1],e[o+2])};i&&(f(t),f(n));e.isArea&&(u=t.splice(t.length-6,6),a=n.splice(n.length-6,6));if(r<=n.length/s)for(;r--;)n=[].concat(n).splice(0,s).concat(n);e.shift=0;if(t.length)for(e=n.length;t.length<e;)r=[].concat(t).splice(t.length-s,s),i&&(r[s-6]=r[s-2],r[s-5]=r[s-1]),t=t.concat(r);u&&(t=t.concat(u),n=n.concat(a));return[t,n]},step:function(e,t,n,r){var i=[],s=e.length;if(n===1)i=r;else if(s===t.length&&n<1)for(;s--;)r=parseFloat(e[s]),i[s]=isNaN(r)?e[s]:n*parseFloat(t[s]-r)+r;else i=t;return i}};(function(t){V.HighchartsAdapter=V.HighchartsAdapter||t&&{init:function(e){var n=t.fx,i=n.step,s,o=t.Tween,u=o&&o.propHooks;s=t.cssHooks.opacity;t.extend(t.easing,{easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n}});t.each(["cur","_default","width","height","opacity"],function(e,t){var r=i,s,a;t==="cur"?r=n.prototype:t==="_default"&&o&&(r=u[t],t="set");(s=r[t])&&(r[t]=function(n){n=e?n:this;a=n.elem;return a.attr?a.attr(n.prop,t==="cur"?W:n.now):s.apply(this,arguments)})});b(s,"get",function(e,t,n){return t.attr?t.opacity||0:e.call(this,t,n)});s=function(t){var n=t.elem,r;if(!t.started)r=e.init(n,n.d,n.toD),t.start=r[0],t.end=r[1],t.started=!0;n.attr("d",e.step(t.start,t.end,t.pos,n.toD))};o?u.d={set:s}:i.d=s;this.each=Array.prototype.forEach?function(e,t){return Array.prototype.forEach.call(e,t)}:function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.call(e[n],e[n],n,e)===!1)return n};t.fn.highcharts=function(){var e="Chart",t=arguments,n,i;r(t[0])&&(e=t[0],t=Array.prototype.slice.call(t,1));n=t[0];if(n!==W)n.chart=n.chart||{},n.chart.renderTo=this[0],new Highcharts[e](n,t[1]),i=this;n===W&&(i=Ct[c(this[0],"data-highcharts-chart")]);return i}},getScript:t.getScript,inArray:t.inArray,adapterRun:function(e,n){return t(e)[n]()},grep:t.grep,map:function(e,t){for(var n=[],r=0,i=e.length;r<i;r++)n[r]=t.call(e[r],e[r],r,e);return n},offset:function(e){return t(e).offset()},addEvent:function(e,n,r){t(e).bind(n,r)},removeEvent:function(e,n,r){var i=X.removeEventListener?"removeEventListener":"detachEvent";X[i]&&e&&!e[i]&&(e[i]=function(){});t(e).unbind(n,r)},fireEvent:function(n,r,i,s){var o=t.Event(r),u="detached"+r,a;!ot&&i&&(delete i.layerX,delete i.layerY);e(o,i);n[r]&&(n[u]=n[r],n[r]=null);t.each(["preventDefault","stopPropagation"],function(e,t){var n=o[t];o[t]=function(){try{n.call(o)}catch(e){t==="preventDefault"&&(a=!0)}}});t(n).trigger(o);n[u]&&(n[r]=n[u],n[u]=null);s&&!o.isDefaultPrevented()&&!a&&s(o)},washMouseEvent:function(e){var t=e.originalEvent||e;if(t.pageX===W)t.pageX=e.pageX,t.pageY=e.pageY;return t},animate:function(e,n,r){var i=t(e);if(!e.style)e.style={};if(n.d)e.toD=n.d,n.d=1;i.stop();i.animate(n,r)},stop:function(e){t(e).stop()}}})(V.jQuery);var Yt=V.HighchartsAdapter,Zt=Yt||{};Yt&&Yt.init.call(Yt,xt);var en=Zt.adapterRun,tn=Zt.getScript,nn=Zt.inArray,rn=Zt.each,sn=Zt.grep,on=Zt.offset,un=Zt.map,an=Zt.addEvent,fn=Zt.removeEvent,ln=Zt.fireEvent,cn=Zt.washMouseEvent,hn=Zt.animate,pn=Zt.stop,Zt={enabled:!0,x:0,y:15,style:{color:"#666",cursor:"default",fontSize:"11px",lineHeight:"14px"}};wt={colors:"#2f7ed8,#0d233a,#8bbc21,#910000,#1aadce,#492970,#f28f43,#77a1e5,#c42525,#a6c96a".split(","),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),shortMonths:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),decimalPoint:".",numericSymbols:"k,M,G,T,P,E".split(","),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:","},global:{useUTC:!0,canvasToolsURL:"http://code.highcharts.com/3.0.4/modules/canvas-tools.js",VMLRadialGradientURL:"http://code.highcharts.com/3.0.4/gfx/vml-radial-gradient.png"},chart:{borderColor:"#4572A7",borderRadius:5,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacingTop:10,spacingRight:10,spacingBottom:15,spacingLeft:10,style:{fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',fontSize:"12px"},backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0",resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}}},title:{text:"Chart title",align:"center",margin:15,style:{color:"#274b6d",fontSize:"16px"}},subtitle:{text:"",align:"center",style:{color:"#4d759e"}},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},lineWidth:2,marker:{enabled:!0,lineWidth:0,radius:4,lineColor:"#FFFFFF",states:{hover:{enabled:!0},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:t(Zt,{align:"center",enabled:!1,formatter:function(){return this.y===null?"":g(this.y,-1)},verticalAlign:"bottom",y:0}),cropThreshold:300,pointRange:0,showInLegend:!0,states:{hover:{marker:{}},select:{marker:{}}},stickyTracking:!0}},labels:{style:{position:"absolute",color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderWidth:1,borderColor:"#909090",borderRadius:5,navigation:{activeColor:"#274b6d",inactiveColor:"#CCC"},shadow:!1,itemStyle:{cursor:"pointer",color:"#274b6d",fontSize:"12px"},itemHoverStyle:{color:"#000"},itemHiddenStyle:{color:"#CCC"},itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},symbolWidth:16,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"1em"},style:{position:"absolute",backgroundColor:"white",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:ht,backgroundColor:"rgba(255, 255, 255, .85)",borderWidth:1,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{series.color}">{series.name}</span>: <b>{point.y}</b><br/>',shadow:!0,snap:lt?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var dn=wt.plotOptions,Yt=dn.line;P();var vn=function(e){var r=[],i,s;(function(e){e&&e.stops?s=un(e.stops,function(e){return vn(e[1])}):(i=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/.exec(e))?r=[n(i[1]),n(i[2]),n(i[3]),parseFloat(i[4],10)]:(i=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e))?r=[n(i[1],16),n(i[2],16),n(i[3],16),1]:(i=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))&&(r=[n(i[1]),n(i[2]),n(i[3]),1])})(e);return{get:function(n){var i;s?(i=t(e),i.stops=[].concat(i.stops),rn(s,function(e,t){i.stops[t]=[i.stops[t][0],e.get(n)]})):i=r&&!isNaN(r[0])?n==="rgb"?"rgb("+r[0]+","+r[1]+","+r[2]+")":n==="a"?r[3]:"rgba("+r.join(",")+")":e;return i},brighten:function(e){if(s)rn(s,function(t){t.brighten(e)});else if(o(e)&&e!==0){var t;for(t=0;t<3;t++)r[t]+=n(e*255),r[t]<0&&(r[t]=0),r[t]>255&&(r[t]=255)}return this},rgba:r,setOpacity:function(e){r[3]=e;return this}}};H.prototype={init:function(e,t){this.element=t==="span"?v(t):X.createElementNS(ct,t);this.renderer=e;this.attrSetters={}},opacity:1,animate:function(e,n,r){n=p(n,St,!0);pn(this);if(n){n=t(n);if(r)n.complete=r;hn(this,e,n)}else this.attr(e),r&&r()},attr:function(e,t){var i,s,o,u,a=this.element,f=a.nodeName.toLowerCase(),h=this.renderer,d,v=this.attrSetters,m=this.shadows,g,y,b=this;r(e)&&l(t)&&(i=e,e={},e[i]=t);if(r(e))i=e,f==="circle"?i={x:"cx",y:"cy"}[i]||i:i==="strokeWidth"&&(i="stroke-width"),b=c(a,i)||this[i]||0,i!=="d"&&i!=="visibility"&&(b=parseFloat(b));else{for(i in e)if(d=!1,s=e[i],o=v[i]&&v[i].call(this,s,i),o!==!1){o!==W&&(s=o);if(i==="d")s&&s.join&&(s=s.join(" ")),/(NaN| {2}|^$)/.test(s)&&(s="M 0 0");else if(i==="x"&&f==="text")for(o=0;o<a.childNodes.length;o++)u=a.childNodes[o],c(u,"x")===c(a,"x")&&c(u,"x",s);else if(this.rotation&&(i==="x"||i==="y"))y=!0;else if(i==="fill")s=h.color(s,a,i);else if(f==="circle"&&(i==="x"||i==="y"))i={x:"cx",y:"cy"}[i]||i;else if(f==="rect"&&i==="r")c(a,{rx:s,ry:s}),d=!0;else if(i==="translateX"||i==="translateY"||i==="rotation"||i==="verticalAlign"||i==="scaleX"||i==="scaleY")d=y=!0;else if(i==="stroke")s=h.color(s,a,i);else if(i==="dashstyle")if(i="stroke-dasharray",s=s&&s.toLowerCase(),s==="solid")s=Lt;else{if(s){s=s.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(o=s.length;o--;)s[o]=n(s[o])*p(e["stroke-width"],this["stroke-width"]);s=s.join(",")}}else if(i==="width")s=n(s);else if(i==="align")i="text-anchor",s={left:"start",center:"middle",right:"end"}[s];else if(i==="title")o=a.getElementsByTagName("title")[0],o||(o=X.createElementNS(ct,"title"),a.appendChild(o)),o.textContent=s;i==="strokeWidth"&&(i="stroke-width");if(i==="stroke-width"||i==="stroke"){this[i]=s;if(this.stroke&&this["stroke-width"])c(a,"stroke",this.stroke),c(a,"stroke-width",this["stroke-width"]),this.hasStroke=!0;else if(i==="stroke-width"&&s===0&&this.hasStroke)a.removeAttribute("stroke"),this.hasStroke=!1;d=!0}this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)/.test(i)&&(g||(this.symbolAttr(e),g=!0),d=!0);if(m&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i))for(o=m.length;o--;)c(m[o],i,i==="height"?G(s-(m[o].cutHeight||0),0):s);if((i==="width"||i==="height")&&f==="rect"&&s<0)s=0;this[i]=s;i==="text"?(s!==this.textStr&&delete this.bBox,this.textStr=s,this.added&&h.buildText(this)):d||c(a,i,s)}y&&this.updateTransform()}return b},addClass:function(e){var t=this.element,n=c(t,"class")||"";n.indexOf(e)===-1&&c(t,"class",n+" "+e);return this},symbolAttr:function(e){var t=this;rn("x,y,r,start,end,width,height,innerR,anchorX,anchorY".split(","),function(n){t[n]=p(e[n],t[n])});t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},clip:function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":Lt)},crisp:function(e,t,n,r,i){var s,o={},u={},a,e=e||this.strokeWidth||this.attr&&this.attr("stroke-width")||0;a=J(e)%2/2;u.x=K(t||this.x||0)+a;u.y=K(n||this.y||0)+a;u.width=K((r||this.width||0)-2*a);u.height=K((i||this.height||0)-2*a);u.strokeWidth=e;for(s in u)this[s]!==u[s]&&(this[s]=o[s]=u[s]);return o},css:function(t){var n=this.element,r=t&&t.width&&n.nodeName.toLowerCase()==="text",i,s="",o=function(e,t){return"-"+t.toLowerCase()};if(t&&t.color)t.fill=t.color;this.styles=t=e(this.styles,t);dt&&r&&delete t.width;if(ot&&!ht)r&&delete t.width,d(this.element,t);else{for(i in t)s+=i.replace(/([A-Z])/g,o)+":"+t[i]+";";c(n,"style",s)}r&&this.added&&this.renderer.buildText(this);return this},on:function(e,t){var n=this.element;if(mt&&e==="click")n.ontouchstart=function(e){e.preventDefault();t.call(n,e)};n["on"+e]=t;return this},setRadialReference:function(e){this.element.radialReference=e;return this},translate:function(e,t){return this.attr({translateX:e,translateY:t})},invert:function(){this.inverted=!0;this.updateTransform();return this},htmlCss:function(t){var n=this.element;if(n=t&&n.tagName==="SPAN"&&t.width)delete t.width,this.textWidth=n,this.updateTransform();this.styles=e(this.styles,t);d(this.element,t);return this},htmlGetBBox:function(){var e=this.element,t=this.bBox;if(!t){if(e.nodeName==="text")e.style.position="absolute";t=this.bBox={x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}return t},htmlUpdateTransform:function(){if(this.added){var e=this.renderer,t=this.element,r=this.translateX||0,i=this.translateY||0,s=this.x||0,o=this.y||0,u=this.textAlign||"left",a={left:0,center:.5,right:1}[u],f=u&&u!=="left",c=this.shadows;d(t,{marginLeft:r,marginTop:i});c&&rn(c,function(e){d(e,{marginLeft:r+1,marginTop:i+1})});this.inverted&&rn(t.childNodes,function(n){e.invertChild(n,t)});if(t.tagName==="SPAN"){var h,v,c=this.rotation,m;h=0;var g=1,y=0,b;m=n(this.textWidth);var w=this.xCorr||0,E=this.yCorr||0,S=[c,u,t.innerHTML,this.textWidth].join(",");if(S!==this.cTT){l(c)&&(h=c*rt,g=et(h),y=tt(h),this.setSpanRotation(c,y,g));h=p(this.elemWidth,t.offsetWidth);v=p(this.elemHeight,t.offsetHeight);if(h>m&&/[ \-]/.test(t.textContent||t.innerText))d(t,{width:m+"px",display:"block",whiteSpace:"normal"}),h=m;m=e.fontMetrics(t.style.fontSize).b;w=g<0&&-h;E=y<0&&-v;b=g*y<0;w+=y*m*(b?1-a:a);E-=g*m*(c?b?a:1-a:1);f&&(w-=h*a*(g<0?-1:1),c&&(E-=v*a*(y<0?-1:1)),d(t,{textAlign:u}));this.xCorr=w;this.yCorr=E}d(t,{left:s+w+"px",top:o+E+"px"});if(at)v=t.offsetHeight;this.cTT=S}}else this.alignOnAdd=!0},setSpanRotation:function(e){var t={};t[ot?"-ms-transform":at?"-webkit-transform":ft?"MozTransform":st?"-o-transform":""]=t.transform="rotate("+e+"deg)";d(this.element,t)},updateTransform:function(){var e=this.translateX||0,t=this.translateY||0,n=this.scaleX,r=this.scaleY,i=this.inverted,s=this.rotation;i&&(e+=this.attr("width"),t+=this.attr("height"));e=["translate("+e+","+t+")"];i?e.push("rotate(90) scale(-1,1)"):s&&e.push("rotate("+s+" "+(this.x||0)+" "+(this.y||0)+")");(l(n)||l(r))&&e.push("scale("+p(n,1)+" "+p(r,1)+")");e.length&&c(this.element,"transform",e.join(" "))},toFront:function(){var e=this.element;e.parentNode.appendChild(e);return this},align:function(e,t,n){var i,s,o,u,a={};s=this.renderer;o=s.alignedObjects;if(e){if(this.alignOptions=e,this.alignByTranslate=t,!n||r(n))this.alignTo=i=n||"renderer",f(o,this),o.push(this),n=null}else e=this.alignOptions,t=this.alignByTranslate,i=this.alignTo;n=p(n,s[i],s);i=e.align;s=e.verticalAlign;o=(n.x||0)+(e.x||0);u=(n.y||0)+(e.y||0);if(i==="right"||i==="center")o+=(n.width-(e.width||0))/{right:1,center:2}[i];a[t?"translateX":"x"]=J(o);if(s==="bottom"||s==="middle")u+=(n.height-(e.height||0))/({bottom:1,middle:2}[s]||1);a[t?"translateY":"y"]=J(u);this[this.placed?"animate":"attr"](a);this.placed=!0;this.alignAttr=a;return this},getBBox:function(){var t=this.bBox,n=this.renderer,r,i=this.rotation;r=this.element;var s=this.styles,o=i*rt;if(!t){if(r.namespaceURI===ct||n.forExport){try{t=r.getBBox?e({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight}}catch(u){}if(!t||t.width<0)t={width:0,height:0}}else t=this.htmlGetBBox();if(n.isSVG){n=t.width;r=t.height;if(ot&&s&&s.fontSize==="11px"&&r.toPrecision(3)==="22.7")t.height=r=14;if(i)t.width=Z(r*tt(o))+Z(n*et(o)),t.height=Z(r*et(o))+Z(n*tt(o))}this.bBox=t}return t},show:function(){return this.attr({visibility:"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(e){var t=this;t.animate({opacity:0},{duration:e||150,complete:function(){t.hide()}})},add:function(e){var t=this.renderer,r=e||t,i=r.element||t.box,s=i.childNodes,o=this.element,u=c(o,"zIndex"),a;if(e)this.parentGroup=e;this.parentInverted=e&&e.inverted;this.textStr!==void 0&&t.buildText(this);if(u)r.handleZ=!0,u=n(u);if(r.handleZ)for(r=0;r<s.length;r++)if(e=s[r],t=c(e,"zIndex"),e!==o&&(n(t)>u||!l(u)&&l(t))){i.insertBefore(o,e);a=!0;break}a||i.appendChild(o);this.added=!0;ln(this,"add");return this},safeRemoveChild:function(e){var t=e.parentNode;t&&t.removeChild(e)},destroy:function(){var e=this,t=e.element||{},n=e.shadows,r=e.renderer.isSVG&&t.nodeName==="SPAN"&&t.parentNode,i,s;t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null;pn(e);if(e.clipPath)e.clipPath=e.clipPath.destroy();if(e.stops){for(s=0;s<e.stops.length;s++)e.stops[s]=e.stops[s].destroy();e.stops=null}e.safeRemoveChild(t);for(n&&rn(n,function(t){e.safeRemoveChild(t)});r&&r.childNodes.length===0;)t=r.parentNode,e.safeRemoveChild(r),r=t;e.alignTo&&f(e.renderer.alignedObjects,e);for(i in e)delete e[i];return null},shadow:function(e,t,n){var r=[],i,s,o=this.element,u,a,f,l;if(e){a=p(e.width,3);f=(e.opacity||.15)/a;l=this.parentInverted?"(-1,-1)":"("+p(e.offsetX,1)+", "+p(e.offsetY,1)+")";for(i=1;i<=a;i++){s=o.cloneNode(0);u=a*2+1-2*i;c(s,{isShadow:"true",stroke:e.color||"black","stroke-opacity":f*i,"stroke-width":u,transform:"translate"+l,fill:Lt});if(n)c(s,"height",G(c(s,"height")-u,0)),s.cutHeight=u;t?t.element.appendChild(s):o.parentNode.insertBefore(s,o);r.push(s)}this.shadows=r}return this}};var mn=function(){this.init.apply(this,arguments)};mn.prototype={Element:H,init:function(e,t,n,r){var i=location,s,o;s=this.createElement("svg").attr({version:"1.1"});o=s.element;e.appendChild(o);e.innerHTML.indexOf("xmlns")===-1&&c(o,"xmlns",ct);this.isSVG=!0;this.box=o;this.boxWrapper=s;this.alignedObjects=[];this.url=(ft||at)&&X.getElementsByTagName("base").length?i.href.replace(/#.*?$/,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"";this.createElement("desc").add().element.appendChild(X.createTextNode("Created with Highcharts 3.0.4"));this.defs=this.createElement("defs").add();this.forExport=r;this.gradients={};this.setSize(t,n,!1);var u;if(ft&&e.getBoundingClientRect)this.subPixelFix=t=function(){d(e,{left:0,top:0});u=e.getBoundingClientRect();d(e,{left:Q(u.left)-u.left+"px",top:Q(u.top)-u.top+"px"})},t(),an(V,"resize",t)},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var e=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();A(this.gradients||{});this.gradients=null;if(e)this.defs=e.destroy();this.subPixelFix&&fn(V,"resize",this.subPixelFix);return this.alignedObjects=null},createElement:function(e){var t=new this.Element;t.init(this,e);return t},draw:function(){},buildText:function(e){for(var t=e.element,r=this,i=r.forExport,s=p(e.textStr,"").toString().replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g),o=t.childNodes,u=/style="([^"]+)"/,a=/href="(http[^"]+)"/,f=c(t,"x"),l=e.styles,h=l&&l.width&&n(l.width),v=l&&l.lineHeight,m=o.length;m--;)t.removeChild(o[m]);h&&!e.added&&this.box.appendChild(t);s[s.length-1]===""&&s.pop();rn(s,function(n,s){var o,p=0,n=n.replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||");o=n.split("|||");rn(o,function(n){if(n!==""||o.length===1){var m={},g=X.createElementNS(ct,"tspan"),y;u.test(n)&&(y=n.match(u)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),c(g,"style",y));a.test(n)&&!i&&(c(g,"onclick",'location.href="'+n.match(a)[1]+'"'),d(g,{cursor:"pointer"}));n=(n.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">");if(n!==" "&&(g.appendChild(X.createTextNode(n)),p?m.dx=0:m.x=f,c(g,m),!p&&s&&(!ht&&i&&d(g,{display:"block"}),c(g,"dy",v||r.fontMetrics(/px$/.test(g.style.fontSize)?g.style.fontSize:l.fontSize).h,at&&g.offsetHeight)),t.appendChild(g),p++,h))for(var n=n.replace(/([^\^])-/g,"$1- ").split(" "),b,w=[];n.length||w.length;)delete e.bBox,b=e.getBBox().width,m=b>h,!m||n.length===1?(n=w,w=[],n.length&&(g=X.createElementNS(ct,"tspan"),c(g,{dy:v||16,x:f}),y&&c(g,"style",y),t.appendChild(g),b>h&&(h=b))):(g.removeChild(g.firstChild),w.unshift(n.pop())),n.length&&g.appendChild(X.createTextNode(n.join(" ").replace(/- /g,"-")))}})})},button:function(n,r,i,s,o,u,a){var f=this.label(n,r,i,null,null,null,null,null,"button"),l=0,c,h,p,d,v,n={x1:0,y1:0,x2:0,y2:1},o=t({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:n,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},o);p=o.style;delete o.style;u=t(o,{stroke:"#68A",fill:{linearGradient:n,stops:[[0,"#FFF"],[1,"#ACF"]]}},u);d=u.style;delete u.style;a=t(o,{stroke:"#68A",fill:{linearGradient:n,stops:[[0,"#9BD"],[1,"#CDF"]]}},a);v=a.style;delete a.style;an(f.element,ot?"mouseover":"mouseenter",function(){f.attr(u).css(d)});an(f.element,ot?"mouseout":"mouseleave",function(){c=[o,u,a][l];h=[p,d,v][l];f.attr(c).css(h)});f.setState=function(e){(l=e)?e===2&&f.attr(a).css(v):f.attr(o).css(p)};return f.on("click",function(){s.call(f)}).attr(o).css(e({cursor:"default"},p))},crispLine:function(e,t){e[1]===e[4]&&(e[1]=e[4]=J(e[1])-t%2/2);e[2]===e[5]&&(e[2]=e[5]=J(e[2])+t%2/2);return e},path:function(t){var n={fill:Lt};s(t)?n.d=t:i(t)&&e(n,t);return this.createElement("path").attr(n)},circle:function(e,t,n){e=i(e)?e:{x:e,y:t,r:n};return this.createElement("circle").attr(e)},arc:function(e,t,n,r,s,o){if(i(e))t=e.y,n=e.r,r=e.innerR,s=e.start,o=e.end,e=e.x;e=this.symbol("arc",e||0,t||0,n||0,n||0,{innerR:r||0,start:s||0,end:o||0});e.r=n;return e},rect:function(e,t,n,r,s,o){s=i(e)?e.r:s;s=this.createElement("rect").attr({rx:s,ry:s,fill:Lt});return s.attr(i(e)?e:s.crisp(o,e,t,G(n,0),G(r,0)))},setSize:function(e,t,n){var r=this.alignedObjects,i=r.length;this.width=e;this.height=t;for(this.boxWrapper[p(n,!0)?"animate":"attr"]({width:e,height:t});i--;)r[i].align()},g:function(e){var t=this.createElement("g");return l(e)?t.attr({"class":"highcharts-"+e}):t},image:function(t,n,r,i,s){var o={preserveAspectRatio:Lt};arguments.length>1&&e(o,{x:n,y:r,width:i,height:s});o=this.createElement("image").attr(o);o.element.setAttributeNS?o.element.setAttributeNS("http://www.w3.org/1999/xlink","href",t):o.element.setAttribute("hc-svg-href",t);return o},symbol:function(t,n,r,i,s,o){var u,a=this.symbols[t],a=a&&a(J(n),J(r),i,s,o),f=/^url\((.*?)\)$/,l,c;if(a)u=this.path(a),e(u,{symbolName:t,x:n,y:r,width:i,height:s}),o&&e(u,o);else if(f.test(t))c=function(e,t){e.element&&(e.attr({width:t[0],height:t[1]}),e.alignByTranslate||e.translate(J((i-t[0])/2),J((s-t[1])/2)))},l=t.match(f)[1],t=gt[l],u=this.image(l).attr({x:n,y:r}),u.isImg=!0,t?c(u,t):(u.attr({width:0,height:0}),v("img",{onload:function(){c(u,gt[l]=[this.width,this.height])},src:l}));return u},symbols:{circle:function(e,t,n,r){var i=.166*n;return["M",e+n/2,t,"C",e+n+i,t,e+n+i,t+r,e+n/2,t+r,"C",e-i,t+r,e-i,t,e+n/2,t,"Z"]},square:function(e,t,n,r){return["M",e,t,"L",e+n,t,e+n,t+r,e,t+r,"Z"]},triangle:function(e,t,n,r){return["M",e+n/2,t,"L",e+n,t+r,e,t+r,"Z"]},"triangle-down":function(e,t,n,r){return["M",e,t,"L",e+n,t,e+n/2,t+r,"Z"]},diamond:function(e,t,n,r){return["M",e+n/2,t,"L",e+n,t+r/2,e+n/2,t+r,e,t+r/2,"Z"]},arc:function(e,t,n,r,i){var s=i.start,n=i.r||n||r,o=i.end-.001,r=i.innerR,u=i.open,a=et(s),f=tt(s),l=et(o),o=tt(o),i=i.end-s<nt?0:1;return["M",e+n*a,t+n*f,"A",n,n,0,i,1,e+n*l,t+n*o,u?"M":"L",e+r*l,t+r*o,"A",r,r,0,i,0,e+r*a,t+r*f,u?"":"Z"]}},clipRect:function(e,t,n,r){var i="highcharts-"+yt++,s=this.createElement("clipPath").attr({id:i}).add(this.defs),e=this.rect(e,t,n,r,0).add(s);e.id=i;e.clipPath=s;return e},color:function(e,n,r){var i=this,o,u=/^rgba/,a,f,h,p,d,v,m,g=[];e&&e.linearGradient?a="linearGradient":e&&e.radialGradient&&(a="radialGradient");if(a){r=e[a];f=i.gradients;p=e.stops;n=n.radialReference;s(r)&&(e[a]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"});a==="radialGradient"&&n&&!l(r.gradientUnits)&&(r=t(r,{cx:n[0]-n[2]/2+r.cx*n[2],cy:n[1]-n[2]/2+r.cy*n[2],r:r.r*n[2],gradientUnits:"userSpaceOnUse"}));for(m in r)m!=="id"&&g.push(m,r[m]);for(m in p)g.push(p[m]);g=g.join(",");f[g]?e=f[g].id:(r.id=e="highcharts-"+yt++,f[g]=h=i.createElement(a).attr(r).add(i.defs),h.stops=[],rn(p,function(e){u.test(e[1])?(o=vn(e[1]),d=o.get("rgb"),v=o.get("a")):(d=e[1],v=1);e=i.createElement("stop").attr({offset:e[0],"stop-color":d,"stop-opacity":v}).add(h);h.stops.push(e)}));return"url("+i.url+"#"+e+")"}else return u.test(e)?(o=vn(e),c(n,r+"-opacity",o.get("a")),o.get("rgb")):(n.removeAttribute(r+"-opacity"),e)},text:function(e,t,n,r){var i=wt.chart.style,s=dt||!ht&&this.forExport;if(r&&!this.forExport)return this.html(e,t,n);t=J(p(t,0));n=J(p(n,0));e=this.createElement("text").attr({x:t,y:n,text:e}).css({fontFamily:i.fontFamily,fontSize:i.fontSize});s&&e.css({position:"absolute"});e.x=t;e.y=n;return e},html:function(t,n,r){var i=wt.chart.style,s=this.createElement("span"),o=s.attrSetters,u=s.element,a=s.renderer;o.text=function(e){e!==u.innerHTML&&delete this.bBox;u.innerHTML=e;return!1};o.x=o.y=o.align=function(e,t){t==="align"&&(t="textAlign");s[t]=e;s.htmlUpdateTransform();return!1};s.attr({text:t,x:J(n),y:J(r)}).css({position:"absolute",whiteSpace:"nowrap",fontFamily:i.fontFamily,fontSize:i.fontSize});s.css=s.htmlCss; + if(a.isSVG)s.add=function(t){var n,r=a.box.parentNode,i=[];if(t){if(n=t.div,!n){for(;t;)i.push(t),t=t.parentGroup;rn(i.reverse(),function(t){var i;n=t.div=t.div||v(kt,{className:c(t.element,"class")},{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px"},n||r);i=n.style;e(t.attrSetters,{translateX:function(e){i.left=e+"px"},translateY:function(e){i.top=e+"px"},visibility:function(e,t){i[t]=e}})})}}else n=r;n.appendChild(u);s.added=!0;s.alignOnAdd&&s.htmlUpdateTransform();return s};return s},fontMetrics:function(e){var e=n(e||11),e=e<24?e+4:J(e*1.2),t=J(e*.8);return{h:e,b:t}},label:function(n,r,i,s,o,u,a,f,c){function h(){var e,n;e=y.element.style;w=(T===void 0||N===void 0||g.styles.textAlign)&&y.getBBox();g.width=(T||w.width||0)+2*S+x;g.height=(N||w.height||0)+2*S;O=S+m.fontMetrics(e&&e.fontSize).b;if(M){if(!b)e=J(-E*S),n=f?-O:0,g.box=b=s?m.symbol(s,e,n,g.width,g.height):m.rect(e,n,g.width,g.height,0,A[Ft]),b.add(g);b.isImg||b.attr(t({width:g.width,height:g.height},A));A=null}}function p(){var e=g.styles,e=e&&e.textAlign,t=x+S*(1-E),n;n=f?0:O;if(l(T)&&(e==="center"||e==="right"))t+={center:.5,right:1}[e]*(T-w.width);(t!==y.x||n!==y.y)&&y.attr({x:t,y:n});y.x=t;y.y=n}function d(e,t){b?b.attr(e,t):A[e]=t}function v(){y.add(g);g.attr({text:n,x:r,y:i});b&&l(o)&&g.attr({anchorX:o,anchorY:u})}var m=this,g=m.g(c),y=m.text("",0,0,a).attr({zIndex:1}),b,w,E=0,S=3,x=0,T,N,C,k,L=0,A={},O,a=g.attrSetters,M;an(g,"add",v);a.width=function(e){T=e;return!1};a.height=function(e){N=e;return!1};a.padding=function(e){l(e)&&e!==S&&(S=e,p());return!1};a.paddingLeft=function(e){l(e)&&e!==x&&(x=e,p());return!1};a.align=function(e){E={left:0,center:.5,right:1}[e];return!1};a.text=function(e,t){y.attr(t,e);h();p();return!1};a[Ft]=function(e,t){M=!0;L=e%2/2;d(t,e);return!1};a.stroke=a.fill=a.r=function(e,t){t==="fill"&&(M=!0);d(t,e);return!1};a.anchorX=function(e,t){o=e;d(t,e+L-C);return!1};a.anchorY=function(e,t){u=e;d(t,e-k);return!1};a.x=function(e){g.x=e;e-=E*((T||w.width)+S);C=J(e);g.attr("translateX",C);return!1};a.y=function(e){k=g.y=J(e);g.attr("translateY",k);return!1};var _=g.css;return e(g,{css:function(e){if(e){var n={},e=t(e);rn("fontSize,fontWeight,fontFamily,color,lineHeight,width,textDecoration".split(","),function(t){e[t]!==W&&(n[t]=e[t],delete e[t])});y.css(n)}return _.call(g,e)},getBBox:function(){return{width:w.width+2*S,height:w.height+2*S,x:w.x-S,y:w.y-S}},shadow:function(e){b&&b.shadow(e);return g},destroy:function(){fn(g,"add",v);fn(g.element,"mouseenter");fn(g.element,"mouseleave");y&&(y=y.destroy());b&&(b=b.destroy());H.prototype.destroy.call(g);g=m=h=p=d=v=null}})}};vt=mn;var gn;if(!ht&&!dt){Highcharts.VMLElement=gn={init:function(e,t){var n=["<",t,' filled="f" stroked="f"'],r=["position: ","absolute",";"],i=t===kt;(t==="shape"||i)&&r.push("left:0;top:0;width:1px;height:1px;");r.push("visibility: ",i?"hidden":"visible");n.push(' style="',r.join(""),'"/>');if(t)n=i||t==="span"||t==="img"?n.join(""):e.prepVML(n),this.element=v(n);this.renderer=e;this.attrSetters={}},add:function(e){var t=this.renderer,n=this.element,r=t.box,r=e?e.element||e:r;e&&e.inverted&&t.invertChild(n,r);r.appendChild(n);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();ln(this,"add");return this},updateTransform:H.prototype.htmlUpdateTransform,setSpanRotation:function(e,t,n){d(this.element,{filter:e?["progid:DXImageTransform.Microsoft.Matrix(M11=",n,", M12=",-t,", M21=",t,", M22=",n,", sizingMethod='auto expand')"].join(""):Lt})},attr:function(e,t){var n,i,s,u=this.element||{},a=u.style,f=u.nodeName,h=this.renderer,p=this.symbolName,d,m=this.shadows,g,y=this.attrSetters,b=this;r(e)&&l(t)&&(n=e,e={},e[n]=t);if(r(e))n=e,b=n==="strokeWidth"||n==="stroke-width"?this.strokeweight:this[n];else for(n in e)if(i=e[n],g=!1,s=y[n]&&y[n].call(this,i,n),s!==!1&&i!==null){s!==W&&(i=s);if(p&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(n))d||(this.symbolAttr(e),d=!0),g=!0;else if(n==="d"){i=i||[];this.d=i.join(" ");s=i.length;g=[];for(var w;s--;)if(o(i[s]))g[s]=J(i[s]*10)-5;else if(i[s]==="Z")g[s]="x";else if(g[s]=i[s],i.isArc&&(i[s]==="wa"||i[s]==="at"))w=i[s]==="wa"?1:-1,g[s+5]===g[s+7]&&(g[s+7]-=w),g[s+6]===g[s+8]&&(g[s+8]-=w);i=g.join(" ")||"x";u.path=i;if(m)for(s=m.length;s--;)m[s].path=m[s].cutOff?this.cutOffPath(i,m[s].cutOff):i;g=!0}else if(n==="visibility"){if(m)for(s=m.length;s--;)m[s].style[n]=i;f==="DIV"&&(i=i==="hidden"?"-999em":0,ut||(a[n]=i?"visible":"hidden"),n="top");a[n]=i;g=!0}else if(n==="zIndex")i&&(a[n]=i),g=!0;else if(nn(n,["x","y","width","height"])!==-1)this[n]=i,n==="x"||n==="y"?n={x:"left",y:"top"}[n]:i=G(0,i),this.updateClipping?(this[n]=i,this.updateClipping()):a[n]=i,g=!0;else if(n==="class"&&f==="DIV")u.className=i;else if(n==="stroke")i=h.color(i,u,n),n="strokecolor";else if(n==="stroke-width"||n==="strokeWidth")u.stroked=i?!0:!1,n="strokeweight",this[n]=i,o(i)&&(i+="px");else if(n==="dashstyle")(u.getElementsByTagName("stroke")[0]||v(h.prepVML(["<stroke/>"]),null,null,u))[n]=i||"solid",this.dashstyle=i,g=!0;else if(n==="fill")if(f==="SPAN")a.color=i;else{if(f!=="IMG")u.filled=i!==Lt?!0:!1,i=h.color(i,u,n,this),n="fillcolor"}else if(n==="opacity")g=!0;else if(f==="shape"&&n==="rotation")this[n]=u.style[n]=i,u.style.left=-J(tt(i*rt)+1)+"px",u.style.top=J(et(i*rt))+"px";else if(n==="translateX"||n==="translateY"||n==="rotation")this[n]=i,this.updateTransform(),g=!0;else if(n==="text")this.bBox=null,u.innerHTML=i,g=!0;g||(ut?u[n]=i:c(u,n,i))}return b},clip:function(e){var t=this,n;e?(n=e.members,f(n,t),n.push(t),t.destroyClip=function(){f(n,t)},e=e.getCSS(t)):(t.destroyClip&&t.destroyClip(),e={clip:ut?"inherit":"rect(auto)"});return t.css(e)},css:H.prototype.htmlCss,safeRemoveChild:function(e){e.parentNode&&O(e)},destroy:function(){this.destroyClip&&this.destroyClip();return H.prototype.destroy.apply(this)},on:function(e,t){this.element["on"+e]=function(){var e=V.event;e.target=e.srcElement;t(e)};return this},cutOffPath:function(e,t){var r,e=e.split(/[ ,]/);r=e.length;if(r===9||r===11)e[r-4]=e[r-2]=n(e[r-2])-10*t;return e.join(" ")},shadow:function(e,t,r){var i=[],s,o=this.element,u=this.renderer,a,f=o.style,l,c=o.path,h,d,m,g;c&&typeof c.value!=="string"&&(c="x");d=c;if(e){m=p(e.width,3);g=(e.opacity||.15)/m;for(s=1;s<=3;s++){h=m*2+1-2*s;r&&(d=this.cutOffPath(c.value,h+.5));l=['<shape isShadow="true" strokeweight="',h,'" filled="false" path="',d,'" coordsize="10 10" style="',o.style.cssText,'" />'];a=v(u.prepVML(l),null,{left:n(f.left)+p(e.offsetX,1),top:n(f.top)+p(e.offsetY,1)});if(r)a.cutOff=h+1;l=['<stroke color="',e.color||"black",'" opacity="',g*s,'"/>'];v(u.prepVML(l),null,null,a);t?t.element.appendChild(a):o.parentNode.insertBefore(a,o);i.push(a)}this.shadows=i}return this}};gn=m(H,gn);var yn={Element:gn,isIE8:it.indexOf("MSIE 8.0")>-1,init:function(e,t,n){var r,i;this.alignedObjects=[];r=this.createElement(kt);i=r.element;i.style.position="relative";e.appendChild(r.element);this.isVML=!0;this.box=i;this.boxWrapper=r;this.setSize(t,n,!1);if(!X.namespaces.hcv)X.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),X.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "},isHidden:function(){return!this.box.offsetWidth},clipRect:function(t,n,r,s){var o=this.createElement(),u=i(t);return e(o,{members:[],left:u?t.x:t,top:u?t.y:n,width:u?t.width:r,height:u?t.height:s,getCSS:function(t){var n=t.element,r=n.nodeName,t=t.inverted,i=this.top-(r==="shape"?n.offsetTop:0),s=this.left,n=s+this.width,o=i+this.height,i={clip:"rect("+J(t?s:i)+"px,"+J(t?o:n)+"px,"+J(t?n:o)+"px,"+J(t?i:s)+"px)"};!t&&ut&&r==="DIV"&&e(i,{width:n+"px",height:o+"px"});return i},updateClipping:function(){rn(o.members,function(e){e.css(o.getCSS(e))})}})},color:function(e,t,n,r){var i=this,s,o=/^rgba/,u,a,f=Lt;e&&e.linearGradient?a="gradient":e&&e.radialGradient&&(a="pattern");if(a){var l,c,h=e.linearGradient||e.radialGradient,p,d,m,g,y,b="",e=e.stops,w,E=[],S=function(){u=['<fill colors="'+E.join(",")+'" opacity="',m,'" o:opacity2="',d,'" type="',a,'" ',b,'focus="100%" method="any" />'];v(i.prepVML(u),null,null,t)};p=e[0];w=e[e.length-1];p[0]>0&&e.unshift([0,p[1]]);w[0]<1&&e.push([1,w[1]]);rn(e,function(e,t){o.test(e[1])?(s=vn(e[1]),l=s.get("rgb"),c=s.get("a")):(l=e[1],c=1);E.push(e[0]*100+"% "+l);t?(m=c,g=l):(d=c,y=l)});if(n==="fill")if(a==="gradient")n=h.x1||h[0]||0,e=h.y1||h[1]||0,p=h.x2||h[2]||0,h=h.y2||h[3]||0,b='angle="'+(90-$.atan((h-e)/(p-n))*180/nt)+'"',S();else{var f=h.r,x=f*2,T=f*2,N=h.cx,C=h.cy,k=t.radialReference,L,f=function(){k&&(L=r.getBBox(),N+=(k[0]-L.x)/L.width-.5,C+=(k[1]-L.y)/L.height-.5,x*=k[2]/L.width,T*=k[2]/L.height);b='src="'+wt.global.VMLRadialGradientURL+'" size="'+x+","+T+'" origin="0.5,0.5" position="'+N+","+C+'" color2="'+y+'" ';S()};r.added?f():an(r,"add",f);f=g}else f=l}else if(o.test(e)&&t.tagName!=="IMG")s=vn(e),u=["<",n,' opacity="',s.get("a"),'"/>'],v(this.prepVML(u),null,null,t),f=s.get("rgb");else{f=t.getElementsByTagName(n);if(f.length)f[0].opacity=1,f[0].type="solid";f=e}return f},prepVML:function(e){var t=this.isIE8,e=e.join("");t?(e=e.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),e=e.indexOf('style="')===-1?e.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):e.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):e=e.replace("<","<hcv:");return e},text:mn.prototype.html,path:function(t){var n={coordsize:"10 10"};s(t)?n.d=t:i(t)&&e(n,t);return this.createElement("shape").attr(n)},circle:function(e,t,n){var r=this.symbol("circle");if(i(e))n=e.r,t=e.y,e=e.x;r.isCircle=!0;return r.attr({x:e,y:t,width:2*n,height:2*n})},g:function(e){var t;e&&(t={className:"highcharts-"+e,"class":"highcharts-"+e});return this.createElement(kt).attr(t)},image:function(e,t,n,r,i){var s=this.createElement("img").attr({src:e});arguments.length>1&&s.attr({x:t,y:n,width:r,height:i});return s},rect:function(e,t,n,r,s,o){if(i(e))t=e.y,n=e.width,r=e.height,o=e.strokeWidth,e=e.x;var u=this.symbol("rect");u.r=s;return u.attr(u.crisp(o,e,t,G(n,0),G(r,0)))},invertChild:function(e,t){var r=t.style;d(e,{flip:"x",left:n(r.width)-1,top:n(r.height)-1,rotation:-90})},symbols:{arc:function(e,t,n,r,i){var s=i.start,o=i.end,u=i.r||n||r,n=i.innerR,r=et(s),a=tt(s),f=et(o),l=tt(o);if(o-s===0)return["x"];s=["wa",e-u,t-u,e+u,t+u,e+u*r,t+u*a,e+u*f,t+u*l];i.open&&!n&&s.push("e","M",e,t);s.push("at",e-n,t-n,e+n,t+n,e+n*f,t+n*l,e+n*r,t+n*a,"x","e");s.isArc=!0;return s},circle:function(e,t,n,r,i){i&&i.isCircle&&(e-=n/2,t-=r/2);return["wa",e,t,e+n,t+r,e+n,t+r/2,e+n,t+r/2,"e"]},rect:function(e,t,n,r,i){var s=e+n,o=t+r,u;!l(i)||!i.r?s=mn.prototype.symbols.square.apply(0,arguments):(u=Y(i.r,n,r),s=["M",e+u,t,"L",s-u,t,"wa",s-2*u,t,s,t+2*u,s-u,t,s,t+u,"L",s,o-u,"wa",s-2*u,o-2*u,s,o,s,o-u,s-u,o,"L",e+u,o,"wa",e,o-2*u,e+2*u,o,e+u,o,e,o-u,"L",e,t+u,"wa",e,t,e+2*u,t+2*u,e,t+u,e+u,t,"x","e"]);return s}}};Highcharts.VMLRenderer=gn=function(){this.init.apply(this,arguments)};gn.prototype=t(mn.prototype,yn);vt=gn}var bn;if(dt)Highcharts.CanVGRenderer=gn=function(){ct="http://www.w3.org/1999/xhtml"},gn.prototype.symbols={},bn=function(){function e(){var e=t.length,n;for(n=0;n<e;n++)t[n]();t=[]}var t=[];return{push:function(n,r){t.length===0&&tn(r,e);t.push(n)}}}(),vt=gn;B.prototype={addLabel:function(){var t=this.axis,n=t.options,r=t.chart,i=t.horiz,s=t.categories,u=t.series[0]&&t.series[0].names,f=this.pos,c=n.labels,h=t.tickPositions,i=i&&s&&!c.step&&!c.staggerLines&&!c.rotation&&r.plotWidth/h.length||!i&&(r.optionsMarginLeft||r.chartWidth*.33),d=f===h[0],v=f===h[h.length-1],u=s?p(s[f],u&&u[f],f):f,s=this.label,h=h.info,m;t.isDatetimeAxis&&h&&(m=n.dateTimeLabelFormats[h.higherRanks[f]||h.unitName]);this.isFirst=d;this.isLast=v;n=t.labelFormatter.call({axis:t,chart:r,isFirst:d,isLast:v,dateTimeLabelFormat:m,value:t.isLog?_(a(u)):u});f=i&&{width:G(1,J(i-2*(c.padding||10)))+"px"};f=e(f,c.style);if(l(s))s&&s.attr({text:n}).css(f);else{i={align:t.labelAlign};if(o(c.rotation))i.rotation=c.rotation;this.label=l(n)&&c.enabled?r.renderer.text(n,0,0,c.useHTML).attr(i).css(f).add(t.labelGroup):null}},getLabelSize:function(){var e=this.label,t=this.axis;return e?(this.labelBBox=e.getBBox())[t.horiz?"height":"width"]:0},getLabelSides:function(){var e=this.axis,t=this.labelBBox.width,e=t*{left:0,center:.5,right:1}[e.labelAlign]-e.options.labels.x;return[-e,t-e]},handleOverflow:function(e,t){var n=!0,r=this.axis,i=r.chart,s=this.isFirst,o=this.isLast,u=t.x,a=r.reversed,f=r.tickPositions;if(s||o){var l=this.getLabelSides(),c=l[0],l=l[1],i=i.plotLeft,h=i+r.len,f=(r=r.ticks[f[e+(s?1:-1)]])&&r.label.xy&&r.label.xy.x+r.getLabelSides()[s?0:1];s&&!a||o&&a?u+c<i&&(u=i-c,r&&u+l>f&&(n=!1)):u+l>h&&(u=h-l,r&&u+c<f&&(n=!1));t.x=u}return n},getPosition:function(e,t,n,r){var i=this.axis,s=i.chart,o=r&&s.oldChartHeight||s.chartHeight;return{x:e?i.translate(t+n,null,null,r)+i.transB:i.left+i.offset+(i.opposite?(r&&s.oldChartWidth||s.chartWidth)-i.right-i.left:0),y:e?o-i.bottom+i.offset-(i.opposite?i.height:0):o-i.translate(t+n,null,null,r)-i.transB}},getLabelPosition:function(e,t,n,r,i,s,o,u){var a=this.axis,f=a.transA,c=a.reversed,h=a.staggerLines,p=a.chart.renderer.fontMetrics(i.style.fontSize).b,d=i.rotation,e=e+i.x-(s&&r?s*f*(c?-1:1):0),t=t+i.y-(s&&!r?s*f*(c?1:-1):0);d&&a.side===2&&(t-=p-p*et(d*rt));!l(i.y)&&!d&&(t+=p-n.getBBox().height/2);h&&(t+=o/(u||1)%h*(a.labelOffset/h));return{x:e,y:t}},getMarkPath:function(e,t,n,r,i,s){return s.crispLine(["M",e,t,"L",e+(i?0:-n),t+(i?n:0)],r)},render:function(e,t,n){var r=this.axis,i=r.options,s=r.chart.renderer,o=r.horiz,u=this.type,a=this.label,f=this.pos,l=i.labels,c=this.gridLine,h=u?u+"Grid":"grid",d=u?u+"Tick":"tick",v=i[h+"LineWidth"],m=i[h+"LineColor"],g=i[h+"LineDashStyle"],y=i[d+"Length"],h=i[d+"Width"]||0,b=i[d+"Color"],w=i[d+"Position"],d=this.mark,E=l.step,S=!0,x=r.tickmarkOffset,T=this.getPosition(o,f,x,t),N=T.x,T=T.y,C=o&&N===r.pos||!o&&T===r.pos+r.len?-1:1,k=r.staggerLines;this.isActive=!0;if(v){f=r.getPlotLinePath(f+x,v*C,t,!0);if(c===W){c={stroke:m,"stroke-width":v};if(g)c.dashstyle=g;if(!u)c.zIndex=1;if(t)c.opacity=0;this.gridLine=c=v?s.path(f).attr(c).add(r.gridGroup):null}if(!t&&c&&f)c[this.isNew?"attr":"animate"]({d:f,opacity:n})}if(h&&y)w==="inside"&&(y=-y),r.opposite&&(y=-y),t=this.getMarkPath(N,T,y,h*C,o,s),d?d.animate({d:t,opacity:n}):this.mark=s.path(t).attr({stroke:b,"stroke-width":h,opacity:n}).add(r.axisGroup);if(a&&!isNaN(N))a.xy=T=this.getLabelPosition(N,T,a,o,l,x,e,E),this.isFirst&&!p(i.showFirstLabel,1)||this.isLast&&!p(i.showLastLabel,1)?S=!1:!k&&o&&l.overflow==="justify"&&!this.handleOverflow(e,T)&&(S=!1),E&&e%E&&(S=!1),S&&!isNaN(T.y)?(T.opacity=n,a[this.isNew?"attr":"animate"](T),this.isNew=!1):a.attr("y",-9999)},destroy:function(){A(this,this.axis)}};j.prototype={render:function(){var e=this,n=e.axis,r=n.horiz,i=(n.pointRange||0)/2,s=e.options,o=s.label,a=e.label,f=s.width,c=s.to,h=s.from,d=l(h)&&l(c),v=s.value,m=s.dashStyle,g=e.svgElem,y=[],b,w=s.color,E=s.zIndex,S=s.events,x=n.chart.renderer;n.isLog&&(h=u(h),c=u(c),v=u(v));if(f){if(y=n.getPlotLinePath(v,f),i={stroke:w,"stroke-width":f},m)i.dashstyle=m}else if(d){if(h=G(h,n.min-i),c=Y(c,n.max+i),y=n.getPlotBandPath(h,c,s),i={fill:w},s.borderWidth)i.stroke=s.borderColor,i["stroke-width"]=s.borderWidth}else return;if(l(E))i.zIndex=E;if(g)y?g.animate({d:y},null,g.onGetPath):(g.hide(),g.onGetPath=function(){g.show()});else if(y&&y.length&&(e.svgElem=g=x.path(y).attr(i).add(),S))for(b in s=function(t){g.on(t,function(n){S[t].apply(e,[n])})},S)s(b);if(o&&l(o.text)&&y&&y.length&&n.width>0&&n.height>0){o=t({align:r&&d&&"center",x:r?!d&&4:10,verticalAlign:!r&&d&&"middle",y:r?d?16:10:d?6:-4,rotation:r&&!d&&90},o);if(!a)e.label=a=x.text(o.text,0,0,o.useHTML).attr({align:o.textAlign||o.align,rotation:o.rotation,zIndex:E}).css(o.style).add();n=[y[1],y[4],p(y[6],y[1])];y=[y[2],y[5],p(y[7],y[2])];r=k(n);d=k(y);a.align(o,!1,{x:r,y:d,width:L(n)-r,height:L(y)-d});a.show()}else a&&a.hide();return e},destroy:function(){f(this.axis.plotLinesAndBands,this);delete this.axis;A(this)}};F.prototype={destroy:function(){A(this,this.axis)},setTotal:function(e){this.cum=this.total=e},addValue:function(e){this.setTotal(_(this.total+e))},render:function(e){var t=this.options,n=t.format,n=n?w(n,this):t.formatter.call(this);this.label?this.label.attr({text:n,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(n,0,0,t.useHTML).css(t.style).attr({align:this.textAlign,rotation:t.rotation,visibility:"hidden"}).add(e)},cacheExtremes:function(e,t){this.points[e.index]=t},setOffset:function(e,t){var n=this.axis,r=n.chart,i=r.inverted,s=this.isNegative,o=n.translate(this.percent?100:this.total,0,0,0,1),n=n.translate(0),n=Z(o-n),u=r.xAxis[0].translate(this.x)+e,a=r.plotHeight,s={x:i?s?o:o-n:u,y:i?a-u-t:s?a-o-n:a-o,width:i?n:t,height:i?t:n};if(i=this.label)i.align(this.alignOptions,null,s),s=i.alignAttr,i.attr({visibility:this.options.crop===!1||r.isInsidePlot(s.x,s.y)?ht?"inherit":"visible":"hidden"})}};I.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:Zt,lineColor:"#C0D0E0",lineWidth:1,minPadding:.01,maxPadding:.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#4d759e",fontWeight:"bold"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0,maxPadding:.05,minPadding:.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return g(this.total,-1)},style:Zt.style}},defaultLeftAxisOptions:{labels:{x:-8,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:8,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{x:0,y:14},title:{rotation:0}},defaultTopAxisOptions:{labels:{x:0,y:-5},title:{rotation:0}},init:function(e,t){var n=t.isX;this.horiz=e.inverted?!n:n;this.xOrY=(this.isXAxis=n)?"x":"y";this.opposite=t.opposite;this.side=this.horiz?this.opposite?0:2:this.opposite?1:3;this.setOptions(t);var r=this.options,i=r.type;this.labelFormatter=r.labels.formatter||this.defaultLabelFormatter;this.userOptions=t;this.minPixelPadding=0;this.chart=e;this.reversed=r.reversed;this.zoomEnabled=r.zoomEnabled!==!1;this.categories=r.categories||i==="category";this.isLog=i==="logarithmic";this.isDatetimeAxis=i==="datetime";this.isLinked=l(r.linkedTo);this.tickmarkOffset=this.categories&&r.tickmarkPlacement==="between"?.5:0;this.ticks={};this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=r.minRange||r.maxZoom;this.range=r.range;this.offset=r.offset||0;this.stacks={};this.oldStacks={};this.stacksMax={};this._stacksTouched=0;this.min=this.max=null;var s,r=this.options.events;nn(this,e.axes)===-1&&(e.axes.push(this),e[n?"xAxis":"yAxis"].push(this));this.series=this.series||[];if(e.inverted&&n&&this.reversed===W)this.reversed=!0;this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine;for(s in r)an(this,s,r[s]);if(this.isLog)this.val2lin=u,this.lin2val=a},setOptions:function(e){this.options=t(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],t(wt[this.isXAxis?"xAxis":"yAxis"],e))},update:function(n,r){var i=this.chart,n=i.options[this.xOrY+"Axis"][this.options.index]=t(this.userOptions,n);this.destroy(!0);this._addedPlotLB=!1;this.init(i,e(n,{events:W}));i.isDirtyBox=!0;p(r,!0)&&i.redraw()},remove:function(e){var t=this.chart,n=this.xOrY+"Axis";rn(this.series,function(e){e.remove(!1)});f(t.axes,this);f(t[n],this);t.options[n].splice(this.options.index,1);rn(t[n],function(e,t){e.options.index=t});this.destroy();t.isDirtyBox=!0;p(e,!0)&&t.redraw()},defaultLabelFormatter:function(){var e=this.axis,t=this.value,n=e.categories,r=this.dateTimeLabelFormat,i=wt.lang.numericSymbols,s=i&&i.length,o,u=e.options.labels.format,e=e.isLog?t:e.tickInterval;if(u)o=w(u,this);else if(n)o=t;else if(r)o=Et(r,t);else if(s&&e>=1e3)for(;s--&&o===W;)n=Math.pow(1e3,s+1),e>=n&&i[s]!==null&&(o=g(t/n,-1)+i[s]);o===W&&(o=t>=1e3?g(t,0):g(t,-1));return o},getSeriesExtremes:function(){var e=this,t=e.chart;e.hasVisibleSeries=!1;e.dataMin=e.dataMax=null;e.stacksMax={};e.buildStacks();rn(e.series,function(n){if(n.visible||!t.options.chart.ignoreHiddenSeries){var r=n.options,i;i=r.threshold;e.hasVisibleSeries=!0;e.isLog&&i<=0&&(i=null);if(e.isXAxis){if(i=n.xData,i.length)e.dataMin=Y(p(e.dataMin,i[0]),k(i)),e.dataMax=G(p(e.dataMax,i[0]),L(i))}else{r=r.stacking;e.usePercentage=r==="percent";if(e.usePercentage)e.dataMin=0,e.dataMax=99;n.getExtremes();r=n.dataMax;n=n.dataMin;if(!e.usePercentage&&l(n)&&l(r))e.dataMin=Y(p(e.dataMin,n),n),e.dataMax=G(p(e.dataMax,r),r);if(l(i))if(e.dataMin>=i)e.dataMin=i,e.ignoreMinPadding=!0;else if(e.dataMax<i)e.dataMax=i,e.ignoreMaxPadding=!0}}})},translate:function(e,t,n,r,i,s){var u=this.len,a=1,f=0,l=r?this.oldTransA:this.transA,r=r?this.oldMin:this.min,c=this.minPixelPadding,i=(this.options.ordinal||this.isLog&&i)&&this.lin2val;if(!l)l=this.transA;n&&(a*=-1,f=u);this.reversed&&(a*=-1,f-=a*u);t?(e=e*a+f,e-=c,e=e/l+r,i&&(e=this.lin2val(e))):(i&&(e=this.val2lin(e)),s==="between"&&(s=.5),e=a*(e-r)*l+f+a*c+(o(s)?l*s*this.pointRange:0));return e},toPixels:function(e,t){return this.translate(e,!1,!this.horiz,null,!0)+(t?0:this.pos)},toValue:function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(e,t,n,r){var i=this.chart,s=this.left,o=this.top,u,a,f,e=this.translate(e,null,null,n),l=n&&i.oldChartHeight||i.chartHeight,c=n&&i.oldChartWidth||i.chartWidth,h;u=this.transB;n=a=J(e+u);u=f=J(l-e-u);if(isNaN(e))h=!0;else if(this.horiz){if(u=o,f=l-this.bottom,n<s||n>s+this.width)h=!0}else if(n=s,a=c-this.right,u<o||u>o+this.height)h=!0;return h&&!r?null:i.renderer.crispLine(["M",n,u,"L",a,f],t||0)},getPlotBandPath:function(e,t){var n=this.getPlotLinePath(t),r=this.getPlotLinePath(e);r&&n?r.push(n[4],n[5],n[1],n[2]):r=null;return r},getLinearTickPositions:function(e,t,n){for(var r,t=_(K(t/e)*e),n=_(Q(n/e)*e),i=[];t<=n;){i.push(t);t=_(t+e);if(t===r)break;r=t}return i},getLogTickPositions:function(e,t,n,r){var i=this.options,s=this.len,o=[];if(!r)this._minorAutoInterval=null;if(e>=.5)e=J(e),o=this.getLinearTickPositions(e,t,n);else if(e>=.08)for(var s=K(t),f,l,c,h,d,i=e>.3?[1,2,4]:e>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];s<n+1&&!d;s++){l=i.length;for(f=0;f<l&&!d;f++)c=u(a(s)*i[f]),c>t&&(!r||h<=n)&&o.push(h),h>n&&(d=!0),h=c}else if(t=a(t),n=a(n),e=i[r?"minorTickInterval":"tickInterval"],e=p(e==="auto"?null:e,this._minorAutoInterval,(n-t)*(i.tickPixelInterval/(r?5:1))/((r?s/this.tickPositions.length:s)||1)),e=S(e,null,E(e)),o=un(this.getLinearTickPositions(e,t,n),u),!r)this._minorAutoInterval=e/5;if(!r)this.tickInterval=e;return o},getMinorTickPositions:function(){var e=this.options,t=this.tickPositions,n=this.minorTickInterval,r=[],i;if(this.isLog){i=t.length;for(e=1;e<i;e++)r=r.concat(this.getLogTickPositions(n,t[e-1],t[e],!0))}else if(this.isDatetimeAxis&&e.minorTickInterval==="auto")r=r.concat(T(x(n),this.min,this.max,e.startOfWeek)),r[0]<this.min&&r.shift();else for(t=this.min+(t[0]-this.min)%n;t<=this.max;t+=n)r.push(t);return r},adjustForMinRange:function(){var e=this.options,t=this.min,n=this.max,r,i=this.dataMax-this.dataMin>=this.minRange,s,o,u,a,f;if(this.isXAxis&&this.minRange===W&&!this.isLog)l(e.min)||l(e.max)?this.minRange=null:(rn(this.series,function(e){a=e.xData;for(o=f=e.xIncrement?1:a.length-1;o>0;o--)if(u=a[o]-a[o-1],s===W||u<s)s=u}),this.minRange=Y(s*5,this.dataMax-this.dataMin));if(n-t<this.minRange){var c=this.minRange;r=(c-n+t)/2;r=[t-r,p(e.min,t-r)];if(i)r[2]=this.dataMin;t=L(r);n=[t+c,p(e.max,t+c)];if(i)n[2]=this.dataMax;n=k(n);n-t<c&&(r[0]=n-c,r[1]=p(e.min,n-c),t=L(r))}this.min=t;this.max=n},setAxisTranslation:function(e){var t=this.max-this.min,n=0,i,s=0,o=0,u=this.linkedParent,a=this.transA;if(this.isXAxis)u?(s=u.minPointOffset,o=u.pointRangePadding):rn(this.series,function(e){var u=e.pointRange,a=e.options.pointPlacement,f=e.closestPointRange;u>t&&(u=0);n=G(n,u);s=G(s,r(a)?0:u/2);o=G(o,a==="on"?0:u);!e.noSharedTooltip&&l(f)&&(i=l(i)?Y(i,f):f)}),u=this.ordinalSlope&&i?this.ordinalSlope/i:1,this.minPointOffset=s*=u,this.pointRangePadding=o*=u,this.pointRange=Y(n,t),this.closestPointRange=i;if(e)this.oldTransA=a;this.translationSlope=this.transA=a=this.len/(t+o||1);this.transB=this.horiz?this.left:this.bottom;this.minPixelPadding=a*s},setTickPositions:function(e){var t=this,n=t.chart,r=t.options,i=t.isLog,s=t.isDatetimeAxis,o=t.isXAxis,a=t.isLinked,f=t.options.tickPositioner,c=r.maxPadding,h=r.minPadding,d=r.tickInterval,v=r.minTickInterval,m=r.tickPixelInterval,g=t.categories;a?(t.linkedParent=n[o?"xAxis":"yAxis"][r.linkedTo],n=t.linkedParent.getExtremes(),t.min=p(n.min,n.dataMin),t.max=p(n.max,n.dataMax),r.type!==t.linkedParent.options.type&&M(11,1)):(t.min=p(t.userMin,r.min,t.dataMin),t.max=p(t.userMax,r.max,t.dataMax));if(i)!e&&Y(t.min,p(t.dataMin,t.min))<=0&&M(10,1),t.min=_(u(t.min)),t.max=_(u(t.max));if(t.range&&(t.userMin=t.min=G(t.min,t.max-t.range),t.userMax=t.max,e))t.range=null;t.beforePadding&&t.beforePadding();t.adjustForMinRange();if(!g&&!t.usePercentage&&!a&&l(t.min)&&l(t.max)&&(n=t.max-t.min)){if(!l(r.min)&&!l(t.userMin)&&h&&(t.dataMin<0||!t.ignoreMinPadding))t.min-=n*h;if(!l(r.max)&&!l(t.userMax)&&c&&(t.dataMax>0||!t.ignoreMaxPadding))t.max+=n*c}t.tickInterval=t.min===t.max||t.min===void 0||t.max===void 0?1:a&&!d&&m===t.linkedParent.options.tickPixelInterval?t.linkedParent.tickInterval:p(d,g?1:(t.max-t.min)*m/(t.len||1));o&&!e&&rn(t.series,function(e){e.processData(t.min!==t.oldMin||t.max!==t.oldMax)});t.setAxisTranslation(!0);t.beforeSetTickPositions&&t.beforeSetTickPositions();if(t.postProcessTickInterval)t.tickInterval=t.postProcessTickInterval(t.tickInterval);if(t.pointRange)t.tickInterval=G(t.pointRange,t.tickInterval);if(!d&&t.tickInterval<v)t.tickInterval=v;if(!s&&!i&&!d)t.tickInterval=S(t.tickInterval,null,E(t.tickInterval),r);t.minorTickInterval=r.minorTickInterval==="auto"&&t.tickInterval?t.tickInterval/5:r.minorTickInterval;t.tickPositions=e=r.tickPositions?[].concat(r.tickPositions):f&&f.apply(t,[t.min,t.max]);if(!e)e=s?(t.getNonLinearTimeTicks||T)(x(t.tickInterval,r.units),t.min,t.max,r.startOfWeek,t.ordinalPositions,t.closestPointRange,!0):i?t.getLogTickPositions(t.tickInterval,t.min,t.max):t.getLinearTickPositions(t.tickInterval,t.min,t.max),t.tickPositions=e;if(!a)i=e[0],s=e[e.length-1],a=t.minPointOffset||0,r.startOnTick?t.min=i:t.min-a>i&&e.shift(),r.endOnTick?t.max=s:t.max+a<s&&e.pop(),e.length===1&&(t.min-=.001,t.max+=.001)},setMaxTicks:function(){var e=this.chart,t=e.maxTicks||{},n=this.tickPositions,r=this._maxTicksKey=[this.xOrY,this.pos,this.len].join("-");if(!this.isLinked&&!this.isDatetimeAxis&&n&&n.length>(t[r]||0)&&this.options.alignTicks!==!1)t[r]=n.length;e.maxTicks=t},adjustTickAmount:function(){var e=this._maxTicksKey,t=this.tickPositions,n=this.chart.maxTicks;if(n&&n[e]&&!this.isDatetimeAxis&&!this.categories&&!this.isLinked&&this.options.alignTicks!==!1){var r=this.tickAmount,i=t.length;this.tickAmount=e=n[e];if(i<e){for(;t.length<e;)t.push(_(t[t.length-1]+this.tickInterval));this.transA*=(i-1)/(e-1);this.max=t[t.length-1]}if(l(r)&&e!==r)this.isDirty=!0}},setScale:function(){var e=this.stacks,t,n,r,i;this.oldMin=this.min;this.oldMax=this.max;this.oldAxisLength=this.len;this.setAxisSize();i=this.len!==this.oldAxisLength;rn(this.series,function(e){if(e.isDirtyData||e.isDirty||e.xAxis.isDirty)r=!0});if(i||r||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax){if(!this.isXAxis)for(t in e)for(n in e[t])e[t][n].total=null;this.forceRedraw=!1;this.getSeriesExtremes();this.setTickPositions();this.oldUserMin=this.userMin;this.oldUserMax=this.userMax;if(!this.isDirty)this.isDirty=i||this.min!==this.oldMin||this.max!==this.oldMax}else if(!this.isXAxis){if(this.oldStacks)e=this.stacks=this.oldStacks;for(t in e)for(n in e[t])e[t][n].cum=e[t][n].total}this.setMaxTicks()},setExtremes:function(t,n,r,i,s){var o=this,u=o.chart,r=p(r,!0),s=e(s,{min:t,max:n});ln(o,"setExtremes",s,function(){o.userMin=t;o.userMax=n;o.isDirtyExtremes=!0;r&&u.redraw(i)})},zoom:function(e,t){this.allowZoomOutside||(l(this.dataMin)&&e<=this.dataMin&&(e=W),l(this.dataMax)&&t>=this.dataMax&&(t=W));this.displayBtn=e!==W||t!==W;this.setExtremes(e,t,!1,W,{trigger:"zoom"});return!0},setAxisSize:function(){var e=this.chart,t=this.options,n=t.offsetLeft||0,r=t.offsetRight||0,i=this.horiz,s,o;this.left=o=p(t.left,e.plotLeft+n);this.top=s=p(t.top,e.plotTop);this.width=n=p(t.width,e.plotWidth-n+r);this.height=t=p(t.height,e.plotHeight);this.bottom=e.chartHeight-t-s;this.right=e.chartWidth-n-o;this.len=G(i?n:t,0);this.pos=i?o:s},getExtremes:function(){var e=this.isLog;return{min:e?_(a(this.min)):this.min,max:e?_(a(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(e){var t=this.isLog,n=t?a(this.min):this.min,t=t?a(this.max):this.max;n>e||e===null?e=n:t<e&&(e=t);return this.translate(e,0,1,0,1)},addPlotBand:function(e){this.addPlotBandOrLine(e,"plotBands")},addPlotLine:function(e){this.addPlotBandOrLine(e,"plotLines")},addPlotBandOrLine:function(e,t){var n=(new j(this,e)).render(),r=this.userOptions;t&&(r[t]=r[t]||[],r[t].push(e));this.plotLinesAndBands.push(n);return n},autoLabelAlign:function(e){e=(p(e,0)-this.side*90+720)%360;return e>15&&e<165?"right":e>195&&e<345?"left":"center"},getOffset:function(){var e=this,t=e.chart,n=t.renderer,r=e.options,i=e.tickPositions,s=e.ticks,o=e.horiz,u=e.side,a=t.inverted?[1,0,3,2][u]:u,f,c=0,h,d=0,v=r.title,m=r.labels,g=0,y=t.axisOffset,b=t.clipOffset,w=[-1,1,1,-1][u],E,S=1,x=p(m.maxStaggerLines,5),T,N,C,k;e.hasData=f=e.hasVisibleSeries||l(e.min)&&l(e.max)&&!!i;e.showAxis=t=f||p(r.showEmpty,!0);e.staggerLines=e.horiz&&m.staggerLines;if(!e.axisGroup)e.gridGroup=n.g("grid").attr({zIndex:r.gridZIndex||1}).add(),e.axisGroup=n.g("axis").attr({zIndex:r.zIndex||2}).add(),e.labelGroup=n.g("axis-labels").attr({zIndex:m.zIndex||7}).add();if(f||e.isLinked){e.labelAlign=p(m.align||e.autoLabelAlign(m.rotation));rn(i,function(t){s[t]?s[t].addLabel():s[t]=new B(e,t)});if(e.horiz&&!e.staggerLines&&x&&!m.rotation){for(E=e.reversed?[].concat(i).reverse():i;S<x;){f=[];T=!1;for(m=0;m<E.length;m++)N=E[m],C=(C=s[N].label&&s[N].label.bBox)?C.width:0,k=m%S,C&&(N=e.translate(N),f[k]!==W&&N<f[k]&&(T=!0),f[k]=N+C);if(T)S++;else break}if(S>1)e.staggerLines=S}rn(i,function(t){if(u===0||u===2||{1:"left",3:"right"}[u]===e.labelAlign)g=G(s[t].getLabelSize(),g)});if(e.staggerLines)g*=e.staggerLines,e.labelOffset=g}else for(E in s)s[E].destroy(),delete s[E];if(v&&v.text&&v.enabled!==!1){if(!e.axisTitle)e.axisTitle=n.text(v.text,0,0,v.useHTML).attr({zIndex:7,rotation:v.rotation||0,align:v.textAlign||{low:"left",middle:"center",high:"right"}[v.align]}).css(v.style).add(e.axisGroup),e.axisTitle.isNew=!0;if(t)c=e.axisTitle.getBBox()[o?"height":"width"],d=p(v.margin,o?5:10),h=v.offset;e.axisTitle[t?"show":"hide"]()}e.offset=w*p(r.offset,y[u]);e.axisTitleMargin=p(h,g+d+(u!==2&&g&&w*r.labels[o?"y":"x"]));y[u]=G(y[u],e.axisTitleMargin+c+w*e.offset);b[a]=G(b[a],r.lineWidth)},getLinePath:function(e){var t=this.chart,n=this.opposite,r=this.offset,i=this.horiz,s=this.left+(n?this.width:0)+r;this.lineTop=r=t.chartHeight-this.bottom-(n?this.height:0)+r;n||(e*=-1); + return t.renderer.crispLine(["M",i?this.left:s,i?r:this.top,"L",i?t.chartWidth-this.right:s,i?r:t.chartHeight-this.bottom],e)},getTitlePosition:function(){var e=this.horiz,t=this.left,r=this.top,i=this.len,s=this.options.title,o=e?t:r,u=this.opposite,a=this.offset,f=n(s.style.fontSize||12),i={low:o+(e?0:i),middle:o+i/2,high:o+(e?i:0)}[s.align],t=(e?r+this.height:t)+(e?1:-1)*(u?-1:1)*this.axisTitleMargin+(this.side===2?f:0);return{x:e?i:t+(u?this.width:0)+a+(s.x||0),y:e?t-(u?this.height:0)+a:i+(s.y||0)}},render:function(){var e=this,t=e.chart,n=t.renderer,r=e.options,i=e.isLog,s=e.isLinked,o=e.tickPositions,u=e.axisTitle,f=e.stacks,c=e.ticks,h=e.minorTicks,p=e.alternateBands,d=r.stackLabels,v=r.alternateGridColor,m=e.tickmarkOffset,g=r.lineWidth,y,b=t.hasRendered&&l(e.oldMin)&&!isNaN(e.oldMin);y=e.hasData;var w=e.showAxis,E,S;rn([c,h,p],function(e){for(var t in e)e[t].isActive=!1});if(y||s)if(e.minorTickInterval&&!e.categories&&rn(e.getMinorTickPositions(),function(t){h[t]||(h[t]=new B(e,t,"minor"));b&&h[t].isNew&&h[t].render(null,!0);h[t].render(null,!1,1)}),o.length&&(rn(o.slice(1).concat([o[0]]),function(t,n){n=n===o.length-1?0:n+1;if(!s||t>=e.min&&t<=e.max)c[t]||(c[t]=new B(e,t)),b&&c[t].isNew&&c[t].render(n,!0),c[t].render(n,!1,1)}),m&&e.min===0&&(c[-1]||(c[-1]=new B(e,-1,null,!0)),c[-1].render(-1))),v&&rn(o,function(t,n){if(n%2===0&&t<e.max)p[t]||(p[t]=new j(e)),E=t+m,S=o[n+1]!==W?o[n+1]+m:e.max,p[t].options={from:i?a(E):E,to:i?a(S):S,color:v},p[t].render(),p[t].isActive=!0}),!e._addedPlotLB)rn((r.plotLines||[]).concat(r.plotBands||[]),function(t){e.addPlotBandOrLine(t)}),e._addedPlotLB=!0;rn([c,h,p],function(e){var n,r,i=[],s=St?St.duration||500:0,o=function(){for(r=i.length;r--;)e[i[r]]&&!e[i[r]].isActive&&(e[i[r]].destroy(),delete e[i[r]])};for(n in e)if(!e[n].isActive)e[n].render(n,!1,0),e[n].isActive=!1,i.push(n);e===p||!t.hasRendered||!s?o():s&&setTimeout(o,s)});if(g)y=e.getLinePath(g),e.axisLine?e.axisLine.animate({d:y}):e.axisLine=n.path(y).attr({stroke:r.lineColor,"stroke-width":g,zIndex:7}).add(e.axisGroup),e.axisLine[w?"show":"hide"]();if(u&&w)u[u.isNew?"attr":"animate"](e.getTitlePosition()),u.isNew=!1;if(d&&d.enabled){var x,T,r=e.stackTotalGroup;if(!r)e.stackTotalGroup=r=n.g("stack-labels").attr({visibility:"visible",zIndex:6}).add();r.translate(t.plotLeft,t.plotTop);for(x in f)for(T in n=f[x],n)n[T].render(r)}e.isDirty=!1},removePlotBandOrLine:function(e){for(var t=this.plotLinesAndBands,n=this.options,r=this.userOptions,i=t.length;i--;)t[i].id===e&&t[i].destroy();rn([n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]],function(t){for(i=t.length;i--;)t[i].id===e&&f(t,t[i])})},setTitle:function(e,t){this.update({title:e},t)},redraw:function(){var e=this.chart.pointer;e.reset&&e.reset(!0);this.render();rn(this.plotLinesAndBands,function(e){e.render()});rn(this.series,function(e){e.isDirty=!0})},buildStacks:function(){this.isXAxis||rn(this.series,function(e){e.setStackedPoints()})},setCategories:function(e,t){this.update({categories:e},t)},destroy:function(e){var t=this,n=t.stacks,r,i=t.plotLinesAndBands;e||fn(t);for(r in n)A(n[r]),n[r]=null;rn([t.ticks,t.minorTicks,t.alternateBands],function(e){A(e)});for(e=i.length;e--;)i[e].destroy();rn("stackTotalGroup,axisLine,axisGroup,gridGroup,labelGroup,axisTitle".split(","),function(e){t[e]&&(t[e]=t[e].destroy())})}};q.prototype={init:function(e,t){var r=t.borderWidth,i=t.style,s=n(i.padding);this.chart=e;this.options=t;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.label=e.renderer.label("",0,0,t.shape,null,null,t.useHTML,null,"tooltip").attr({padding:s,fill:t.backgroundColor,"stroke-width":r,r:t.borderRadius,zIndex:8}).css(i).css({padding:0}).hide().add();dt||this.label.shadow(t.shadow);this.shared=t.shared},destroy:function(){rn(this.crosshairs,function(e){e&&e.destroy()});if(this.label)this.label=this.label.destroy();clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},move:function(t,n,r,i){var s=this,o=s.now,u=s.options.animation!==!1&&!s.isHidden;e(o,{x:u?(2*o.x+t)/3:t,y:u?(o.y+n)/2:n,anchorX:u?(2*o.anchorX+r)/3:r,anchorY:u?(o.anchorY+i)/2:i});s.label.attr(o);if(u&&(Z(t-o.x)>1||Z(n-o.y)>1))clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){s&&s.move(t,n,r,i)},32)},hide:function(){var e=this,t;clearTimeout(this.hideTimer);if(!this.isHidden)t=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){e.label.fadeOut();e.isHidden=!0},p(this.options.hideDelay,500)),t&&rn(t,function(e){e.setState()}),this.chart.hoverPoints=null},hideCrosshairs:function(){rn(this.crosshairs,function(e){e&&e.hide()})},getAnchor:function(e,t){var n,r=this.chart,i=r.inverted,s=r.plotTop,o=0,u=0,a,e=h(e);n=e[0].tooltipPos;this.followPointer&&t&&(t.chartX===W&&(t=r.pointer.normalize(t)),n=[t.chartX-r.plotLeft,t.chartY-s]);n||(rn(e,function(e){a=e.series.yAxis;o+=e.plotX;u+=(e.plotLow?(e.plotLow+e.plotHigh)/2:e.plotY)+(!i&&a?a.top-s:0)}),o/=e.length,u/=e.length,n=[i?r.plotWidth-u:o,this.shared&&!i&&e.length>1&&t?t.chartY-s:i?r.plotHeight-o:u]);return un(n,J)},getPosition:function(e,t,n){var r=this.chart,i=r.plotLeft,s=r.plotTop,o=r.plotWidth,u=r.plotHeight,a=p(this.options.distance,12),f=n.plotX,n=n.plotY,r=f+i+(r.inverted?a:-e-a),l=n-t+s+15,c;r<7&&(r=i+G(f,0)+a);r+e>i+o&&(r-=r+e-(i+o),l=n-t+s-a,c=!0);l<s+5&&(l=s+5,c&&n>=l&&n<=l+t&&(l=n+s+a));l+t>s+u&&(l=G(s,s+u-t-a));return{x:r,y:l}},defaultFormatter:function(e){var t=this.points||h(this),n=t[0].series,r;r=[n.tooltipHeaderFormatter(t[0])];rn(t,function(e){n=e.series;r.push(n.tooltipFormatter&&n.tooltipFormatter(e)||e.point.tooltipFormatter(n.tooltipOptions.pointFormat))});r.push(e.options.footerFormat||"");return r.join("")},refresh:function(e,t){var n=this.chart,r=this.label,i=this.options,s,o,a,f={},l,c=[];l=i.formatter||this.defaultFormatter;var f=n.hoverPoints,d,v=i.crosshairs;a=this.shared;clearTimeout(this.hideTimer);this.followPointer=h(e)[0].series.tooltipOptions.followPointer;o=this.getAnchor(e,t);s=o[0];o=o[1];a&&(!e.series||!e.series.noSharedTooltip)?(n.hoverPoints=e,f&&rn(f,function(e){e.setState()}),rn(e,function(e){e.setState("hover");c.push(e.getLabelConfig())}),f={x:e[0].category,y:e[0].y},f.points=c,e=e[0]):f=e.getLabelConfig();l=l.call(f,this);f=e.series;a=a||!f.isCartesian||f.tooltipOutsidePlot||n.isInsidePlot(s,o);l===!1||!a?this.hide():(this.isHidden&&(pn(r),r.attr("opacity",1).show()),r.attr({text:l}),d=i.borderColor||e.color||f.color||"#606060",r.attr({stroke:d}),this.updatePosition({plotX:s,plotY:o}),this.isHidden=!1);if(v){v=h(v);for(r=v.length;r--;)if(f=e.series,i=f[r?"yAxis":"xAxis"],v[r]&&i)if(a=r?p(e.stackY,e.y):e.x,i.isLog&&(a=u(a)),f.modifyValue&&(a=f.modifyValue(a)),i=i.getPlotLinePath(a,1),this.crosshairs[r])this.crosshairs[r].attr({d:i,visibility:"visible"});else{a={"stroke-width":v[r].width||1,stroke:v[r].color||"#C0C0C0",zIndex:v[r].zIndex||2};if(v[r].dashStyle)a.dashstyle=v[r].dashStyle;this.crosshairs[r]=n.renderer.path(i).attr(a).add()}}ln(n,"tooltipRefresh",{text:l,x:s+n.plotLeft,y:o+n.plotTop,borderColor:d})},updatePosition:function(e){var t=this.chart,n=this.label,n=(this.options.positioner||this.getPosition).call(this,n.width,n.height,e);this.move(J(n.x),J(n.y),e.plotX+t.plotLeft,e.plotY+t.plotTop)}};R.prototype={init:function(e,t){var n=dt?"":t.chart.zoomType,r=e.inverted,i;this.options=t;this.chart=e;this.zoomX=i=/x/.test(n);this.zoomY=n=/y/.test(n);this.zoomHor=i&&!r||n&&r;this.zoomVert=n&&!r||i&&r;this.pinchDown=[];this.lastValidTouch={};if(t.tooltip.enabled)e.tooltip=new q(e,t.tooltip);this.setDOMEvents()},normalize:function(t){var n,r,t=t||V.event;if(!t.target)t.target=t.srcElement;t=cn(t);r=t.touches?t.touches.item(0):t;this.chartPosition=n=on(this.chart.container);return e(t,{chartX:J(p(r.pageX,r.clientX)-n.left),chartY:J(p(r.pageY,r.clientY)-n.top)})},getCoordinates:function(e){var t={xAxis:[],yAxis:[]};rn(this.chart.axes,function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})});return t},getIndex:function(e){var t=this.chart;return t.inverted?t.plotHeight+t.plotTop-e.chartY:e.chartX-t.plotLeft},runPointActions:function(e){var t=this.chart,n=t.series,r=t.tooltip,i,s=t.hoverPoint,o=t.hoverSeries,u,a,f=t.chartWidth,l=this.getIndex(e);if(r&&this.options.tooltip.shared&&(!o||!o.noSharedTooltip)){i=[];u=n.length;for(a=0;a<u;a++)if(n[a].visible&&n[a].options.enableMouseTracking!==!1&&!n[a].noSharedTooltip&&n[a].tooltipPoints.length&&(t=n[a].tooltipPoints[l],t.series))t._dist=Z(l-t.clientX),f=Y(f,t._dist),i.push(t);for(u=i.length;u--;)i[u]._dist>f&&i.splice(u,1);if(i.length&&i[0].clientX!==this.hoverX)r.refresh(i,e),this.hoverX=i[0].clientX}if(o&&o.tracker){if((t=o.tooltipPoints[l])&&t!==s)t.onMouseOver(e)}else r&&r.followPointer&&!r.isHidden&&(e=r.getAnchor([{}],e),r.updatePosition({plotX:e[0],plotY:e[1]}))},reset:function(e){var t=this.chart,n=t.hoverSeries,r=t.hoverPoint,i=t.tooltip,t=i&&i.shared?t.hoverPoints:r;(e=e&&i&&t)&&h(t)[0].plotX===W&&(e=!1);if(e)i.refresh(t);else{if(r)r.onMouseOut();if(n)n.onMouseOut();i&&(i.hide(),i.hideCrosshairs());this.hoverX=null}},scaleGroups:function(e,t){var n=this.chart,r;rn(n.series,function(i){r=e||i.getPlotBox();i.xAxis&&i.xAxis.zoomEnabled&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(t?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))});n.clipRect.attr(t||n.clipBox)},pinchTranslateDirection:function(e,t,n,r,i,s,o){var u=this.chart,a=e?"x":"y",f=e?"X":"Y",l="chart"+f,c=e?"width":"height",h=u["plot"+(e?"Left":"Top")],p,d,v=1,m=u.inverted,g=u.bounds[e?"h":"v"],y=t.length===1,b=t[0][l],w=n[0][l],E=!y&&t[1][l],S=!y&&n[1][l],x,n=function(){!y&&Z(b-E)>20&&(v=Z(w-S)/Z(b-E));d=(h-w)/v+b;p=u["plot"+(e?"Width":"Height")]/v};n();t=d;t<g.min?(t=g.min,x=!0):t+p>g.max&&(t=g.max-p,x=!0);x?(w-=.8*(w-o[a][0]),y||(S-=.8*(S-o[a][1])),n()):o[a]=[w,S];m||(s[a]=d-h,s[c]=p);s=m?1/v:v;i[c]=p;i[a]=t;r[m?e?"scaleY":"scaleX":"scale"+f]=v;r["translate"+f]=s*h+(w-s*b)},pinch:function(t){var n=this,r=n.chart,i=n.pinchDown,s=r.tooltip&&r.tooltip.options.followTouchMove,o=t.touches,u=o.length,a=n.lastValidTouch,f=n.zoomHor||n.pinchHor,l=n.zoomVert||n.pinchVert,c=f||l,h=n.selectionMarker,p={},d={};t.type==="touchstart"&&(s||c)&&t.preventDefault();un(o,function(e){return n.normalize(e)});if(t.type==="touchstart")rn(o,function(e,t){i[t]={chartX:e.chartX,chartY:e.chartY}}),a.x=[i[0].chartX,i[1]&&i[1].chartX],a.y=[i[0].chartY,i[1]&&i[1].chartY],rn(r.axes,function(e){if(e.zoomEnabled){var t=r.bounds[e.horiz?"h":"v"],n=e.minPixelPadding,i=e.toPixels(e.dataMin),s=e.toPixels(e.dataMax),o=Y(i,s),i=G(i,s);t.min=Y(e.pos,o-n);t.max=G(e.pos+e.len,i+n)}});else if(i.length){if(!h)n.selectionMarker=h=e({destroy:Nt},r.plotBox);f&&n.pinchTranslateDirection(!0,i,o,p,h,d,a);l&&n.pinchTranslateDirection(!1,i,o,p,h,d,a);n.hasPinched=c;n.scaleGroups(p,d);!c&&s&&u===1&&this.runPointActions(n.normalize(t))}},dragStart:function(e){var t=this.chart;t.mouseIsDown=e.type;t.cancelClick=!1;t.mouseDownX=this.mouseDownX=e.chartX;this.mouseDownY=e.chartY},drag:function(e){var t=this.chart,n=t.options.chart,r=e.chartX,e=e.chartY,i=this.zoomHor,s=this.zoomVert,o=t.plotLeft,u=t.plotTop,a=t.plotWidth,f=t.plotHeight,l,c=this.mouseDownX,h=this.mouseDownY;r<o?r=o:r>o+a&&(r=o+a);e<u?e=u:e>u+f&&(e=u+f);this.hasDragged=Math.sqrt(Math.pow(c-r,2)+Math.pow(h-e,2));if(this.hasDragged>10){l=t.isInsidePlot(c-o,h-u);if(t.hasCartesianSeries&&(this.zoomX||this.zoomY)&&l&&!this.selectionMarker)this.selectionMarker=t.renderer.rect(o,u,i?1:a,s?1:f,0).attr({fill:n.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add();this.selectionMarker&&i&&(i=r-c,this.selectionMarker.attr({width:Z(i),x:(i>0?0:i)+c}));this.selectionMarker&&s&&(i=e-h,this.selectionMarker.attr({height:Z(i),y:(i>0?0:i)+h}));l&&!this.selectionMarker&&n.panning&&t.pan(r)}},drop:function(t){var n=this.chart,r=this.hasPinched;if(this.selectionMarker){var i={xAxis:[],yAxis:[],originalEvent:t.originalEvent||t},s=this.selectionMarker,o=s.x,u=s.y,a;if(this.hasDragged||r)rn(n.axes,function(e){if(e.zoomEnabled){var t=e.horiz,n=e.toValue(t?o:u),t=e.toValue(t?o+s.width:u+s.height);!isNaN(n)&&!isNaN(t)&&(i[e.xOrY+"Axis"].push({axis:e,min:Y(n,t),max:G(n,t)}),a=!0)}}),a&&ln(n,"selection",i,function(t){n.zoom(e(t,r?{animation:!1}:null))});this.selectionMarker=this.selectionMarker.destroy();r&&this.scaleGroups()}if(n)d(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[]},onContainerMouseDown:function(e){e=this.normalize(e);e.preventDefault&&e.preventDefault();this.dragStart(e)},onDocumentMouseUp:function(e){this.drop(e)},onDocumentMouseMove:function(e){var t=this.chart,n=this.chartPosition,r=t.hoverSeries,e=cn(e);n&&r&&r.isCartesian&&!t.isInsidePlot(e.pageX-n.left-t.plotLeft,e.pageY-n.top-t.plotTop)&&this.reset()},onContainerMouseLeave:function(){this.reset();this.chartPosition=null},onContainerMouseMove:function(e){var t=this.chart,e=this.normalize(e);e.returnValue=!1;t.mouseIsDown==="mousedown"&&this.drag(e);t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)&&!t.openMenu&&this.runPointActions(e)},inClass:function(e,t){for(var n;e;){if(n=c(e,"class"))if(n.indexOf(t)!==-1)return!0;else if(n.indexOf("highcharts-container")!==-1)return!1;e=e.parentNode}},onTrackerMouseOut:function(e){var t=this.chart.hoverSeries;if(t&&!t.options.stickyTracking&&!this.inClass(e.toElement||e.relatedTarget,"highcharts-tooltip"))t.onMouseOut()},onContainerClick:function(t){var n=this.chart,r=n.hoverPoint,i=n.plotLeft,s=n.plotTop,o=n.inverted,u,a,f,t=this.normalize(t);t.cancelBubble=!0;if(!n.cancelClick)r&&this.inClass(t.target,"highcharts-tracker")?(u=this.chartPosition,a=r.plotX,f=r.plotY,e(r,{pageX:u.left+i+(o?n.plotWidth-f:a),pageY:u.top+s+(o?n.plotHeight-a:f)}),ln(r.series,"click",e(t,{point:r})),n.hoverPoint&&r.firePointEvent("click",t)):(e(t,this.getCoordinates(t)),n.isInsidePlot(t.chartX-i,t.chartY-s)&&ln(n,"click",t))},onContainerTouchStart:function(e){var t=this.chart;e.touches.length===1?(e=this.normalize(e),t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)?(this.runPointActions(e),this.pinch(e)):this.reset()):e.touches.length===2&&this.pinch(e)},onContainerTouchMove:function(e){(e.touches.length===1||e.touches.length===2)&&this.pinch(e)},onDocumentTouchEnd:function(e){this.drop(e)},setDOMEvents:function(){var e=this,t=e.chart.container,n;this._events=n=[[t,"onmousedown","onContainerMouseDown"],[t,"onmousemove","onContainerMouseMove"],[t,"onclick","onContainerClick"],[t,"mouseleave","onContainerMouseLeave"],[X,"mousemove","onDocumentMouseMove"],[X,"mouseup","onDocumentMouseUp"]];mt&&n.push([t,"ontouchstart","onContainerTouchStart"],[t,"ontouchmove","onContainerTouchMove"],[X,"touchend","onDocumentTouchEnd"]);rn(n,function(t){e["_"+t[2]]=function(n){e[t[2]](n)};t[1].indexOf("on")===0?t[0][t[1]]=e["_"+t[2]]:an(t[0],t[1],e["_"+t[2]])})},destroy:function(){var e=this;rn(e._events,function(t){t[1].indexOf("on")===0?t[0][t[1]]=null:fn(t[0],t[1],e["_"+t[2]])});delete e._events;clearInterval(e.tooltipTimeout)}};U.prototype={init:function(e,r){var i=this,s=r.itemStyle,o=p(r.padding,8),u=r.itemMarginTop||0;this.options=r;if(r.enabled)i.baseline=n(s.fontSize)+3+u,i.itemStyle=s,i.itemHiddenStyle=t(s,r.itemHiddenStyle),i.itemMarginTop=u,i.padding=o,i.initialItemX=o,i.initialItemY=o-5,i.maxItemWidth=0,i.chart=e,i.itemHeight=0,i.lastLineHeight=0,i.render(),an(i.chart,"endResize",function(){i.positionCheckboxes()})},colorizeItem:function(e,t){var n=this.options,r=e.legendItem,i=e.legendLine,s=e.legendSymbol,o=this.itemHiddenStyle.color,n=t?n.itemStyle.color:o,u=t?e.color:o,o=e.options&&e.options.marker,a={stroke:u,fill:u},f;r&&r.css({fill:n,color:n});i&&i.attr({stroke:u});if(s){if(o&&s.isMarker)for(f in o=e.convertAttribs(o),o)r=o[f],r!==W&&(a[f]=r);s.attr(a)}},positionItem:function(e){var t=this.options,n=t.symbolPadding,t=!t.rtl,r=e._legendItemPos,i=r[0],r=r[1],s=e.checkbox;e.legendGroup&&e.legendGroup.translate(t?i:this.legendWidth-i-2*n-4,r);if(s)s.x=i,s.y=r},destroyItem:function(e){var t=e.checkbox;rn(["legendItem","legendLine","legendSymbol","legendGroup"],function(t){e[t]&&(e[t]=e[t].destroy())});t&&O(e.checkbox)},destroy:function(){var e=this.group,t=this.box;if(t)this.box=t.destroy();if(e)this.group=e.destroy()},positionCheckboxes:function(e){var t=this.group.alignAttr,n,r=this.clipHeight||this.legendHeight;if(t)n=t.translateY,rn(this.allItems,function(i){var s=i.checkbox,o;s&&(o=n+s.y+(e||0)+3,d(s,{left:t.translateX+i.legendItemWidth+s.x-20+"px",top:o+"px",display:o>n-6&&o<n+r-6?"":Lt}))})},renderTitle:function(){var e=this.padding,t=this.options.title,n=0;if(t.text){if(!this.title)this.title=this.chart.renderer.label(t.text,e-3,e-4,null,null,null,null,null,"legend-title").attr({zIndex:1}).css(t.style).add(this.group);e=this.title.getBBox();n=e.height;this.offsetWidth=e.width;this.contentGroup.attr({translateY:n})}this.titleHeight=n},renderItem:function(e){var n;var r=this,i=r.chart,s=i.renderer,o=r.options,u=o.layout==="horizontal",a=o.symbolWidth,f=o.symbolPadding,l=r.itemStyle,c=r.itemHiddenStyle,h=r.padding,d=u?p(o.itemDistance,8):0,m=!o.rtl,g=o.width,y=o.itemMarginBottom||0,b=r.itemMarginTop,E=r.initialItemX,S=e.legendItem,x=e.series||e,T=x.options,N=T.showCheckbox,C=o.useHTML;if(!S&&(e.legendGroup=s.g("legend-item").attr({zIndex:1}).add(r.scrollGroup),x.drawLegendSymbol(r,e),e.legendItem=S=s.text(o.labelFormat?w(o.labelFormat,e):o.labelFormatter.call(e),m?a+f:-f,r.baseline,C).css(t(e.visible?l:c)).attr({align:m?"left":"right",zIndex:2}).add(e.legendGroup),(C?S:e.legendGroup).on("mouseover",function(){e.setState("hover");S.css(r.options.itemHoverStyle)}).on("mouseout",function(){S.css(e.visible?l:c);e.setState()}).on("click",function(t){var n=function(){e.setVisible()},t={browserEvent:t};e.firePointEvent?e.firePointEvent("legendItemClick",t,n):ln(e,"legendItemClick",t,n)}),r.colorizeItem(e,e.visible),T&&N))e.checkbox=v("input",{type:"checkbox",checked:e.selected,defaultChecked:e.selected},o.itemCheckboxStyle,i.container),an(e.checkbox,"click",function(t){ln(e,"checkboxClick",{checked:t.target.checked},function(){e.select()})});s=S.getBBox();n=e.legendItemWidth=o.itemWidth||a+f+s.width+d+(N?20:0),o=n;r.itemHeight=a=s.height;if(u&&r.itemX-E+o>(g||i.chartWidth-2*h-E))r.itemX=E,r.itemY+=b+r.lastLineHeight+y,r.lastLineHeight=0;r.maxItemWidth=G(r.maxItemWidth,o);r.lastItemY=b+r.itemY+y;r.lastLineHeight=G(a,r.lastLineHeight);e._legendItemPos=[r.itemX,r.itemY];u?r.itemX+=o:(r.itemY+=b+a+y,r.lastLineHeight=a);r.offsetWidth=g||G((u?r.itemX-E-d:o)+h,r.offsetWidth)},render:function(){var t=this,n=t.chart,r=n.renderer,i=t.group,s,o,u,a,f=t.box,c=t.options,h=t.padding,p=c.borderWidth,d=c.backgroundColor;t.itemX=t.initialItemX;t.itemY=t.initialItemY;t.offsetWidth=0;t.lastItemY=0;if(!i)t.group=i=r.g("legend").attr({zIndex:7}).add(),t.contentGroup=r.g().attr({zIndex:1}).add(i),t.scrollGroup=r.g().add(t.contentGroup);t.renderTitle();s=[];rn(n.series,function(e){var t=e.options;t.showInLegend&&!l(t.linkedTo)&&(s=s.concat(e.legendItems||(t.legendType==="point"?e.data:e)))});C(s,function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)});c.reversed&&s.reverse();t.allItems=s;t.display=o=!!s.length;rn(s,function(e){t.renderItem(e)});u=c.width||t.offsetWidth;a=t.lastItemY+t.lastLineHeight+t.titleHeight;a=t.handleOverflow(a);if(p||d){u+=h;a+=h;if(f){if(u>0&&a>0)f[f.isNew?"attr":"animate"](f.crisp(null,null,null,u,a)),f.isNew=!1}else t.box=f=r.rect(0,0,u,a,c.borderRadius,p||0).attr({stroke:c.borderColor,"stroke-width":p||0,fill:d||Lt}).add(i).shadow(c.shadow),f.isNew=!0;f[o?"show":"hide"]()}t.legendWidth=u;t.legendHeight=a;rn(s,function(e){t.positionItem(e)});o&&i.align(e({width:u,height:a},c),!0,"spacingBox");n.isResizing||this.positionCheckboxes()},handleOverflow:function(e){var t=this,n=this.chart,r=n.renderer,i=this.options,s=i.y,s=n.spacingBox.height+(i.verticalAlign==="top"?-s:s)-this.padding,o=i.maxHeight,u=this.clipRect,a=i.navigation,f=p(a.animation,!0),l=a.arrowSize||12,c=this.nav;i.layout==="horizontal"&&(s/=2);o&&(s=Y(s,o));if(e>s&&!i.useHTML){this.clipHeight=n=s-20-this.titleHeight;this.pageCount=Q(e/n);this.currentPage=p(this.currentPage,1);this.fullHeight=e;if(!u)u=t.clipRect=r.clipRect(0,0,9999,0),t.contentGroup.clip(u);u.attr({height:n});if(!c)this.nav=c=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,l,l).on("click",function(){t.scroll(-1,f)}).add(c),this.pager=r.text("",15,10).css(a.style).add(c),this.down=r.symbol("triangle-down",0,0,l,l).on("click",function(){t.scroll(1,f)}).add(c);t.scroll(0);e=s}else if(c)u.attr({height:n.chartHeight}),c.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0;return e},scroll:function(e,t){var n=this.pageCount,r=this.currentPage+e,i=this.clipHeight,s=this.options.navigation,o=s.activeColor,u=s.inactiveColor,s=this.pager,a=this.padding;r>n&&(r=n);if(r>0)t!==W&&D(t,this.chart),this.nav.attr({translateX:a,translateY:i+7+this.titleHeight,visibility:"visible"}),this.up.attr({fill:r===1?u:o}).css({cursor:r===1?"default":"pointer"}),s.attr({text:r+"/"+this.pageCount}),this.down.attr({x:18+this.pager.getBBox().width,fill:r===n?u:o}).css({cursor:r===n?"default":"pointer"}),i=-Y(i*(r-1),this.fullHeight-i+a)+1,this.scrollGroup.animate({translateY:i}),s.attr({text:r+"/"+n}),this.currentPage=r,this.positionCheckboxes(i)}};z.prototype={init:function(e,n){var r,s=e.series;e.series=null;r=t(wt,e);r.series=e.series=s;var s=r.chart,o=s.margin,o=i(o)?o:[o,o,o,o];this.optionsMarginTop=p(s.marginTop,o[0]);this.optionsMarginRight=p(s.marginRight,o[1]);this.optionsMarginBottom=p(s.marginBottom,o[2]);this.optionsMarginLeft=p(s.marginLeft,o[3]);o=s.events;this.bounds={h:{},v:{}};this.callback=n;this.isResizing=0;this.options=r;this.axes=[];this.series=[];this.hasCartesianSeries=s.showAxes;var u=this,a;u.index=Ct.length;Ct.push(u);s.reflow!==!1&&an(u,"load",function(){u.initReflow()});if(o)for(a in o)an(u,a,o[a]);u.xAxis=[];u.yAxis=[];u.animation=dt?!1:p(s.animation,!0);u.pointCount=0;u.counters=new N;u.firstRender()},initSeries:function(e){var t=this.options.chart;(t=Gt[e.type||t.type||t.defaultSeriesType])||M(17,!0);t=new t;t.init(this,e);return t},addSeries:function(e,t,n){var r,i=this;e&&(t=p(t,!0),ln(i,"addSeries",{options:e},function(){r=i.initSeries(e);i.isDirtyLegend=!0;t&&i.redraw(n)}));return r},addAxis:function(e,n,r,i){var s=n?"xAxis":"yAxis",o=this.options;new I(this,t(e,{index:this[s].length,isX:n}));o[s]=h(o[s]||{});o[s].push(e);p(r,!0)&&this.redraw(i)},isInsidePlot:function(e,t,n){var r=n?t:e,e=n?e:t;return r>=0&&r<=this.plotWidth&&e>=0&&e<=this.plotHeight},adjustTickAmounts:function(){this.options.chart.alignTicks!==!1&&rn(this.axes,function(e){e.adjustTickAmount()});this.maxTicks=null},redraw:function(e){var t=this.axes,n=this.series,r=this.pointer,i=this.legend,s=this.isDirtyLegend,o,u,a=this.isDirtyBox,f=n.length,l=f,c=this.renderer,h=c.isHidden(),p=[];D(e,this);h&&this.cloneRenderTo();for(this.layOutTitles();l--;)if(e=n[l],e.options.stacking&&(o=!0,e.isDirty)){u=!0;break}if(u)for(l=f;l--;)if(e=n[l],e.options.stacking)e.isDirty=!0;rn(n,function(e){e.isDirty&&e.options.legendType==="point"&&(s=!0)});if(s&&i.options.enabled)i.render(),this.isDirtyLegend=!1;o&&this.getStacks();if(this.hasCartesianSeries){if(!this.isResizing)this.maxTicks=null,rn(t,function(e){e.setScale()});this.adjustTickAmounts();this.getMargins();rn(t,function(e){if(e.isDirtyExtremes)e.isDirtyExtremes=!1,p.push(function(){ln(e,"afterSetExtremes",e.getExtremes())});if(e.isDirty||a||o)e.redraw(),a=!0})}a&&this.drawChartBox();rn(n,function(e){e.isDirty&&e.visible&&(!e.isCartesian||e.xAxis)&&e.redraw()});r&&r.reset&&r.reset(!0);c.draw();ln(this,"redraw");h&&this.cloneRenderTo(!0);rn(p,function(e){e.call()})},showLoading:function(t){var n=this.options,r=this.loadingDiv,i=n.loading;if(!r)this.loadingDiv=r=v(kt,{className:"highcharts-loading"},e(i.style,{zIndex:10,display:Lt}),this.container),this.loadingSpan=v("span",null,i.labelStyle,r);this.loadingSpan.innerHTML=t||n.lang.loading;if(!this.loadingShown)d(r,{opacity:0,display:"",left:this.plotLeft+"px",top:this.plotTop+"px",width:this.plotWidth+"px",height:this.plotHeight+"px"}),hn(r,{opacity:i.style.opacity},{duration:i.showDuration||0}),this.loadingShown=!0},hideLoading:function(){var e=this.options,t=this.loadingDiv;t&&hn(t,{opacity:0},{duration:e.loading.hideDuration||100,complete:function(){d(t,{display:Lt})}});this.loadingShown=!1},get:function(e){var t=this.axes,n=this.series,r,i;for(r=0;r<t.length;r++)if(t[r].options.id===e)return t[r];for(r=0;r<n.length;r++)if(n[r].options.id===e)return n[r];for(r=0;r<n.length;r++){i=n[r].points||[];for(t=0;t<i.length;t++)if(i[t].id===e)return i[t]}return null},getAxes:function(){var e=this,t=this.options,n=t.xAxis=h(t.xAxis||{}),t=t.yAxis=h(t.yAxis||{});rn(n,function(e,t){e.index=t;e.isX=!0});rn(t,function(e,t){e.index=t});n=n.concat(t);rn(n,function(t){new I(e,t)});e.adjustTickAmounts()},getSelectedPoints:function(){var e=[];rn(this.series,function(t){e=e.concat(sn(t.points||[],function(e){return e.selected}))});return e},getSelectedSeries:function(){return sn(this.series,function(e){return e.selected})},getStacks:function(){var e=this;rn(e.yAxis,function(e){if(e.stacks&&e.hasVisibleSeries)e.oldStacks=e.stacks});rn(e.series,function(t){if(t.options.stacking&&(t.visible===!0||e.options.chart.ignoreHiddenSeries===!1))t.stackKey=t.type+p(t.options.stack,"")})},showResetZoom:function(){var e=this,t=wt.lang,n=e.options.chart.resetZoomButton,r=n.theme,i=r.states,s=n.relativeTo==="chart"?null:"plotBox";this.resetZoomButton=e.renderer.button(t.resetZoom,null,null,function(){e.zoomOut()},r,i&&i.hover).attr({align:n.position.align,title:t.resetZoomTitle}).add().align(n.position,!1,s)},zoomOut:function(){var e=this;ln(e,"selection",{resetSelection:!0},function(){e.zoom()})},zoom:function(e){var t,n=this.pointer,r=!1,s;!e||e.resetSelection?rn(this.axes,function(e){t=e.zoom()}):rn(e.xAxis.concat(e.yAxis),function(e){var i=e.axis,s=i.isXAxis;if(n[s?"zoomX":"zoomY"]||n[s?"pinchX":"pinchY"])t=i.zoom(e.min,e.max),i.displayBtn&&(r=!0)});s=this.resetZoomButton;if(r&&!s)this.showResetZoom();else if(!r&&i(s))this.resetZoomButton=s.destroy();t&&this.redraw(p(this.options.chart.animation,e&&e.animation,this.pointCount<100))},pan:function(e){var t=this.xAxis[0],n=this.mouseDownX,r=t.pointRange/2,i=t.getExtremes(),s=t.translate(n-e,!0)+r,n=t.translate(n+this.plotWidth-e,!0)-r;(r=this.hoverPoints)&&rn(r,function(e){e.setState()});t.series.length&&s>Y(i.dataMin,i.min)&&n<G(i.dataMax,i.max)&&t.setExtremes(s,n,!0,!1,{trigger:"pan"});this.mouseDownX=e;d(this.container,{cursor:"move"})},setTitle:function(e,n){var r;var i=this,s=i.options,o;o=s.title=t(s.title,e);r=s.subtitle=t(s.subtitle,n),s=r;rn([["title",e,o],["subtitle",n,s]],function(e){var t=e[0],n=i[t],r=e[1],e=e[2];n&&r&&(i[t]=n=n.destroy());e&&e.text&&!n&&(i[t]=i.renderer.text(e.text,0,0,e.useHTML).attr({align:e.align,"class":"highcharts-"+t,zIndex:e.zIndex||4}).css(e.style).add())});i.layOutTitles()},layOutTitles:function(){var t=0,n=this.title,r=this.subtitle,i=this.options,s=i.title,i=i.subtitle,o=this.spacingBox.width-44;if(n&&(n.css({width:(s.width||o)+"px"}).align(e({y:15},s),!1,"spacingBox"),!s.floating&&!s.verticalAlign))t=n.getBBox().height,t>=18&&t<=25&&(t=15);r&&(r.css({width:(i.width||o)+"px"}).align(e({y:t+s.margin},i),!1,"spacingBox"),!i.floating&&!i.verticalAlign&&(t=Q(t+r.getBBox().height)));this.titleOffset=t},getChartSize:function(){var e=this.options.chart,t=this.renderToClone||this.renderTo;this.containerWidth=en(t,"width");this.containerHeight=en(t,"height");this.chartWidth=G(0,e.width||this.containerWidth||600);this.chartHeight=G(0,p(e.height,this.containerHeight>19?this.containerHeight:400))},cloneRenderTo:function(e){var t=this.renderToClone,n=this.container;e?t&&(this.renderTo.appendChild(n),O(t),delete this.renderToClone):(n&&n.parentNode===this.renderTo&&this.renderTo.removeChild(n),this.renderToClone=t=this.renderTo.cloneNode(0),d(t,{position:"absolute",top:"-9999px",display:"block"}),X.body.appendChild(t),n&&t.appendChild(n))},getContainer:function(){var t,i=this.options.chart,s,o,u;this.renderTo=t=i.renderTo;u="highcharts-"+yt++;if(r(t))this.renderTo=t=X.getElementById(t);t||M(13,!0);s=n(c(t,"data-highcharts-chart"));!isNaN(s)&&Ct[s]&&Ct[s].destroy();c(t,"data-highcharts-chart",this.index);t.innerHTML="";t.offsetWidth||this.cloneRenderTo();this.getChartSize();s=this.chartWidth;o=this.chartHeight;this.container=t=v(kt,{className:"highcharts-container"+(i.className?" "+i.className:""),id:u},e({position:"relative",overflow:"hidden",width:s+"px",height:o+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},i.style),this.renderToClone||t);this._cursor=t.style.cursor;this.renderer=i.forExport?new mn(t,s,o,!0):new vt(t,s,o);dt&&this.renderer.create(this,t,s,o)},getMargins:function(){var e=this.options.chart,t=e.spacingTop,n=e.spacingRight,r=e.spacingBottom,e=e.spacingLeft,i,s=this.legend,o=this.optionsMarginTop,u=this.optionsMarginLeft,a=this.optionsMarginRight,f=this.optionsMarginBottom,c=this.options.legend,h=p(c.margin,10),d=c.x,v=c.y,m=c.align,g=c.verticalAlign,y=this.titleOffset;this.resetMargins();i=this.axisOffset;if(y&&!l(o))this.plotTop=G(this.plotTop,y+this.options.title.margin+t);if(s.display&&!c.floating)if(m==="right"){if(!l(a))this.marginRight=G(this.marginRight,s.legendWidth-d+h+n)}else if(m==="left"){if(!l(u))this.plotLeft=G(this.plotLeft,s.legendWidth+d+h+e)}else if(g==="top"){if(!l(o))this.plotTop=G(this.plotTop,s.legendHeight+v+h+t)}else if(g==="bottom"&&!l(f))this.marginBottom=G(this.marginBottom,s.legendHeight-v+h+r);this.extraBottomMargin&&(this.marginBottom+=this.extraBottomMargin);this.extraTopMargin&&(this.plotTop+=this.extraTopMargin);this.hasCartesianSeries&&rn(this.axes,function(e){e.getOffset()});l(u)||(this.plotLeft+=i[3]);l(o)||(this.plotTop+=i[0]);l(f)||(this.marginBottom+=i[2]);l(a)||(this.marginRight+=i[1]);this.setChartSize()},initReflow:function(){function e(e){var s=n.width||en(r,"width"),o=n.height||en(r,"height"),e=e?e.target:V;if(!t.hasUserSize&&s&&o&&(e===V||e===X)){if(s!==t.containerWidth||o!==t.containerHeight)clearTimeout(i),t.reflowTimeout=i=setTimeout(function(){if(t.container)t.setSize(s,o,!1),t.hasUserSize=null},100);t.containerWidth=s;t.containerHeight=o}}var t=this,n=t.options.chart,r=t.renderTo,i;an(V,"resize",e);an(t,"destroy",function(){fn(V,"resize",e)})},setSize:function(e,t,n){var r=this,i,s,o;r.isResizing+=1;o=function(){r&&ln(r,"endResize",null,function(){r.isResizing-=1})};D(n,r);r.oldChartHeight=r.chartHeight;r.oldChartWidth=r.chartWidth;if(l(e))r.chartWidth=i=G(0,J(e)),r.hasUserSize=!!i;if(l(t))r.chartHeight=s=G(0,J(t));d(r.container,{width:i+"px",height:s+"px"});r.setChartSize(!0);r.renderer.setSize(i,s,n);r.maxTicks=null;rn(r.axes,function(e){e.isDirty=!0;e.setScale()});rn(r.series,function(e){e.isDirty=!0});r.isDirtyLegend=!0;r.isDirtyBox=!0;r.getMargins();r.redraw(n);r.oldChartHeight=null;ln(r,"resize");St===!1?o():setTimeout(o,St&&St.duration||500)},setChartSize:function(e){var t=this.inverted,n=this.renderer,r=this.chartWidth,i=this.chartHeight,s=this.options.chart,o=s.spacingTop,u=s.spacingRight,a=s.spacingBottom,f=s.spacingLeft,l=this.clipOffset,c,h,p,d;this.plotLeft=c=J(this.plotLeft);this.plotTop=h=J(this.plotTop);this.plotWidth=p=G(0,J(r-c-this.marginRight));this.plotHeight=d=G(0,J(i-h-this.marginBottom));this.plotSizeX=t?d:p;this.plotSizeY=t?p:d;this.plotBorderWidth=t=s.plotBorderWidth||0;this.spacingBox=n.spacingBox={x:f,y:o,width:r-f-u,height:i-o-a};this.plotBox=n.plotBox={x:c,y:h,width:p,height:d};n=Q(G(t,l[3])/2);r=Q(G(t,l[0])/2);this.clipBox={x:n,y:r,width:K(this.plotSizeX-G(t,l[1])/2-n),height:K(this.plotSizeY-G(t,l[2])/2-r)};e||rn(this.axes,function(e){e.setAxisSize();e.setAxisTranslation()})},resetMargins:function(){var e=this.options.chart,t=e.spacingRight,n=e.spacingBottom,r=e.spacingLeft;this.plotTop=p(this.optionsMarginTop,e.spacingTop);this.marginRight=p(this.optionsMarginRight,t);this.marginBottom=p(this.optionsMarginBottom,n);this.plotLeft=p(this.optionsMarginLeft,r);this.axisOffset=[0,0,0,0]; + this.clipOffset=[0,0,0,0]},drawChartBox:function(){var e=this.options.chart,t=this.renderer,n=this.chartWidth,r=this.chartHeight,i=this.chartBackground,s=this.plotBackground,o=this.plotBorder,u=this.plotBGImage,a=e.borderWidth||0,f=e.backgroundColor,l=e.plotBackgroundColor,c=e.plotBackgroundImage,h=e.plotBorderWidth||0,p,d=this.plotLeft,v=this.plotTop,m=this.plotWidth,g=this.plotHeight,y=this.plotBox,b=this.clipRect,w=this.clipBox;p=a+(e.shadow?8:0);if(a||f)if(i)i.animate(i.crisp(null,null,null,n-p,r-p));else{i={fill:f||Lt};if(a)i.stroke=e.borderColor,i["stroke-width"]=a;this.chartBackground=t.rect(p/2,p/2,n-p,r-p,e.borderRadius,a).attr(i).add().shadow(e.shadow)}if(l)s?s.animate(y):this.plotBackground=t.rect(d,v,m,g,0).attr({fill:l}).add().shadow(e.plotShadow);if(c)u?u.animate(y):this.plotBGImage=t.image(c,d,v,m,g).add();b?b.animate({width:w.width,height:w.height}):this.clipRect=t.clipRect(w);if(h)o?o.animate(o.crisp(null,d,v,m,g)):this.plotBorder=t.rect(d,v,m,g,0,h).attr({stroke:e.plotBorderColor,"stroke-width":h,zIndex:1}).add();this.isDirtyBox=!1},propFromSeries:function(){var e=this,t=e.options.chart,n,r=e.options.series,i,s;rn(["inverted","angular","polar"],function(o){n=Gt[t.type||t.defaultSeriesType];s=e[o]||t[o]||n&&n.prototype[o];for(i=r&&r.length;!s&&i--;)(n=Gt[r[i].type])&&n.prototype[o]&&(s=!0);e[o]=s})},render:function(){var t=this,r=t.axes,i=t.renderer,s=t.options,o=s.labels,u=s.credits,a;t.setTitle();t.legend=new U(t,s.legend);t.getStacks();rn(r,function(e){e.setScale()});t.getMargins();t.maxTicks=null;rn(r,function(e){e.setTickPositions(!0);e.setMaxTicks()});t.adjustTickAmounts();t.getMargins();t.drawChartBox();t.hasCartesianSeries&&rn(r,function(e){e.render()});if(!t.seriesGroup)t.seriesGroup=i.g("series-group").attr({zIndex:3}).add();rn(t.series,function(e){e.translate();e.setTooltipPoints();e.render()});o.items&&rn(o.items,function(r){var s=e(o.style,r.style),u=n(s.left)+t.plotLeft,a=n(s.top)+t.plotTop+12;delete s.left;delete s.top;i.text(r.html,u,a).attr({zIndex:2}).css(s).add()});if(u.enabled&&!t.credits)a=u.href,t.credits=i.text(u.text,0,0).on("click",function(){if(a)location.href=a}).attr({align:u.position.align,zIndex:8}).css(u.style).add().align(u.position);t.hasRendered=!0},destroy:function(){var e=this,t=e.axes,n=e.series,r=e.container,i,s=r&&r.parentNode;ln(e,"destroy");Ct[e.index]=W;e.renderTo.removeAttribute("data-highcharts-chart");fn(e);for(i=t.length;i--;)t[i]=t[i].destroy();for(i=n.length;i--;)n[i]=n[i].destroy();rn("title,subtitle,chartBackground,plotBackground,plotBGImage,plotBorder,seriesGroup,clipRect,credits,pointer,scroller,rangeSelector,legend,resetZoomButton,tooltip,renderer".split(","),function(t){var n=e[t];n&&n.destroy&&(e[t]=n.destroy())});if(r)r.innerHTML="",fn(r),s&&O(r);for(i in e)delete e[i]},isReadyToRender:function(){var e=this;return!ht&&V==V.top&&X.readyState!=="complete"||dt&&!V.canvg?(dt?bn.push(function(){e.firstRender()},e.options.global.canvasToolsURL):X.attachEvent("onreadystatechange",function(){X.detachEvent("onreadystatechange",e.firstRender);X.readyState==="complete"&&e.firstRender()}),!1):!0},firstRender:function(){var e=this,t=e.options,n=e.callback;if(e.isReadyToRender())e.getContainer(),ln(e,"init"),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),rn(t.series||[],function(t){e.initSeries(t)}),ln(e,"beforeRender"),e.pointer=new R(e,t),e.render(),e.renderer.draw(),n&&n.apply(e,[e]),rn(e.callbacks,function(t){t.apply(e,[e])}),e.cloneRenderTo(!0),ln(e,"load")}};z.prototype.callbacks=[];var wn=function(){};wn.prototype={init:function(e,t,n){this.series=e;this.applyOptions(t,n);this.pointAttr={};if(e.options.colorByPoint&&(t=e.options.colors||e.chart.options.colors,this.color=this.color||t[e.colorCounter++],e.colorCounter===t.length))e.colorCounter=0;e.chart.pointCount++;return this},applyOptions:function(t,n){var r=this.series,i=r.pointValKey,t=wn.prototype.optionsToObject.call(this,t);e(this,t);this.options=this.options?e(this.options,t):t;if(i)this.y=this[i];if(this.x===W&&r)this.x=n===W?r.autoIncrement():n;return this},optionsToObject:function(e){var t,n=this.series,r=n.pointArrayMap||["y"],i=r.length,o=0,u=0;if(typeof e==="number"||e===null)t={y:e};else if(s(e)){t={};if(e.length>i){n=typeof e[0];if(n==="string")t.name=e[0];else if(n==="number")t.x=e[0];o++}for(;u<i;)t[r[u++]]=e[o++]}else if(typeof e==="object"){t=e;if(e.dataLabels)n._hasPointLabels=!0;if(e.marker)n._hasPointMarkers=!0}return t},destroy:function(){var e=this.series.chart,t=e.hoverPoints,n;e.pointCount--;if(t&&(this.setState(),f(t,this),!t.length))e.hoverPoints=null;if(this===e.hoverPoint)this.onMouseOut();if(this.graphic||this.dataLabel)fn(this),this.destroyElements();this.legendItem&&e.legend.destroyItem(this);for(n in this)this[n]=null},destroyElements:function(){for(var e="graphic,dataLabel,dataLabelUpper,group,connector,shadowGroup".split(","),t,n=6;n--;)t=e[n],this[t]&&(this[t]=this[t].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},select:function(e,t){var n=this,r=n.series,i=r.chart,e=p(e,!n.selected);n.firePointEvent(e?"select":"unselect",{accumulate:t},function(){n.selected=n.options.selected=e;r.options.data[nn(n,r.data)]=n.options;n.setState(e&&"select");t||rn(i.getSelectedPoints(),function(e){if(e.selected&&e!==n)e.selected=e.options.selected=!1,r.options.data[nn(e,r.data)]=e.options,e.setState(""),e.firePointEvent("unselect")})})},onMouseOver:function(e){var t=this.series,n=t.chart,r=n.tooltip,i=n.hoverPoint;if(i&&i!==this)i.onMouseOut();this.firePointEvent("mouseOver");r&&(!r.shared||t.noSharedTooltip)&&r.refresh(this,e);this.setState("hover");n.hoverPoint=this},onMouseOut:function(){var e=this.series.chart,t=e.hoverPoints;if(!t||nn(this,t)===-1)this.firePointEvent("mouseOut"),this.setState(),e.hoverPoint=null},tooltipFormatter:function(e){var t=this.series,n=t.tooltipOptions,r=p(n.valueDecimals,""),i=n.valuePrefix||"",s=n.valueSuffix||"";rn(t.pointArrayMap||["y"],function(t){t="{point."+t;if(i||s)e=e.replace(t+"}",i+t+"}"+s);e=e.replace(t+"}",t+":,."+r+"f}")});return w(e,{point:this,series:this.series})},update:function(e,t,n){var r=this,s=r.series,o=r.graphic,u,a=s.data,f=s.chart,l=s.options,t=p(t,!0);r.firePointEvent("update",{options:e},function(){r.applyOptions(e);i(e)&&(s.getAttribs(),o&&o.attr(r.pointAttr[s.state]));u=nn(r,a);s.xData[u]=r.x;s.yData[u]=s.toYData?s.toYData(r):r.y;s.zData[u]=r.z;l.data[u]=r.options;s.isDirty=s.isDirtyData=f.isDirtyBox=!0;l.legendType==="point"&&f.legend.destroyItem(r);t&&f.redraw(n)})},remove:function(e,t){var n=this,r=n.series,i=r.chart,s,o=r.data;D(t,i);e=p(e,!0);n.firePointEvent("remove",null,function(){s=nn(n,o);o.splice(s,1);r.options.data.splice(s,1);r.xData.splice(s,1);r.yData.splice(s,1);r.zData.splice(s,1);n.destroy();r.isDirty=!0;r.isDirtyData=!0;e&&i.redraw()})},firePointEvent:function(e,t,n){var r=this,i=this.series.options;(i.point.events[e]||r.options&&r.options.events&&r.options.events[e])&&this.importEvents();e==="click"&&i.allowPointSelect&&(n=function(e){r.select(null,e.ctrlKey||e.metaKey||e.shiftKey)});ln(this,e,t,n)},importEvents:function(){if(!this.hasImportedEvents){var e=t(this.series.options.point,this.options).events,n;this.events=e;for(n in e)an(this,n,e[n]);this.hasImportedEvents=!0}},setState:function(e){var n=this.plotX,r=this.plotY,i=this.series,s=i.options.states,o=dn[i.type].marker&&i.options.marker,u=o&&!o.enabled,a=o&&o.states[e],f=a&&a.enabled===!1,l=i.stateMarkerGraphic,c=this.marker||{},h=i.chart,p=this.pointAttr,e=e||"";if(!(e===this.state||this.selected&&e!=="select"||s[e]&&s[e].enabled===!1||e&&(f||u&&!a.enabled))){if(this.graphic)s=o&&this.graphic.symbolName&&p[e].r,this.graphic.attr(t(p[e],s?{x:n-s,y:r-s,width:2*s,height:2*s}:{}));else{if(e&&a)s=a.radius,c=c.symbol||i.symbol,l&&l.currentSymbol!==c&&(l=l.destroy()),l?l.attr({x:n-s,y:r-s}):(i.stateMarkerGraphic=l=h.renderer.symbol(c,n-s,r-s,2*s,2*s).attr(p[e]).add(i.markerGroup),l.currentSymbol=c);if(l)l[e&&h.isInsidePlot(n,r)?"show":"hide"]()}this.state=e}}};var En=function(){};En.prototype={isCartesian:!0,type:"line",pointClass:wn,sorted:!0,requireSorting:!0,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"},colorCounter:0,init:function(t,n){var i,s,o=t.series;this.chart=t;this.options=n=this.setOptions(n);this.bindAxes();e(this,{name:n.name,state:"",pointAttr:{},visible:n.visible!==!1,selected:n.selected===!0});if(dt)n.animation=!1;s=n.events;for(i in s)an(this,i,s[i]);if(s&&s.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)t.runTrackerClick=!0;this.getColor();this.getSymbol();this.setData(n.data,!1);if(this.isCartesian)t.hasCartesianSeries=!0;o.push(this);this._i=o.length-1;C(o,function(e,t){return p(e.options.index,e._i)-p(t.options.index,e._i)});rn(o,function(e,t){e.index=t;e.name=e.name||"Series "+(t+1)});i=n.linkedTo;this.linkedSeries=[];if(r(i)&&(i=i===":previous"?o[this.index-1]:t.get(i)))i.linkedSeries.push(this),this.linkedParent=i},bindAxes:function(){var e=this,t=e.options,n=e.chart,r;e.isCartesian&&rn(["xAxis","yAxis"],function(i){rn(n[i],function(n){r=n.options;if(t[i]===r.index||t[i]!==W&&t[i]===r.id||t[i]===W&&r.index===0)n.series.push(e),e[i]=n,n.isDirty=!0});e[i]||M(18,!0)})},autoIncrement:function(){var e=this.options,t=this.xIncrement,t=p(t,e.pointStart,0);this.pointInterval=p(this.pointInterval,e.pointInterval,1);this.xIncrement=t+this.pointInterval;return t},getSegments:function(){var e=-1,t=[],n,r=this.points,i=r.length;if(i)if(this.options.connectNulls){for(n=i;n--;)r[n].y===null&&r.splice(n,1);r.length&&(t=[r])}else rn(r,function(n,s){n.y===null?(s>e+1&&t.push(r.slice(e+1,s)),e=s):s===i-1&&t.push(r.slice(e+1,s+1))});this.segments=t},setOptions:function(e){var n=this.chart.options,r=n.plotOptions,i=r[this.type];this.userOptions=e;e=t(i,r.series,e);this.tooltipOptions=t(n.tooltip,e.tooltip);i.marker===null&&delete e.marker;return e},getColor:function(){var e=this.options,t=this.userOptions,n=this.chart.options.colors,r=this.chart.counters,i;i=e.color||dn[this.type].color;if(!i&&!e.colorByPoint)l(t._colorIndex)?e=t._colorIndex:(t._colorIndex=r.color,e=r.color++),i=n[e];this.color=i;r.wrapColor(n.length)},getSymbol:function(){var e=this.userOptions,t=this.options.marker,n=this.chart,r=n.options.symbols,n=n.counters;this.symbol=t.symbol;if(!this.symbol)l(e._symbolIndex)?e=e._symbolIndex:(e._symbolIndex=n.symbol,e=n.symbol++),this.symbol=r[e];if(/^url/.test(this.symbol))t.radius=0;n.wrapSymbol(r.length)},drawLegendSymbol:function(e){var t=this.options,n=t.marker,r=e.options,i;i=r.symbolWidth;var s=this.chart.renderer,o=this.legendGroup,e=e.baseline-J(s.fontMetrics(r.itemStyle.fontSize).b*.3);if(t.lineWidth){r={"stroke-width":t.lineWidth};if(t.dashStyle)r.dashstyle=t.dashStyle;this.legendLine=s.path(["M",0,e,"L",i,e]).attr(r).add(o)}if(n&&n.enabled)t=n.radius,this.legendSymbol=i=s.symbol(this.symbol,i/2-t,e-t,2*t,2*t).add(o),i.isMarker=!0},addPoint:function(e,t,n,r){var i=this.options,s=this.data,o=this.graph,u=this.area,a=this.chart,f=this.xData,l=this.yData,c=this.zData,h=this.names,d=o&&o.shift||0,v=i.data;D(r,a);n&&rn([o,u,this.graphNeg,this.areaNeg],function(e){if(e)e.shift=d+1});if(u)u.isArea=!0;t=p(t,!0);r={series:this};this.pointClass.prototype.applyOptions.apply(r,[e]);f.push(r.x);l.push(this.toYData?this.toYData(r):r.y);c.push(r.z);if(h)h[r.x]=r.name;v.push(e);i.legendType==="point"&&this.generatePoints();n&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),f.shift(),l.shift(),c.shift(),v.shift()));this.isDirtyData=this.isDirty=!0;t&&(this.getAttribs(),a.redraw())},setData:function(e,t){var n=this.points,i=this.options,u=this.chart,a=null,f=this.xAxis,l=f&&f.categories&&!f.categories.length?[]:null,c;this.xIncrement=null;this.pointRange=f&&f.categories?1:i.pointRange;this.colorCounter=0;var h=[],d=[],v=[],m=e?e.length:[];c=p(i.turboThreshold,1e3);var g=this.pointArrayMap,g=g&&g.length,y=!!this.toYData;if(c&&m>c){for(c=0;a===null&&c<m;)a=e[c],c++;if(o(a)){a=p(i.pointStart,0);i=p(i.pointInterval,1);for(c=0;c<m;c++)h[c]=a,d[c]=e[c],a+=i;this.xIncrement=a}else if(s(a))if(g)for(c=0;c<m;c++)i=e[c],h[c]=i[0],d[c]=i.slice(1,g+1);else for(c=0;c<m;c++)i=e[c],h[c]=i[0],d[c]=i[1]}else for(c=0;c<m;c++)if(e[c]!==W&&(i={series:this},this.pointClass.prototype.applyOptions.apply(i,[e[c]]),h[c]=i.x,d[c]=y?this.toYData(i):i.y,v[c]=i.z,l&&i.name))l[i.x]=i.name;r(d[0])&&M(14,!0);this.data=[];this.options.data=e;this.xData=h;this.yData=d;this.zData=v;this.names=l;for(c=n&&n.length||0;c--;)n[c]&&n[c].destroy&&n[c].destroy();if(f)f.minRange=f.userMinRange;this.isDirty=this.isDirtyData=u.isDirtyBox=!0;p(t,!0)&&u.redraw(!1)},remove:function(e,t){var n=this,r=n.chart,e=p(e,!0);if(!n.isRemoving)n.isRemoving=!0,ln(n,"remove",null,function(){n.destroy();r.isDirtyLegend=r.isDirtyBox=!0;e&&r.redraw(t)});n.isRemoving=!1},processData:function(e){var t=this.xData,n=this.yData,r=t.length,i;i=0;var s,o,u=this.xAxis,a=this.options,f=a.cropThreshold,l=this.isCartesian;if(l&&!this.isDirty&&!u.isDirty&&!this.yAxis.isDirty&&!e)return!1;if(l&&this.sorted&&(!f||r>f||this.forceCrop))if(e=u.min,u=u.max,t[r-1]<e||t[0]>u)t=[],n=[];else if(t[0]<e||t[r-1]>u)i=this.cropData(this.xData,this.yData,e,u),t=i.xData,n=i.yData,i=i.start,s=!0;for(u=t.length-1;u>=0;u--)r=t[u]-t[u-1],r>0&&(o===W||r<o)?o=r:r<0&&this.requireSorting&&M(15);this.cropped=s;this.cropStart=i;this.processedXData=t;this.processedYData=n;if(a.pointRange===null)this.pointRange=o||1;this.closestPointRange=o},cropData:function(e,t,n,r){var i=e.length,s=0,o=i,u;for(u=0;u<i;u++)if(e[u]>=n){s=G(0,u-1);break}for(;u<i;u++)if(e[u]>r){o=u+1;break}return{xData:e.slice(s,o),yData:t.slice(s,o),start:s,end:o}},generatePoints:function(){var e=this.options.data,t=this.data,n,r=this.processedXData,i=this.processedYData,s=this.pointClass,o=r.length,u=this.cropStart||0,a,f=this.hasGroupedData,l,c=[],p;if(!t&&!f)t=[],t.length=e.length,t=this.data=t;for(p=0;p<o;p++)a=u+p,f?c[p]=(new s).init(this,[r[p]].concat(h(i[p]))):(t[a]?l=t[a]:e[a]!==W&&(t[a]=l=(new s).init(this,e[a],r[p])),c[p]=l);if(t&&(o!==(n=t.length)||f))for(p=0;p<n;p++)if(p===u&&!f&&(p+=o),t[p])t[p].destroyElements(),t[p].plotX=W;this.data=t;this.points=c},setStackedPoints:function(){if(this.options.stacking&&!(this.visible!==!0&&this.chart.options.chart.ignoreHiddenSeries!==!1)){var e=this.processedXData,t=this.processedYData,n=t.length,r=this.options,i=r.threshold,s=r.stack,r=r.stacking,o=this.stackKey,u="-"+o,a=this.yAxis,f=a.stacks,l=a.oldStacks,c=a.stacksMax,h,p,d,v,m,g;for(m=0;m<n;m++){p=e[m];g=t[m];v=(h=g<i)?u:o;c[v]||(c[v]=g);f[v]||(f[v]={});if(!f[v][p])l[v]&&l[v][p]?(f[v][p]=l[v][p],f[v][p].total=null):f[v][p]=new F(a,a.options.stackLabels,h,p,s,r);d=f[v][p];p=d.total;d.addValue(g);d.cacheExtremes(this,[p,p+g]);if(d.total>c[v]&&!h)c[v]=d.total;else if(d.total<c[v]&&h)c[v]=d.total}a.oldStacks={}}},getExtremes:function(){var e=this.xAxis,t=this.yAxis,n=this.stackKey,r=this.options,i=r.threshold,s=this.processedXData,o=this.processedYData,u=o.length,a=[],f=0,c=e.min,e=e.max,h,d,v;r.stacking&&(d=t.stacksMax["-"+n]||i,v=t.stacksMax[n]||i);if(!l(d)||!l(v)){for(r=0;r<u;r++)if(h=s[r],n=o[r],i=n!==null&&n!==W&&(!t.isLog||n.length||n>0),h=this.getExtremesFromAll||this.cropped||(s[r+1]||h)>=c&&(s[r-1]||h)<=e,i&&h)if(i=n.length)for(;i--;)n[i]!==null&&(a[f++]=n[i]);else a[f++]=n;d=p(d,k(a));v=p(v,L(a))}this.dataMin=d;this.dataMax=v},translate:function(){this.processedXData||this.processData();this.generatePoints();for(var e=this.options,t=e.stacking,n=this.xAxis,r=n.categories,i=this.yAxis,s=this.points,u=s.length,a=!!this.modifyValue,f=e.pointPlacement,c=f==="between"||o(f),h=e.threshold,e=0;e<u;e++){var d=s[e],v=d.x,m=d.y,g=d.low,y=i.stacks[(m<h?"-":"")+this.stackKey],b;if(i.isLog&&m<=0)d.y=m=null;d.plotX=n.translate(v,0,0,0,1,f);if(t&&this.visible&&y&&y[v])y=y[v],b=y.total,y.cum=g=y.cum-m,m=g+m,y.cum===0&&(g=p(h,i.min)),i.isLog&&g<=0&&(g=null),t==="percent"&&(g=b?g*100/b:0,m=b?m*100/b:0),d.percentage=b?d.y*100/b:0,d.total=d.stackTotal=b,d.stackY=m,y.setOffset(this.pointXOffset||0,this.barW||0);d.yBottom=l(g)?i.translate(g,0,1,0,1):null;a&&(m=this.modifyValue(m,d));d.plotY=typeof m==="number"&&m!==Infinity?J(i.translate(m,0,1,0,1)*10)/10:W;d.clientX=c?n.translate(v,0,0,0,1):d.plotX;d.negative=d.y<(h||0);d.category=r&&r[d.x]!==W?r[d.x]:d.x}this.getSegments()},setTooltipPoints:function(e){var t=[],n,r,i=(n=this.xAxis)?n.tooltipLen||n.len:this.chart.plotSizeX,s,o,u,a=[];if(this.options.enableMouseTracking!==!1){if(e)this.tooltipPoints=null;rn(this.segments||this.points,function(e){t=t.concat(e)});n&&n.reversed&&(t=t.reverse());this.orderTooltipPoints&&this.orderTooltipPoints(t);e=t.length;for(u=0;u<e;u++){s=t[u];o=t[u+1];n=t[u-1]?r+1:0;for(r=t[u+1]?Y(G(0,K((s.clientX+(o?o.wrappedClientX||o.clientX:i))/2)),i):i;n>=0&&n<=r;)a[n++]=s}this.tooltipPoints=a}},tooltipHeaderFormatter:function(e){var t=this.tooltipOptions,n=t.xDateFormat,r=t.dateTimeLabelFormats,i=this.xAxis,s=i&&i.options.type==="datetime",t=t.headerFormat,i=i&&i.closestPointRange,u;if(s&&!n)if(i)for(u in Tt){if(Tt[u]>=i){n=r[u];break}}else n=r.day;s&&n&&o(e.key)&&(t=t.replace("{point.key}","{point.key:"+n+"}"));return w(t,{point:e,series:this})},onMouseOver:function(){var e=this.chart,t=e.hoverSeries;if(t&&t!==this)t.onMouseOut();this.options.events.mouseOver&&ln(this,"mouseOver");this.setState("hover");e.hoverSeries=this},onMouseOut:function(){var e=this.options,t=this.chart,n=t.tooltip,r=t.hoverPoint;if(r)r.onMouseOut();this&&e.events.mouseOut&&ln(this,"mouseOut");n&&!e.stickyTracking&&(!n.shared||this.noSharedTooltip)&&n.hide();this.setState();t.hoverSeries=null},animate:function(t){var n=this,r=n.chart,s=r.renderer,o;o=n.options.animation;var u=r.clipBox,a=r.inverted,f;if(o&&!i(o))o=dn[n.type].animation;f="_sharedClip"+o.duration+o.easing;if(t)t=r[f],o=r[f+"m"],t||(r[f]=t=s.clipRect(e(u,{width:0})),r[f+"m"]=o=s.clipRect(-99,a?-r.plotLeft:-r.plotTop,99,a?r.chartWidth:r.chartHeight)),n.group.clip(t),n.markerGroup.clip(o),n.sharedClipKey=f;else{if(t=r[f])t.animate({width:r.plotSizeX},o),r[f+"m"].animate({width:r.plotSizeX+99},o);n.animate=null;n.animationTimeout=setTimeout(function(){n.afterAnimate()},o.duration)}},afterAnimate:function(){var e=this.chart,t=this.sharedClipKey,n=this.group;n&&this.options.clip!==!1&&(n.clip(e.clipRect),this.markerGroup.clip());setTimeout(function(){t&&e[t]&&(e[t]=e[t].destroy(),e[t+"m"]=e[t+"m"].destroy())},100)},drawPoints:function(){var t,n=this.points,r=this.chart,i,s,o,u,a,f,l,c,h=this.options.marker,d,v=this.markerGroup;if(h.enabled||this._hasPointMarkers)for(o=n.length;o--;)if(u=n[o],i=K(u.plotX),s=u.plotY,c=u.graphic,f=u.marker||{},t=h.enabled&&f.enabled===W||f.enabled,d=r.isInsidePlot(J(i),s,r.inverted),t&&s!==W&&!isNaN(s)&&u.y!==null)if(t=u.pointAttr[u.selected?"select":""],a=t.r,f=p(f.symbol,this.symbol),l=f.indexOf("url")===0,c)c.attr({visibility:d?ht?"inherit":"visible":"hidden"}).animate(e({x:i-a,y:s-a},c.symbolName?{width:2*a,height:2*a}:{}));else{if(d&&(a>0||l))u.graphic=r.renderer.symbol(f,i-a,s-a,2*a,2*a).attr(t).add(v)}else if(c)u.graphic=c.destroy()},convertAttribs:function(e,t,n,r){var i=this.pointAttrToOptions,s,o,u={},e=e||{},t=t||{},n=n||{},r=r||{};for(s in i)o=i[s],u[s]=p(e[o],t[s],n[s],r[s]);return u},getAttribs:function(){var t=this,n=t.options,r=dn[t.type].marker?n.marker:n,i=r.states,s=i.hover,o,u=t.color,a={stroke:u,fill:u},f=t.points||[],c=[],h,p=t.pointAttrToOptions,d=n.negativeColor,v;n.marker?(s.radius=s.radius||r.radius+2,s.lineWidth=s.lineWidth||r.lineWidth+1):s.color=s.color||vn(s.color||u).brighten(s.brightness).get();c[""]=t.convertAttribs(r,a);rn(["hover","select"],function(e){c[e]=t.convertAttribs(i[e],c[""])});t.pointAttr=c;for(u=f.length;u--;){a=f[u];if((r=a.options&&a.options.marker||a.options)&&r.enabled===!1)r.radius=0;if(a.negative&&d)a.color=a.fillColor=d;o=n.colorByPoint||a.color;if(a.options)for(v in p)l(r[p[v]])&&(o=!0);if(o){r=r||{};h=[];i=r.states||{};o=i.hover=i.hover||{};if(!n.marker)o.color=vn(o.color||a.color).brighten(o.brightness||s.brightness).get();h[""]=t.convertAttribs(e({color:a.color},r),c[""]);h.hover=t.convertAttribs(i.hover,c.hover,h[""]);h.select=t.convertAttribs(i.select,c.select,h[""]);if(a.negative&&n.marker&&d)h[""].fill=h.hover.fill=h.select.fill=t.convertAttribs({fillColor:d}).fill}else h=c;a.pointAttr=h}},update:function(n,r){var i=this.chart,s=this.type,n=t(this.userOptions,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},n);this.remove(!1);e(this,Gt[n.type||s].prototype);this.init(i,n);p(r,!0)&&i.redraw(!1)},destroy:function(){var e=this,t=e.chart,n=/AppleWebKit\/533/.test(it),r,i,s=e.data||[],o,u,a;ln(e,"destroy");fn(e);rn(["xAxis","yAxis"],function(t){if(a=e[t])f(a.series,e),a.isDirty=a.forceRedraw=!0});e.legendItem&&e.chart.legend.destroyItem(e);for(i=s.length;i--;)(o=s[i])&&o.destroy&&o.destroy();e.points=null;clearTimeout(e.animationTimeout);rn("area,graph,dataLabelsGroup,group,markerGroup,tracker,graphNeg,areaNeg,posClip,negClip".split(","),function(t){e[t]&&(r=n&&t==="group"?"hide":"destroy",e[t][r]())});if(t.hoverSeries===e)t.hoverSeries=null;f(t.series,e);for(u in e)delete e[u]},drawDataLabels:function(){var e=this,n=e.options.dataLabels,r=e.points,i,s,o,u;if(n.enabled||e._hasPointLabels)e.dlProcessOptions&&e.dlProcessOptions(n),u=e.plotGroup("dataLabelsGroup","data-labels",e.visible?"visible":"hidden",n.zIndex||6),s=n,rn(r,function(r){var a,f=r.dataLabel,c,h,d=r.connector,v=!0;i=r.options&&r.options.dataLabels;a=s.enabled||i&&i.enabled;if(f&&!a)r.dataLabel=f.destroy();else if(a){n=t(s,i);a=n.rotation;c=r.getLabelConfig();o=n.format?w(n.format,c):n.formatter.call(c,n);n.style.color=p(n.color,n.style.color,e.color,"black");if(f)if(l(o))f.attr({text:o}),v=!1;else{if(r.dataLabel=f=f.destroy(),d)r.connector=d.destroy()}else if(l(o)){f={fill:n.backgroundColor,stroke:n.borderColor,"stroke-width":n.borderWidth,r:n.borderRadius||0,rotation:a,padding:n.padding,zIndex:1};for(h in f)f[h]===W&&delete f[h];f=r.dataLabel=e.chart.renderer[a?"text":"label"](o,0,-999,null,null,null,n.useHTML).attr(f).css(n.style).add(u).shadow(n.shadow)}f&&e.alignDataLabel(r,f,n,null,v)}})},alignDataLabel:function(t,n,r,i,s){var o=this.chart,u=o.inverted,a=p(t.plotX,-999),f=p(t.plotY,-999),t=n.getBBox(),i=e({x:u?o.plotWidth-f:a,y:J(u?o.plotHeight-a:f),width:0,height:0},i);e(r,{width:t.width,height:t.height});r.rotation?(i={align:r.align,x:i.x+r.x+i.width/2,y:i.y+r.y+i.height/2},n[s?"attr":"animate"](i)):(n.align(r,null,i),i=n.alignAttr);n.attr({visibility:r.crop===!1||o.isInsidePlot(i.x,i.y)&&o.isInsidePlot(i.x+t.width,i.y+t.height)?o.renderer.isSVG?"inherit":"visible":"hidden"})},getSegmentPath:function(e){var t=this,n=[],r=t.options.step;rn(e,function(i,s){var o=i.plotX,u=i.plotY,a;t.getPointSpline?n.push.apply(n,t.getPointSpline(e,i,s)):(n.push(s?"L":"M"),r&&s&&(a=e[s-1],r==="right"?n.push(a.plotX,u):r==="center"?n.push((a.plotX+o)/2,a.plotY,(a.plotX+o)/2,u):n.push(o,a.plotY)),n.push(i.plotX,i.plotY))});return n},getGraphPath:function(){var e=this,t=[],n,r=[];rn(e.segments,function(i){n=e.getSegmentPath(i);i.length>1?t=t.concat(n):r.push(i[0])});e.singlePoints=r;return e.graphPath=t},drawGraph:function(){var e=this,t=this.options,n=[["graph",t.lineColor||this.color]],r=t.lineWidth,i=t.dashStyle,s=this.getGraphPath(),o=t.negativeColor;o&&n.push(["graphNeg",o]);rn(n,function(n,o){var u=n[0],a=e[u];if(a)pn(a),a.animate({d:s});else if(r&&s.length){a={stroke:n[1],"stroke-width":r,zIndex:1};if(i)a.dashstyle=i;e[u]=e.chart.renderer.path(s).attr(a).add(e.group).shadow(!o&&t.shadow)}})},clipNeg:function(){var e=this.options,t=this.chart,n=t.renderer,r=e.negativeColor||e.negativeFillColor,i,s=this.graph,o=this.area,u=this.posClip,a=this.negClip;i=t.chartWidth;var f=t.chartHeight,l=G(i,f),c=this.yAxis;if(r&&(s||o)){r=J(c.toPixels(e.threshold||0,!0));e={x:0,y:0,width:l,height:r};l={x:0,y:r,width:l,height:l};if(t.inverted)e.height=l.y=t.plotWidth-r,n.isVML&&(e={x:t.plotWidth-r-t.plotLeft,y:0,width:i,height:f},l={x:r+t.plotLeft-i,y:0,width:t.plotLeft+r,height:i});c.reversed?(t=l,i=e):(t=e,i=l);u?(u.animate(t),a.animate(i)):(this.posClip=u=n.clipRect(t),this.negClip=a=n.clipRect(i),s&&this.graphNeg&&(s.clip(u),this.graphNeg.clip(a)),o&&(o.clip(u),this.areaNeg.clip(a)))}},invertGroups:function(){function e(){var e={width:t.yAxis.len,height:t.xAxis.len};rn(["group","markerGroup"],function(n){t[n]&&t[n].attr(e).invert()})}var t=this,n=t.chart;if(t.xAxis)an(n,"resize",e),an(t,"destroy",function(){fn(n,"resize",e)}),e(),t.invertGroups=e},plotGroup:function(e,t,n,r,i){var s=this[e],o=!s;o&&(this[e]=s=this.chart.renderer.g(t).attr({visibility:n,zIndex:r||.1}).add(i));s[o?"attr":"animate"](this.getPlotBox());return s},getPlotBox:function(){return{translateX:this.xAxis?this.xAxis.left:this.chart.plotLeft,translateY:this.yAxis?this.yAxis.top:this.chart.plotTop,scaleX:1,scaleY:1}},render:function(){var e=this.chart,t,n=this.options,r=n.animation&&!!this.animate&&e.renderer.isSVG,i=this.visible?"visible":"hidden",s=n.zIndex,o=this.hasRendered,u=e.seriesGroup;t=this.plotGroup("group","series",i,s,u);this.markerGroup=this.plotGroup("markerGroup","markers",i,s,u);r&&this.animate(!0);this.getAttribs();t.inverted=this.isCartesian?e.inverted:!1;this.drawGraph&&(this.drawGraph(),this.clipNeg());this.drawDataLabels();this.drawPoints();this.options.enableMouseTracking!==!1&&this.drawTracker();e.inverted&&this.invertGroups();n.clip!==!1&&!this.sharedClipKey&&!o&&t.clip(e.clipRect);r?this.animate():o||this.afterAnimate();this.isDirty=this.isDirtyData=!1;this.hasRendered=!0},redraw:function(){var e=this.chart,t=this.isDirtyData,n=this.group,r=this.xAxis,i=this.yAxis;n&&(e.inverted&&n.attr({width:e.plotWidth,height:e.plotHeight}),n.animate({translateX:p(r&&r.left,e.plotLeft),translateY:p(i&&i.top,e.plotTop)}));this.translate();this.setTooltipPoints(!0);this.render();t&&ln(this,"updatedData")},setState:function(e){var t=this.options,n=this.graph,r=this.graphNeg,i=t.states,t=t.lineWidth,e=e||"";if(this.state!==e)this.state=e,i[e]&&i[e].enabled===!1||(e&&(t=i[e].lineWidth||t+1),n&&!n.dashstyle&&(e={"stroke-width":t},n.attr(e),r&&r.attr(e)))},setVisible:function(e,t){var n=this,r=n.chart,i=n.legendItem,s,o=r.options.chart.ignoreHiddenSeries,u=n.visible;s=(n.visible=e=n.userOptions.visible=e===W?!u:e)?"show":"hide";rn(["group","dataLabelsGroup","markerGroup","tracker"],function(e){if(n[e])n[e][s]()});if(r.hoverSeries===n)n.onMouseOut();i&&r.legend.colorizeItem(n,e);n.isDirty=!0;n.options.stacking&&rn(r.series,function(e){if(e.options.stacking&&e.visible)e.isDirty=!0});rn(n.linkedSeries,function(t){t.setVisible(e,!1)});if(o)r.isDirtyBox=!0;t!==!1&&r.redraw();ln(n,s)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(e){this.selected=e=e===W?!this.selected:e;if(this.checkbox)this.checkbox.checked=e;ln(this,e?"select":"unselect")},drawTracker:function(){var e=this,t=e.options,n=t.trackByArea,r=[].concat(n?e.areaPath:e.graphPath),i=r.length,s=e.chart,o=s.pointer,u=s.renderer,a=s.options.tooltip.snap,f=e.tracker,l=t.cursor,l=l&&{cursor:l},c=e.singlePoints,h,p=function(){if(s.hoverSeries!==e)e.onMouseOver()};if(i&&!n)for(h=i+1;h--;)r[h]==="M"&&r.splice(h+1,0,r[h+1]-a,r[h+2],"L"),(h&&r[h]==="M"||h===i)&&r.splice(h,0,"L",r[h-2]+a,r[h-1]);for(h=0;h<c.length;h++)i=c[h],r.push("M",i.plotX-a,i.plotY,"L",i.plotX+a,i.plotY);if(f)f.attr({d:r});else if(e.tracker=f=u.path(r).attr({"class":"highcharts-tracker","stroke-linejoin":"round",visibility:e.visible?"visible":"hidden",stroke:At,fill:n?At:Lt,"stroke-width":t.lineWidth+(n?0:2*a),zIndex:2}).addClass("highcharts-tracker").on("mouseover",p).on("mouseout",function(e){o.onTrackerMouseOut(e)}).css(l).add(e.markerGroup),mt)f.on("touchstart",p)}};Zt=m(En);Gt.line=Zt;dn.area=t(Yt,{threshold:0});Zt=m(En,{type:"area",getSegments:function(){var e=[],t=[],n=[],r=this.xAxis,i=this.yAxis,s=i.stacks[this.stackKey],o={},u,a,f=this.points,l,c,h;if(this.options.stacking&&!this.cropped){for(c=0;c<f.length;c++)o[f[c].x]=f[c];for(h in s)n.push(+h);n.sort(function(e,t){return e-t});rn(n,function(e){o[e]?t.push(o[e]):(u=r.translate(e),l=s[e].percent?s[e].total?s[e].cum*100/s[e].total:0:s[e].cum,a=i.toPixels(l,!0),t.push({y:null,plotX:u,clientX:u,plotY:a,yBottom:a,onMouseOver:Nt}))});t.length&&e.push(t)}else En.prototype.getSegments.call(this),e=this.segments;this.segments=e},getSegmentPath:function(e){var t=En.prototype.getSegmentPath.call(this,e),n=[].concat(t),r,i=this.options;t.length===3&&n.push("L",t[1],t[2]);if(i.stacking&&!this.closedStacks)for(r=e.length-1;r>=0;r--)r<e.length-1&&i.step&&n.push(e[r+1].plotX,e[r].yBottom),n.push(e[r].plotX,e[r].yBottom);else this.closeSegment(n,e);this.areaPath=this.areaPath.concat(n);return t},closeSegment:function(e,t){var n=this.yAxis.getThreshold(this.options.threshold);e.push("L",t[t.length-1].plotX,n,"L",t[0].plotX,n)},drawGraph:function(){this.areaPath=[];En.prototype.drawGraph.apply(this);var e=this,t=this.areaPath,n=this.options,r=n.negativeColor,i=n.negativeFillColor,s=[["area",this.color,n.fillColor]];(r||i)&&s.push(["areaNeg",r,i]);rn(s,function(r){var i=r[0],s=e[i];s?s.animate({d:t}):e[i]=e.chart.renderer.path(t).attr({fill:p(r[2],vn(r[1]).setOpacity(p(n.fillOpacity,.75)).get()),zIndex:0}).add(e.group)})},drawLegendSymbol:function(e,t){t.legendSymbol=this.chart.renderer.rect(0,e.baseline-11,e.options.symbolWidth,12,2).attr({zIndex:3}).add(t.legendGroup)}});Gt.area=Zt;dn.spline=t(Yt);gn=m(En,{type:"spline",getPointSpline:function(e,t,n){var r=t.plotX,i=t.plotY,s=e[n-1],o=e[n+1],u,a,f,l;if(s&&o){e=s.plotY;f=o.plotX;var o=o.plotY,c;u=(1.5*r+s.plotX)/2.5;a=(1.5*i+e)/2.5;f=(1.5*r+f)/2.5;l=(1.5*i+o)/2.5;c=(l-a)*(f-r)/(f-u)+i-l;a+=c;l+=c;a>e&&a>i?(a=G(e,i),l=2*i-a):a<e&&a<i&&(a=Y(e,i),l=2*i-a);l>o&&l>i?(l=G(o,i),a=2*i-l):l<o&&l<i&&(l=Y(o,i),a=2*i-l);t.rightContX=f;t.rightContY=l}n?(t=["C",s.rightContX||s.plotX,s.rightContY||s.plotY,u||r,a||i,r,i],s.rightContX=s.rightContY=null):t=["M",r,i];return t}});Gt.spline=gn;dn.areaspline=t(dn.area);yn=Zt.prototype;gn=m(gn,{type:"areaspline",closedStacks:!0,getSegmentPath:yn.getSegmentPath,closeSegment:yn.closeSegment,drawGraph:yn.drawGraph,drawLegendSymbol:yn.drawLegendSymbol});Gt.areaspline=gn;dn.column=t(Yt,{borderColor:"#FFFFFF",borderWidth:1,borderRadius:0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{brightness:.1,shadow:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},stickyTracking:!1,threshold:0});gn=m(En,{type:"column",tooltipOutsidePlot:!0,pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color",r:"borderRadius"},trackerGroups:["group","dataLabelsGroup"],init:function(){En.prototype.init.apply(this,arguments);var e=this,t=e.chart;t.hasRendered&&rn(t.series,function(t){if(t.type===e.type)t.isDirty=!0})},getColumnMetrics:function(){var e=this,t=e.options,n=e.xAxis,r=e.yAxis,i=n.reversed,s,o={},u,a=0;t.grouping===!1?a=1:rn(e.chart.series,function(t){var n=t.options,i=t.yAxis;if(t.type===e.type&&t.visible&&r.len===i.len&&r.pos===i.pos)n.stacking?(s=t.stackKey,o[s]===W&&(o[s]=a++),u=o[s]):n.grouping!==!1&&(u=a++),t.columnIndex=u});var n=Y(Z(n.transA)*(n.ordinalSlope||t.pointRange||n.closestPointRange||1),n.len),f=n*t.groupPadding,c=(n-2*f)/a,h=t.pointWidth,t=l(h)?(c-h)/2:c*t.pointPadding,h=p(h,c-2*t);return e.columnMetrics={width:h,offset:t+(f+((i?a-(e.columnIndex||0):e.columnIndex)||0)*c-n/2)*(i?-1:1)}},translate:function(){var e=this.chart,t=this.options,n=t.borderWidth,r=this.yAxis,i=this.translatedThreshold=r.getThreshold(t.threshold),s=p(t.minPointLength,5),t=this.getColumnMetrics(),o=t.width,u=this.barW=Q(G(o,1+2*n)),a=this.pointXOffset=t.offset;En.prototype.translate.apply(this);rn(this.points,function(t){var f=Y(G(-999,t.plotY),r.len+999),l=p(t.yBottom,i),c=t.plotX+a,h=Q(Y(f,l)),f=Q(G(f,l)-h);Z(f)<s&&s&&(f=s,h=J(Z(h-i)>s?l-s:i-(r.translate(t.y,0,1,0,1)<=i?s:0)));t.barX=c;t.pointWidth=o;t.shapeType="rect";t.shapeArgs=t=e.renderer.Element.prototype.crisp.call(0,n,c,h,u,f);n%2&&(t.y-=1,t.height+=1)})},getSymbol:Nt,drawLegendSymbol:Zt.prototype.drawLegendSymbol,drawGraph:Nt,drawPoints:function(){var e=this,n=e.options,r=e.chart.renderer,i; + rn(e.points,function(s){var o=s.plotY,u=s.graphic;if(o!==W&&!isNaN(o)&&s.y!==null)i=s.shapeArgs,u?(pn(u),u.animate(t(i))):s.graphic=r[s.shapeType](i).attr(s.pointAttr[s.selected?"select":""]).add(e.group).shadow(n.shadow,null,n.stacking&&!n.borderRadius);else if(u)s.graphic=u.destroy()})},drawTracker:function(){var e=this,t=e.chart,n=t.pointer,r=e.options.cursor,i=r&&{cursor:r},s=function(n){var r=n.target,i;if(t.hoverSeries!==e)e.onMouseOver();for(;r&&!i;)i=r.point,r=r.parentNode;if(i!==W&&i!==t.hoverPoint)i.onMouseOver(n)};rn(e.points,function(e){if(e.graphic)e.graphic.element.point=e;if(e.dataLabel)e.dataLabel.element.point=e});e._hasTracking?e._hasTracking=!0:rn(e.trackerGroups,function(t){if(e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",s).on("mouseout",function(e){n.onTrackerMouseOut(e)}).css(i),mt))e[t].on("touchstart",s)})},alignDataLabel:function(e,n,r,i,s){var o=this.chart,u=o.inverted,a=e.dlBox||e.shapeArgs,f=e.below||e.plotY>p(this.translatedThreshold,o.plotSizeY),l=p(r.inside,!!this.options.stacking);if(a&&(i=t(a),u&&(i={x:o.plotWidth-i.y-i.height,y:o.plotHeight-i.x-i.width,width:i.height,height:i.width}),!l))u?(i.x+=f?0:i.width,i.width=0):(i.y+=f?i.height:0,i.height=0);r.align=p(r.align,!u||l?"center":f?"right":"left");r.verticalAlign=p(r.verticalAlign,u||l?"middle":f?"top":"bottom");En.prototype.alignDataLabel.call(this,e,n,r,i,s)},animate:function(e){var t=this.yAxis,n=this.options,r=this.chart.inverted,i={};if(ht)e?(i.scaleY=.001,e=Y(t.pos+t.len,G(t.pos,t.toPixels(n.threshold))),r?i.translateX=e-t.len:i.translateY=e,this.group.attr(i)):(i.scaleY=1,i[r?"translateX":"translateY"]=t.pos,this.group.animate(i,this.options.animation),this.animate=null)},remove:function(){var e=this,t=e.chart;t.hasRendered&&rn(t.series,function(t){if(t.type===e.type)t.isDirty=!0});En.prototype.remove.apply(e,arguments)}});Gt.column=gn;dn.bar=t(dn.column);yn=m(gn,{type:"bar",inverted:!0});Gt.bar=yn;dn.scatter=t(Yt,{lineWidth:0,tooltip:{headerFormat:'<span style="font-size: 10px; color:{series.color}">{series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>",followPointer:!0},stickyTracking:!1});yn=m(En,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup"],drawTracker:gn.prototype.drawTracker,setTooltipPoints:Nt});Gt.scatter=yn;dn.pie=t(Yt,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});Yt={type:"pie",isCartesian:!1,pointClass:m(wn,{init:function(){wn.prototype.init.apply(this,arguments);var t=this,n;if(t.y<0)t.y=null;e(t,{visible:t.visible!==!1,name:p(t.name,"Slice")});n=function(e){t.slice(e.type==="select")};an(t,"select",n);an(t,"unselect",n);return t},setVisible:function(e){var t=this,n=t.series,r=n.chart,i;t.visible=t.options.visible=e=e===W?!t.visible:e;n.options.data[nn(t,n.data)]=t.options;i=e?"show":"hide";rn(["graphic","dataLabel","connector","shadowGroup"],function(e){if(t[e])t[e][i]()});t.legendItem&&r.legend.colorizeItem(t,e);if(!n.isDirty&&n.options.ignoreHiddenPoint)n.isDirty=!0,r.redraw()},slice:function(e,t,n){var r=this.series;D(n,r.chart);p(t,!0);this.sliced=this.options.sliced=e=l(e)?e:!this.sliced;r.options.data[nn(this,r.data)]=this.options;e=e?this.slicedTranslation:{translateX:0,translateY:0};this.graphic.animate(e);this.shadowGroup&&this.shadowGroup.animate(e)}}),requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:Nt,animate:function(e){var t=this,n=t.points,r=t.startAngleRad;if(!e)rn(n,function(e){var n=e.graphic,e=e.shapeArgs;n&&(n.attr({r:t.center[3]/2,start:r,end:r}),n.animate({r:e.r,start:e.start,end:e.end},t.options.animation))}),t.animate=null},setData:function(e,t){En.prototype.setData.call(this,e,!1);this.processData();this.generatePoints();p(t,!0)&&this.chart.redraw()},generatePoints:function(){var e,t=0,n,r,i,s=this.options.ignoreHiddenPoint;En.prototype.generatePoints.call(this);n=this.points;r=n.length;for(e=0;e<r;e++)i=n[e],t+=s&&!i.visible?0:i.y;this.total=t;for(e=0;e<r;e++)i=n[e],i.percentage=i.y/t*100,i.total=t},getCenter:function(){var e=this.options,t=this.chart,r=2*(e.slicedOffset||0),i,s=t.plotWidth-2*r,o=t.plotHeight-2*r,t=e.center,e=[p(t[0],"50%"),p(t[1],"50%"),e.size||"100%",e.innerSize||0],u=Y(s,o),a;return un(e,function(e,t){a=/%$/.test(e);i=t<2||t===2&&a;return(a?[s,o,u,u][t]*n(e)/100:e)+(i?r:0)})},translate:function(e){this.generatePoints();var t=0,n=this.options,r=n.slicedOffset,i=r+n.borderWidth,s,o,u,a=this.startAngleRad=nt/180*((n.startAngle||0)%360-90),f=this.points,l=2*nt,c=n.dataLabels.distance,n=n.ignoreHiddenPoint,h,p=f.length,d;if(!e)this.center=e=this.getCenter();this.getX=function(t,n){u=$.asin((t-e[1])/(e[2]/2+c));return e[0]+(n?-1:1)*et(u)*(e[2]/2+c)};for(h=0;h<p;h++){d=f[h];s=J((a+t*l)*1e3)/1e3;if(!n||d.visible)t+=d.percentage/100;o=J((a+t*l)*1e3)/1e3;d.shapeType="arc";d.shapeArgs={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:s,end:o};u=(o+s)/2;u>.75*l&&(u-=2*nt);d.slicedTranslation={translateX:J(et(u)*r),translateY:J(tt(u)*r)};s=et(u)*e[2]/2;o=tt(u)*e[2]/2;d.tooltipPos=[e[0]+s*.7,e[1]+o*.7];d.half=u<l/4?0:1;d.angle=u;i=Y(i,c/2);d.labelPos=[e[0]+s+et(u)*c,e[1]+o+tt(u)*c,e[0]+s+et(u)*i,e[1]+o+tt(u)*i,e[0]+s,e[1]+o,c<0?"center":d.half?"right":"left",u]}this.setTooltipPoints()},drawGraph:null,drawPoints:function(){var t=this,n=t.chart.renderer,r,i,s=t.options.shadow,o,u;if(s&&!t.shadowGroup)t.shadowGroup=n.g("shadow").add(t.group);rn(t.points,function(a){i=a.graphic;u=a.shapeArgs;o=a.shadowGroup;if(s&&!o)o=a.shadowGroup=n.g("shadow").add(t.shadowGroup);r=a.sliced?a.slicedTranslation:{translateX:0,translateY:0};o&&o.attr(r);i?i.animate(e(u,r)):a.graphic=i=n.arc(u).setRadialReference(t.center).attr(a.pointAttr[a.selected?"select":""]).attr({"stroke-linejoin":"round"}).attr(r).add(t.group).shadow(s,o);a.visible===!1&&a.setVisible(!1)})},drawDataLabels:function(){var e=this,t=e.data,n,r=e.chart,i=e.options.dataLabels,s=p(i.connectorPadding,10),o=p(i.connectorWidth,1),u=r.plotWidth,r=r.plotHeight,a,f,l=p(i.softConnector,!0),c=i.distance,h=e.center,d=h[2]/2,v=h[1],m=c>0,g,y,b,w,E=[[],[]],S,x,T,N,C,k=[0,0,0,0],A=function(e,t){return t.y-e.y},O=function(e,t){e.sort(function(e,n){return e.angle!==void 0&&(n.angle-e.angle)*t})};if(e.visible&&(i.enabled||e._hasPointLabels)){En.prototype.drawDataLabels.apply(e);rn(t,function(e){e.dataLabel&&E[e.half].push(e)});for(N=0;!w&&t[N];)w=t[N]&&t[N].dataLabel&&(t[N].dataLabel.getBBox().height||21),N++;for(N=2;N--;){var t=[],M=[],_=E[N],D=_.length,P;O(_,N-.5);if(c>0){for(C=v-d-c;C<=v+d+c;C+=w)t.push(C);y=t.length;if(D>y){n=[].concat(_);n.sort(A);for(C=D;C--;)n[C].rank=C;for(C=D;C--;)_[C].rank>=y&&_.splice(C,1);D=_.length}for(C=0;C<D;C++){n=_[C];b=n.labelPos;n=9999;var H,B;for(B=0;B<y;B++)H=Z(t[B]-b[1]),H<n&&(n=H,P=B);if(P<C&&t[C]!==null)P=C;else for(y<D-C+P&&t[C]!==null&&(P=y-D+C);t[P]===null;)P++;M.push({i:P,y:t[P]});t[P]=null}M.sort(A)}for(C=0;C<D;C++){n=_[C];b=n.labelPos;g=n.dataLabel;T=n.visible===!1?"hidden":"visible";n=b[1];if(c>0){if(y=M.pop(),P=y.i,x=y.y,n>x&&t[P+1]!==null||n<x&&t[P-1]!==null)x=n}else x=n;S=i.justify?h[0]+(N?-1:1)*(d+c):e.getX(P===0||P===t.length-1?n:x,N);g._attr={visibility:T,align:b[6]};g._pos={x:S+i.x+({left:s,right:-s}[b[6]]||0),y:x+i.y-10};g.connX=S;g.connY=x;if(this.options.size===null)y=g.width,S-y<s?k[3]=G(J(y-S+s),k[3]):S+y>u-s&&(k[1]=G(J(S+y-u+s),k[1])),x-w/2<0?k[0]=G(J(-x+w/2),k[0]):x+w/2>r&&(k[2]=G(J(x+w/2-r),k[2]))}}if(L(k)===0||this.verifyDataLabelOverflow(k))this.placeDataLabels(),m&&o&&rn(this.points,function(t){a=t.connector;b=t.labelPos;if((g=t.dataLabel)&&g._pos)T=g._attr.visibility,S=g.connX,x=g.connY,f=l?["M",S+(b[6]==="left"?5:-5),x,"C",S,x,2*b[2]-b[4],2*b[3]-b[5],b[2],b[3],"L",b[4],b[5]]:["M",S+(b[6]==="left"?5:-5),x,"L",b[2],b[3],"L",b[4],b[5]],a?(a.animate({d:f}),a.attr("visibility",T)):t.connector=a=e.chart.renderer.path(f).attr({"stroke-width":o,stroke:i.connectorColor||t.color||"#606060",visibility:T}).add(e.group);else if(a)t.connector=a.destroy()})}},verifyDataLabelOverflow:function(e){var t=this.center,n=this.options,r=n.center,i=n=n.minSize||80,s;r[0]!==null?i=G(t[2]-G(e[1],e[3]),n):(i=G(t[2]-e[1]-e[3],n),t[0]+=(e[3]-e[1])/2);r[1]!==null?i=G(Y(i,t[2]-G(e[0],e[2])),n):(i=G(Y(i,t[2]-e[0]-e[2]),n),t[1]+=(e[0]-e[2])/2);i<t[2]?(t[2]=i,this.translate(t),rn(this.points,function(e){if(e.dataLabel)e.dataLabel._pos=null}),this.drawDataLabels()):s=!0;return s},placeDataLabels:function(){rn(this.points,function(e){var e=e.dataLabel,t;if(e)(t=e._pos)?(e.attr(e._attr),e[e.moved?"animate":"attr"](t),e.moved=!0):e&&e.attr({y:-999})})},alignDataLabel:Nt,drawTracker:gn.prototype.drawTracker,drawLegendSymbol:Zt.prototype.drawLegendSymbol,getSymbol:Nt};Yt=m(En,Yt);Gt.pie=Yt;e(Highcharts,{Axis:I,Chart:z,Color:vn,Legend:U,Pointer:R,Point:wn,Tick:B,Tooltip:q,Renderer:vt,Series:En,SVGElement:H,SVGRenderer:mn,arrayMin:k,arrayMax:L,charts:Ct,dateFormat:Et,format:w,pathAnim:xt,getOptions:function(){return wt},hasBidiBug:pt,isTouchDevice:lt,numberFormat:g,seriesTypes:Gt,setOptions:function(e){wt=t(wt,e);P();return wt},addEvent:an,removeEvent:fn,createElement:v,discardElement:O,css:d,each:rn,extend:e,map:un,merge:t,pick:p,splat:h,extendClass:m,pInt:n,wrap:b,svg:ht,canvas:dt,vml:!ht&&!dt,product:"Highcharts",version:"3.0.4"})})() + +$(function () { + $('table tbody tr td, table tfoot tr td').each(function(){ + if(isNumber($(this).text())){ + $(this).text(addCommas($(this).text())); + } + }); + }); + + function isNumber(n) { + return !isNaN(parseFloat(n)) && isFinite(n); + } + + function addCommas(nStr) { + nStr += ''; + x = nStr.split('.'); + x1 = x[0]; + x2 = x.length > 1 ? '.' + x[1] : ''; + var rgx = /(\d+)(\d{3})/; + while (rgx.test(x1)) { + x1 = x1.replace(rgx, '$1' + ',' + '$2'); + } + return x1 + x2; + } + + </script> + <script type='text/javascript'> + + // Mapping Analysis + $(function () { + $('#truncating_mapping_plot').highcharts({ + colors: [ + '#0d233a', + '#2f7ed8', + '#8bbc21', + '#910000', + '#1aadce', + '#492970', + '#f28f43', + '#77a1e5', + '#c42525', + '#a6c96a' + ], + chart: { + type: 'column', + marginRight:0 + }, + title: { + text: '' + }, + xAxis: { + categories: ['Total Reads', + 'Not Truncated', + 'Truncated', + 'Too short to map', + 'Unique Alignments', + 'Multiple Alignments', + 'Failed To Align', + 'Paired'] + }, + yAxis: { + title: { + text: 'Number of Reads' + } + }, + credits: { + enabled: false + }, + tooltip: { + formatter: function() { + if(this.series.name == 'Read 1'){ + return '<b>'+ this.series.name + '</b><br/>'+ + this.x + ': ' +((this.y / 99742) * 100).toFixed(1) + '%'; + } else { + return '<b>'+ this.series.name + '</b><br/>'+ + this.x + ': ' +((this.y / 99742) * 100).toFixed(1) + '%'; + } + } + }, + legend: { + align: 'right', + verticalAlign: 'top', + y: 10 + }, + series: [{ + name: 'Read 1', + data: [99742, 92512, 7230, 2658, 3885, 12437, 80762, 1143] + }, { + name: 'Read 2', + data: [99742, 92628, 7114, 2476, 3725, 12679, 80862, 1143] + }] + }); + }); + + + // Di-Tag Analysis + + $(function () { + $('#ditag_plot').highcharts({ + colors: [ + '#0d233a', + '#2f7ed8', + '#8bbc21', + '#910000', + '#1aadce', + '#492970', + '#f28f43', + '#77a1e5', + '#c42525', + '#a6c96a' + ], + chart: { + plotBackgroundColor: null, + plotBorderWidth: null, + plotShadow: false + }, + title: { + text: '' + }, + plotOptions: { + pie: { + allowPointSelect: true, + cursor: 'pointer', + dataLabels: { + enabled: true, + color: '#000000', + connectorColor: '#000000', + format: '<b>{point.name}</b>' + } + } + }, + credits: { + enabled: false + }, + tooltip: { + formatter: function() { + return '<b>'+ this.point.name + ':</b>'+this.percentage.toFixed(1) + '%'; + } + }, + series: [{ + type: 'pie', + name: 'Types of Pairs', + data: [ + { + name: 'Valid Pairs', + y: 543, + sliced: true, + selected: true + }, + ['Same Fragment - Circularised', 22], + ['Same Fragment - Dangling Ends', 75], + ['Same Fragment - Internal', 474], + ['Re-ligation', 29], + ['Contiguous Sequence', 0], + ['Wrong Size', 0] + ] + }] + }); + }); + + + + + + + + + + // Di-tag length plot + $(function () { + $('#ditag_length_plot').highcharts({ + colors: [ + '#0d233a' + ], + chart: { + zoomType: 'x', + marginRight: 80, + alignTicks: false, + plotBorderWidth:1 + }, + title: { + text: '' + }, + subtitle: { + text: document.ontouchstart === undefined ? + 'Click and drag in the plot area to zoom in' : + 'Drag your finger over the plot to zoom in' + }, + xAxis: { + title: { + text: 'Di-tag size (bp)' + }, + // tickInterval: 50, + minTickInterval: 0, + min: 0, + + plotLines: [{ + color: '#FF0000', + width: 0, + value: 0 + }, + + { + color: '#FF0000', + width: 0, + value: 0 + }] + + }, + yAxis: [{ + title: { + text: 'Frequency (ditags per 10bp bin)' + }, + min: 0, + // max: 100, + gridLineWidth: 0, + tickWidth: 1, + lineWidth: 1 + }], + credits: { + enabled: false + }, + tooltip: { + shared: true, + headerFormat: '<b>Ditag size {point.x}</b><table>', + pointFormat: '<tr><td><span style="color:{series.color};">{series.name} (ditags per 10bp bin)</span></td><td>{point.y}</td></tr>', + footerFormat: '</table>', + useHTML: true + }, + legend: { + enabled: false + }, + plotOptions: { + line: { + lineWidth: 1, + marker: { + enabled: false + }, + shadow: false + } + }, + + // Reverse order to get lines stacked correctly + series: [{ + name: 'Frequency', + yAxis: 0, + lineWidth: 3, + legendIndex: 0, + data: [ + [50, 1],[70, 1],[80, 3],[100, 1],[120, 2],[130, 3],[140, 4],[150, 5],[160, 11],[170, 17],[180, 20],[190, 19],[200, 35],[210, 35],[220, 34],[230, 30],[240, 29],[250, 17],[260, 26],[270, 22],[280, 23],[290, 12],[300, 20],[310, 10],[320, 15],[330, 4],[340, 9],[350, 4],[360, 7],[370, 6],[380, 5],[390, 4],[400, 1],[410, 3],[420, 3],[430, 3],[440, 1],[460, 1],[470, 1],[480, 1],[500, 1],[540, 1],[560, 2],[570, 1],[580, 1],[600, 1],[630, 1],[670, 1],[690, 2],[710, 1],[720, 3],[740, 2],[770, 2],[780, 1],[800, 2],[850, 1],[860, 1],[870, 1],[880, 1],[890, 1],[930, 2],[950, 1],[990, 1],[1000, 1],[1030, 2],[1040, 1],[1070, 1],[1100, 1],[1120, 1],[1140, 1],[1170, 1],[1180, 1],[1210, 1],[1230, 1],[1240, 1],[1250, 1],[1260, 1],[1300, 1],[1310, 1],[1320, 2],[1330, 1],[1340, 2],[1350, 1],[1370, 2],[1380, 1],[1390, 1],[1400, 1],[1410, 2],[1420, 2],[1430, 2] + ] + }] + }); + }); + + + + + + + + + + + // De-duplication Plot + $(function () { + $('#deduplication_plot').highcharts({ + colors: [ + '#0d233a', + '#2f7ed8', + '#8bbc21', + '#910000', + '#1aadce', + '#492970', + '#f28f43', + '#77a1e5', + '#c42525', + '#a6c96a' + ], + chart: { + type: 'column' + }, + title: { + text: '' + }, + xAxis: { + categories: ['All Di-Tags', 'Unique Di-Tags'] + }, + yAxis: { + min: 0, + title: { + text: 'Number of Di-Tags' + }, + stackLabels: { + enabled: false + } + }, + legend: { + align: 'center', + verticalAlign: 'bottom', + y: 10, + floating: false, + backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColorSolid) || 'white', + borderColor: '#CCC', + borderWidth: 1, + shadow: false + }, + tooltip: { + formatter: function() { + return '<b>'+ this.series.name + ':</b>'+this.percentage.toFixed(1) + '%'; + } + }, + credits: { + enabled: false + }, + plotOptions: { + column: { + stacking: 'normal', + dataLabels: { + enabled: false + } + } + }, + series: [{ + name: 'cis lt 10Kbp', + data: [43, 43] + }, { + name: 'cis gt 10Kbp', + data: [440, 440] + }, { + name: 'trans', + data: [60, 60] + }] + }); + }); + + </script> + +<div class="container"> + <div class="header_title"> + <h1><a href="http://www.bioinformatics.babraham.ac.uk/projects/hicup/" target="_blank"><img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAP4AAAA0CAYAAACq5YWDAAAACXBIWXMAAASdAAAEnQF8NGuhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACtdJREFUeNrsXU2MG1cdf+P1etdJwQ5fTcvBrlS1EhVaB5B6QGIngqgntA4XekFxi1ClCinmxHHdC9c6iipxKs4FcYF41QOqRLXeqvSEFC8VQkBRZqC03SoBu9msd727M8xb/kNmJ/M+ZuaN7fH8f9JkI/v5vTfv/X//j/epvfjDH9kXvvZ1IsJ4f3+4qOVKwnTj8bBgW8J0FNanA5lkZDz4eFj49z+Fef59nNu5fvPN523b7hEEAsFEnpL+xy+/JExo7+0P7Hu7QvLZx0cD65MdKeLff+9PcrX8492B9cZtYZ7vPnv+4+vYpwiEEDlsAgQigxYfmwChAt968TdV5w99dPio5jxlXzIDHoqTcOzt17+HYRkSPxGBpALYjplN0xHQfsTyWx4yREHXKbs9o0Svw7vRRya8W/X8fx3yoX9M5+nD0+W1tYL2jNufkRWVU6buyYcqxYZHOcZ5J1onOmDWl1WkWbD4ZZ/ARUEVhDIKdAXlt2eI8A0QWNY7DT1t1QeB1D3tWAn4TQWeNaoQQBlsOEJcT6g9yzF+u6qoKalBelVRXque/qF/tpynA0p0kEniUw3oNMYTIHRlsFJXBD8zoeFUuKN1j9urA2l41nHoKXsgq3DAsymD1h8kRPgWg7g3oL49p2xDkI/bDqJ+qLKsJuRRgzQNCTJeoySg7RnV0nvK13xhTZPTnzegXCOg3AEQVFaZuDLpbyPaDisBioA+baeu1Gi0/TKhXX/t57bkq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Hw1YG1EmUSMX1cVfiRBQhBimu82w+3fpEc8qYqbwb33k97vSkuHLBzr69a9FbGeVZhl8JJ+W5W1F4yj1JD48RuYJ1CNJAeynLwbhH36zlqEsvUkFBi42DSPa4wk9Fw3Oi7QiqoAYK6ekvBWQJtsRQ0pwGt5gZOEuv207k0ZS0r7BKy8/0bcU+fYKQBPIbVUDlBq7e9fsn/w+9tiDfFczSSrl4VxtubE+Geefkoqxl947MtylTyzbGqfeUSY5+/e6m1f+s7Fpm3bvQA3qQqCXCfiY6+G4Gb24SFRY0MgcjlE2Seuo6fsgT/OBSvv5tkg7DXp18CSDuLEtvAObcLfrrsBbdYTERbqXxfU/WLceBwGKztEvGafDhwbAeMrOljaEqNtW3FI7+vHOhGfmqxMLrNyEAcVsDAHUpbAnfO6dFrEskWECYK37GFAvL4pmc9V8uDE1aj1/7/1BwXaAiH1k2ENHgJXM28xxh1Eio9a0Y6KQTgaskCd24R/2UgFHpl+Yp5jF4H0myF/pkwus0J8gyGIBjm9xrtM1E/zsQTEPTpJVHafIXy893A9HNWxvwFK1LWmOjwrIcZQgqxtD56u6ulCyK8BIYXrZYQ96NStY1vV0WyeGQg/BgF9rrw/M+HqIyYybqL7BNQvrF7l1I8bfsSsq6tk3TDMr3RdpUzr25/HcxjxzD2EKsvaS1FdBx4vI5PIb+85/37zCWHCsbZULvxZfDbf2LLLy7cNudKXlqWSHVrH5UJRfJze+3/763mkIAIhxn8FGACvHWTqXKZBCQAAAABJRU5ErkJggg==" /></a></h1> + <h2>Processing Report</h2> + </div> + <div class="header_subtitle"> + <h4 WRAP CHAR>dataset1_2</h4> + <p>11-48-32_24-05-2018</p> + </div> + <hr> + + <h3>Truncating and Mapping </h3> + <div class="data"> + <table class="data_table"> + <thead> + <tr> + <th> </th> + <th>Read 1</th> + <th>Read 2</th> + </tr> + </thead> + <tbody> + <tr> + <th>Total Reads</th> + <td>99742</td> + <td>99742</td> + </tr> + <tr> + <th>Not Truncated</th> + <td>92512</td> + <td>92628</td> + </tr> + <tr> + <th>Truncated</th> + <td>7230</td> + <td>7114</td> + </tr> + <tr> + <th>Too short to map</th> + <td>2658</td> + <td>2476</td> + </tr> + <tr> + <th>Average length of truncated sequence</th> + <td>22.45</td> + <td>22.63</td> + </tr> + </tbody> + </table> + <table class="data_table"> + <thead> + <tr> + <th> </th> + <th>Read 1</th> + <th>Read 2</th> + </tr> + </thead> + <tbody> + <tr> + <th>Unique Alignments</th> + <td>3885</td> + <td>3725</td> + </tr> + <tr> + <th>Multiple Alignments</th> + <td>12437</td> + <td>12679</td> + </tr> + <tr> + <th>Failed To Align</th> + <td>80762</td> + <td>80862</td> + </tr> + <tr> + <th>Paired</th> + <td>1143</td> + <td>1143</td> + </tr> + </tbody> + </table> + </div> + <div id="truncating_mapping_plot" class="plot"></div> + <hr> + + + <h3>Filtering</h3> + <table class="data data_table"> + <thead> + <tr> + <th> </th> + <th>Di-Tag Count</th> + </tr> + </thead> + <tbody> + <tr> + <th>Valid Pairs</th> + <td>543</td> + </tr> + <tr> + <th>Invalid Pairs</th> + <td>600</td> + </tr> + <tr> + <th>Same Circularised</th> + <td>22</td> + </tr> + <tr> + <th>Same Fragment Dangling Ends</th> + <td>75</td> + </tr> + <tr> + <th>Same Fragment Internal</th> + <td>474</td> + </tr> + <tr> + <th>Re-ligation</th> + <td>29</td> + </tr> + + <tr> + <th>Contiguous Sequence</th> + <td>0</td> + </tr> + <tr> + <th>Wrong Size</th> + <td>0</td> + </tr> + </tbody> + <tfoot> + <tr> + <th>Total Pairs</th> + <td>1143</td> + </tr> + </tfoot> + </table> + <div id="ditag_plot" class="plot"></div> + + + + + + + <hr> + <h3>Di-tag length Distribution</h3> + <div id="ditag_length_plot" class="plot"></div> + <hr> + + <h3>De-duplication</h3> + <h4>Percentage uniques: 100.00</h4> + <table class="data data_table"> + <thead> + <tr> + <th> </th> + <th>All Di-Tags</th> + <th>Unique Di-Tags</th> + </tr> + </thead> + <tbody> + <tr> + <th>Read Pairs</th> + <td>543</td> + <td>543</td> + </tr> + <tr> + <th>Cis-close (< 10Kbp)</th> + <td>43 </td> + <td>43</td> + </tr> + <tr> + <th>Cis-far (> 10Kbp)</th> + <td>440</td> + <td>440</td> + </tr> + <tr> + <th>Trans</th> + <td>60</td> + <td>60</td> + </tr> + </tbody> + </table> + <div id="deduplication_plot" class="plot"></div> + + <hr> + + <footer> + <a style="float:right;" href="http://www.bioinformatics.babraham.ac.uk/"><img alt="Babraham Bioinformatics" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABHCAYAAABCvgiTAAAACXBIWXMAAC4jAAAuIwF4pT92AAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuR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SGgcfNcHcBcqRjDWQz0mDt5ao6nkadCFS2aISHRgrE/YlcgZ8bDkt1jaF2sKN+WuJSdmZ7JPgDc7+ouVKG/Qp5CazvdHzjf52LlyxMSQwKLaiixvfWl32P+6xEmK8o2ApSOt/G2sbZgfArG23gbB8h4G2/jABlv420cIONtvI0DZLyNt3GAjLfxttG3/x8AscyrBFrkMAcAAAAASUVORK5CYII=" /></a> + <p>Analysis produced by <a href="http://www.bioinformatics.babraham.ac.uk/projects/hicup/"><strong>HiCUP</strong></a> (0.6.1) - a tool for mapping and performing quality control on Hi-C data.</p> + <p>Report graphs rendered using <a href="http://jquery.com/">jQuery</a> and <a href="http://www.highcharts.com/">Highcharts</a>.</p> + </footer> +</div> +</body> +</html> +