PageSourceSearch

https://kulturanalys.se/wp-content/themes/kulturanalys/assets/front/main.js?ver=1.0.81

js kulturanalys.se collected 2026-10-02 04:27:38 UTC 576,148 bytes, 18 lines download raw bytes

vendor: 4,092 bytes, lines 1-11
1!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=11)}([function(t,e,i){var n;
2/*!
3 * jQuery JavaScript Library v3.7.1
4 * https://jquery.com/
5 *
6 * Copyright OpenJS Foundation and other contributors
7 * Released under the MIT license
8 * https://jquery.org/license
9 *
10 * Date: 2023-08-28T13:37Z
11 */!function(e,i){"use strict";"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,(function(i,o){"use strict";var r=[],s=Object.getPrototypeOf,a=r.slice,l=r.flat?function(t){return r.flat.call(t)}:function(t){return r.concat.apply([],t)},h=r.push,c=r.indexOf,d={},p=d.toString,u=d.hasOwnProperty,f=u.toString,g=f.call(Object),m={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},v=function(t){return null!=t&&t===t.window},x=i.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,i){var n,o,r=(i=i||x).createElement("script");if(r.text=t,e)for(n in b)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&r.setAttribute(n,o);i.head.appendChild(r).parentNode.removeChild(r)}function C(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?d[p.call(t)]||"object":typeof t}var S=/HTML$/i,k=function(t,e){return new k.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,i=C(t);return!y(t)&&!v(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function A(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}k.fn=k.prototype={jquery:"3.7.1",constructor:k,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=k.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return k.each(this,t)},map:function(t){return this.pushStack(k.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:r.sort,splice:r.splice},k.extend=k.fn.extend=function(){var t,e,i,n,o,r,s=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof s&&(h=s,s=arguments[a]||{},a++),"object"==typeof s||y(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&s!==n&&(h&&n&&(k.isPlainObject(n)||(o=Array.isArray(n)))?(i=s[e],r=o&&!Array.isArray(i)?[]:o||k.isPlainObject(i)?i:{},o=!1,s[e]=k.extend(h,r,n)):void 0!==n&&(s[e]=n));return s},k.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==p.call(t))&&(!(e=s(t))||"function"==typeof(i=u.call(e,"constructor")&&e.constructor)&&f.call(i)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0}
vendor: 4,079 bytes, line 11
11,globalEval:function(t,e,i){w(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(T(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},text:function(t){var e,i="",n=0,o=t.nodeType;if(!o)for(;e=t[n++];)i+=k.text(e);return 1===o||11===o?t.textContent:9===o?t.documentElement.textContent:3===o||4===o?t.nodeValue:i},makeArray:function(t,e){var i=e||[];return null!=t&&(T(Object(t))?k.merge(i,"string"==typeof t?[t]:t):h.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:c.call(e,t,i)},isXMLDoc:function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!S.test(e||i&&i.nodeName||"HTML")},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n=[],o=0,r=t.length,s=!i;o<r;o++)!e(t[o],o)!==s&&n.push(t[o]);return n},map:function(t,e,i){var n,o,r=0,s=[];if(T(t))for(n=t.length;r<n;r++)null!=(o=e(t[r],r,i))&&s.push(o);else for(r in t)null!=(o=e(t[r],r,i))&&s.push(o);return l(s)},guid:1,support:m}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=r[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var M=r.pop,E=r.sort,P=r.splice,O="[\\x20\\t\\r\\n\\f]",L=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g");k.contains=function(t,e){var i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(t.contains?t.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function j(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}k.escapeSelector=function(t){return(t+"").replace(D,j)};var N=x,I=h;!function(){var t,e,n,o,s,l,h,d,p,f,g=I,y=k.expando,v=0,x=0,b=tt(),w=tt(),C=tt(),S=tt(),T=function(t,e){return t===e&&(s=!0),0},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="(?:\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+O+"*("+j+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+O+"*\\]",R=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",F=new RegExp(O+"+","g"),H=new RegExp("^"+O+"*,"+O+"*"),z=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),G=new RegExp(O+"|>"),_=new RegExp(R),W=new RegExp("^"+j+"$"),U={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\([^\\r\\n\\f])","g"),$=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},Z=function(){lt()},J=pt((function(t){return!0===t.disabled&&A(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(r=a.call(N.childNodes),N.childNodes),r[N.childNodes.length].nodeType}catch(t){g={apply:function(t,e){I.apply(t,a.call(e))},call:function(t){I.apply(t,a.call(arguments,1))}}}function Q(t,e,i,n){var o,r,s,a,h,c,u,f=e&&e.ownerDocument,v=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==v&&9!==v&&11!==v)return i;if(!n&&(lt(e),e=e||l,d)){if(11!==v&&(h=Y.exec(t)))if(o=h[1]){if(9===v){if(!(s=e.getElementById(o)))return i;if(s.id===o)return g.call(i,s),i}else if(f&&(s=f.getElementById(o))&&Q.contains(e,s)&&s.id===o)return g.call(i,s),i}else{if(h[2])return g.apply(i,e.getElementsByTagName(t)),i;if((o=h[3])&&e.getElementsByClassName)return g.apply(i,e.getElementsByClassName(o)),i}
vendor: 6,015 bytes, line 11
11if(!(S[t+" "]||p&&p.test(t))){if(u=t,f=e,1===v&&(G.test(t)||z.test(t))){for((f=q.test(t)&&at(e.parentNode)||e)==e&&m.scope||((a=e.getAttribute("id"))?a=k.escapeSelector(a):e.setAttribute("id",a=y)),r=(c=ct(t)).length;r--;)c[r]=(a?"#"+a:":scope")+" "+dt(c[r]);u=c.join(",")}try{return g.apply(i,f.querySelectorAll(u)),i}catch(e){S(t,!0)}finally{a===y&&e.removeAttribute("id")}}}return vt(t.replace(L,"$1"),e,i,n)}function tt(){var t=[];return function i(n,o){return t.push(n+" ")>e.cacheLength&&delete i[t.shift()],i[n+" "]=o}}function et(t){return t[y]=!0,t}function it(t){var e=l.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function nt(t){return function(e){return A(e,"input")&&e.type===t}}function ot(t){return function(e){return(A(e,"input")||A(e,"button"))&&e.type===t}}function rt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&J(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function st(t){return et((function(e){return e=+e,et((function(i,n){for(var o,r=t([],i.length,e),s=r.length;s--;)i[o=r[s]]&&(i[o]=!(n[o]=i[o]))}))}))}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function lt(t){var i,n=t?t.ownerDocument||t:N;return n!=l&&9===n.nodeType&&n.documentElement?(h=(l=n).documentElement,d=!k.isXMLDoc(l),f=h.matches||h.webkitMatchesSelector||h.msMatchesSelector,h.msMatchesSelector&&N!=l&&(i=l.defaultView)&&i.top!==i&&i.addEventListener("unload",Z),m.getById=it((function(t){return h.appendChild(t).id=k.expando,!l.getElementsByName||!l.getElementsByName(k.expando).length})),m.disconnectedMatch=it((function(t){return f.call(t,"*")})),m.scope=it((function(){return l.querySelectorAll(":scope")})),m.cssHas=it((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),m.getById?(e.filter.ID=function(t){var e=t.replace(K,$);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var i=e.getElementById(t);return i?[i]:[]}}):(e.filter.ID=function(t){var e=t.replace(K,$);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var i,n,o,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(o=e.getElementsByName(t),n=0;r=o[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&d)return e.getElementsByClassName(t)},p=[],it((function(t){var e;h.appendChild(t).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||p.push("\\["+O+"*(?:value|"+D+")"),t.querySelectorAll("[id~="+y+"-]").length||p.push("~="),t.querySelectorAll("a#"+y+"+*").length||p.push(".#.+[+~]"),t.querySelectorAll(":checked").length||p.push(":checked"),(e=l.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(e=l.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||p.push("\\["+O+"*name"+O+"*="+O+"*(?:''|\"\")")})),m.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),T=function(t,e){if(t===e)return s=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!m.sortDetached&&e.compareDocumentPosition(t)===i?t===l||t.ownerDocument==N&&Q.contains(N,t)?-1:e===l||e.ownerDocument==N&&Q.contains(N,e)?1:o?c.call(o,t)-c.call(o,e):0:4&i?-1:1)},l):l}for(t in Q.matches=function(t,e){return Q(t,null,null,e)},Q.matchesSelector=function(t,e){if(lt(t),d&&!S[e+" "]&&(!p||!p.test(e)))try{var i=f.call(t,e);if(i||m.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){S(e,!0)}return Q(e,l,null,[t]).length>0},Q.contains=function(t,e){return(t.ownerDocument||t)!=l&&lt(t),k.contains(t,e)},Q.attr=function(t,i){(t.ownerDocument||t)!=l&&lt(t);var n=e.attrHandle[i.toLowerCase()],o=n&&u.call(e.attrHandle,i.toLowerCase())?n(t,i,!d):void 0;return void 0!==o?o:t.getAttribute(i)},Q.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},k.uniqueSort=function(t){var e,i=[],n=0,r=0;if(s=!m.sortStable,o=!m.sortStable&&a.call(t,0),E.call(t,T),s){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)P.call(t,i[n],1)}return o=null,t},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(a.apply(this)))},(e=k.expr={cacheLength:50,createPseudo:et,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(K,$),t[3]=(t[3]||t[4]||t[5]||"").replace(K,$),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Q.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Q.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&_.test(i)&&(e=ct(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(K,$).toLowerCase();return"*"===t?function(){return!0}:function(t){return A(t,e)}},CLASS:function(t){var e=b[t+" "];return e||(e=new RegExp("(^|"+O+")"+t+"("+O+"|$)"))&&b(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))}
vendor: 9,081 bytes, line 11
11,ATTR:function(t,e,i){return function(n){var o=Q.attr(n,t);return null==o?"!="===e:!e||(o+="","="===e?o===i:"!="===e?o!==i:"^="===e?i&&0===o.indexOf(i):"*="===e?i&&o.indexOf(i)>-1:"$="===e?i&&o.slice(-i.length)===i:"~="===e?(" "+o.replace(F," ")+" ").indexOf(i)>-1:"|="===e&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,o){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var h,c,d,p,u,f=r!==s?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),x=!l&&!a,b=!1;if(g){if(r){for(;f;){for(d=e;d=d[f];)if(a?A(d,m):1===d.nodeType)return!1;u=f="only"===t&&!u&&"nextSibling"}return!0}if(u=[s?g.firstChild:g.lastChild],s&&x){for(b=(p=(h=(c=g[y]||(g[y]={}))[t]||[])[0]===v&&h[1])&&h[2],d=p&&g.childNodes[p];d=++p&&d&&d[f]||(b=p=0)||u.pop();)if(1===d.nodeType&&++b&&d===e){c[t]=[v,p,b];break}}else if(x&&(b=p=(h=(c=e[y]||(e[y]={}))[t]||[])[0]===v&&h[1]),!1===b)for(;(d=++p&&d&&d[f]||(b=p=0)||u.pop())&&(!(a?A(d,m):1===d.nodeType)||!++b||(x&&((c=d[y]||(d[y]={}))[t]=[v,b]),d!==e)););return(b-=o)===n||b%n==0&&b/n>=0}}},PSEUDO:function(t,i){var n,o=e.pseudos[t]||e.setFilters[t.toLowerCase()]||Q.error("unsupported pseudo: "+t);return o[y]?o(i):o.length>1?(n=[t,t,"",i],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var n,r=o(t,i),s=r.length;s--;)t[n=c.call(t,r[s])]=!(e[n]=r[s])})):function(t){return o(t,0,n)}):o}},pseudos:{not:et((function(t){var e=[],i=[],n=yt(t.replace(L,"$1"));return n[y]?et((function(t,e,i,o){for(var r,s=n(t,null,o,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))})):function(t,o,r){return e[0]=t,n(e,null,r,i),e[0]=null,!i.pop()}})),has:et((function(t){return function(e){return Q(t,e).length>0}})),contains:et((function(t){return t=t.replace(K,$),function(e){return(e.textContent||k.text(e)).indexOf(t)>-1}})),lang:et((function(t){return W.test(t||"")||Q.error("unsupported lang: "+t),t=t.replace(K,$).toLowerCase(),function(e){var i;do{if(i=d?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===h},focus:function(t){return t===function(){try{return l.activeElement}catch(t){}}()&&l.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:rt(!1),disabled:rt(!0),checked:function(t){return A(t,"input")&&!!t.checked||A(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return V.test(t.nodeName)},input:function(t){return X.test(t.nodeName)},button:function(t){return A(t,"input")&&"button"===t.type||A(t,"button")},text:function(t){var e;return A(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:st((function(){return[0]})),last:st((function(t,e){return[e-1]})),eq:st((function(t,e,i){return[i<0?i+e:i]})),even:st((function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t})),odd:st((function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t})),lt:st((function(t,e,i){var n;for(n=i<0?i+e:i>e?e:i;--n>=0;)t.push(n);return t})),gt:st((function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t}))}}).pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=nt(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=ot(t);function ht(){}function ct(t,i){var n,o,r,s,a,l,h,c=w[t+" "];if(c)return i?0:c.slice(0);for(a=t,l=[],h=e.preFilter;a;){for(s in n&&!(o=H.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),n=!1,(o=z.exec(a))&&(n=o.shift(),r.push({value:n,type:o[0].replace(L," ")}),a=a.slice(n.length)),e.filter)!(o=U[s].exec(a))||h[s]&&!(o=h[s](o))||(n=o.shift(),r.push({value:n,type:s,matches:o}),a=a.slice(n.length));if(!n)break}return i?a.length:a?Q.error(t):w(t,l).slice(0)}function dt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function pt(t,e,i){var n=e.dir,o=e.next,r=o||n,s=i&&"parentNode"===r,a=x++;return e.first?function(e,i,o){for(;e=e[n];)if(1===e.nodeType||s)return t(e,i,o);return!1}:function(e,i,l){var h,c,d=[v,a];if(l){for(;e=e[n];)if((1===e.nodeType||s)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||s)if(c=e[y]||(e[y]={}),o&&A(e,o))e=e[n]||e;else{if((h=c[r])&&h[0]===v&&h[1]===a)return d[2]=h[2];if(c[r]=d,d[2]=t(e,i,l))return!0}return!1}}function ut(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function ft(t,e,i,n,o){for(var r,s=[],a=0,l=t.length,h=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,n,o)||(s.push(r),h&&e.push(a)));return s}function gt(t,e,i,n,o,r){return n&&!n[y]&&(n=gt(n)),o&&!o[y]&&(o=gt(o,r)),et((function(r,s,a,l){var h,d,p,u,f=[],m=[],y=s.length,v=r||function(t,e,i){for(var n=0,o=e.length;n<o;n++)Q(t,e[n],i);return i}(e||"*",a.nodeType?[a]:a,[]),x=!t||!r&&e?v:ft(v,f,t,a,l);if(i?i(x,u=o||(r?t:y||n)?[]:s,a,l):u=x,n)for(h=ft(u,m),n(h,[],a,l),d=h.length;d--;)(p=h[d])&&(u[m[d]]=!(x[m[d]]=p));if(r){if(o||t){if(o){for(h=[],d=u.length;d--;)(p=u[d])&&h.push(x[d]=p);o(null,u=[],h,l)}for(d=u.length;d--;)(p=u[d])&&(h=o?c.call(r,p):f[d])>-1&&(r[h]=!(s[h]=p))}}else u=ft(u===s?u.splice(y,u.length):u),o?o(null,s,u,l):g.apply(s,u)}))}function mt(t){for(var i,o,r,s=t.length,a=e.relative[t[0].type],l=a||e.relative[" "],h=a?1:0,d=pt((function(t){return t===i}),l,!0),p=pt((function(t){return c.call(i,t)>-1}),l,!0),u=[function(t,e,o){var r=!a&&(o||e!=n)||((i=e).nodeType?d(t,e,o):p(t,e,o));return i=null,r}];h<s;h++)if(o=e.relative[t[h].type])u=[pt(ut(u),o)];else{if((o=e.filter[t[h].type].apply(null,t[h].matches))[y]){for(r=++h;r<s&&!e.relative[t[r].type];r++);return gt(h>1&&ut(u),h>1&&dt(t.slice(0,h-1).concat({value:" "===t[h-2].type?"*":""})).replace(L,"$1"),o,h<r&&mt(t.slice(h,r)),r<s&&mt(t=t.slice(r)),r<s&&dt(t))}u.push(o)}return ut(u)}function yt(t,i){var o,r=[],s=[],a=C[t+" "];if(!a){for(i||(i=ct(t)),o=i.length;o--;)(a=mt(i[o]))[y]?r.push(a):s.push(a);(a=C(t,function(t,i){var o=i.length>0,r=t.length>0,s=function(s,a,h,c,p){var u,f,m,y=0,x="0",b=s&&[],w=[],C=n,S=s||r&&e.find.TAG("*",p),T=v+=null==C?1:Math.random()||.1,A=S.length;for(p&&(n=a==l||a||p);x!==A&&null!=(u=S[x]);x++){if(r&&u){for(f=0,a||u.ownerDocument==l||(lt(u),h=!d);m=t[f++];)if(m(u,a||l,h)){g.call(c,u);break}p&&(v=T)}o&&((u=!m&&u)&&y--,s&&b.push(u))}if(y+=x,o&&x!==y){for(f=0;m=i[f++];)m(b,w,a,h);if(s){if(y>0)for(;x--;)b[x]||w[x]||(w[x]=M.call(c));w=ft(w)}g.apply(c,w),p&&!s&&w.length>0&&y+i.length>1&&k.uniqueSort(c)}return p&&(v=T,n=C),b};return o?et(s):s}(s,r))).selector=t}return a}function vt(t,i,n,o){var r,s,a,l,h,c="function"==typeof t&&t,p=!o&&ct(t=c.selector||t);if(n=n||[],1===p.length){if((s=p[0]=p[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===i.nodeType&&d&&e.relative[s[1].type]){if(!(i=(e.find.ID(a.matches[0].replace(K,$),i)||[])[0]))return n;c&&(i=i.parentNode),t=t.slice(s.shift().value.length)}for(r=U.needsContext.test(t)?0:s.length;r--&&(a=s[r],!e.relative[l=a.type]);)if((h=e.find[l])&&(o=h(a.matches[0].replace(K,$),q.test(s[0].type)&&at(i.parentNode)||i))){if(s.splice(r,1),!(t=o.length&&dt(s)))return g.apply(n,o),n;break}}return(c||yt(t,p))(o,i,!d,n,!i||q.test(t)&&at(i.parentNode)||i),n}ht.prototype=e.filters=e.pseudos,e.setFilters=new ht,m.sortStable=y.split("").sort(T).join("")===y,lt(),m.sortDetached=it((function(t){return 1&t.compareDocumentPosition(l.createElement("fieldset"))})),k.find=Q,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,Q.compile=yt,Q.select=vt,Q.setDocument=lt,Q.tokenize=ct,Q.escape=k.escapeSelector,Q.getText=k.text,Q.isXML=k.isXMLDoc,Q.selectors=k.expr,Q.support=k.support,Q.uniqueSort=k.uniqueSort}();var B=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&k(t).is(i))break;n.push(t)}return n},R=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},F=k.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function z(t,e,i){return y(e)?k.grep(t,(function(t,n){return!!e.call(t,n,t)!==i})):e.nodeType?k.grep(t,(function(t){return t===e!==i})):"string"!=typeof e?k.grep(t,(function(t){return c.call(e,t)>-1!==i})):k.filter(e,t,i)}k.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?k.find.matchesSelector(n,t)?[n]:[]:k.find.matches(t,k.grep(e,(function(t){return 1===t.nodeType})))},k.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(k(t).filter((function(){for(e=0;e<n;e++)if(k.contains(o[e],this))return!0})));for(i=this.pushStack([]),e=0;e<n;e++)k.find(t,o[e],i);return n>1?k.uniqueSort(i):i},filter:function(t){return this.pushStack(z(this,t||[],!1))},not:function(t){return this.pushStack(z(this,t||[],!0))},is:function(t){return!!z(this,"string"==typeof t&&F.test(t)?k(t):t||[],!1).length}});var G,_=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
vendor: 4,782 bytes, line 11
11(k.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||G,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:_.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),H.test(n[1])&&k.isPlainObject(e))for(n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=x.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(k):k.makeArray(t,this)}).prototype=k.fn,G=k(x);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function X(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.fn.extend({has:function(t){var e=k(t,this),i=e.length;return this.filter((function(){for(var t=0;t<i;t++)if(k.contains(this,e[t]))return!0}))},closest:function(t,e){var i,n=0,o=this.length,r=[],s="string"!=typeof t&&k(t);if(!F.test(t))for(;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(s?s.index(i)>-1:1===i.nodeType&&k.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(r.length>1?k.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?c.call(k(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),k.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return B(t,"parentNode")},parentsUntil:function(t,e,i){return B(t,"parentNode",i)},next:function(t){return X(t,"nextSibling")},prev:function(t){return X(t,"previousSibling")},nextAll:function(t){return B(t,"nextSibling")},prevAll:function(t){return B(t,"previousSibling")},nextUntil:function(t,e,i){return B(t,"nextSibling",i)},prevUntil:function(t,e,i){return B(t,"previousSibling",i)},siblings:function(t){return R((t.parentNode||{}).firstChild,t)},children:function(t){return R(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(A(t,"template")&&(t=t.content||t),k.merge([],t.childNodes))}},(function(t,e){k.fn[t]=function(i,n){var o=k.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=k.filter(n,o)),this.length>1&&(U[t]||k.uniqueSort(o),W.test(t)&&o.reverse()),this.pushStack(o)}}));var V=/[^\x20\t\r\n\f]+/g;function Y(t){return t}function q(t){throw t}function K(t,e,i,n){var o;try{t&&y(o=t.promise)?o.call(t).done(e).fail(i):t&&y(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}k.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return k.each(t.match(V)||[],(function(t,i){e[i]=!0})),e}(t):k.extend({},t);var e,i,n,o,r=[],s=[],a=-1,l=function(){for(o=o||t.once,n=e=!0;s.length;a=-1)for(i=s.shift();++a<r.length;)!1===r[a].apply(i[0],i[1])&&t.stopOnFalse&&(a=r.length,i=!1);t.memory||(i=!1),e=!1,o&&(r=i?[]:"")},h={add:function(){return r&&(i&&!e&&(a=r.length-1,s.push(i)),function e(i){k.each(i,(function(i,n){y(n)?t.unique&&h.has(n)||r.push(n):n&&n.length&&"string"!==C(n)&&e(n)}))}(arguments),i&&!e&&l()),this},remove:function(){return k.each(arguments,(function(t,e){for(var i;(i=k.inArray(e,r,i))>-1;)r.splice(i,1),i<=a&&a--})),this},has:function(t){return t?k.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=i="",this},disabled:function(){return!r},lock:function(){return o=s=[],i||e||(r=i=""),this},locked:function(){return!!o},fireWith:function(t,i){return o||(i=[t,(i=i||[]).slice?i.slice():i],s.push(i),e||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},k.extend({Deferred:function(t){var e=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return k.Deferred((function(i){k.each(e,(function(e,n){var o=y(t[n[4]])&&t[n[4]];r[n[1]]((function(){var t=o&&o.apply(this,arguments);t&&y(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,o?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,o){var r=0;function s(t,e,n,o){return function(){var a=this,l=arguments,h=function(){var i,h;if(!(t<r)){if((i=n.apply(a,l))===e.promise())throw new TypeError("Thenable self
11-resolution");h=i&&("object"==typeof i||"function"==typeof i)&&i.then,y(h)?o?h.call(i,s(r,e,Y,o),s(r,e,q,o)):(r++,h.call(i,s(r,e,Y,o),s(r,e,q,o),s(r,e,Y,e.notifyWith))):(n!==Y&&(a=void 0,l=[i]),(o||e.resolveWith)(a,l))}},c=o?h:function(){try{h()}catch(i){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(i,c.error),t+1>=r&&(n!==q&&(a=void 0,l=[i]),e.rejectWith(a,l))}};t?c():(k.Deferred.getErrorHook?c.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(c.error=k.Deferred.getStackHook()),i.setTimeout(c))}}return k.Deferred((function(i){e[0][3].add(s(0,i,y(o)?o:Y,i.notifyWith)),e[1][3].add(s(0,i,y(t)?t:Y)),e[2][3].add(s(0,i,y(n)?n:q))})).promise()},promise:function(t){return null!=t?k.extend(t,o):o}},r={};return k.each(e,(function(t,i){var s=i[2],a=i[5];o[i[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=s.fireWith})),o.promise(r),t&&t.call(r,r),r},when:function(t){var e=arguments.length,i=e,n=Array(i),o=a.call(arguments),r=k.Deferred(),s=function(t){return function(i){n[t]=this,o[t]=arguments.length>1?a.call(arguments):i,--e||r.resolveWith(n,o)}};if(e<=1&&(K(t,r.done(s(i)).resolve,r.reject,!e),"pending"===r.state()||y(o[i]&&o[i].then)))return r.then();for(;i--;)K(o[i],s(i),r.reject);return r.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){i.console&&i.console.warn&&t&&$.test(t.name)&&i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},k.readyException=function(t){i.setTimeout((function(){throw t}))};var Z=k.Deferred();function J(){x.removeEventListener("DOMContentLoaded",J),i.removeEventListener("load",J),k.ready()}k.fn.ready=function(t){return Z.then(t).catch((function(t){k.readyException(t)})),this},k.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==t&&--k.readyWait>0||Z.resolveWith(x,[k]))}}),k.ready.then=Z.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?i.setTimeout(k.ready):(x.addEventListener("DOMContentLoaded",J),i.addEventListener("load",J));var Q=function(t,e,i,n,o,r,s){var a=0,l=t.length,h=null==i;if("object"===C(i))for(a in o=!0,i)Q(t,e,a,i[a],!0,r,s);else if(void 0!==n&&(o=!0,y(n)||(s=!0),h&&(s?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(k(t),i)})),e))for(;a<l;a++)e(t[a],i,s?n:n.call(t[a],a,e(t[a],i)));return o?t:h?e.call(t):l?e(t[0],i):r},tt=/^-ms-/,et=/-([a-z])/g;function it(t,e){return e.toUpperCase()}function nt(t){return t.replace(tt,"ms-").replace(et,it)}var ot=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function rt(){this.expando=k.expando+rt.uid++}rt.uid=1,rt.prototype={cache:function(t){var e=t[this.expando];return e||(e={},ot(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,o=this.cache(t);if("string"==typeof e)o[nt(e)]=i;else for(n in e)o[nt(n)]=e[n];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][nt(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(nt):(e=nt(e))in n?[e]:e.match(V)||[]).length;for(;i--;)delete n[e[i]]}
vendor: 4,584 bytes, line 11
11(void 0===e||k.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!k.isEmptyObject(e)}};var st=new rt,at=new rt,lt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ht=/[A-Z]/g;function ct(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(ht,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:lt.test(t)?JSON.parse(t):t)}(i)}catch(t){}at.set(t,e,i)}else i=void 0;return i}k.extend({hasData:function(t){return at.hasData(t)||st.hasData(t)},data:function(t,e,i){return at.access(t,e,i)},removeData:function(t,e){at.remove(t,e)},_data:function(t,e,i){return st.access(t,e,i)},_removeData:function(t,e){st.remove(t,e)}}),k.fn.extend({data:function(t,e){var i,n,o,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(o=at.get(r),1===r.nodeType&&!st.get(r,"hasDataAttrs"))){for(i=s.length;i--;)s[i]&&0===(n=s[i].name).indexOf("data-")&&(n=nt(n.slice(5)),ct(r,n,o[n]));st.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each((function(){at.set(this,t)})):Q(this,(function(e){var i;if(r&&void 0===e)return void 0!==(i=at.get(r,t))||void 0!==(i=ct(r,t))?i:void 0;this.each((function(){at.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){at.remove(this,t)}))}}),k.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=st.get(t,e),i&&(!n||Array.isArray(i)?n=st.access(t,e,k.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=k.queue(t,e),n=i.length,o=i.shift(),r=k._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete r.stop,o.call(t,(function(){k.dequeue(t,e)}),r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return st.get(t,i)||st.access(t,i,{empty:k.Callbacks("once memory").add((function(){st.remove(t,[e+"queue",i])}))})}}),k.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?k.queue(this[0],t):void 0===e?this:this.each((function(){var i=k.queue(this,t,e);k._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&k.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){k.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=k.Deferred(),r=this,s=this.length,a=function(){--n||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(i=st.get(r[s],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),o.promise(e)}});var dt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pt=new RegExp("^(?:([+-])=|)("+dt+")([a-z%]*)$","i"),ut=["Top","Right","Bottom","Left"],ft=x.documentElement,gt=function(t){return k.contains(t.ownerDocument,t)},mt={composed:!0};ft.getRootNode&&(gt=function(t){return k.contains(t.ownerDocument,t)||t.getRootNode(mt)===t.ownerDocument});var yt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&gt(t)&&"none"===k.css(t,"display")};function vt(t,e,i,n){var o,r,s=20,a=n?function(){return n.cur()}:function(){return k.css(t,e,"")},l=a(),h=i&&i[3]||(k.cssNumber[e]?"":"px"),c=t.nodeType&&(k.cssNumber[e]||"px"!==h&&+l)&&pt.exec(k.css(t,e));if(c&&c[3]!==h){for(l/=2,h=h||c[3],c=+l||1;s--;)k.style(t,e,c+h),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),c/=r;c*=2,k.style(t,e,c+h),i=i||[]}return i&&(c=+c||+l||0,o=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=c,n.end=o)),o}var xt={};function bt(t){var e,i=t.ownerDocument,n=t.nodeName,o=xt[n];return o||(e=i.body.appendChild(i.createElement(n)),o=k.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),xt[n]=o,o)}function wt(t,e){for(var i,n,o=[],r=0,s=t.length;r<s;r++)(n=t[r]).style&&(i=n.style.display,e?("none"===i&&(o[r]=st.get(n,"display")||null,o[r]||(n.style.display="")),""===n.style.display&&yt(n)&&(o[r]=bt(n))):"none"!==i&&(o[r]="none",st.set(n,"display",i)));for(r=0;r<s;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}k.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){yt(this)?k(this).show():k(this).hide()}))}});var Ct,St,kt=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,At=/^$|^module$|\/(?:java|ecma)script/i;Ct=x.createDocumentFragment().appendChild(x.createElement("div")),(St=x.createElement("input")).setAttribute("type","radio"),St.setAttribute("checked","checked"),St.setAttribute("name","t"),Ct.appendChild(St),m.checkClone
vendor: 6,335 bytes, line 11
11=Ct.cloneNode(!0).cloneNode(!0).lastChild.checked,Ct.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Ct.cloneNode(!0).lastChild.defaultValue,Ct.innerHTML="<option></option>",m.option=!!Ct.lastChild;var Mt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Et(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?k.merge([t],i):i}function Pt(t,e){for(var i=0,n=t.length;i<n;i++)st.set(t[i],"globalEval",!e||st.get(e[i],"globalEval"))}Mt.tbody=Mt.tfoot=Mt.colgroup=Mt.caption=Mt.thead,Mt.th=Mt.td,m.option||(Mt.optgroup=Mt.option=[1,"<select multiple='multiple'>","</select>"]);var Ot=/<|&#?\w+;/;function Lt(t,e,i,n,o){for(var r,s,a,l,h,c,d=e.createDocumentFragment(),p=[],u=0,f=t.length;u<f;u++)if((r=t[u])||0===r)if("object"===C(r))k.merge(p,r.nodeType?[r]:r);else if(Ot.test(r)){for(s=s||d.appendChild(e.createElement("div")),a=(Tt.exec(r)||["",""])[1].toLowerCase(),l=Mt[a]||Mt._default,s.innerHTML=l[1]+k.htmlPrefilter(r)+l[2],c=l[0];c--;)s=s.lastChild;k.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(e.createTextNode(r));for(d.textContent="",u=0;r=p[u++];)if(n&&k.inArray(r,n)>-1)o&&o.push(r);else if(h=gt(r),s=Et(d.appendChild(r),"script"),h&&Pt(s),i)for(c=0;r=s[c++];)At.test(r.type||"")&&i.push(r);return d}var Dt=/^([^.]*)(?:\.(.+)|)/;function jt(){return!0}function Nt(){return!1}function It(t,e,i,n,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)It(t,a,i,n,e[a],r);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=Nt;else if(!o)return t;return 1===r&&(s=o,(o=function(t){return k().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=k.guid++)),t.each((function(){k.event.add(this,e,o,n,i)}))}function Bt(t,e,i){i?(st.set(t,e,!1),k.event.add(t,e,{namespace:!1,handler:function(t){var i,n=st.get(this,e);if(1&t.isTrigger&&this[e]){if(n)(k.event.special[e]||{}).delegateType&&t.stopPropagation();else if(n=a.call(arguments),st.set(this,e,n),this[e](),i=st.get(this,e),st.set(this,e,!1),n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i}else n&&(st.set(this,e,k.event.trigger(n[0],n.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=jt)}})):void 0===st.get(t,e)&&k.event.add(t,e,jt)}k.event={global:{},add:function(t,e,i,n,o){var r,s,a,l,h,c,d,p,u,f,g,m=st.get(t);if(ot(t))for(i.handler&&(i=(r=i).handler,o=r.selector),o&&k.find.matchesSelector(ft,o),i.guid||(i.guid=k.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(V)||[""]).length;h--;)u=g=(a=Dt.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),u&&(d=k.event.special[u]||{},u=(o?d.delegateType:d.bindType)||u,d=k.event.special[u]||{},c=k.extend({type:u,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:f.join(".")},r),(p=l[u])||((p=l[u]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,n,f,s)||t.addEventListener&&t.addEventListener(u,s)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[u]=!0)},remove:function(t,e,i,n,o){var r,s,a,l,h,c,d,p,u,f,g,m=st.hasData(t)&&st.get(t);if(m&&(l=m.events)){for(h=(e=(e||"").match(V)||[""]).length;h--;)if(u=g=(a=Dt.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),u){for(d=k.event.special[u]||{},p=l[u=(n?d.delegateType:d.bindType)||u]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)c=p[r],!o&&g!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(p.splice(r,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(t,c));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,f,m.handle)||k.removeEvent(t,u,m.handle),delete l[u])}else for(u in l)k.event.remove(t,u+e[h],i,n,!0);k.isEmptyObject(l)&&st.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,r,s,a=new Array(arguments.length),l=k.event.fix(t),h=(st.get(this,"events")||Object.create(null))[l.type]||[],c=k.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=k.event.handlers.call(this,l,h),e=0;(o=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,i=0;(r=o.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(n=((k.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,n,o,r,s,a=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&t.button>=1))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(r=[],s={},i=0;i<l;i++)void 0===s[o=(n=e[i]).selector+" "]&&(s[o]=n.needsContext?k(o,this).index(h)>-1:k.find(o,this,null,[h]).length),s[o]&&r.push(n);r.length&&a.push({elem:h,handlers:r})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[k.expando]?t:new k.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return kt.test(e.type)&&e.click&&A(e,"input")&&Bt(e,"click",!0),!1},trigger:function(t){var e=this||t;return kt.test(e.type)&&e.click&&A(e,"input")&&Bt(e,"click"),!0},_default:function(t){var e=t.target;return kt.test(e.type)&&e.click&&A(e,"input")&&st.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}}
vendor: 2,586 bytes, line 11
11,k.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},k.Event=function(t,e){if(!(this instanceof k.Event))return new k.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?jt:Nt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&k.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Nt,isPropagationStopped:Nt,isImmediatePropagationStopped:Nt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=jt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=jt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=jt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(t,e){function i(t){if(x.documentMode){var i=st.get(this,"handle"),n=k.event.fix(t);n.type="focusin"===t.type?"focus":"blur",n.isSimulated=!0,i(t),n.target===n.currentTarget&&i(n)}else k.event.simulate(e,t.target,k.event.fix(t))}k.event.special[t]={setup:function(){var n;if(Bt(this,t,!0),!x.documentMode)return!1;(n=st.get(this,e))||this.addEventListener(e,i),st.set(this,e,(n||0)+1)},trigger:function(){return Bt(this,t),!0},teardown:function(){var t;if(!x.documentMode)return!1;(t=st.get(this,e)-1)?st.set(this,e,t):(this.removeEventListener(e,i),st.remove(this,e))},_default:function(e){return st.get(e.target,t)},delegateType:e},k.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,o=x.documentMode?this:n,r=st.get(o,e);r||(x.documentMode?this.addEventListener(e,i):n.addEventListener(t,i,!0)),st.set(o,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=x.documentMode?this:n,r=st.get(o,e)-1;r?st.set(o,e,r):(x.documentMode?this.removeEventListener(e,i):n.removeEventListener(t,i,!0),st.remove(o,e))}}}
vendor: 4,563 bytes, line 11
11)),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){k.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,o=t.relatedTarget,r=t.handleObj;return o&&(o===n||k.contains(n,o))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}})),k.fn.extend({on:function(t,e,i,n){return It(this,t,e,i,n)},one:function(t,e,i,n){return It(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,k(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=Nt),this.each((function(){k.event.remove(this,t,i,e)}))}});var Rt=/<script|<style|<link/i,Ft=/checked\s*(?:[^=]|=\s*.checked.)/i,Ht=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function zt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&k(t).children("tbody")[0]||t}function Gt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function _t(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Wt(t,e){var i,n,o,r,s,a;if(1===e.nodeType){if(st.hasData(t)&&(a=st.get(t).events))for(o in st.remove(e,"handle events"),a)for(i=0,n=a[o].length;i<n;i++)k.event.add(e,o,a[o][i]);at.hasData(t)&&(r=at.access(t),s=k.extend({},r),at.set(e,s))}}function Ut(t,e){var i=e.nodeName.toLowerCase();"input"===i&&kt.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function Xt(t,e,i,n){e=l(e);var o,r,s,a,h,c,d=0,p=t.length,u=p-1,f=e[0],g=y(f);if(g||p>1&&"string"==typeof f&&!m.checkClone&&Ft.test(f))return t.each((function(o){var r=t.eq(o);g&&(e[0]=f.call(this,o,r.html())),Xt(r,e,i,n)}));if(p&&(r=(o=Lt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===o.childNodes.length&&(o=r),r||n)){for(a=(s=k.map(Et(o,"script"),Gt)).length;d<p;d++)h=o,d!==u&&(h=k.clone(h,!0,!0),a&&k.merge(s,Et(h,"script"))),i.call(t[d],h,d);if(a)for(c=s[s.length-1].ownerDocument,k.map(s,_t),d=0;d<a;d++)h=s[d],At.test(h.type||"")&&!st.access(h,"globalEval")&&k.contains(c,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?k._evalUrl&&!h.noModule&&k._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},c):w(h.textContent.replace(Ht,""),h,c))}return t}function Vt(t,e,i){for(var n,o=e?k.filter(e,t):t,r=0;null!=(n=o[r]);r++)i||1!==n.nodeType||k.cleanData(Et(n)),n.parentNode&&(i&&gt(n)&&Pt(Et(n,"script")),n.parentNode.removeChild(n));return t}k.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,r,s,a=t.cloneNode(!0),l=gt(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(s=Et(a),n=0,o=(r=Et(t)).length;n<o;n++)Ut(r[n],s[n]);if(e)if(i)for(r=r||Et(t),s=s||Et(a),n=0,o=r.length;n<o;n++)Wt(r[n],s[n]);else Wt(t,a);return(s=Et(a,"script")).length>0&&Pt(s,!l&&Et(t,"script")),a},cleanData:function(t){for(var e,i,n,o=k.event.special,r=0;void 0!==(i=t[r]);r++)if(ot(i)){if(e=i[st.expando]){if(e.events)for(n in e.events)o[n]?k.event.remove(i,n):k.removeEvent(i,n,e.handle);i[st.expando]=void 0}i[at.expando]&&(i[at.expando]=void 0)}}}),k.fn.extend({detach:function(t){return Vt(this,t,!0)},remove:function(t){return Vt(this,t)},text:function(t){return Q(this,(function(t){return void 0===t?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Xt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||zt(this,t).appendChild(t)}))},prepend:function(){return Xt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=zt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(k.cleanData(Et(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return k.clone(this,t,e)}))},html:function(t){return Q(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Rt.test(t)&&!Mt[(Tt.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}
vendor: 2,857 bytes, line 11
11).nodeType&&(k.cleanData(Et(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Xt(this,arguments,(function(e){var i=this.parentNode;k.inArray(this,t)<0&&(k.cleanData(Et(this)),i&&i.replaceChild(e,this))}),t)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){k.fn[t]=function(t){for(var i,n=[],o=k(t),r=o.length-1,s=0;s<=r;s++)i=s===r?this:this.clone(!0),k(o[s])[e](i),h.apply(n,i.get());return this.pushStack(n)}}));var Yt=new RegExp("^("+dt+")(?!px)[a-z%]+$","i"),qt=/^--/,Kt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},$t=function(t,e,i){var n,o,r={};for(o in e)r[o]=t.style[o],t.style[o]=e[o];for(o in n=i.call(t),e)t.style[o]=r[o];return n},Zt=new RegExp(ut.join("|"),"i");function Jt(t,e,i){var n,o,r,s,a=qt.test(e),l=t.style;return(i=i||Kt(t))&&(s=i.getPropertyValue(e)||i[e],a&&s&&(s=s.replace(L,"$1")||void 0),""!==s||gt(t)||(s=k.style(t,e)),!m.pixelBoxStyles()&&Yt.test(s)&&Zt.test(e)&&(n=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=i.width,l.width=n,l.minWidth=o,l.maxWidth=r)),void 0!==s?s+"":s}function Qt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ft.appendChild(h).appendChild(c);var t=i.getComputedStyle(c);n="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),o=36===e(t.width),c.style.position="absolute",r=12===e(c.offsetWidth/3),ft.removeChild(h),c=null}}function e(t){return Math.round(parseFloat(t))}var n,o,r,s,a,l,h=x.createElement("div"),c=x.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,k.extend(m,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,e,n,o;return null==a&&(t=x.createElement("table"),e=x.createElement("tr"),n=x.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",ft.appendChild(t).appendChild(e).appendChild(n),o=i.getComputedStyle(e),a=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===e.offsetHeight,ft.removeChild(t)),a}}
vendor: 4,068 bytes, line 11
11))}();var te=["Webkit","Moz","ms"],ee=x.createElement("div").style,ie={};function ne(t){var e=k.cssProps[t]||ie[t];return e||(t in ee?t:ie[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=te.length;i--;)if((t=te[i]+e)in ee)return t}(t)||t)}var oe=/^(none|table(?!-c[ea]).+)/,re={position:"absolute",visibility:"hidden",display:"block"},se={letterSpacing:"0",fontWeight:"400"};function ae(t,e,i){var n=pt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function le(t,e,i,n,o,r){var s="width"===e?1:0,a=0,l=0,h=0;if(i===(n?"border":"content"))return 0;for(;s<4;s+=2)"margin"===i&&(h+=k.css(t,i+ut[s],!0,o)),n?("content"===i&&(l-=k.css(t,"padding"+ut[s],!0,o)),"margin"!==i&&(l-=k.css(t,"border"+ut[s]+"Width",!0,o))):(l+=k.css(t,"padding"+ut[s],!0,o),"padding"!==i?l+=k.css(t,"border"+ut[s]+"Width",!0,o):a+=k.css(t,"border"+ut[s]+"Width",!0,o));return!n&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-a-.5))||0),l+h}function he(t,e,i){var n=Kt(t),o=(!m.boxSizingReliable()||i)&&"border-box"===k.css(t,"boxSizing",!1,n),r=o,s=Jt(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(Yt.test(s)){if(!i)return s;s="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&A(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(t,"display",!1,n))&&t.getClientRects().length&&(o="border-box"===k.css(t,"boxSizing",!1,n),(r=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+le(t,e,i||(o?"border":"content"),r,n,s)+"px"}function ce(t,e,i,n,o){return new ce.prototype.init(t,e,i,n,o)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Jt(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,s,a=nt(e),l=qt.test(e),h=t.style;if(l||(e=ne(a)),s=k.cssHooks[e]||k.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(o=s.get(t,!1,n))?o:h[e];"string"===(r=typeof i)&&(o=pt.exec(i))&&o[1]&&(i=vt(t,e,o),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=o&&o[3]||(k.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,n){var o,r,s,a=nt(e);return qt.test(e)||(e=ne(a)),(s=k.cssHooks[e]||k.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=Jt(t,e,n)),"normal"===o&&e in se&&(o=se[e]),""===i||i?(r=parseFloat(o),!0===i||isFinite(r)?r||0:o):o}}),k.each(["height","width"],(function(t,e){k.cssHooks[e]={get:function(t,i,n){if(i)return!oe.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?he(t,e,n):$t(t,re,(function(){return he(t,e,n)}))},set:function(t,i,n){var o,r=Kt(t),s=!m.scrollboxSize()&&"absolute"===r.position,a=(s||n)&&"border-box"===k.css(t,"boxSizing",!1,r),l=n?le(t,e,n,a,r):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-le(t,e,"border",!1,r)-.5)),l&&(o=pt.exec(i))&&"px"!==(o[3]||"px")&&(t.style[e]=i,i=k.css(t,e)),ae(0,i,l)}}})),k.cssHooks.marginLeft=Qt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Jt(t,"marginLeft"))||t.getBoundingClientRect().left-$t(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(t,e){k.cssHooks[t+e]={expand:function(i){for(var n=0,o={},r="string"==typeof i?i.split(" "):[i];n<4;n++)o[t+ut[n]+e]=r[n]||r[n-2]||r[0];return o}},"margin"!==t&&(k.cssHooks[t+e].set=ae)})),k.fn.extend({css:function(t,e){return Q(this,(function(t,e,i){var n,o,r={},s=0;if(Array.isArray(e)){for(n=Kt(t),o=e.length;s<o;s++)r[e[s]]=k.css(t,e[s],!1,n);return r}return void 0!==i?k.style(t,e,i):k.css(t,e)}),t,e,arguments.length>1)}}
vendor: 4,118 bytes, line 11
11),k.Tween=ce,ce.prototype={constructor:ce,init:function(t,e,i,n,o,r){this.elem=t,this.prop=i,this.easing=o||k.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(k.cssNumber[i]?"":"px")},cur:function(){var t=ce.propHooks[this.prop];return t&&t.get?t.get(this):ce.propHooks._default.get(this)},run:function(t){var e,i=ce.propHooks[this.prop];return this.options.duration?this.pos=e=k.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ce.propHooks._default.set(this),this}},ce.prototype.init.prototype=ce.prototype,ce.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=k.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){k.fx.step[t.prop]?k.fx.step[t.prop](t):1!==t.elem.nodeType||!k.cssHooks[t.prop]&&null==t.elem.style[ne(t.prop)]?t.elem[t.prop]=t.now:k.style(t.elem,t.prop,t.now+t.unit)}}},ce.propHooks.scrollTop=ce.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},k.fx=ce.prototype.init,k.fx.step={};var de,pe,ue=/^(?:toggle|show|hide)$/,fe=/queueHooks$/;function ge(){pe&&(!1===x.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ge):i.setTimeout(ge,k.fx.interval),k.fx.tick())}function me(){return i.setTimeout((function(){de=void 0})),de=Date.now()}function ye(t,e){var i,n=0,o={height:t};for(e=e?1:0;n<4;n+=2-e)o["margin"+(i=ut[n])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function ve(t,e,i){for(var n,o=(xe.tweeners[e]||[]).concat(xe.tweeners["*"]),r=0,s=o.length;r<s;r++)if(n=o[r].call(i,e,t))return n}function xe(t,e,i){var n,o,r=0,s=xe.prefilters.length,a=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var e=de||me(),i=Math.max(0,h.startTime+h.duration-e),n=1-(i/h.duration||0),r=0,s=h.tweens.length;r<s;r++)h.tweens[r].run(n);return a.notifyWith(t,[h,n,i]),n<1&&s?i:(s||a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},i),originalProperties:e,originalOptions:i,startTime:de||me(),duration:i.duration,tweens:[],createTween:function(e,i){var n=k.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(n),n},stop:function(e){var i=0,n=e?h.tweens.length:0;if(o)return this;for(o=!0;i<n;i++)h.tweens[i].run(1);return e?(a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h,e])):a.rejectWith(t,[h,e]),this}}),c=h.props;for(!function(t,e){var i,n,o,r,s;for(i in t)if(o=e[n=nt(i)],r=t[i],Array.isArray(r)&&(o=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(s=k.cssHooks[n])&&"expand"in s)for(i in r=s.expand(r),delete t[n],r)i in t||(t[i]=r[i],e[i]=o);else e[n]=o}(c,h.opts.specialEasing);r<s;r++)if(n=xe.prefilters[r].call(h,t,c,h.opts))return y(n.stop)&&(k._queueHooks(h.elem,h.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,ve,h),y(h.opts.start)&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),k.fx.timer(k.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h}k.Animation=k.extend(xe,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return vt(i.elem,t,pt.exec(e),i),i}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(V);for(var i,n=0,o=t.length;n<o;n++)i=t[n],xe.tweeners[i]=xe.tweeners[i]||[],xe.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,o,r,s,a,l,h,c,d="width"in e||"height"in e,p=this,u={},f=t.style,g=t.nodeType&&yt(t),m=st.get(t,"fxshow");for(n in i.queue||(null==(s=k._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always((function(){p.always((function(){s.unqueued--,k.queue(t,"fx").length||s.empty.fire()}))}))),e)if(o=e[n],ue.test(o)){if(delete e[n],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||
vendor: 26,075 bytes, line 11
11!m||void 0===m[n])continue;g=!0}u[n]=m&&m[n]||k.style(t,n)}if((l=!k.isEmptyObject(e))||!k.isEmptyObject(u))for(n in d&&1===t.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(h=m&&m.display)&&(h=st.get(t,"display")),"none"===(c=k.css(t,"display"))&&(h?c=h:(wt([t],!0),h=t.style.display||h,c=k.css(t,"display"),wt([t]))),("inline"===c||"inline-block"===c&&null!=h)&&"none"===k.css(t,"float")&&(l||(p.done((function(){f.display=h})),null==h&&(c=f.display,h="none"===c?"":c)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",p.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,u)l||(m?"hidden"in m&&(g=m.hidden):m=st.access(t,"fxshow",{display:h}),r&&(m.hidden=!g),g&&wt([t],!0),p.done((function(){for(n in g||wt([t]),st.remove(t,"fxshow"),u)k.style(t,n,u[n])}))),l=ve(g?m[n]:0,n,p),n in m||(m[n]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?xe.prefilters.unshift(t):xe.prefilters.push(t)}}),k.speed=function(t,e,i){var n=t&&"object"==typeof t?k.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return k.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in k.fx.speeds?n.duration=k.fx.speeds[n.duration]:n.duration=k.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&k.dequeue(this,n.queue)},n},k.fn.extend({fadeTo:function(t,e,i,n){return this.filter(yt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=k.isEmptyObject(t),r=k.speed(e,i,n),s=function(){var e=xe(this,k.extend({},t),r);(o||st.get(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,o=null!=t&&t+"queueHooks",r=k.timers,s=st.get(this);if(o)s[o]&&s[o].stop&&n(s[o]);else for(o in s)s[o]&&s[o].stop&&fe.test(o)&&n(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(i),e=!1,r.splice(o,1));!e&&i||k.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,i=st.get(this),n=i[t+"queue"],o=i[t+"queueHooks"],r=k.timers,s=n?n.length:0;for(i.finish=!0,k.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<s;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish}))}}),k.each(["toggle","show","hide"],(function(t,e){var i=k.fn[e];k.fn[e]=function(t,n,o){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(ye(e,!0),t,n,o)}})),k.each({slideDown:ye("show"),slideUp:ye("hide"),slideToggle:ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){k.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}})),k.timers=[],k.fx.tick=function(){var t,e=0,i=k.timers;for(de=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||k.fx.stop(),de=void 0},k.fx.timer=function(t){k.timers.push(t),k.fx.start()},k.fx.interval=13,k.fx.start=function(){pe||(pe=!0,ge())},k.fx.stop=function(){pe=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(t,e){return t=k.fx&&k.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var o=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(o)}}))},function(){var t=x.createElement("input"),e=x.createElement("select").appendChild(x.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=x.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var be,we=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return Q(this,k.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){k.removeAttr(this,t)}))}}),k.extend({attr:function(t,e,i){var n,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?k.prop(t,e,i):(1===r&&k.isXMLDoc(t)||(o=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?be:void 0)),void 0!==i?null===i?void k.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:null==(n=k.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&A(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,o=e&&e.match(V);if(o&&1===t.nodeType)for(;i=o[n++];)t.removeAttribute(i)}}),be={set:function(t,e,i){return!1===e?k.removeAttr(t,i):t.setAttribute(i,i),i}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=we[e]||k.find.attr;we[e]=function(t,e,n){var o,r,s=e.toLowerCase();return n||(r=we[s],we[s]=o,o=null!=i(t,e,n)?s:null,we[s]=r),o}}));var Ce=/^(?:input|select|textarea|button)$/i,Se=/^(?:a|area)$/i;function ke(t){return(t.match(V)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function Ae(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(V)||[]}k.fn.extend({prop:function(t,e){return Q(this,k.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[k.propFix[t]||t]}))}}),k.extend({prop:function(t,e,i){var n,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&k.isXMLDoc(t)||(e=k.propFix[e]||e,o=k.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");return e?parseInt(e,10):Ce.test(t.nodeName)||Se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(k.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(t){var e,i,n,o,r,s;return y(t)?this.each((function(e){k(this).addClass(t.call(this,e,Te(this)))})):(e=Ae(t)).length?this.each((function(){if(n=Te(this),i=1===this.nodeType&&" "+ke(n)+" "){for(r=0;r<e.length;r++)o=e[r],i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=ke(i),n!==s&&this.setAttribute("class",s)}})):this},removeClass:function(t){var e,i,n,o,r,s;return y(t)?this.each((function(e){k(this).removeClass(t.call(this,e,Te(this)))})):arguments.length?(e=Ae(t)).length?this.each((function(){if(n=Te(this),i=1===this.nodeType&&" "+ke(n)+" "){for(r=0;r<e.length;r++)for(o=e[r];i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");s=ke(i),n!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var i,n,o,r,s=typeof t,a="string"===s||Array.isArray(t);return y(t)?this.each((function(i){k(this).toggleClass(t.call(this,i,Te(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(i=Ae(t),this.each((function(){if(a)for(r=k(this),o=0;o<i.length;o++)n=i[o],r.hasClass(n)?r.removeClass(n):r.addClass(n);else void 0!==t&&"boolean"!==s||((n=Te(this))&&st.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":st.get(this,"__className__")||""))})))},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+ke(Te(i))+" ").indexOf(e)>-1)return!0;return!1}});var Me=/\r/g;k.fn.extend({val:function(t){var e,i,n,o=this[0];return arguments.length?(n=y(t),this.each((function(i){var o;1===this.nodeType&&(null==(o=n?t.call(this,i,k(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(t){return null==t?"":t+""}))),(e=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:"string"==typeof(i=o.value)?i.replace(Me,""):null==i?"":i:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:ke(k.text(t))}},select:{get:function(t){var e,i,n,o=t.options,r=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?r+1:o.length;for(n=r<0?l:s?r:0;n<l;n++)if(((i=o[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!A(i.parentNode,"optgroup"))){if(e=k(i).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var i,n,o=t.options,r=k.makeArray(e),s=o.length;s--;)((n=o[s]).selected=k.inArray(k.valHooks.option.get(n),r)>-1)&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=k.inArray(k(t).val(),e)>-1}},m.checkOn||(k.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Ee=i.location,Pe={guid:Date.now()},Oe=/\?/;k.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Le=/^(?:focusinfocus|focusoutblur)$/,De=function(t){t.stopPropagation()};k.extend(k.event,{trigger:function(t,e,n,o){var r,s,a,l,h,c,d,p,f=[n||x],g=u.call(t,"type")?t.type:t,m=u.call(t,"namespace")?t.namespace.split("."):[];if(s=p=a=n=n||x,3!==n.nodeType&&8!==n.nodeType&&!Le.test(g+k.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),h=g.indexOf(":")<0&&"on"+g,(t=t[k.expando]?t:new k.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:k.makeArray(e,[t]),d=k.event.special[g]||{},o||!d.trigger||!1!==d.trigger.apply(n,e))){if(!o&&!d.noBubble&&!v(n)){for(l=d.delegateType||g,Le.test(l+g)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||x)&&f.push(a.defaultView||a.parentWindow||i)}for(r=0;(s=f[r++])&&!t.isPropagationStopped();)p=s,t.type=r>1?l:d.bindType||g,(c=(st.get(s,"events")||Object.create(null))[t.type]&&st.get(s,"handle"))&&c.apply(s,e),(c=h&&s[h])&&c.apply&&ot(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!ot(n)||h&&y(n[g])&&!v(n)&&((a=n[h])&&(n[h]=null),k.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,De),n[g](),t.isPropagationStopped()&&p.removeEventListener(g,De),k.event.triggered=void 0,a&&(n[h]=a)),t.result}},simulate:function(t,e,i){var n=k.extend(new k.Event,i,{type:t,isSimulated:!0});k.event.trigger(n,null,e)}}),k.fn.extend({trigger:function(t,e){return this.each((function(){k.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return k.event.trigger(t,e,i,!0)}});var je=/\[\]$/,Ne=/\r?\n/g,Ie=/^(?:submit|button|image|reset|file)$/i,Be=/^(?:input|select|textarea|keygen)/i;function Re(t,e,i,n){var o;if(Array.isArray(e))k.each(e,(function(e,o){i||je.test(t)?n(t,o):Re(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,i,n)}));else if(i||"object"!==C(e))n(t,e);else for(o in e)Re(t+"["+o+"]",e[o],i,n)}k.param=function(t,e){var i,n=[],o=function(t,e){var i=y(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t))k.each(t,(function(){o(this.name,this.value)}));else for(i in t)Re(i,t[i],e,o);return n.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&Be.test(this.nodeName)&&!Ie.test(t)&&(this.checked||!kt.test(t))})).map((function(t,e){var i=k(this).val();return null==i?null:Array.isArray(i)?k.map(i,(function(t){return{name:e.name,value:t.replace(Ne,"\r\n")}})):{name:e.name,value:i.replace(Ne,"\r\n")}})).get()}});var Fe=/%20/g,He=/#.*$/,ze=/([?&])_=[^&]*/,Ge=/^(.*?):[ \t]*([^\r\n]*)$/gm,_e=/^(?:GET|HEAD)$/,We=/^\/\//,Ue={},Xe={},Ve="*/".concat("*"),Ye=x.createElement("a");function qe(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,o=0,r=e.toLowerCase().match(V)||[];if(y(i))for(;n=r[o++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Ke(t,e,i,n){var o={},r=t===Xe;function s(a){var l;return o[a]=!0,k.each(t[a]||[],(function(t,a){var h=a(e,i,n);return"string"!=typeof h||r||o[h]?r?!(l=h):void 0:(e.dataTypes.unshift(h),s(h),!1)})),l}return s(e.dataTypes[0])||!o["*"]&&s("*")}function $e(t,e){var i,n,o=k.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&k.extend(!0,t,n),t}Ye.href=Ee.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ve,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?$e($e(t,k.ajaxSettings),e):$e(k.ajaxSettings,t)},ajaxPrefilter:qe(Ue),ajaxTransport:qe(Xe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o,r,s,a,l,h,c,d,p,u=k.ajaxSetup({},e),f=u.context||u,g=u.context&&(f.nodeType||f.jquery)?k(f):k.event,m=k.Deferred(),y=k.Callbacks("once memory"),v=u.statusCode||{},b={},w={},C="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(h){if(!s)for(s={};e=Ge.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return h?r:null},setRequestHeader:function(t,e){return null==h&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==h&&(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(h)S.always(t[S.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||C;return n&&n.abort(e),T(0,e),this}};if(m.promise(S),u.url=((t||u.url||Ee.href)+"").replace(We,Ee.protocol+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(V)||[""],null==u.crossDomain){l=x.createElement("a");try{l.href=u.url,l.href=l.href,u.crossDomain=Ye.protocol+"//"+Ye.host!=l.protocol+"//"+l.host}catch(t){u.crossDomain=!0}}if(u.data&&u.processData&&"string"!=typeof u.data&&(u.data=k.param(u.data,u.traditional)),Ke(Ue,u,e,S),h)return S;for(d in(c=k.event&&u.global)&&0==k.active++&&k.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!_e.test(u.type),o=u.url.replace(He,""),u.hasContent?u.data&&u.processData&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&(u.data=u.data.replace(Fe,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||"string"==typeof u.data)&&(o+=(Oe.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(o=o.replace(ze,"$1"),p=(Oe.test(o)?"&":"?")+"_="+Pe.guid+++p),u.url=o+p),u.ifModified&&(k.lastModified[o]&&S.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&S.setRequestHeader("If-None-Match",k.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||e.contentType)&&S.setRequestHeader("Content-Type",u.contentType),S.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+Ve+"; q=0.01":""):u.accepts["*"]),u.headers)S.setRequestHeader(d,u.headers[d]);if(u.beforeSend&&(!1===u.beforeSend.call(f,S,u)||h))return S.abort();if(C="abort",y.add(u.complete),S.done(u.success),S.fail(u.error),n=Ke(Xe,u,e,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,u]),h)return S;u.async&&u.timeout>0&&(a=i.setTimeout((function(){S.abort("timeout")}),u.timeout));try{h=!1,n.send(b,T)}catch(t){if(h)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,e,s,l){var d,p,x,b,w,C=e;h||(h=!0,a&&i.clearTimeout(a),n=void 0,r=l||"",S.readyState=t>0?4:0,d=t>=200&&t<300||304===t,s&&(b=function(t,e,i){for(var n,o,r,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in a)if(a[o]&&a[o].test(n)){l.unshift(o);break}if(l[0]in i)r=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),i[r]}(u,S,s)),!d&&k.inArray("script",u.dataTypes)>-1&&k.inArray("json",u.dataTypes)<0&&(u.converters["text script"]=function(){}),b=function(t,e,i,n){var o,r,s,a,l,h={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)h[s.toLowerCase()]=t.converters[s];for(r=c.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=h[l+" "+r]||h["* "+r]))for(o in h)if((a=o.split(" "))[1]===r&&(s=h[l+" "+a[0]]||h["* "+a[0]])){!0===s?s=h[o]:!0!==h[o]&&(r=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(u,b,S,d),d?(u.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(k.etag[o]=w)),204===t||"HEAD"===u.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,d=!(x=b.error))):(x=C,!t&&C||(C="error",t<0&&(t=0))),S.status=t,S.statusText=(e||C)+"",d?m.resolveWith(f,[p,C,S]):m.rejectWith(f,[S,C,x]),S.statusCode(v),v=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[S,u,d?p:x]),y.fireWith(f,[S,C]),c&&(g.trigger("ajaxComplete",[S,u]),--k.active||k.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,i){return k.get(t,e,i,"json")},getScript:function(t,e){return k.get(t,void 0,e,"script")}}),k.each(["get","post"],(function(t,e){k[e]=function(t,i,n,o){return y(i)&&(o=o||n,n=i,i=void 0),k.ajax(k.extend({url:t,type:e,dataType:o,data:i,success:n},k.isPlainObject(t)&&t))}})),k.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),k._evalUrl=function(t,e,i){return k.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){k.globalEval(t,e,i)}})},k.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=k(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return y(t)?this.each((function(e){k(this).wrapInner(t.call(this,e))})):this.each((function(){var e=k(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=y(t);return this.each((function(i){k(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(t){return!k.expr.pseudos.visible(t)},k.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},Je=k.ajaxSettings.xhr();m.cors=!!Je&&"withCredentials"in Je,m.ajax=Je=!!Je,k.ajaxTransport((function(t){var e,n;if(m.cors||Je&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Ze[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),k.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return k.globalEval(t),t}}}),k.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),k.ajaxTransport("script",(function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(n,o){e=k("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),x.head.appendChild(e[0])},abort:function(){i&&i()}}}));var Qe,ti=[],ei=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ti.pop()||k.expando+"_"+Pe.guid++;return this[t]=!0,t}}),k.ajaxPrefilter("json jsonp",(function(t,e,n){var o,r,s,a=!1!==t.jsonp&&(ei.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ei.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(ei,"$1"+o):!1!==t.jsonp&&(t.url+=(Oe.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||k.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=i[o],i[o]=function(){s=arguments},n.always((function(){void 0===r?k(i).removeProp(o):i[o]=r,t[o]&&(t.jsonpCallback=e.jsonpCallback,ti.push(o)),s&&y(r)&&r(s[0]),s=r=void 0})),"script"})),m.createHTMLDocument=((Qe=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Qe.childNodes.length),k.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(m.createHTMLDocument?((n=(e=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,e.head.appendChild(n)):e=x),r=!i&&[],(o=H.exec(t))?[e.createElement(o[1])]:(o=Lt([t],e,r),r&&r.length&&k(r).remove(),k.merge([],o.childNodes)));var n,o,r},k.fn.load=function(t,e,i){var n,o,r,s=this,a=t.indexOf(" ");return a>-1&&(n=ke(t.slice(a)),t=t.slice(0,a)),y(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&k.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done((function(t){r=arguments,s.html(n?k("<div>").append(k.parseHTML(t)).find(n):t)})).always(i&&function(t,e){s.each((function(){i.apply(this,r||[t.responseText,e,t])}))}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,(function(e){return t===e.elem})).length},k.offset={setOffset:function(t,e,i){var n,o,r,s,a,l,h=k.css(t,"position"),c=k(t),d={};"static"===h&&(t.style.position="relative"),a=c.offset(),r=k.css(t,"top"),l=k.css(t,"left"),("absolute"===h||"fixed"===h)&&(r+l).indexOf("auto")>-1?(s=(n=c.position()).top,o=n.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),y(e)&&(e=e.call(t,i,k.extend({},a))),null!=e.top&&(d.top=e.top-a.top+s),null!=e.left&&(d.left=e.left-a.left+o),"using"in e?e.using.call(t,d):c.css(d)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){k.offset.setOffset(this,t,e)}));var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===k.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===k.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=k(t).offset()).top+=k.css(t,"borderTopWidth",!0),o.left+=k.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-k.css(n,"marginTop",!0),left:e.left-o.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===k.css(t,"position");)t=t.offsetParent;return t||ft}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;k.fn[t]=function(n){return Q(this,(function(t,n,o){var r;if(v(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===o)return r?r[e]:t[n];r?r.scrollTo(i?r.pageXOffset:o,i?o:r.pageYOffset):t[n]=o}),t,n,arguments.length)}})),k.each(["top","left"],(function(t,e){k.cssHooks[e]=Qt(m.pixelPosition,(function(t,i){if(i)return i=Jt(t,e),Yt.test(i)?k(t).position()[e]+"px":i}))})),k.each({Height:"height",Width:"width"},(function(t,e){k.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){k.fn[n]=function(o,r){var s=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===r?"margin":"border");return Q(this,(function(e,i,o){var r;return v(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===o?k.css(e,i,a):k.style(e,i,o,a)}),e,s?o:void 0,s)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){k.fn[e]=function(t){return this.on(e,t)}}
11)),k.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){k.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}));var ii=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;k.proxy=function(t,e){var i,n,o;if("string"==typeof e&&(i=t[e],e=t,t=i),y(t))return n=a.call(arguments,2),(o=function(){return t.apply(e||this,n.concat(a.call(arguments)))}).guid=t.guid=t.guid||k.guid++,o},k.holdReady=function(t){t?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=A,k.isFunction=y,k.isWindow=v,k.camelCase=nt,k.type=C,k.now=Date.now,k.isNumeric=function(t){var e=k.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},k.trim=function(t){return null==t?"":(t+"").replace(ii,"$1")},void 0===(n=function(){return k}.apply(e,[]))||(t.exports=n);var ni=i.jQuery,oi=i.$;return k.noConflict=function(t){return i.$===k&&(i.$=oi),t&&i.jQuery===k&&(i.jQuery=ni),k},void 0===o&&(i.jQuery=i.$=k),k}))},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,i){var n=i(14);function o(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,n(o.key),o)}}t.exports=function(t,e,i){return e&&o(t.prototype,e),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,i){"use strict";var n;!function(o,r){t.exports?(r.default=r,t.exports=o.document?r(o):r):void 0===(n=function(){return r(o)}.call(e,i,e,t))||(t.exports=n)}("undefined"!=typeof window?window:this,(function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}var i={};return e(i,"Core/Globals.js",[],(function(){var e,i=void 0!==t?t:"undefined"!=typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.3.3",t.win=i,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>
11parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,i),t.win.removeEventListener("testPassive",t.noop,i))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e})),e(i,"Core/Utilities.js",[i["Core/Globals.js"]],(function(t){function e(i,n,o,r){var s=n?"Highcharts error":"Highcharts warning";32===i&&(i=s+": Deprecated member");var a=l(i),h=a?s+" #"+i+": www.highcharts.com/errors/"+i+"/":i.toString();if(void 0!==r){var c="";a&&(h+="?"),g(r,(function(t,e){c+="\n - "+e+": "+t,a&&(h+=encodeURI(e)+"="+encodeURI(t))})),h+=c}y(t,"displayError",{chart:o,code:i,message:h,params:r},(function(){if(n)throw Error(h);b.console&&-1===e.messages.indexOf(h)&&console.warn(h)})),e.messages.push(h)}function i(t,e){return parseInt(t,e||10)}function n(t){return"string"==typeof t}function o(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function r(t,e){return!(!t||"object"!=typeof t||e&&o(t))}function s(t){return r(t)&&"number"==typeof t.nodeType}function a(t){var e=t&&t.constructor;return!(!r(t,!0)||s(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function h(t){return null!=t}function c(t,e,i){var o;return n(e)?h(i)?t.setAttribute(e,i):t&&t.getAttribute&&((o=t.getAttribute(e))||"class"!==e||(o=t.getAttribute(e+"Name"))):g(e,(function(e,i){h(e)?t.setAttribute(i,e):t.removeAttribute(i)})),o}function d(t,e){var i;for(i in t||(t={}),e)t[i]=e[i];return t}function p(){for(var t=arguments,e=t.length,i=0;i<e;i++){var n=t[i];if(null!=n)return n}}function u(e,i){t.isMS&&!t.svg&&i&&void 0!==i.opacity&&(i.filter="alpha(opacity="+100*i.opacity+")"),d(e.style,i)}function f(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function g(t,e,i){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(i||t[n],t[n],n,t)}function m(e,i,n){function o(i,n){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,i,n,!1)}function r(t){var n;if(e.nodeName){if(i){var r={};r[i]=!0}else r=t;g(r,(function(e,i){if(t[i])for(n=t[i].length;n--;)o(i,t[i][n].fn)}))}}var s="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(s,"hcEvents")){var a=s.hcEvents;i?(s=a[i]||[],n?(a[i]=s.filter((function(t){return n!==t.fn})),o(i,n)):(r(a),a[i]=[])):(r(a),delete s.hcEvents)}}function y(e,i,n,o){if(n=n||{},x.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var r=x.createEvent("Events");r.initEvent(i,!0,!0),n=d(r,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(i,n)}else if(e.hcEvents){n.target||d(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:i}),r=[];for(var s=e,a=!1;s.hcEvents;)Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents[i]&&(r.length&&(a=!0),r.unshift.apply(r,s.hcEvents[i])),s=Object.getPrototypeOf(s);a&&r.sort((function(t,e){return t.order-e.order})),r.forEach((function(t){!1===t.fn.call(e,n)&&n.preventDefault()}))}o&&!n.defaultPrevented&&o.call(e,n)}var v=t.charts,x=t.doc,b=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var w=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var i,n=t.length;for(i=0;i<n;i++)if(e(t[i],i))return t[i]};g({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(i,n){t[n]=function(t){var o;return e(32,!1,void 0,((o={})["Highcharts."+n]="use Array."+i,o)),Array.prototype[i].apply(t,[].slice.call(arguments,1))}}));var C,S=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(C?"":t)+e++}}();return b.jQuery&&(b.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):v[c(this[0],"data-highcharts-chart")]}),w={addEvent:function(e,i,n,o){void 0===o&&(o={});var r="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={}),r=r.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var s=e.addEventListener||t.addEventListenerPolyfill;return s&&s.call(e,i,n,!!t.supportsPassiveEvents&&{passive:void 0===o.passive?-1!==i.indexOf("touch"):o.passive,capture:!1}),r[i]||(r[i]=[]),r[i].push({fn:n,order:"number"==typeof o.order?o.order:1/0}),r[i].sort((function(t,e){return t.order-e.order})),function(){m(e,i,n)}},arrayMax:function(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}
11,attr:c,clamp:function(t,e,i){return t>e?t<i?t:i:e},cleanRecursively:function t(e,i){var n={};return g(e,(function(o,s){r(e[s],!0)&&!e.nodeType&&i[s]?(o=t(e[s],i[s]),Object.keys(o).length&&(n[s]=o)):(r(e[s])||e[s]!==i[s])&&(n[s]=e[s])})),n},clearTimeout:function(t){h(t)&&clearTimeout(t)},correctFloat:f,createElement:function(t,e,i,n,o){return t=x.createElement(t),e&&d(t,e),o&&u(t,{padding:"0",border:"none",margin:"0"}),i&&u(t,i),n&&n.appendChild(t),t},css:u,defined:h,destroyObjectProperties:function(t,e){g(t,(function(i,n){i&&i!==e&&i.destroy&&i.destroy(),delete t[n]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}},error:e,extend:d,extendClass:function(t,e){var i=function(){};return d(i.prototype=new t,e),i},find:w,fireEvent:y,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&h(e);){var i=t.shift();if(void 0===i||"__proto__"===i)return;
11if(!h(e=e[i])||"function"==typeof e||"number"==typeof e.nodeType||e===b)return}return e},getStyle:function n(o,r,s){var a=t.getStyle||n;if("width"===r)return r=Math.min(o.offsetWidth,o.scrollWidth),(s=o.getBoundingClientRect&&o.getBoundingClientRect().width)<r&&s>=r-1&&(r=Math.floor(s)),Math.max(0,r-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0));if("height"===r)return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));if(b.getComputedStyle||e(27,!0),o=b.getComputedStyle(o,void 0)){var l=o.getPropertyValue(r);p(s,"opacity"!==r)&&(l=i(l))}return l},inArray:function(t,i,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,n)},isArray:o,isClass:a,isDOMElement:s,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:r,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},n=function(t,e){return"object"!=typeof t&&(t={}),g(e,(function(i,o){"__proto__"!==o&&"constructor"!==o&&(!r(i,!0)||a(i)||s(i)?t[o]=e[o]:t[o]=n(t[o]||{},i))})),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;t<o;t++)i=n(i,e[t]);return i},normalizeTickInterval:function(t,e,i,n,o){var r=t,s=t/(i=p(i,1));for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===i?e=e.filter((function(t){return 0==t%1})):.1>=i&&(e=[1/i]))),n=0;n<e.length&&(r=e[n],!(o&&r*i>=t||!o&&s<=(e[n]+(e[n+1]||e[n]))/2));n++);return f(r*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(b.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(b.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:p,pInt:i,relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:m,splat:function(t){return o(t)?t:[t]},stableSort:function(t,e){var i,n,o=t.length;for(n=0;n<o;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(i=e(t,n))?t.safeI-n.safeI:i})),n=0;n<o;n++)delete t[n].safeI},syncTimeout:function(t,e,i){return 0<e?setTimeout(t,e,i):(t.call(0,i),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:S,useSerialIds:function(t){return C=p(t,C)},wrap:function(t,e,i){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,o=this;return o.proceed=function(){n.apply(o,arguments.length?arguments:e)},t.unshift(n),t=i.apply(this,t),o.proceed=null,t}}}})),e(i,"Core/Chart/ChartDefaults.js",[],(function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(i,"Core/Color/Color.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.isNumber,n=e.merge,o=e.pInt;return e=function(){function e(i){this.rgba=[NaN,NaN,NaN,NaN],this.input=i;var n=t.Color;return n&&n!==e?new n(i):this instanceof e?void this.init(i):new e(i)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var i;if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var n=t.length,o=parseInt(t.substr(1),16);7===n?i=[(16711680&o)>>16,(65280&o)>>8,255&o,1]:4===n&&(i=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])}if(!i)for(o=e.parsers.length;o--&&!i;){var r=e.parsers[o];(n=r.regex.exec(t))&&(i=r.parse(n))}}i&&(this.rgba=i)},e.prototype.get=function(t){var e=this.input,o=this.rgba;if("object"==typeof e&&void 0!==this.stops){var r=n(e);return r.stops=[].slice.call(r.stops),this.stops.forEach((function(e,i){r.stops[i]=[r.stops[i][0],e.get(t)]})),r}return o&&i(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?""+o[3]:"rgba("+o.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(var n=0;3>n;n++)e[n]+=o(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,o=t.rgba;return i(n[0])&&i(o[0])?((t=1!==o[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(o[0]+(n[0]-o[0])*(1-e))+","+Math.round(o[1]+(n[1]-o[1])*(1-e))+","+Math.round(o[2]+(n[2]-o[2])*(1-e))+(t?","+(o[3]+(n[3]-o[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/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*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],e.None=new e(""),e}()})),e(i,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(i,"Core/Time.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.win,n=e.defined,o=e.error,r=e.extend,s=e.isObject,a=e.merge,l=e.objectEach,h=e.pad,c=e.pick,d=e.splat,p=e.timeUnits,u=t.isSafari&&i.Intl&&i.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&i.Intl&&!i.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=i.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var i=e.getTime(),n=i-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(i),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()}
11,e.prototype.set=function(t,e,i){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](i);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](i),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||u&&"FullYear"===t?e["setUTC"+t](i):e["set"+t](i)},e.prototype.update=function(t){var e=c(t&&t.useUTC,!0);this.options=t=a(!0,this.options||{},t),this.Date=t.Date||i.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,i,n,o,r){if(this.useUTC){var s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s);s+=a;var l=this.getTimezoneOffset(s);a!==l?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||f||(s-=36e5)}else s=new this.Date(t,e,c(i,1),c(n,0),c(o,0),c(r,0)).getTime();return s},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.getTimezoneOffset,r=e.moment||i.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(r)return function(t){return 6e4*-r.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,i,o){if(!n(i)||isNaN(i))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");var s=this,a=new this.Date(i),d=this.get("Hours",a),p=this.get("Day",a),u=this.get("Date",a),f=this.get("Month",a),g=this.get("FullYear",a),m=t.defaultOptions.lang,y=m&&m.weekdays,v=m&&m.shortWeekdays;return a=r({a:v?v[p]:y[p].substr(0,3),A:y[p],d:h(u),e:h(u,2," "),w:p,b:m.shortMonths[f],B:m.months[f],m:h(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:h(d),k:d,I:h(d%12||12),l:d%12||12,M:h(this.get("Minutes",a)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:h(a.getSeconds()),L:h(Math.floor(i%1e3),3)},t.dateFormats),l(a,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"==typeof t?t.call(s,i):t)})),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return s(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,i,o){var s,a=this,l=[],h={},d=new a.Date(e),u=t.unitRange,f=t.count||1;if(o=c(o,1),n(e)){if(a.set("Milliseconds",d,u>=p.second?0:f*Math.floor(a.get("Milliseconds",d)/f)),u>=p.second&&a.set("Seconds",d,u>=p.minute?0:f*Math.floor(a.get("Seconds",d)/f)),u>=p.minute&&a.set("Minutes",d,u>=p.hour?0:f*Math.floor(a.get("Minutes",d)/f)),u>=p.hour&&a.set("Hours",d,u>=p.day?0:f*Math.floor(a.get("Hours",d)/f)),u>=p.day&&a.set("Date",d,u>=p.month?1:Math.max(1,f*Math.floor(a.get("Date",d)/f))),u>=p.month){a.set("Month",d,u>=p.year?0:f*Math.floor(a.get("Month",d)/f));var g=a.get("FullYear",d)}u>=p.year&&a.set("FullYear",d,g-g%f),u===p.week&&(g=a.get("Day",d),a.set("Date",d,a.get("Date",d)-g+o+(g<o?-7:0))),g=a.get("FullYear",d),o=a.get("Month",d);var m=a.get("Date",d),y=a.get("Hours",d);for(e=d.getTime(),!a.variableTimezone&&a.useUTC||!n(i)||(s=i-e>4*p.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=d.getTime(),d=1;e<i;)l.push(e),e=u===p.year?a.makeTime(g+d*f,0):u===p.month?a.makeTime(g,o+d*f):!s||u!==p.day&&u!==p.week?s&&u===p.hour&&1<f?a.makeTime(g,o,m,y+d*f):e+u*f:a.makeTime(g,o,m+d*f*(u===p.day?1:7)),d++;l.push(e),u<=p.hour&&1e4>l.length&&l.forEach((function(t){0==t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(h[t]="day")}))}return l.info=r(t,{higherRanks:h,totalRange:u*f}),l},e.prototype.getDateFormat=function(t,e,i,n){var o=this.dateFormat("%m-%d %H:%M:%S.%L",e),r={millisecond:15,second:12,minute:9,hour:6,day:3},s="millisecond";for(a in p){if(t===p.week&&+this.dateFormat("%w",e)===i&&"00:00:00.000"===o.substr(6)){var a="week";break}if(p[a]>t){a=s;break}if(r[a]&&o.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(s=a)}if(a)var l=this.resolveDTLFormat(n[a]).main;return l},e}()})),e(i,"Core/DefaultOptions.js",[i["Core/Chart/ChartDefaults.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palettes.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,
11i,n,o,r){e=e.parse;var s=r.merge,a={colors:n.colors,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:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:i.svg,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"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};a.chart.styledMode=!1;var l=new o(s(a.global,a.time));return t={defaultOptions:a,defaultTime:l,getOptions:function(){return a},setOptions:function(t){return s(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(s(a.global,a.time,t.global,t.time)):i.time=l),a}}})),e(i,"Core/Animation/Fx.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=t.parse,o=e.win,r=i.isNumber,s=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,n=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var o=0;o<t.length;o++){for(var s=e[o],a=t[o],l=[],h=0;h<a.length;h++){var c=s[h],d=a[h];r(c)&&r(d)&&("A"!==a[0]||4!==h&&5!==h)?l[h]=c+i*(d-c):l[h]=d}n.push(l)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,i=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,i,null,!0):t.style[e]=i+this.unit,n&&n.call(t,i,this)},t.prototype.run=function(e,i,n){var r=this,s=r.options,a=function(t){return!a.stopped&&r.step(t)},l=o.requestAnimationFrame||function(t){setTimeout(t,13)},h=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(h)};e!==i||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=i,this.unit=n,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.timers.push(a)&&l(h)):(delete s.curAnim[this.prop],s.complete&&0===Object.keys(s.
11curAnim).length&&s.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,i=this.options,n=this.elem,o=i.complete,r=i.duration,a=i.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=r+this.startTime){this.now=this.end,this.pos=1,this.update();var l=a[this.prop]=!0;s(a,(function(t){!0!==t&&(l=!1)})),l&&o&&o.call(n),t=!1}else this.pos=i.easing((e-this.startTime)/r),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function n(t,e){for(;t.length<p;){var i=t[0],n=e[p-t.length];n&&"M"===i[0]&&(t[0]="C"===n[0]?["C",i[1],i[2],i[1],i[2],i[1],i[2]]:["L",i[1],i[2]]),t.unshift(i),l&&(i=t.pop(),t.push(t[t.length-1],i))}}function o(t,e){for(;t.length<p;)if("C"===(e=t[Math.floor(t.length/h)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var i=t[Math.floor(t.length/h)].slice();t.splice(t.length/2,0,e,i)}else t.push(e)}var s=t.startX,a=t.endX;i=i.slice();var l=t.isArea,h=l?2:1;if(!(e=e&&e.slice()))return[i,i];if(s&&a&&a.length){for(t=0;t<s.length;t++){if(s[t]===a[0]){var c=t;break}if(s[0]===a[a.length-s.length+t]){c=t;var d=!0;break}if(s[s.length-1]===a[a.length-s.length+t]){c=s.length-t;break}}void 0===c&&(e=[])}if(e.length&&r(c)){var p=i.length+c*h;d?(n(e,i),o(i,e)):(n(i,e),o(e,i))}return[e,i]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(i,"Core/Animation/AnimationUtilities.js",[i["Core/Animation/Fx.js"],i["Core/Utilities.js"]],(function(t,e){function i(t){return l(t)?h({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,i){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||i&&i!==t.timers[n].prop||(t.timers[n].stopped=!0)}var o=e.defined,r=e.getStyle,s=e.isArray,a=e.isNumber,l=e.isObject,h=e.merge,c=e.objectEach,d=e.pick;return{animate:function(e,i,o){var d,p,u,f="";if(!l(o)){var g=arguments;o={duration:g[2],easing:g[3],complete:g[4]}}a(o.duration)||(o.duration=400),o.easing="function"==typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=h(i),c(i,(function(a,l){n(e,l),u=new t(e,o,l),p=void 0,"d"===l&&s(i.d)?(u.paths=u.initPath(e,e.pathArray,i.d),u.toD=i.d,d=0,p=1):e.attr?d=e.attr(l):(d=parseFloat(r(e,l))||0,"opacity"!==l&&(f="px")),p||(p=a),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),u.run(d,p,f)}))},animObject:i,getDeferredAnimation:function(t,e,n){var r=i(e),s=0,a=0;return(n?[n]:t.series).forEach((function(t){t=i(t.options.animation),s=e&&o(e.defer)?r.defer:Math.max(s,t.duration+t.defer),a=Math.min(r.duration,t.duration)})),t.renderer.forExport&&(s=0),{defer:Math.max(0,s-a),duration:Math.min(s,a)}},setAnimation:function(t,e){e.renderer.globalAnimation=d(t,e.options.chart.animation,!0)},stop:n}})),e(i,"Core/Renderer/HTML/AST.js",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.SVG_NS,n=e.attr,o=e.createElement,r=e.error,s=e.isFunction,a=e.isString,l=e.objectEach,h=e.splat,c=(e=t.win.trustedTypes)&&s(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),d=c?c.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(d,"text/html")}catch(t){p=!1}return s=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return l(t,(function(i,n){var o=!0;-1===e.allowedAttributes.indexOf(n)&&(o=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(o=a(i)&&e.allowedReferences.some((function(t){return 0===i.indexOf(t)}))),o||(r("Highcharts warning: Invalid attribute '"+n+"' in config"),delete t[n])})),t},e.setElementHTML=function(t,i){t.innerHTML=e.emptyHTML,i&&new e(i).addToDOM(t)},e.prototype.addToDOM=function(o){return function o(s,a){var c;return h(s).forEach((function(s){var h=s.tagName,d=s.textContent?t.doc.createTextNode(s.textContent):void 0;if(h)if("#text"===h)var p=d;else if(-1!==e.allowedTags.indexOf(h)){h=t.doc.createElementNS("svg"===h?i:a.namespaceURI||i,h);var u=s.attributes||{};l(s,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(u[e]=t)})),n(h,e.filterUserAttributes(u)),d&&h.appendChild(d),o(s.children||[],h),p=h}else r("Highcharts warning: Invalid tagName "+h+" in config");p&&a.appendChild(p),c=p})),c}(this.nodes,o)},e.prototype.parseMarkup=function(t){var e=[];
11if(t=t.trim(),p)t=(new DOMParser).parseFromString(c?c.createHTML(t):t,"text/html");else{var i=o("div");i.innerHTML=t,t={body:i}}var n=function(t,e){var i=t.nodeName.toLowerCase(),o={tagName:i};if("#text"===i&&(o.textContent=t.textContent||""),i=t.attributes){var r={};[].forEach.call(i,(function(t){r[t.name]=t.value})),o.attributes=r}if(t.childNodes.length){var s=[];[].forEach.call(t.childNodes,(function(t){n(t,s)})),s.length&&(o.children=s)}e.push(o)};return[].forEach.call(t.body.childNodes,(function(t){return n(t,e)})),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=d,e}()})),e(i,"Core/FormatUtilities.js",[i["Core/DefaultOptions.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e,i,o){t=+t||0,e=+e;var r=n.lang,h=(t.toString().split(".")[1]||"").split("e")[0].length,c=t.toString().split("e"),d=e;if(-1===e)e=Math.min(h,20);else if(s(e)){if(e&&c[1]&&0>c[1]){var p=e+ +c[1];0<=p?(c[0]=(+c[0]).toExponential(p).split("e")[0],e=p):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;p=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e);var u=3<(h=String(l(p))).length?h.length%3:0;return i=a(i,r.decimalPoint),o=a(o,r.thousandsSep),t=(0>t?"-":"")+(u?h.substr(0,u)+o:""),t=0>+c[1]&&!d?"0":t+h.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=i+p.slice(-e)),c[1]&&0!=+t&&(t+="e"+c[1]),t}var n=t.defaultOptions,o=t.defaultTime,r=e.getNestedProperty,s=e.isNumber,a=e.pick,l=e.pInt;return{dateFormat:function(t,e,i){return o.dateFormat(t,e,i)},format:function(t,e,s){var a="{",l=!1,h=/f$/,c=/\.([0-9])/,d=n.lang,p=s&&s.time||o;s=s&&s.numberFormatter||i;for(var u=[];t;){var f=t.indexOf(a);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),a=r(g.shift()||"",e),g.length&&"number"==typeof a)if(g=g.join(":"),h.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==a&&(a=s(a,m,d.decimalPoint,-1<g.indexOf(",")?d.thousandsSep:""))}else a=p.dateFormat(g,a);u.push(a)}else u.push(g);t=t.slice(f+1),a=(l=!l)?"}":"{"}return u.push(t),u.join("")},numberFormat:i}})),e(i,"Core/Renderer/RendererUtilities.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.clamp,n=t.pick,o=t.stableSort;return function(t){t.distribute=function t(e,r,s){var a,l=e,h=l.reducedLen||r,c=function(t,e){return(e.rank||0)-(t.rank||0)},d=function(t,e){return t.target-e.target},p=!0,u=[],f=0;for(a=e.length;a--;)f+=e[a].size;if(f>h){for(o(e,c),f=a=0;f<=h;)f+=e[a].size,a++;u=e.splice(a-1,e.length)}for(o(e,d),e=e.map((function(t){return{size:t.size,targets:[t.target],align:n(t.align,.5)}}));p;){for(a=e.length;a--;)h=e[a],c=(Math.min.apply(0,h.targets)+Math.max.apply(0,h.targets))/2,h.pos=i(c-h.size*h.align,0,r-h.size);for(a=e.length,p=!1;a--;)0<a&&e[a-1].pos+e[a-1].size>e[a].pos&&(e[a-1].size+=e[a].size,e[a-1].targets=e[a-1].targets.concat(e[a].targets),e[a-1].align=.5,e[a-1].pos+e[a-1].size>r&&(e[a-1].pos=r-e[a-1].size),e.splice(a,1),p=!0)}return l.push.apply(l,u),a=0,e.some((function(e){var i=0;return(e.targets||[]).some((function(){return l[a].pos=e.pos+i,void 0!==s&&Math.abs(l[a].pos-l[a].target)>s?(l.slice(0,a+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||r)-.1*r,l.reducedLen>.1*r&&t(l,r,s),!0):(i+=l[a].size,a++,!1)}))})),o(l,d),l}}(e||(e={})),e})),e(i,"Core/Renderer/SVG/SVGElement.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,
11i,n,o){var r=t.animate,s=t.animObject,a=t.stop,l=n.deg2rad,h=n.doc,c=n.noop,d=n.svg,p=n.SVG_NS,u=n.win,f=o.addEvent,g=o.attr,m=o.createElement,y=o.css,v=o.defined,x=o.erase,b=o.extend,w=o.fireEvent,C=o.isArray,S=o.isFunction,k=o.isNumber,T=o.isString,A=o.merge,M=o.objectEach,E=o.pick,P=o.pInt,O=o.syncTimeout,L=o.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=E(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,i=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(i),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var i=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===i.indexOf(e)&&t.push(e),t}),i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,i){var n,o,r,s={},a=this.renderer,l=a.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!i||T(i))&&(this.alignTo=n=i||"renderer",x(l,this),l.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),i=E(i,a[n],"scrollablePlotBox"===n?a.plotBox:void 0,a),n=t.align;var h=t.verticalAlign;return a=(i.x||0)+(t.x||0),l=(i.y||0)+(t.y||0),"right"===n?o=1:"center"===n&&(o=2),o&&(a+=(i.width-(t.width||0))/o),s[e?"translateX":"x"]=Math.round(a),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(l+=(i.height-(t.height||0))/r),s[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,i){var n=this,o=s(E(e,this.renderer.globalAnimation,!0));return e=o.defer,E(h.hidden,h.msHidden,h.webkitHidden,!1)&&(o.duration=0),0!==o.duration?(i&&(o.complete=i),O((function(){n.element&&r(n,t,o)}),e)):(this.attr(t,void 0,i),M(t,(function(t,e){o.step&&o.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,i){return 2*Number(e)+i})),this.removeTextOutline();var o=h.createElementNS(p,"tspan");g(o,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),o.appendChild(e)}));var r=h.createElementNS(p,"tspan");r.textContent="​",["x","y"].forEach((function(t){var i=e.getAttribute(t);i&&r.setAttribute(t,i)})),o.appendChild(r),e.insertBefore(o,e.firstChild)}},t.prototype.attr=function(t,e,i,n){var o,r,s,l=this.element,h=this.symbolCustomAttribs,c=this;if("string"==typeof t&&void 0!==e){var d=t;(t={})[d]=e}return"string"==typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(M(t,(function(e,i){r=!1,n||a(this,i),this.symbolName&&-1!==h.indexOf(i)&&(o||(this.symbolAttr(t),o=!0),r=!0),!this.rotation||"x"!==i&&"y"!==i||(this.doTransform=!0),r||((s=this[i+"Setter"]||this._defaultSetter).call(this,e,i,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(i)&&this.updateShadows(i,e,s))}),this),this.afterSetters()),i&&i.call(this),c},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),v(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var o,r,s,a,l,h,c,d,p,u,f,g=this.renderer,m=[];w(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?r="radialGradient":t.linearGradient&&(r="linearGradient"),r){if(s=t[r],l=g.gradients,h=t.stops,p=n.radialReference,C(s)&&(t[r]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===r&&p&&!v(s.gradientUnits)&&(a=s,s=A(s,g.getRadialAttr(p,a),{gradientUnits:"userSpaceOnUse"})),M(s,(function(t,e){"id"!==e&&m.push(e,t)})),M(h,(function(t){m.push(t)})),m=m.join(","),l[m])u=l[m].attr("id");else{s.id=u=L();var y=l[m]=g.createElement(r).attr(s).add(g.defs);y.radAttr=a,y.stops=[],h.forEach((function(t){0===t[1].indexOf("rgba")?(o=i.parse(t[1]),c=o.get("rgb"),d=o.get("a")):(c=t[1],d=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":d}).add(y),y.stops.push(t)}))}f="url("+g.url+"#"+u+")",n.setAttribute(e,f),n.gradient=m,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,i={},n=this.element,o=["textOutline","textOverflow","width"],r="",s=!e;if(t&&t.color&&(t.fill=t.color),e&&M(t,(function(t,n){e&&e[n]!==t&&(i[n]=t,s=!0)})),s){if(e&&(t=b(e,i)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var a=this.textWidth=P(t.width);
11if(this.styles=t,a&&!d&&this.renderer.forExport&&delete t.width,n.namespaceURI===this.SVG_NS){var l=function(t,e){return"-"+e.toLowerCase()};M(t,(function(t,e){-1===o.indexOf(e)&&(r+=e.replace(/([A-Z])/g,l)+":"+t+";")})),r&&g(n,"style",r)}else y(n,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+P(i[t])*E(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},i=t.renderer,n=e.ownerSVGElement,o=i.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,a(t),t.clipPath&&n){var r=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(r.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=r.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),i.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&x(i.alignedObjects,t),M(t,(function(e,i){t[i]&&t[i].parentGroup===t&&t[i].destroy&&t[i].destroy(),delete t[i]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var i=t.getElementsByTagName("text")[0];if(i){if(i.removeAttribute("dx"),i.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&i.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)i.appendChild(t[0]);i.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,i){C(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,i){return e&&e.join?(i?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(i.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0}
11,{duration:E(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,i){"string"==typeof t?i.setAttribute(e,t):t&&this.complexColor(t,e,i)},t.prototype.getBBox=function(e,i){var n=this.renderer,o=this.element,r=this.styles,s=this.textStr,a=n.cache,h=n.cacheKeys,c=o.namespaceURI===this.SVG_NS;i=E(i,this.rotation,0);var d,p=n.styledMode?o&&t.prototype.getStyle.call(o,"font-size"):r&&r.fontSize;if(v(s)){var u=s.toString();-1===u.indexOf("<")&&(u=u.replace(/[0-9]/g,"0")),u+=["",i,p,this.textWidth,r&&r.textOverflow,r&&r.fontWeight].join()}if(u&&!e&&(d=a[u]),!d){if(c||n.forExport){try{var f=this.fakeTS&&function(t){var e=o.querySelector(".highcharts-text-outline");e&&y(e,{display:t})};S(f)&&f("none"),d=o.getBBox?b({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight},S(f)&&f("")}catch(t){}(!d||0>d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(n.isSVG&&(e=d.width,n=d.height,c&&(d.height=n={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(n)]||n),i&&(c=i*l,d.width=Math.abs(n*Math.sin(c))+Math.abs(e*Math.cos(c)),d.height=Math.abs(n*Math.cos(c))+Math.abs(e*Math.sin(c)))),u&&(""===s||0<d.height)){for(;250<h.length;)delete a[h.shift()];a[u]||h.push(u),a[u]=d}}return d},t.prototype.getStyle=function(t){return u.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?m(e):h.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var i=this.onEvents;return i[t]&&i[t](),i[t]=f(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,i){this.opacity=t=Number(Number(t).toFixed(3)),i.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(T(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,i){var n=this.element,o=this.text?this.text.element:n,r={textAnchor:"text-anchor"},s=!1,a=this.textPathWrapper,l=!a;i=A(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},i);var h=e.filterUserAttributes(i.attributes);if(t&&i&&i.enabled){a&&null===a.element.parentNode?(l=!0,a=a.destroy()):a&&this.removeTextOutline.call(a.parentGroup),this.options&&this.options.padding&&(h.dx=-this.options.padding),a||(this.textPathWrapper=a=this.renderer.createElement("textPath"),s=!0);var d=a.element;if((i=t.element.getAttribute("id"))||t.element.setAttribute("id",i=L()),l)for(o.setAttribute("y",0),k(h.dx)&&o.setAttribute("x",-h.dx),t=[].slice.call(o.childNodes),l=0;l<t.length;l++){var p=t[l];p.nodeType!==u.Node.TEXT_NODE&&"tspan"!==p.nodeName||d.appendChild(p)}s&&a&&a.add({element:o}),d.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+i),v(h.dy)&&(d.parentNode.setAttribute("dy",h.dy),delete h.dy),v(h.dx)&&(d.parentNode.setAttribute("dx",h.dx),delete h.dx),M(h,(function(t,e){d.setAttribute(r[e]||e,t)})),n.removeAttribute("transform"),this.removeTextOutline.call(a),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=c}else a&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this}
11,t.prototype.shadow=function(t,e,i){var n,o=[],r=this.element,s=this.oldShadowOptions,a={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?n=a:"object"==typeof t&&(n=b(a,t)),n&&(n&&s&&M(n,(function(t,e){t!==s[e]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var h=n.opacity/n.width,c=this.parentInverted?"translate("+n.offsetY+", "+n.offsetX+")":"translate("+n.offsetX+", "+n.offsetY+")";for(a=1;a<=n.width;a++){var d=r.cloneNode(!1),p=2*n.width+1-2*a;g(d,{stroke:t.color||"#000000","stroke-opacity":h*a,"stroke-width":p,transform:c,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),i&&(g(d,"height",Math.max(g(d,"height")-p,0)),d.cutHeight=p),e?e.element.appendChild(d):r.parentNode&&r.parentNode.insertBefore(d,r),o.push(d)}this.shadows=o}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,i,n){this[i]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===i&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=P(t);else if(""!==t){var i=h.createElementNS(p,"rect");g(i,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(i),e=i.getBBox().width,i.parentNode.removeChild(i)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(i){e[i]=E(t[i],e[i])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,i=e.getElementsByTagName("title")[0]||h.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(i,e.firstChild):e.appendChild(i),i.textContent=String(E(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var n=this.shadows;if(n)for(var o=n.length;o--;)i.call(n[o],"height"===t?Math.max(e-(n[o].cutHeight||0),0):"d"===t?this.d:e,t,n[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,n=this.rotation,o=this.matrix,r=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],v(o)&&s.push("matrix("+o.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):n&&s.push("rotate("+n+" "+E(this.rotationOriginX,r.getAttribute("x"),0)+" "+E(this.rotationOriginY,r.getAttribute("y")||0)+")"),(v(t)||v(e))&&s.push("scale("+E(t,1)+" "+E(e,1)+")"),s.length&&r.setAttribute("transform",s.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,n=this.parentGroup,o=(n||i).element||i.box,r=this.element;i=o===i.box;var s,a=!1,l=this.added;if(v(t)?(r.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):v(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&n&&(n.handleZ=!0),s=(e=o.childNodes).length-1;0<=s&&!a;s--){l=(n=e[s]).getAttribute("data-z-index");var h=!v(l);n!==r&&(0>t&&h&&!i&&!s?(o.insertBefore(r,e[s]),a=!0):(P(l)<=t||h&&(!v(t)||0<=t))&&(o.insertBefore(r,e[s+1]||null),a=!0))}a||(o.insertBefore(r,e[i?3:0]||null),a=!0)}return a},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(i,"Core/Renderer/RendererRegistry.js",[i["Core/Globals.js"]],(function(t){var e;return function(e){var i;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=i),e.rendererTypes[t]||e.rendererTypes[i]},e.registerRendererType=function(n,o,r){e.rendererTypes[n]=o,i&&!r||(i=n,t.Renderer=o)}}(e||(e={})),e}
11)),e(i,"Core/Renderer/SVG/SVGLabel.js",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e.defined,o=e.extend,r=e.isNumber,s=e.merge,a=e.pick,l=e.removeEvent;return function(e){function h(t,i,n,o,r,s,a,l,c,d){var p,u=e.call(this)||this;return u.paddingLeftSetter=u.paddingSetter,u.paddingRightSetter=u.paddingSetter,u.init(t,"g"),u.textStr=i,u.x=n,u.y=o,u.anchorX=s,u.anchorY=a,u.baseline=c,u.className=d,u.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&u.addClass("highcharts-"+d),u.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof r&&((p=/^url\((.*?)\)$/.test(r))||u.renderer.symbols[r])&&(u.symbolKey=r),u.bBox=h.emptyBBox,u.padding=3,u.baselineOffset=0,u.needsBox=t.styledMode||p,u.deferredAttr={},u.alignFactor=0,u}return i(h,e),h.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))},h.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},h.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},h.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},h.prototype.css=function(e){if(e){var i={};e=s(e),h.textProps.forEach((function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i);var n="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},h.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},h.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},h.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=a(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},h.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},h.prototype.heightSetter=function(t){this.heightSetting=t},h.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},h.prototype.paddingSetter=function(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},h.prototype.rSetter=function(t,e){this.boxAttr(e,t)},h.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},h.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},h.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},h.prototype["text-alignSetter"]=function(t){this.textAlign=t},h.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},h.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,s=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?h.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*i,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||t).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((i=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),i.add(this)),i=this.getCrispAdjust(),e.x=i,e.y=(this.baseline?-this.baselineOffset:0)+i,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={})},h.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=a(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||
11(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e},h.prototype.widthSetter=function(t){this.widthSetting=r(t)?t:void 0},h.prototype.getPaddedWidth=function(){var t=this.padding,e=a(this.paddingLeft,t);return t=a(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},h.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},h.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},h.emptyBBox={width:0,height:0,x:0,y:0},h.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),h}(t)})),e(i,"Core/Renderer/SVG/Symbols.js",[i["Core/Utilities.js"]],(function(t){function e(t,e,i,n,r){var a=[];if(r){var l=r.start||0,h=s(r.r,i);i=s(r.r,n||i);var c=(r.end||0)-.001;n=r.innerR;var d=s(r.open,.001>Math.abs((r.end||0)-l-2*Math.PI)),p=Math.cos(l),u=Math.sin(l),f=Math.cos(c),g=Math.sin(c);l=s(r.longArc,.001>c-l-Math.PI?0:1),a.push(["M",t+h*p,e+i*u],["A",h,i,0,l,s(r.clockwise,1),t+h*f,e+i*g]),o(n)&&a.push(d?["M",t+n*f,e+n*g]:["L",t+n*f,e+n*g],["A",n,n,0,l,o(r.clockwise)?1-r.clockwise:0,t+n*p,e+n*u]),d||a.push(["Z"])}return a}function i(t,e,i,o,r){return r&&r.r?n(t,e,i,o,r):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function n(t,e,i,n,o){return[["M",t+(o=o&&o.r||0),e],["L",t+i-o,e],["C",t+i,e,t+i,e,t+i,e+o],["L",t+i,e+n-o],["C",t+i,e+n,t+i,e+n,t+i-o,e+n],["L",t+o,e+n],["C",t,e+n,t,e+n,t,e+n-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]}var o=t.defined,r=t.isNumber,s=t.pick;return{arc:e,callout:function(t,e,i,o,s){var a=Math.min(s&&s.r||0,i,o),l=a+6,h=s&&s.anchorX;s=s&&s.anchorY||0;var c=n(t,e,i,o,{r:a});return r(h)?(t+h>=i?s>e+l&&s<e+o-l?c.splice(3,1,["L",t+i,s-6],["L",t+i+6,s],["L",t+i,s+6],["L",t+i,e+o-a]):c.splice(3,1,["L",t+i,o/2],["L",h,s],["L",t+i,o/2],["L",t+i,e+o-a]):0>=t+h?s>e+l&&s<e+o-l?c.splice(7,1,["L",t,s+6],["L",t-6,s],["L",t,s-6],["L",t,e+a]):c.splice(7,1,["L",t,o/2],["L",h,s],["L",t,o/2],["L",t,e+a]):s&&s>o&&h>t+l&&h<t+i-l?c.splice(5,1,["L",h+6,e+o],["L",h,e+o+6],["L",h-6,e+o],["L",t+a,e+o]):s&&0>s&&h>t+l&&h<t+i-l&&c.splice(1,1,["L",h-6,e],["L",h,e-6],["L",h+6,e],["L",i-a,e]),c):c},circle:function(t,i,n,o){return e(t+n/2,i+o/2,n/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n/2],["L",t+i/2,e+n],["L",t,e+n/2],["Z"]]},rect:i,roundedRect:n,square:i,triangle:function(t,e,i,n){return[["M",t+i/2,e],["L",t+i,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,i,n){return[["M",t,e],["L",t+i,e],["L",t+i/2,e+n],["Z"]]}}})),e(i,"Core/Renderer/SVG/TextBuilder.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=e.doc,o=e.SVG_NS,r=e.win,s=i.attr,a=i.isString,l=i.objectEach,h=i.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,i=e.element,o=e.renderer,r=h(e.textStr,"").toString(),s=-1!==r.indexOf("<"),l=i.childNodes;o=this.width&&!e.added&&o.box;var c=[r,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(c!==e.textCache){for(e.textCache=c,delete e.actualWidth,c=l.length;c--;)i.removeChild(l[c]);s||this.ellipsis||this.width||-1!==r.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(r))?""!==r&&(o&&o.appendChild(i),r=new t(r),this.modifyTree(r.nodes),r.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(i)):i.appendChild(n.createTextNode(this.unescapeEntities(r))),a(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,i=this.svgElement,a=s(i.element,"x");for(i.firstLineMetrics=void 0;(t=i.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)i.element.removeChild(t);[].forEach.call(i.element.querySelectorAll("tspan.highcharts-br"),(function(t,n){t.nextSibling&&t.previousSibling&&(0===n&&1===t.previousSibling.nodeType&&(i.firstLineMetrics=i.renderer.fontMetrics(void 0,t.previousSibling)),s(t,{dy:e.getLineHeight(t.nextSibling),x:a}))}));var l=this.width||0;if(l){var h=function(t,r){var h=t.textContent||"",c=h.replace(/([^\^])-/g,"$1- ").split(" "),d=!e.noWrap&&(1<c.length||1<i.element.childNodes.length),p=e.getLineHeight(r),u=0,f=i.actualWidth;if(e.ellipsis)h&&e.truncate(t,h,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(d){for(h=[],d=[];
11r.firstChild&&r.firstChild!==t;)d.push(r.firstChild),r.removeChild(r.firstChild);for(;c.length;)c.length&&!e.noWrap&&0<u&&(h.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,c,0===u&&f||0,l,(function(t,e){return c.slice(0,e).join(" ").replace(/- /g,"-")})),f=i.actualWidth,u++;d.forEach((function(e){r.insertBefore(e,t)})),h.forEach((function(e){r.insertBefore(n.createTextNode(e),t),(e=n.createElementNS(o,"tspan")).textContent="​",s(e,{dy:p,x:a}),r.insertBefore(e,t)}))}},c=function(t){[].slice.call(t.childNodes).forEach((function(e){e.nodeType===r.Node.TEXT_NODE?h(e,t):(-1!==e.className.baseVal.indexOf("highcharts-br")&&(i.actualWidth=0),c(e))}))};c(i.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===r.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,i=function(n,o){var r=n.attributes;r=void 0===r?{}:r;var s=n.children,l=n.tagName,h=e.renderer.styledMode;"b"===l||"strong"===l?h?r.class="highcharts-strong":r.style="font-weight:bold;"+(r.style||""):"i"!==l&&"em"!==l||(h?r.class="highcharts-emphasized":r.style="font-style:italic;"+(r.style||"")),a(r.style)&&(r.style=r.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(r.class="highcharts-br",n.textContent="​",(o=t[o+1])&&o.textContent&&(o.textContent=o.textContent.replace(/^ +/gm,""))):"a"===l&&s&&s.some((function(t){return"#text"===t.tagName}))&&(n.children=[{children:s,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(n.tagName="tspan"),n.attributes=r,s&&s.filter((function(t){return"#text"!==t.tagName})).forEach(i)};t.forEach(i)},e.prototype.truncate=function(t,e,i,n,o,r){var s,a=this.svgElement,l=a.renderer,h=a.rotation,c=[],d=i?1:0,p=(e||i||"").length,u=p,f=function(o,s){s=s||o;var h=t.parentNode;if(h&&void 0===c[s])if(h.getSubStringLength)try{c[s]=n+h.getSubStringLength(0,i?s+1:s)}catch(t){}else l.getSpanWidth&&(t.textContent=r(e||i,o),c[s]=n+l.getSpanWidth(a,t));return c[s]};a.rotation=0;var g=f(t.textContent.length);if(n+g>o){for(;d<=p;)u=Math.ceil((d+p)/2),i&&(s=r(i,u)),g=f(u,s&&s.length-1),d===p?d=p+1:g>o?p=u-1:d=u;0===p?t.textContent="":e&&p===e.length-1||(t.textContent=s||r(e||i,u))}i&&i.splice(0,u),a.actualWidth=g,a.rotation=h},e.prototype.unescapeEntities=function(t,e){return l(this.renderer.escapes,(function(i,n){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),n))})),t},e}()})),e(i,"Core/Renderer/SVG/SVGRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l){var h,c=i.charts,d=i.deg2rad,p=i.doc,u=i.isFirefox,f=i.isMS,g=i.isWebKit,m=i.noop,y=i.SVG_NS,v=i.symbolSizes,x=i.win,b=l.addEvent,w=l.attr,C=l.createElement,S=l.css,k=l.defined,T=l.destroyObjectProperties,A=l.extend,M=l.isArray,E=l.isNumber,P=l.isObject,O=l.isString,L=l.merge,D=l.pick,j=l.pInt,N=l.uniqueKey;return i=function(){function i(t,e,i,n,o,r,s){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,i,n,o,r,s)}return i.prototype.init=function(t,e,i,n,o,r,s){var a,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),h=l.element;s||l.css(this.getStyle(n)),t.appendChild(h),w(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&w(h,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=h,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 9.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=o,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),u&&t.getBoundingClientRect&&((e=function(){S(t,{left:0,top:0}),a=t.getBoundingClientRect(),S(t,{left:Math.ceil(a.left)-a.left+"px",to
11p:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=b(x,"resize",e))},i.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},i.prototype.getReferenceURL=function(){if((u||g)&&p.getElementsByTagName("base").length){if(!k(h)){var e=N();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),S(e,{position:"fixed",top:0,left:0,zIndex:9e5});var i=p.elementFromPoint(6,6);h="hitme"===(i&&i.id),p.body.removeChild(e)}if(h)return x.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},i.prototype.getStyle=function(t){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},i.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},i.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},i.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),T(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},i.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},i.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},i.prototype.buildText=function(t){new a(t).buildSVG()},i.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},i.prototype.button=function(e,i,n,o,r,s,a,l,h,c){var d=this.label(e,i,n,h,void 0,void 0,c,void 0,"button"),p=this.styledMode,u=0,g=r?L(r):{};if(e=g&&g.style||{},g=t.filterUserAttributes(g),d.attr(L({padding:8,r:2},g)),!p){var m=(g=L({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},g)).style;delete g.style;
11var y=(s=L(g,{fill:"#e6e6e6"},t.filterUserAttributes(s||{}))).style;delete s.style;var v=(a=L(g,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(a||{}))).style;delete a.style;var x=(l=L(g,{style:{color:"#cccccc"}},t.filterUserAttributes(l||{}))).style;delete l.style}return b(d.element,f?"mouseover":"mouseenter",(function(){3!==u&&d.setState(1)})),b(d.element,f?"mouseout":"mouseleave",(function(){3!==u&&d.setState(u)})),d.setState=function(t){1!==t&&(d.state=u=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),p||d.attr([g,s,a,l][t||0]).css([m,y,v,x][t||0])},p||d.attr(g).css(A({cursor:"default"},m)),d.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==u&&o.call(d,t)}))},i.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var n=t[0],o=t[1];return k(n[1])&&n[1]===o[1]&&(n[1]=o[1]=Math[i](n[1])-e%2/2),k(n[2])&&n[2]===o[2]&&(n[2]=o[2]=Math[i](n[2])+e%2/2),t},i.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:P(t)&&A(e,t),this.createElement("path").attr(e)},i.prototype.circle=function(t,e,i){return t=P(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},i.prototype.arc=function(t,e,i,n,o,r){return P(t)?(e=(n=t).y,i=n.r,t=n.x):n={innerR:n,start:o,end:r},(t=this.symbol("arc",t,e,i,i,n)).r=i,t},i.prototype.rect=function(t,e,i,n,o,r){o=P(t)?t.r:o;var s=this.createElement("rect");return t=P(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(n,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=s.crisp(t)),t.fill="none"),o&&(t.r=o),s.rSetter=function(t,e,i){s.r=t,w(i,{rx:t,ry:t})},s.rGetter=function(){return s.r||0},s.attr(t)},i.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},i.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},i.prototype.image=function(t,e,i,n,o,r){var s={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};E(e)&&(s.x=e),E(i)&&(s.y=i),E(n)&&(s.width=n),E(o)&&(s.height=o);var l=this.createElement("image").attr(s);return e=function(e){a(l.element,t),r.call(l,e)},r?(a(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new x.Image,b(i,"load",e),i.src=t,i.complete&&e({})):a(l.element,t),l},i.prototype.symbol=function(t,e,i,n,o,r){var s,a=this,l=/^url\((.*?)\)$/,h=l.test(t),d=!h&&(this.symbols[t]?t:"circle"),u=d&&this.symbols[d];if(u){"number"==typeof e&&(s=u.call(this.symbols,Math.round(e||0),Math.round(i||0),n||0,o||0,r));var f=this.path(s);a.styledMode||f.attr("fill","none"),A(f,{symbolName:d||void 0,x:e,y:i,width:n,height:o}),r&&A(f,r)}else if(h){var g=t.match(l)[1],m=f=this.image(g);m.imgwidth=D(v[g]&&v[g].width,r&&r.width),m.imgheight=D(v[g]&&v[g].height,r&&r.height);var y=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){m[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,k(i)&&(r&&"within"===r.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),k(e)&&m.attr({x:e,y:i}),m.isImg=!0,k(m.imgwidth)&&k(m.imgheight)?y(m):(m.attr({width:0,height:0}),C("img",{onload:function(){var t=c[a.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),v[g]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&y(m),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!t||t.hasLoaded||t.onload()},src:g}),this.imgCount++)}return f}
11,i.prototype.clipRect=function(t,e,i,n){var o=N()+"-",r=this.createElement("clipPath").attr({id:o}).add(this.defs);return(t=this.rect(t,e,i,n,0).add(r)).id=o,t.clipPath=r,t.count=0,t},i.prototype.text=function(t,e,i,n){var o={};return!n||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),i&&(o.y=Math.round(i)),k(t)&&(o.text=t),t=this.createElement("text").attr(o),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,i){for(var n,o=i.getElementsByTagName("tspan"),r=i.getAttribute(e),s=0;s<o.length;s++)(n=o[s]).getAttribute(e)===r&&n.setAttribute(e,t);i.setAttribute(e,t)}),t):this.html(t,e,i)},i.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!x.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&o.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?j(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},i.prototype.rotCorr=function(t,e,i){var n=t;return e&&i&&(n=Math.max(n*Math.cos(e*d),4)),{x:-t/3*Math.sin(e*d),y:n}},i.prototype.pathToSegments=function(t){for(var e=[],i=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)O(i[0])&&E(t[o])&&i.length===n[i[0].toUpperCase()]&&t.splice(o,0,i[0].replace("M","L").replace("m","l")),"string"==typeof t[o]&&(i.length&&e.push(i.slice(0)),i.length=0),i.push(t[o]);return e.push(i.slice(0)),e},i.prototype.label=function(t,e,i,n,o,s,a,l,h){return new r(this,t,e,i,n,o,s,a,l,h)},i.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},i}(),A(i.prototype,{Element:o,SVG_NS:y,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:s,draw:m}),n.registerRendererType("svg",i,!0),i})),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.isFirefox,r=t.isMS,s=t.isWebKit,a=t.win,l=i.css,h=i.defined,c=i.extend,d=i.pick,p=i.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var i=e.prototype,n=t.prototype;n.getSpanCorrection=i.getSpanCorrection,n.htmlCss=i.htmlCss,n.htmlGetBBox=i.htmlGetBBox,n.htmlUpdateTransform=i.htmlUpdateTransform,n.setSpanRotation=i.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=d(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),l(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,o=this.x||0,r=this.y||0,s=this.textAlign||"left",a={left:0,center:.5,right:1}[s],c=this.styles;if(c=c&&c.whiteSpace,l(e,{marginLeft:i,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:i+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){var d=this.rotation,u=this.textWidth&&p(this.textWidth),f=[d,s,e.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;if(g=!1,u!==this.oldTextWidth){if(this.textPxLength)var m=this.textPxLength;else l(e,{width:"",whiteSpace:c||"nowrap"}),m=e.offsetWidth;(u>this.oldTextWidth||m>u)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:m>u||d?u+"px":"auto",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=u,g=!0)}this.hasBoxWidthChanged=g,f!==this.cTT&&(g=t.fontMetrics(e.style.fontSize,e).b,!h(d)||d===(this.oldRotation||0)&&s===this.oldAlign||this.setSpanRotation(d,a,g),this.get
11SpanCorrection(!h(d)&&this.textPxLength||e.offsetWidth,g,a,d,s)),l(e,{left:o+(this.xCorr||0)+"px",top:r+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=d,this.oldAlign=s}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,i){var n={},h=r&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":o?"MozTransform":a.opera?"-o-transform":void 0;h&&(n[h]=n.transform="rotate("+t+"deg)",n[h+(o?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",l(this.element,n))},e.composedClasses=[],e}(e)})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.attr,s=n.createElement,a=n.extend,l=n.pick;return function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return o(n,i),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(i,n,o){var h=this.createElement("span"),c=h.element,d=h.renderer,p=d.isSVG,u=function(t,i){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(o,r,s){var a=t.div?t.div.style:i;e.prototype[n+"Setter"].call(this,o,r,s),a&&(a[r]=o)}})),t.addedSetters=!0};return h.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,h.doTransform=!0)},p&&u(h,h.element.style),h.xSetter=h.ySetter=h.alignSetter=h.rotationSetter=function(t,e){"align"===e?h.alignValue=h.textAlign=t:h[e]=t,h.doTransform=!0},h.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},h.attr({text:i,x:Math.round(n),y:Math.round(o)}).css({position:"absolute"}),d.styledMode||h.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",h.css=h.htmlCss,p&&(h.add=function(t){var e=d.box.parentNode,i=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach((function(t){function o(e,i){t[i]=e,"translateX"===i?d.left=e+"px":d.top=e+"px",t.doTransform=!0}var l=r(t.element,"class"),c=t.styles||{},d=(n=t.div=t.div||s("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents,visibility:t.visibility},n||e)).style;a(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return i[0].div&&h.on.apply({element:i[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||u(t)}))}}else n=e;return n.appendChild(c),h.added=!0,h.alignOnAdd&&h.htmlUpdateTransform(),h}),h},n.composedClasses=[],n}(i)})),e(i,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(i,"Core/Foundation.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.addEvent,n=t.isFunction,o=t.objectEach,r=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},o(e.events,(function(e,o){t.eventOptions[o]!==e&&(t.eventOptions[o]&&(r(t,o,t.eventOptions[o]),delete t.eventOptions[o]),n(e)&&(t.eventOptions[o]=e,i(t,o,e)))}))}}(e||(e={})),e})),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,
11i){var n=e.deg2rad,o=i.clamp,r=i.correctFloat,s=i.defined,a=i.destroyObjectProperties,l=i.extend,h=i.fireEvent,c=i.isNumber,d=i.merge,p=i.objectEach,u=i.pick;return e=function(){function e(t,e,i,n,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,i=e.axis,n=i.options,o=i.chart,a=i.categories,d=i.logarithmic,p=i.names,f=e.pos,g=u(e.options&&e.options.labels,n.labels),m=i.tickPositions,y=f===m[0],v=f===m[m.length-1],x=(!g.step||1===g.step)&&1===i.tickInterval;m=m.info;var b,w=e.label;if(a=this.parameters.category||(a?u(a[f],p[f],f):f),d&&c(a)&&(a=r(d.lin2log(a))),i.dateTime)if(m)var C=o.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&m.higherRanks[f]||m.unitName]),S=C.main;else c(a)&&(S=i.dateTime.getXDateFormat(a,n.dateTimeLabelFormats||{}));e.isFirst=y,e.isLast=v;var k={axis:i,chart:o,dateTimeLabelFormat:S,isFirst:y,isLast:v,pos:f,tick:e,tickPositionInfo:m,value:a};h(this,"labelFormat",k);var T=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=i.defaultLabelFormatter.call(e),t.format(g.format,e,o)):i.defaultLabelFormatter.call(e,e)};n=T.call(k,k);var A=C&&C.list;e.shortenLabel=A?function(){for(b=0;b<A.length;b++)if(l(k,{dateTimeLabelFormat:A[b]}),w.attr({text:T.call(k,k)}),w.getBBox().width<i.getSlotWidth(e)-2*g.padding)return;w.attr({text:""})}:void 0,x&&i._addedPlotLB&&e.moveLabel(n,g),s(w)||e.movedLabel?w&&w.textStr!==n&&!x&&(!w.textWidth||g.style.width||w.styles.width||w.css({width:null}),w.attr({text:n}),w.textPxLength=w.getBBox().width):(e.label=w=e.createLabel({x:0,y:0},n,g),e.rotation=0)},e.prototype.createLabel=function(t,e,i){var n=this.axis,o=n.chart;return(t=s(e)&&i.enabled?o.renderer.text(e,t.x,t.y,i.useHTML).add(n.labelGroup):null)&&(o.styledMode||t.css(d(i.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){a(this,this.axis)},e.prototype.getPosition=function(t,e,i,n){var s=this.axis,a=s.chart,l=n&&a.oldChartHeight||a.chartHeight;return(t={x:t?r(s.translate(e+i,null,null,n)+s.transB):s.left+s.offset+(s.opposite?(n&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):r(l-s.translate(e+i,null,null,n)-s.transB)}).y=o(t.y,-1e5,1e5),h(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,i,o,r,a,l,c){var d=this.axis,p=d.transA,u=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,f=d.staggerLines,g=d.tickRotCorr||{x:0,y:0},m=o||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),y={},v=r.y;return s(v)||(v=0===d.side?i.rotation?-8:-i.getBBox().height:2===d.side?g.y+8:Math.cos(i.rotation*n)*(g.y-i.getBBox(!1,0).height/2)),t=t+r.x+m+g.x-(a&&o?a*p*(u?-1:1):0),e=e+v-(a&&!o?a*p*(u?1:-1):0),f&&(i=l/(c||1)%f,d.opposite&&(i=f-i-1),e+=d.labelOffset/f*i),y.x=t,y.y=Math.round(e),h(this,"afterGetLabelPosition",{pos:y,tickmarkOffset:a,index:l}),y},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,i,n,o,r){return r.crispLine([["M",t,e],["L",t+(o?0:-i),e+(o?i:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,i=e.options.labels,o=t.x,r=e.chart.chartWidth,s=e.chart.spacing,a=u(e.labelLeft,Math.min(e.pos,s[3]));s=u(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,r-s[1]));var l,h=this.label,c=this.rotation,d={left:0,center:.5,right:1}[e.labelAlign||h.attr("align")],p=h.getBBox().width,f=e.getSlotWidth(this),g={},m=f,y=1;c||"justify"!==i.overflow?0>c&&o-d*p<a?l=Math.round(o/Math.cos(c*n)-a):0<c&&o+d*p>s&&(l=Math.round((r-o)/Math.cos(c*n))):(r=o+(1-d)*p,o-d*p<a?m=t.x+m*(1-d)-a:r>s&&(m=s-t.x+m*d,y=-1),(m=Math.min(f,m))<f&&"center"===e.labelAlign&&(t.x+=y*(f-m-d*(f-Math.min(p,m)))),(p>m||e.autoRotation&&(h.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(i.style||{}).textOverflow||(g.textOverflow="ellipsis"),h.css(g)))},e.prototype.moveLabel=function(t,e){var i=this,n=i.label,o=i.axis,r=o.reversed,s=!1;if(n&&n.textStr===t?(i.movedLabel=n,s=!0,delete i.label):p(o.ticks,(function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!s&&(i.labelPos||n)){var a=i.labelPos||n.xy;n=o.horiz?r?0:o.width+o.left:a.x,o=o.horiz?a.y:r?o.width+o.left:0,i.movedLabel=i.createLabel({x:n,y:o},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0}
11)}},e.prototype.render=function(t,e,i){var n=this.axis,o=n.horiz,r=this.pos,s=u(this.tickmarkOffset,n.tickmarkOffset);s=(r=this.getPosition(o,r,s,e)).x;var a=r.y;n=o&&s===n.pos+n.len||!o&&a===n.pos?-1:1,o=u(i,this.label&&this.label.newOpacity,1),i=u(i,1),this.isActive=!0,this.renderGridLine(e,i,n),this.renderMark(r,i,n),this.renderLabel(r,e,o,t),this.isNew=!1,h(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var n=this.axis,o=n.options,r={},s=this.pos,a=this.type,l=u(this.tickmarkOffset,n.tickmarkOffset),h=n.chart.renderer,c=this.gridLine,d=o.gridLineWidth,p=o.gridLineColor,f=o.gridLineDashStyle;"minor"===this.type&&(d=o.minorGridLineWidth,p=o.minorGridLineColor,f=o.minorGridLineDashStyle),c||(n.chart.styledMode||(r.stroke=p,r["stroke-width"]=d||0,r.dashstyle=f),a||(r.zIndex=1),t&&(e=0),this.gridLine=c=h.path().attr(r).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(n.gridGroup)),c&&(i=n.getPlotLinePath({value:s+l,lineWidth:c.strokeWidth()*i,force:"pass",old:t}))&&c[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var n=this.axis,o=n.options,r=n.chart.renderer,s=this.type,a=n.tickSize(s?s+"Tick":"tick"),l=t.x;t=t.y;var h=u(o["minor"!==s?"tickWidth":"minorTickWidth"],!s&&n.isXAxis?1:0);o=o["minor"!==s?"tickColor":"minorTickColor"];var c=this.mark,d=!c;a&&(n.opposite&&(a[0]=-a[0]),c||(this.mark=c=r.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||c.attr({stroke:o,"stroke-width":h})),c[d?"attr":"animate"]({d:this.getMarkPath(l,t,a[0],c.strokeWidth()*i,n.horiz,r),opacity:e}))},e.prototype.renderLabel=function(t,e,i,n){var o=this.axis,r=o.horiz,s=o.options,a=this.label,l=s.labels,h=l.step;o=u(this.tickmarkOffset,o.tickmarkOffset);var d=t.x;t=t.y;var p=!0;a&&c(d)&&(a.xy=t=this.getLabelPosition(d,t,a,r,l,o,n,h),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?p=!1:!r||l.step||l.rotation||e||0===i||this.handleOverflow(t),h&&n%h&&(p=!1),p&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var n=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:n,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/AxisDefaults.js"],i["Core/Color/Color.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Axis/Tick.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a){var l=t.animObject,h=n.defaultOptions,c=o.registerEventOptions,d=r.deg2rad,p=a.arrayMax,u=a.arrayMin,f=a.clamp,g=a.correctFloat,m=a.defined,y=a.destroyObjectProperties,v=a.erase,x=a.error,b=a.extend,w=a.fireEvent,C=a.getMagnitude,S=a.isArray,k=a.isNumber,T=a.isString,A=a.merge,M=a.normalizeTickInterval,E=a.objectEach,P=a.pick,O=a.relativeLength,L=a.removeEvent,D=a.splat,j=a.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!i:i,this.isXAxis=i,this.coll=this.coll||(i?"xAxis":"yAxis"),w(this,"init",{userOptions:e}),this.opposite=P(e.opposite,this.opposite),this.side=P(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,o=n.labels,r=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===r||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=m(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=P(n.crosshair,D(t.options.tooltip.crosshairs)[i?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=k(o.rotation)?o.rotation:void 0,c(this,n),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=A(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],A(h[this.coll],t)),w(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var i=k(this.value)?this.value:NaN,n=e.chart.time,o=this.dateTimeLabelFormat,r=h.lang,s=r.numericSymbol
11s;r=r.numericSymbolMagnitude||1e3;var a=e.logarithmic?Math.abs(i):e.tickInterval,l=s&&s.length;if(e.categories)var c=""+this.value;else if(o)c=n.dateFormat(o,i);else if(l&&1e3<=a)for(;l--&&void 0===c;)a>=(e=Math.pow(r,l+1))&&0==10*i%e&&null!==s[l]&&0!==i&&(c=t(i/e,-1)+s[l]);return void 0===c&&(c=1e4<=Math.abs(i)?t(i,-1):t(i,-1,void 0,"")),c},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;w(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!i.options.chart.ignoreHiddenSeries){var o=n.options,r=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=r&&(r=null),e.isXAxis){if((o=n.xData).length){o=e.logarithmic?o.filter(e.validatePositiveValue):o;var s=(t=n.getXExtremes(o)).min,a=t.max;k(s)||s instanceof Date||(o=o.filter(k),s=(t=n.getXExtremes(o)).min,a=t.max),o.length&&(e.dataMin=Math.min(P(e.dataMin,s),s),e.dataMax=Math.max(P(e.dataMax,a),a))}}else n=n.applyExtremes(),k(n.dataMin)&&(s=n.dataMin,e.dataMin=Math.min(P(e.dataMin,s),s)),k(n.dataMax)&&(a=n.dataMax,e.dataMax=Math.max(P(e.dataMax,a),a)),m(r)&&(e.threshold=r),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,n,o,r){var s=this.linkedParent||this,a=n&&s.old?s.old.min:s.min,l=s.minPixelPadding;o=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&o)&&s.lin2val;var h=1,c=0;return(n=n&&s.old?s.old.transA:s.transA)||(n=s.transA),i&&(h*=-1,c=s.len),s.reversed&&(c-=(h*=-1)*(s.sector||s.len)),e?(t=(t*h+c-l)/n+a,o&&(t=s.lin2val(t))):(o&&(t=s.val2lin(t)),t=k(a)?h*(t-a)*n+c+h*l+(k(r)?n*r:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==x&&t<e||t>i)&&(x?t=f(t,e,i):s=!0),t}var i,n,o,r,s,a=this,l=a.chart,h=a.left,c=a.top,d=t.old,p=t.value,u=t.lineWidth,g=d&&l.oldChartHeight||l.chartHeight,m=d&&l.oldChartWidth||l.chartWidth,y=a.transB,v=t.translatedValue,x=t.force;return t={value:p,lineWidth:u,old:d,force:x,acrossPanes:t.acrossPanes,translatedValue:v},w(this,"getPlotLinePath",t,(function(t){v=P(v,a.translate(p,null,null,d)),v=f(v,-1e5,1e5),i=o=Math.round(v+y),n=r=Math.round(g-v-y),k(v)?a.horiz?(n=c,r=g-a.bottom,i=o=e(i,h,h+a.width)):(i=h,o=m-a.right,n=r=e(n,c,c+a.height)):(s=!0,x=!1),t.path=s&&!x?null:l.renderer.crispLine([["M",i,n],["L",o,r]],u||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var n=g(Math.floor(e/t)*t);i=g(Math.ceil(i/t)*t);var o,r=[];if(g(n+t)===n&&(o=20),this.single)return[e];for(e=n;e<=i&&(r.push(e),(e=g(e+t,o))!==s);)var s=e;return r},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?P(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,n=this.pointRangePadding||0,o=this.min-n,r=(n=this.max+n)-o,s=[];if(r&&r/i<this.len/3){var a=this.logarithmic;if(a)this.paddedTicks.forEach((function(t,e,n){e&&s.push.apply(s,a.getLogTickPositions(i,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())s=s.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(i),o,n,t.startOfWeek));else for(t=o+(e[0]-o)%i;t<=n&&t!==s[0];t+=i)s.push(t)}return 0!==s.length&&this.trimTicks(s),s},t.prototype.adjustForMinRange=function(){var t,e,i,n,o=this.options,r=this.logarithmic,s=this.min,a=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!r&&(m(o.min)||m(o.max)||m(o.floor)||m(o.ceiling)?this.minRange=null:(this.series.forEach((function(o){if(i=o.xData,n=o.xIncrement?1:i.length-1,1<i.length)for(t=n;0<t;t--)e=i[t]-i[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),a-s<this.minRange){var h=this.dataMax-this.dataMin>=this.minRange,c=this.minRange,d=(c-a+s)/2;d=[s-d,P(o.min,s-d)],h&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(s=p(d))+c,P(o.max,s+c)],h&&(a[2]=r?r.log2lin(this.dataMax):this.dataMax),(a=u(a))-s<c&&(d[0]=a-c,d[1]=P(o.min,a-c),s=p(d))}this.min=s,this.max=a},t.prototype.getClosest=function(){var t;
11return this.categories?t=1:this.series.forEach((function(e){var i=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&m(i)&&n&&(t=m(t)?Math.min(t,i):i)})),t},t.prototype.nameToX=function(t){var e=S(this.categories),i=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,m(n)||(n=this.options.uniqueNames?e?i.indexOf(t.name):P(i.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e)var o=i.length}else o=n;return void 0!==o&&(this.names[o]=t.name,this.names.keys[t.name]=o),o},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(i,n){if(i&&i.options&&void 0!==i.name){var o=t.nameToX(i);void 0!==o&&o!==i.x&&(i.x=o,e.xData[n]=o)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,i=t.linkedParent,n=!!t.categories,o=t.isXAxis,r=t.axisPointRange||0,s=0,a=0,l=t.transA;if(o||n||r){var h=t.getClosest();i?(s=i.minPointOffset,a=i.pointRangePadding):t.series.forEach((function(e){var i=n?1:o?P(e.options.pointRange,h,0):t.axisPointRange||0,l=e.options.pointPlacement;r=Math.max(r,i),t.single&&!n||(e=e.is("xrange")?!o:o,s=Math.max(s,e&&T(l)?0:i/2),a=Math.max(a,e&&"on"===l?0:i))})),i=t.ordinal&&t.ordinal.slope&&h?t.ordinal.slope/h:1,t.minPointOffset=s*=i,t.pointRangePadding=a*=i,t.pointRange=Math.min(r,t.single&&n?1:e),o&&(t.closestPointRange=h)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+a||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*s,w(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,i=this.logarithmic,n=this.options,o=this.isXAxis,r=this.isLinked,s=n.tickPixelInterval,a=this.categories,l=this.softThreshold,h=n.maxPadding,c=n.minPadding,d=k(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,p=k(this.threshold)?this.threshold:null;this.dateTime||a||r||this.getTickAmount();var u=P(this.userMin,n.min),f=P(this.userMax,n.max);if(r){this.linkedParent=e[this.coll][n.linkedTo];var y=this.linkedParent.getExtremes();this.min=P(y.min,y.dataMin),this.max=P(y.max,y.dataMax),n.type!==this.linkedParent.options.type&&x(11,1,e)}else{if(l&&m(p))if(this.dataMin>=p)y=p,c=0;else if(this.dataMax<=p){var v=p;h=0}this.min=P(u,y,this.dataMin),this.max=P(f,v,this.dataMax)}if(i&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,P(this.dataMin,this.min))&&x(10,1,e),this.min=g(i.log2lin(this.min),16),this.max=g(i.log2lin(this.max),16)),this.range&&m(this.max)&&(this.userMin=this.min=u=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(a||this.axisPointRange||this.stacking&&this.stacking.usePercentage||r)&&m(this.min)&&m(this.max)&&(e=this.max-this.min)&&(!m(u)&&c&&(this.min-=e*c),!m(f)&&h&&(this.max+=e*h)),k(this.userMin)||(k(n.softMin)&&n.softMin<this.min&&(this.min=u=n.softMin),k(n.floor)&&(this.min=Math.max(this.min,n.floor))),k(this.userMax)||(k(n.softMax)&&n.softMax>this.max&&(this.max=f=n.softMax),k(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),l&&m(this.dataMin)&&(p=p||0,!m(u)&&this.min<p&&this.dataMin>=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!m(f)&&this.max>p&&this.dataMax<=p&&(this.max=this.options.minRange?Math.max(p,this.min+this.minRange):p)),k(this.min)&&k(this.max)&&!this.chart.polar&&this.min>this.max&&(m(this.options.min)?this.max=this.min:m(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:r&&this.linkedParent&&!d&&s===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:P(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,a?1:(this.max-this.min)*s/Math.max(this.len,s)),o&&!t){var b=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);
11this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(b)})),w(this,"postProcessData",{hasExtemesChanged:b})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=P(n.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!d&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||d||(this.tickInterval=M(this.tickInterval,void 0,C(this.tickInterval),P(n.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),n=this.hasVerticalPanning(),o="colorAxis"===this.coll,r=(o||!n)&&t.startOnTick;n=(o||!n)&&t.endOnTick,o=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&m(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],x(19,!1,this.chart)),i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,o&&(o=o.apply(this,[this.min,this.max])))&&(this.tickPositions=i=o),this.paddedTicks=i.slice(0),this.trimTicks(i,r,n),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var n=t[0],o=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-r>t[0];)t.shift();if(i)this.max=o;else for(;this.max+r<t[t.length-1];)t.pop();0===t.length&&m(n)&&!this.options.tickPositions&&t.push((o+n)/2)}},t.prototype.alignToOthers=function(){var t,e={},i=this.options;return!1!==this.chart.options.chart.alignTicks&&i.alignTicks&&!1!==i.startOnTick&&!1!==i.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(i){var n=i.options;n=[i.horiz?n.left:n.top,n.width,n.height,n.pane].join(),i.series.length&&(e[n]?t=!0:e[n]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,i=t.tickAmount;!m(t.tickInterval)&&!i&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(i=2),!i&&this.alignToOthers()&&(i=Math.ceil(this.len/e)+1),4>i&&(this.finalTickAmt=i,i=5),this.tickAmount=i},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,i=this.tickPositions,n=this.tickAmount,o=this.finalTickAmt,r=i&&i.length,s=P(this.threshold,this.softThreshold?0:null);if(this.hasData()&&k(this.min)&&k(this.max)){if(r<n){for(;i.length<n;)i.length%2||this.min===s?i.push(g(i[i.length-1]+e)):i.unshift(g(i[0]-e));this.transA*=(r-1)/(n-1),this.min=t.startOnTick?i[0]:Math.min(this.min,i[0]),this.max=t.endOnTick?i[i.length-1]:Math.max(this.max,i[i.length-1])}else r>n&&(this.tickInterval*=2,this.setTickPositions());if(m(o)){for(e=t=i.length;e--;)(3===o&&1==e%2||2>=o&&0<e&&e<t-1)&&i.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(i){t=t||i.isDirtyData||i.isDirty,e=e||i.xAxis&&i.xAxis.isDirty||!1})),this.setAxisSize();var i=this.len!==(this.old&&this.old.len);i||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.get
11SeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=i||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),w(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,i,n,o){var r=this,s=r.chart;i=P(i,!0),r.series.forEach((function(t){delete t.kdTree})),o=b(o,{min:t,max:e}),w(r,"setExtremes",o,(function(){r.userMin=t,r.userMax=e,r.eventArgs=o,i&&s.redraw(n)}))},t.prototype.zoom=function(t,e){var i=this,n=this.dataMin,o=this.dataMax,r=this.options,s=Math.min(n,P(r.min,n)),a=Math.max(o,P(r.max,o));return w(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,r=t.newMax;e===i.min&&r===i.max||(i.allowZoomOutside||(m(n)&&(e<s&&(e=s),e>a&&(e=a)),m(o)&&(r<s&&(r=s),r>a&&(r=a))),i.displayBtn=void 0!==e||void 0!==r,i.setExtremes(e,r,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],n=this.horiz,o=this.width=Math.round(O(P(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),r=this.height=Math.round(O(P(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(O(P(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(O(P(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-r-s,this.right=t.chartWidth-o-e,this.len=Math.max(n?o:r,0),this.pos=n?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?g(t.lin2log(this.min)):this.min,max:t?g(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(P(t,0)-90*this.side+720)%360;return w(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,i=P(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(i&&n){"inside"===e[t+"Position"]&&(n=-n);var o=[n,i]}return w(this,"afterTickSize",t={tickSize:o}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,n=this.horiz,o=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/o),s=i.rotation,a=this.labelMetrics(),l=Math.max(this.max-this.min,0),h=function(t){var e=t/(r||1);return(e=1<e?Math.ceil(e):1)*o>l&&1/0!==t&&1/0!==r&&l&&(e=Math.ceil(l/o)),g(e*o)},c=o,p=Number.MAX_VALUE;if(n){if(!i.staggerLines&&!i.step)if(k(s))var u=[s];else r<i.autoRotationLimit&&(u=i.autoRotation);u&&u.forEach((function(i){if(i===s||i&&-90<=i&&90>=i){var n=(e=h(Math.abs(a.h/Math.sin(d*i))))+Math.abs(i/360);n<p&&(p=n,t=i,c=e)}}))}else i.step||(c=h(a.h));return this.autoRotation=u,this.labelRotation=P(t,k(s)?s:0),c},t.prototype.getSlotWidth=function(t){var e=this.chart,i=this.horiz,n=this.options.labels,o=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=e.margin[3];if(t&&k(t.slotWidth))return t.slotWidth;if(i&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/o;if(!i){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(r)return r-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,n=this.ticks,o=this.options.labels,r=o.style,s=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*o.padding)),h={},c=this.labelMetrics(),d=r.textOverflow,p=0;if(T(o.rotation)||(h.rotation=o.rotation||0),i.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>p&&(p=t.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>l&&p>c.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=l;if(!d){var f="clip";for(l=i.length;!s&&l--;){var g=i[l];(g=n[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}h.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),i.forEac
11h((function(t){var e=(t=n[t])&&t.label,i=r.width,o={};e&&(e.attr(h),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=u+"px",d||(o.textOverflow=e.specificTextOverflow||f),e.css(o)):e.styles&&e.styles.width&&!o.width&&!i&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=h.rotation)}),this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&m(this.min)&&m(this.max)},t.prototype.addTitle=function(t){var e,i=this.chart.renderer,n=this.horiz,o=this.opposite,r=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=r.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"left":"right"})[r.align]),this.axisTitle=i.text(r.text||"",0,0,r.useHTML).attr({zIndex:7,rotation:r.rotation,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(A(r.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||r.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)},t.prototype.getOffset=function(){var t=this,e=this,i=e.chart,n=e.horiz,o=e.options,r=e.side,s=e.ticks,a=e.tickPositions,l=e.coll,h=e.axisParent,c=i.renderer,d=i.inverted&&!e.isZAxis?[1,0,3,2][r]:r,p=e.hasData(),u=o.title,f=o.labels,g=i.axisOffset;i=i.clipOffset;var y,v=[-1,1,1,-1][r],x=o.className,b=0,C=0,S=0;if(e.showAxis=y=p||o.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var k=function(e,i,n){return c.g(e).attr({zIndex:n}).addClass("highcharts-"+l.toLowerCase()+i+" "+(t.isRadial?"highcharts-radial-axis"+i+" ":"")+(x||"")).add(h)};e.gridGroup=k("grid","-grid",o.gridZIndex),e.axisGroup=k("axis","",o.zIndex),e.labelGroup=k("axis-labels","-labels",f.zIndex)}if(p||e.isLinked?(a.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===r||2===r||{1:"left",3:"right"}[r]===e.labelAlign,P(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&a.forEach((function(t){S=Math.max(s[t].getLabelSize(),S)})),e.staggerLines&&(S*=e.staggerLines),e.labelOffset=S*(e.opposite?-1:1)):E(s,(function(t,e){t.destroy(),delete s[e]})),u&&u.text&&!1!==u.enabled&&(e.addTitle(y),y&&!1!==u.reserveSpace)){e.titleOffset=b=e.axisTitle.getBBox()[n?"height":"width"];var T=u.offset;C=m(T)?0:P(u.margin,n?5:10)}e.renderLine(),e.offset=v*P(o.offset,g[r]?g[r]+(o.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},u=0===r?-e.labelMetrics().h:2===r?e.tickRotCorr.y:0,p=Math.abs(S)+C,S&&(p=p-u+v*(n?P(f.y,e.tickRotCorr.y+8*v):f.x)),e.axisTitleMargin=P(T,p),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(s,a)),"colorAxis"!==l&&(n=this.tickSize("tick"),g[r]=Math.max(g[r],(e.axisTitleMargin||0)+b+v*e.offset,p,a&&a.length&&n?n[0]+v*e.offset:0),o=!e.axisLine||o.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),i[d]=Math.max(i[d],o)),w(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,i=this.opposite,n=this.offset,o=this.horiz,r=this.left+(i?this.width:0)+n;return n=e.chartHeight-this.bottom-(i?this.height:0)+n,i&&(t*=-1),e.renderer.crispLine([["M",o?this.left:r,o?n:this.top],["L",o?e.chartWidth-this.right:r,o?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,i=this.top,n=this.len,o=this.options.title,r=t?e:i,s=this.opposite,a=this.offset,l=o.x,h=o.y,c=this.axisTitle,d=this.chart.renderer.fontMetrics(o.style.fontSize,c);return c=Math.max(c.getBBox(null,0).height-d.h-1,0),n={low:r+(t?0:n),middle:r+n/2,high:r+(t?n:0)}[o.align],e=(t?i+this.height:e)+(t?1:-1)*(s?-1:1)*this.axisTitleMargin+[-c,c,d.f,-c][this.side],t={x:t?n+l:e+(s?this.width:0)+a+l,y:t?e+h-(s?this.height:0)+a:n+h},w(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var i=this.minorTicks;i[t]||(i[t]=new s(this,t,"minor")),e&&i[t].isNew&&i[t].render(null,!0),i[t].render(null,!1,1)}
11,t.prototype.renderTick=function(t,e,i){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new s(this,t)),i&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,i=this,n=i.chart,o=i.logarithmic,a=i.options,h=i.isLinked,c=i.tickPositions,d=i.axisTitle,p=i.ticks,u=i.minorTicks,f=i.alternateBands,g=a.stackLabels,m=a.alternateGridColor,y=i.tickmarkOffset,v=i.axisLine,x=i.showAxis,b=l(n.renderer.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[p,u,f].forEach((function(t){E(t,(function(t){t.isActive=!1}))})),i.hasData()||h){var C=i.chart.hasRendered&&i.old&&k(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(t){i.renderMinorTick(t,C)})),c.length&&(c.forEach((function(t,e){i.renderTick(t,e,C)})),y&&(0===i.min||i.single)&&(p[-1]||(p[-1]=new s(i,-1,null,!0)),p[-1].render(-1))),m&&c.forEach((function(s,a){e=void 0!==c[a+1]?c[a+1]+y:i.max-y,0==a%2&&s<i.max&&e<=i.max+(n.polar?-y:y)&&(f[s]||(f[s]=new r.PlotLineOrBand(i)),t=s+y,f[s].options={from:o?o.lin2log(t):t,to:o?o.lin2log(e):e,color:m,className:"highcharts-alternate-grid"},f[s].render(),f[s].isActive=!0)})),i._addedPlotLB||(i._addedPlotLB=!0,(a.plotLines||[]).concat(a.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)})))}[p,u,f].forEach((function(t){var e=[],i=b.duration;E(t,(function(t,i){t.isActive||(t.render(i,!1,0),t.isActive=!1,e.push(i))})),j((function(){for(var i=e.length;i--;)t[e[i]]&&!t[e[i]].isActive&&(t[e[i]].destroy(),delete t[e[i]])}),t!==f&&n.hasRendered&&i?i:0)})),v&&(v[v.isPlaced?"animate":"attr"]({d:this.getLinePath(v.strokeWidth())}),v.isPlaced=!0,v[x?"show":"hide"](x)),d&&x&&(a=i.getTitlePosition(),k(a.y)?(d[d.isNew?"attr":"animate"](a),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),g&&g.enabled&&i.stacking&&i.stacking.renderStackTotals(),i.old={len:i.len,max:i.max,min:i.min,transA:i.transA,userMax:i.userMax,userMin:i.userMin},i.isDirty=!1,w(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,i=e.plotLinesAndBands,n=this.eventOptions;if(w(this,"destroy",{keepEvents:t}),t||L(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){y(t)})),i)for(t=i.length;t--;)i[t].destroy();for(var o in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[o]=e.plotLinesAndBandsGroups[o].destroy();E(e,(function(t,i){-1===e.getKeepProps().indexOf(i)&&delete e[i]})),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,o=this.crosshair,r=P(o&&o.snap,!0),s=this.chart,a=this.cross;if(w(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),o&&!1!==(m(e)||!r)){if(r?m(e)&&(n=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),m(n)){var l={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:n};s.polar&&b(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!m(l))return void this.hideCrosshair();r=this.categories&&!this.isRadial,a||(this.cross=a=s.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(r?"category ":"thin ")+(o.className||"")).attr({zIndex:P(o.zIndex,2)}).add(),s.styledMode||(a.attr({stroke:o.color||(r?i.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":P(o.width,1)}).css({"pointer-events":"none"}),o.dashStyle&&a.attr({dashstyle:o.dashStyle}))),a.show().attr({d:l}),r&&!o.width&&a.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),w(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return k(t)&&0<t},t.prototype.update=function(t,e){var i=this.chart;t=A(this.userOptions,t),this.destroy(!0),this.init(i,t),i.isDirtyBox=!0,P(e,!0)&&i.redraw()},t.prototype.remove=function(t){for(var e=this.chart,i=this.coll,n=this.series,o=n.length;o--;)n[o]&&n[o].remove(!1);
11v(e.axes,this),v(e[i],this),e[i].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(i,"Core/Axis/DateTimeAxis.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.addEvent,n=t.getMagnitude,o=t.normalizeTickInterval,r=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,i(t,"init",s)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=i[i.length-1];var s,a=r[e[0]],l=e[1];for(s=0;s<i.length&&(e=i[s],a=r[e[0]],l=e[1],!(i[s+1]&&t<=(a*l[l.length-1]+r[i[s+1][0]])/2));s++);return a===r.year&&t<5*a&&(l=[1,2,5]),{unitRange:a,count:t=o(t/a,l,"year"===e[0]?Math.max(n(t/a),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var i=this.axis;return i.closestPointRange?i.chart.time.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=l}(e||(e={})),e})),e(i,"Core/Axis/LogarithmicAxis.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.addEvent,n=t.getMagnitude,o=t.normalizeTickInterval,r=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new l(this))}function s(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("logarithmic"),i(t,"init",e),i(t,"afterInit",s)),t};var l=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,i,s){var a=this.axis,l=a.len,h=a.options,c=[];if(s||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,i);else if(.08<=t){var d,p=Math.floor(e),u=h=void 0;for(l=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<i+1&&!u;p++){var f=l.length;for(d=0;d<f&&!u;d++){var g=this.log2lin(this.lin2log(p)*l[d]);g>e&&(!s||h<=i)&&void 0!==h&&c.push(h),h>i&&(u=!0),h=g}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():h.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,h.tickPixelInterval/(s?5:1)*(i-e)/((s?l/a.tickPositions.length:l)||1)),t=o(t,void 0,n(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=l}(e||(e={})),e})),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.erase,n=t.extend,o=t.isNumber;return function(t){var e,r=[];t.compose=function(t,i){return e||(e=t),-1===r.indexOf(i)&&(r.push(i),n(i.prototype,s.prototype)),i};var s=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,i){void 0===i&&(i=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:i.acrossPanes}),r=[],s=this.horiz;if(e=!o(this.min)||!o(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&n){if(e){var a=t.toString()===n.toString();i=0}for(e=0;e<t.length;e+=2){var l=t[e],h=t[e+1],c=n[e],d=n[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==h[0]&&"L"!==h[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==d[0]&&"L"!==d[0]||(s&&c[1]===l[1]?(c[1]+=i,d[1]+=i):s||c[2]!==l[2]||(c[2]+=i,d[2]+=i),r.push(["M",l[1],l[2]],["L",h[1],h[2]],["L",d[1],d[2]],["L",c[1],c[2]],["Z"])),r.isFlat=a}}return r},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,i){var n=this,o=this.userOptions,r=new e(this,t);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(o.plotLines||[]).concat(o.plotBands||[]).forEac
11h((function(t){n.addPlotBandOrLine(t)}))),i){var s=o[i]||[];s.push(t),o[i]=s}this.plotLinesAndBands.push(r)}return r},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,o=this.userOptions;if(e){for(var r=e.length;r--;)e[r].id===t&&e[r].destroy();[n.plotLines||[],o.plotLines||[],n.plotBands||[],o.plotBands||[]].forEach((function(e){for(r=e.length;r--;)(e[r]||{}).id===t&&i(e,e[r])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(i,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[i["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.arrayMax,n=e.arrayMin,o=e.defined,r=e.destroyObjectProperties,s=e.erase,a=e.fireEvent,l=e.merge,h=e.objectEach,c=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(i){return t.compose(e,i)},e.prototype.render=function(){a(this,"render");var t=this,e=t.axis,i=e.horiz,n=e.logarithmic,r=t.options,s=r.color,d=c(r.zIndex,0),p=r.events,u={},f=e.chart.renderer,g=r.label,m=t.label,y=r.to,v=r.from,x=r.value,b=t.svgElem,w=[],C=o(v)&&o(y);w=o(x);var S=!b,k={class:"highcharts-plot-"+(C?"band ":"line ")+(r.className||"")},T=C?"bands":"lines";if(n&&(v=n.log2lin(v),y=n.log2lin(y),x=n.log2lin(x)),e.chart.styledMode||(w?(k.stroke=s||"#999999",k["stroke-width"]=c(r.width,1),r.dashStyle&&(k.dashstyle=r.dashStyle)):C&&(k.fill=s||"#e6ebf5",r.borderWidth&&(k.stroke=r.borderColor,k["stroke-width"]=r.borderWidth))),u.zIndex=d,T+="-"+d,(n=e.plotLinesAndBandsGroups[T])||(e.plotLinesAndBandsGroups[T]=n=f.g("plot-"+T).attr(u).add()),S&&(t.svgElem=b=f.path().attr(k).add(n)),w)w=e.getPlotLinePath({value:x,lineWidth:b.strokeWidth(),acrossPanes:r.acrossPanes});else{if(!C)return;w=e.getPlotBandPath(v,y,r)}return!t.eventsAdded&&p&&(h(p,(function(e,i){b.on(i,(function(e){p[i].apply(t,[e])}))})),t.eventsAdded=!0),(S||!b.d)&&w&&w.length?b.attr({d:w}):b&&(w?(b.show(!0),b.animate({d:w})):b.d&&(b.hide(),m&&(t.label=m=m.destroy()))),g&&(o(g.text)||o(g.formatter))&&w&&w.length&&0<e.width&&0<e.height&&!w.isFlat?(g=l({align:i&&C&&"center",x:i?!C&&4:10,verticalAlign:!i&&C&&"middle",y:i?C?16:10:C?6:-4,rotation:i&&!C&&90},g),this.renderLabel(g,w,C,d)):m&&m.hide(),t},e.prototype.renderLabel=function(t,e,o,r){var s=this.axis,a=s.chart.renderer,h=this.label;h||(this.label=h=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(o?"band":"line")+"-label "+(t.className||""),zIndex:r}).add(),s.chart.styledMode||h.css(l({textOverflow:"ellipsis"},t.style))),r=e.xBounds||[e[0][1],e[1][1],o?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],o?e[2][2]:e[0][2]],o=n(r),a=n(e),h.align(t,!1,{x:o,y:a,width:i(r)-o,height:i(e)-a}),h.alignValue&&"left"!==h.alignValue||h.css({width:(90===h.rotation?s.height-(h.alignAttr.y-s.top):s.width-(h.alignAttr.x-s.left))+"px"}),h.show(!0)},e.prototype.getLabelText=function(t){return o(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){s(this.axis.plotLinesAndBands,this),delete this.axis,r(this)},e}()})),e(i,"Core/Tooltip.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.format,s=e.doc,a=i.distribute,l=o.addEvent,h=o.clamp,c=o.css,d=o.defined,p=o.discardElement,u=o.extend,f=o.fireEvent,g=o.isArray,m=o.isNumber,y=o.isString,v=o.merge,x=o.pick,b=o.splat,w=o.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))}
11,t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var i=e&&e.tt;i&&(!i.isActive||t?e.tt=i.destroy():i.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||b(this),i=[t.tooltipFooterHeaderFormatter(e[0])];return(i=i.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),i},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),p(this.container)),o.clearTimeout(this.hideTimer),o.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var i,n,o=this.chart,r=o.pointer,s=o.inverted,a=o.plotTop,l=o.plotLeft,h=0,c=0;return t=b(t),this.followPointer&&e?(void 0===e.chartX&&(e=r.normalize(e)),r=[e.chartX-l,e.chartY-a]):t[0].tooltipPos?r=t[0].tooltipPos:(t.forEach((function(t){i=t.series.yAxis,n=t.series.xAxis,h+=t.plotX||0,c+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&i&&(s?(h+=a+o.plotHeight-n.len-n.pos,c+=l+o.plotWidth-i.len-i.pos):(h+=n.pos-l,c+=i.pos-a))})),h/=t.length,c/=t.length,r=[s?o.plotWidth-c:h,s?o.plotHeight-h:c],this.shared&&1<t.length&&e&&(s?r[0]=e.chartX-l:r[1]=e.chartY-a)),r.map(Math.round)},t.prototype.getLabel=function(){var t,i=this,o=this.chart.styledMode,r=this.options,s=this.split&&this.allowShared,a="tooltip"+(d(r.className)?" "+r.className:""),h=r.style.pointerEvents||(!this.followPointer&&r.stickOnContact?"auto":"none"),p=function(){i.inContact=!0},u=function(t){var e=i.chart.hoverSeries;i.inContact=i.shouldStickOnContact()&&i.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!i.inContact&&e&&e.onMouseOut&&e.onMouseOut()},f=this.chart.renderer;if(i.label){var g=!i.label.hasClass("highcharts-label");(s&&!g||!s&&g)&&i.destroy()}if(!this.label){if(this.outside){g=this.chart.options.chart.style;var m=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",c(t,{position:"absolute",top:"1px",pointerEvents:h,zIndex:Math.max(this.options.style.zIndex||0,(g&&g.zIndex||0)+3)}),l(t,"mouseenter",p),l(t,"mouseleave",u),e.doc.body.appendChild(t),this.renderer=f=new m(t,0,0,g,void 0,void 0,f.styledMode)}if(s?this.label=f.g(a):(this.label=f.label("",0,0,r.shape,void 0,void 0,r.useHTML,void 0,a).attr({padding:r.padding,r:r.borderRadius}),o||this.label.attr({fill:r.backgroundColor,"stroke-width":r.borderWidth}).css(r.style).css({pointerEvents:h}).shadow(r.shadow)),o&&r.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var y=this.label,v=y.xSetter,x=y.ySetter;y.xSetter=function(e){v.call(y,i.distance),t.style.left=e+"px"},y.ySetter=function(e){x.call(y,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",p).on("mouseleave",u).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var n,o=this.chart,r=this.distance,a={},l=o.inverted&&i.h||0,h=this.outside,c=h?s.documentElement.clientWidth-2*r:o.chartWidth,d=h?Math.max(s.body.scrollHeight,s.documentElement.scrollHeight,s.body.offsetHeight,s.documentElement.offsetHeight,s.documentElement.clientHeight):o.chartHeight,p=o.pointer.getChartPosition(),u=function(n){var s="x"===n;return[n,s?c:d,s?t:e].concat(h?[s?t*p.scaleX:e*p.scaleY,s?p.left-r+(i.plotX+o.plotLeft)*p.scaleX:p.top-r+(i.plotY+o.plotTop)*p.scaleY,0,s?c:d]:[s?t:e,s?i.plotX+o.plotLeft:i.plotY+o.plotTop,s?o.plotLeft:o.plotTop,s?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},f=u("y"),g=u("x");u=!!i.negative,!o.polar&&o.hoverSeries&&o.hoverSeries.yAxis&&o.hoverSeries.yAxis.reversed&&(u=!u);var m=!this.followPointer&&x(i.ttBelow,!o.inverted===u),y=function(t,e,i,n,o,s,c){var d=h?"y"===t?r*p.scaleY:r*p.scaleX:r,u=(i-n)/2,f=n<o-r,g=o+r+n<e,y=o-d-i+u;if(o=o+d-u,m&&g)a[t]=o;else if(!m&&f)a[t]=y;else if(f)a[t]=Math.min(c-n,0>y-l?y:y-l);else{if(!g)return!1;a[t]=Math.max(s,o+l+i>e?o:o+l)}},v=function(t,e,i,n,o){var s;return o<r||o>e-r?s=!1:a[t]=o<i/2?1:o>e-n/2?e-n-2:o-i/2,s},b=function(t){var e=f;f=g,g=e,n=t},w=function(){!1!==y.apply(0,f)?!1!==v.apply(0,g)||n||(b(!0),w()):n?a.x=a.y=0:(b(!0),w())};return(o.inverted||1<this.len)&&b(),w(),a},t.prototype.hide=function(t){var e=this;o.clearTimeout(this.hideTimer),t=x(t,this.options.hideDelay),this.isHidden||(this.hideTimer=w((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=x(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)}
11,t.prototype.move=function(t,e,i,n){var r=this,s=r.now,a=!1!==r.options.animation&&!r.isHidden&&(1<Math.abs(t-s.x)||1<Math.abs(e-s.y)),l=r.followPointer||1<r.len;u(s,{x:a?(2*s.x+t)/3:t,y:a?(s.y+e)/2:e,anchorX:l?void 0:a?(2*s.anchorX+i)/3:i,anchorY:l?void 0:a?(s.anchorY+n)/2:n}),r.getLabel().attr(s),r.drawTracker(),a&&(o.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){r&&r.move(t,e,i,n)}),32))},t.prototype.refresh=function(t,e){var i=this.chart,n=this.options,r=b(t),s=r[0],a=[],l=n.formatter||this.defaultFormatter,h=this.shared,c=i.styledMode,d={};if(n.enabled){o.clearTimeout(this.hideTimer),this.allowShared=!(!g(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&s.series.tooltipOptions.followPointer;var p=(t=this.getAnchor(t,e))[0],u=t[1];if(h&&this.allowShared?(i.pointer.applyInactiveState(r),r.forEach((function(t){t.setState("hover"),a.push(t.getLabelConfig())})),(d={x:s.category,y:s.y}).points=a):d=s.getLabelConfig(),this.len=a.length,l=l.call(d,this),h=s.series,this.distance=x(h.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,r);else{var m=p,y=u;if(e&&i.pointer.isDirectTouch&&(m=e.chartX-i.plotLeft,y=e.chartY-i.plotTop),!i.polar&&!1!==h.options.clip&&!r.some((function(t){return t.series.shouldShowTooltip(m,y)})))return void this.hide();e=this.getLabel(),n.style.width&&!c||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+x(s.colorIndex,h.colorIndex)),c||e.attr({stroke:n.borderColor||s.color||h.color||"#666666"}),this.updatePosition({plotX:p,plotY:u,negative:s.negative,ttBelow:s.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}f(this,"refresh")}},t.prototype.renderSplit=function(t,e){function i(t,e,i,o,r){return void 0===r&&(r=!0),i?(e=P?0:j,t=h(t-o/2,A.left,A.right-o-(n.outside?O:0))):(e-=L,t=h(t=r?t-o-S:t+S,r?t:A.left,A.right)),{x:t,y:e}}var n=this,o=n.chart,r=n.chart,l=r.chartWidth,c=r.chartHeight,d=r.plotHeight,p=r.plotLeft,f=r.plotTop,g=r.pointer,m=r.scrollablePixelsY;m=void 0===m?0:m;var v=r.scrollablePixelsX,b=r.scrollingContainer,w=(b=void 0===b?{scrollLeft:0,scrollTop:0}:b).scrollLeft;b=b.scrollTop;var C=r.styledMode,S=n.distance,k=n.options,T=n.options.positioner,A=n.outside&&"number"!=typeof v?s.documentElement.getBoundingClientRect():{left:w,right:w+l,top:b,bottom:b+c},M=n.getLabel(),E=this.renderer||o.renderer,P=!(!o.xAxis[0]||!o.xAxis[0].opposite),O=(o=g.getChartPosition()).left;o=o.top;var L=f+b,D=0,j=d-m;y(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,o,r){if(!1!==o&&""!==o){var s=(r=e[r-1]||{isHeader:!0,plotX:e[0].plotX,plotY:d,series:{}}).isHeader,a=s?n:r.series;o=o.toString();var l=a.tt,c=r.isHeader,u=r.series,g="highcharts-color-"+x(r.colorIndex,u.colorIndex,"none");if(l||(l={padding:k.padding,r:k.borderRadius},C||(l.fill=k.backgroundColor,l["stroke-width"]=k.borderWidth),l=E.label("",0,0,k[c?"headerShape":"shape"],void 0,void 0,k.useHTML).addClass((c?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+g).attr(l).add(M)),l.
11isActive=!0,l.attr({text:o}),C||l.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||r.color||u.color||"#333333"}),o=(c=(a=a.tt=l).getBBox()).width+a.strokeWidth(),s&&(D=c.height,j+=D,P&&(L-=D)),u=void 0===(u=r.plotX)?0:u,g=void 0===(g=r.plotY)?0:g,l=r.series,r.isHeader){u=p+u;var m=f+d/2}else{var y=l.xAxis,v=l.yAxis;u=y.pos+h(u,-S,y.len+S),l.shouldShowTooltip(0,v.pos-f+g,{ignoreX:!0})&&(m=v.pos+g)}u=h(u,A.left-S,A.right+S),"number"==typeof m?(c=c.height+1,g=T?T.call(n,o,c,r):i(u,m,s,o),t.push({align:T?0:void 0,anchorX:u,anchorY:m,boxWidth:o,point:r,rank:x(g.rank,s?1:0),size:c,target:g.y,tt:a,x:g.x})):a.isActive=!1}return t}),[]),!T&&t.some((function(t){var e=(n.outside?O:0)+t.anchorX;return e<A.left&&e+t.boxWidth<A.right||e<O-A.left+t.boxWidth&&A.right-e>e}))&&(t=t.map((function(t){var e=i(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return u(t,{target:e.y,x:e.x})}))),n.cleanSplit(),a(t,j);var N=O,I=O;t.forEach((function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(n.outside&&O+e<N&&(N=O+e),!t&&n.outside&&N+i>I&&(I=O+e))})),t.forEach((function(t){var e=t.x,i=t.anchorX,o=t.pos,r=t.point.isHeader;if(o={visibility:void 0===o?"hidden":"inherit",x:e,y:o+L,anchorX:i,anchorY:t.anchorY},n.outside&&e<i){var s=O-N;0<s&&(r||(o.x=e+s,o.anchorX=i+s),r&&(o.x=(I-N)/2,o.anchorX=i+s))}t.tt.attr(o)})),t=n.container,m=n.renderer,n.outside&&t&&m&&(r=M.getBBox(),m.setSize(r.width+r.x,r.height+r.y,!1),t.style.left=N+"px",t.style.top=o+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,i=this.shared?t.hoverPoints:t.hoverPoint;if(e&&i){var n={x:0,y:0,width:0,height:0};i=this.getAnchor(i);var o=e.getBBox();i[0]+=t.plotLeft-e.translateX,i[1]+=t.plotTop-e.translateY,n.x=Math.min(0,i[0]),n.y=Math.min(0,i[1]),n.width=0>i[0]?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),n.height=0>i[1]?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=t.series,n=i.tooltipOptions,o=i.xAxis,s=o&&o.dateTime;o={isFooter:e,labelConfig:t};var a=n.xDateFormat,l=n[e?"footerFormat":"headerFormat"];return f(this,"headerFormatter",o,(function(e){s&&!a&&m(t.key)&&(a=s.getXDateFormat(t.key,n.dateTimeLabelFormats)),s&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEac
11h((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+a+"}")})),i.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=r(l,{point:t,series:i},this.chart)})),o.text},t.prototype.update=function(t){this.destroy(),v(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,v(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=this.options,n=e.pointer,o=this.getLabel();n=n.getChartPosition();var r=(i.positioner||this.getPosition).call(this,o.width,o.height,t),s=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(i=i.borderWidth+2*this.distance,this.renderer.setSize(o.width+i,o.height+i,!1),1===n.scaleX&&1===n.scaleY||(c(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),s*=n.scaleX,t*=n.scaleY),s+=n.left-r.x,t+=n.top-r.y),this.move(Math.round(r.x),Math.round(r.y||0),s,t)},t}()})),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=e.animObject,s=i.defaultOptions,a=n.format,l=o.addEvent,h=o.defined,c=o.erase,d=o.extend,p=o.fireEvent,u=o.getNestedProperty,f=o.isArray,g=o.isFunction,m=o.isNumber,y=o.isObject,v=o.merge,x=o.objectEach,b=o.pick,w=o.syncTimeout,C=o.removeEvent,S=o.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},i=t.getGraphicalProps();i.singular.forEach((function(i){t[i]=t[i].animate("dataLabel"===i?{x:t[i].startXPos,y:t[i].startYPos,opacity:0}:e)})),i.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,i){var n=this.series,o=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=b(this.isValid&&!this.isValid(),null===this.x||!m(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===i&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=void 0===i?n.autoIncrement():i:m(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(o in(e.graphic||e.dataLabel||e.dataLabels)&&(C(e),e.destroyElements()),e)e[o]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var o,s=n.hoverPoints,a=r(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),s&&(e.setState(),c(s,e),s.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),w(t,a.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,i){var n=this,o=this.series.options;(o.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),p(n,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,n=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}
11).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var r=n[e];i[r]&&o.singular.push(r)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&i[n]&&o.plural.push(n)})),o},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?u(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,n=0;for(i=e[n];this[t]>=i.value;)i=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=h(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,p(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i=this.series,n=i.options.keys,o=n||i.pointArrayMap||["y"],r=o.length,s={},a=0,l=0;if(m(t)||null===t)s[o[0]]=t;else if(f(t))for(!n&&t.length>r&&("string"===(i=typeof t[0])?s.name=t[0]:"number"===i&&(s.x=t[0]),a++);l<r;)n&&void 0===t[a]||(0<o[l].indexOf(".")?e.prototype.setNestedProperty(s,t[a],o[l]):s[o[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(i._hasPointLabels=!0),t.marker&&(i._hasPointMarkers=!0));return s},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,i=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var n=(i=t.options.colors||t.chart.options.colors)[t.colorCounter];i=i.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===i&&(t.colorCounter=0)}else e||(n=t.color),e=t.colorIndex;this.colorIndex=b(this.options.colorIndex,e),this.color=b(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,i){return i.split(".").reduce((function(t,i,n,o){return t[i]=o.length-1===n?e:y(t[i],!0)?t[i]:{},t[i]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,i=e.tooltipOptions,n=b(i.valueDecimals,""),o=i.valuePrefix||"",r=i.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEac
11h((function(e){e="{point."+e,(o||r)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+r)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),a(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,i,n){function o(){s.applyOptions(t);var n=l&&s.hasDummyGraphic;n=null===s.y?!n:n,l&&n&&(s.graphic=l.destroy(),delete s.hasDummyGraphic),y(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(s.graphic=l.destroy()),t&&t.dataLabels&&s.dataLabel&&(s.dataLabel=s.dataLabel.destroy()),s.connector&&(s.connector=s.connector.destroy())),r=s.index,a.updateParallelArrays(s,r),c.data[r]=y(c.data[r],!0)||y(t,!0)?s.options:b(t,c.data[r]),a.isDirty=a.isDirtyData=!0,!a.fixedBox&&a.hasCartesianSeries&&(h.isDirtyBox=!0),"point"===c.legendType&&(h.isDirtyLegend=!0),e&&h.redraw(i)}var r,s=this,a=s.series,l=s.graphic,h=a.chart,c=a.options;e=b(e,!0),!1===n?o():s.firePointEvent("update",{options:t},o)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var i=this,n=i.series,o=n.chart;this.selectedStaging=t=b(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){i.selected=i.options.selected=t,n.options.data[n.data.indexOf(i)]=i.options,i.setState(t&&"select"),e||o.getSelectedPoints().forEac
11h((function(t){var e=t.series;t.selected&&t!==i&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,i=e.pointer;t=t?i.normalize(t):i.getChartCoordinatesFromPoint(this,e.inverted),i.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=v(t.series.options.point,t.options).events;t.events=e,x(e,(function(e,i){g(e)&&l(t,i,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,i){var n,o=this.series,r=this.state,a=o.options.states[e||"normal"]||{},l=s.plotOptions[o.type].marker&&o.options.marker,h=l&&!1===l.enabled,c=l&&l.states&&l.states[e||"normal"]||{},u=!1===c.enabled,f=this.marker||{},g=o.chart,y=l&&o.markerAttribs,v=o.halo,x=o.stateMarkerGraphic;if(!((e=e||"")===this.state&&!i||this.selected&&"select"!==e||!1===a.enabled||e&&(u||h&&!1===c.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,y&&(n=o.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(r&&this.graphic.removeClass("highcharts-point-"+r),e&&this.graphic.addClass("highcharts-point-"+e),!g.styledMode){var w=o.pointAttribs(this,e),C=b(g.options.chart.animation,a.animation);o.options.inactiveOtherPoints&&m(w.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:w.opacity},C)})),this.connector&&this.connector.animate({opacity:w.opacity},C)),this.graphic.animate(w,C)}n&&this.graphic.animate(n,b(g.options.chart.animation,c.animation,l.animation)),x&&x.hide()}else e&&c&&(r=f.symbol||o.symbol,x&&x.currentSymbol!==r&&(x=x.destroy()),n&&(x?x[i?"animate":"attr"]({x:n.x,y:n.y}):r&&(o.stateMarkerGraphic=x=g.renderer.symbol(r,n.x,n.y,n.width,n.height).add(o.markerGroup),x.currentSymbol=r)),!g.styledMode&&x&&"inactive"!==this.state&&x.attr(o.pointAttribs(this,e))),x&&(x[e&&this.isInside?"show":"hide"](),x.element.point=this,x.addClass(this.getClassName(),!0));a=a.halo,n=(x=this.graphic||x)&&x.visibility||"inherit",a&&a.size&&x&&"hidden"!==n&&!this.isCluster?(v||(o.halo=v=g.renderer.path().add(x.parentGroup)),v.show()[i?"animate":"attr"]({d:this.haloPath(a.size)}),v.attr({class:"highcharts-halo highcharts-color-"+b(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),v.point=this,g.styledMode||v.attr(d({fill:this.color||o.color,"fill-opacity":a.opacity},t.filterUserAttributes(a.attributes||{})))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)},null,v.hide),p(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=t.parse,r=e.charts,s=e.noop,a=n.addEvent,l=n.attr,h=n.css,c=n.defined,d=n.extend,p=n.find,u=n.fireEvent,f=n.isNumber,g=n.isObject,m=n.objectEach,y=n.offset,v=n.pick,x=n.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var i=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),m(i,(function(t,e){i[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,i=e.options.chart,n=this.zoomHor,r=this.zoomVert,s=e.plotLeft,a=e.plotTop,l=e.plotWidth,h=e.plotHeight,c=this.mouseDownX||0,d=this.mouseDownY||0,p=g(i.panning)?i.panning&&i.panning.enabled:i.panning,u=i.panKey&&t[i.panKey+"Key"],f=t.chartX,m=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(f<s?f=s:f>s+l&&(f=s+l),m<a?m=a:m>a+h&&(m=a+h),this.hasDragged=Math.sqrt(Math.pow(c-f,2)+Math.pow(d-m,2)),10<this.hasDragged)){var v=e.isInsidePlot(c-s,d-a,{visiblePlotOnly:!0});
11!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!v||u||y||(this.selectionMarker=y=e.renderer.rect(s,a,n?1:l,r?1:h,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||y.attr({fill:i.selectionMarkerFill||o("#335cad").setOpacity(.25).get()})),y&&n&&(n=f-c,y.attr({width:Math.abs(n),x:(0<n?0:n)+c})),y&&r&&(n=m-d,y.attr({height:Math.abs(n),y:(0<n?0:n)+d})),v&&!y&&p&&e.pan(t,i.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,i=this.chart,n=this.hasPinched;if(this.selectionMarker){var o=this.selectionMarker,r=o.attr?o.attr("x"):o.x,s=o.attr?o.attr("y"):o.y,a=o.attr?o.attr("width"):o.width,l=o.attr?o.attr("height"):o.height,p={originalEvent:t,xAxis:[],yAxis:[],x:r,y:s,width:a,height:l},g=!!i.mapView;(this.hasDragged||n)&&(i.axes.forEach((function(i){if(i.zoomEnabled&&c(i.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[i.coll]])&&f(r)&&f(s)){var o=i.horiz,h="touchend"===t.type?i.minPixelPadding:0,d=i.toValue((o?r:s)+h);o=i.toValue((o?r+a:s+l)-h),p[i.coll].push({axis:i,min:Math.min(d,o),max:Math.max(d,o)}),g=!0}})),g&&u(i,"selection",p,(function(t){i.zoom(d(t,n?{animation:!1}:null))}))),f(i.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}i&&f(i.index)&&(h(i.container,{cursor:i._cursor}),i.cancelClick=10<this.hasDragged,i.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,i){var n,o=this.chart,r=o.hoverPoint;return o=o.tooltip,r&&o&&o.isStickyOnContact()?r:(t.forEach((function(t){var o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,o),(o=g(t,!0)&&t.series)&&!(o=!g(n,!0))){o=n.distX-t.distX;var r=n.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);o=0<(0!==o&&e?o:0!==r?r:0!==s?s:n.series.index>t.series.index?-1:1)}o&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,n=i.xAxis;i=i.yAxis;var o=t.shapeArgs;if(n&&i){var r=v(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&o&&f(o.x)&&f(o.y)&&(r=o.x,s=o.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-r}:{chartX:r+n.pos,chartY:s+i.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=y(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2<i&&2<t&&(this.chartPosition.scaleX=e.width/i,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(i){e[i.isXAxis?"xAxis":"yAxis"].push({axis:i,value:i.toValue(t[i.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,i,n,o,r){var s=[];n=!(!n||!t);var a={chartX:r?r.chartX:void 0,chartY:r?r.chartY:void 0,shared:o};u(this,"beforeGetHoverData",a);var l=e&&!e.stickyTracking?[e]:i.filter((function(t){return a.filter?a.filter(t):t.visible&&!(!o&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&t.stickyTracking})),h=n||!r?t:this.findNearestKDPoint(l,o,r);return e=h&&h.series,h&&(o&&!e.noSharedTooltip?(l=i.filter((function(t){return a.filter?a.filter(t):t.visible&&!(!o&&t.directTouch)&&v(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=p(t.points,(function(t){return t.x===h.x&&!t.isNull}));g(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),s.push(e))})):s.push(h)),u(this,"afterGetHoverData",a={hoverPoint:h}),{hoverPoint:a.hoverPoint,hoverSeries:e,hoverPoints:s}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var i;t;){if(i=l(t,"class")){if(-1!==i.indexOf(e))return!0;
11if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},i&&(t.tooltip=new i(t,e.tooltip),this.followTouchMove=v(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var i=t.touches,n=i?i.length?i.item(0):v(i.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),i=n.pageX-e.left,n=n.pageY-e.top,i/=e.scaleX,n/=e.scaleY,d(t,{chartX:Math.round(i),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,i=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,o=e.plotTop;e.cancelClick||(i&&this.inClass(t.target,"highcharts-tracker")?(u(i.series,"click",d(t,{point:i})),e.hoverPoint&&i.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-o,{visiblePlotOnly:!0})&&u(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var i=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||i)&&(this.zoomOption(t),i&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var i=r[v(t.hoverChartIndex,-1)],n=this.chart.tooltip;n&&n.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),i&&(e.relatedTarget||e.toElement)&&(i.pointer.reset(),i.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var i=r[v(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,i=this.chartPosition;t=this.normalize(t,i);var n=e.tooltip;!i||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var i=r[v(t.hoverChartIndex,-1)];i&&i.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,i=e.chart,n=e.pinchDown,o=t.touches||[],r=o.length,a=e.lastValidTouch,l=e.hasZoom,h={},c=1===r&&(e.inClass(t.target,"highcharts-tracker")&&i.runTrackerClick||e.runChartClick),p={},f=e.selectionMarker;1<r?e.initiated=!0:1===r&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!c&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),a.x=[n[0].chartX,n[1]&&n[1].chartX],a.y=[n[0].chartY,n[1]&&n[1].chartY],i.axes.forEach((function(t){if(t.zoomEnabled){var e=i.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,o=t.toPixels(Math.min(v(t.options.min,t.dataMin),t.dataMin)),r=t.toPixels(Math.max(v(t.options.max,t.dataMax),t.dataMax)),s=Math.max(o,r);e.min=Math.min(t.pos,Math.min(o,r)-n),e.max=Math.max(t.pos+t.len,s+n)}})),e.res=!0):e.followTouchMove&&1===r?this.runPointActions(e.normalize(t)):n.length&&(u(i,"touchpan",{originalEvent:t},(function(){f||(e.selectionMarker=f=d({destroy:s,touch:!0},i.plotBox)),e.pinchTranslate(n,o,h,f,p,a),e.hasPinched=l,e.scaleGroups(h,p)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,i,n,o,r){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,i,n,o,r),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,i,n,o,r)}
11,t.prototype.pinchTranslateDirection=function(t,e,i,n,o,r,s,a){var l=this.chart,h=t?"x":"y",c=t?"X":"Y",d="chart"+c,p=t?"width":"height",u=l["plot"+(t?"Left":"Top")],f=l.inverted,g=l.bounds[t?"h":"v"],m=1===e.length,y=e[0][d],v=!m&&e[1][d];e=function(){"number"==typeof S&&20<Math.abs(y-v)&&(w=a||Math.abs(C-S)/Math.abs(y-v)),b=(u-C)/w+y,x=l["plot"+(t?"Width":"Height")]/w};var x,b,w=a||1,C=i[0][d],S=!m&&i[1][d];if(e(),(i=b)<g.min){i=g.min;var k=!0}else i+x>g.max&&(i=g.max-x,k=!0);k?(C-=.8*(C-s[h][0]),"number"==typeof S&&(S-=.8*(S-s[h][1])),e()):s[h]=[C,S],f||(r[h]=b-u,r[p]=x),r=f?1/w:w,o[p]=x,o[h]=i,n[f?t?"scaleY":"scaleX":"scale"+c]=w,n["translate"+c]=r*u+(C-r*y)},t.prototype.reset=function(t,e){var i=this.chart,n=i.hoverSeries,o=i.hoverPoint,r=i.hoverPoints,s=i.tooltip,a=s&&s.shared?r:o;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&x(a).length&&(s.refresh(a),s.shared&&r?r.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),i.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),r&&r.forEach((function(t){t.setState()})),n&&n.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(e,i){var n=this.chart,o=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,s=!!o&&o.shared,l=i||n.hoverPoint,h=l&&l.series||n.hoverSeries;l=(i=this.getHoverData(l,h,n.series,(!e||"touchmove"!==e.type)&&(!!i||h&&h.directTouch&&this.isDirectTouch),s,e)).hoverPoint,h=i.hoverSeries;var c=i.hoverPoints;if(i=h&&h.tooltipOptions.followPointer&&!h.tooltipOptions.split,s=s&&h&&!h.noSharedTooltip,l&&(l!==n.hoverPoint||o&&o.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),n.hoverSeries!==h&&h.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!l.series)return;n.hoverPoints=c,n.hoverPoint=l,l.firePointEvent("mouseOver"),o&&o.refresh(s?c:l,e)}else i&&o&&!o.isHidden&&(l=o.getAnchor([{}],e),n.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(n.container.ownerDocument,"mousemove",(function(e){var i=r[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var i,o=v((t.crosshair||{}).snap,!0);o&&((i=n.hoverPoint)&&i.series[t.coll]===t||(i=p(c,(function(e){return e.series[t.coll]===t})))),i||!o?t.drawCrosshair(e,i):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i=this.chart;i.series.forEach((function(n){var o=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||i.mapView)&&(n.group.attr(o),n.markerGroup&&(n.markerGroup.attr(o),n.markerGroup.clip(e?i.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(o))})),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var i=this,n=this.chart.container,o=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(a(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(a(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=a(o,"mouseup",this.onDocumentMouseUp.bind(this)));for(var r=this.chart.renderTo.parentElement;r&&"BODY"!==r.tagName;)this.eventsToUnbind.push(a(r,"scroll",(function(){delete i.chartPosition}))),r=r.parentElement;e.hasTouch&&(this.eventsToUnbind.push(a(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(a(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=a(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var i=this.chart,n=e.charts[v(t.hoverChartIndex,-1)];n&&n!==i&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=i.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));v(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart;e=e.inverted;var n=i.zoomType||"";/touch/.test(t.type)&&(n=v(i.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=i=/y/.test(n),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},t}()})),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],(function(t,e,
11i){function n(){var t=[];return t.item=function(t){return this[t]},p(f,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(t,i,o,r){var a=s[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!a||(a=a.pointer,r(t),a[i]({type:o,target:t.currentTarget,preventDefault:l,touches:n()}))}var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.charts,a=t.doc,l=t.noop,h=t.win,c=i.addEvent,d=i.css,p=i.objectEach,u=i.removeEvent,f={},g=!!h.PointerEvent;return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return r(i,e),i.isRequired=function(){return!(t.hasTouch||!h.PointerEvent&&!h.MSPointerEvent)},i.prototype.batchMSEvents=function(t){t(this.chart.container,g?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,g?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,g?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},i.prototype.destroy=function(){this.batchMSEvents(u),e.prototype.destroy.call(this)},i.prototype.init=function(t,i){e.prototype.init.call(this,t,i),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},i.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},i.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)}))},i.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete f[t.pointerId]}))},i.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(c)},i}(e)})),e(i,"Core/Legend/Legend.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Point.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=t.animObject,a=t.setAnimation,l=e.format;t=i.isFirefox;var h=i.marginNames;i=i.win;var c=o.distribute,d=r.addEvent,p=r.createElement,u=r.css,f=r.defined,g=r.discardElement,m=r.find,y=r.fireEvent,v=r.isNumber,x=r.merge,b=r.pick,w=r.relativeLength,C=r.stableSort,S=r.syncTimeout;return o=r.wrap,r=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),d(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=d(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=b(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=x(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=b(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var i=this.chart;this.setOptions(x(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,b(e,!0)&&i.redraw(),y(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options,n=t.legendItem,o=t.legendLine,r=t.legendSymbol,s=this.itemHiddenStyle.color;i=e?i.itemStyle.color:s;var a=e&&t.color||s,l=t.options&&t.options.marker,h={fill:a};n&&n.css({fill:i,color:i}),o&&o.attr({stroke:a}),r&&(l&&r.isMarker&&(h=t.pointAttribs(),e||(h.stroke=h.fill=s)),r.attr(h))}y(this,"afterColorizeItem",{item:t,visible:e})}
11,t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,i=this.options,n=i.symbolPadding,o=!i.rtl,r=t._legendItemPos;i=r[0],r=r[1];var s=t.checkbox,a=t.legendGroup;a&&a.element&&(n={translateX:o?i:this.legendWidth-i-2*n-4,translateY:r},o=function(){y(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(n,void 0,o):(a.attr(n),o())),s&&(s.x=i,s.y=r)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&g(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,i=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach((function(o){var r=o.checkbox;if(r){var s=n+i+r.y+(this.scrollOffset||0)+3;u(r,{left:t.translateX+o.checkboxOffset+r.x-20+"px",top:s+"px",display:this.proximate||s>n-6&&s<n+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,i=t.title,n=0;i.text&&(this.title||(this.title=this.chart.renderer.label(i.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(i.style),this.title.add(this.group)),i.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,i=e.renderer,n=this.options,o=this.symbolWidth,r=n.symbolPadding||0,s=this.itemStyle,a=this.itemHiddenStyle,l="horizontal"===n.layout?b(n.itemDistance,20):0,h=!n.rtl,c=!t.series,d=!c&&t.series.drawLegendSymbol?t.series:t,p=d.options,u=this.createCheckboxForItem&&p&&p.showCheckbox,f=n.useHTML,g=t.options.className,m=t.legendItem;p=o+r+l+(u?20:0),m||(t.legendGroup=i.g("legend-item").addClass("highcharts-"+d.type+"-series highcharts-color-"+t.colorIndex+(g?" "+g:"")+(c?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=m=i.text("",h?o+r:-r,this.baseline||0,f),e.styledMode||m.css(x(t.visible?s:a)),m.attr({align:h?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=i.fontMetrics(e.styledMode?12:s.fontSize,m),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,m.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=b(n.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+r+l+(u?20:0),h&&m.attr("x",this.symbolWidth+r))),d.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,m,f)),u&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&s.width||m.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-p+"px"}),this.setText(t),e=m.getBBox(),i=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*i?e.height:i))},t.prototype.layoutItem=function(t){var e=this.options,i=this.padding,n="horizontal"===e.layout,o=t.itemHeight,r=this.itemMarginBottom,s=this.itemMarginTop,a=n?b(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,n&&this.itemX-i+e>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=s+this.itemY+r,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=s+o+r,this.lastLineHeight=o
11),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var i=e&&e.options;e&&b(i.showInLegend,!f(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),y(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,n=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(r,s){r.test(o)&&!f(t[s])&&(i[h[s]]=Math.max(i[h[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*n[s%2?"x":"y"]+b(n.margin,12)+e[s]+(i.titleOffset[s]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],i="left"===this.options.align;this.allItems.forEach((function(n){var o,r=i;if(n.yAxis){n.xAxis.options.reversed&&(r=!r),n.points&&(o=m(r?n.points:n.points.slice(0).reverse(),(function(t){return v(t.plotY)}))),r=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var s=n.yAxis.top-t.plotTop;n.visible?(o=o?o.plotY:n.yAxis.height,o+=s-.3*r):o=s+n.yAxis.height,e.push({target:o,size:r,item:n})}}),this),c(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,n=this.padding,o=this.getAllItems(),r=this.group,s=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(i.width,t.spacingBox.width-n);var a=t.spacingBox.width-2*n-i.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,r||(this.group=r=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(r),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),C(o,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),i.reversed&&o.reverse(),this.allItems=o,this.display=a=!!o.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,o.forEach(this.renderItem,this),o.forEach(this.layoutItem,this),o=(this.widthOption||this.offsetWidth)+n;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=n,s||(this.box=s=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(r),s.isNew=!0),t.styledMode||s.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0<o&&0<l&&(s[s.isNew?"attr":"animate"](s.crisp.call({},{x:0,y:0,width:o,height:l},s.strokeWidth())),s.isNew=!1),s[a?"show":"hide"](),t.styledMode&&"none"===r.getStyle("display")&&(o=l=0),this.legendWidth=o,this.legendHeight=l,a&&this.align(),this.proximate||this.positionItems(),y(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,i=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=x(t,{y:n})),this.group.align(x(i,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":i.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,i,n=this,o=this.chart,r=o.renderer,s=this.options,a=s.y,l="top"===s.verticalAlign,h=this.padding,c=s.maxHeight,d=s.navigation,p=b(d.animation,!0),u=d.arrowSize||12,f=this.pages,g=this.allItems,m=function(t){"number"==typeof t?x.attr({height:t}):x&&(n.clipRect=x.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+h+"px,9999px,"+(h+t)+"px,0)":"auto")},y=function(t){return n[t]=r.circle(0,0,1.3*u).translate(u/2,u/2).add(v),o.styledMode||n[t].attr("fill","rgba(0,0,0,0.0001)"),n[t]};a=o.spacingBox.height+(l?-a:a)-h;var v=this.nav,x=this.clipRect;return"horizontal"!==s.layout||"middle"===s.verticalAlign||s.floating||(a/=2),c&&(a=Math.min(a,c
11)),f.length=0,t&&0<a&&t>a&&!1!==d.enabled?(this.clipHeight=e=Math.max(a-20-this.titleHeight-h,0),this.currentPage=b(this.currentPage,1),this.fullHeight=t,g.forEach((function(t,n){var o=t._legendItemPos[1],r=Math.round(t.legendItem.getBBox().height),s=f.length;(!s||o-f[s-1]>e&&(i||o)!==f[s-1])&&(f.push(i||o),s++),t.pageIx=s-1,i&&(g[n-1].pageIx=s-1),n===g.length-1&&o+r-f[s-1]>e&&r<=e&&(f.push(o),t.pageIx=s),o!==i&&(i=o)})),x||(x=n.clipRect=r.clipRect(0,h,9999,0),n.contentGroup.clip(x)),m(e),v||(this.nav=v=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,u,u).add(v),y("upTracker").on("click",(function(){n.scroll(-1,p)})),this.pager=r.text("",15,10).addClass("highcharts-legend-navigation"),o.styledMode||this.pager.css(d.style),this.pager.add(v),this.down=r.symbol("triangle-down",0,0,u,u).add(v),y("downTracker").on("click",(function(){n.scroll(1,p)}))),n.scroll(0),t=a):v&&(m(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,o=this.pages,r=o.length,l=this.clipHeight,h=this.options.navigation,c=this.pager,d=this.padding,p=this.currentPage+t;p>r&&(p=r),0<p&&(void 0!==e&&a(e,n),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===p?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),c.attr({text:p+"/"+r}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:p===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===p?h.inactiveColor:h.activeColor}),this.upTracker.css({cursor:1===p?"default":"pointer"}),this.down.attr({fill:p===r?h.inactiveColor:h.activeColor}),this.downTracker.css({cursor:p===r?"default":"pointer"})),this.scrollOffset=-o[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),t=s(b(e,n.renderer.globalAnimation,!0)),S((function(){y(i,"afterScroll",{currentPage:p})}),t.duration))},t.prototype.setItemEvents=function(t,e,i){var o=this,r=o.chart.renderer.boxWrapper,s=t instanceof n,a="highcharts-legend-"+(s?"point":"series")+"-active",l=o.chart.styledMode,h=function(e){o.allItems.forEach((function(i){t!==i&&[i].concat(i.linkedSeries||[]).forEach((function(t){t.setState(e,!s)}))}))};(i?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(i){i&&i.on("mouseover",(function(){t.visible&&h("inactive"),t.setState("hover"),t.visible&&r.addClass(a),l||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(x(t.visible?o.itemStyle:o.itemHiddenStyle)),h(""),r.removeClass(a),t.setState()})).on("click",(function(e){var i=function(){t.setVisible&&t.setVisible(),h(t.visible?"inactive":"")};r.removeClass(a),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,i):y(t,"legendItemClick",e,i)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),d(t.checkbox,"click",(function(e){y(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(i.navigator&&i.navigator.userAgent)||t)&&o(r.prototype,"positionItem",(function(t,e){var i=this,n=function(){e._legendItemPos&&t.call(i,e)};n(),i.bubbleLegend||setTimeout(n)})),r})),e(i,"Core/Series/SeriesRegistry.js",[i["Core/Globals.js"],i["Core/DefaultOptions.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o,r=e.defaultOptions,s=n.error,a=n.extendClass,l=n.merge;return function(e){function n(t,n){var o=r.plotOptions||{},s=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=i),n.prototype.type=t,s&&(o[t]=s),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,i){void 0===i&&(i={});var n=t.options.chart;n=i.type||n.type||n.defaultSeriesType||"";var o=e.seriesTypes[n];return e||s(17,!0,t,{missingModuleFor:n}),"function"==typeof(n=new o).init&&n.init(t,i),n},e.registerSeriesType=n,e.seriesType=function(t,o,s,h,c){var d=r.plotOptions||{};return o=o||"",d[t]=l(d[o],s),n(t,a(e.seriesTypes[o]||function(){},h)),e.seriesTypes[t].prototype.type=t,c&&(e.seriesTypes[t].prototype.pointClass=a(i,c)),e.seriesTypes[t]}}(o||(o={})),o})),e(i,"Core/Chart/Chart.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/FormatUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/Legend.js"],i["Core/MSPointer.js"],i["Core/DefaultOptions.js"],i["Core/Pointer.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Time.js"],i["Core/Utilities.js"],i["Core/Renderer/HTML/AST.js"]],(function(t,e,
11i,n,o,r,s,a,l,h,c,d,p,u,f){var g=t.animate,m=t.animObject,y=t.setAnimation,v=i.numberFormat,x=n.registerEventOptions,b=o.charts,w=o.doc,C=o.marginNames,S=o.svg,k=o.win,T=a.defaultOptions,A=a.defaultTime,M=c.seriesTypes,E=u.addEvent,P=u.attr,O=u.cleanRecursively,L=u.createElement,D=u.css,j=u.defined,N=u.discardElement,I=u.erase,B=u.error,R=u.extend,F=u.find,H=u.fireEvent,z=u.getStyle,G=u.isArray,_=u.isNumber,W=u.isObject,U=u.isString,X=u.merge,V=u.objectEach,Y=u.pick,q=u.pInt,K=u.relativeLength,$=u.removeEvent,Z=u.splat,J=u.syncTimeout,Q=u.uniqueKey;return t=function(){function t(t,e,i){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,i)}return t.chart=function(e,i,n){return new t(e,i,n)},t.prototype.getArgs=function(t,e,i){U(t)||t.nodeName?(this.renderTo=t,this.init(e,i)):this.init(t,e)},t.prototype.init=function(t,e){var i=t.plotOptions||{};H(this,"init",{args:arguments},(function(){var n=X(T,t),r=n.chart;V(n.plotOptions,(function(t,e){W(t)&&(t.tooltip=i[e]&&X(i[e].tooltip)||void 0)})),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new p(t.time):o.time,this.numberFormatter=r.numberFormatter||v,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=b.length,b.push(this),o.chartCount++,x(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,H(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var i=M[e];return i||B(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new i).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var i=e.length;t<i;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,i){void 0===i&&(i={});var n=this.inverted,o=this.plotBox,r=this.plotLeft,s=this.plotTop,a=this.scrollablePlotBox,l=0,h=0;i.visiblePlotOnly&&this.scrollingContainer&&(l=(h=this.scrollingContainer).scrollLeft,h=h.scrollTop);var c=i.series;if(o=i.visiblePlotOnly&&a||o,t={x:a=i.inverted?e:t,y:e=i.inverted?t:e,isInsidePlot:!0},!i.ignoreX){var d=c&&(n?c.yAxis:c.xAxis)||{pos:r,len:1/0};(a=i.paneCoordinates?d.pos+a:r+a)>=Math.max(l+r,d.pos)&&a<=Math.min(l+r+o.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(n=c&&(n?c.xAxis:c.yAxis)||{pos:s,len:1/0},(i=i.paneCoordinates?n.pos+e:s+e)>=Math.max(h+s,n.pos)&&i<=Math.min(h+s+o.height,n.pos+n.len)||(t.isInsidePlot=!1)),H(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){H(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,n=this.pointer,o=this.legend,r=this.userOptions.legend,s=this.renderer,a=s.isHidden(),l=[],h=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),y(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);
11i.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&H(t,"updatedData")})),c&&o&&o.options.enabled&&(o.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(h=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){H(t,"afterSetExtremes",R(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(h||p)&&t.redraw()})),h&&this.drawChartBox(),H(this,"predraw"),i.forEach((function(t){(h||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),s.draw(),H(this,"redraw"),H(this,"render"),a&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var i=this.series,n=F(this.axes,e)||F(this.series,e),o=0;!n&&o<i.length;o++)n=F(i[o].points||[],e);return n},t.prototype.getAxes=function(){var t=this,i=this.options,n=i.xAxis=Z(i.xAxis||{});i=i.yAxis=Z(i.yAxis||{}),H(this,"getAxes"),n.forEach((function(t,e){t.index=e,t.isX=!0})),i.forEach((function(t,e){t.index=e})),n.concat(i).forEach((function(i){new e(t,i)})),H(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){Y(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,i){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(i)},t.prototype.applyDescription=function(t,e){var i=this,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=X(!this.styledMode&&{style:n},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),n&&!o&&((o=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}).add()).update=function(e){i[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(n.style),this[t]=o)},t.prototype.layOutTitles=function(t){var e=[0,0,0],i=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var o,r=this[t],s=this.options[t],a=s.verticalAlign||"top";if(t="title"===t?"top"===a?-3:0:"top"===a?e[0]+2:0,r){this.styledMode||(o=s.style&&s.style.fontSize),o=i.fontMetrics(o,r).b,r.css({width:(s.width||n.width+(s.widthAdjust||0))+"px"});var l=Math.round(r.getBBox(s.useHTML).height);r.align(R({y:"bottom"===a?o:t+o,height:l},s),!1,"spacingBox"),s.floating||("top"===a?e[0]=Math.ceil(e[0]+l):"bottom"===a&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,H(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var i=this.renderTo;j(e)||(this.containerWidth=z(i,"width")),j(t)||(this.containerHeight=z(i,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,K(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(D(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(w.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(w.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,w.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),D(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==w.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,i=e.chart,n=Q(),o=this.renderTo;o||(this.renderTo=o=i.renderTo),U(o)&&(this.renderTo=o=w.getElementById(o)),o||B(13,!0,this);var r=q(P(o,"data-highcharts-chart"));_(r)&&b[r]&&b[r].hasRendered&&b[r].destroy(),P(o,"data-highcharts-chart",this.index),o.innerHTML=f.emptyHTML,i.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize(),r=this.chartWidth;
11var s=this.chartHeight;if(D(o,{overflow:"hidden"}),this.styledMode||(t=R({position:"relative",overflow:"hidden",width:r+"px",height:s+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},i.style||{})),this.container=n=L("div",{id:n},t,o),this._cursor=n.style.cursor,this.renderer=new(i.renderer||!S?h.getRendererType(i.renderer):d)(n,r,s,void 0,i.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),y(void 0,this),this.setClassName(i.className),this.styledMode)for(var a in e.defs)this.renderer.definition(e.defs[a]);else this.renderer.setStyle(i.style);this.renderer.chartIndex=this.index,H(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,i=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!j(i[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!j(i[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(i,e),H(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],i=t.colorAxis,n=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):i&&i.length&&o(i),C.forEach((function(i,o){j(n[o])||(t[i]+=e[o])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,i=e.options.chart,n=e.renderTo,o=j(i.width)&&j(i.height),r=i.width||z(n,"width");i=i.height||z(n,"height"),n=t?t.target:k,delete e.pointer.chartPosition,o||e.isPrinting||!r||!i||n!==k&&n!==w||(r===e.containerWidth&&i===e.containerHeight||(u.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=r,e.containerHeight=i)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=E(k,"resize",(function(t){e.options&&e.reflow(t)})),E(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,i){var n=this,o=n.renderer;n.isResizing+=1,y(i,n),i=o.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,void 0!==t&&(n.options.chart.width=t),void 0!==e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(i?g:D)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},i),n.setChartSize(!0),o.setSize(n.chartWidth,n.chartHeight,i),n.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(i),n.oldChartHeight=null,H(n,"resize"),J((function(){n&&H(n,"endResize",null,(function(){--n.isResizing}))}),m(i).duration)},t.prototype.setChartSize=function(t){var e,i,n,o,r=this.inverted,s=this.renderer,a=this.chartWidth,l=this.chartHeight,h=this.options.chart,c=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(a-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(l-i-this.marginBottom)),this.plotSizeX=r?o:n,this.plotSizeY=r?n:o,this.plotBorderWidth=h.plotBorderWidth||0,this.spacingBox=s.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:l-c[0]-c[2]},this.plotBox=s.plotBox={x:e,y:i,width:n,height:o},r=2*Math.floor(this.plotBorderWidth/2),a=Math.ceil(Math.max(r,d[3])/2),l=Math.ceil(Math.max(r,d[0])/2),this.clipBox={x:a,y:l,width:Math.floor(this.plotSizeX-Math.max(r,d[1])/2-a),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(r,d[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),s.alignElements()),H(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){H(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(i){var n=e[i],o=W(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((function(n,r){t[i][r]=Y(e[i+n],o[r])}))})),C.forEach((function(e,i){t[e]=Y(t.margin[i],t.spacing[i])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,i=this.renderer,n=this.chartWidth,o=this.chartHe
11ight,r=this.styledMode,s=this.plotBGImage,a=e.backgroundColor,l=e.plotBackgroundColor,h=e.plotBackgroundImage,c=this.plotLeft,d=this.plotTop,p=this.plotWidth,u=this.plotHeight,f=this.plotBox,g=this.clipRect,m=this.clipBox,y=this.chartBackground,v=this.plotBackground,x=this.plotBorder,b="animate";if(y||(this.chartBackground=y=i.rect().addClass("highcharts-background").add(),b="attr"),r)var w=t=y.strokeWidth();else t=(w=e.borderWidth||0)+(e.shadow?8:0),a={fill:a||"none"},(w||y["stroke-width"])&&(a.stroke=e.borderColor,a["stroke-width"]=w),y.attr(a).shadow(e.shadow);y[b]({x:t/2,y:t/2,width:n-t-w%2,height:o-t-w%2,r:e.borderRadius}),b="animate",v||(b="attr",this.plotBackground=v=i.rect().addClass("highcharts-plot-background").add()),v[b](f),r||(v.attr({fill:l||"none"}).shadow(e.plotShadow),h&&(s?(h!==s.attr("href")&&s.attr("href",h),s.animate(f)):this.plotBGImage=i.image(h,c,d,p,u).add())),g?g.animate({width:m.width,height:m.height}):this.clipRect=i.clipRect(m),b="animate",x||(b="attr",this.plotBorder=x=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),r||x.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),x[b](x.crisp({x:c,y:d,width:p,height:u},-x.strokeWidth())),this.isDirtyBox=!1,H(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,i,n=this,o=n.options.chart,r=n.options.series;["inverted","angular","polar"].forEach((function(s){for(e=M[o.type||o.defaultSeriesType],i=o[s]||e&&e.prototype[s],t=r&&r.length;!i&&t--;)(e=M[r[t].type])&&e.prototype[s]&&(i=!0);n[s]=i}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var i=e.options.linkedTo;U(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&i.linkedParent!==e&&(i.linkedSeries.push(e),e.linkedParent=i,i.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,i.options.visible,e.visible))})),H(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(i){var n=R(e.style,i.style),o=q(n.left)+t.plotLeft,r=q(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(i.html,o,r).attr({zIndex:2}).css(n).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,i=this.renderer,n=this.options,o=function(t){t.forEach((function(t){t.visible&&t.render()}))},s=0;this.setTitle(),this.legend=new r(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return s=21,!0}));var a=this.plotHeight=Math.max(this.plotHeight-s,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<n/this.plotWidth,h=1.05<a/this.plotHeight;(l||h)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&h)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?o(t):e&&e.length&&o(e),this.seriesGroup||(this.seriesGroup=i.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,i=X(!0,this.options.credits,t);i.enabled&&!this.credits&&(this.credits=this.renderer.text(i.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){i.href&&(k.location.href=i.href)})).attr({align:i.position.align,zIndex:8}),e.styledMode||this.credits.css(i.style),this.credits.add().align(i.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,i=e.axes,n=e.series,r=e.container,s=r&&r.parentNode;for(H(e,"destroy"),e.renderer.forExport?I(b,e):b[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),$(e),t=i.length;t--;)i[t]=i[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();
11"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())})),r&&(r.innerHTML=f.emptyHTML,$(r),s&&N(r)),V(e,(function(t,i){delete e[i]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(G(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),H(t,"beforeRender"),l&&(s.isRequired()?t.pointer=new s(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),H(this,"load"),H(this,"render"),j(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,i){var n,o=this;return t&&(e=Y(e,!0),H(o,"addSeries",{options:t},(function(){n=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),H(o,"afterAddSeries",{series:n}),e&&o.redraw(i)}))),n},t.prototype.addAxis=function(t,e,i,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:i,animation:n})},t.prototype.addColorAxis=function(t,e,i){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:i})},t.prototype.createAxis=function(t,i){return t=new e(this,X(i.axis,{index:this[t].length,isX:"xAxis"===t})),Y(i.redraw,!0)&&this.redraw(i.animation),t},t.prototype.showLoading=function(t){var e=this,i=e.options,n=i.loading,o=function(){r&&D(r,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},r=e.loadingDiv,s=e.loadingSpan;r||(e.loadingDiv=r=L("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=L("span",{className:"highcharts-loading-inner"},null,r),E(e,"redraw",o)),r.className="highcharts-loading",f.setElementHTML(s,Y(t,i.lang.loading,"")),e.styledMode||(D(r,R(n.style,{zIndex:10})),D(s,n.labelStyle),e.loadingShown||(D(r,{opacity:0,display:""}),g(r,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,o()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){D(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,i,n){var o,r,s=this,a={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,h=[];H(s,"update",{options:t}),l||s.setResponsive(!1,!0),t=O(t,s.options),s.userOptions=X(s.userOptions,t);var c=t.chart;if(c){if(X(!0,s.options.chart,c),"className"in c&&s.setClassName(c.className),"reflow"in c&&s.setReflow(c.reflow),"inverted"in c||"polar"in c||"type"in c){s.propFromSeries();var d=!0}"alignTicks"in c&&(d=!0),"events"in c&&x(this,c),V(c,(function(t,e){-1!==s.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==s.propsRequireDirtyBox.indexOf(e)&&(s.isDirtyBox=!0),-1!==s.propsRequireReflow.indexOf(e)&&(l?s.isDirtyBox=!0:r=!0)})),!s.styledMode&&c.style&&s.renderer.setStyle(s.options.chart.style||{})}!s.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===A&&(this.time=new p(t.time)),X(!0,s.options.time,t.time)),V(t,(function(e,i){s[i]&&"function"==typeof s[i].update?s[i].update(e,!1):"function"==typeof s[a[i]]?s[a[i]](e):"colors"!==i&&-1===s.collectionsWithUpdate.indexOf(i)&&X(!0,s.options[i],t[i]),"chart"!==i&&-1!==s.propsRequireUpdateSeries.indexOf(i)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var n=[];s[e].forEach((function(t,e){t.options.isInternal||n.push(Y(t.options.index,e))})),Z(t[e]).forEach((function(t,o){var r,a=j(t.id);a&&(r=s.get(t.id)),!r&&s[e]&&(r=s[e][n?n[o]:o])&&a&&j(r.options.id)&&(r=void 0),r&&r.coll===e&&(r.update(t,!1),i&&(r.touched=!0)),!r&&i&&s.collectionsWithInit[e]&&(s.collectionsWithInit[e][0].apply(s,[t].concat(s.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),i&&s[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:h.push(t)}))}})),h.forEach((function(t){t.chart&&t.remove&&t.remove(!1)}
11)),d&&s.axes.forEach((function(t){t.update({},!1)})),o&&s.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),d=c&&c.width,c=c&&(U(c.height)?K(c.height,d||s.chartWidth):c.height),r||_(d)&&d!==s.chartWidth||_(c)&&c!==s.chartHeight?s.setSize(d,c,n):Y(e,!0)&&s.redraw(n),H(s,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,i=T.lang,n=e.options.chart.resetZoomButton,o=n.theme,r=o.states,s="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";H(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(i.resetZoom,null,null,t,o,r&&r.hover).attr({align:n.position.align,title:i.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,s)})),H(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){H(this,"selection",{resetSelection:!0}
11,this.zoom)},t.prototype.zoom=function(t){var e,i=this,n=i.pointer,o=i.inverted?n.mouseDownX:n.mouseDownY,r=!1;!t||t.resetSelection?(i.axes.forEach((function(t){e=t.zoom()})),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var s=t.axis,a=i.inverted?s.left:s.top,l=i.inverted?a+s.width:a+s.height,h=s.isXAxis,c=!1;(!h&&o>=a&&o<=l||h||!j(o))&&(c=!0),n[h?"zoomX":"zoomY"]&&c&&(e=s.zoom(t.min,t.max),s.displayBtn&&(r=!0))}));var s=i.resetZoomButton;r&&!s?i.showResetZoom():!r&&W(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(Y(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i=this,n=i.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var o=i.options.chart,r=i.options.mapNavigation&&i.options.mapNavigation.enabled;o&&o.panning&&(o.panning=e);var s,a=e.type;H(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=i.xAxis;"xy"===a?e=e.concat(i.yAxis):"y"===a&&(e=i.yAxis);var o={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,l=t[n?"chartX":"chartY"],h=i[n=n?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,d=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,p=e.getExtremes(),u=e.toValue(h-l,!0)+c*d,f=e.toValue(h+e.len-l,!0)-(c*d||e.isXAxis&&e.pointRangePadding||0),g=f<u;d=e.hasVerticalPanning(),h=g?f:u,u=g?u:f;var m=e.panningState;!d||e.isXAxis||m&&!m.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),m||(m={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),_(e.dataMin)&&_(e.dataMax)&&(m.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,m.startMin),m.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,m.startMax))}
11)),d=Math.min(Y(m&&m.startMin,p.dataMin),c?p.min:e.toValue(e.toPixels(p.min)-e.minPixelPadding)),f=Math.max(Y(m&&m.startMax,p.dataMax),c?p.max:e.toValue(e.toPixels(p.max)+e.minPixelPadding)),e.panningState=m,e.isOrdinal||(0<(c=d-h)&&(u+=c,h=d),0<(c=u-f)&&(u=f,h-=c),e.series.length&&h!==p.min&&u!==p.max&&h>=d&&u<=f&&(e.setExtremes(h,u,!1,!1,{trigger:"pan"}),i.resetZoomButton||r||h===d||u===f||!a.match("y")||(i.showResetZoom(),e.displayBtn=!1),s=!0),o[n]=l)}})),V(o,(function(t,e){i[e]=t})),s&&i.redraw(!1),D(i.container,{cursor:"move"})}))},t}(),R(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(i,"Core/Legend/LegendSymbol.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.merge,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,o=t.symbolWidth,r=t.symbolHeight,s=r/2,a=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var h={},c=e.marker;this.chart.styledMode||(h={"stroke-width":e.lineWidth||0},e.dashStyle&&(h.dashstyle=e.dashStyle)),this.legendLine=a.path([["M",0,t],["L",o,t]]).addClass("highcharts-graph").attr(h).add(l),c&&!1!==c.enabled&&o&&(e=Math.min(n(c.radius,s),s),0===this.symbol.indexOf("url")&&(c=i(c,{width:r,height:r}),e=0),this.legendSymbol=o=a.symbol(this.symbol,o/2-e,t-e,2*e,2*e,c).addClass("highcharts-point").add(l),o.isMarker=!0)},t.drawRectangle=function(t,e){var i=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-i)/2:0,t.baseline-i+1,o?i:t.symbolWidth,i,n(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(i,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(i,"Core/Series/Series.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesDefaults.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h){var c=t.animObject,d=t.setAnimation,p=e.defaultOptions,u=i.registerEventOptions,f=n.hasTouch,g=n.svg,m=n.win,y=a.seriesTypes,v=h.addEvent,x=h.arrayMax,b=h.arrayMin,w=h.clamp,C=h.cleanRecursively,S=h.correctFloat,k=h.defined,T=h.erase,A=h.error,M=h.extend,E=h.find,P=h.fireEvent,O=h.getNestedProperty,L=h.isArray,D=h.isNumber,j=h.isString,N=h.merge,I=h.objectEach,B=h.pick,R=h.removeEvent,F=h.splat,H=h.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){P(this,"init",{options:e});var i=this,n=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e),e=i.options,i.linkedSeries=[],i.bindAxes(),M(i,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),u(this,e);var o,r=e.events;(r&&r.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach((function(t){i[t+"Data"]||(i[t+"Data"]=[])})),i.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(o=n[n.length-1]),i._i=B(o&&o._i,-1)+1,i.opacity=i.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(e.data,!1),P(this,"afterInit")},t.prototype.is=function(t){return y[t]&&this instanceof y[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(D(i)){for(e=t.length;e--;)if(i>=B(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return B(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,n=e.chart;
11P(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){var r=0;n[o].forEach((function(n){t=n.options,(i[o]===r&&!t.isInternal||void 0!==i[o]&&i[o]===t.id||void 0===i[o]&&0===t.index)&&(e.insert(n.series),e[o]=n,n.isDirty=!0),t.isInternal||r++})),e[o]||e.optionalAxis===o||A(18,!0,n)}))})),P(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,n=arguments,o=D(e)?function(n){var o="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=o}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};i.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,i=this.options,n=i.pointIntervalUnit,o=i.relativeXValue,r=this.chart.time,s=this.xIncrement;return s=B(s,i.pointStart,0),this.pointInterval=e=B(this.pointInterval,i.pointInterval,1),o&&D(t)&&(e*=t),n&&(i=new r.Date(s),"day"===n?r.set("Date",i,r.get("Date",i)+e):"month"===n?r.set("Month",i,r.get("Month",i)+e):"year"===n&&r.set("FullYear",i,r.get("FullYear",i)+e),e=i.getTime()-s),o&&D(t)?s+e:(this.xIncrement=s+e,s)},t.prototype.setDataSortingOptions=function(){var t=this.options;M(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,i=e.options,n=i.plotOptions,o=e.userOptions||{};t=N(t),e=e.styledMode;var r={plotOptions:n,userOptions:t};P(this,"setOptions",r);var s=r.plotOptions[this.type],a=o.plotOptions||{};return this.userOptions=r.userOptions,o=N(s,n.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=N(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,i.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=B(t.stickyTracking,a[this.type]&&a[this.type].stickyTracking,a.series&&a.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||o.stickyTracking),null===s.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,n=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(i={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(i.color=o.negativeColor,i.fillColor=o.negativeFillColor),n.push(i)),n.length&&k(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),P(this,"afterSetOptions",{options:o}),o},t.prototype.getName=function(){return B(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,i){var n=this.chart,o=this.userOptions,r=t+"Index",s=t+"Counter",a=i?i.length:B(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var l=B(o[r],o["_"+r]);k(l)||(n.series.length||(n[s]=0),o["_"+r]=l=n[s]%a,n[s]+=1),i&&(e=i[l])}void 0!==l&&(this[r]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var i,n,o=t.id,s=t.x,a=this.points,l=this.options.dataSorting;if(o)(l=this.chart.get(o))instanceof r&&(i=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(i=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?i=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(i=function(e){return!e.touched&&e.options.x===t.x}),!(i=E(a,i))))return;if(i){var h=i&&i.index;void 0!==h&&(n=!0)}return void 0===h&&D(s)&&(h=this.xData.indexOf(s,e)),-1!==h&&void 0!==h&&this.cropped&&(h=h>=this.cropStart?h-this.cropStart:h),!n&&D(h)&&a[h]&&a[h].touched&&(h=void 0),h},t.prototype.updateData=function(t,e){var i,n,o,r=this.options,s=r.dataSorting,a=this.points,l=[],h=this.requireSorting,c=t.length===a.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=n.x;n.id||D(d)?(-1===(n=this.findPointIndex(n,o))||void 0===n?l.push(t):a[n]&&t!==r.data[n]?(a[n].update(t,!1,null,!1),a[n].touched=!0,h&&(o=n+1)):a[n]&&(a[n].touched=!0),(!c||e!==n||s&&s.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)}),this),i)for(t=a.length;t--;)(n=a[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!c||s&&s.enabled?d=!1:(t.forEach((function(t,e){t!==a[e].y&&a[e].update&&a[e].update(t,!1,null,!1)})),l.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!d&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0)}
11,t.prototype.setData=function(t,e,i,n){var o=this,r=o.points,s=r&&r.length||0,a=o.options,l=o.chart,h=a.dataSorting,c=o.xAxis,d=a.turboThreshold,p=this.xData,u=this.yData,f=o.pointArrayMap;f=f&&f.length;var g,m=a.keys,y=0,v=1,x=null,b=(t=t||[]).length;if(e=B(e,!0),h&&h.enabled&&(t=this.sortData(t)),!1!==n&&b&&s&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.isSeriesBoosting&&(g=this.updateData(t,i)),!g){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach((function(t){o[t+"Data"].length=0})),d&&b>d)if(x=o.getFirstValidPoint(t),D(x))for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i];else if(L(x))if(f)if(x.length===f)for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i];else for(i=0;i<b;i++)n=t[i],p[i]=n[0],u[i]=n.slice(1,f+1);else if(m&&(y=0<=(y=m.indexOf("x"))?y:0,v=0<=(v=m.indexOf("y"))?v:1),1===x.length&&(v=0),y===v)for(i=0;i<b;i++)p[i]=this.autoIncrement(),u[i]=t[i][v];else for(i=0;i<b;i++)n=t[i],p[i]=n[y],u[i]=n[v];else A(12,!1,l);else for(i=0;i<b;i++)void 0!==t[i]&&(n={series:o},o.pointClass.prototype.applyOptions.apply(n,[t[i]]),o.updateParallelArrays(n,i));for(u&&j(u[0])&&A(14,!0,l),o.data=[],o.options.data=o.userOptions.data=t,i=s;i--;)r[i]&&r[i].destroy&&r[i].destroy();c&&(c.minRange=c.userMinRange),o.isDirty=l.isDirtyBox=!0,o.isDirtyData=!!r,i=!1}"point"===a.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(i)},t.prototype.sortData=function(t){var e=this,i=e.options.dataSorting.sortKey||"y",n=function(t,e){return k(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(i,o){t[o]=n(e,i),t[o].index=o}),this),t.concat().sort((function(t,e){return t=O(i,t),(e=O(i,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,o=i.data;i.dataSorting&&i.dataSorting.enabled||!o||(o.forEach((function(i,r){o[r]=n(e,i),t[r]&&(o[r].x=t[r].x,o[r].index=r)})),e.setData(o,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,i=this.options,n=i.cropThreshold,o=t||this.getExtremesFromAll||i.getExtremesFromAll,r=this.isCartesian;t=e&&e.val2lin,i=!(!e||!e.logarithmic);var s=0,a=this.xData,l=this.yData,h=this.requireSorting,c=!1,d=a.length;if(e){var p=(c=e.getExtremes()).min,u=c.max;c=e.categories&&!e.names.length}if(r&&this.sorted&&!o&&(!n||d>n||this.forceCrop))if(a[d-1]<p||a[0]>u)a=[],l=[];else if(this.yData&&(a[0]<p||a[d-1]>u)){var f=this.cropData(this.xData,this.yData,p,u);a=f.xData,l=f.yData,s=f.start,f=!0}for(n=a.length||1;--n;)if(0<(e=i?t(a[n])-t(a[n-1]):a[n]-a[n-1])&&(void 0===g||e<g))var g=e;else 0>e&&h&&!c&&(A(15,!1,this.chart),h=!1);return{xData:a,yData:l,cropped:f,cropStart:s,closestPointRange:g}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,P(this,"afterProcessData")},t.prototype.cropData=function(t,e,i,n,o){var r,s=t.length,a=0,l=s;for(o=B(o,this.cropShoulder),r=0;r<s;r++)if(t[r]>=i){a=Math.max(0,r-o);break}for(i=r;i<s;i++)if(t[i]>n){l=i+o;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,i=this.processedXData,n=this.processedYData,o=this.pointClass,r=i.length,s=this.cropStart||0,a=this.hasGroupedData,l=t.keys,h=[];t=t.dataGrouping&&t.dataGrouping.groupAll?s:0;var c,d,p=this.data;if(!p&&!a){var u=[];u.length=e.length,p=this.data=u}for(l&&a&&(this.options.keys=!1),d=0;d<r;d++){if(u=s+d,a){var f=(new o).init(this,[i[d]].concat(F(n[d])));f.dataGroup=this.groupMap[t+d],f.dataGroup.options&&(f.options=f.dataGroup.options,M(f,f.dataGroup.options),delete f.dataLabels)}else(f=p[u])||void 0===e[u]||(p[u]=f=(new o).init(this,e[u],i[d]));f&&(f.index=a?t+d:u,h[d]=f)}if(this.options.keys=l,p&&(r!==(c=p.length)||a))for(d=0;d<c;d++)d!==s||a||(d+=r),p[d]&&(p[d].destroyElements(),p[d].plotX=void 0);this.data=p,this.points=h,P(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:b(t),max:x(t)}},t.prototype.getExtremes=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.processedXData||this.xData,r=[],s=this.requireSorting?this.cropShoulder:0;
11n=!!n&&n.positiveValuesOnly;var a,l=0,h=0,c=0,d=(t=t||this.stackedYData||this.processedYData||[]).length;if(i){var p=i.getExtremes();l=p.min,h=p.max}for(a=0;a<d;a++){var u=o[a];p=t[a];var f=(D(p)||L(p))&&(p.length||0<p||!n);if(u=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!i||(o[a+s]||u)>=l&&(o[a-s]||u)<=h,f&&u)if(f=p.length)for(;f--;)D(p[f])&&(r[c++]=p[f]);else r[c++]=p}return t={activeYData:r,dataMin:b(r),dataMax:x(r)},P(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,n=null;null===n&&i<e;)n=t[i],i++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,i=this.options,n=i.stacking,o=this.xAxis,r=o.categories,s=this.enabledDataSorting,a=this.yAxis,l=this.points,h=l.length,c=this.pointPlacementToXValue(),d=!!c,p=i.threshold,u=i.startFromThreshold?p:0,f=this.zoneAxis||"y",g=Number.MAX_VALUE;for(t=0;t<h;t++){var m=l[t],y=m.x,v=void 0,x=void 0,b=m.y,C=m.low,T=n&&a.stacking&&a.stacking.stacks[(this.negStacks&&b<(u?0:p)?"-":"")+this.stackKey];if((a.positiveValuesOnly&&!a.validatePositiveValue(b)||o.positiveValuesOnly&&!o.validatePositiveValue(y))&&(m.isNull=!0),m.plotX=e=S(w(o.translate(y,0,0,0,1,c,"flags"===this.type),-1e5,1e5)),n&&this.visible&&T&&T[y]){var A=this.getStackIndicator(A,y,this.index);m.isNull||(x=(v=T[y]).points[A.key])}if(L(x)&&(C=x[0],b=x[1],C===u&&A.key===T[y].base&&(C=B(D(p)&&p,a.min)),a.positiveValuesOnly&&0>=C&&(C=null),m.total=m.stackTotal=v.total,m.percentage=v.total&&m.y/v.total*100,m.stackY=b,this.irregularWidths||v.setOffset(this.pointXOffset||0,this.barW||0)),m.yBottom=k(C)?w(a.translate(C,0,1,0,1),-1e5,1e5):null,this.dataModify&&(b=this.dataModify.modifyValue(b,t)),m.plotY=void 0,D(b)&&(void 0!==(v=a.translate(b,!1,!0,!1,!0))&&(m.plotY=w(v,-1e5,1e5))),m.isInside=this.isPointInside(m),m.clientX=d?S(o.translate(y,0,0,0,1,c)):e,m.negative=m[f]<(i[f+"Threshold"]||p||0),m.category=r&&void 0!==r[m.x]?r[m.x]:m.x,!m.isNull&&!1!==m.visible){void 0!==M&&(g=Math.min(g,Math.abs(e-M)));var M=e}m.zone=this.zones.length?m.getZone():void 0,!m.graphic&&this.group&&s&&(m.isNew=!0)}this.closestPointRangePx=g,P(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(i||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis,n=N(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),i&&i.len!==t.plotSizeY&&(n.height=i.len),n},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,i=this.markerGroup,n=t.sharedClips;t=t.renderer;var o=this.getClipBox(),r=this.getSharedClipKey(),s=n[r];s?s.animate(o):n[r]=s=t.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:s),i&&i.clip()},t.prototype.animate=function(t){var e=this.chart,i=this.group,n=this.markerGroup,o=e.inverted,r=c(this.options.animation),s=[this.getSharedClipKey(),r.duration,r.easing,r.defer].join(),a=e.sharedCl
11ips[s],l=e.sharedClips[s+"m"];if(t&&i)r=this.getClipBox(),a?a.attr("height",r.height):(r.width=0,o&&(r.x=e.plotHeight),a=e.renderer.clipRect(r),e.sharedClips[s]=a,l=e.renderer.clipRect({x:o?(e.plotSizeX||0)+99:-99,y:o?-e.plotLeft:-e.plotTop,width:99,height:o?e.chartWidth:e.chartHeight}),e.sharedClips[s+"m"]=l),i.clip(a),n&&n.clip(l);else if(a&&!a.hasClass("highcharts-animating")){e=this.getClipBox();var h=r.step;n&&n.element.childNodes.length&&(r.step=function(t,e){h&&h.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),a.addClass("highcharts-animating").animate(e,r)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),I(this.chart.sharedClips,(function(e,i,n){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete n[i])})),this.finishedAnimating=!0,P(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,i=this.points,n=this.chart,o=this.options.marker,r=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=B(o.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;t<i.length;t++){var l=i[t],h=(e=l.graphic)?"animate":"attr",c=l.marker||{},d=!!l.marker;if((a&&void 0===c.enabled||c.enabled)&&!l.isNull&&!1!==l.visible){var p=B(c.symbol,this.symbol,"rect"),u=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=s.reversed?-(u.width||0):s.width);var f=!1!==l.isInside;e?e[f?"show":"hide"](f).animate(u):f&&(0<(u.width||0)||l.hasImage)&&(l.graphic=e=n.renderer.symbol(p,u.x,u.y,u.width,u.height,d?c:o).add(r),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:l.startXPos}),h="animate")),e&&"animate"===h&&e[f?"show":"hide"](f).animate(u),e&&!n.styledMode&&e[h](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var i=this.options,n=i.marker,o=t.marker||{},r=o.symbol||n.symbol,s=B(o.radius,n.radius);return e&&(n=n.states[e],e=o.states&&o.states[e],s=B(e&&e.radius,n&&n.radius,s+(n&&n.radiusPlus||0))),t.hasImage=r&&0===r.indexOf("url"),t.hasImage&&(s=0),t={x:i.crisp?Math.floor(t.plotX-s):t.plotX-s,y:t.plotY-s},s&&(t.width=t.height=2*s),t},t.prototype.pointAttribs=function(t,e){var i=this.options.marker,n=t&&t.options,o=n&&n.marker||{},r=n&&n.color,s=t&&t.color,a=t&&t.zone&&t.zone.color,l=this.color;return t=B(o.lineWidth,i.lineWidth),n=1,l=r||a||s||l,r=o.fillColor||i.fillColor||l,s=o.lineColor||i.lineColor||l,e=e||"normal",i=i.states[e]||{},e=o.states&&o.states[e]||{},t=B(e.lineWidth,i.lineWidth,t+B(e.lineWidthPlus,i.lineWidthPlus,0)),r=e.fillColor||i.fillColor||r,{stroke:s=e.lineColor||i.lineColor||s,"stroke-width":t,fill:r,opacity:n=B(e.opacity,i.opacity,n)}},t.prototype.destroy=function(t){var e,i,n,o=this,r=o.chart,s=/AppleWebKit\/533/.test(m.navigator.userAgent),a=o.data||[];for(P(o,"destroy"),this.removeEvents(t),(o.axisTypes||[]).forEach((function(t){(n=o[t])&&n.series&&(T(n.series,o),n.isDirty=n.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),e=a.length;e--;)(i=a[e])&&i.destroy&&i.destroy();o.clips&&o.clips.forEach((function(t){return t.destroy()})),h.clearTimeout(o.animationTimeout),I(o,(function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),r.hoverSeries===o&&(r.hoverSeries=void 0),T(r.series,o),r.orderSeries(),I(o,(function(e,i){t&&"hcEvents"===i||delete o[i]}))},t.prototype.applyZones=function(){var t,e,i,n,o,r,s,a,l=this,h=this.chart,c=h.renderer,d=this.zones,p=this.clips||[],u=this.graph,f=this.area,g=Math.max(h.chartWidth,h.chartHeight),m=this[(this.zoneAxis||"y")+"Axis"],y=h.inverted,v=!1;if(d.length&&(u||f)&&m&&void 0!==m.min){var x=m.reversed,b=m.horiz;u&&!this.showLine&&u.hide(),f&&f.hide();var C=m.getExtremes();d.forEach((function(d,S){t=x?b?h.plotWidth:0:b?0:m.toPixels(C.min)||0,t=w(B(e,t),0,g),e=w(Math.round(m.toPixels(B(d.value,C.max),!0)||0),0,g),v&&(t=e=m.toPixels(C.max)),n=Math.abs(t-e),o=Math.min(t,e),r=Math.max(t,e),m.isXAxis?(i={x:y?r:o,y:0,width:n,height:g},b||(i.x=h.plotHeight-i.x)):(i={x:0,y:y?r:o,width:g,height:n},b&&(i.y=h.plotWidth-i.y)),y&&c.isVML&&(i=m.isXAxis?{x:0,y:x?o:r,height:i.width,width:h.chartWidth}:{x:i.y-h.plotLeft-h.spacingBox.x,y:0,width:i.height,height:h.chartHe
11ight}),p[S]?p[S].animate(i):p[S]=c.clipRect(i),s=l["zone-area-"+S],a=l["zone-graph-"+S],u&&a&&a.clip(p[S]),f&&s&&s.clip(p[S]),v=d.value>C.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=p}else l.visible&&(u&&u.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(n.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))}))}var i=this,n=i.chart;i.xAxis&&(i.eventsToUnbind.push(v(n,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,n,o){var r=this[t],s=!r;return i={visibility:i,zIndex:n||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=r=this.chart.renderer.g().add(o)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[s?"attr":"animate"](this.getPlotBox()),r},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,n=c(i.animation),o=t.visible?"inherit":"hidden",r=i.zIndex,s=t.hasRendered,a=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,P(this,"render");var h=t.plotGroup("group","series",o,r,a);t.markerGroup=t.plotGroup("markerGroup","markers",o,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),h.inverted=!!B(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),s||(e&&n.defer&&(e+=n.defer),t.animationTimeout=H((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,o=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:B(n&&n.left,t.plotLeft),translateY:B(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:o?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,i=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,H((function(){e.kdTree=function t(i,n,o){var r=i&&i.length;if(r){var s=e.kdAxisArray[n%o];return i.sort((function(t,e){return t[s]-e[s]})),{point:i[r=Math.floor(r/2)],left:t(i.slice(0,r),n+1,o),right:t(i.slice(r+1),n+1,o)}}}(e.getValidPoints(null,!e.directTouch),i,i),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,i){var n=this,o=this.kdAxisArray[0],r=this.kdAxisArray[1],s=e?"distX":"dist";if(e=-1<n.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(i),this.kdTree)return function t(e,i,a,l){var h=i.point,c=n.kdAxisArray[a%l],d=h,p=k(e[o])&&k(h[o])?Math.pow(e[o]-h[o],2):null,u=k(e[r])&&k(h[r])?Math.pow(e[r]-h[r],2):null;return u=(p||0)+(u||0),h.dist=k(u)?Math.sqrt(u):Number.MAX_VALUE,h.distX=k(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(c=e[c]-h[c])?"right":"left",i[u=0>c?"left":"right"]&&(d=(u=t(e,i[u],a+1,l))[s]<d[s]?u:h),i[p]&&Math.sqrt(c*c)<d[s]&&(d=(e=t(e,i[p],a+1,l))[s]<d[s]?e:d),d}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,i=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=i.reversed?-.5:.5),D(t)?t*(e||i.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,i=this.xAxis,n=this.yAxis;return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=(n?n.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(i?i.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,i=e.trackByArea,n=[].concat(i?t.areaPath:t.graphPath),o=t.chart,r=o.pointer,s=o.renderer,a=o.options.tooltip.snap,l=t.tracker,h=function(e){o.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(g?1e-4:.002)+")";l?l.attr({d:n}):t.graph&&(t.tracker=s.path(n).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(i?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:i?c:"none","stroke-width":t.graph.strokeWidth()+(i?0:2*a)}
11),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",h).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),e.cursor&&!o.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",h)}))),P(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,i,n,o){var r=this.options,s=this.data,a=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var h,c=r.data,d=this.xData;e=B(e,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);var u=p.x,f=d.length;if(this.requireSorting&&u<d[f-1])for(h=!0;f&&d[f-1]>u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),h&&(this.data.splice(f,0,null),this.processData()),"point"===r.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==o&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(n)},t.prototype.removePoint=function(t,e,i){var n=this,o=n.data,r=o[t],s=n.points,a=n.chart,l=function(){s&&s.length===o.length&&s.splice(t,1),o.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(r||{series:n},"splice",t,1),r&&r.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};d(i,a),e=B(e,!0),r?r.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,n){function o(){r.destroy(n),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),B(t,!0)&&s.redraw(e)}var r=this,s=r.chart;!1!==i?P(r,"remove",null,o):o()},t.prototype.update=function(t,e){t=C(t,this.userOptions),P(this,"update",{options:t});var i,n=this,o=n.chart,r=n.userOptions,s=n.initialType||n.type,a=o.options.plotOptions,l=y[s].prototype,h=n.finishedAnimating&&{animation:!1},c={},d=["eventOptions","navigatorSeries","baseSeries"],p=t.type||r.type||o.options.chart.type,u=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(p=p||s,u&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),n.parallelArrays.forEach((function(t){d.push(t+"Data")})),t.data&&(t.dataSorting&&M(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=N(r,h,{index:void 0===r.index?n.index:r.index,pointStart:B(a&&a.series&&a.series.pointStart,r.pointStart,n.xData[0])},!u&&{data:n.options.data},t),u&&t.data&&(t.data=n.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(t){d[t]=n[t],delete n[t]})),a=!1,y[p]){if(a=p!==n.type,n.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(n,y[p].prototype);else{for(i in h=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,l)n[i]=void 0;M(n,y[p].prototype),h?n.hcEvents=h:delete n.hcEvents}}else A(17,!0,o,{missingModuleFor:p});if(d.forEach((function(t){n[t]=d[t]})),n.init(o,t),u&&this.points){var f=n.options;!1===f.visible?(c.graphic=1,c.dataLabel=1):n._hasPointLabels||(t=f.marker,l=f.dataLabels,!t||!1!==t.enabled&&(r.marker&&r.marker.symbol)===t.symbol||(c.graphic=1),l&&!1===l.enabled&&(c.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(c).length&&t.destroyElements(c),!1===f.showInLegend&&t.legendItem&&o.legend.destroyItem(t))}),this)}n.initialType=s,o.linkSeries(),a&&n.linkedSeries.length&&(n.isDirtyData=!0),P(this,"afterUpdate"),B(e,!0)&&o.redraw(!!u&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==B(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEac
11h((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var i=this,n=i.options,o=i.graph,r=n.inactiveOtherPoints,s=n.states,a=B(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation),l=n.lineWidth,h=0,c=n.opacity;if(t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=B(s[t].opacity,c)),o&&!o.dashstyle)for(n={"stroke-width":l},o.animate(n,a);i["zone-graph-"+h];)i["zone-graph-"+h].animate(n,a),h+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},a)}))}e&&r&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var i=this,n=i.chart,o=i.legendItem,r=n.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][a]()})),n.hoverSeries!==i&&(n.hoverPoint&&n.hoverPoint.series)!==i||i.onMouseOut(),o&&n.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),r&&(n.isDirtyBox=!0),P(i,a),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions=s,t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:o.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:r,requireSorting:!0,sorted:!0}),a.series=t,t})),e(i,"Extensions/ScrollablePlotArea.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=t.stop,a=r.addEvent,l=r.createElement,h=r.merge,c=r.pick;a(i,"afterSetChartSize",(function(t){var i=this.options.chart.scrollablePlotArea,n=i&&i.minWidth;if(i=i&&i.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var o={1:{name:"right",value:n}}}}else i&&(this.scrollablePixelsY=n=Math.max(0,i-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,o={2:{name:"bottom",value:n}});o&&!t.skipAxes&&this.axes.forEach((function(t){o[t.side]?t.getPlotLinePath=function(){var i=o[t.side].name,n=this[i];this[i]=n-o[t.side].value;var r=e.prototype.getPlotLinePath.apply(this,arguments);return this[i]=n,r}:(t.setAxisSize(),t.setAxisTranslation())}))}})),a(i,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEac
11h((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,n=o.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),s(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,i=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var r=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),h=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",r,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",r,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",i,h],["L",i,this.chartHeight],["L",n,this.chartHeight],["L",n,h],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(i,"Core/Axis/StackingAxis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Utilities.js"]],(function(t,e,i){var n,o=t.getDeferredAnimation,r=i.addEvent,s=i.destroyObjectProperties,a=i.fireEvent,l=i.isNumber,h=i.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;h(e,(function(t,i){s(t),e[i]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function i(){this.stacking||(this.stacking=new c(this))}var n=[];t.compose=function(t){return-1===n.indexOf(t)&&(n.push(t),r(t,"init",i),r(t,"destroy",e)),t};var c=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,n=e.options.reversedStacks,o=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var r=i[n?t:o-t-1];r.setStackedPoints(),r.setGroupedPoints()}for(t=0;t<o;t++)i[t].modifyStacks();a(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;h(t,(function(t){h(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||h(e,(function(e){h(e,(function(i,n){l(i.touched)&&i.touched<t.stacksTouched?(i.destroy(),delete e[n]):(i.total=null,i.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,i=e.renderer,n=this.stacks;t=o(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var r=this.stackTotalGroup=this.stackTotalGroup||i.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}
11).add();r.translate(e.plotLeft,e.plotTop),h(n,(function(t){h(t,(function(t){t.render(r)}))})),r.animate({opacity:1},t)},t}();t.Additions=c}(n||(n={})),n})),e(i,"Extensions/Stacking.js",[i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Axis/StackingAxis.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s){var a=i.format,l=s.correctFloat,h=s.defined,c=s.destroyObjectProperties,d=s.isArray,p=s.isNumber,u=s.objectEach,f=s.pick,g=function(){function t(t,e,i,n,o){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}return t.prototype.destroy=function(){c(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,i=this.options,n=i.format;n=n?a(n,this,e):i.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),n={r:i.borderRadius||0,text:n,rotation:i.rotation,padding:f(i.padding,5),visibility:"hidden"},e.styledMode||(n.fill=i.backgroundColor,n.stroke=i.borderColor,n["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,i,n,r){var s=this.axis,a=s.chart;n=s.translate(s.stacking.usePercentage?100:n||this.total,0,0,0,1),i=s.translate(i||0),i=h(n)&&Math.abs(n-i),t=f(r,a.xAxis[0].translate(this.x))+t,s=h(n)&&this.getStackBox(a,this,t,n,e,i,s),e=this.label,i=this.isNegative,t="justify"===f(this.options.overflow,"justify");var l=this.textAlign;e&&s&&(r=e.getBBox(),n=e.padding,l="left"===l?a.inverted?-n:n:"right"===l?r.width:a.inverted&&"center"===l?r.width/2:a.inverted?i?r.width+n:-n:r.width/2,i=a.inverted?r.height/2:i?-n:r.height,this.alignOptions.x=f(this.options.x,0),this.alignOptions.y=f(this.options.y,0),s.x-=l,s.y-=i,e.align(this.alignOptions,null,s),a.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&o.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,r,s),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),f(!t&&this.options.crop,!0)&&((a=p(e.x)&&p(e.y)&&a.isInsidePlot(e.x-n+e.width,e.y)&&a.isInsidePlot(e.x+n,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,i,n,o,r,s){var a=e.axis.reversed,l=t.inverted,h=s.height+s.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:l?e?n-s.right:n-r+s.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:l?s.height-i-o:e?h-n-r:h-n,width:l?r:o,height:l?o:r}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(i){var n=i.xAxis&&i.xAxis.options||{};!i.options.stacking||!0!==i.visible&&!1!==t.options.chart.ignoreHiddenSeries||(i.stackKey=[i.type,f(i.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())}))},r.compose(t),o.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?o.prototype.setStackedPoints.call(this,"group"):t&&u(t.stacks,(function(e,i){"group"===i.slice(-5)&&(u(e,(function(t){return t.destroy()})),delete t.stacks[i])}))},o.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var i=this.processedXData,n=this.processedYData,o=[],r=n.length,s=this.options,a=s.threshold,c=f(s.startFromThreshold&&a,0);s=s.stack;var p,u,m="-"+(t=t?this.type+","+e:this.stackKey),y=this.negStacks,v=this.yAxis,x=v.stacking.stacks,b=v.stacking.oldStacks;for(v.stacking.stacksTouched+=1,u=0;u<r;u++){var w=i[u],C=n[u],S=this.getStackIndicator(S,w,this.index),k=S.key,T=(p=y&&C<(c?0:a))?m:t;x[T]||(x[T]={}),x[T][w]||(b[T]&&b[T][w]?(x[T][w]=b[T][w],x[T][w].total=null):x[T][w]=new g(v,v.options.stackLabels,p,w,s)),T=x[T][w],null!==C?(T.points[k]=T.points[this.index]=[f(T.cumulative,c)],h(T.cumulative)||(T.base
11=k),T.touched=v.stacking.stacksTouched,0<S.index&&!1===this.singleStacks&&(T.points[k][0]=T.points[this.index+","+w+",0"][0])):T.points[k]=T.points[this.index]=null,"percent"===e?(p=p?t:m,y&&x[p]&&x[p][w]?(p=x[p][w],T.total=p.total=Math.max(p.total,T.total)+Math.abs(C)||0):T.total=l(T.total+(Math.abs(C)||0))):"group"===e?(d(C)&&(C=C[0]),null!==C&&(T.total=(T.total||0)+1)):T.total=l(T.total+(C||0)),T.cumulative="group"===e?(T.total||1)-1:f(T.cumulative,c)+(C||0),null!==C&&(T.points[k].push(T.cumulative),o[u]=T.cumulative,T.hasValidPoints=!0)}"percent"===e&&(v.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=o),v.stacking.oldStacks={}}},o.prototype.modifyStacks=function(){var t,e=this,i=e.stackKey,n=e.yAxis.stacking.stacks,o=e.processedXData,r=e.options.stacking;e[r+"Stacker"]&&[i,"-"+i].forEach((function(i){for(var s,a,l=o.length;l--;)s=o[l],t=e.getStackIndicator(t,s,e.index,i),(a=(s=n[i]&&n[i][s])&&s.points[t.key])&&e[r+"Stacker"](a,s,l)}))},o.prototype.percentStacker=function(t,e,i){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[i]=t[1]},o.prototype.getStackIndicator=function(t,e,i,n){return!h(t)||t.x!==e||n&&t.key!==n?t={x:e,index:0,key:n}:t.index++,t.key=[i,e,t.index].join(),t},n.StackItem=g,n.StackItem})),e(i,"Series/Line/LineSeries.js",[i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=i.defined,r=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(i,e),i.prototype.drawGraph=function(){var t=this,e=this.options,i=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,o=[["graph","highcharts-graph"]];n||o[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(o=t.getZonesGraphs(o)).forEach((function(o,r){var s=o[0],a=t[s],l=a?"animate":"attr";a?(a.endX=t.preventGraphAnimation?null:i.xMap,a.animate({d:i})):i.length&&(t[s]=a=t.chart.renderer.path(i).addClass(o[1]).attr({zIndex:1}).add(t.group)),a&&!n&&(s={stroke:o[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},o[3]?s.dashstyle=o[3]:"square"!==e.linecap&&(s["stroke-linecap"]=s["stroke-linejoin"]="round"),a[l](s).shadow(2>r&&e.shadow)),a&&(a.startX=i.xMap,a.isArea=i.isArea)}))},i.prototype.getGraphPath=function(t,e,i){var n,r=this,s=r.options,a=[],l=[],h=s.step,c=(t=t||r.points).reversed;return c&&t.reverse(),(h={right:1,center:2}[h]||h&&3)&&c&&(h=4-h),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!i))).forEach((function(c,d){var p=c.plotX,u=c.plotY,f=t[d-1];(c.leftCliff||f&&f.rightCliff)&&!i&&(n=!0),c.isNull&&!o(e)&&0<d?n=!s.connectNulls:c.isNull&&!e?n=!0:(0===d||n?d=[["M",c.plotX,c.plotY]]:r.getPointSpline?d=[r.getPointSpline(t,c,d)]:h?(d=1===h?[["L",f.plotX,u]]:2===h?[["L",(f.plotX+p)/2,f.plotY],["L",(f.plotX+p)/2,u]]:[["L",p,f.plotY]]).push(["L",p,u]):d=[["L",p,u]],l.push(c.x),h&&(l.push(c.x),2===h&&l.push(c.x)),a.push.apply(a,d),n=!1)})),a.xMap=l,r.graphPath=a},i.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,i){i=["zone-graph-"+i,"highcharts-graph highcharts-zone-graph-"+i+" "+(e.className||"")],this.chart.styledMode||i.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(i)}),this),t},i.defaultOptions=r(t.defaultOptions,{}),i}(t),e.registerSeriesType("line",i),i})),e(i,"Series/Area/AreaSeries.js",[i["Core/Color/Color.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.parse,s=i.seriesTypes.line;t=n.extend;var a=n.merge,l=n.objectEach,h=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;
11return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,i=this.areaPath,n=this.options,o=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(t,i){o.push(["zone-area-"+i,"highcharts-area highcharts-zone-area-"+i+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])})),o.forEach((function(t){var o=t[0],s=e[o],a=s?"animate":"attr",l={};s?(s.endX=e.preventGraphAnimation?null:i.xMap,s.animate({d:i})):(l.zIndex=0,(s=e[o]=e.chart.renderer.path(i).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(l.fill=h(t[3],r(t[2]).setOpacity(h(n.fillOpacity,.75)).get())),s[a](l),s.startX=i.xMap,s.shiftUnit=n.step?2:1}))},e.prototype.getGraphPath=function(t){var e,i=s.prototype.getGraphPath,n=this.options,o=n.stacking,r=this.yAxis,a=[],l=[],c=this.index,d=r.stacking.stacks[this.stackKey],p=n.threshold,u=Math.round(r.getThreshold(n.threshold));n=h(n.connectNulls,"percent"===o);var f=function(e,i,n){var s=t[e];e=o&&d[s.x].points[c];var h=s[n+"Null"]||0;if(n=s[n+"Cliff"]||0,s=!0,n||h){var f=(h?e[0]:e[1])+n,g=e[0]+n;s=!!h}else!o&&t[i]&&t[i].isNull&&(f=g=p);void 0!==f&&(l.push({plotX:m,plotY:null===f?u:r.getThreshold(f),isNull:s,isCliff:!0}),a.push({plotX:m,plotY:null===g?u:r.getThreshold(g),doCurve:!1}))};for(t=t||this.points,o&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){o||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var g=t[e].isNull,m=h(t[e].rectPlotX,t[e].plotX),y=o?h(t[e].yBottom,u):u;g&&!n||(n||f(e,e-1,"left"),g&&!o&&n||(l.push(t[e]),a.push({x:e,plotX:m,plotY:y})),n||f(e,e+1,"right"))}return e=i.call(this,l,!0,!0),a.reversed=!0,(y=(g=i.call(this,a,!0,!0))[0])&&"M"===y[0]&&(g[0]=["L",y[1],y[2]]),(g=e.concat(g)).length&&g.push(["Z"]),i=i.call(this,l,!1,n),g.xMap=e.xMap,this.areaPath=g,i},e.prototype.getStackPoints=function(t){var e=this,i=[],n=[],o=this.xAxis,r=this.yAxis,s=r.stacking.stacks[this.stackKey],a={},c=r.series,d=c.length,p=r.options.reversedStacks?1:-1,u=c.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,a[t[f].x]=t[f];l(s,(function(t,e){null!==t.total&&n.push(e)})),n.sort((function(t,e){return t-e}));var g=c.map((function(t){return t.visible}));n.forEach((function(t,l){var f,m,y=0;if(a[t]&&!a[t].isNull)i.push(a[t]),[-1,1].forEach((function(i){var o=1===i?"rightNull":"leftNull",r=0,h=s[n[l+i]];if(h)for(var y=u;0<=y&&y<d;){var v=c[y].index;(f=h.points[v])||(v===e.index?a[t][o]=!0:g[y]&&(m=s[t].points[v])&&(r-=m[1]-m[0])),y+=p}a[t][1===i?"rightCliff":"leftCliff"]=r}));else{for(var v=u;0<=v&&v<d;){if(f=s[t].points[c[v].index]){y=f[1];break}v+=p}y=h(y,0),y=r.translate(y,0,1,0,1),i.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:y,yBottom:y})}}))}return i},e.defaultOptions=a(s.defaultOptions,{threshold:0}),e}(s),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),i.registerSeriesType("area",n),n})),e(i,"Series/Spline/SplineSeries.js",[i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=t.seriesTypes.line,o=e.merge,r=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.getPointSpline=function(t,e,i){var n=e.plotX||0,o=e.plotY||0,s=t[i-1];if(i=t[i+1],s&&!s.isNull&&!1!==s.doCurve&&!e.isCliff&&i&&!i.isNull&&!1!==i.doCurve&&!e.isCliff){t=s.plotY||0;var a=i.plotX||0;i=i.plotY||0;var l=0,h=(1.5*n+(s.plotX||0))/2.5,c=(1.5*o+t)/2.5,d=(1.5*o+i)/2.5;(a=(1.5*n+a)/2.5)!==h&&(l=(d-c)*(a-n)/(a-h)+o-d),d+=l,(c+=l)>t&&c>o?d=2*o-(c=Math.max(t,o)):c<t&&c<o&&(d=2*o-(c=Math.min(t,o))),d>i&&d>o?c=2*o-(d=Math.max(i,o)):d<i&&d<o&&(c=2*o-(d=Math.min(i,o))),e.rightContX=a,e.rightContY=d}
11return e=["C",r(s.rightContX,s.plotX,0),r(s.rightContY,s.plotY,0),r(h,n,0),r(c,o,0),n,o],s.rightContX=s.rightContY=void 0,e},e.defaultOptions=o(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e})),e(i,"Series/AreaSpline/AreaSplineSeries.js",[i["Series/Area/AreaSeries.js"],i["Series/Spline/SplineSeries.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.prototype,a=o.extend,l=o.merge;return a((o=function(i){function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return r(n,i),n.defaultOptions=l(e.defaultOptions,t.defaultOptions),n}(e)).prototype,{getGraphPath:s.getGraphPath,getStackPoints:s.getStackPoints,drawGraph:s.drawGraph,drawLegendSymbol:i.drawRectangle}),n.registerSeriesType("areaspline",o),o})),e(i,"Series/Column/ColumnSeries.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s){var a=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),l=t.animObject,h=e.parse,c=i.hasTouch;t=i.noop;var d=s.clamp,p=s.css,u=s.defined,f=s.extend,g=s.fireEvent,m=s.isArray,y=s.isNumber,v=s.merge,x=s.pick,b=s.objectEach;return s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return a(e,t),e.prototype.animate=function(t){var e=this,i=this.yAxis,n=e.options,o=this.chart.inverted,r={},s=o?"translateX":"translateY";if(t)r.scaleY=.001,t=d(i.toPixels(n.threshold),i.pos,i.pos+i.len),o?r.translateX=t-i.len:r.translateY=t,e.clipBox&&e.setClip(),e.group.attr(r);else{var a=Number(e.group.attr(s));e.group.animate({scaleY:1},f(l(e.options.animation),{step:function(t,n){e.group&&(r[s]=a+n.pos*(i.pos-a),e.group.attr(r))}}))}},e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,i=t.xAxis,n=t.yAxis,o=i.options.reversedStacks;o=i.reversed&&!o||!i.reversed&&o;var r,s={},a=0;!1===e.grouping?a=1:t.chart.series.forEach((function(e){var i=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===i.len&&n.pos===i.pos){if(o.stacking&&"group"!==o.stacking){r=e.stackKey,void 0===s[r]&&(s[r]=a++);var l=s[r]}else!1!==o.grouping&&(l=a++);e.columnIndex=l}}));var l=Math.min(Math.abs(i.transA)*(i.ordinal&&i.ordinal.slope||e.pointRange||i.closestPointRange||i.tickInterval||1),i.len),h=l*e.groupPadding,c=(l-2*h)/(a||1);return e=Math.min(e.maxPointWidth||i.len,x(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(h+((t.columnIndex||0)+(o?1:0))*c-l/2)*(o?-1:1),paddedWidth:c,columnCount:a},t.columnMetrics},e.prototype.crispCol=function(t,e,i,n){var o=this.chart,r=this.borderWidth,s=-(r%2?.5:0);return r=r%2?.5:1,o.inverted&&o.renderer.isVML&&(r+=1),this.options.crisp&&(i=Math.round(t+i)+s,i-=t=Math.round(t)+s),n=Math.round(e+n)+r,s=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+r,s&&n&&(--e,n+=1),{x:t,y:e,width:i,height:n}},e.prototype.adjustForMissingColumns=function(t,e,i,n){var o=this,r=this.options.stacking;if(!i.isNull&&1<n.columnCount){var s=0,a=0;b(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof i.x&&(t=t[i.x.toString()])){var e=t.points[o.index],n=t.total;r?(e&&(s=a),t.hasValidPoints&&a++):m(e)&&(s=e[1],a=n||0)}})),t=(i.plotX||0)+((a-1)*n.paddedWidth+e)/2-e-s*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,i=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=x(i.borderWidth,n?0:1);var r=t.xAxis,s=t.yAxis,a=i.threshold,l=t.translatedThreshold=s.getThreshold(a),h=x(i.minPointLength,5),c=t.getColumnMetrics(),p=c.width,f=t.pointXOffset=c.offset,g=t.dataMin,m=t.dataMax,v=t.barW=Math.max(p,1+2*n);e.inverted&&(l-=.5),i.pointPadding&&(v=Math.ceil(v)),o.prototype.translate.apply(t),t.points.forEac
11h((function(n){var o=x(n.yBottom,l),b=999+Math.abs(o),w=n.plotX||0;b=d(n.plotY,-b,s.len+b);var C=Math.min(b,o),S=Math.max(b,o)-C,k=p,T=w+f,A=v;h&&Math.abs(S)<h&&(S=h,w=!s.reversed&&!n.negative||s.reversed&&n.negative,y(a)&&y(m)&&n.y===a&&m<=a&&(s.min||0)<a&&(g!==m||(s.max||0)<=a)&&(w=!w),C=Math.abs(C-l)>h?o-h:l-(w?h:0)),u(n.options.pointWidth)&&(k=A=Math.ceil(n.options.pointWidth),T-=Math.round((k-p)/2)),i.centerInCategory&&(T=t.adjustForMissingColumns(T,k,n,c)),n.barX=T,n.pointWidth=k,n.tooltipPos=e.inverted?[d(s.len+s.pos-e.plotLeft-b,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),r.len+r.pos-e.plotTop-T-A/2,S]:[r.left-e.plotLeft+T+A/2,d(b+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),S],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[T,l,A,0]:[T,C,A,S])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,n=this.pointAttrToOptions||{},o=n.stroke||"borderColor",r=n["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[o]||i[o]||s;n=t&&t.options.dashStyle||i.dashStyle;var l=t&&t[r]||i[r]||this[r]||0,c=x(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var d=t.getZone();s=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(a=d.borderColor||a,n=d.dashStyle||n,l=d.borderWidth||l)}return e&&t&&(e=(t=v(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||void 0!==e&&h(s).brighten(t.brightness).get()||s,a=t[o]||a,l=t[r]||l,n=t.dashStyle||n,c=x(t.opacity,c)),o={fill:s,stroke:a,"stroke-width":l,opacity:c},n&&(o.dashstyle=n),o},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,n=e.options,o=i.renderer,r=n.animationLimit||250;e.points.forEach((function(s){var a=s.graphic,l=!!a,h=a&&i.pointCount<r?"animate":"attr";y(s.plotY)&&null!==s.y?(t=s.shapeArgs,a&&s.hasNewShapeType()&&(a=a.destroy()),e.enabledDataSorting&&(s.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),a||(s.graphic=a=o[s.shapeType](t).add(s.group||e.group))&&e.enabledDataSorting&&i.hasRendered&&i.pointCount<r&&(a.attr({x:s.startXPos}),l=!0,h="animate"),a&&l&&a[h](v(t)),n.borderRadius&&a[h]({r:n.borderRadius}),i.styledMode||a[h](e.pointAttribs(s,s.selected&&"select")).shadow(!1!==s.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),a&&(a.addClass(s.getClassName(),!0),a.attr({visibility:s.visible?"inherit":"hidden"}))):a&&(s.graphic=a.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,i=e.chart,n=i.pointer,o=function(t){var e=n.getPointFromEvent(t);void 0!==e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=m(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),c&&e[t].on("touchstart",o),!i.styledMode&&e.options.cursor&&e[t].css(p).css({cursor:e.options.cursor}))})),e._hasTracking=!0),g(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),o.prototype.remove.apply(t,arguments)},e.defaultOptions=v(o.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(o),f(s.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),r.registerSeriesType("column",s),s})),e(i,"Core/Series/DataLabel.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Utilities.js"]],(function(t,e,i){var n,o=t.getDeferredAnimation,r=e.format,s=i.defined,a=i.extend,l=i.fireEvent,h=i.isArray,c=i.merge,d=i.objectEach,p=i.pick,u=i.splat;return function(t){function e(t,e,i,n,o){var r=this,s=this.chart,l=this.isCartesian&&s.inverted,h=this.enabledDataSorting,c=p(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),d=p(t.plotY,-9999),u=e.getBBox(),f=i.rotation,g=i.align,m=s.isInsidePlot(c,Math.round(d),{inverted:l,paneCoordinates:!0,series:r}),y=function(i){h&&r.xAxis&&!v&&r.setDataLabelStartPos(t,e,o,m,i)},v="justify"===p(i.overflow,h?"none":"justify"),x=this.visible&&!1!==t.visible&&(t.series.forceDL||h&&!v||m||p(i.inside,!!this.options.stacking)&&n&&s.isInsidePlot(c,l?n.x+1:n.y+n.height-1,{inverted:l,paneCoordinates:!0,series:r}));if(x){var b=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;n=a({x:l?this.yAxis.len-d:c,y:Math.round(l?this.xAxis.len-c:d),width:0,height:0},n),a(i,{width:u.width,height:u.height}),f?(v=!1,c=s.renderer.rotCorr(b,f),y(c={x:n.x+(i.x||0)+n.width/2+c.x,y:n.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height}),e[o?"attr":"animate"](c).attr({align:g}),y=180<(y=(f+720)%360)&&360>y,"left"===g?c.y-=y?u.height:0:"center"===g?(c.x-=u.width/2,c.y-=u.height/2):"right"===g&&(c.x-=u.width,c.y-=y?0:u.height),e.placed=!0,e.alignAttr=c):(y(n),e.align(i,void 0,n),c=e.alignAttr),v&&0<=n.height?this.justifyDataLabel(e,i,c,u,n,o):p(i.crop,!0)&&(x=s.isInsidePlot(c.x,c.y,{paneCoordinates:!0,series:r})&&s.isInsidePlot(c.x+u.width,c.y+u.height,{paneCoordinates:!0,series:r})),i.shape&&!f&&e[o?"attr":"animate"]({anchorX:l?s.plotWidth-t.plotY:t.plotX,anchorY:l?s.plotHeight-t.plotX:t.plotY})}o&&h&&(e.placed=!1),x||h&&!v||(e.hide(!0),e.placed=!1)}function i(){var t=this,e=t.chart,i=t.options,n=t.points,a=t.hasRendered||0,c=e.renderer,g=i.dataLabels,m=g.animation;if(m=g.defer?o(e,m,t):{defer:0,duration:0},g=f(f(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),g),l(this,"drawDataLabels"),h(g)||g.enabled||t._hasPointLabels){var y=t.plotGroup("dataLabelsGroup","data-labels",a?"inherit":"hidden",g.zIndex||6);y.attr({opacity:+a}),!a&&(a=t.dataLabelsGroup)&&(t.visible&&y.show(!0),a[i.animation?"animate":"attr"]({opacity:1}
11,m)),n.forEach((function(n){u(f(g,n.dlOptions||n.options&&n.options.dataLabels)).forEach((function(o,a){var l=o.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t<i||">="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(n,o),h=n.connectors?n.connectors[a]:n.connector,u=n.dataLabels?n.dataLabels[a]:n.dataLabel,f=p(o.distance,n.labelDistance),g=!u;if(l){var m=n.getLabelConfig(),v=p(o[n.formatPrefix+"Format"],o.format);m=s(v)?r(v,m,e):(o[n.formatPrefix+"Formatter"]||o.formatter).call(m,o),v=o.style;var x=o.rotation;e.styledMode||(v.color=p(o.color,v.color,t.color,"#000000"),"contrast"===v.color?(n.contrastColor=c.getContrast(n.color||t.color),v.color=!s(f)&&o.inside||0>f||i.stacking?n.contrastColor:"#000000"):delete n.contrastColor,i.cursor&&(v.cursor=i.cursor));var b={r:o.borderRadius||0,rotation:x,padding:o.padding,zIndex:1};e.styledMode||(b.fill=o.backgroundColor,b.stroke=o.borderColor,b["stroke-width"]=o.borderWidth),d(b,(function(t,e){void 0===t&&delete b[e]}))}!u||l&&s(m)&&!!u.div==!!o.useHTML||(n.dataLabel=u=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[a]),a||delete n.dataLabel,h&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[a]))),l&&s(m)&&(u?b.text=m:(n.dataLabels=n.dataLabels||[],u=n.dataLabels[a]=x?c.text(m,0,-9999,o.useHTML).addClass("highcharts-data-label"):c.label(m,0,-9999,o.shape,null,null,o.useHTML,null,"data-label"),a||(n.dataLabel=u),u.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(o.className||"")+(o.useHTML?" highcharts-tracker":""))),u.options=o,u.attr(b),e.styledMode||u.css(v).shadow(o.shadow),u.added||u.add(y),o.textPath&&!o.useHTML&&(u.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(u)||n.graphic,o.textPath),n.dataLabelPath&&!o.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),t.alignDataLabel(n,u,o,null,g))}))}))}l(this,"afterDrawDataLabels")}function n(t,e,i,n,o,r){var s=this.chart,a=e.align,l=e.verticalAlign,h=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var d=e.y;d=void 0===d?0:d;var p=(i.x||0)+h;if(0>p){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=p;var u=!0}return(p=(i.x||0)+n.width-h)>s.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=s.plotWidth-p,u=!0),0>(p=i.y+h)&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=p,u=!0),(p=(i.y||0)+n.height-h)>s.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=s.plotHeight-p,u=!0),u&&(e.x=c,e.y=d,t.placed=!r,t.align(e,void 0,o)),u}function f(t,e){var i,n=[];if(h(t)&&!h(e))n=t.map((function(t){return c(t,e)}));else if(h(e)&&!h(t))n=e.map((function(e){return c(t,e)}));else if(h(t)||h(e))for(i=Math.max(t.length,e.length);i--;)n[i]=c(t[i],e[i]);else n=c(t,e);return n}function g(t,e,i,n,o){var r=this.chart,s=r.inverted,a=this.xAxis,l=a.reversed,h=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=s?o.x:l?-h-t:a.width-h+t,e.startYPos=s?l?this.yAxis.height-h+t:-h-t:o.y,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0}
11,void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var m=[];t.compose=function(t){if(-1===m.indexOf(t)){var o=t.prototype;m.push(t),o.alignDataLabel=e,o.drawDataLabels=i,o.justifyDataLabel=n,o.setDataLabelStartPos=g}}}(n||(n={})),n})),e(i,"Series/Column/ColumnDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var n,o=e.series,r=i.merge,s=i.pick;return function(e){function i(t,e,i,n,a){var l=this.chart.inverted,h=t.series,c=(h.xAxis?h.xAxis.len:this.chart.plotSizeX)||0;h=(h.yAxis?h.yAxis.len:this.chart.plotSizeY)||0;var d=t.dlBox||t.shapeArgs,p=s(t.below,t.plotY>s(this.translatedThreshold,h)),u=s(i.inside,!!this.options.stacking);d&&(0>(n=r(d)).y&&(n.height+=n.y,n.y=0),0<(d=n.y+n.height-h)&&d<n.height&&(n.height-=d),l&&(n={x:h-n.y-n.height,y:c-n.x-n.width,width:n.height,height:n.width}),u||(l?(n.x+=p?0:n.width,n.width=0):(n.y+=p?n.height:0,n.height=0))),i.align=s(i.align,!l||u?"center":p?"right":"left"),i.verticalAlign=s(i.verticalAlign,l||u?"middle":p?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,i,n,a),i.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(o),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=i)}}(n||(n={})),n})),e(i,"Series/Bar/BarSeries.js",[i["Series/Column/ColumnSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=i.extend,r=i.merge;return i=function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(i,e),i.defaultOptions=r(t.defaultOptions,{}),i}(t),o(i.prototype,{inverted:!0}),e.registerSeriesType("bar",i),i})),e(i,"Series/Scatter/ScatterSeries.js",[i["Series/Column/ColumnSeries.js"],i["Series/Line/LineSeries.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.addEvent,s=n.extend,a=n.merge;return s((n=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(i,t),i.prototype.applyJitter=function(){var t=this,e=this.options.jitter,i=this.points.length;e&&this.points.forEach((function(n,o){["x","y"].forEach((function(r,s){var a="plot"+r.toUpperCase();if(e[r]&&!n.isNull){var l=t[r+"Axis"],h=e[r]*l.transA;if(l&&!l.isLog){var c=Math.max(0,n[a]-h);l=Math.min(l.len,n[a]+h),s=1e4*Math.sin(o+s*i),n[a]=c+(l-c)*(s-Math.floor(s)),"x"===r&&(n.clientX=n.plotX)}}}))}))},i.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},i.defaultOptions=a(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),i}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(n,"afterTranslate",(function(){this.applyJitter()})),i.registerSeriesType("scatter",n),n})),e(i,"Series/CenteredUtilities.js",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e,i){var n,o=t.deg2rad,r=i.isNumber,s=i.pick,a=i.relativeLength;return function(t){t.getCenter=function(){var t=this.options,i=this.chart,n=2*(t.slicedOffset||0),o=i.plotWidth-2*n,r=i.plotHeight-2*n,l=t.center,h=Math.min(o,r),c=t.size,d=t.innerSize||0;for("string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d)),t=[s(l[0],"50%"),s(l[1],"50%"),s(c&&0>c?void 0:t.size,"100%"),s(d&&0>d?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)c=t[l],i=2>l||2===l&&/%$/.test(c),t[l]=a(c,[o,r,h,t[2]][l])+(i?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=r(t)?t:0,e=r(e)&&e>t&&360>e-t?e:t+360,{start:o*(t+-90),end:o*(e+-90)}}}(n||(n={})),n}
11)),e(i,"Series/Pie/PiePoint.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.setAnimation,r=i.addEvent,s=i.defined;t=i.extend;var a=i.isNumber,l=i.pick,h=i.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=this.connectorShapes,n=e.connectorShape;return i[n]&&(n=i[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var i=function(t){e.slice("select"===t.type)};return r(this,"select",i),r(this,"unselect",i),this},e.prototype.isValid=function(){return a(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var i=this,n=this.series,o=n.chart,r=n.options.ignoreHiddenPoint;e=l(e,r),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](t)})),this.legendItem&&o.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),r&&(n.isDirty=!0),e&&o.redraw())},e.prototype.slice=function(t,e,i){var n=this.series;o(i,n.chart),l(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var n=this.series,o=n.center[0],r=n.chart.plotWidth,s=n.chart.plotLeft;n=t.alignment;var a=this.shapeArgs.r;return i=h(i.crookDistance,1),i=["L",r="left"===n?o+a+(r+s-o-a)*(1-i):s+(o-a)*i,t.y],o=!0,("left"===n?r>t.x||r<e.x:r<t.x||r>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e})),e(i,"Series/Pie/PieSeries.js",[i["Series/CenteredUtilities.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Core/Legend/LegendSymbol.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l){var h=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),c=t.getStartAndEndRadians;i=i.noop;var d=l.clamp,p=l.extend,u=l.fireEvent,f=l.merge,g=l.pick,m=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return h(e,t),e.prototype.animate=function(t){var e=this,i=e.points,n=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,o=t.shapeArgs;i&&o&&(i.attr({r:g(t.startR,e.center&&e.center[3]/2),start:n,end:n}),i.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var n=this.center[0],o=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,o,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(n,o,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;
11this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var n=this.center,o=this.radii?this.radii[i.index]||0:n[2]/2;return t=Math.asin(d((t-n[1])/(o+i.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(o+i.labelDistance)+(0<i.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,i,n,o=this,r=o.chart,s=r.renderer,a=o.options.shadow;this.drawEmpty(),!a||o.shadowGroup||r.styledMode||(o.shadowGroup=s.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach((function(l){var h={};if(e=l.graphic,!l.isNull&&e){var c=void 0;n=l.shapeArgs,t=l.getTranslate(),r.styledMode||(c=l.shadowGroup,a&&!c&&(c=l.shadowGroup=s.g("shadow").add(o.shadowGroup)),c&&c.attr(t),i=o.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(o.center).attr(n).attr(t),r.styledMode||e.attr(i).attr({"stroke-linejoin":"round"}).shadow(a,c),l.delayedRendering=!1):(e.setRadialReference(o.center),r.styledMode||f(!0,h,i),f(!0,h,n,t),e.animate(h)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,i){return void 0!==t.angle&&(i.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=this.options,i=e.slicedOffset,n=i+(e.borderWidth||0),o=c(e.startAngle,e.endAngle),r=this.startAngleRad=o.start;o=(this.endAngleRad=o.end)-r;var s=this.points,a=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,h=s.length,d=0;for(t||(this.center=t=this.getCenter()),l=0;l<h;l++){var p=s[l],f=r+d*o;!p.isValid()||e&&!p.visible||(d+=p.percentage/100);var y=r+d*o,v={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*f)/1e3,end:Math.round(1e3*y)/1e3};p.shapeType="arc",p.shapeArgs=v,p.labelDistance=g(p.options.dataLabels&&p.options.dataLabels.distance,a),p.labelDistance=m(p.labelDistance,v.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(y=(y+f)/2)>1.5*Math.PI?y-=2*Math.PI:y<-Math.PI/2&&(y+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(y)*i),translateY:Math.round(Math.sin(y)*i)},v=Math.cos(y)*t[2]/2;var x=Math.sin(y)*t[2]/2;p.tooltipPos=[t[0]+.7*v,t[1]+.7*x],p.half=y<-Math.PI/2||y>Math.PI/2?1:0,p.angle=y,f=Math.min(n,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+v+Math.cos(y)*p.labelDistance,y:t[1]+x+Math.sin(y)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(y)*f,y:t[1]+x+Math.sin(y)*f},touchingSliceAt:{x:t[0]+v,y:t[1]+x}}}}u(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,i=e.length,n=this.options.ignoreHiddenPoint,o=0;for(t=0;t<i;t++){var r=e[t];!r.isValid()||n&&!r.visible||(o+=r.y)}for(this.total=o,t=0;t<i;t++)(r=e[t]).percentage=0<o&&(r.visible||!n)?r.y/o*100:0,r.total=o},e.defaultOptions=f(r.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(r),p(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:i,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:o,requireSorting:!1,searchPoint:i,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",l),l}
11)),e(i,"Series/Pie/PieDataLabel.js",[i["Core/Series/DataLabel.js"],i["Core/Globals.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r,s=e.noop,a=i.distribute,l=n.series,h=o.arrayMax,c=o.clamp,d=o.defined,p=o.merge,u=o.pick,f=o.relativeLength;return function(e){function i(){var t,e,i,n,o,r,s,c,f,g,m,y,v=this,x=v.data,b=v.chart,w=v.options.dataLabels||{},C=w.connectorPadding,S=b.plotWidth,k=b.plotHeight,T=b.plotLeft,A=Math.round(b.chartWidth/3),M=v.center,E=M[2]/2,P=M[1],O=[[],[]],L=[0,0,0,0],D=v.dataLabelPositioners;v.visible&&(w.enabled||v._hasPointLabels)&&(x.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(v),x.forEach((function(t){t.dataLabel&&(t.visible?(O[t.half].push(t),t.dataLabel._pos=null,!d(w.style.width)&&!d(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>A&&(t.dataLabel.css({width:Math.round(.7*A)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),O.forEach((function(e,i){var l,h=e.length,p=[];if(h){if(v.sortByAngle(e,i-.5),0<v.maxLabelDistance){var x=Math.max(0,P-E-v.maxLabelDistance),A=Math.min(P+E+v.maxLabelDistance,b.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,P-E-t.labelDistance),t.bottom=Math.min(P+E+t.labelDistance,b.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},p.push(t.distributeBox))})),a(p,x=A+l-x,x/5)}for(m=0;m<h;m++){if(t=e[m],r=t.labelPosition,n=t.dataLabel,g=!1===t.visible?"hidden":"inherit",f=x=r.natural.y,p&&d(t.distributeBox)&&(void 0===t.distributeBox.pos?g="hidden":(s=t.distributeBox.size,f=D.radialDistributionY(t))),delete t.positionIndex,w.justify)c=D.justify(t,E,M);else switch(w.alignTo){case"connectors":c=D.alignToConnectors(e,i,S,T);break;case"plotEdges":c=D.alignToPlotEdges(n,i,S,T);break;default:c=D.radialDistributionX(v,t,f,x)}n._attr={visibility:g,align:r.alignment},y=t.options.dataLabels||{},n._pos={x:c+u(y.x,w.x)+({left:C,right:-C}[r.alignment]||0),y:f+u(y.y,w.y)-10},r.final.x=c,r.final.y=f,u(w.crop,!0)&&(o=n.getBBox().width,x=null,c-o<C&&1===i?(x=Math.round(o-c+C),L[3]=Math.max(x,L[3])):c+o>S-C&&0===i&&(x=Math.round(c+o-S+C),L[1]=Math.max(x,L[1])),0>f-s/2?L[0]=Math.max(Math.round(s/2-f),L[0]):f+s/2>k&&(L[2]=Math.max(Math.round(f+s/2-k),L[2])),n.sideOverflow=x)}}})),0===h(L)||this.verifyDataLabelOverflow(L))&&(this.placeDataLabels(),this.points.forEach((function(t){var o;(y=p(w,t.options.dataLabels),e=u(y.connectorWidth,1))&&(i=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(g=n._attr.visibility,(o=!i)&&(t.connector=i=b.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(v.dataLabelsGroup),b.styledMode||i.attr({"stroke-width":e,stroke:y.connectorColor||t.color||"#666666"})),i[o?"attr":"animate"]({d:t.getConnectorPath()}),i.attr("visibility",g)):i&&(t.connector=i.destroy()))})))}function n(){this.points.forEach((function(t){var e,i=t.dataLabel;i&&t.visible&&((e=i._pos)?(i.sideOverflow&&(i._attr.width=Math.max(i.getBBox().width-i.sideOverflow,0),i.css({width:i._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),i.shortened=!0),i.attr(i._attr),i[i.moved?"animate":"attr"](e),i.moved=!0):i&&i.attr({y:-9999})),delete t.distributeBox}),this)}function o(t){var e=this.center,i=this.options,n=i.center,o=i.minSize||80,r=null!==i.size;if(!r){if(null!==n[0])var s=Math.max(e[2]-Math.max(t[1],t[3]),o);else s=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==n[1]?s=c(s,o,e[2]-Math.max(t[0],t[2])):(s=c(s,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),s<e[2]?(e[2]=s,e[3]=Math.min(f(i.innerSize||0,s),s),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):r=!0}return r}var r=[],g={radialDistributionY:function(t){return t.top+t.distributeBox.pos}
11,radialDistributionX:function(t,e,i,n){return t.getX(i<e.top+2||i>e.bottom-2?n:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,n){return t=t.getBBox().width,e?t+n:i-t-n},alignToConnectors:function(t,e,i,n){var o,r=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>r&&(r=o)})),e?r+n:i-r-n}};e.compose=function(e){t.compose(l),-1===r.indexOf(e)&&(r.push(e),(e=e.prototype).dataLabelPositioners=g,e.alignDataLabel=s,e.drawDataLabels=i,e.placeDataLabels=n,e.verifyDataLabelOverflow=o)}}(r||(r={})),r})),e(i,"Extensions/OverlappingDataLabels.js",[i["Core/Chart/Chart.js"],i["Core/Utilities.js"]],(function(t,e){function i(t,e){var i=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})})),o(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return i}var n=e.addEvent,o=e.fireEvent,r=e.isArray,s=e.isNumber,a=e.objectEach,l=e.pick;n(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&a(t.stacking.stacks,(function(t){a(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(n){var o=n.options.dataLabels;n.visible&&(!1!==o.enabled||n._hasPointLabels)&&((o=function(n){return n.forEach((function(n){n.visible&&(r(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(o){var r=o.options;o.labelrank=l(r.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),r.allowOverlap?(o.oldOpacity=o.opacity,o.newOpacity=1,i(o,t)):e.push(o)}))}))})(n.nodes||[]),o(n.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,n,r,a=this,l=t.length,h=a.renderer,c=!1,d=function(t){var e,i,n=t.box?0:t.padding||0,o=e=0;if(t&&(!t.alignAttr||t.placed)){var r=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},a=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=h.fontMetrics(null,t.element).h);var l=t.width-2*n;return(i={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+i*l:s(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:r.x+(a.translateX||0)+n-(o||0),y:r.y+(a.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<l;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<l;n++){var p=(d=t[n])&&d.absoluteBox;for(e=n+1;e<l;++e){var u=(r=t[e])&&r.absoluteBox;!p||!u||d===r||0===d.newOpacity||0===r.newOpacity||u.x>=p.x+p.width||u.x+u.width<=p.x||u.y>=p.y+p.height||u.y+u.height<=p.y||((d.labelrank<r.labelrank?d:r).newOpacity=0)}}t.forEach((function(t){i(t,a)&&(c=!0)})),c&&o(a,"afterHideAllOverlappingLabels")}})),e(i,"Core/Responsive.js",[i["Core/Utilities.js"]],(function(t){var e,i=t.extend,n=t.find,o=t.isArray,r=t.isObject,s=t.merge,a=t.objectEach,l=t.pick,h=t.splat,c=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),i(t.prototype,d.prototype)),t};var d=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,i={};return function t(i,n,s,l){var c;
11a(i,(function(i,a){if(!l&&-1<e.collectionsWithUpdate.indexOf(a)&&n[a])for(i=h(i),s[a]=[],c=0;c<Math.max(i.length,n[a].length);c++)n[a][c]&&(void 0===i[c]?s[a][c]=n[a][c]:(s[a][c]={},t(i[c],n[a][c],s[a][c],l+1)));else r(i)?(s[a]=o(i)?[]:{},t(i,n[a]||{},s[a],l+1)):s[a]=void 0===n[a]?null:n[a]}))}(t,this.options,i,0),i},t.prototype.matchResponsiveRule=function(t,e){var i=t.condition;(i.callback||function(){return this.chartWidth<=l(i.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(i.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(i.minWidth,0)&&this.chartHeight>=l(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,r=this.currentResponsive,a=[];!e&&o&&o.rules&&o.rules.forEach((function(t){void 0===t._id&&(t._id=c()),i.matchResponsiveRule(t,a)}),this),(e=s.apply(void 0,a.map((function(t){return n((o||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(a=a.toString()||void 0)!==(r&&r.ruleIds)&&(r&&this.update(r.undoOptions,t,!0),a?((r=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:a,mergedOptions:e,undoOptions:r},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(i,"masters/highcharts.src.js",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/DefaultOptions.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/FormatUtilities.js"],i["Core/Renderer/RendererUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Renderer/HTML/HTMLElement.js"],i["Core/Renderer/HTML/HTMLRenderer.js"],i["Core/Axis/Axis.js"],i["Core/Axis/DateTimeAxis.js"],i["Core/Axis/LogarithmicAxis.js"],i["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],i["Core/Axis/Tick.js"],i["Core/Tooltip.js"],i["Core/Series/Point.js"],i["Core/Pointer.js"],i["Core/MSPointer.js"],i["Core/Legend/Legend.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Series/Column/ColumnSeries.js"],i["Series/Column/ColumnDataLabel.js"],i["Series/Pie/PieSeries.js"],i["Series/Pie/PieDataLabel.js"],i["Core/Series/DataLabel.js"],i["Core/Responsive.js"],i["Core/Color/Color.js"],i["Core/Time.js"]],(function(t,e,i,n,o,r,s,a,l,h,c,d,p,u,f,g,m,y,v,x,b,w,C,S,k,T,A,M,E,P,O,L,D){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=n.timers,t.AST=r,t.Axis=p,t.Chart=C,t.chart=C.chart,t.Fx=n,t.Legend=w,t.PlotLineOrBand=g,t.Point=v,t.Pointer=b.isRequired()?b:x,t.Series=S,t.SVGElement=l,t.SVGRenderer=h,t.Tick=m,t.Time=D,t.Tooltip=y,t.Color=L,t.color=L.parse,d.compose(h),c.compose(l),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=s.dateFormat,t.format=s.format,t.numberFormat=s.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=k.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,A.compose(T),P.compose(S),u.compose(p),f.compose(p),E.compose(M),g.compose(p),O.compose(C),t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]}))}
11,function(t,e,i){var n,o;
12/*!
13 * JavaScript Cookie v2.2.1
14 * https://github.com/js-cookie/js-cookie
15 *
16 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
17 * Released under the MIT license
18 */!function(r){if(void 0===(o="function"==typeof(n=r)?n.call(e,i,e,t):n)||(t.exports=o),!0,t.exports=r(),!!0){var s=window.Cookies,a=window.Cookies=r();a.noConflict=function(){return window.Cookies=s,a}}}((function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function i(n){function o(){}function r(e,i,r){if("undefined"!=typeof document){"number"==typeof(r=t({path:"/"},o.defaults,r)).expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var s=JSON.stringify(i);/^[\{\[]/.test(s)&&(i=s)}catch(t){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var l in r)r[l]&&(a+="; "+l,!0!==r[l]&&(a+="="+r[l].split(";")[0]));return document.cookie=e+"="+i+a}}function s(t,i){if("undefined"!=typeof document){for(var o={},r=document.cookie?document.cookie.split("; "):[],s=0;s<r.length;s++){var a=r[s].split("="),l=a.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var h=e(a[0]);if(l=(n.read||n)(l,h)||e(l),i)try{l=JSON.parse(l)}catch(t){}if(o[h]=l,t===h)break}catch(t){}}return t?o[t]:o}}return o.set=r,o.get=function(t){return s(t,!1)},o.getJSON=function(t){return s(t,!0)},o.remove=function(e,i){r(e,"",t(i,{expires:-1}))},o.defaults={},o.withConverter=i,o}((function(){}))}))},function(t,e,i){"use strict";var n,o;!function(r){t.exports?(r.default=r,t.exports=r):(n=[i(3)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))}((function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}e(t=t?t._modules:{},"Extensions/FullScreen.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],(function(t,e,i,n){var o=n.addEvent;return n=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this.chart,e=t.options.chart;this.isOpen&&this.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[this.browserProps.exitFullscreen](),this.unbindFullscreenEvent&&(this.unbindFullscreenEvent=this.unbindFullscreenEvent()),t.setSize(this.origWidth,this.origHeight,!1),this.origHeight=this.origWidth=void 0,e.width=this.origWidthOption,e.height=this.origHeightOption,this.origHeightOption=this.origWidthOption=void 0,this.isOpen=!1,this.setButtonText()},t.prototype.open=function(){var t=this,e=t.chart,i=e.options.chart;if(i&&(t.origWidthOption=i.width,t.origHeightOption=i.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var n=o(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())})),r=o(e,"destroy",n);t.unbindFullscreenEvent=function(){n(),r()},(i=e.renderTo[t.browserProps.requestFullscreen]())&&i.catch((function(){alert("Full screen is not supported inside a frame.")}))}},t.prototype.setButtonText=function(){var t=this.chart,e=t.exportDivElements,n=t.o
18ptions.exporting,o=n&&n.buttons&&n.buttons.contextButton.menuItems;t=t.options.lang,n&&n.menuItemDefinitions&&t&&t.exitFullscreen&&t.viewFullscreen&&o&&e&&(e=e[o.indexOf("viewFullscreen")])&&i.setElementHTML(e,this.isOpen?t.exitFullscreen:n.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=n,o(t,"beforeRender",(function(){this.fullscreen=new e.Fullscreen(this)})),e.Fullscreen})),e(t,"Core/Chart/ChartNavigationComposition.js",[],(function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var i=this;this.updates.forEach((function(n){n.call(i.chart,t,e)}))},t}();t.Additions=e}(t||(t={})),t})),e(t,"Extensions/Exporting/ExportingDefaults.js",[t["Core/Globals.js"]],(function(t){return{exporting:{type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:t.isTouchDevice?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"}}}})),e(t,"Extensions/Exporting/ExportingSymbols.js",[],(function(){var t;return function(t){function e(t,e,i,n){return[["M",t,e+2.5],["L",t+i,e+2.5],["M",t,e+n/2+.5],["L",t+i,e+n/2+.5],["M",t,e+n-1.5],["L",t+i,e+n-1.5]]}function i(t,e,i,n){return t=n/3-2,(n=[]).concat(this.circle(i-t,e,t,t),this.circle(i-t,e+t+4,t,t),this.circle(i-t,e+2*(t+4),t,t))}var n=[];t.compose=function(t){-1===n.indexOf(t)&&(n.push(t),(t=t.prototype.symbols).menu=e,t.menuball=i.bind(t))}}(t||(t={})),t})),e(t,"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var i=t.doc,n=e.createElement,o=e.discardElement,r=e.merge,s=e.objectEach,a={ajax:function(t){var e=r(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},t);t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"};var i=new XMLHttpRequest;if(!e.url)return!1;i.open(e.type.toUpperCase(),e.url,!0),e.headers["Content-Type"]||i.setRequestHeader("Content-Type",t[e.dataType]||t.text),s(e.headers,(function(t,e){i.setRequestHeader(e,t)})),i.onreadystatechange=function(){if(4===i.readyState){if(200===i.status){var t=i.responseText;if("json"===e.dataType)try{t=JSON.parse(t)}catch(t){return void(e.error&&e.error(i,t))}return e.success&&e.success(t)}e.error&&e.error(i,i.responseText)}};try{e.data=JSON.stringify(e.data)}catch(t){}i.send(e.data||!0)},getJSON:function(t,e){a.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,a){var l=n("form",r({method:"post",action:t,enctype:"multipart/form-data"},a),{display:"none"},i.body);s(e,(function(t,e){n("input",{type:"hidden",name:e,value:t},null,l)})),l.submit(),o(l)}};return a})),e(t,"Extensions/Exporting/Exporting.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Extensions/Exporting/ExportingDefaults.js"],t["Extensions/Exporting/ExportingSymbols.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Utilities.js"]],(function(t,e,
18i,n,o,r,s,a,l){e=n.defaultOptions;var h,c=s.doc,d=s.win,p=l.addEvent,u=l.css,f=l.createElement,g=l.discardElement,m=l.extend,y=l.find,v=l.fireEvent,x=l.isObject,b=l.merge,w=l.objectEach,C=l.pick,S=l.removeEvent,k=l.uniqueKey;return function(e){function n(t){var e=this,i=e.renderer,n=b(e.options.navigation.buttonOptions,t),o=n.onclick,r=n.menuItems,s=n.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==n.enabled&&n.theme){var a,l=n.theme,h=l.states,c=h&&h.hover;h=h&&h.select,e.styledMode||(l.fill=C(l.fill,"#ffffff"),l.stroke=C(l.stroke,"none")),delete l.states,o?a=function(t){t&&t.stopPropagation(),o.call(e,t)}:r&&(a=function(t){t&&t.stopPropagation(),e.contextMenu(d.menuClassName,r,d.translateX,d.translateY,d.width,d.height,d),d.setState(2)}),n.text&&n.symbol?l.paddingLeft=C(l.paddingLeft,30):n.text||m(l,{width:n.width,height:n.height,padding:0}),e.styledMode||(l["stroke-linecap"]="round",l.fill=C(l.fill,"#ffffff"),l.stroke=C(l.stroke,"none"));var d=i.button(n.text,0,0,a,l,c,h).addClass(t.className).attr({title:C(e.options.lang[n._titleKey||n.titleKey],"")});if(d.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,n.symbol){var p=i.symbol(n.symbol,n.symbolX-s/2,n.symbolY-s/2,s,s,{width:s,height:s}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(d);e.styledMode||p.attr({stroke:n.symbolStroke,fill:n.symbolFill,"stroke-width":n.symbolStrokeWidth||1})}d.add(e.exportingGroup).align(m(n,{width:d.width,x:C(n.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(d.width+n.buttonSpacing)*("right"===n.align?-1:1),e.exportSVGElements.push(d,p)}}function o(){if(this.printReverseInfo){var t=this.printReverseInfo,e=t.childNodes,i=t.origDisplay;t=t.resetParams,this.moveContainers(this.renderTo),[].forEach.call(e,(function(t,e){1===t.nodeType&&(t.style.display=i[e]||"")})),this.isPrinting=!1,t&&this.setSize.apply(this,t),delete this.printReverseInfo,W=void 0,v(this,"afterPrint")}}function h(){var t=c.body,e=this.options.exporting.printMaxWidth,i={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),v(this,"beforePrint"),e&&this.chartWidth>e&&(i.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(i.childNodes,(function(t,e){1===t.nodeType&&(i.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=i}function T(t){t.renderExporting(),p(t,"redraw",t.renderExporting),p(t,"destroy",t.destroyExport)}function A(e,i,n,o,r,s,a){var h=this,g=h.options.navigation,y=h.chartWidth,b=h.chartHe
18ight,w="cache-"+e,C=Math.max(r,s),S=h[w];if(!S){h.exportContextMenu=h[w]=S=f("div",{className:e},{position:"absolute",zIndex:1e3,padding:C+"px",pointerEvents:"auto"},h.fixedDiv||h.container);var k=f("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},S);h.styledMode||u(k,m({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},g.menuStyle)),S.hideMenu=function(){u(S,{display:"none"}),a&&a.setState(0),h.openMenu=!1,u(h.renderTo,{overflow:"hidden"}),u(h.container,{overflow:"hidden"}),l.clearTimeout(S.hideTimer),v(h,"exportMenuHidden")},h.exportEvents.push(p(S,"mouseleave",(function(){S.hideTimer=d.setTimeout(S.hideMenu,500)})),p(S,"mouseenter",(function(){l.clearTimeout(S.hideTimer)})),p(c,"mouseup",(function(t){h.pointer.inClass(t.target,e)||S.hideMenu()})),p(S,"click",(function(){h.openMenu&&S.hideMenu()}))),i.forEach((function(e){if("string"==typeof e&&(e=h.options.exporting.menuItemDefinitions[e]),x(e,!0)){var i=void 0;e.separator?i=f("hr",void 0,void 0,k):("viewData"===e.textKey&&h.isDataTableVisible&&(e.textKey="hideData"),i=f("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),S.hideMenu(),e.onclick&&e.onclick.apply(h,arguments)}},void 0,k),t.setElementHTML(i,e.text||h.options.lang[e.textKey]),h.styledMode||(i.onmouseover=function(){u(this,g.menuItemHoverStyle)},i.onmouseout=function(){u(this,g.menuItemStyle)},u(i,m({cursor:"pointer"},g.menuItemStyle)))),h.exportDivElements.push(i)}})),h.exportDivElements.push(k,S),h.exportMenuWidth=S.offsetWidth,h.exportMenuHeight=S.offsetHeight}i={display:"block"},n+h.exportMenuWidth>y?i.right=y-n-r-C+"px":i.left=n-C+"px",o+s+h.exportMenuHeight>b&&"top"!==a.alignOptions.verticalAlign?i.bottom=b-o-C+"px":i.top=o+s-C+"px",u(S,i),u(h.renderTo,{overflow:""}),u(h.container,{overflow:""}),h.openMenu=!0,v(h,"exportMenuShown")}function M(t){var e,i=t?t.target:this,n=i.exportSVGElements,o=i.exportDivElements;t=i.exportEvents,n&&(n.forEach((function(t,o){t&&(t.onclick=t.ontouchstart=null,e="cache-"+t.menuClassName,i[e]&&delete i[e],n[o]=t.destroy())})),n.length=0),i.exportingGroup&&(i.exportingGroup.destroy(),delete i.exportingGroup),o&&(o.forEach((function(t,e){t&&(l.clearTimeout(t.hideTimer),S(t,"mouseleave"),o[e]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,g(t))})),o.length=0),t&&(t.forEach((function(t){t()})),t.length=0)}function E(t,e){e=this.getSVGForExport(t,e),t=b(this.options.exporting,t),a.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)}function P(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function O(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"==typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)}function L(t){var e,i=b(this.options,t);i.plotOptions=b(this.userOptions.plotOptions,t&&t.plotOptions),i.time=b(this.userOptions.time,t&&t.time);var n=f("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},c.body),o=this.renderTo.style.width,r=this.renderTo.style.height;o=i.exporting.sourceWidth||i.chart.width||/px$/.test(o)&&parseInt(o,10)||(i.isGantt?800:600),r=i.exporting.sourceHeight||i.chart.height||/px$/.test(r)&&parseInt(r,10)||400,m(i.chart,{animation:!1,renderTo:n,forExport:!0,renderer:"SVGRenderer",width:o,height:r}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach((function(t){(e=b(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||i.series.push(e)}));var s={};this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=k()),t.options.isInternal||(s[t.coll]||(s[t.coll]=!0,i[t.coll]=[]),i[t.coll].push(b(t.userOptions,{visible:t.visible})))}));var a=new this.constructor(i,this.callback);return t&&["xAxis","yAxis","series"].forEach((function(e){var i={};t[e]&&(i[e]=t[e],a.update(i))}
18)),this.axes.forEach((function(t){var e=y(a.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),i=t.getExtremes(),n=i.userMin;i=i.userMax,e&&(void 0!==n&&n!==e.min||void 0!==i&&i!==e.max)&&e.setExtremes(n,i,!0,!1)})),r=a.getChartHTML(),v(this,"getSVG",{chartCopy:a}),r=this.sanitizeSVG(r,i),i=null,a.destroy(),g(n),r}function D(t,e){var i=this.options.exporting;return this.getSVG(b({chart:{borderRadius:0}},i.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||i.sourceWidth,sourceHeight:t&&t.sourceHeight||i.sourceHeight}}))}function j(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function N(){var t,i=G,n=e.inlineWhitelist,o={},r=c.createElement("iframe");u(r,{width:"1px",height:"1px",visibility:"hidden"}),c.body.appendChild(r);var a=r.contentWindow.document;a.open(),a.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>'),a.close(),function e(r){function l(t,e){if(h=c=!1,n.length){for(p=n.length;p--&&!c;)c=n[p].test(e);h=!c}for("transform"===e&&"none"===t&&(h=!0),p=i.length;p--&&!h;)h=i[p].test(e)||"function"==typeof t;h||g[e]===t&&"svg"!==r.nodeName||o[r.nodeName][e]===t||(_&&-1===_.indexOf(e)?u+=j(e)+":"+t+";":t&&r.setAttribute(j(e),t))}var h,c,p,u="";if(1===r.nodeType&&-1===U.indexOf(r.nodeName)){var f=d.getComputedStyle(r,null),g="svg"===r.nodeName?{}:d.getComputedStyle(r.parentNode,null);if(!o[r.nodeName]){t=a.getElementsByTagName("svg")[0];var m=a.createElementNS(r.namespaceURI,r.nodeName);t.appendChild(m),o[r.nodeName]=b(d.getComputedStyle(m,null)),"text"===r.nodeName&&delete o.text.fill,t.removeChild(m)}if(s.isFirefox||s.isMS)for(var y in f)l(f[y],y);else w(f,l);u&&(f=r.getAttribute("style"),r.setAttribute("style",(f?f+";":"")+u)),"svg"===r.nodeName&&r.setAttribute("stroke-width","1px"),"text"!==r.nodeName&&[].forEach.call(r.children||r.childNodes,e)}}(this.container.querySelector("svg")),t.parentNode.removeChild(t),r.parentNode.removeChild(r)}function I(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))}function B(){var t=this;t.exporting={update:function(e,i){t.isDirtyExporting=!0,b(!0,t.options.exporting,e),C(i,!0)&&t.redraw()}},i.compose(t).navigation.addUpdate((function(e,i){t.isDirtyExporting=!0,b(!0,t.options.navigation,e),C(i,!0)&&t.redraw()}))}function R(){var t=this;t.isPrinting||(W=t,s.isSafari||t.beforePrint(),setTimeout((function(){d.focus(),d.print(),s.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))}function F(){var t=this,e=t.options.exporting,i=e.buttons,n=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),n&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),w(i,(function(e){t.addButton(e)})),t.isDirtyExporting=!1)}function H(t,e){var i=t.indexOf("</svg>")+6,n=t.substr(i);return t=t.substr(0,i),e&&e.exporting&&e.exporting.allowHTML&&n&&(n='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+n.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",n+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g," ").replace(/&shy;/g,"­"),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t}var z=[],G=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],_="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");e.inlineWhitelist=[];var W,U=["clipPath","defs","desc"];e.compose=function(t,e){r.compose(e),-1===z.indexOf(t)&&(z.push(t),(e=t.prototype).afterPrint=o,e.exportChart=E,e.inlineStyles=N,e.print=R,e.sanitizeSVG=H,e.getChartHTML=P,e.getSVG=L,e.getSVGForExport=D,e.getFilename=O,e.moveContainers=I,e.beforePrint=h,e.contextMenu=A,e.addButton=n,e.destroyExport=M,e.renderExporting=F,e.callbacks.push(T),p(t,"init",B),s.isSafari&&s.win.matchMedia("print").addListener((function(t){W&&(t.matches?W.beforePrint():W.afterPrint())})))}}(h||(h={})),e.exporting=b(o.exporting,e.exporting),e.lang=b(o.lang,e.lang),e.navigation=b(o.navigation,e.navigation),h})),e(t,"masters/modules/exporting.src.js",[t["Core/Globals.js"],t["Extensions/Exporting/Exporting.js"],t["Core/HttpUtilities.js"]],(function(t,e,
vendor: 4,192 bytes, line 18
18i){t.HttpUtilities=i,t.ajax=i.ajax,t.getJSON=i.getJSON,t.post=i.post,e.compose(t.Chart,t.Renderer)}))}))},function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,i){(function(e){t.exports=function(){"use strict";var t="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},i="Expected a function",n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,h="object"==typeof self&&self&&self.Object===Object&&self,c=l||h||Function("return this")(),d=Object.prototype.toString,p=Math.max,u=Math.min,f=function(){return c.Date.now()};function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function m(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==d.call(t)}(t))return NaN;if(g(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=g(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var i=r.test(t);return i||s.test(t)?a(t.slice(2),i?2:8):o.test(t)?NaN:+t}var y=function(t,e,n){var o=!0,r=!0;if("function"!=typeof t)throw new TypeError(i);return g(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),function(t,e,n){var o,r,s,a,l,h,c=0,d=!1,y=!1,v=!0;if("function"!=typeof t)throw new TypeError(i);function x(e){var i=o,n=r;return o=r=void 0,c=e,a=t.apply(n,i)}function b(t){var i=t-h;return void 0===h||i>=e||i<0||y&&t-c>=s}function w(){var t=f();if(b(t))return C(t);l=setTimeout(w,function(t){var i=e-(t-h);return y?u(i,s-(t-c)):i}(t))}function C(t){return l=void 0,v&&o?x(t):(o=r=void 0,a)}function S(){var t=f(),i=b(t);if(o=arguments,r=this,h=t,i){if(void 0===l)return function(t){return c=t,l=setTimeout(w,e),d?x(t):a}(h);if(y)return l=setTimeout(w,e),x(h)}return void 0===l&&(l=setTimeout(w,e)),a}return e=m(e)||0,g(n)&&(d=!!n.leading,s=(y="maxWait"in n)?p(m(n.maxWait)||0,e):s,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=h=r=l=void 0},S.flush=function(){return void 0===l?a:C(f())},S}(t,e,{leading:o,maxWait:e,trailing:r})},v=/^\s+|\s+$/g,x=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,w=/^0o[0-7]+$/i,C=parseInt,S="object"==typeof t&&t&&t.Object===Object&&t,k="object"==typeof self&&self&&self.Object===Object&&self,T=S||k||Function("return this")(),A=Object.prototype.toString,M=Math.max,E=Math.min,P=function(){return T.Date.now()};function O(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function L(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==A.call(t)}(t))return NaN;if(O(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=O(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(v,"");var i=b.test(t);return i||w.test(t)?C(t.slice(2),i?2:8):x.test(t)?NaN:+t}var D=function(t,e,i){var n,o,r,s,a,l,h=0,c=!1,d=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function u(e){var i=n,r=o;return n=o=void 0,h=e,s=t.apply(r,i)}function f(t){var i=t-l;return void 0===l||i>=e||i<0||d&&t-h>=r}function g(){var t=P();if(f(t))return m(t);a=setTimeout(g,function(t){var i=e-(t-l);return d?E(i,r-(t-h)):i}(t))}function m(t){return a=void 0,p&&n?u(t):(n=o=void 0,s)}function y(){var t=P(),i=f(t);if(n=arguments,o=this,l=t,i){if(void 0===a)return function(t){return h=t,a=setTimeout(g,e),c?u(t):s}(l);if(d)return a=setTimeout(g,e),u(l)}return void 0===a&&(a=setTimeout(g,e)),s}return e=L(e)||0,O(i)&&(c=!!i.leading,r=(d="maxWait"in i)?M(L(i.maxWait)||0,e):r,p="trailing"in i?!!i.trailing:p),y.cancel=function(){void 0!==a&&clearTimeout(a),h=0,n=l=o=a=void 0},y.flush=function(){return void 0===a?s:m(P())},y},j=function(){};function N(t){t&&t.forEach((function(t){var e=Array.prototype.slice.call(t.addedNodes),i=Array.prototype.slice.call(t.removedNodes
18);if(function t(e){var i=void 0,n=void 0;for(i=0;i<e.length;i+=1){if((n=e[i]).dataset&&n.dataset.aos)return!0;if(n.children&&t(n.children))return!0}return!1}(e.concat(i)))return j()}))}function I(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}var B=function(){return!!I()},R=function(t,e){var i=window.document,n=new(I())(N);j=e,n.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})},F=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),H=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},z=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,G=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,_=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,W=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
18sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function U(){return navigator.userAgent||navigator.vendor||window.opera||""}var X=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return F(t,[{key:"phone",value:function(){var t=U();return!(!z.test(t)&&!G.test(t.substr(0,4)))}},{key:"mobile",value:function(){var t=U();return!(!_.test(t)&&!W.test(t.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}},{key:"ie11",value:function(){return"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style}}]),t}()),V=function(t,e){var i=void 0;return X.ie11()?(i=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,{detail:e}):i=new CustomEvent(t,{detail:e}),document.dispatchEvent(i)},Y=function(t){return t.forEach((function(t,e){return function(t,e){var i=t.options,n=t.position,o=t.node,r=(t.data,function(){t.animated&&(function(t,e){e&&e.forEach((function(e){return t.classList.remove(e)}))}(o,i.animatedClassNames),V("aos:out",o),t.options.id&&V("aos:in:"+t.options.id,o),t.animated=!1)});i.mirror&&e>=n.out&&!i.once?r():e>=n.in?t.animated||(function(t,e){e&&e.forEach((function(e){return t.classList.add(e)}))}(o,i.animatedClassNames),V("aos:in",o),t.options.id&&V("aos:in:"+t.options.id,o),t.animated=!0):t.animated&&!i.once&&r()}(t,window.pageYOffset)}))},q=function(t){for(var e=0,i=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e+=t.offsetLeft-("BODY"!=t.tagName?t.scrollLeft:0),i+=t.offsetTop-("BODY"!=t.tagName?t.scrollTop:0),t=t.offsetParent;return{top:i,left:e}},K=function(t,e,i){var n=t.getAttribute("data-aos-"+e);if(void 0!==n){if("true"===n)return!0;if("false"===n)return!1}return n||i},$=function(t,e){return t.forEach((function(t,i){var n=K(t.node,"mirror",e.mirror),o=K(t.node,"once",e.once),r=K(t.node,"id"),s=e.useClassNames&&t.node.getAttribute("data-aos"),a=[e.animatedClassName].concat(s?s.split(" "):[]).filter((function(t){return"string"==typeof t}));e.initClassName&&t.node.classList.add(e.initClassName),t.position={in:function(t,e,i){var n=window.innerHeight,o=K(t,"anchor"),r=K(t,"anchor-placement"),s=Number(K(t,"offset",r?0:e)),a=r||i,l=t;o&&document.querySelectorAll(o)&&(l=document.querySelectorAll(o)[0]);var h=q(l).top-n;switch(a){case"top-bottom":break;case"center-bottom":h+=l.offsetHeight/2;break;case"bottom-bottom":h+=l.offsetHeight;break;case"top-center":h+=n/2;break;case"center-center":h+=n/2+l.offsetHeight/2;break;case"bottom-center":h+=n/2+l.offsetHeight;break;case"top-top":h+=n;break;case"bottom-top":h+=n+l.offsetHeight;break;case"center-top":h+=n+l.offsetHeight/2}return h+s}(t.node,e.offset,e.anchorPlacement),out:n&&function(t,e){window.innerHeight;var i=K(t,"anchor"),n=K(t,"offset",e),o=t;return i&&document.querySelectorAll(i)&&(o=document.querySelectorAll(i)[0]),q(o).top+o.offsetHeight-n}(t.node,e.offset)},t.options={once:o,mirror:n,animatedClassNames:a,id:r}})),t},Z=function(){var t=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(t,(function(t){return{node:t}}))},J=[],Q=!1,tt={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},et=function(){return document.all&&!window.atob},it=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(Q=!0),Q&&(J=$(J,tt),Y(J),window.addEventListener("scroll",y((function(){Y(J,tt.once)}),tt.throttleDelay)))},nt=function(){if(J=Z(),rt(tt.disable)||et())return ot();it()},ot=function(){J.forEach((function(t,e){t.node.removeAttribute("data-aos"),t.node.removeAttribute("data-aos-easing"),t.node.removeAttribute("data-aos-duration"),t.node.removeAttribute("data-aos-delay"),tt.initClassName&&t.node.classList.remove(tt.initClassName),tt.animatedClassName&&t.node.classList.remove(tt.animatedClassName)}))},rt=function(t){return!0===t||"mobile"===t&&X.mobile()||"phone"===t&&X.phone()||"tablet"===t&&X.tablet()||"function"==typeof t&&!0===t()};return{init:function(t){return tt=H(tt,t),J=Z(),tt.disableMutationObserver||B()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),tt.disableMutationObserver=!0),tt.disableMutationObserver||R("[data-aos]",nt),rt(tt.disable)||et()?ot():(document.querySelector("body").setAttribute("data-aos-easing",tt.easing),document.querySelector("body").setAttribute("data-aos-duration",tt.duration),document.querySelector("body").setAttribute("data-aos-delay",tt.delay),-1===["DOMContentLoaded","load"].indexOf(tt.startEvent)?document.addEventListener(tt.startEvent,(function(){it(!0)})):window.addEventListener("load",(function(){it(!0)}
18)),"DOMContentLoaded"===tt.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&it(!0),window.addEventListener("resize",D(it,tt.debounceDelay,!0)),window.addEventListener("orientationchange",D(it,tt.debounceDelay,!0)),J)},refresh:it,refreshHard:nt}}()}).call(this,i(13))},function(t,e,i){"use strict";var n,o;!function(r){t.exports?(r.default=r,t.exports=r):(n=[i(3)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))}((function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}e(t=t?t._modules:{},"Accessibility/A11yI18n.js",[t["Core/FormatUtilities.js"],t["Core/Utilities.js"]],(function(t,e){var i,n=t.format,o=e.pick;return function(t){function e(t,e,i){var r=function(t,e){var i=(t=t.slice(e||0)).indexOf("{"),n=t.indexOf("}");if(-1<i&&n>i)return{statement:t.substring(i+1,n),begin:e+i+1,end:e+n}},s=[],a=0;do{var l=r(t,a),h=t.substring(a,l&&l.begin-1);h.length&&s.push({value:h,type:"constant"}),l&&s.push({value:l.statement,type:"statement"}),a=l?l.end+1:a+1}while(l);return s.forEach((function(t){"statement"===t.type&&(t.value=function(t,e){var i=t.indexOf("#each("),n=t.indexOf("#plural("),r=t.indexOf("["),s=t.indexOf("]");if(-1<i){if(s=t.slice(i).indexOf(")")+i,n=t.substring(0,i),r=t.substring(s+1),s=t.substring(i+6,s).split(","),i=Number(s[1]),t="",e=e[s[0]])for(i=0>(i=isNaN(i)?e.length:i)?e.length+i:Math.min(i,e.length),s=0;s<i;++s)t+=n+e[s]+r;return t.length?t:""}if(-1<n){switch(r=t.slice(n).indexOf(")")+n,n=t.substring(n+8,r).split(","),Number(e[n[0]])){case 0:t=o(n[4],n[1]);break;case 1:t=o(n[2],n[1]);break;case 2:t=o(n[3],n[1]);break;default:t=n[1]}return t?e=(e=t).trim&&e.trim()||e.replace(/^\s+|\s+$/g,""):e="",e}return-1<r?(n=t.substring(0,r),r=Number(t.substring(r+1,s)),t=void 0,e=e[n],!isNaN(r)&&e&&(0>r?void 0===(t=e[e.length+r])&&(t=e[0]):void 0===(t=e[r])&&(t=e[e.length-1])),void 0!==t?t:""):"{"+t+"}"}(t.value,e))})),n(s.reduce((function(t,e){return t+e.value}),""),e,i)}function i(t,i){t=t.split(".");for(var n=this.options.lang,o=0;o<t.length;++o)n=n&&n[t[o]];return"string"==typeof n?e(n,i,this):""}var r=[];t.compose=function(t){return-1===r.indexOf(t)&&(r.push(t),t.prototype.langFormat=i),t},t.i18nFormat=e}(i||(i={})),i})),e(t,"Accessibility/Utils/HTMLUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){function i(t){if("function"==typeof r.MouseEvent)return new r.MouseEvent(t.type,t);if(o.createEvent){var e=o.createEvent("MouseEvent");if(e.initMouseEvent)return e.initMouseEvent(t.type,t.bubbles,t.cancelable,t.view||r,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),e}return n(t.type)}function n(t,e){if(e=e||{x:0,y:0},"function"==typeof r.MouseEvent)return new r.MouseEvent(t,{bubbles:!0,cancelable:!0,composed:!0,view:r,detail:"click"===t?1:0,screenX:e.x,screenY:e.y,clientX:e.x,clientY:e.y});if(o.createEvent){var i=o.createEvent("MouseEvent");if(i.initMouseEvent)return i.initMouseEvent(t,!0,!0,r,"click"===t?1:0,e.x,e.y,e.x,e.y,!1,!1,!1,!1,0,null),i}return{type:t}}var o=t.doc,r=t.win,s=e.css;return{addClass:function(t,e){t.classList?t.classList.add(e):0>t.className.indexOf(e)&&(t.className+=" "+e)},cloneMouseEvent:i,cloneTouchEvent:function(t){var e=function(t){for(var e=[],i=0;i<t.length;++i){var n=t.item(i);n&&e.push(n)}return e};return"function"==typeof r.TouchEvent?(e=new r.TouchEvent(t.type,{touches:e(t.touches),targetTouches:e(t.targetTouches),changedTouches:e(t.changedTouches),ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed,detail:t.detail,view:t.view}),t.defaultPrevented&&e.preventDefault(),e):((e=i(t)).touches=t.touches,e.changedTouches=t.changedTouches,e.targetTouches=t.targetTouches,e)},escapeStringForHTML:function(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")},getElement:function(t){return o.getElementById(t)},getFakeMouseEvent:n,getHeadingTagNameForElement:function(t){var e=function(t){return t=parseInt(t.slice(1),10),"h"+Math.min(6,t+1)},i=function(t){var n;t:{for(n=t;n=n.previousSibling;){var o=n.tagName||"";if(/H[1-6]/.test(o)){n=o;break t}}n=""}return n?e(n):(t=t.parentElement)?(n=t.tagName,/H[1-6]/.test(n)?e(n):i(t)):"p"};return i(t)},removeChildNodes:function(t){for(;
18t.lastChild;)t.removeChild(t.lastChild)},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp(e,"g"),"")},removeElement:function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},reverseChildNodes:function(t){for(var e=t.childNodes.length;e--;)t.appendChild(t.childNodes[e])},stripHTMLTagsFromString:function(t){return"string"==typeof t?t.replace(/<\/?[^>]+(>|$)/g,""):t},visuallyHideElement:function(t){s(t,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:.01})}}})),e(t,"Accessibility/Utils/ChartUtilities.js",[t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i){function n(t){if(t.points&&t.points.length)return(t=l(t.points,(function(t){return!!t.graphic})))&&t.graphic&&t.graphic.element}function o(t){var e=n(t);return e&&e.parentNode||t.graph&&t.graph.element||t.group&&t.group.element}var r=t.doc,s=e.stripHTMLTagsFromString,a=i.defined,l=i.find,h=i.fireEvent;return{fireEventOnWrappedOrUnwrappedElement:function t(e,i){var n=i.type,o=e.hcEvents;r.createEvent&&(e.dispatchEvent||e.fireEvent)?e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i):o&&o[n]?h(e,n,i):e.element&&t(e.element,i)},getChartTitle:function(t){return s(t.options.title.text||t.langFormat("accessibility.defaultChartTitle",{chart:t}))},getAxisDescription:function(t){return t&&(t.userOptions&&t.userOptions.accessibility&&t.userOptions.accessibility.description||t.axisTitle&&t.axisTitle.textStr||t.options.id||t.categories&&"categories"||t.dateTime&&"Time"||"values")},getAxisRangeDescription:function(t){var e=t.options||{};return e.accessibility&&void 0!==e.accessibility.rangeDescription?e.accessibility.rangeDescription:t.categories?(e=t.chart,t=t.dataMax&&t.dataMin?e.langFormat("accessibility.axis.rangeCategories",{chart:e,axis:t,numCategories:t.dataMax-t.dataMin+1}):""):!t.dateTime||0!==t.min&&0!==t.dataMin?function(t){var e=t.chart,i=e.options,n=i&&i.accessibility&&i.accessibility.screenReaderSection.axisRangeDateFormat||"";return i=function(i){return t.dateTime?e.time.dateFormat(n,t[i]):t[i]},e.langFormat("accessibility.axis.rangeFromTo",{chart:e,axis:t,rangeFrom
18:i("min"),rangeTo:i("max")})}(t):function(t){var e=t.chart,i={},n="Seconds";i.Seconds=((t.max||0)-(t.min||0))/1e3,i.Minutes=i.Seconds/60,i.Hours=i.Minutes/60,i.Days=i.Hours/24,["Minutes","Hours","Days"].forEach((function(t){2<i[t]&&(n=t)}));var o=i[n].toFixed("Seconds"!==n&&"Minutes"!==n?1:0);return e.langFormat("accessibility.axis.timeRange"+n,{chart:e,axis:t,range:o.replace(".0","")})}(t)},getPointFromXY:function(t,e,i){for(var n,o=t.length;o--;)if(n=l(t[o].points||[],(function(t){return t.x===e&&t.y===i})))return n},getSeriesFirstPointElement:n,getSeriesFromName:function(t,e){return e?(t.series||[]).filter((function(t){return t.name===e})):t.series},getSeriesA11yElement:o,unhideChartElementFromAT:function t(e,i){i.setAttribute("aria-hidden",!1),i!==e.renderTo&&i.parentNode&&i.parentNode!==r.body&&(Array.prototype.forEach.call(i.parentNode.childNodes,(function(t){t.hasAttribute("aria-hidden")||t.setAttribute("aria-hidden",!0)})),t(e,i.parentNode))},hideSeriesFromAT:function(t){(t=o(t))&&t.setAttribute("aria-hidden",!0)},scrollToPoint:function(t){var e=t.series.xAxis,i=t.series.yAxis,n=e&&e.scrollbar?e:i;if((e=n&&n.scrollbar)&&a(e.to)&&a(e.from)){if(i=e.to-e.from,a(n.dataMin)&&a(n.dataMax)){var o=n.toPixels(n.dataMin),r=n.toPixels(n.dataMax);t=(n.toPixels(t["xAxis"===n.coll?"x":"y"]||0)-o)/(r-o)}else t=0;e.updatePosition(t-i/2,t+i/2),h(e,"changed",{from:e.from,to:e.to,trigger:"scrollbar",DOMEvent:null})}}}})),e(t,"Accessibility/Utils/DOMElementProvider.js",[t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e){var i=t.doc,n=e.removeElement;return function(){function t(){this.elements=[]}return t.prototype.createElement=function(){var t=i.createElement.apply(i,arguments);return this.elements.push(t),t},t.prototype.destroyCreatedElements=function(){this.elements.forEach((function(t){n(t)})),this.elements=[]},t}()})),e(t,"Accessibility/Utils/EventProvider.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var i=e.addEvent;return function(){function e(){this.eventRemovers=[]}return e.prototype.addEvent=function(){var e=i.apply(t,arguments);return this.eventRemovers.push(e),e},e.prototype.removeAddedEvents=function(){this.eventRemovers.forEach((function(t){return t()})),this.eventRemovers=[]},e}()})),e(t,"Accessibility/AccessibilityComponent.js",[t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.fireEventOnWrappedOrUnwrappedElement,s=n.getFakeMouseEvent;return t=o.extend,n=function(){function t(){this.proxyProvider=this.keyCodes=this.eventProvider=this.domElementProvider=this.chart=void 0}return t.prototype.initBase=function(t,n){this.chart=t,this.eventProvider=new i,this.domElementProvider=new e,this.proxyProvider=n,this.keyCodes={left:37,right:39,up:38,down:40,enter:13,space:32,esc:27,tab:9,pageUp:33,pageDown:34,end:35,home:36}},t.prototype.addEvent=function(t,e,i,n){return this.eventProvider.addEvent(t,e,i,n)},t.prototype.createElement=function(t,e){return this.domElementProvider.createElement(t,e)},t.prototype.fakeClickEvent=function(t){var e=s("click");r(t,e)},t.prototype.destroyBase=function(){this.domElementProvider.destroyCreatedElements(),this.eventProvider.removeAddedEvents()},t}(),t(n.prototype,{init:function(){},getKeyboardNavigation:function(){},onChartUpdate:function(){},onChartRender:function(){},destroy:function(){}}),n})),e(t,"Accessibility/KeyboardNavigationHandler.js",[t["Core/Utilities.js"]],(function(t){var e=t.find;return t=function(){function t(t,e){this.chart=t,this.keyCodeMap=e.keyCodeMap||[],this.validate=e.validate,this.init=e.init,this.terminate=e.terminate,this.response={success:1,prev:2,next:3,noHandler:4,fail:5}}return t.prototype.run=function(t){var i=t.which||t.keyCode,n=this.response.noHandler,o=e(this.keyCodeMap,(function(t){return-1<t[0].indexOf(i)}));return o?n=o[1].call(this,i,t):9===i&&(n=this.response[t.shiftKey?"prev":"next"]),n},t}()})),e(t,"Accessibility/Components/ContainerComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,
18i,n,o){var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=i.unhideChartElementFromAT,a=i.getChartTitle,l=n.doc,h=o.stripHTMLTagsFromString;return function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.onChartUpdate=function(){this.handleSVGTitleElement(),this.setSVGContainerLabel(),this.setGraphicContainerAttrs(),this.setRenderToAttrs(),this.makeCreditsAccessible()},i.prototype.handleSVGTitleElement=function(){var t=this.chart,e="highcharts-title-"+t.index,i=h(t.langFormat("accessibility.svgContainerTitle",{chartTitle:a(t)}));if(i.length){var n=this.svgTitleElement=this.svgTitleElement||l.createElementNS("http://www.w3.org/2000/svg","title");n.textContent=i,n.id=e,t.renderTo.insertBefore(n,t.renderTo.firstChild)}},i.prototype.setSVGContainerLabel=function(){var t=this.chart,e=t.langFormat("accessibility.svgContainerLabel",{chartTitle:a(t)});t.renderer.box&&e.length&&t.renderer.box.setAttribute("aria-label",e)},i.prototype.setGraphicContainerAttrs=function(){var t=this.chart,e=t.langFormat("accessibility.graphicContainerLabel",{chartTitle:a(t)});e.length&&t.container.setAttribute("aria-label",e)},i.prototype.setRenderToAttrs=function(){var t=this.chart;"disabled"!==t.options.accessibility.landmarkVerbosity?t.renderTo.setAttribute("role","region"):t.renderTo.removeAttribute("role"),t.renderTo.setAttribute("aria-label",t.langFormat("accessibility.chartContainerLabel",{title:a(t),chart:t}))},i.prototype.makeCreditsAccessible=function(){var t=this.chart,e=t.credits;e&&(e.textStr&&e.element.setAttribute("aria-label",t.langFormat("accessibility.credits",{creditsStr:h(e.textStr)})),s(t,e.element))},i.prototype.getKeyboardNavigation=function(){var t=this.chart;return new e(t,{keyCodeMap:[],validate:function(){return!0},init:function(){var e=t.accessibility;e&&e.keyboardNavigation.tabindexContainer.focus()}})},i.prototype.destroy=function(){this.chart.renderTo.setAttribute("aria-hidden",!0)},i}(t)})),e(t,"Accessibility/FocusBorder.js",[t["Core/Renderer/SVG/SVGLabel.js"],t["Core/Utilities.js"]],(function(t,e){var i,n=e.addEvent,o=e.pick;return function(e){function i(){var t=this.focusElement,e=this.options.accessibility.keyboardNavigation.focusBorder;t&&(t.removeFocusBorder(),e.enabled&&t.addFocusBorder(e.margin,{stroke:e.style.color,strokeWidth:e.style.lineWidth,r:e.style.borderRadius}))}function r(t,e){var i=this.options.accessibility.keyboardNavigation.focusBorder;(e=e||t.element)&&e.focus&&(e.hcEvents&&e.hcEvents.focusin||n(e,"focusin",(function(){})),e.focus(),i.hideBrowserFocusOutline&&(e.style.outline="none")),this.focusElement&&this.focusElement.removeFocusBorder(),this.focusElement=t,this.renderFocusBorder()}function s(e,i){this.focusBorder&&this.removeFocusBorder();var n=this.getBBox(),r=o(e,3);n.x+=this.translateX?this.translateX:0,n.y+=this.translateY?this.translateY:0;var s=n.x-r,l=n.y-r,h=n.width+2*r,c=n.height+2*r,d=this instanceof t;if("text"===this.element.nodeName||d){var p=!!this.rotation;if(d)var u={x:p?1:0,y:0};else{var f=u=0;"middle"===this.attr("text-anchor")?u=f=.5:this.rotation?u=.25:f=.75,u={x:u,y:f}}f=+this.attr("x");var g=+this.attr("y");isNaN(f)||(s=f-n.width*u.x-r),isNaN(g)||(l=g-n.height*u.y-r),d&&p&&(d=h,h=c,c=d,isNaN(f)||(s=f-n.height*u.x-r),isNaN(g)||(l=g-n.width*u.y-r))}this.focusBorder=this.renderer.rect(s,l,h,c,parseInt((i&&i.r||0).toString(),10)).addClass("highcharts-focus-border").attr({zIndex:99}).add(this.parentGroup),this.renderer.styledMode||this.focusBorder.attr({stroke:i&&i.stroke,"stroke-width":i&&i.strokeWidth}),a(this,e,i),function(t){if(!t.focusBorderDestroyHook){var e=t.destroy;t.destroy=function(){return t.focusBorder&&t.focusBorder.destroy&&t.focu
18sBorder.destroy(),e.apply(t,arguments)},t.focusBorderDestroyHook=e}}(this)}function a(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t.focusBorderUpdateHooks||(t.focusBorderUpdateHooks={},c.forEach((function(i){var n=t[i+="Setter"]||t._defaultSetter;t.focusBorderUpdateHooks[i]=n,t[i]=function(){var i=n.apply(t,arguments);return t.addFocusBorder.apply(t,e),i}})))}function l(){!function(t){t.focusBorderUpdateHooks&&(Object.keys(t.focusBorderUpdateHooks).forEach((function(e){var i=t.focusBorderUpdateHooks[e];i===t._defaultSetter?delete t[e]:t[e]=i})),delete t.focusBorderUpdateHooks)}(this),this.focusBorderDestroyHook&&(this.destroy=this.focusBorderDestroyHook,delete this.focusBorderDestroyHook),this.focusBorder&&(this.focusBorder.destroy(),delete this.focusBorder)}var h=[],c="x y transform width height r d stroke-width".split(" ");e.compose=function(t,e){-1===h.indexOf(t)&&(h.push(t),(t=t.prototype).renderFocusBorder=i,t.setFocusToElement=r),-1===h.indexOf(e)&&(h.push(e),(e=e.prototype).addFocusBorder=s,e.removeFocusBorder=l)}}(i||(i={})),i})),e(t,"Accessibility/Utils/Announcer.js",[t["Core/Renderer/HTML/AST.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){var r=i.doc,s=n.addClass,a=n.visuallyHideElement,l=o.attr;return function(){function i(t,i){this.chart=t,this.domElementProvider=new e,this.announceRegion=this.addAnnounceRegion(i)}return i.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},i.prototype.announce=function(e){var i=this;t.setElementHTML(this.announceRegion,e),this.clearAnnouncementRegionTimer&&clearTimeout(this.clearAnnouncementRegionTimer),this.clearAnnouncementRegionTimer=setTimeout((function(){i.announceRegion.innerHTML=t.emptyHTML,delete i.clearAnnouncementRegionTimer}),1e3)},i.prototype.addAnnounceRegion=function(t){var e=this.chart.announcerContainer||this.createAnnouncerContainer(),i=this.domElementProvider.createElement("div");return l(i,{"aria-hidden":!1,"aria-live":t}),this.chart.styledMode?s(i,"highcharts-visually-hidden"):a(i),e.appendChild(i),i},i.prototype.createAnnouncerContainer=function(){var t=this.chart,e=r.createElement("div");return l(e,{"aria-hidden":!1,class:"highcharts-announcer-container"}),e.style.position="relative",t.renderTo.insertBefore(e,t.renderTo.firstChild),t.announcerContainer=e},i}()})),e(t,"Accessibility/Components/AnnotationsA11y.js",[t["Accessibility/Utils/HTMLUtilities.js"]],(function(t){function e(t){return(t.annotations||[]).reduce((function(t,e){return e.options&&!1!==e.options.visible&&(t=t.concat(e.labels)),t}),[])}function i(t){return t.options&&t.options.accessibility&&t.options.accessibility.description||t.graphic&&t.graphic.text&&t.graphic.text.textStr||""}function n(t){var e=t.options&&t.options.accessibility&&t.options.accessibility.description;if(e)return e;e=t.chart;var n=i(t),o=t.points.filter((function(t){return!!t.graphic})).map((function(t){var e=t.accessibility&&t.accessibility.valueDescription||t.graphic&&t.graphic.element&&t.graphic.element.getAttribute("aria-label")||"";return((t=t&&t.series.name||"")?t+", ":"")+"data point "+e})).filter((function(t){return!!t})),r=o.length,s="accessibility.screenReaderSection.annotations.description"+(1<r?"MultiplePoints":r?"SinglePoint":"NoPoints");return t={annotationText:n,annotation:t,numPoints:r,annotationPoint:o[0],additionalAnnotationPoints:o.slice(1)},e.langFormat(s,t)}function o(t){return e(t).map((function(t){return(t=r(s(n(t))))?"<li>"+t+"</li>":""}))}var r=t.escapeStringForHTML,s=t.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(t){var e=t.annotations;return e&&e.length?'<ul style="list-style-type: none">'+o(t).join(" ")+"</ul>":""},getAnnotationLabelDescription:n,getAnnotationListItems:o,getPointAnnotationTexts:function(t){var n=e(t.series.chart).filter((function(e){return-1<e.points.indexOf(t)}));return n.length?n.map((function(t){return""+i(t)})):[]}}})),e(t,"Accessibility/Components/InfoRegionsComponent.js",[t["Accessibility/A11yI18n.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Components/AnnotationsA11y.js"],t["Core/Renderer/HTML/AST.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,
18i,n,o,r,s,a,l,h){var c=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=n.getAnnotationsInfoHTML,p=r.getAxisDescription,u=r.getAxisRangeDescription,f=r.getChartTitle,g=r.unhideChartElementFromAT,m=s.format,y=a.doc,v=l.addClass,x=l.getElement,b=l.getHeadingTagNameForElement,w=l.stripHTMLTagsFromString,C=l.visuallyHideElement,S=h.attr,k=h.pick;return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.announcer=void 0,t.screenReaderSections={},t}return c(n,e),n.prototype.init=function(){var t=this.chart,e=this;this.initRegionsDefinitions(),this.addEvent(t,"aftergetTableAST",(function(t){e.onDataTableCreated(t)})),this.addEvent(t,"afterViewData",(function(t){e.dataTableDiv=t,setTimeout((function(){e.focusDataTable()}),300)})),this.announcer=new i(t,"assertive")},n.prototype.initRegionsDefinitions=function(){var t=this;this.screenReaderSections={before:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.beforeChartFormatter;return i?i(e):t.defaultBeforeChartFormatter(e)},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.renderTo.firstChild)},afterInserted:function(){void 0!==t.sonifyButtonId&&t.initSonifyButton(t.sonifyButtonId),void 0!==t.dataTableButtonId&&t.initDataTableButton(t.dataTableButtonId)}},after:{element:null,buildContent:function(e){var i=e.options.accessibility.screenReaderSection.afterChartFormatter;return i?i(e):t.defaultAfterChartFormatter()},insertIntoDOM:function(t,e){e.renderTo.insertBefore(t,e.container.nextSibling)},afterInserted:function(){t.chart.accessibility&&t.chart.accessibility.keyboardNavigation.updateExitAnchor()}}}},n.prototype.onChartRender=function(){var t=this;this.linkedDescriptionElement=this.getLinkedDescriptionElement(),this.setLinkedDescriptionAttrs(),Object.keys(this.screenReaderSections).forEach((function(e){t.updateScreenReaderSection(e)}))},n.prototype.getLinkedDescriptionElement=function(){var t=this.chart.options.accessibility.linkedDescription;if(t){if("string"!=typeof t)return t;if(t=m(t,this.chart),1===(t=y.querySelectorAll(t)).length)return t[0]}},n.prototype.setLinkedDescriptionAttrs=function(){var t=this.linkedDescriptionElement;t&&(t.setAttribute("aria-hidden","true"),v(t,"highcharts-linked-description"))},n.prototype.updateScreenReaderSection=function(t){var e=this.chart,i=this.screenReaderSections[t],n=i.buildContent(e),r=i.element=i.element||this.createElement("div"),s=r.firstChild||this.createElement("div");n?(this.setScreenReaderSectionAttribs(r,t),o.setElementHTML(s,n),r.appendChild(s),i.insertIntoDOM(r,e),e.styledMode?v(s,"highcharts-visually-hidden"):C(s),g(e,s),i.afterInserted&&i.afterInserted()):(r.parentNode&&r.parentNode.removeChild(r),delete i.element)},n.prototype.setScreenReaderSectionAttribs=function(t,e){var i=this.chart,n=i.langFormat("accessibility.screenReaderSection."+e+"RegionLabel",{chart:i,chartTitle:f(i)});S(t,{id:"highcharts-screen-reader-region-"+e+"-"+i.index,"aria-label":n}),t.style.position="relative","all"===i.options.accessibility.landmarkVerbosity&&n&&t.setAttribute("role","region")},n.prototype.defaultBeforeChartFormatter=function(){var e=this.chart,i=e.options.accessibility.screenReaderSection.beforeChartFormat;if(!i)return"";var n=this.getAxesDescription(),o=e.sonify&&e.options.sonification&&e.options.sonification.enabled,r="highcharts-a11y-sonify-data-btn-"+e.index,s="hc-linkto-highcharts-data-table-"+e.index,a=d(e),l=e.langFormat("accessibility.screenReaderSection.annotations.heading",{chart:e});return n={headingTagName:b(e.renderTo),chartTitle:f(e),typeDescription:this.getTypeDescriptionText(),chartSubtitle:this.getSubtitleText(),chartLongdesc:this.getLongdescText(),xAxisDescription:n.xAxis,yAxisDescription:n.yAxis,playAsSoundButton:o?this.getSonifyButtonText(r):"",viewTableButton:e.getCSV?this.getDataTableButtonText(s):"",annotationsTitle:a?l:"",annotationsList:a},e=t.i18nFormat(i,n,e),this.dataTableButtonId=s,this.sonifyButtonId=r,e.replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},n.prototype.defaultAfterChartFormatter=function(){var e=this.chart,i=e.options.accessibility.screenReaderSection.afterChartFormat;if(!i)return"";var n={endOfChartMarker:this.getEndOfChartMarkerText()};return t.i18nFormat(i,n,e).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},n.prototype.getLinkedDescription=function(){var t=this.linkedDescriptionElement;return w(t&&t.innerHTML||"")},n.prototype.getLongdescText=function(){var t=this.chart.options,e=t.caption;e=e&&e.text;var i=this.getLinkedDescription();return t.accessibility.description||i||e||""},n.prototype.getTypeDescriptionText=function(){var t=this.chart;return t.types?t.options.accessibility.typeDescription||function(t,e){var i=e[0],n=t.series&&t.series[0]||{};if(n={numSeries:t.series.length,numPoints:n.points&&n.points.length,chart:t,mapTitle:n.mapTitle},!i)return t.langFormat("accessibility.chartTypes.emptyChart",n);if("map"===i)return n.mapTitle?t.langFormat("accessibility.chartTypes.mapTypeDescription",n):t.langFormat("accessibility.chartTypes.unknownMap",n);if(1<t.types.length)return t.langFormat("accessibility.chartTypes.combinationChart",n);e=e[0],i=t.langFormat("accessibility.seriesTypeDescriptions."+e,n);var o=t.series&&2>t.series.length?"Single":"Multiple";return(t.langFormat("accessibility.chartTypes."+e+o,n)||t.langFormat("accessibility.chartTypes.default"+o,n))+(i?" "+i:"")}(t,t.types):""},n.prototype.getDataTableButtonText=function(t){var e=this.chart;return'<button id="'+t+'">'+(e=e.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:e,chartTitle:f(e)}))+"</button>"},n.prototype.getSonifyButtonText=function(t){var e=this.chart;return e.options.sonification&&!1===e.options.sonification.enabled?"":'<button id="'+t+'">'+(e=e.langFormat("accessibility.sonification.playAsSoundButtonText",{chart:e,chartTitle:f(e)}))+"</button>"},n.prototype.getSubtitleText=function(){var t=this.chart.options.subtitle;return w(t&&t.text||"")},n.prototype.getEndOfChartMarkerText=function(){var t=this.chart,e=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'<div id="highcharts-end-of-chart-marker-'+t.index+'">'+e+"</div>"},n.prototype.onDataTableCreated=function(t){var e=this.chart;if(e.options.accessibility.enabled){this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true");var i=t.tree.attributes||{};i.tabindex=-1,i.summary=e.langFormat("accessibility.table.tableSummary",{chart:e}),t.tree.attributes=i}}
18,n.prototype.focusDataTable=function(){var t=this.dataTableDiv;(t=t&&t.getElementsByTagName("table")[0])&&t.focus&&t.focus()},n.prototype.initSonifyButton=function(t){var e=this,i=this.sonifyButton=x(t),n=this.chart,o=function(t){i&&(i.setAttribute("aria-hidden","true"),i.setAttribute("aria-label","")),t.preventDefault(),t.stopPropagation(),t=n.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:n}),e.announcer.announce(t),setTimeout((function(){i&&(i.removeAttribute("aria-hidden"),i.removeAttribute("aria-label")),n.sonify&&n.sonify()}),1e3)};i&&n&&(i.setAttribute("tabindex",-1),i.onclick=function(t){(n.options.accessibility&&n.options.accessibility.screenReaderSection.onPlayAsSoundClick||o).call(this,t,n)})},n.prototype.initDataTableButton=function(t){var e=this.viewDataTableButton=x(t),i=this.chart;t=t.replace("hc-linkto-",""),e&&(S(e,{tabindex:-1,"aria-expanded":!!x(t)}),e.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.viewData()})},n.prototype.getAxesDescription=function(){var t=this.chart,e=function(e,i){return 1<(e=t[e]).length||e[0]&&k(e[0].options.accessibility&&e[0].options.accessibility.enabled,i)},i=!!t.types&&0>t.types.indexOf("map"),n=!!t.hasCartesianSeries,o=e("xAxis",!t.angular&&n&&i);return e=e("yAxis",n&&i),i={},o&&(i.xAxis=this.getAxisDescriptionText("xAxis")),e&&(i.yAxis=this.getAxisDescriptionText("yAxis")),i},n.prototype.getAxisDescriptionText=function(t){var e=this.chart,i=e[t];return e.langFormat("accessibility.axis."+t+"Description"+(1<i.length?"Plural":"Singular"),{chart:e,names:i.map((function(t){return p(t)})),ranges:i.map((function(t){return u(t)})),numAxes:i.length})},n.prototype.destroy=function(){this.announcer&&this.announcer.destroy()},n}(e)})),e(t,"Accessibility/Components/MenuComponent.js",[t["Core/Chart/Chart.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,i,n,o,r){var s=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=e.attr,l=o.getChartTitle,h=o.unhideChartElementFromAT,c=r.getFakeMouseEvent;return function(e){function i(){var t=this.exportSVGElements&&this.exportSVGElements[0];t&&(t=t.element).onclick&&t.onclick(c("click"))}function n(){var t=this.exportDivElements;t&&this.exportContextMenu&&(t.forEach((function(t){t&&"highcharts-menu-item"===t.className&&t.onmouseout&&t.onmouseout(c("mouseout"))})),this.highlightedExportItemIx=0,this.exportContextMenu.hideMenu(),this.container.focus())}function o(t){var e=this.exportDivElements&&this.exportDivElements[t],i=this.exportDivElements&&this.exportDivElements[this.highlightedExportItemIx];if(e&&"LI"===e.tagName&&(!e.children||!e.children.length)){var n=!!(this.renderTo.getElementsByTagName("g")[0]||{}).focus;return e.focus&&n&&e.focus(),i&&i.onmouseout&&i.onmouseout(c("mouseout")),e.onmouseover&&e.onmouseover(c("mouseover")),this.highlightedExportItemIx=t,!0}return!1}function r(){if(this.exportDivElements)for(var t=this.exportDivElements.length;t--;)if(this.highlightExportItem(t))return!0;return!1}var s=[];e.compose=function(e){-1===s.indexOf(e)&&(s.push(e),(e=t.prototype).hideExportMenu=n,e.highlightExportItem=o,e.highlightLastExportItem=r,e.showExportMenu=i)}}((e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.chart,e=this;this.addEvent(t,"exportMenuShown",(function(){e.onMenuShown()})),this.addEvent(t,"exportMenuHidden",(function(){e.onMenuHidden()})),this.createProxyGroup()},e.prototype.onMenuHidden=function(){var t=this.chart.exportContextMenu;t&&t.setAttribute("aria-hidden","true"),this.isExportMenuShown=!1,this.setExportButtonExpandedState("false")}
18,e.prototype.onMenuShown=function(){var t=this.chart,e=t.exportContextMenu;e&&(this.addAccessibleContextMenuAttribs(),h(t,e)),this.isExportMenuShown=!0,this.setExportButtonExpandedState("true")},e.prototype.setExportButtonExpandedState=function(t){this.exportButtonProxy&&this.exportButtonProxy.buttonElement.setAttribute("aria-expanded",t)},e.prototype.onChartRender=function(){var t=this.chart,e=t.focusElement,i=t.accessibility;this.proxyProvider.clearGroup("chartMenu"),this.proxyMenuButton(),this.exportButtonProxy&&e&&e===t.exportingGroup&&(e.focusBorder?t.setFocusToElement(e,this.exportButtonProxy.buttonElement):i&&i.keyboardNavigation.tabindexContainer.focus())},e.prototype.proxyMenuButton=function(){var t=this.chart,e=this.proxyProvider,i=t.exportSVGElements&&t.exportSVGElements[0],n=t.options.exporting,o=t.exportSVGElements&&t.exportSVGElements[0];n&&!1!==n.enabled&&n.accessibility&&n.accessibility.enabled&&o&&o.element&&i&&(this.exportButtonProxy=e.addProxyElement("chartMenu",{click:i},{"aria-label":t.langFormat("accessibility.exporting.menuButtonLabel",{chart:t,chartTitle:l(t)}),"aria-expanded":!1}))},e.prototype.createProxyGroup=function(){this.chart&&this.proxyProvider&&this.proxyProvider.addGroup("chartMenu","div")},e.prototype.addAccessibleContextMenuAttribs=function(){var t=this.chart,e=t.exportDivElements;e&&e.length&&(e.forEach((function(t){t&&("LI"!==t.tagName||t.children&&t.children.length?t.setAttribute("aria-hidden","true"):t.setAttribute("tabindex",-1))})),(e=e[0]&&e[0].parentNode)&&a(e,{"aria-hidden":void 0,"aria-label":t.langFormat("accessibility.exporting.chartMenuLabel",{chart:t}),role:"list"}))},e.prototype.getKeyboardNavigation=function(){var t=this.keyCodes,e=this.chart,i=this;return new n(e,{keyCodeMap:[[[t.left,t.up],function(){return i.onKbdPrevious(this)}],[[t.right,t.down],function(){return i.onKbdNext(this)}],[[t.enter,t.space],function(){return i.onKbdClick(this)}]],validate:function(){return!!e.exporting&&!1!==e.options.exporting.enabled&&!1!==e.options.exporting.accessibility.enabled},init:function(){var t=i.exportButtonProxy,n=i.chart.exportingGroup;t&&n&&e.setFocusToElement(n,t.buttonElement)},terminate:function(){e.hideExportMenu()}})},e.prototype.onKbdPrevious=function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var n=e.highlightedExportItemIx||0;n--;)if(e.highlightExportItem(n))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightLastExportItem(),t.success):t.prev},e.prototype.onKbdNext=function(t){var e=this.chart,i=e.options.accessibility;t=t.response;for(var n=(e.highlightedExportItemIx||0)+1;n<e.exportDivElements.length;++n)if(e.highlightExportItem(n))return t.success;return i.keyboardNavigation.wrapAround?(e.highlightExportItem(0),t.success):t.next},e.prototype.onKbdClick=function(t){var e=this.chart,i=e.exportDivElements[e.highlightedExportItemIx],n=(e.exportSVGElements&&e.exportSVGElements[0]).element;return this.isExportMenuShown?this.fakeClickEvent(i):(this.fakeClickEvent(n),e.highlightExportItem(0)),t.response.success},e}(i))||(e={})),e})),e(t,"Accessibility/KeyboardNavigation.js",[t["Core/Globals.js"],t["Accessibility/Components/MenuComponent.js"],t["Core/Utilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,i,n,o){var r=t.doc,s=t.win,a=i.addEvent,l=i.fireEvent,h=o.getElement;return function(i){function n(){var t=this;l(this,"dismissPopupContent",{},(function(){t.tooltip&&t.tooltip.hide(0),t.hideExportMenu()}))}function o(e){27===(e.which||e.keyCode)&&t.charts&&t.charts.forEach((function(t){t&&t.dismissPopupContent&&t.dismissPopupContent()}))}var s=[];i.compose=function(t){return e.compose(t),-1===s.indexOf(t)&&(s.push(t),t.prototype.dismissPopupContent=n),-1===s.indexOf(r)&&(s.push(r),a(r,"keydown",o)),t}}((i=function(){function t(t,e){this.components=this.chart=void 0,this.currentModuleIx=NaN,this.exitAnchor=this.eventProvider=void 0,this.modules=[],this.tabindexContainer=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=this,o=this.eventProvider=new n;this.chart=t,this.components=e,this.modules=[],this.currentModuleIx=0,this.update(),o.addEvent(this.tabindexContainer,"keydown",(function(t){return i.onKeydown(t)})),o.addEvent(this.tabindexContainer,"focus",(function(t){return i.onFocus(t)})),["mouseup","touchend"].forEach((function(t){return o.addEvent(r,t,(function(){return i.onMouseUp()}))})),["mousedown","touchstart"].forEach((function(e){return o.addEvent(t.renderTo,e,(function(){i.isClickingChart=!0}))})),o.addEvent(t.renderTo,"mouseover",(function(){i.pointerIsOverChart=!0})),o.addEvent(t.renderTo,"mouseout",(function(){i.pointerIsOverChart=!1}))},t.prototype.update=function(t){var e=this.chart.options.accessibility;e=e&&e.keyboardNavigation;var i=this.components;this.updateContainerTabindex(),e&&e.enabled&&t&&t.length?(this.modules=t.reduce((function(t,e){return e=i[e].getKeyboardNavigation(),t.concat(e)}),[]),this.updateExitAnchor()):(this.modules=[],this.currentModuleIx=0,this.removeExitAnchor())},t.prototype.onFocus=function(t){var e=this.chart;t=t.relatedTarget&&e.container.contains(t.relatedTarget),this.exiting||this.tabbingInBackwards||this.isClickingChart||t||!this.modules[0]||this.modules[0].init(1),this.exiting=!1},t.prototype.onMouseUp=function(){if(delete this.isClickingChart,!this.keyboardReset&&!this.pointerIsOverChart){var t=this.chart,e=this.modules&&this.modules[this.currentModuleIx||0];e&&e.terminate&&e.terminate(),t.focusElement&&t.focusElement.removeFocusBorder(),this.currentModuleIx=0,this.keyboardReset=!0}},t.prototype.onKeydown=function(t){t=t||s.event;var e,i=this.modules&&this.modules.length&&this.modules[this.currentModuleIx];if(this.exiting=this.keyboardReset=!1,i){var n=i.run(t);n===i.response.success?e=!0:n===i.response.prev?e=this.prev():n===i.response.next&&(e=this.next()),e&&(t.preventDefault(),t.stopPropagation())}},t.prototype.prev=function(){return this.move(-1)},t.prototype.next=function(){return this.move(1)},t.prototype.move=function(t){var e=this.modules&&this.modules[this.currentModuleIx];if(e&&e.terminate&&e.terminate(t),this.chart.focusElement&&this.chart.focusElement.removeFocusBorder(),this.currentModuleIx+=t,e=this.modules&&this.modules[this.currentModuleIx]){if(e.validate&&!e.validate())return this.move(t);if(e.init)return e.init(t),!0}return this.currentModuleIx=0,this.exiting=!0,0<t?this.exitAnchor.focus():this.tabindexContainer.focus(),!1},t.prototype.updateExitAnchor=function(){var t=h("highcharts-end-of-chart-marker-"+this.chart.index);this.removeExitAnchor(),t?(this.makeElementAnExitAnchor(t),this.exitAnchor=t):this.createExitAnchor()},t.prototype.updateContainerTabindex=function(){var t=this.chart.options.accessibility;t=!((t=t&&t.keyboardNavigation)&&!1===t.enabled);var e=this.chart,i=e.container;e.renderTo.hasAttribute("tabindex")&&(i.removeAttribute("tabindex"),i=e.renderTo),this.tabindexContainer=i;var n=i.getAttribute("tabindex");t&&!n?i.setAttribute("tabindex","0"):t||e.container.removeAttribute("tabindex")},t.prototype.makeElementAnExitAnchor=function(t){var e=this.tabindexContainer.getAttribute("tabindex")||0;t.setAttribute("class","highcharts-exit-anchor"),t.setAttribute("tabindex",e),t.setAttribute("aria-hidden",!1),this.addExitAnchorEventsToEl(t)},t.prototype.createExitAnchor=function(){var t=this.chart,e=this.exitAnchor=r.createElement("div");t.renderTo.appendChild(e),this.makeElementAnExitAnchor(e)},t.prototype.removeExitAnchor=function(){this.exitAnchor&&this.exitAnchor.parentNode&&(this.exitAnchor.parentNode.removeChild(this.exitAnchor),delete this.exitAnchor)},t.prototype.addExitAnchorEventsToEl=function(t){var e=this.chart,i=this;this.eventProvider.addEvent(t,"focus",(function(t){(t=t||s.event).relatedTarget&&e.container.contains(t.relatedTarget)||i.exiting?i.exiting=!1:(i.tabbingInBackwards=!0,i.tabindexContainer.focus(),delete i.tabbingInBackwards,t.preventDefault(),i.modules&&i.modules.length&&(i.currentModuleIx=i.modules.length-1,(t=i.modules[i.currentModuleIx])&&t.validate&&!t.validate()?i.prev():t&&t.init(-1)))}))},t.prototype.destroy=function(){this.removeExitAnchor(),this.eventProvider.removeAddedEvents(),this.chart.container.removeAttribute("tabindex")},t}
18())||(i={})),i})),e(t,"Accessibility/Components/LegendComponent.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Legend/Legend.js"],t["Core/Utilities.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,i,n,o,r,s,a){function l(t){var e=t.legend&&t.legend.allItems,i=t.options.legend.accessibility||{};return!(!e||!e.length||t.colorAxis&&t.colorAxis.length||!1===i.enabled)}var h=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),c=t.animObject,d=n.addEvent,p=n.fireEvent,u=n.isNumber,f=n.pick,g=n.syncTimeout,m=s.getChartTitle,y=a.stripHTMLTagsFromString,v=a.addClass,x=a.removeClass;return function(t){function e(t){var e=this.legend.allItems,i=this.accessibility&&this.accessibility.components.legend.highlightedLegendItemIx,n=e[t];return!!n&&(u(i)&&e[i]&&p(e[i].legendGroup.element,"mouseout"),t=(e=this.legend).allItems[t].pageIx,i=e.currentPage,void 0!==t&&t+1!==i&&e.scroll(1+t-i),t=n.legendItem,e=n.a11yProxyElement&&n.a11yProxyElement.buttonElement,t&&t.element&&e&&this.setFocusToElement(t,e),n.legendGroup&&p(n.legendGroup.element,"mouseover"),!0)}function i(t){var e=t.item;this.chart.options.accessibility.enabled&&e&&e.a11yProxyElement&&e.a11yProxyElement.buttonElement.setAttribute("aria-pressed",t.visible?"true":"false")}var n=[];t.compose=function(t,o){-1===n.indexOf(t)&&(n.push(t),t.prototype.highlightLegendItem=e),-1===n.indexOf(o)&&(n.push(o),d(o,"afterColorizeItem",i))}}((t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.highlightedLegendItemIx=NaN,e}return h(n,t),n.prototype.init=function(){var t=this;this.recreateProxies(),this.addEvent(i,"afterScroll",(function(){this.chart===t.chart&&(t.proxyProvider.updateGroupProxyElementPositions("legend"),t.updateLegendItemProxyVisibility(),-1<t.highlightedLegendItemIx&&this.chart.highlightLegendItem(t.highlightedLegendItemIx))})),this.addEvent(i,"afterPositionItem",(function(e){this.chart===t.chart&&this.chart.renderer&&t.updateProxyPositionForItem(e.item)}
18)),this.addEvent(i,"afterRender",(function(){this.chart===t.chart&&this.chart.renderer&&t.recreateProxies()&&g((function(){return t.proxyProvider.updateGroupProxyElementPositions("legend")}),c(f(this.chart.renderer.globalAnimation,!0)).duration)}))},n.prototype.updateLegendItemProxyVisibility=function(){var t=this.chart,e=t.legend,i=e.currentPage||1,n=e.clipHeight||0;(e.allItems||[]).forEach((function(o){if(o.a11yProxyElement){var r=o.a11yProxyElement.element,s=!1;if(e.pages&&e.pages.length)s=o.pageIx||0,s=(o._legendItemPos?o._legendItemPos[1]:0)+(o=o.legendItem?Math.round(o.legendItem.getBBox().height):0)-e.pages[s]>n||s!==i-1;s?t.styledMode?v(r,"highcharts-a11y-invisible"):r.style.visibility="hidden":(x(r,"highcharts-a11y-invisible"),r.style.visibility="")}}))},n.prototype.onChartRender=function(){l(this.chart)||this.removeProxies()},n.prototype.highlightAdjacentLegendPage=function(t){var e=this.chart,i=e.legend;t=(i.currentPage||1)+t;var n=i.pages||[];if(0<t&&t<=n.length){n=i.allItems.length;for(var o=0;o<n;++o)if(i.allItems[o].pageIx+1===t){e.highlightLegendItem(o)&&(this.highlightedLegendItemIx=o);break}}},n.prototype.updateProxyPositionForItem=function(t){t.a11yProxyElement&&t.a11yProxyElement.refreshPosition()},n.prototype.recreateProxies=function(){return this.removeProxies(),!!l(this.chart)&&(this.addLegendProxyGroup(),this.proxyLegendItems(),this.updateLegendItemProxyVisibility(),this.updateLegendTitle(),!0)},n.prototype.removeProxies=function(){this.proxyProvider.removeGroup("legend")},n.prototype.updateLegendTitle=function(){var t=this.chart,e=y((t.legend&&t.legend.options.title&&t.legend.options.title.text||"").replace(/<br ?\/?>/g," "));t=t.langFormat("accessibility.legend.legendLabel"+(e?"":"NoTitle"),{chart:t,legendTitle:e,chartTitle:m(t)}),this.proxyProvider.updateGroupAttrs("legend",{"aria-label":t})},n.prototype.addLegendProxyGroup=function(){this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:"all"===this.chart.options.accessibility.landmarkVerbosity?"region":null})},n.prototype.proxyLegendItems=function(){var t=this;(this.chart.legend&&this.chart.legend.allItems||[]).forEach((function(e){e.legendItem&&e.legendItem.element&&t.proxyLegendItem(e)}))},n.prototype.proxyLegendItem=function(t){if(t.legendItem&&t.legendGroup){var e=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:y(t.name),item:t});t.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:t.legendItem,visual:(t.legendGroup.div?t.legendItem:t.legendGroup).element},{tabindex:-1,"aria-pressed":t.visible,"aria-label":e})}},n.prototype.getKeyboardNavigation=function(){var t=this.keyCodes,i=this,n=this.chart;return new r(n,{keyCodeMap:[[[t.left,t.right,t.up,t.down],function(t){return i.onKbdArrowKey(this,t)}],[[t.enter,t.space],function(n){return e.isFirefox&&n===t.space?this.response.success:i.onKbdClick(this)}],[[t.pageDown,t.pageUp],function(e){return i.highlightAdjacentLegendPage(e===t.pageDown?1:-1),this.response.success}]],validate:function(){return i.shouldHaveLegendNavigation()},init:function(t){return i.onKbdNavigationInit(t)},terminate:function(){i.highlightedLegendItemIx=-1,n.legend.allItems.forEach((function(t){return t.setState("",!0)}))}})},n.prototype.onKbdArrowKey=function(t,e){var i=this.keyCodes,n=t.response,o=this.chart,r=o.options.accessibility,s=o.legend.allItems.length;return e=e===i.left||e===i.up?-1:1,o.highlightLegendItem(this.highlightedLegendItemIx+e)?(this.highlightedLegendItemIx+=e,n.success):1<s&&r.keyboardNavigation.wrapAround?(t.init(e),n.success):n[0<e?"next":"prev"]},n.prototype.onKbdClick=function(t){var e=this.chart.legend.allItems[this.highlightedLegendItemIx];return e&&e.a11yProxyElement&&e.a11yProxyElement.click(),t.response.success},n.prototype.shouldHaveLegendNavigation=function(){var t=this.chart,e=t.colorAxis&&t.colorAxis.length,i=(t.options.legend||{}).accessibility||{};return!!(t.legend&&t.legend.allItems&&t.legend.display&&!e&&i.enabled&&i.keyboardNavigation&&i.keyboardNavigation.enabled)},n.prototype.onKbdNavigationInit=function(t){var e=this.chart,i=e.legend.allItems.length-1;t=0<t?0:i,e.highlightLegendItem(t),this.highlightedLegendItemIx=t},n}(o))||(t={})),t})),e(t,"Accessibility/Components/SeriesComponent/SeriesDescriber.js",[t["Accessibility/Components/AnnotationsA11y.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/FormatUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Core/Utilities.js"]],(function(t,e,
18i,n,o){function r(t){var e=t.index;return t.series&&t.series.data&&k(e)&&w(t.series.data,(function(t){return!!(t&&void 0!==t.index&&t.index>e&&t.graphic&&t.graphic.element)}))||null}function s(t){var e=t.chart.options.accessibility.series.pointDescriptionEnabledThreshold;return!!(!1!==e&&t.points&&t.points.length>=e)}function a(t,e){var i=t.series,n=i.chart;t=n.options.accessibility.point||{};var o=i.options.accessibility&&i.options.accessibility.point||{};return i=i.tooltipOptions||{},n=n.options.lang,C(e)?v(e,o.valueDecimals||t.valueDecimals||i.valueDecimals||-1,n.decimalPoint,n.accessibility.thousandsSep||n.thousandsSep):e}function l(t,e){return t.chart.langFormat("accessibility.series."+e+"Description",{name:u(t[e]),series:t})}function h(t){var e=t.series,i=e.chart,n=t.series,o=n.chart,r=n.options.accessibility;if(r=r&&r.point&&r.point.valueDescriptionFormat||o.options.accessibility.point.valueDescriptionFormat,n=S(n.xAxis&&n.xAxis.options.accessibility&&n.xAxis.options.accessibility.enabled,!o.angular)){var s=t.series,l=s.chart,h=s.options.accessibility&&s.options.accessibility.point||{},c=l.options.accessibility.point||{};(s=s.xAxis&&s.xAxis.dateTime)?(s=s.getXDateFormat(t.x||0,l.options.tooltip.dateTimeLabelFormats),h=h.dateFormatter&&h.dateFormatter(t)||c.dateFormatter&&c.dateFormatter(t)||h.dateFormat||c.dateFormat||s,l=l.time.dateFormat(h,t.x||0,void 0)):l=void 0,h=(t.series.xAxis||{}).categories&&k(t.category)&&(""+t.category).replace("<br/>"," "),c=t.id&&0>t.id.indexOf("highcharts-"),s="x, "+t.x,l=t.name||l||h||(c?t.id:s)}else l="";h=k(t.index)?t.index+1:"";var d=(c=t.series).chart.options.accessibility.point||{},u=c.chart.options.accessibility&&c.chart.options.accessibility.point||{},f=c.tooltipOptions||{};return s=u.valuePrefix||d.valuePrefix||f.valuePrefix||"",d=u.valueSuffix||d.valueSuffix||f.valueSuffix||"",u=a(t,t[void 0!==t.value?"value":"y"]),c=t.isNull?c.chart.langFormat("accessibility.series.nullPointValue",{point:t}):c.pointArrayMap?function(t,e,i){var n=e||"",o=i||"";return t.series.pointArrayMap.reduce((function(e,i){e+=e.length?", ":"";var r=a(t,S(t[i],t.options[i]));return e+(i+": ")+n+r+o}),"")}(t,s,d):s+u+d,o=y(r,{point:t,index:h,xDescription:l,value:c,separator:n?", ":""},o),r=(r=t.options&&t.options.accessibility&&t.options.accessibility.description)?" "+r:"",e=1<i.series.length&&e.name?" "+e.name+".":"",i=t.series.chart,l={point:t,annotations:n=p(t)},i=n.length?i.langFormat("accessibility.series.pointAnnotationsDescription",l):"",t.accessibility=t.accessibility||{},t.accessibility.valueDescription=o,o+r+e+(i?" "+i:"")}function c(t){var e=function(t){var e=t.options.accessibility||{};return!s(t)&&!e.exposeAsGroupOnly}(t),i=function(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation;return!(!t.points||!(t.points.length<e.pointNavigationEnabledThreshold||!1===e.pointNavigationEnabledThreshold))}(t);(e||i)&&t.points.forEach((function(i){var n;if(!(n=i.graphic&&i.graphic.element)&&(n=i.series&&i.series.is("sunburst"),n=i.isNull&&!n)){var o=i.series,s=r(i);o=(n=s&&s.graphic)?n.parentGroup:o.graph||o.group,s=s?{x:S(i.plotX,s.plotX,0),y:S(i.plotY,s.plotY,0)}:{x:S(i.plotX,0),y:S(i.plotY,0)},(s=i.series.chart.renderer.rect(s.x,s.y,1,1)).attr({class:"highcharts-a11y-dummy-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),o&&o.element?(i.graphic=s,i.hasDummyGraphic=!0,s.add(o),o.element.insertBefore(s.element,n?n.element:null),n=s.element):n=void 0}o=i.options&&i.options.accessibility&&!1===i.options.accessibility.enabled,n&&(n.setAttribute("tabindex","-1"),t.chart.styledMode||(n.style.outline="none"),e&&!o?(o=(s=i.series).chart.options.accessibility.point||{},s=s.options.accessibility&&s.options.accessibility.point||{},i=b(s.descriptionFormatter&&s.descriptionFormatter(i)||o.descriptionFormatter&&o.descriptionFormatter(i)||h(i)),n.setAttribute("role","img"),n.setAttribute("aria-label",i)):n.setAttribute("aria-hidden",!0))}))}function d(t){var e=t.chart,i=e.types||[],n=function(t){var e=(t.options.accessibility||{}).description;return e&&t.chart.langFormat("accessibility.series.description",{description:e,series:t})||""}(t),o=function(i){return e[i]&&1<e[i].length&&t[i]},r=l(t,"xAxis"),s=l(t,"yAxis"),a={name:t.name||"",ix:t.index+1,numSeries:e.series&&e.series.length,numPoints:t.points&&t.points.length,series:t};return i=1<i.length?"Combination":"",(e.langFormat("accessibility.series.summary."+t.type+i,a)||e.langFormat("accessibility.series.summary.default"+i,a))+(n?" "+n:"")+(o("yAxis")?" "+s:"")+(o("xAxis")?" "+r:"")}var p=t.getPointAnnotationTexts,u=e.getAxisDescription,f=e.getSeriesFirstPointElement,g=e.getSeriesA11yElement,m=e.unhideChartElementFromAT,y=i.format,v=i.numberFormat,x=n.reverseChildNodes,b=n.stripHTMLTagsFromString,w=o.find,C=o.isNumber,S=o.pick,k=o.defined;return{defaultPointDescriptionFormatter:h,defaultSeriesDescriptionFormatter:d,describeSeries:function(t){var e=t.chart,i=f(t),n=g(t),o=e.is3d&&e.is3d();if(n){n.lastChild!==i||o||x(n),c(t),m(e,n),e=(o=t.chart).options.chart,i=1<o.series.length,o=o.options.accessibility.series.describeSingleSeries;var r=(t.options.accessibility||{}).exposeAsGroupOnly;e.options3d&&e.options3d.enabled&&i||!(i||o||r||s(t))?n.setAttribute("aria-label",""):(i=(e=t.chart.options.accessibility).landmarkVerbosity,(t.options.accessibility||{}).exposeAsGroupOnly?n.setAttribute("role","img"):"all"===i&&n.setAttribute("role","regi
18on"),n.setAttribute("tabindex","-1"),t.chart.styledMode||(n.style.outline="none"),n.setAttribute("aria-label",b(e.series.descriptionFormatter&&e.series.descriptionFormatter(t)||d(t))))}}}})),e(t,"Accessibility/Components/SeriesComponent/NewDataAnnouncer.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],(function(t,e,i,n,o,r){var s=e.addEvent,a=e.defined,l=n.getChartTitle,h=r.defaultPointDescriptionFormatter,c=r.defaultSeriesDescriptionFormatter;return function(t){function e(t){var e=this.chart,i=this.newDataAnnouncer;i&&i.chart===e&&e.options.accessibility.announceNewData.enabled&&(i.dirty.newPoint=a(i.dirty.newPoint)?void 0:t.point)}function i(){var t=this.chart,e=this.newDataAnnouncer;e&&e.chart===t&&t.options.accessibility.announceNewData.enabled&&(e.dirty.hasDirty=!0,e.dirty.allSeries[this.name+this.index]=this)}t.composedClasse
18s=[],t.compose=function(n){-1===t.composedClasses.indexOf(n)&&(t.composedClasses.push(n),s(n,"addPoint",e),s(n,"updatedData",i))}}((e=function(){function e(t){this.announcer=void 0,this.dirty={allSeries:{}},this.eventProvider=void 0,this.lastAnnouncementTime=0,this.chart=t}return e.prototype.init=function(){var t=this.chart,e=t.options.accessibility.announceNewData.interruptUser?"assertive":"polite";this.lastAnnouncementTime=0,this.dirty={allSeries:{}},this.eventProvider=new o,this.announcer=new i(t,e),this.addEventListeners()},e.prototype.destroy=function(){this.eventProvider.removeAddedEvents(),this.announcer.destroy()},e.prototype.addEventListeners=function(){var t=this,e=this.chart,i=this.eventProvider;i.addEvent(e,"afterDrilldown",(function(){t.lastAnnouncementTime=0})),i.addEvent(e,"afterAddSeries",(function(e){t.onSeriesAdded(e.series)})),i.addEvent(e,"redraw",(function(){t.announceDirtyData()}))},e.prototype.onSeriesAdded=function(t){this.chart.options.accessibility.announceNewData.enabled&&(this.dirty.hasDirty=!0,this.dirty.allSeries[t.name+t.index]=t,this.dirty.newSeries=a(this.dirty.newSeries)?void 0:t)},e.prototype.announceDirtyData=function(){var t=this;if(this.chart.options.accessibility.announceNewData&&this.dirty.hasDirty){var e=this.dirty.newPoint;e&&(e=function(t){var e=t.series.data.filter((function(e){return t.x===e.x&&t.y===e.y}));return 1===e.length?e[0]:t}(e)),this.queueAnnouncement(Object.keys(this.dirty.allSeries).map((function(e){return t.dirty.allSeries[e]})),this.dirty.newSeries,e),this.dirty={allSeries:{}}}},e.prototype.queueAnnouncement=function(t,e,i){var n=this,o=this.chart.options.accessibility.announceNewData;if(o.enabled){var r=+new Date;o=Math.max(0,o.minAnnounceInterval-(r-this.lastAnnouncementTime)),t=function(t,e){var i=(t||[]).concat(e||[]).reduce((function(t,e){return t[e.name+e.index]=e,t}),{});return Object.keys(i).map((function(t){return i[t]}))}(this.queuedAnnouncement&&this.queuedAnnouncement.series,t),(e=this.buildAnnouncementMessage(t,e,i))&&(this.queuedAnnouncement&&clearTimeout(this.queuedAnnouncementTimer),this.queuedAnnouncement={time:r,message:e,series:t},this.queuedAnnouncementTimer=setTimeout((function(){n&&n.announcer&&(n.lastAnnouncementTime=+new Date,n.announcer.announce(n.queuedAnnouncement.message),delete n.queuedAnnouncement,delete n.queuedAnnouncementTimer)}),o))}},e.prototype.buildAnnouncementMessage=function(e,i,n){var o=this.chart,r=o.options.accessibility.announceNewData;return r.announcementFormatter&&!1!==(e=r.announcementFormatter(e,i,n))?e.length?e:null:(e=t.charts&&1<t.charts.length?"Multiple":"Single",e=i?"newSeriesAnnounce"+e:n?"newPointAnnounce"+e:"newDataAnnounce",r=l(o),o.langFormat("accessibility.announceNewData."+e,{chartTitle:r,seriesDesc:i?c(i):null,pointDesc:n?h(n):null,point:n,series:i}))},e}())||(e={})),e})),e(t,"Accessibility/ProxyElement.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"]],(function(t,e,i,n,o){var r=t.doc,s=e.attr,a=e.css,l=e.merge,h=n.fireEventOnWrappedOrUnwrappedElement,c=o.cloneMouseEvent,d=o.cloneTouchEvent,p=o.getFakeMouseEvent,u=o.removeElement;return function(){function t(t,e,n,o){this.chart=t,this.target=e,this.groupType=n,n="ul"===n,this.eventProvider=new i;var s=n?r.createElement("li"):null,a=this.buttonElement=r.createElement("button");t.styledMode||this.hideButtonVisually(a),s?(n&&!t.styledMode&&(s.style.listStyle="none"),s.appendChild(a),this.element=s):this.element=a,this.updateTarget(e,o)}return t.prototype.click=function(){var t=this.getTargetPosition();t.x+=t.width/2,t.y+=t.height/2,t=p("click",t),h(this.target.click,t)},t.prototype.updateTarget=function(t,e){this.target=t,this.updateCSSClassName(),s(this.buttonElement,l({"aria-label":this.getTargetAttr(t.click,"aria-label")},e)),this.eventProvider.removeAddedEvents(),this.addProxyEventsToButton(this.buttonElement,t.click),this.refreshPosition()},t.prototype.refreshPosition=function(){var t=this.getTargetPosition();a(this.buttonElement,{width:(t.width||1)+"px",height:(t.height||1)+"px",left:(Math.round(t.x)||0)+"px",top:(Math.round(t.y)||0)+"px"})},t.prototype.remove=function(){this.eventProvider.removeAddedEvents(),u(this.element)},t.prototype.updateCSSClassName=function(){var t=this.chart.legend;t=-1<((t=t.group&&t.group.div)&&t.className||"").indexOf("highcharts-no-tooltip");var e=-1<(this.getTargetAttr(this.target.click,"class")||"").indexOf("highcharts-no-tooltip");this.buttonElement.className=t||e?"highcharts-a11y-proxy-button highcharts-no-tooltip":"highcharts-a11y-proxy-button"},t.prototype.addProxyEventsToButton=function(t,e){var i=this;"click touchstart touchend touchcancel touchmove mouseover mouseenter mouseleave mouseout".split(" ").forEach((function(n){var o=0===n.indexOf("touch");i.eventProvider.addEvent(t,n,(function(t){var i=o?d(t):c(t);e&&h(e,i),t.stopPropagation(),o||t.preventDefault()}),{passive:!1})}
18))},t.prototype.hideButtonVisually=function(t){a(t,{borderWidth:0,backgroundColor:"transparent",cursor:"pointer",outline:"none",opacity:.001,filter:"alpha(opacity=1)",zIndex:999,overflow:"hidden",padding:0,margin:0,display:"block",position:"absolute","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)"})},t.prototype.getTargetPosition=function(){var t=this.target.click;t=t.element?t.element:t;var e=this.target.visual||t;return(t=this.chart.renderTo)&&e&&e.getBoundingClientRect?(e=e.getBoundingClientRect(),t=t.getBoundingClientRect(),{x:e.left-t.left,y:e.top-t.top,width:e.right-e.left,height:e.bottom-e.top}):{x:0,y:0,width:1,height:1}},t.prototype.getTargetAttr=function(t,e){return t.element?t.element.getAttribute(e):t.getAttribute(e)},t}()})),e(t,"Accessibility/ProxyProvider.js",[t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/DOMElementProvider.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/ProxyElement.js"]],(function(t,e,i,n,o,r){var s=t.doc,a=e.attr,l=e.css,h=i.unhideChartElementFromAT,c=o.removeElement,d=o.removeChildNodes;return function(){function t(t){this.chart=t,this.domElementProvider=new n,this.groups={},this.groupOrder=[],this.beforeChartProxyPosContainer=this.createProxyPosContainer("before"),this.afterChartProxyPosContainer=this.createProxyPosContainer("after"),this.update()}return t.prototype.addProxyElement=function(t,e,i){var n=this.groups[t];if(!n)throw Error("ProxyProvider.addProxyElement: Invalid group key "+t);return t=new r(this.chart,e,n.type,i),n.proxyContainerElement.appendChild(t.element),n.proxyElements.push(t),t},t.prototype.addGroup=function(t,e,i){if(!this.groups[t]){var n=this.domElementProvider.createElement(e);if(i&&i.role&&"div"!==e){var o=this.domElementProvider.createElement("div");o.appendChild(n)}else o=n;o.className="highcharts-a11y-proxy-group highcharts-a11y-proxy-group-"+t.replace(/\W/g,"-"),this.groups[t]={proxyContainerElement:n,groupElement:o,type:e,proxyElements:[]},a(o,i||{}),"ul"===e&&n.setAttribute("role","list"),this.afterChartProxyPosContainer.appendChild(o),this.updateGroupOrder(this.groupOrder)}},t.prototype.updateGroupAttrs=function(t,e){var i=this.groups[t];if(!i)throw Error("ProxyProvider.updateGroupAttrs: Invalid group key "+t);a(i.groupElement,e)},t.prototype.updateGroupOrder=function(t){var e=this;if(this.groupOrder=t.slice(),!this.isDOMOrderGroupOrder()){var i=t.indexOf("series"),n=-1<i?t.slice(0,i):t,o=-1<i?t.slice(i+1):[];t=s.activeElement,["before","after"].forEach((function(t){var i=e["before"===t?"beforeChartProxyPosContainer":"afterChartProxyPosContainer"];t="before"===t?n:o,d(i),t.forEach((function(t){(t=e.groups[t])&&i.appendChild(t.groupElement)}))})),(this.beforeChartProxyPosContainer.contains(t)||this.afterChartProxyPosContainer.contains(t))&&t&&t.focus&&t.focus()}},t.prototype.clearGroup=function(t){var e=this.groups[t];if(!e)throw Error("ProxyProvider.clearGroup: Invalid group key "+t);d(e.proxyContainerElement)},t.prototype.removeGroup=function(t){var e=this.groups[t];e&&(c(e.groupElement),delete this.groups[t])},t.prototype.update=function(){this.updatePosContainerPositions(),this.updateGroupOrder(this.groupOrder),this.updateProxyElementPositions()},t.prototype.updateProxyElementPositions=function(){Object.keys(this.groups).forEach(this.updateGroupProxyElementPositions.bind(this))},t.prototype.updateGroupProxyElementPositions=function(t){(t=this.groups[t])&&t.proxyElements.forEach((function(t){return t.refreshPosition()}))},t.prototype.destroy=function(){this.domElementProvider.destroyCreatedElements()},t.prototype.createProxyPosContainer=function(t){var e=this.domElementProvider.createElement("div");return e.setAttribute("aria-hidden","false"),e.className="highcharts-a11y-proxy-container"+(t?"-"+t:""),l(e,{top:"0",left:"0"}),this.chart.styledMode||(e.style.whiteSpace="nowrap",e.style.position="absolute"),e},t.prototype.getCurrentGroupOrderInDOM=function(){var t=this,e=function(e){var i=[];e=e.children;for(var n=0;n<e.length;++n){t:{for(var o=e[n],r=Object.keys(t.groups),s=r.length;s--;){var a=r[s],l=t.groups[a];if(l&&o===l.groupElement){o=a;break t}}o=void 0}o&&i.push(o)}return i},i=e(this.beforeChartProxyPosContainer);return e=e(this.afterChartProxyPosContainer),i.push("series"),i.concat(e)},t.prototype.isDOMOrderGroupOrder=function(){var t=this,e=this.getCurrentGroupOrderInDOM(),i=this.groupOrder.filter((function(e){return"series"===e||!!t.groups[e]})),n=e.length;if(n!==i.length)return!1;for(;n--;)if(e[n]!==i[n])return!1;return!0},t.prototype.updatePosContainerPositions=function(){var t=this.chart,e=t.renderer.box;t.container.insertBefore(this.afterChartProxyPosContainer,e.nextSibling),t.container.insertBefore(this.beforeChartProxyPosContainer,e),h(this.chart,this.afterChartProxyPosContainer),h(this.chart,this.beforeChartProxyPosContainer)},t}()})),e(t,"Extensions/RangeSelector.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],(function(t,e,
18i,n,o,r){var s=n.defaultOptions,a=r.addEvent,l=r.createElement,h=r.css,c=r.defined,d=r.destroyObjectProperties,p=r.discardElement,u=r.extend,f=r.find,g=r.fireEvent,m=r.isNumber,y=r.merge,v=r.objectEach,x=r.pad,b=r.pick,w=r.pInt,C=r.splat;u(s,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}),u(s.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"→"});var S=function(){function e(t){this.buttons=void 0,this.buttonOptions=e.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=t,this.init(t)}return e.prototype.clickButton=function(e,i){var n=this.chart,o=this.buttonOptions[e],r=n.xAxis[0],s=n.scroller&&n.scroller.getUnionExtremes()||r||{},l=s.dataMin,h=s.dataMax,d=r&&Math.round(Math.min(r.max,b(h,r.max))),p=o.type;s=o._range;var u,f=o.dataGrouping;if(null!==l&&null!==h){if(n.fixedRange=s,this.setSelected(e),f&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(r||{chart:this.chart},f,!1),this.frozenStates=o.preserveDataGrouping),"month"===p||"year"===p)if(r){p={range:o,max:d,chart:n,dataMin:l,dataMax:h};var y=r.minFromRange.call(p);m(p.newMax)&&(d=p.newMax)}else s=o;else if(s)y=Math.max(d-s,l),d=Math.min(y+s,h);else if("ytd"===p){if(!r)return void(this.deferredYTDClick=e);void 0===h&&(l=Number.MAX_VALUE,h=Number.MIN_VALUE,n.series.forEach((function(t){t=t.xData,l=Math.min(t[0],l),h=Math.max(t[t.length-1],h)})),i=!1),y=u=(d=this.getYTDExtremes(h,l,n.time.useUTC)).min,d=d.max}else"all"===p&&r&&(n.navigator&&n.navigator.baseSeries[0]&&(n.navigator.baseSeries[0].xAxis.options.range=void 0),y=l,d=h);if(c(y)&&(y+=o._offsetMin),c(d)&&(d+=o._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=e+1),r)r.setExtremes(y,d,b(i,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:o});else{var v=C(n.options.xAxis)[0],x=v.range;v.range=s;var w=v.min;v.min=u,a(n,"load",(function(){v.range=x,v.min=w}))}g(this,"afterBtnClick")}},e.prototype.setSelected=function(t){this.selected=this.options.selected=t},e.prototype.init=function(t){var e=this,i=t.options.rangeSelector,n=i.buttons||e.defaultButtons.slice(),o=i.selected,r=function(){var t=e.minInput,i=e.maxInput;t&&t.blur&&g(t,"blur"),i&&i.blur&&g(i,"blur")};e.chart=t,e.options=i,e.buttons=[],e.buttonOptions=n,this.eventsToUnbind=[],this.eventsToUnbind.push(a(t.container,"mousedown",r)),this.eventsToUnbind.push(a(t,"resize",r)),n.forEac
18h(e.computeButtonRange),void 0!==o&&n[o]&&this.clickButton(o,!1),this.eventsToUnbind.push(a(t,"load",(function(){t.xAxis&&t.xAxis[0]&&a(t.xAxis[0],"setExtremes",(function(i){this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==i.trigger&&"updatedData"!==i.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)}))})))},e.prototype.updateButtonStates=function(){var t=this,e=this.chart,i=this.dropdown,n=e.xAxis[0],o=Math.round(n.max-n.min),r=!n.hasVisibleSeries,s=e.scroller&&e.scroller.getUnionExtremes()||n,a=s.dataMin,l=s.dataMax,h=(e=t.getYTDExtremes(l,a,e.time.useUTC)).min,c=e.max,d=t.selected,p=m(d),u=t.options.allButtonsEnabled,f=t.buttons;t.buttonOptions.forEach((function(e,s){var g=e._range,m=e.type,y=e.count||1,v=f[s],x=0,b=e._offsetMax-e._offsetMin;e=s===d;var w=g>l-a,C=g<n.minRange,S=!1,k=!1;g=g===o,("month"===m||"year"===m)&&o+36e5>=864e5*{month:28,year:365}[m]*y-b&&o-36e5<=864e5*{month:31,year:366}[m]*y+b?g=!0:"ytd"===m?(g=c-h+b===o,S=!e):"all"===m&&(g=n.max-n.min>=l-a,k=!e&&p&&g),m=!u&&(w||C||k||r),y=e&&g||g&&!p&&!S||e&&t.frozenStates,m?x=3:y&&(p=!0,x=2),v.state!==x&&(v.setState(x),i&&(i.options[s+1].disabled=m,2===x&&(i.selectedIndex=s+1)),0===x&&d===s&&t.setSelected())}))},e.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=b(t.offsetMin,0),t._offsetMax=b(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},e.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},e.prototype.setInputValue=function(t,e){var i=this.options,n=this.chart.time,o="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,o){var r=o.getAttribute("data-hc-time");r=c(r)?Number(r):void 0,c(e)&&(c(r)&&o.setAttribute("data-hc-time-previous",r),o.setAttribute("data-hc-time",e),r=e),o.value=n.dateFormat(this.inputTypeFormats[o.type]||i.inputEditDateFormat,r),t&&t.attr({text:n.dateFormat(i.inputDateFormat,r)})}},e.prototype.setInputExtremes=function(t,e,i){if(t="min"===t?this.minInput:this.maxInput){var n=this.inputTypeFormats[t.type],o=this.chart.time;n&&(e=o.dateFormat(n,e),t.min!==e&&(t.min=e),i=o.dateFormat(n,i),t.max!==i&&(t.max=i))}},e.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var i="text"===t.type,n=this.inputGroup,o=n.translateX;n=n.translateY;var r=this.options.inputBoxWidth;h(t,{width:i?e.width+(r?-2:20)+"px":"auto",height:i?e.height-2+"px":"auto",border:"2px solid silver"}),h(t,i&&r?{left:o+e.x+"px",top:n+"px"}:{left:Math.min(Math.round(e.x+o-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-e.height)/2+"px"})}},e.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&h(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},e.prototype.defaultInputDateParser=function(t,e,n){var o,r=t.split("/").join("-").split(" ").join("T");(-1===r.indexOf("T")&&(r+="T00:00"),e)?r+="Z":((o=i.isSafari)&&(o=!(6<(o=r).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6))),o&&(r+=0>=(o=new Date(r).getTimezoneOffset()/60)?"+"+x(-o)+":00":"-"+x(o)+":00"));return r=Date.parse(r),m(r)||(t=t.split("-"),r=Date.UTC(w(t[0]),w(t[1])-1,w(t[2]))),n&&e&&m(r)&&(r+=n.getTimezoneOffset(r)),r},e.prototype.drawInput=function(t){function e(){var e=a.getInputValue(t),i=n.xAxis[0],o=n.scroller&&n.scroller.xAxis?n.scroller.xAxis:i,r=o.dataMin;o=o.dataMax;var s=a.maxInput,l=a.minInput;e!==Number(v.getAttribute("data-hc-time-previous"))&&m(e)&&(v.setAttribute("data-hc-time-previous",e),f&&s&&m(r)?e>Number(s.getAttribute("data-hc-time"))?e=void 0:e<r&&(e=r):l&&m(o)&&(e<Number(l.getAttribute("data-hc-time"))?e=void 0:e>o&&(e=o)),void 0!==e&&i.setExtremes(f?e:i.min,f?i.max:e,void 0,void 0,{trigger:"rangeSelectorInput"}))}var n=this.chart,o=this.div,r=this.inputGroup,a=this,c=n.renderer.style||{},d=n.renderer,p=n.options.rangeSelector,f="min"===t,g=s.lang[f?"rangeSelectorFrom":"rangeSelectorTo"]||"";g=d.label(g,0).addClass("highcharts-range-label").attr({padding:g?2:0,height:g?p.inputBoxHeight:0}).add(r),d=d.label("",0).addClass("highcharts-range-input").attr({padding:2,width:p.inputBoxWidth,height:p.inputBoxHeight,"text-align":"center"}).on("click",(function(){a.showInput(t),a[t+"Input"].focus()})),n.styledMode||d.attr({stroke:p.inputBoxBorderColor,"stroke-width":1}),d.add(r);var v=l("input",{name:t,className:"highcharts-range-selector"},void 0,o);v.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some((function(e){return-1!==t.indexOf("%"+e)})),i="HkIlMS".split("").some((function(e){return-1!==t.indexOf("%"+e)}));return e&&i?"datetime-local":e?"date":i?"time":"text"}(p.inputDateFormat||"%b %e, %Y")),n.styledMode||(g.css(y(c,p.labelStyle)),d.css(y({color:"#333333"},c,p.inputStyle)),h(v,u({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:c.fontSize,fontFamily:c.fontFamily,top:"-9999em"},p.inputStyle))),v.onfocus=function(){a.showInput(t)},v.onblur=function(){v===i.doc.activeElement&&e(),a.hideInput(t),a.setInputValue(t),v.blur()};var x=!1;return v.onchange=function(){x||(e(),a.hideInput(t),v.blur())},v.onkeypress=function(t){13===t.keyCode&&e()},v.onkeydown=function(t){x=!0,38!==t.keyCode&&40!==t.keyCode||e()},v.onkeyup=function(){x=!1},{dateBox:d,input:v,label:g}},e.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}}
18,e.prototype.getYTDExtremes=function(t,e,i){var n=this.chart.time,o=new n.Date(t),r=n.get("FullYear",o);return i=i?n.Date.UTC(r,0,1):+new n.Date(r,0,1),e=Math.max(e,i),o=o.getTime(),{max:Math.min(t||o,o),min:e}},e.prototype.render=function(t,e){var i=this.chart,n=i.renderer,o=i.container,r=i.options,s=r.rangeSelector,a=b(r.chart.style&&r.chart.style.zIndex,0)+1;if(r=s.inputEnabled,!1!==s.enabled){if(this.rendered||(this.group=n.g("range-selector-group").attr({zIndex:7}).add(),this.div=l("div",void 0,{position:"relative",height:0,zIndex:a}),this.buttonOptions.length&&this.renderButtons(),o.parentNode&&o.parentNode.insertBefore(this.div,o),r&&(this.inputGroup=n.g("input-group").add(this.group),n=this.drawInput("min"),this.minDateBox=n.dateBox,this.minLabel=n.label,this.minInput=n.input,n=this.drawInput("max"),this.maxDateBox=n.dateBox,this.maxLabel=n.label,this.maxInput=n.input)),r&&(this.setInputValue("min",t),this.setInputValue("max",e),t=i.scroller&&i.scroller.getUnionExtremes()||i.xAxis[0]||{},c(t.dataMin)&&c(t.dataMax)&&(i=i.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-i),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+i,t.dataMax)),this.inputGroup)){var h=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:h}),h+=e+s.inputSpacing)}}))}this.alignElements(),this.rendered=!0}},e.prototype.renderButtons=function(){var t=this,e=this.buttons,n=this.options,o=s.lang,r=this.chart.renderer,h=y(n.buttonTheme),c=h&&h.states,d=h.width||28;delete h.width,delete h.states,this.buttonGroup=r.g("range-selector-buttons").add(this.group);var p=this.dropdown=l("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);a(p,"touchstart",(function(){p.style.fontSize="16px"})),[[i.isMS?"mouseover":"mouseenter"],[i.isMS?"mouseout":"mouseleave"],["change","click"]].forEach((function(i){var n=i[0],o=i[1];a(p,n,(function(){var i=e[t.currentButtonIndex()];i&&g(i.element,o||n)}))})),this.zoomText=r.label(o&&o.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),h["stroke-width"]=b(h["stroke-width"],0)),l("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,p),this.buttonOptions.forEach((function(i,n){l("option",{textContent:i.title||i.text},void 0,p),e[n]=r.button(i.text,0,0,(function(e){var o,r=i.events&&i.events.click;r&&(o=r.call(i,e)),!1!==o&&t.clickButton(n),t.isActive=!0}),h,c&&c.hover,c&&c.select,c&&c.disabled).attr({"text-align":"center",width:d}).add(t.buttonGroup),i.title&&e[n].attr("title",i.title)}))},e.prototype.alignElements=function(){var t=this,e=this.buttonGroup,i=this.buttons,n=this.chart,o=this.group,r=this.inputGroup,s=this.options,a=this.zoomText,l=n.options,h=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=s.buttonPosition;var c=s.inputPosition,d=s.verticalAlign,p=function(e,i){return h&&t.titleCollision(n)&&"top"===d&&"right"===i.align&&i.y-e.getBBox().height-12<(h.y||0)+(h.height||0)+n.spacing[0]?-40:0},u=n.plotLeft;if(o&&l&&c){var f=l.x-n.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var g=0;a&&(g+=a.getBBox().width+5),i.forEach((function(t,e){g+=t.width,e!==i.length-1&&(g+=s.buttonSpacing)})),this.initialButtonGroupWidth=g}u-=n.spacing[3],this.updateButtonStates(),a=p(e,l),this.alignButtonGroup(a),o.placed=e.placed=n.hasLoaded}e=0,r&&(e=p(r,c),"left"===c.align?f=u:"right"===c.align&&(f=-Math.max(n.axisOffset[1],-e)),r.align({y:c.y,width:r.getBBox().width,align:c.align,x:c.x+f-2},!0,n.spacingBox),r.placed=n.hasLoaded),this.handleCollision(e),o.align({verticalAlign:d},!0,n.spacingBox),r=o.alignAttr.translateY,e=o.getBBox().height+20,p=0,"bottom"===d&&(p=r-(e=e+(p=(p=n.legend&&n.legend.options)&&"bottom"===p.verticalAlign&&p.enabled&&!p.floating?n.legend.legendHeight+b(p.margin,10):0)-20)-(s.floating?0:s.y)-(n.titleOffset?n.titleOffset[2]:0)-10),"top"===d?(s.floating&&(p=0),n.titleOffset&&n.titleOffset[0]&&(p=n.titleOffset[0]),p+=n.margin[0]-n.spacing[0]||0):"middle"===d&&(c.y===l.y?p=r:(c.y||l.y)&&(p=0>c.y||0>l.y?p-Math.min(c.y,l.y):r-e)),o.translate(s.x,s.y+Math.floor(p)),l=this.minInput,c=this.maxInput,r=this.dropdown,s.inputEnabled&&l&&c&&(l.style.marginTop=o.translateY+"px",c.style.marginTop=o.translateY+"px"),r&&(r.style.marginTop=o.translateY+"px")}},e.prototype.alignButtonGroup=function(t,e){var i=this.chart,n=this.buttonGroup,o=this.options.buttonPosition,r=i.plotLeft-i.spacing[3],s=o.x-i.spacing[3];"right"===o.align?s+=t-r:"center"===o.align&&(s-=r/2),n&&n.align({y:o.y,width:b(e,this.initialButtonGroupWidth),align:o.align,x:s},!0,i.spacingBox)},e.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,i=this.options,n=this.zoomText,o=e.hasLoaded?"animate":"attr",r=i.buttonPosition,s=e.plotLeft,a=s;
18n&&"hidden"!==n.visibility&&(n[o]({x:b(s+r.x,s)}),a+=r.x+n.getBBox().width+5),this.buttonOptions.forEach((function(e,n){"hidden"!==t[n].visibility?(t[n][o]({x:a}),a+=t[n].width+i.buttonSpacing):t[n][o]({x:s})}))},e.prototype.handleCollision=function(t){var e=this,i=this.chart,n=this.buttonGroup,o=this.inputGroup,r=this.options,s=r.buttonPosition,a=r.dropdown,l=r.inputPosition;r=function(){var t=0;return e.buttons.forEach((function(e){(e=e.getBBox()).width>t&&(t=e.width)})),t};var h=function(e){if(o&&n){var i=o.alignAttr.translateX+o.alignOptions.x-t+o.getBBox().x+2,r=o.alignOptions.width,a=n.alignAttr.translateX+n.getBBox().x;return a+e>i&&i+r>a&&s.y<l.y+o.getBBox().height}return!1},c=function(){o&&n&&o.attr({translateX:o.alignAttr.translateX+(i.axisOffset[1]>=-t?0:-t),translateY:o.alignAttr.translateY+n.getBBox().height+10})};if(n){if("always"===a)return this.collapseButtons(t),void(h(r())&&c());"never"===a&&this.expandButtons()}o&&n?l.align===s.align||h(this.initialButtonGroupWidth+20)?"responsive"===a?(this.collapseButtons(t),h(r())&&c()):c():"responsive"===a&&this.expandButtons():n&&"responsive"===a&&(this.initialButtonGroupWidth>i.plotWidth?this.collapseButtons(t):this.expandButtons())},e.prototype.collapseButtons=function(t){var e=this.buttons,i=this.buttonOptions,n=this.chart,o=this.dropdown,r=this.options,s=this.zoomText,a=n.userOptions.rangeSelector&&n.userOptions.rangeSelector.buttonTheme||{},l=function(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:b(r.buttonTheme.paddingLeft,a.padding,8),paddingRight:b(r.buttonTheme.paddingRight,a.padding,8)}};s&&s.hide();var h=!1;i.forEach((function(t,i){2!==(i=e[i]).state?i.hide():(i.show(),i.attr(l(t.text)),h=!0)})),h||(o&&(o.selectedIndex=0),e[0].show(),e[0].attr(l(this.zoomText&&this.zoomText.textStr))),i=r.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},e.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,i=this.options,n=this.zoomText;this.hideDropdown(),n&&n.show(),e.forEach((function(e,n){(n=t[n]).show(),n.attr({text:e.text,width:i.buttonTheme.width||28,paddingLeft:b(i.buttonTheme.paddingLeft,"unset"),paddingRight:b(i.buttonTheme.paddingRight,"unset")}),2>n.state&&n.setState(0)})),this.positionButtons()},e.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0<t.selectedIndex?t.selectedIndex-1:0},e.prototype.showDropdown=function(){var t=this.buttonGroup,e=this.buttons,i=this.chart,n=this.dropdown;if(t&&n){var o=t.translateX;t=t.translateY,e=e[this.currentButtonIndex()].getBBox(),h(n,{left:i.plotLeft+o+"px",top:t+.5+"px",width:e.width+"px",height:e.height+"px"}),this.hasVisibleDropdown=!0}},e.prototype.hideDropdown=function(){var t=this.dropdown;t&&(h(t,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},e.prototype.getHeight=function(){var t=this.options,e=this.group,i=t.y,n=t.buttonPosition.y,o=t.inputPosition.y;return t.height?t.height:(this.alignElements(),t=e?e.getBBox(!0).height+13+i:0,e=Math.min(o,n),(0>o&&0>n||0<o&&0<n)&&(t+=Math.abs(e)),t)},e.prototype.titleCollision=function(t){return!(t.options.title.text||t.options.subtitle.text)},e.prototype.update=function(t){var e=this.chart;y(!0,e.options.rangeSelector,t),this.destroy(),this.init(e),this.render()},e.prototype.destroy=function(){var t=this,i=t.minInput,n=t.maxInput;t.eventsToUnbind&&(t.eventsToUnbind.forEach((function(t){return t()})),t.eventsToUnbind=void 0),d(t.buttons),i&&(i.onfocus=i.onblur=i.onchange=null),n&&(n.onfocus=n.onblur=n.onchange=null),v(t,(function(i,n){i&&"chart"!==n&&(i instanceof o?i.destroy():i instanceof window.HTMLElement&&p(i)),i!==e.prototype[n]&&(t[n]=null)}),this)},e}();if(S.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],S.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"},t.prototype.minFromRange=function(){var t=this.range,e=t.type,i=this.max,n=this.chart.time,o=function(t,i){var o="year"===e?"FullYear":"Month",r=new n.Date(t),s=n.get(o,r);return n.set(o,r,s+i),s===n.get(o,r)&&n.set("Date",r,0),r.getTime()-t};
18if(m(t))var r=i-t,s=t;else r=i+o(i,-t.count),this.chart&&(this.chart.fixedRange=i-r);var a=b(this.dataMin,Number.MIN_VALUE);return m(r)||(r=a),r<=a&&(r=a,void 0===s&&(s=o(r,t.count)),this.newMax=Math.min(r+s,this.dataMax)),m(i)||(r=void 0),r},!i.RangeSelector){var k=[],T=function(t){function e(){s&&(i=t.xAxis[0].getExtremes(),n=t.legend,r=s&&s.options.verticalAlign,m(i.min)&&s.render(i.min,i.max),n.display&&"top"===r&&r===n.options.verticalAlign&&((o=y(t.spacingBox)).y="vertical"===n.options.layout?t.plotTop:o.y+s.getHeight(),n.group.placed=!1,n.align(o)))}var i,n,o,r,s=t.rangeSelector;s&&(f(k,(function(e){return e[0]===t}))||k.push([t,[a(t.xAxis[0],"afterSetExtremes",(function(t){s&&s.render(t.min,t.max)})),a(t,"redraw",e)]]),e())};a(e,"afterGetContainer",(function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new S(this))})),a(e,"beforeRender",(function(){var t=this.axes,e=this.rangeSelector;e&&(m(e.deferredYTDClick)&&(e.clickButton(e.deferredYTDClick),delete e.deferredYTDClick),t.forEach((function(t){t.updateNames(),t.setScale()})),this.getAxisMargins(),e.render(),t=e.options.verticalAlign,e.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)))})),a(e,"update",(function(t){var e=t.options.rangeSelector;t=this.rangeSelector;var i=this.extraBottomMargin,n=this.extraTopMargin;e&&e.enabled&&!c(t)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=t=new S(this)),this.extraTopMargin=this.extraBottomMargin=!1,t&&(T(this),e=e&&e.verticalAlign||t.options&&t.options.verticalAlign,t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)),this.extraBottomMargin!==i||this.extraTopMargin!==n)&&(this.isDirtyBox=!0)})),a(e,"render",(function(){var t=this.rangeSelector;t&&!t.options.floating&&(t.render(),"bottom"===(t=t.options.verticalAlign)?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0))})),a(e,"getMargins",(function(){var t=this.rangeSelector;t&&(t=t.getHeight(),this.extraTopMargin&&(this.plotTop+=t),this.extraBottomMargin&&(this.marginBottom+=t))})),e.prototype.callbacks.push(T),a(e,"destroy",(function(){for(var t=0;t<k.length;t++){var e=k[t];
18if(e[0]===this){e[1].forEach((function(t){return t()})),k.splice(t,1);break}}})),i.RangeSelector=S}return S})),e(t,"Accessibility/Components/RangeSelectorComponent.js",[t["Extensions/RangeSelector.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/Announcer.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),a=i.unhideChartElementFromAT,l=i.getAxisRangeDescription,h=r.addEvent,c=r.attr;return function(e){function i(t){var e=this.rangeSelector&&this.rangeSelector.buttons||[],i=this.highlightedRangeSelectorItemIx,n=this.rangeSelector&&this.rangeSelector.selected;return void 0!==i&&e[i]&&i!==n&&e[i].setState(this.oldRangeSelectorItemState||0),this.highlightedRangeSelectorItemIx=t,!!e[t]&&(this.setFocusToElement(e[t].box,e[t].element),t!==n&&(this.oldRangeSelectorItemState=e[t].state,e[t].setState(1)),!0)}function n(){var t=this.chart.accessibility;if(t&&t.components.rangeSelector)return t.components.rangeSelector.onAfterBtnClick()}var o=[];e.compose=function(e,r){-1===o.indexOf(e)&&(o.push(e),e.prototype.highlightRangeSelectorButton=i),-1===o.indexOf(r)&&(o.push(r),h(t,"afterBtnClick",n))}}((e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.announcer=void 0,e}return s(e,t),e.prototype.init=function(){this.announcer=new n(this.chart,"polite")},e.prototype.onChartUpdate=function(){var t=this.chart,e=this,i=t.rangeSelector;i&&(this.updateSelectorVisibility(),this.setDropdownAttrs(),i.buttons&&i.buttons.length&&i.buttons.forEach((function(t){e.setRangeButtonAttrs(t)})),i.maxInput&&i.minInput&&["minInput","maxInput"].forEach((function(n,o){(n=i[n])&&(a(t,n),e.setRangeInputAttrs(n,"accessibility.rangeSelector."+(o?"max":"min")+"InputLabel"))})))},e.prototype.updateSelectorVisibility=function(){var t=this.chart,e=t.rangeSelector,i=e&&e.dropdown,n=e&&e.buttons||[];e&&e.hasVisibleDropdown&&i?(a(t,i),n.forEach((function(t){return t.element.setAttribute("aria-hidden",!0)}
18))):(i&&i.setAttribute("aria-hidden",!0),n.forEach((function(e){return a(t,e.element)})))},e.prototype.setDropdownAttrs=function(){var t=this.chart,e=t.rangeSelector&&t.rangeSelector.dropdown;e&&(t=t.langFormat("accessibility.rangeSelector.dropdownLabel",{rangeTitle:t.options.lang.rangeSelectorZoom}),e.setAttribute("aria-label",t),e.setAttribute("tabindex",-1))},e.prototype.setRangeButtonAttrs=function(t){c(t.element,{tabindex:-1,role:"button"})},e.prototype.setRangeInputAttrs=function(t,e){var i=this.chart;c(t,{tabindex:-1,"aria-label":i.langFormat(e,{chart:i})})},e.prototype.onButtonNavKbdArrowKey=function(t,e){var i=t.response,n=this.keyCodes,o=this.chart,r=o.options.accessibility.keyboardNavigation.wrapAround;return e=e===n.left||e===n.up?-1:1,o.highlightRangeSelectorButton(o.highlightedRangeSelectorItemIx+e)?i.success:r?(t.init(e),i.success):i[0<e?"next":"prev"]},e.prototype.onButtonNavKbdClick=function(t){t=t.response;var e=this.chart;return 3!==e.oldRangeSelectorItemState&&this.fakeClickEvent(e.rangeSelector.buttons[e.highlightedRangeSelectorItemIx].element),t.success},e.prototype.onAfterBtnClick=function(){var t=this.chart,e=l(t.xAxis[0]);(t=t.langFormat("accessibility.rangeSelector.clickButtonAnnouncement",{chart:t,axisRangeDescription:e}))&&this.announcer.announce(t)},e.prototype.onInputKbdMove=function(t){var e=this.chart,i=e.rangeSelector,n=e.highlightedInputRangeIx=(e.highlightedInputRangeIx||0)+t;1<n||0>n?e.accessibility&&(e.accessibility.keyboardNavigation.tabindexContainer.focus(),e.accessibility.keyboardNavigation[0>t?"prev":"next"]()):i&&(t=i[n?"maxDateBox":"minDateBox"],i=i[n?"maxInput":"minInput"],t&&i&&e.setFocusToElement(t,i))},e.prototype.onInputNavInit=function(t){var e=this,i=this,n=this.chart,o=0<t?0:1,r=n.rangeSelector,s=r&&r[o?"maxDateBox":"minDateBox"];if(t=r&&r.minInput,r=r&&r.maxInput,n.highlightedInputRangeIx=o,s&&t&&r){n.setFocusToElement(s,o?r:t),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),n=function(t){(t.which||t.keyCode)===e.keyCodes.tab&&(t.preventDefault(),t.stopPropagation(),i.onInputKbdMove(t.shiftKey?-1:1))};var a=h(t,"keydown",n),l=h(r,"keydown",n);this.removeInputKeydownHandler=function(){a(),l()}}},e.prototype.onInputNavTerminate=function(){var t=this.chart.rangeSelector||{};t.maxInput&&t.hideInput("max"),t.minInput&&t.hideInput("min"),this.removeInputKeydownHandler&&(this.removeInputKeydownHandler(),delete this.removeInputKeydownHandler)},e.prototype.initDropdownNav=function(){var t=this,e=this.chart,i=e.rangeSelector,n=i&&i.dropdown;i&&n&&(e.setFocusToElement(i.buttonGroup,n),this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeDropdownKeydownHandler=h(n,"keydown",(function(i){var n=e.accessibility;(i.which||i.keyCode)===t.keyCodes.tab&&(i.preventDefault(),i.stopPropagation(),n&&(n.keyboardNavigation.tabindexContainer.focus(),n.keyboardNavigation[i.shiftKey?"prev":"next"]()))})))},e.prototype.getRangeSelectorButtonNavigation=function(){var t=this.chart,e=this.keyCodes,i=this;return new o(t,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(t){return i.onButtonNavKbdArrowKey(this,t)}],[[e.enter,e.space],function(){return i.onButtonNavKbdClick(this)}]],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.buttons&&t.rangeSelector.buttons.length)},init:function(e){var n=t.rangeSelector;n&&n.hasVisibleDropdown?i.initDropdownNav():n&&(n=n.buttons.length-1,t.highlightRangeSelectorButton(0<e?0:n))},terminate:function(){i.removeDropdownKeydownHandler&&(i.removeDropdownKeydownHandler(),delete i.removeDropdownKeydownHandler)}})},e.prototype.getRangeSelectorInputNavigation=function(){var t=this.chart,e=this;return new o(t,{keyCodeMap:[],validate:function(){return!!(t.rangeSelector&&t.rangeSelector.inputGroup&&"hidden"!==t.rangeSelector.inputGroup.element.style.visibility&&!1!==t.options.rangeSelector.inputEnabled&&t.rangeSelector.minInput&&t.rangeSelector.maxInput)},init:function(t){e.onInputNavInit(t)},terminate:function(){e.onInputNavTerminate()}})},e.prototype.getKeyboardNavigation=function(){return[this.getRangeSelectorButtonNavigation(),this.getRangeSelectorInputNavigation()]},e.prototype.destroy=function(){this.removeDropdownKeydownHandler&&this.removeDropdownKeydownHandler(),this.removeInputKeydownHandler&&this.removeInputKeydownHandler(),this.announcer&&this.announcer.destroy()},e}(e))||(e={})),e})),e(t,"Accessibility/Components/SeriesComponent/ForcedMarkers.js",[t["Core/Utilities.js"]],(function(t){var e,i=t.addEvent,n=t.merge;return function(t){function e(t){n(!0,t,{marker:{enabled:!0,states:{normal:{opacity:0}
18}}})}function o(t){return t.marker.states&&t.marker.states.normal&&t.marker.states.normal.opacity}function r(){this.chart.styledMode&&(this.markerGroup&&this.markerGroup[this.a11yMarkersForced?"addClass":"removeClass"]("highcharts-a11y-markers-hidden"),this._hasPointMarkers&&this.points&&this.points.length&&this.points.forEach((function(t){t.graphic&&(t.graphic[t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-hidden"),t.graphic[!1===t.hasForcedA11yMarker?"addClass":"removeClass"]("highcharts-a11y-marker-visible"))})))}function s(t){this.resetA11yMarkerOptions=n(t.options.marker||{},this.userOptions.marker||{})}function a(){var t=this.options,i=!1!==(this.options.accessibility&&this.options.accessibility.enabled);if((i=this.chart.options.accessibility.enabled&&i)&&(i=this.chart.options.accessibility,i=this.points.length<i.series.pointDescriptionEnabledThreshold||!1===i.series.pointDescriptionEnabledThreshold),i){if(t.marker&&!1===t.marker.enabled&&(this.a11yMarkersForced=!0,e(this.options)),this._hasPointMarkers&&this.points&&this.points.length)for(t=this.points.length;t--;){var r=(i=this.points[t]).options,s=i.hasForcedA11yMarker;delete i.hasForcedA11yMarker,r.marker&&(s=s&&0===o(r),r.marker.enabled&&!s?(n(!0,r.marker,{states:{normal:{opacity:o(r)||1}}}),i.hasForcedA11yMarker=!1):!1===r.marker.enabled&&(e(r),i.hasForcedA11yMarker=!0))}}else this.a11yMarkersForced&&(delete this.a11yMarkersForced,(t=this.resetA11yMarkerOptions)&&n(!0,this.options,{marker:{enabled:t.enabled,states:{normal:{opacity:t.states&&t.states.normal&&t.states.normal.opacity}}}}))}var l=[];t.compose=function(t){-1===l.indexOf(t)&&(l.push(t),i(t,"afterSetOptions",s),i(t,"render",a),i(t,"afterRender",r))}}(e||(e={})),e})),e(t,"Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js",[t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Utils/EventProvider.js"],t["Accessibility/Utils/ChartUtilities.js"]],(function(t,e,i,n,o,r,s,a){function l(t){var e=t.index,i=t.series.points,n=i.length;if(i[e]===t)return e;for(;n--;)if(i[n]===t)return n}function h(t){var e=t.chart.options.accessibility.keyboardNavigation.seriesNavigation,i=t.options.accessibility||{},n=i.keyboardNavigation;return n&&!1===n.enabled||!1===i.enabled||!1===t.options.enableMouseTracking||!t.visible||e.pointNavigationEnabledThreshold&&e.pointNavigationEnabledThreshold<=t.points.length}function c(t){var e=t.series.chart.options.accessibility,i=t.options.accessibility&&!1===t.options.accessibility.enabled;return t.isNull&&e.keyboardNavigation.seriesNavigation.skipNullPoints||!1===t.visible||!1===t.isInside||i||h(t.series)}function d(t){return delete t.highlightedPoint,t.series.reduce((function(t,e){return t||e.highlightFirstValidPoint()}),!1)}var p=i.seriesTypes,u=n.doc,f=o.defined,g=o.fireEvent,m=a.getPointFromXY,y=a.getSeriesFromName,v=a.scrollToPoint;return function(t){function e(t){var e=this.series,i=this.highlightedPoint,n=i&&l(i)||0,o=i&&i.series.points||[],r=this.series&&this.series[this.series.length-1];if(r=r&&r.points&&r.points[r.points.length-1],!e[0]||!e[0].points)return!1;if(i){if(e=e[i.series.index+(t?1:-1)],!(n=o[n+(t?1:-1)])&&e&&(n=e.points[t?0:e.points.length-1]),!n)return!1}else n=t?e[0].points[0]:r;return c(n)?(h(e=n.series)?this.highlightedPoint=t?e.points[e.points.length-1]:e.points[0]:this.highlightedPoint=n,this.highlightAdjacentPoint(t)):n.highlight()}function i(t){var e,i=this.highlightedPoint,n=1/0;return!(!f(i.plotX)||!f(i.plotY))&&(this.series.forEach((function(o){h(o)||o.points.forEach((function(r){if(f(r.plotY)&&f(r.plotX)&&r!==i){var s=r.plotY-i.plotY,a=Math.abs(r.plotX-i.plotX);a=Math.abs(s)*Math.abs(s)+a*a*4,o.yAxis&&o.yAxis.reversed&&(s*=-1),!(0>=s&&t||0<=s&&!t||5>a||c(r))&&a<n&&(n=a,e=r)}}))})),!!e&&e.highlight())}function n(t){var e=this.highlightedPoint,i=this.series&&this.series[this.series.length-1],n=i&&i.points&&i.points[i.points.length-1];return this.highlightedPoint?!!(i=this.series[e.series.index+(t?-1:1)])&&(!!(n=o(e,i,4))&&(h(i)?(n.highlight(),(t=this.highlightAdjacentSeries(t))||(e.highlight(),!1)):(n.highlight(),n.series.highlightFirstValidPoint()))):(i=t?this.series&&this.series[0]:i,!!(n=t?i&&i.points&&i.points[0]:n)&&n.highlight())}function o(t,e,i,n){var o=1/0,r=e.points.length,s=function(t){return!(f(t.plotX)&&f(t.plotY))};if(!s(t)){for(;r--;){var a=e.points[r];if(!s(a)&&(a=(t.plotX-a.plotX)*(t.plotX-a.plotX)*(i||1)+(t.plotY-a.plotY)*(t.plotY-a.plotY)*(n||1))<o){o=a;var l=r}}return f(l)?e.points[l]:void 0}}function r(){var t=this.series.chart;return this.isNull?t.tooltip&&t.tooltip.hide(0):this.onMouseOver(),v(this),this.graphic&&t.setFocusToElement(this.graphic),t.highlightedPoint=this,this}function s(){var t=this.chart.highlightedPoint,e=(t&&t.series)===this?l(t):0,i=(t=this.points).length;if(t&&i){for(var n=e;n<i;++n)if(!c(t[n]))return t[n].highlight();for(;0<=e;--e)if(!c(t[e]))return t[e].highlight()}return!1}var a=[];t.compose=function(t,o,l){-1===a.indexOf(t)&&(a.push(t),(t=t.prototype).highlightAdjacentPoint=e,t.highlightAdjacentPointVertical=i,t.highlightAdjacentSeries=n),-1===a.indexOf(o)&&(a.push(o),o.prototype.highlight=r),-1===a.indexOf(l)&&(a.push(l),(o=l.prototype).keyboardMoveVertical=!0,["column","gantt","pie"].forEach((function(t){p[t]&&(p[t].prototype.keyboardMoveVertical=!1)})),o.highlightFirstValidPoint=s)}}((i=function(){function i(t,e){this.keyCodes=e,this.chart=t}return i.prototype.init=function(){var i=this,n=this.chart,o=this.eventProvider=new s;o.addEvent(e,"destroy",(function(){return i.onSeriesDestroy(this)})),o.addEvent(n,"afterDrilldown",(function(){d(this),this.focusElement&&this.focusElement.removeFocusBorder()})),o.addEvent(n,"drilldown",(function(t){var e=(t=t.point).series;i.lastDrilledDownPoint={x:t.x,y:t.y,seriesName:e?e.name:""}})),o.addEvent(n,"drillupall",(function(){setTimeout((function(){i.onDrillupAll()}),10)})),o.addEvent(t,"afterSetState",(function(){var t=this.graphic&&this.graphic.element,e=u.activeElement,i=e&&e.getAttribute("class");i=i&&-1<i.indexOf("highcharts-a11y-proxy-button"),n.highlightedPoint===this&&e!==t&&!i&&t&&t.focus&&t.focu
18s()}))},i.prototype.onDrillupAll=function(){var t,e=this.lastDrilledDownPoint,i=this.chart,n=e&&y(i,e.seriesName);e&&n&&f(e.x)&&f(e.y)&&(t=m(n,e.x,e.y)),i.container&&i.container.focus(),t&&t.highlight&&t.highlight(),i.focusElement&&i.focusElement.removeFocusBorder()},i.prototype.getKeyboardNavigationHandler=function(){var t=this,e=this.keyCodes,i=this.chart,n=i.inverted;return new r(i,{keyCodeMap:[[n?[e.up,e.down]:[e.left,e.right],function(e){return t.onKbdSideways(this,e)}],[n?[e.left,e.right]:[e.up,e.down],function(e){return t.onKbdVertical(this,e)}],[[e.enter,e.space],function(t,e){return(t=i.highlightedPoint)&&(e.point=t,g(t.series,"click",e),t.firePointEvent("click")),this.response.success}],[[e.home],function(){return d(i),this.response.success}],[[e.end],function(){for(var t=i.series.length;t--&&(i.highlightedPoint=i.series[t].points[i.series[t].points.length-1],!i.series[t].highlightFirstValidPoint()););return this.response.success}],[[e.pageDown,e.pageUp],function(t){return i.highlightAdjacentSeries(t===e.pageDown),this.response.success}]],init:function(){return d(i),this.response.success},terminate:function(){return t.onHandlerTerminate()}})},i.prototype.onKbdSideways=function(t,e){var i=this.keyCodes;return this.attemptHighlightAdjacentPoint(t,e===i.right||e===i.down)},i.prototype.onKbdVertical=function(t,e){var i=this.chart,n=this.keyCodes;return e=e===n.down||e===n.right,(n=i.options.accessibility.keyboardNavigation.seriesNavigation).mode&&"serialize"===n.mode?this.attemptHighlightAdjacentPoint(t,e):(i[i.highlightedPoint&&i.highlightedPoint.series.keyboardMoveVertical?"highlightAdjacentPointVertical":"highlightAdjacentSeries"](e),t.response.success)},i.prototype.onHandlerTerminate=function(){var t=this.chart;t.tooltip&&t.tooltip.hide(0);var e=t.highlightedPoint&&t.highlightedPoint.series;e&&e.onMouseOut&&e.onMouseOut(),t.highlightedPoint&&t.highlightedPoint.onMouseOut&&t.highlightedPoint.onMouseOut(),delete t.highlightedPoint},i.prototype.attemptHighlightAdjacentPoint=function(t,e){var i=this.chart,n=i.options.accessibility.keyboardNavigation.wrapAround;return i.highlightAdjacentPoint(e)?t.response.success:n?t.init(e?1:-1):t.response[e?"next":"prev"]},i.prototype.onSeriesDestroy=function(t){var e=this.chart;e.highlightedPoint&&e.highlightedPoint.series===t&&(delete e.highlightedPoint,e.focusElement&&e.focusElement.removeFocusBorder())},i.prototype.destroy=function(){this.eventProvider.removeAddedEvents()},i}())||(i={})),i})),e(t,"Accessibility/Components/SeriesComponent/SeriesComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Components/SeriesComponent/ForcedMarkers.js"],t["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"],t["Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js"],t["Core/Tooltip.js"]],(function(t,e,i,n,o,r,s){var a=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),l=e.hideSeriesFromAT,h=o.describeSeries;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.compose=function(t,e,o){n.compose(o),i.compose(o),r.compose(t,e,o)},e.prototype.init=function(){this.newDataAnnouncer=new n(this.chart),this.newDataAnnouncer.init(),this.keyboardNavigation=new r(this.chart,this.keyCodes),this.keyboardNavigation.init(),this.hideTooltipFromATWhenShown(),this.hideSeriesLabelsFromATWhenShown()},e.prototype.hideTooltipFromATWhenShown=function(){var t=this;this.addEvent(s,"refresh",(function(){this.chart===t.chart&&this.label&&this.label.element&&this.label.element.setAttribute("aria-hidden",!0)}))},e.prototype.hideSeriesLabelsFromATWhenShown=function(){this.addEvent(this.chart,"afterDrawSeriesLabels",(function(){this.series.forEac
18h((function(t){t.labelBySeries&&t.labelBySeries.attr("aria-hidden",!0)}))}))},e.prototype.onChartRender=function(){this.chart.series.forEach((function(t){!1!==(t.options.accessibility&&t.options.accessibility.enabled)&&t.visible?h(t):l(t)}))},e.prototype.getKeyboardNavigation=function(){return this.keyboardNavigation.getKeyboardNavigationHandler()},e.prototype.destroy=function(){this.newDataAnnouncer.destroy(),this.keyboardNavigation.destroy()},e}(t)})),e(t,"Accessibility/Components/ZoomComponent.js",[t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Core/Globals.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=e.unhideChartElementFromAT,a=o.attr,l=o.pick;return function(t){function e(t,e){var i=e||3,n=((e=this.getExtremes()).max-e.min)/i*t,o=(i=e.max+n)-(n=e.min+n);0>t&&n<e.dataMin?i=(n=e.dataMin)+o:0<t&&i>e.dataMax&&(n=(i=e.dataMax)-o),this.setExtremes(n,i)}t.composedClasses=[],t.compose=function(i){-1===t.composedClasses.indexOf(i)&&(t.composedClasses.push(i),i.prototype.panStep=e)}}((t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.focusedMapNavButtonIx=-1,e}return r(e,t),e.prototype.init=function(){var t=this,e=this.chart;this.proxyProvider.addGroup("zoom","div"),["afterShowResetZoom","afterDrilldown","drillupall"].forEach((function(i){t.addEvent(e,i,(function(){t.updateProxyOverlays()}))}))},e.prototype.onChartUpdate=function(){var t=this.chart,e=this;t.mapNavButtons&&t.mapNavButtons.forEach((function(i,n){s(t,i.element),e.setMapNavButtonAttrs(i.element,"accessibility.zoom.mapZoom"+(n?"Out":"In"))}))},e.prototype.setMapNavButtonAttrs=function(t,e){var i=this.chart;e=i.langFormat(e,{chart:i}),a(t,{tabindex:-1,role:"button","aria-label":e})},e.prototype.onChartRender=function(){this.updateProxyOverlays()},e.prototype.updateProxyOverlays=function(){var t=this.chart;this.proxyProvider.clearGroup("zoom"),t.resetZoomButton&&this.createZoomProxyButton(t.resetZoomButton,"resetZoomProxyButton",t.langFormat("accessibility.zoom.resetZoomButton",{chart:t})),t.drillUpButton&&this.createZoomProxyButton(t.drillUpButton,"drillUpProxyButton",t.langFormat("accessibility.drillUpButton",{chart:t,buttonText:t.getDrilldownBackText()}))},e.prototype.createZoomProxyButton=function(t,e,i){this[e]=this.proxyProvider.addProxyElement("zoom",{click:t},{"aria-label":i,tabindex:-1})},e.prototype.getMapZoomNavigation=function(){var t=this.keyCodes,e=this.chart,i=this;return new n(e,{keyCodeMap:[[[t.up,t.down,t.left,t.right],function(t){return i.onMapKbdArrow(this,t)}],[[t.tab],function(t,e){return i.onMapKbdTab(this,e)}],[[t.space,t.enter],function(){return i.onMapKbdClick(this)}]],validate:function(){return!!(e.mapZoom&&e.mapNavButtons&&e.mapNavButtons.length)},init:function(t){return i.onMapNavInit(t)}})},e.prototype.onMapKbdArrow=function(t,e){var i=this.keyCodes;return this.chart[e===i.up||e===i.down?"yAxis":"xAxis"][0].panStep(e===i.left||e===i.up?-1:1),t.response.success},e.prototype.onMapKbdTab=function(t,e){var i=this.chart;t=t.response;var n=(e=e.shiftKey)&&!this.focusedMapNavButtonIx||!e&&this.focusedMapNavButtonIx;return i.mapNavButtons[this.focusedMapNavButtonIx].setState(0),n?(i.mapZoom(),t[e?"prev":"next"]):(this.focusedMapNavButtonIx+=e?-1:1,e=i.mapNavButtons[this.focusedMapNavButtonIx],i.setFocusToElement(e.box,e.element),e.setState(2),t.success)},e.prototype.onMapKbdClick=function(t){return this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx].element),t.response.success},e.prototype.onMapNavInit=function(t){var e=this.chart,i=e.mapNavButtons[0],n=e.mapNavButtons[1];i=0<t?i:n,e.setFocusToElement(i.box,i.element),i.setState(2),this.focusedMapNavButtonIx=0<t?0:1}
18,e.prototype.simpleButtonNavigation=function(t,e,i){var o=this.keyCodes,r=this,s=this.chart;return new n(s,{keyCodeMap:[[[o.tab,o.up,o.down,o.left,o.right],function(t,e){return this.response[t===o.tab&&e.shiftKey||t===o.left||t===o.up?"prev":"next"]}],[[o.space,o.enter],function(){var t=i(this,s);return l(t,this.response.success)}]],validate:function(){return s[t]&&s[t].box&&r[e].buttonElement},init:function(){s.setFocusToElement(s[t].box,r[e].buttonElement)}})},e.prototype.getKeyboardNavigation=function(){return[this.simpleButtonNavigation("resetZoomButton","resetZoomProxyButton",(function(t,e){e.zoomOut()})),this.simpleButtonNavigation("drillUpButton","drillUpProxyButton",(function(t,e){return e.drillUp(),t.response.prev})),this.getMapZoomNavigation()]},e}(t))||(t={})),t})),e(t,"Accessibility/HighContrastMode.js",[t["Core/Globals.js"]],(function(t){var e=t.doc,i=t.isMS,n=t.win;return{isHighContrastModeActive:function(){var t=/(Edg)/.test(n.navigator.userAgent);if(n.matchMedia&&t)return n.matchMedia("(-ms-high-contrast: active)").matches;if(i&&n.getComputedStyle){(t=e.createElement("div")).style.backgroundImage="url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)",e.body.appendChild(t);var o=(t.currentStyle||n.getComputedStyle(t)).backgroundImage;return e.body.removeChild(t),"none"===o}return!1},setHighContrastTheme:function(t){t.highContrastModeActive=!0;var e=t.options.accessibility.highContrastTheme;t.update(e,!1),t.series.forEach((function(t){var i=e.plotOptions[t.type]||{};t.update({color:i.color||"windowText",colors:[i.color||"windowText"],borderColor:i.borderColor||"window"}),t.points.forEach((function(t){t.options&&t.options.color&&t.update({color:i.color||"windowText",borderColor:i.borderColor||"window"},!1)}))})),t.redraw()}}})),e(t,"Accessibility/HighContrastTheme.js",[],(function(){return{chart:{backgroundColor:"window"},title:{style:{color:"windowText"}},subtitle:{style:{color:"windowText"}},colorAxis:{minColor:"windowText",maxColor:"windowText",stops:[]},colors:["windowText"],xAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},yAxis:{gridLineColor:"windowText",labels:{style:{color:"windowText"}},lineColor:"windowText",minorGridLineColor:"windowText",tickColor:"windowText",title:{style:{color:"windowText"}}},tooltip:{backgroundColor:"window",borderColor:"windowText",style:{color:"windowText"}},plotOptions:{series:{lineColor:"windowText",fillColor:"window",borderColor:"windowText",edgeColor:"windowText",borderWidth:1,dataLabels:{connectorColor:"windowText",color:"windowText",style:{color:"windowText",textOutline:"none"}},marker:{lineColor:"windowText",fillColor:"windowText"}},pie:{color:"window",colors:["window"],borderColor:"windowText",borderWidth:1},boxplot:{fillColor:"window"},candlestick:{lineColor:"windowText",fillColor:"window"},errorbar:{fillColor:"window"}},legend:{backgroundColor:"window",itemStyle:{color:"windowText"},itemHoverStyle:{color:"windowText"},itemHiddenStyle:{color:"#555"},title:{style:{color:"windowText"}}},credits:{style:{color:"windowText"}},labels:{style:{color:"windowText"}},drilldown:{activeAxisLabelStyle:{color:"windowText"},activeDataLabelStyle:{color:"windowText"}},navigation:{buttonOptions:{symbolStroke:"windowText",theme:{fill:"window"}}},rangeSelector:{buttonTheme:{fill:"window",stroke:"windowText",style:{color:"windowText"},states:{hover:{fill:"window",stroke:"windowText",style:{color:"windowText"}},select:{fill:"#444",stroke:"windowText",style:{color:"windowText"}}}},inputBoxBorderColor:"windowText",inputStyle:{backgroundColor:"window",color:"windowText"},labelStyle:{color:"windowText"}},navigator:{handles:{backgroundColor:"window",borderColor:"windowText"},outlineColor:"windowText",maskFill:"transparent",series:{color:"windowText",lineColor:"windowText"},xAxis:{gridLineColor:"windowText"}},scrollbar:{barBackgroundColor:"#444",barBorderColor:"windowText",buttonArrowColor:"windowText",buttonBackgroundColor:"window",buttonBorderColor:"windowText",rifleColor:"windowText",trackBackgroun
18dColor:"window",trackBorderColor:"windowText"}}})),e(t,"Accessibility/Options/Options.js",[],(function(){return{accessibility:{enabled:!0,screenReaderSection:{beforeChartFormat:"<{headingTagName}>{chartTitle}</{headingTagName}><div>{typeDescription}</div><div>{chartSubtitle}</div><div>{chartLongdesc}</div><div>{playAsSoundButton}</div><div>{viewTableButton}</div><div>{xAxisDescription}</div><div>{yAxisDescription}</div><div>{annotationsTitle}{annotationsList}</div>",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{index}. {xDescription}{separator}{value}."},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#335cad",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}})),e(t,"Accessibility/Options/LangOptions.js",[],(function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"Chart screen reader information, {chartTitle}.",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabelNoTitle:"Toggle series visibility, {chartTitle}",legendLabel:"Chart legend: {legendTitle}",legendItem:"Show {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{dropdownLabel:"{rangeTitle}",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries}
18 data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Range: {range} days.",timeRangeHours:"Range: {range} hours.",timeRangeMinutes:"Range: {range} minutes.",timeRangeSeconds:"Range: {range} seconds.",rangeFromTo:"Range: {rangeFrom} to {rangeTo}.",rangeCategories:"Range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu, {chartTitle}"},series:{summary:{default:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",defaultCombination:"{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",line:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}
18.",lineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",spline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",splineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",column:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",columnCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",bar:"{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.",barCombination:"{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.",pie:"{name}, pie {ix} of {numSeries} with {numPoints} {#plural(numPoints, slices, slice)}.",pieCombination:"{name}, series {ix} of {numSeries}. Pie with {numPoints} {#plural(numPoints, slices, slice)}.",scatter:"{name}, scatter plot {ix} of {numSeries} with {numPoints} {#plural(numPoints, points, point)}.",scatterCombination:"{name}, series {ix} of {numSeries}, scatter plot with {numPoints} {#plural(numPoints, points, point)}.",boxplot:"{name}, boxplot {ix} of {numSeries} with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotCombination:"{name}, series {ix} of {numSeries}. Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",bubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.",map:"{name}, map {ix} of {numSeries} with {numPoints} {#plural(numPoints, areas, area)}.",mapCombination:"{name}, series {ix} of {numSeries}. Map with {numPoints} {#plural(numPoints, areas, area)}.",mapline:"{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.",maplineCombination:"{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.",mapbubble:"{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.",mapbubbleCombination:"{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}})),e(t,"Accessibility/Options/DeprecatedOptions.js",[t["Core/Utilities.js"]],(function(t){function e(t,e,i){for(var n,r=0;r<e.length-1;++r)t=t[n=e[r]]=o(t[n],{});t[e[e.length-1]]=i}function i(t,i,o,r){function s(t,e){return e.reduce((function(t,e){return t[e]}),t)}var a=s(t.options,i),l=s(t.options,o);Object.keys(r).forEach((function(s){var h,c=a[s];void 0!==c&&(e(l,r[s],c),n(32,!1,t,((h={})[i.join(".")+"."+s]=o.join(".")+"."+r[s].join("."),h)))}))}var n=t.error,o=t.pick;return function(t){!function(t){var e=t.options.chart,i=t.options.accessibility||{};["description","typeDescription"].forEach((function(o){var r;e[o]&&(i[o]=e[o],n(32,!1,t,((r={})["chart."+o]="use accessibility."+o,r)))}))}(t),function(t){t.axes.forEach((function(e){(e=e.options)&&e.description&&(e.accessibility=e.accessibility||{},e.accessibility.description=e.description,n(32,!1,t,{"axis.description":"use axis.accessibility.description"}))}))}(t),t.series&&function(t){var i={description:["accessibility","description"],exposeElementToA11y:["accessibility","exposeAsGroupOnly"],pointDescriptionFormatter:["accessibility","point","descriptionFormatter"],skipKeyboardNavigation:["accessibility","keyboardNavigation","enabled"],"accessibility.pointDescriptionFormatter":["accessibility","point","descriptionFormatter"]};
18t.series.forEach((function(o){Object.keys(i).forEach((function(r){var s,a=o.options[r];"accessibility.pointDescriptionFormatter"===r&&(a=o.options.accessibility&&o.options.accessibility.pointDescriptionFormatter),void 0!==a&&(e(o.options,i[r],"skipKeyboardNavigation"===r?!a:a),n(32,!1,t,((s={})["series."+r]="series."+i[r].join("."),s)))}))}))}(t),i(t,["accessibility"],["accessibility"],{pointDateFormat:["point","dateFormat"],pointDateFormatter:["point","dateFormatter"],pointDescriptionFormatter:["point","descriptionFormatter"],pointDescriptionThreshold:["series","pointDescriptionEnabledThreshold"],pointNavigationThreshold:["keyboardNavigation","seriesNavigation","pointNavigationEnabledThreshold"],pointValueDecimals:["point","valueDecimals"],pointValuePrefix:["point","valuePrefix"],pointValueSuffix:["point","valueSuffix"],screenReaderSectionFormatter:["screenReaderSection","beforeChartFormatter"],describeSingleSeries:["series","describeSingleSeries"],seriesDescriptionFormatter:["series","descriptionFormatter"],onTableAnchorClick:["screenReaderSection","onViewDataTableClick"],axisRangeDateFormat:["screenReaderSection","axisRangeDateFormat"]}),i(t,["accessibility","keyboardNavigation"],["accessibility","keyboardNavigation","seriesNavigation"],{skipNullPoints:["skipNullPoints"],mode:["mode"]}),i(t,["lang","accessibility"],["lang","accessibility"],{legendItem:["legend","legendItem"],legendLabel:["legend","legendLabel"],mapZoomIn:["zoom","mapZoomIn"],mapZoomOut:["zoom","mapZoomOut"],resetZoomButton:["zoom","resetZoomButton"],screenReaderRegionLabel:["screenReaderSection","beforeRegionLabel"],rangeSelectorButton:["rangeSelector","buttonText"],rangeSelectorMaxInput:["rangeSelector","maxInputLabel"],rangeSelectorMinInput:["rangeSelector","minInputLabel"],svgContainerEnd:["screenReaderSection","endOfChartMarker"],viewAsDataTable:["table","viewAsDataTableButtonText"],tableSummary:["table","tableSummary"]})}})),e(t,"Accessibility/Accessibility.js",[t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Utilities.js"],t["Accessibility/A11yI18n.js"],t["Accessibility/Components/ContainerComponent.js"],t["Accessibility/FocusBorder.js"],t["Accessibility/Components/InfoRegionsComponent.js"],t["Accessibility/KeyboardNavigation.js"],t["Accessibility/Components/LegendComponent.js"],t["Accessibility/Components/MenuComponent.js"],t["Accessibility/Components/SeriesComponent/NewDataAnnouncer.js"],t["Accessibility/ProxyProvider.js"],t["Accessibility/Components/RangeSelectorComponent.js"],t["Accessibility/Components/SeriesComponent/SeriesComponent.js"],t["Accessibility/Components/ZoomComponent.js"],t["Accessibility/HighContrastMode.js"],t["Accessibility/HighContrastTheme.js"],t["Accessibility/Options/Options.js"],t["Accessibility/Options/LangOptions.js"],t["Accessibility/Options/DeprecatedOptions.js"]],(function(t,e,i,n,o,r,s,a,l,h,c,d,p,u,f,g,m,y,v,x){t=t.defaultOptions;var b=e.doc,w=i.addEvent,C=i.extend,S=i.fireEvent,k=i.merge;return function(t){function e(){this.accessibility&&this.accessibility.destroy()}function i(){this.a11yDirty&&this.renderTo&&(delete this.a11yDirty,this.updateA11yEnabled());var t=this.accessibility;t&&!t.zombie&&(t.proxyProvider.updateProxyElementPositions(),t.getComponentOrder().forEach((function(e){t.components[e].onChartRender()})))}function o(t){(t=t.options.accessibility)&&(t.customComponents&&(this.options.accessibility.customComponents=t.customComponents,delete t.customComponents),k(!0,this.options.accessibility,t),this.accessibility&&this.accessibility.destroy&&(this.accessibility.destroy(),delete this.accessibility)),this.a11yDirty=!0}function s(){var e=this.accessibility,i=this.options.accessibility;i&&i.enabled?e&&!e.zombie?e.update():(this.accessibility=e=new t(this),!e.zombie&&e.update()):e?(e.destroy&&e.destroy(),delete this.accessibility):this.renderTo.setAttribute("aria-hidden",!0)}function d(){this.series.chart.accessibility&&(this.series.chart.a11yDirty=!0)}var g=[];t.i18nFormat=n.i18nFormat,t.compose=function(t,m,y,v,x,b,C){a.compose(m),c.compose(x),l.compose(m,y),h.compose(m),u.compose(m,v,x),f.compose(t),n.compose(m),r.compose(m,b),C&&p.compose(m,C),-1===g.indexOf(m)&&(g.push(m),m.prototype.updateA11yEnabled=s,w(m,"destroy",e),w(m,"render",i),w(m,"update",o),["addSeries","init"].forEach((function(t){w(m,t,(function(){this.a11yDirty=!0}))}
18)),["afterDrilldown","drillupall"].forEach((function(t){w(m,t,(function(){var t=this.accessibility;t&&!t.zombie&&t.update()}))}))),-1===g.indexOf(v)&&(g.push(v),w(v,"update",d)),-1===g.indexOf(x)&&(g.push(x),["update","updatedData","remove"].forEach((function(t){w(x,t,(function(){this.chart.accessibility&&(this.chart.a11yDirty=!0)}))})))}}((e=function(){function t(t){this.proxyProvider=this.keyboardNavigation=this.components=this.chart=void 0,this.init(t)}return t.prototype.init=function(t){this.chart=t,b.addEventListener&&t.renderer.isSVG?(x(t),this.proxyProvider=new d(this.chart),this.initComponents(),this.keyboardNavigation=new a(t,this.components)):(this.zombie=!0,this.components={},t.renderTo.setAttribute("aria-hidden",!0))},t.prototype.initComponents=function(){var t=this.chart,e=this.proxyProvider,i=t.options.accessibility;this.components={container:new o,infoRegions:new s,legend:new l,chartMenu:new h,rangeSelector:new p,series:new u,zoom:new f},i.customComponents&&C(this.components,i.customComponents);var n=this.components;this.getComponentOrder().forEach((function(i){n[i].initBase(t,e),n[i].init()}))},t.prototype.getComponentOrder=function(){if(!this.components)return[];if(!this.components.series)return Object.keys(this.components);var t=Object.keys(this.components).filter((function(t){return"series"!==t}));return["series"].concat(t)},t.prototype.update=function(){var t=this.components,e=this.chart,i=e.options.accessibility;S(e,"beforeA11yUpdate"),e.types=this.getChartTypes(),i=i.keyboardNavigation.order,this.proxyProvider.updateGroupOrder(i),this.getComponentOrder().forEach((function(i){t[i].onChartUpdate(),S(e,"afterA11yComponentUpdate",{name:i,component:t[i]})})),this.keyboardNavigation.update(i),!e.highContrastModeActive&&g.isHighContrastModeActive()&&g.setHighContrastTheme(e),S(e,"afterA11yUpdate",{accessibility:this})},t.prototype.destroy=function(){var t=this.chart||{},e=this.components;Object.keys(e).forEach((function(t){e[t].destroy(),e[t].destroyBase()})),this.proxyProvider&&this.proxyProvider.destroy(),this.keyboardNavigation&&this.keyboardNavigation.destroy(),t.renderTo&&t.renderTo.setAttribute("aria-hidden",!0),t.focusElement&&t.focusElement.removeFocusBorder()},t.prototype.getChartTypes=function(){var t={};return this.chart.series.forEach((function(e){t[e.type]=1})),Object.keys(t)},t}())||(e={})),k(!0,t,y,{accessibility:{highContrastTheme:m},lang:v}),e})),e(t,"masters/modules/accessibility.src.js",[t["Core/Globals.js"],t["Accessibility/Accessibility.js"],t["Accessibility/AccessibilityComponent.js"],t["Accessibility/Utils/ChartUtilities.js"],t["Accessibility/Utils/HTMLUtilities.js"],t["Accessibility/KeyboardNavigationHandler.js"],t["Accessibility/Components/SeriesComponent/SeriesDescriber.js"]],(function(t,e,i,n,o,r,s){t.i18nFormat=e.i18nFormat,t.A11yChartUtilities=n,t.A11yHTMLUtilities=o,t.AccessibilityComponent=i,t.KeyboardNavigationHandler=r,t.SeriesAccessibilityDescriber=s,e.compose(t.Axis,t.Chart,t.Legend,t.Point,t.Series,t.SVGElement,t.RangeSelector)}))}))},function(t,e,i){"use strict";var n,o;!function(r){t.exports?(r.default=r,t.exports=r):(n=[i(3),i(5)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))}((function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}e(t=t?t._modules:{},"Extensions/DownloadURL.js",[t["Core/Globals.js"]],(function(t){var e=t.isSafari,i=t.win,n=i.document,o=i.URL||i.webkitURL||i,r=t.dataURLtoBlob=function(t){if((t=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<t.length&&i.atob&&i.ArrayBuffer&&i.Uint8Array&&i.Blob&&o.createObjectURL){var e=i.atob(t[3]),n=new i.ArrayBuffer(e.length);n=new i.Uint8Array(n);for(var r=0;r<n.length;++r)n[r]=e.charCodeAt(r);return t=new i.Blob([n],{type:t[1]}),o.createObjectURL(t)}};return t=t.downloadURL=function(t,o){var s=i.navigator,a=n.createElement("a");if("string"==typeof t||t instanceof String||!s.msSaveOrOpenBlob){if(t=""+t,s=/Edge\/\d+/.test(s.userAgent),(e&&"string"==typeof t&&0===t.indexOf("data:application/pdf")||s||2e6<t.length)&&!(t=r(t)||""))throw Error("Failed to convert to blob");if(void 0!==a.download)a.href=t,a.download=o,n.body.appendChild(a),a.click(),n.body.removeChild(a);else try{var l=i.open(t,"chart");if(null==l)throw Error("Failed to open window")}catch(e){i.location.href=t}}else s.msSaveOrOpenBlob(t,o)},{dataURLtoBlob:r,downloadURL:t}})),e(t,"Extensions/ExportData.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"],t["Extensions/DownloadURL.js"]],(function(t,e,
18i,n,o,r,s){function a(t,e){var i=c.navigator,n=-1<i.userAgent.indexOf("WebKit")&&0>i.userAgent.indexOf("Chrome"),o=c.URL||c.webkitURL||c;try{if(i.msSaveOrOpenBlob&&c.MSBlobBuilder){var r=new c.MSBlobBuilder;return r.append(t),r.getBlob("image/svg+xml")}if(!n)return o.createObjectURL(new c.Blob(["\ufeff"+t],{type:e}))}catch(t){}}var l=n.doc,h=n.seriesTypes,c=n.win;n=o.getOptions,o=o.setOptions;var d=r.addEvent,p=r.defined,u=r.extend,f=r.find,g=r.fireEvent,m=r.isNumber,y=r.pick,v=s.downloadURL;o({exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table"}}),d(e,"render",(function(){this.options&&this.options.exporting&&this.options.exporting.showTable&&!this.options.chart.forExport&&!this.dataTableDiv&&this.viewData()})),e.prototype.setUpKeyToAxis=function(){h.arearange&&(h.arearange.prototype.keyToAxis={low:"y",high:"y"}),h.gantt&&(h.gantt.prototype.keyToAxis={start:"x",end:"x"})},e.prototype.getDataRows=function(e){var i,n=this.hasParallelCoordinates,o=this.time,r=this.options.exporting&&this.options.exporting.csv||{},s=this.xAxis,a={},l=[],h=[],c=[],d=this.options.lang.exportData,u=d.categoryHeader,v=d.categoryDatetimeHeader,x=function(i,n,o){if(r.columnHeaderFormatter){var s=r.columnHeaderFormatter(i,n,o);if(!1!==s)return s}return i?i instanceof t?i.options.title&&i.options.title.text||(i.dateTime?v:u):e?{columnTitle:1<o?n:i.name,topLevelColumnTitle:i.name}:i.name+(1<o?" ("+n+")":""):u},b=function(t,e,i){var n={},o={};return e.forEach((function(e){var r=(t.keyToAxis&&t.keyToAxis[e]||e)+"Axis";r=m(i)?t.chart[r][i]:t[r],n[e]=r&&r.categories||[],o[e]=r&&r.dateTime})),{categoryMap:n,dateTimeValueAxisMap:o}},w=[],C=0;for(S in this.setUpKeyToAxis(),this.series.forEach((function(t){var l,d=t.xAxis,p=t.options.keys||function(t,e){return t.data.filter((function(t){return void 0!==t.y&&t.name})).length&&e&&!e.categories&&!t.keyToAxis?t.pointArrayMap&&t.pointArrayMap.filter((function(t){return"x"===t})).length?(t.pointArrayMap.unshift("x"),t.pointArrayMap):["x","y"]:t.pointArrayMap||["y"]}(t,d),u=p.length,g=!t.requireSorting&&{},m=s.indexOf(d),v=b(t,p);if(!1!==t.options.includeInDataExport&&!t.options.isInternal&&!1!==t.visible){for(f(w,(function(t){return t[0]===m}))||w.push([m,C]),l=0;l<u;)i=x(t,p[l],p.length),c.push(i.columnTitle||i),e&&h.push(i.topLevelColumnTitle||i),l++;var S={chart:t.chart,autoIncrement:t.autoIncrement,options:t.options,pointArrayMap:t.pointArrayMap};t.options.data.forEach((function(e,i){n&&(v=b(t,p,i));var s={series:S};t.pointClass.prototype.applyOptions.apply(s,[e]),e=s.x;var h=t.data[i]&&t.data[i].name;for(l=0,(!d||"name"===t.exportKey||!n&&d&&d.hasNames&&h)&&(e=h),g&&(g[e]&&(e+="|"+i),g[e]=!0),a[e]||(a[e]=[],a[e].xValues=[]),a[e].x=s.x,a[e].name=h,a[e].xValues[m]=s.x;l<u;)h=s[i=p[l]],a[e][C+l]=y(v.categoryMap[i][h],v.dateTimeValueAxisMap[i]?o.dateFormat(r.dateFormat,h):null,h),l++})),C+=l}})),a)Object.hasOwnProperty.call(a,S)&&l.push(a[S]);var S=e?[h,c]:[c];for(C=w.length;C--;){var k=w[C][0],T=w[C][1],A=s[k];l.sort((function(t,e){return t.xValues[k]-e.xValues[k]})),d=x(A),S[0].splice(T,0,d),e&&S[1]&&S[1].splice(T,0,d),l.forEach((function(t){var e=t.name;A&&!p(e)&&(A.dateTime?(t.x instanceof Date&&(t.x=t.x.getTime()),e=o.dateFormat(r.dateFormat,t.x)):e=A.categories?y(A.names[t.x],A.categories[t.x],t.x):t.x),t.splice(T,0,e)}))}return S=S.concat(l),g(this,"exportData",{dataRows:S}),S},e.prototype.getCSV=function(t){var e="",i=this.getDataRows(),n=this.options.exporting.csv,o=y(n.decimalPoint,","!==n.itemDelimiter&&t?1.1.toLocaleString()[1]:"."),r=y(n.itemDelimiter,","===o?";":","),s=n.lineDelimiter;return i.forEach((function(t,n){for(var a,l=t.length;l--;)"string"==typeof(a=t[l])&&(a='"'+a+'"'),"number"==typeof a&&"."!==o&&(a=a.toString().replace(".",o)),t[l]=a;e+=t.join(r),n<i.length-1&&(e+=s)})),e},e.prototype.getTable=function(t){var e=function(t){if(!t.tagName||"#text"===t.tagName)return t.textContent||"";var i=t.attributes,n="<"+t.tagName;
18return i&&Object.keys(i).forEach((function(t){n+=" "+t+'="'+i[t]+'"'})),n+=">",n+=t.textContent||"",(t.children||[]).forEach((function(t){n+=e(t)})),n+="</"+t.tagName+">"};return t=this.getTableAST(t),e(t)},e.prototype.getTableAST=function(t){var e=0,i=[],n=this.options,o=t?1.1.toLocaleString()[1]:".",r=y(n.exporting.useMultiLevelHeaders,!0);t=this.getDataRows(r);var s=r?t.shift():null,a=t.shift(),l=function(t,e,i,n){var r=y(n,"");return e="text"+(e?" "+e:""),"number"==typeof r?(r=r.toString(),","===o&&(r=r.replace(".",o)),e="number"):n||(e="empty"),{tagName:t,attributes:i=u({class:e},i),textContent:r}};!1!==n.exporting.tableCaption&&i.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:y(n.exporting.tableCaption,n.title.text?n.title.text:"Chart")});for(var h=0,c=t.length;h<c;++h)t[h].length>e&&(e=t[h].length);i.push(function(t,e,i){var o=[],s=0;i=i||e&&e.length;var a,h=0;if(a=r&&t&&e){t:if(a=t.length,e.length===a){for(;a--;)if(t[a]!==e[a]){a=!1;break t}a=!0}else a=!1;a=!a}if(a){for(a=[];s<i;++s){var c=t[s],d=t[s+1];c===d?++h:h?(a.push(l("th","highcharts-table-topheading",{scope:"col",colspan:h+1},c)),h=0):(c===e[s]?n.exporting.useRowspanHeaders?(d=2,delete e[s]):(d=1,e[s]=""):d=1,c=l("th","highcharts-table-topheading",{scope:"col"},c),1<d&&c.attributes&&(c.attributes.valign="top",c.attributes.rowspan=d),a.push(c))}o.push({tagName:"tr",children:a})}if(e){for(a=[],s=0,i=e.length;s<i;++s)void 0!==e[s]&&a.push(l("th",null,{scope:"col"},e[s]));o.push({tagName:"tr",children:a})}return{tagName:"thead",children:o}}(s,a,Math.max(e,a.length)));var d=[];return t.forEach((function(t){for(var i=[],n=0;n<e;n++)i.push(l(n?"td":"th",null,n?{}:{scope:"row"},t[n]));d.push({tagName:"tr",children:i})})),i.push({tagName:"tbody",children:d}),i={tree:{tagName:"table",id:"highcharts-data-table-"+this.index,children:i}},g(this,"aftergetTableAST",i),i.tree},e.prototype.downloadCSV=function(){var t=this.getCSV(!0);v(a(t,"text/csv")||"data:text/csv,\ufeff"+encodeURIComponent(t),this.getFilename()+".csv")},e.prototype.downloadXLS=function(){var t='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head>\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+this.getTable(!0)+"</body></html>";v(a(t,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+c.btoa(unescape(encodeURIComponent(t))),this.getFilename()+".xls")},e.prototype.viewData=function(){this.toggleDataTable(!0)},e.prototype.hideData=function(){this.toggleDataTable(!1)},e.prototype.toggleDataTable=function(t){(t=y(t,!this.isDataTableVisible))&&!this.dataTableDiv&&(this.dataTableDiv=l.createElement("div"),this.dataTableDiv.className="highcharts-data-table",this.renderTo.parentNode.insertBefore(this.dataTableDiv,this.renderTo.nextSibling)),this.dataTableDiv&&(this.dataTableDiv.style.display=t?"block":"none",t&&(this.dataTableDiv.innerHTML=i.emptyHTML,new i([this.getTableAST()]).addToDOM(this.dataTableDiv),g(this,"afterViewData",this.dataTableDiv))),this.isDataTableVisible=t,t=this.exportDivElements;var e=this.options.exporting,n=e&&e.buttons&&e.buttons.contextButton.menuItems;e=this.options.lang,x&&x.menuItemDefinitions&&e&&e.viewData&&e.hideData&&n&&t&&(t=t[n.indexOf("viewData")])&&i.setElementHTML(t,this.isDataTableVisible?e.hideData:e.viewData)};var x=n().exporting;x&&(u(x.menuItemDefinitions,{downloadCSV:{textKey:"downloadCSV",onclick:function(){this.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){this.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){this.toggleDataTable()}}}),x.buttons&&x.buttons.contextButton.menuItems.push("separator","downloadCSV","downloadXLS","viewData")),h.map&&(h.map.prototype.exp
18ortKey="name"),h.mapbubble&&(h.mapbubble.prototype.exportKey="name"),h.treemap&&(h.treemap.prototype.exportKey="name")})),e(t,"masters/modules/export-data.src.js",[],(function(){}))}))},function(t,e,i){"use strict";var n,o;!function(r){t.exports?(r.default=r,t.exports=r):(n=[i(3)],void 0===(o=function(t){return r(t),r.Highcharts=t,r}.apply(e,n))||(t.exports=o))}((function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}e(t=t?t._modules:{},"Extensions/PatternFill.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a){function l(t,e){var i=(t=JSON.stringify(t)).length||0,n=0,o=0;if(e){e=Math.max(Math.floor(i/500),1);for(var r=0;r<i;r+=e)n+=t.charCodeAt(r);n&=n}for(;o<i;++o)n=(n<<5)-n+(e=t.charCodeAt(o)),n&=n;return n.toString(16).replace("-","1")}var h=t.animObject,c=n.getOptions;t=a.addEvent;var d=a.erase,p=a.merge,u=a.pick,f=a.removeEvent;n=a.wrap;var g,m,y=i.patterns=(g=[],m=c().colors,["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"].forEach((function(t,e){g.push({path:t,color:m[e],width:5,height:5,patternTransform:"scale(1.4 1.4)"})})),["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"].forEach((function(t,e){g.push({path:t,color:m[e+5],width:10,height:10})})),g);o.prototype.calculatePatternDimensions=function(t){if(!t.width||!t.height){var e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},i=this.shapeArgs;if(i&&(e.width=i.width||e.width,e.height=i.height||e.height,e.x=i.x||e.x,e.y=i.y||e.y),t.image){if(!e.width||!e.height)return t._width="defer",void(t._height="defer");t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}},s.prototype.addPattern=function(t,e){e=u(e,!0);var i=h(e),n=t.width||t._width||32,o=t.height||t._height||32,r=t.color||"#343434",s=t.id,l=this,c=function(t){l.rect(0,0,n,o).attr({fill:t}).add(p)};if(s||(this.idCounter=this.idCounter||0,s="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(s+="-export"),this.defIds=this.defIds||[],!(-1<this.defIds.indexOf(s))){this.defIds.push(s);var d={id:s,patternUnits:"userSpaceOnUse",patternContentUnits:t.patternContentUnits||"userSpaceOnUse",width:n,height:o,x:t._x||t.x||0,y:t._y||t.y||0};t.patternTransform&&(d.patternTransform=t.patternTransform);var p=this.createElement("pattern").attr(d).add(this.defs);return p.id=s,t.path?(d=a.isObject(t.path)?t.path:{d:t.path},t.backgroundColor&&c(t.backgroundColor),c={d:d.d},this.styledMode||(c.stroke=d.stroke||r,c["stroke-width"]=u(d.strokeWidth,2),c.fill=d.fill||"none"),d.transform&&(c.transform=d.transform),this.createElement("path").attr(c).add(p),p.color=r):t.image&&(e?this.image(t.image,0,0,n,o,(function(){this.animate({opacity:u(t.opacity,1)},i),f(this.element,"load")})).attr({opacity:0}).add(p):this.image(t.image,0,0,n,o).add(p)),t.image&&e||void 0===t.opacity||[].forEach.call(p.element.childNodes,(function(e){e.setAttribute("opacity",t.opacity)})),this.patternElements=this.patternElements||{},this.patternElements[s]=p}},n(r.prototype,"getColor",(function(t){var e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,Array.prototype.slice.call(arguments,1
18)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,Array.prototype.slice.call(arguments,1))})),t(r,"render",(function(){var t=this.chart.isResizing;(this.isDirtyData||t||!this.chart.hasRendered)&&(this.points||[]).forEach((function(e){var i=e.options&&e.options.color;i&&i.pattern&&(!t||e.shapeArgs&&e.shapeArgs.width&&e.shapeArgs.height?e.calculatePatternDimensions(i.pattern):(i.pattern._width="defer",i.pattern._height="defer"))}))})),t(o,"afterInit",(function(){var t=this.options.color;t&&t.pattern&&("string"==typeof t.pattern.path&&(t.pattern.path={d:t.pattern.path}),this.color=this.options.color=p(this.series.options.color,t))})),t(s,"complexColor",(function(t){var e=t.args[0],i=t.args[1];t=t.args[2];var n=this.chartIndex||0,r=e.pattern,s="#343434";if(void 0!==e.patternIndex&&y&&(r=y[e.patternIndex]),!r)return!0;if(r.image||"string"==typeof r.path||r.path&&r.path.d){var a=t.parentNode&&t.parentNode.getAttribute("class");a=a&&-1<a.indexOf("highcharts-legend"),"defer"!==r._width&&"defer"!==r._height||o.prototype.calculatePatternDimensions.call({graphic:{element:t}},r),!a&&r.id||((r=p({},r)).id="highcharts-pattern-"+n+"-"+l(r)+l(r,!0)),this.addPattern(r,!this.forExport&&u(r.animation,this.globalAnimation,{duration:100})),s="url("+this.url+"#"+r.id+(this.forExport?"-export":"")+")"}else s=r.color||s;return t.setAttribute(i,s),e.toString=function(){return s},!1})),t(e,"endResize",(function(){(this.renderer&&this.renderer.defIds||[]).filter((function(t){return t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")})).length&&(this.series.forEach((function(t){t.points.forEach((function(t){(t=t.options&&t.options.color)&&t.pattern&&(t.pattern._width="defer",t.pattern._height="defer")}))})),this.redraw(!1))})),t(e,"redraw",(function(){var t={},e=this.renderer,i=(e.defIds||[]).filter((function(t){return t.indexOf&&0===t.indexOf("highcharts-pattern-")}));i.length&&([].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),(function(i){(i=i.getAttribute("fill")||i.getAttribute("color")||i.getAttribute("stroke"))&&(i=i.replace(e.url,"").replace("url(#","").replace(")",""),t[i]=!0)})),i.forEach((function(i){t[i]||(d(e.defIds,i),e.patternElements[i]&&(e.patternElements[i].destroy(),delete e.patternElements[i]))})))}))})),e(t,"masters/modules/pattern-fill.src.js",[],(function(){}))}))},function(t,e,i){i(12),t.exports=i(16)},function(t,e,i){},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){var n=i(6).default,o=i(15);t.exports=function(t){var e=o(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,i){var n=i(6).default;t.exports=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,i){"use strict";i.r(e);var n=i(0),o=i.n(n),r=i(7),s=i.n(r),a=i(1),l=i.n(a),h=i(2),c=i.n(h),d=function(){return c()((function t(){l()(this,t),this.$mainNav=o()(".main-nav"),this.$siteSearch=o()(".site-search"),this.$mainNav.find("li").each((function(){})),this.setupEvents()}),[{key:"setupEvents",value:function(){o()(".main-nav__button").on("click",function(t){this.$mainNav.toggleClass("main-nav--open"),o()(t.target).closest(".site-header").toggleClass("site-header-main-nav--open")}.bind(this)),o()(".site-search__button").on("click",(function(){o()(this).closest(".site-search").toggleClass("site-search--open"),o()(this).closest(".site-header").toggleClass("site-header-site-search--open"),o()(this).closest(".site-search").hasClass("site-search--open")?setTimeout((function(){o()(".site-search__form__input").focus()}),50):o()(".site-search__form__input").blur()})),o()(".menu-item__open-menu, .menu-item__open-icon").on("click keyup",(function(t){if("keyup"===t.type&&13!==t.keyCode)return!1;o()(this).closest(".menu-item-has-children").toggleClass("menu-item-has-children--open")})),o()("*").on("focus",function(t){0===o()(t.target).closest(".main-nav").length&&this.$mainNav.removeClass("main-nav--open"),0===o()(t.target).closest(".site-search").length&&this.$siteSearch.removeClass("site-search--open")}.bind(this))}}])}(),p=function(){return c()((function t(){l()(this,t),this.setupEvents()}),[{key:"setupEvents",value:function(){}}])}(),u=i(3),f=i.n(u),g=i(8),m=i.n(g),y=i(5),v=i.n(y),x=i(9),b=i.n(x),w=i(10),C=i.n(w);function S(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return k(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?k(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,r=t}
18,f:function(){try{s||null==i.return||i.return()}finally{if(a)throw r}}}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}m()(f.a),v()(f.a),b()(f.a),C()(f.a);var T=function(){return c()((function t(){l()(this,t);var e=document.getElementsByClassName("charts");this.chartObjects=[],this.defaultFontSize="1em",this.fullscreenFontSize="1.6em",f.a.setOptions({lang:{numericSymbols:[null," miljoner"],downloadCSV:"Ladda ner som csv",downloadJPEG:"Ladda ner som jpeg-bild",downloadPDF:"Ladda ner som pdf-dokument",downloadSVG:"Ladda ner som svg-bild",downloadPNG:"Ladda ner som png-bild",downloadXLS:"Ladda ner som xls (Excel-dokument)",viewData:"Se data som tabell",exitFullscreen:"Stäng fullskärm",printChart:"Skriv ut diagram",viewFullscreen:"Visa i fullskärm"}}),e&&this.renderCharts(e)}),[{key:"renderCharts",value:function(t){var e,i=S(t);try{for(i.s();!(e=i.n()).done;){var n=e.value,o=n.querySelector(".charts__figure__container");if(o){var r=null,s=n.getAttribute("data-charts");"line"===(s=JSON.parse(s)).chartType&&(r=this.getChartConfigLine(s)),"bar"===s.chartType&&(r=this.getChartConfigBar(s)),"column"===s.chartType&&(r=this.getChartConfigColumn(s)),r&&this.chartObjects.push(f.a.chart(o,r)),document.addEventListener&&(document.addEventListener("webkitfullscreenchange",this.fullScreenHandler.bind(this),!1),document.addEventListener("mozfullscreenchange",this.fullScreenHandler.bind(this),!1),document.addEventListener("fullscreenchange",this.fullScreenHandler.bind(this),!1),document.addEventListener("MSFullscreenChange",this.fullScreenHandler.bind(this),!1))}}}catch(t){i.e(t)}finally{i.f()}}},{key:"fullScreenHandler",value:function(){var t,e=S(this.chartObjects);try{for(e.s();!(t=e.n()).done;){var i=t.value;this.isInViewport(i.container)&&i.container.style.fontSize!==this.fullscreenFontSize&&(i.container.style.fontSize=this.fullscreenFontSize,i.isDirtyLegend=!0,i.redraw(!1)),document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||i.container.style.fontSize!==this.defaultFontSize&&(i.container.style.fontSize=this.defaultFontSize,i.isDirtyLegend=!0,i.redraw(!1))}}catch(t){e.e(t)}finally{e.f()}}},{key:"isInViewport",value:function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}},{key:"getDefaultConfig",value:function(t,e){var i=[];t.series.forEach((function(t,e){var n=t.data.map((function(t){return 0===t.trim().length||isNaN(t)?null:1*t}));i.push({name:t.name,data:n,yAxis:isNaN(t.yAxis)?0:parseInt(t.yAxis),connectNulls:!0,color:{patternIndex:e%10},className:t.color?"highcharts-series-color--"+t.color:""})}));var n={title:{text:t.yAxisTitle},accessibility:{description:t.yAxisTitle}};if(t.hasOwnProperty("valueType")&&"2"==t.valueType&&(n.min=0,n.max=100),t.yAxisOppositeTitle.length>0){var o={title:{text:t.yAxisOppositeTitle,rotation:-90,margin:20},accessibility:{description:t.yAxisOppositeTitle},opposite:!0};t.hasOwnProperty("yAxisOppositeValueType")&&t.hasOwnProperty("valueType")&&t.yAxisOppositeValueType===t.valueType?o.linkedTo=0:t.hasOwnProperty("yAxisOppositeValueType")&&"2"===t.yAxisOppositeValueType?(o.min=0,o.max=100):t.hasOwnProperty("yAxisOppositeValueType")&&"1"===t.yAxisOppositeValueType&&i.forEach((function(t){t.yAxis=1})),n=[n,o]}return{chart:{type:e,styledMode:!0},legend:{symbolWidth:40},credits:{enabled:!1},title:{text:t.title},series:i,yAxis:n,plotOptions:{line:{marker:{enabled:!0}},column:{pointPadding:.2,borderWidth:0}},xAxis:{opposite:!isNaN(t.xAxisPosition)&&parseInt(t.xAxisPosition)>0,title:{text:t.xAxisTitle},categories:t.categories,tickInterval:t.tickInterval,accessibility:{description:t.xAxisTitle},labels:{rotation:60}},responsive:{rules:[{condition:{maxWidth:550},chartOptions:{chart:{spacingLeft:20,spacingRight:20},legend:{itemWidth:null,symbolWidth:15},plotOptions:{line:{marker:{radius:2}}},xAxis:{categories:t.categories},yAxis:{visible:!1}}}]}}}},{key:"getChartConfigLine",value:function(t){return this.getDefaultConfig(t,t.chartType)}},{key:"getChartConfigBar",value:function(t){return this.getDefaultConfig(t,t.chartType)}},{key:"getChartConfigColumn",value:function(t){return this.getDefaultConfig(t,t.chartType)}}])}(),A=i(4),M=i.n(A),E=new(function(){return c()((function t(){l()(this,t)}),[{key:"set",value:function(t){var e=(new Date).toISOString();M.a.set(t,e,{expires:365})}},{key:"remove",value:function(t){M.a.remove(t)}},{key:"get",value:function(t){return M.a.get(t)}}])}()),P=function(){return c()((function t(e){l()(this,t),this.consentHandler=e}),[{key:"init",value:function(){this.setupEvents()}},{key:"setupEvents",value:function(){var t=document.querySelector(".cookie-sett
18ings__form");t&&t.addEventListener("submit",(function(t){t.preventDefault(),t.target.querySelectorAll('[type="checkbox"]').forEach((function(t){var e=t.getAttribute("data-cookie-name");e&&(t.checked?(E.set(e),o()(document).trigger("consent-action",[e])):E.remove(e))})),o()(document).trigger("consent-settings-saved")})),o()(document).on("consent-settings-saved",(function(t){var e=document.querySelector(".cookie-settings__confirmation");e&&(e.classList.add("cookie-settings__confirmation--active"),setTimeout((function(){e.classList.remove("cookie-settings__confirmation--active")}),3e3))}))}}])}(),O=function(){return c()((function t(e){l()(this,t),this.consentHandler=e}),[{key:"init",value:function(){this.setupEvents()}},{key:"setupEvents",value:function(){var t=this;o()("body").on("click","[data-cookie-notice-button]",(function(e){t.onButtonClick(e)}))}},{key:"showNotice",value:function(){o()(".cookie-notice").addClass("cookie-notice--show")}},{key:"hideNotice",value:function(){o()(".cookie-notice").removeClass("cookie-notice--show")}},{key:"onButtonClick",value:function(t){t.preventDefault();var e=o()(t.target);if("reject"===e.data("cookie-notice-button"))return E.set("cookie-consent-action-taken"),void o()(document).trigger("consent-action",["cookie-consent-action-taken"]);(e.attr("data-cookie-notice-consent-keys")||"").split(",").forEach((function(t){if(t){E.set(t);var e=document.querySelector('[data-cookie-name="'+t+'"]');e&&(e.checked=!0),o()(document).trigger("consent-action",[t])}})),o()(document).trigger("consent-settings-saved")}}])}(),L=[],D=function(){return c()((function t(){l()(this,t),this.setupEvents(),this.matomoSubmission=[]}),[{key:"setupEvents",value:function(){o()(document).on("consent-action",function(t,e){L.includes(e)||(L.push(e),this.matomoAnalyticsEvent(e))}.bind(this))}},{key:"googleAnalyticsEvent",value:function(t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:t})}},{key:"matomoAnalyticsEvent",value:function(t){this.matomoSubmission.includes(t)||(this.matomoSubmission.push(t),console.log("Matomo events fire",t),window._mtm=window._mtm||[],window._mtm.push({event:t}))}}])}(),j=function(){return c()((function t(){l()(this,t),this.cookieSettings=new P(this),this.cookieNotice=new O(this),this.consentAnalyticsHandler=new D,this.setupEvents(),this.cookieSettings.init(),this.cookieNotice.init(),this.handleConsentedKeys()}),[{key:"setupEvents",value:function(){o()(document).on("consent-action",function(t,e){this.cookieNotice.hideNotice()}.bind(this))}},{key:"handleConsentedKeys",value:function(){var t=this.getAllConsentKeys(),e=[];t.forEach((function(t){E.get(t)&&(o()(document).trigger("consent-action",[t]),e.push(t))})),E.get("cookie-consent-action-taken")||0===e.length&&this.cookieNotice.showNotice()}},{key:"getAllConsentKeys",value:function(){var t=document.querySelector("[data-consent-all-keys]");if(t){var e=t.getAttribute("data-consent-all-keys");if(e)return JSON.parse(e)}return[]}}])}(),N=function(){return c()((function t(){l()(this,t),this.setupEvents()}),[{key:"setupEvents",value:function(){window._mtm=window._mtm||[];var t=null;document.querySelectorAll(".publication-header__content__actions a, .publication-header__content__actions a * ").forEach((function(e){e.addEventListener("click",(function(){clearTimeout(t),t=setTimeout((function(){var t=e.closest("a");t=t?t.textContent.trim():"",window._mtm.push({event:"TrackedLinks",blockName:"Läs och ladda ner",linkText:t})}),1e3)}))})),document.querySelectorAll(".document-list__documents a, .document-list__documents a * ").forEach((function(e){e.addEventListener("click",(function(){clearTimeout(t),t=setTimeout((function(){var t=e.closest(".document-list");t.querySelector("h2")&&(t=t.querySelector("h2")),t&&(t=(t=t.textContent.trim()).toLowerCase().includes("statistik")?"Ladda ner statistik":"");var i=e.closest("a");i=i?i.textContent.trim():"",window._mtm.push({event:"TrackedLinks",blockName:t||"",linkText:i})}),1e3)}))}))}}])}();o()(document).ready((function(){new j,new T,new d,new p,new N,s.a.init()})),o()(window).on("load",(function(){o()("html").removeClass("preload")}))}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.