playbook_ui_docs 12.26.1.pre.alpha.railsmultilevelimprovements835 → 12.26.1.pre.alpha.railsmultilevelimprovements837

Sign up to get free protection for your applications and to get access to all the features.
data/dist/playbook-doc.js CHANGED
@@ -13,7 +13,7 @@ r.version="2.29.4",t=xt,r.fn=gn,r.min=function(){var e=[].slice.call(arguments,0
13
13
  * Released under MIT license <https://lodash.com/license>
14
14
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
15
15
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
16
- */(function(){var i="Expected a function",o="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",u="[object Boolean]",d="[object Date]",p="[object Error]",m="[object Function]",b="[object GeneratorFunction]",h="[object Map]",f="[object Number]",g="[object Object]",_="[object RegExp]",y="[object Set]",M="[object String]",v="[object Symbol]",z="[object WeakMap]",O="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",x="[object Float64Array]",w="[object Int8Array]",N="[object Int16Array]",q="[object Int32Array]",E="[object Uint8Array]",j="[object Uint16Array]",W="[object Uint32Array]",L=/\b__p \+= '';/g,S=/\b(__p \+=) '' \+/g,T=/(__e\(.*?\)|\b__t\)) \+\n'';/g,C=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,D=RegExp(C.source),P=RegExp(R.source),B=/<%-([\s\S]+?)%>/g,I=/<%([\s\S]+?)%>/g,$=/<%=([\s\S]+?)%>/g,F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H=/[\\^$.*+?()[\]{}|]/g,U=RegExp(H.source),V=/^\s+/,G=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ae=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,de=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",me="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",be="[\\ud800-\\udfff]",he="["+me+"]",fe="["+pe+"]",ge="\\d+",_e="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",Me="[^\\ud800-\\udfff"+me+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ve="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",ke="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="[A-Z\\xc0-\\xd6\\xd8-\\xde]",xe="(?:"+ye+"|"+Me+")",we="(?:"+Ae+"|"+Me+")",Ne="(?:"+fe+"|"+ve+")"+"?",qe="[\\ufe0e\\ufe0f]?"+Ne+("(?:\\u200d(?:"+[ze,Oe,ke].join("|")+")[\\ufe0e\\ufe0f]?"+Ne+")*"),Ee="(?:"+[_e,Oe,ke].join("|")+")"+qe,je="(?:"+[ze+fe+"?",fe,Oe,ke,be].join("|")+")",We=RegExp("['’]","g"),Le=RegExp(fe,"g"),Se=RegExp(ve+"(?="+ve+")|"+je+qe,"g"),Te=RegExp([Ae+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Ae,"$"].join("|")+")",we+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Ae+xe,"$"].join("|")+")",Ae+"?"+xe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ae+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,Ee].join("|"),"g"),Ce=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,De=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Pe=-1,Be={};Be[A]=Be[x]=Be[w]=Be[N]=Be[q]=Be[E]=Be["[object Uint8ClampedArray]"]=Be[j]=Be[W]=!0,Be[l]=Be[c]=Be[O]=Be[u]=Be[k]=Be[d]=Be[p]=Be[m]=Be[h]=Be[f]=Be[g]=Be[_]=Be[y]=Be[M]=Be[z]=!1;var Ie={};Ie[l]=Ie[c]=Ie[O]=Ie[k]=Ie[u]=Ie[d]=Ie[A]=Ie[x]=Ie[w]=Ie[N]=Ie[q]=Ie[h]=Ie[f]=Ie[g]=Ie[_]=Ie[y]=Ie[M]=Ie[v]=Ie[E]=Ie["[object Uint8ClampedArray]"]=Ie[j]=Ie[W]=!0,Ie[p]=Ie[m]=Ie[z]=!1;var $e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fe=parseFloat,Xe=parseInt,Ye="object"==typeof e&&e&&e.Object===Object&&e,He="object"==typeof self&&self&&self.Object===Object&&self,Ue=Ye||He||Function("return this")(),Ve=t&&!t.nodeType&&t,Ge=Ve&&"object"==typeof a&&a&&!a.nodeType&&a,Ke=Ge&&Ge.exports===Ve,Je=Ke&&Ye.process,Ze=function(){try{var e=Ge&&Ge.require&&Ge.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(e){}}(),Qe=Ze&&Ze.isArrayBuffer,et=Ze&&Ze.isDate,tt=Ze&&Ze.isMap,nt=Ze&&Ze.isRegExp,at=Ze&&Ze.isSet,rt=Ze&&Ze.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function ot(e,t,n,a){for(var r=-1,i=null==e?0:e.length;++r<i;){var o=e[r];t(a,o,n(o),e)}return a}function st(e,t){for(var n=-1,a=null==e?0:e.length;++n<a&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(!t(e[n],n,e))return!1;return!0}function ut(e,t){for(var n=-1,a=null==e?0:e.length,r=0,i=[];++n<a;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}function dt(e,t){return!!(null==e?0:e.length)&&vt(e,t,0)>-1}function pt(e,t,n){for(var a=-1,r=null==e?0:e.length;++a<r;)if(n(t,e[a]))return!0;return!1}function mt(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}function bt(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}function ht(e,t,n,a){var r=-1,i=null==e?0:e.length;for(a&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}function ft(e,t,n,a){var r=null==e?0:e.length;for(a&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function gt(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}var _t=At("length");function yt(e,t,n){var a;return n(e,(function(e,n,r){if(t(e,n,r))return a=n,!1})),a}function Mt(e,t,n,a){for(var r=e.length,i=n+(a?1:-1);a?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function vt(e,t,n){return t==t?function(e,t,n){var a=n-1,r=e.length;for(;++a<r;)if(e[a]===t)return a;return-1}(e,t,n):Mt(e,Ot,n)}function zt(e,t,n,a){for(var r=n-1,i=e.length;++r<i;)if(a(e[r],t))return r;return-1}function Ot(e){return e!=e}function kt(e,t){var n=null==e?0:e.length;return n?Nt(e,t)/n:NaN}function At(e){return function(t){return null==t?void 0:t[e]}}function xt(e){return function(t){return null==e?void 0:e[t]}}function wt(e,t,n,a,r){return r(e,(function(e,r,i){n=a?(a=!1,e):t(n,e,r,i)})),n}function Nt(e,t){for(var n,a=-1,r=e.length;++a<r;){var i=t(e[a]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function qt(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}function Et(e){return e?e.slice(0,Vt(e)+1).replace(V,""):e}function jt(e){return function(t){return e(t)}}function Wt(e,t){return mt(t,(function(t){return e[t]}))}function Lt(e,t){return e.has(t)}function St(e,t){for(var n=-1,a=e.length;++n<a&&vt(t,e[n],0)>-1;);return n}function Tt(e,t){for(var n=e.length;n--&&vt(t,e[n],0)>-1;);return n}function Ct(e,t){for(var n=e.length,a=0;n--;)e[n]===t&&++a;return a}var Rt=xt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Dt=xt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Pt(e){return"\\"+$e[e]}function Bt(e){return Ce.test(e)}function It(e){var t=-1,n=Array(e.size);return e.forEach((function(e,a){n[++t]=[a,e]})),n}function $t(e,t){return function(n){return e(t(n))}}function Ft(e,t){for(var n=-1,a=e.length,r=0,i=[];++n<a;){var s=e[n];s!==t&&s!==o||(e[n]=o,i[r++]=n)}return i}function Xt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Yt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Ht(e){return Bt(e)?function(e){var t=Se.lastIndex=0;for(;Se.test(e);)++t;return t}(e):_t(e)}function Ut(e){return Bt(e)?function(e){return e.match(Se)||[]}(e):function(e){return e.split("")}(e)}function Vt(e){for(var t=e.length;t--&&G.test(e.charAt(t)););return t}var Gt=xt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Kt=function e(t){var n,a=(t=null==t?Ue:Kt.defaults(Ue.Object(),t,Kt.pick(Ue,De))).Array,r=t.Date,G=t.Error,pe=t.Function,me=t.Math,be=t.Object,he=t.RegExp,fe=t.String,ge=t.TypeError,_e=a.prototype,ye=pe.prototype,Me=be.prototype,ve=t["__core-js_shared__"],ze=ye.toString,Oe=Me.hasOwnProperty,ke=0,Ae=(n=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",xe=Me.toString,we=ze.call(be),Ne=Ue._,qe=he("^"+ze.call(Oe).replace(H,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ee=Ke?t.Buffer:void 0,je=t.Symbol,Se=t.Uint8Array,Ce=Ee?Ee.allocUnsafe:void 0,$e=$t(be.getPrototypeOf,be),Ye=be.create,He=Me.propertyIsEnumerable,Ve=_e.splice,Ge=je?je.isConcatSpreadable:void 0,Je=je?je.iterator:void 0,Ze=je?je.toStringTag:void 0,_t=function(){try{var e=ei(be,"defineProperty");return e({},"",{}),e}catch(e){}}(),xt=t.clearTimeout!==Ue.clearTimeout&&t.clearTimeout,Jt=r&&r.now!==Ue.Date.now&&r.now,Zt=t.setTimeout!==Ue.setTimeout&&t.setTimeout,Qt=me.ceil,en=me.floor,tn=be.getOwnPropertySymbols,nn=Ee?Ee.isBuffer:void 0,an=t.isFinite,rn=_e.join,on=$t(be.keys,be),sn=me.max,ln=me.min,cn=r.now,un=t.parseInt,dn=me.random,pn=_e.reverse,mn=ei(t,"DataView"),bn=ei(t,"Map"),hn=ei(t,"Promise"),fn=ei(t,"Set"),gn=ei(t,"WeakMap"),_n=ei(be,"create"),yn=gn&&new gn,Mn={},vn=wi(mn),zn=wi(bn),On=wi(hn),kn=wi(fn),An=wi(gn),xn=je?je.prototype:void 0,wn=xn?xn.valueOf:void 0,Nn=xn?xn.toString:void 0;function qn(e){if(Yo(e)&&!So(e)&&!(e instanceof Ln)){if(e instanceof Wn)return e;if(Oe.call(e,"__wrapped__"))return Ni(e)}return new Wn(e)}var En=function(){function e(){}return function(t){if(!Xo(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function jn(){}function Wn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Ln(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Sn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Cn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Rn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Cn;++t<n;)this.add(e[t])}function Dn(e){var t=this.__data__=new Tn(e);this.size=t.size}function Pn(e,t){var n=So(e),a=!n&&Lo(e),r=!n&&!a&&Do(e),i=!n&&!a&&!r&&Qo(e),o=n||a||r||i,s=o?qt(e.length,fe):[],l=s.length;for(var c in e)!t&&!Oe.call(e,c)||o&&("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||si(c,l))||s.push(c);return s}function Bn(e){var t=e.length;return t?e[Ra(0,t-1)]:void 0}function In(e,t){return ki(_r(e),Kn(t,0,e.length))}function $n(e){return ki(_r(e))}function Fn(e,t,n){(void 0!==n&&!Eo(e[t],n)||void 0===n&&!(t in e))&&Vn(e,t,n)}function Xn(e,t,n){var a=e[t];Oe.call(e,t)&&Eo(a,n)&&(void 0!==n||t in e)||Vn(e,t,n)}function Yn(e,t){for(var n=e.length;n--;)if(Eo(e[n][0],t))return n;return-1}function Hn(e,t,n,a){return ta(e,(function(e,r,i){t(a,e,n(e),i)})),a}function Un(e,t){return e&&yr(t,vs(t),e)}function Vn(e,t,n){"__proto__"==t&&_t?_t(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Gn(e,t){for(var n=-1,r=t.length,i=a(r),o=null==e;++n<r;)i[n]=o?void 0:fs(e,t[n]);return i}function Kn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,a,r,i){var o,s=1&t,c=2&t,p=4&t;if(n&&(o=r?n(e,a,r,i):n(e)),void 0!==o)return o;if(!Xo(e))return e;var z=So(e);if(z){if(o=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Oe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return _r(e,o)}else{var L=ai(e),S=L==m||L==b;if(Do(e))return pr(e,s);if(L==g||L==l||S&&!r){if(o=c||S?{}:ii(e),!s)return c?function(e,t){return yr(e,ni(e),t)}(e,function(e,t){return e&&yr(t,zs(t),e)}(o,e)):function(e,t){return yr(e,ti(e),t)}(e,Un(o,e))}else{if(!Ie[L])return r?e:{};o=function(e,t,n){var a=e.constructor;switch(t){case O:return mr(e);case u:case d:return new a(+e);case k:return function(e,t){var n=t?mr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case x:case w:case N:case q:case E:case"[object Uint8ClampedArray]":case j:case W:return br(e,n);case h:return new a;case f:case M:return new a(e);case _:return function(e){var t=new e.constructor(e.source,ae.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new a;case v:return r=e,wn?be(wn.call(r)):{}}var r}(e,L,s)}}i||(i=new Dn);var T=i.get(e);if(T)return T;i.set(e,o),Ko(e)?e.forEach((function(a){o.add(Jn(a,t,n,a,e,i))})):Ho(e)&&e.forEach((function(a,r){o.set(r,Jn(a,t,n,r,e,i))}));var C=z?void 0:(p?c?Ur:Hr:c?zs:vs)(e);return st(C||e,(function(a,r){C&&(a=e[r=a]),Xn(o,r,Jn(a,t,n,r,e,i))})),o}function Zn(e,t,n){var a=n.length;if(null==e)return!a;for(e=be(e);a--;){var r=n[a],i=t[r],o=e[r];if(void 0===o&&!(r in e)||!i(o))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ge(i);return Mi((function(){e.apply(void 0,n)}),t)}function ea(e,t,n,a){var r=-1,i=dt,o=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=mt(t,jt(n))),a?(i=pt,o=!1):t.length>=200&&(i=Lt,o=!1,t=new Rn(t));e:for(;++r<s;){var u=e[r],d=null==n?u:n(u);if(u=a||0!==u?u:0,o&&d==d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else i(t,d,a)||l.push(u)}return l}qn.templateSettings={escape:B,evaluate:I,interpolate:$,variable:"",imports:{_:qn}},qn.prototype=jn.prototype,qn.prototype.constructor=qn,Wn.prototype=En(jn.prototype),Wn.prototype.constructor=Wn,Ln.prototype=En(jn.prototype),Ln.prototype.constructor=Ln,Sn.prototype.clear=function(){this.__data__=_n?_n(null):{},this.size=0},Sn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Sn.prototype.get=function(e){var t=this.__data__;if(_n){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Oe.call(t,e)?t[e]:void 0},Sn.prototype.has=function(e){var t=this.__data__;return _n?void 0!==t[e]:Oe.call(t,e)},Sn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_n&&void 0===t?"__lodash_hash_undefined__":t,this},Tn.prototype.clear=function(){this.__data__=[],this.size=0},Tn.prototype.delete=function(e){var t=this.__data__,n=Yn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ve.call(t,n,1),--this.size,!0)},Tn.prototype.get=function(e){var t=this.__data__,n=Yn(t,e);return n<0?void 0:t[n][1]},Tn.prototype.has=function(e){return Yn(this.__data__,e)>-1},Tn.prototype.set=function(e,t){var n=this.__data__,a=Yn(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this},Cn.prototype.clear=function(){this.size=0,this.__data__={hash:new Sn,map:new(bn||Tn),string:new Sn}},Cn.prototype.delete=function(e){var t=Zr(this,e).delete(e);return this.size-=t?1:0,t},Cn.prototype.get=function(e){return Zr(this,e).get(e)},Cn.prototype.has=function(e){return Zr(this,e).has(e)},Cn.prototype.set=function(e,t){var n=Zr(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this},Rn.prototype.add=Rn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.clear=function(){this.__data__=new Tn,this.size=0},Dn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Dn.prototype.get=function(e){return this.__data__.get(e)},Dn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Tn){var a=n.__data__;if(!bn||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new Cn(a)}return n.set(e,t),this.size=n.size,this};var ta=zr(ca),na=zr(ua,!0);function aa(e,t){var n=!0;return ta(e,(function(e,a,r){return n=!!t(e,a,r)})),n}function ra(e,t,n){for(var a=-1,r=e.length;++a<r;){var i=e[a],o=t(i);if(null!=o&&(void 0===s?o==o&&!Zo(o):n(o,s)))var s=o,l=i}return l}function ia(e,t){var n=[];return ta(e,(function(e,a,r){t(e,a,r)&&n.push(e)})),n}function oa(e,t,n,a,r){var i=-1,o=e.length;for(n||(n=oi),r||(r=[]);++i<o;){var s=e[i];t>0&&n(s)?t>1?oa(s,t-1,n,a,r):bt(r,s):a||(r[r.length]=s)}return r}var sa=Or(),la=Or(!0);function ca(e,t){return e&&sa(e,t,vs)}function ua(e,t){return e&&la(e,t,vs)}function da(e,t){return ut(t,(function(t){return Io(e[t])}))}function pa(e,t){for(var n=0,a=(t=lr(t,e)).length;null!=e&&n<a;)e=e[xi(t[n++])];return n&&n==a?e:void 0}function ma(e,t,n){var a=t(e);return So(e)?a:bt(a,n(e))}function ba(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ze&&Ze in be(e)?function(e){var t=Oe.call(e,Ze),n=e[Ze];try{e[Ze]=void 0;var a=!0}catch(e){}var r=xe.call(e);a&&(t?e[Ze]=n:delete e[Ze]);return r}(e):function(e){return xe.call(e)}(e)}function ha(e,t){return e>t}function fa(e,t){return null!=e&&Oe.call(e,t)}function ga(e,t){return null!=e&&t in be(e)}function _a(e,t,n){for(var r=n?pt:dt,i=e[0].length,o=e.length,s=o,l=a(o),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=mt(d,jt(t))),c=ln(d.length,c),l[s]=!n&&(t||i>=120&&d.length>=120)?new Rn(s&&d):void 0}d=e[0];var p=-1,m=l[0];e:for(;++p<i&&u.length<c;){var b=d[p],h=t?t(b):b;if(b=n||0!==b?b:0,!(m?Lt(m,h):r(u,h,n))){for(s=o;--s;){var f=l[s];if(!(f?Lt(f,h):r(e[s],h,n)))continue e}m&&m.push(h),u.push(b)}}return u}function ya(e,t,n){var a=null==(e=fi(e,t=lr(t,e)))?e:e[xi(Pi(t))];return null==a?void 0:it(a,e,n)}function Ma(e){return Yo(e)&&ba(e)==l}function va(e,t,n,a,r){return e===t||(null==e||null==t||!Yo(e)&&!Yo(t)?e!=e&&t!=t:function(e,t,n,a,r,i){var o=So(e),s=So(t),m=o?c:ai(e),b=s?c:ai(t),z=(m=m==l?g:m)==g,A=(b=b==l?g:b)==g,x=m==b;if(x&&Do(e)){if(!Do(t))return!1;o=!0,z=!1}if(x&&!z)return i||(i=new Dn),o||Qo(e)?Xr(e,t,n,a,r,i):function(e,t,n,a,r,i,o){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!i(new Se(e),new Se(t)));case u:case d:case f:return Eo(+e,+t);case p:return e.name==t.name&&e.message==t.message;case _:case M:return e==t+"";case h:var s=It;case y:var l=1&a;if(s||(s=Xt),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;a|=2,o.set(e,t);var m=Xr(s(e),s(t),a,r,i,o);return o.delete(e),m;case v:if(wn)return wn.call(e)==wn.call(t)}return!1}(e,t,m,n,a,r,i);if(!(1&n)){var w=z&&Oe.call(e,"__wrapped__"),N=A&&Oe.call(t,"__wrapped__");if(w||N){var q=w?e.value():e,E=N?t.value():t;return i||(i=new Dn),r(q,E,n,a,i)}}if(!x)return!1;return i||(i=new Dn),function(e,t,n,a,r,i){var o=1&n,s=Hr(e),l=s.length,c=Hr(t).length;if(l!=c&&!o)return!1;var u=l;for(;u--;){var d=s[u];if(!(o?d in t:Oe.call(t,d)))return!1}var p=i.get(e),m=i.get(t);if(p&&m)return p==t&&m==e;var b=!0;i.set(e,t),i.set(t,e);var h=o;for(;++u<l;){d=s[u];var f=e[d],g=t[d];if(a)var _=o?a(g,f,d,t,e,i):a(f,g,d,e,t,i);if(!(void 0===_?f===g||r(f,g,n,a,i):_)){b=!1;break}h||(h="constructor"==d)}if(b&&!h){var y=e.constructor,M=t.constructor;y==M||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof M&&M instanceof M||(b=!1)}return i.delete(e),i.delete(t),b}(e,t,n,a,r,i)}(e,t,n,a,va,r))}function za(e,t,n,a){var r=n.length,i=r,o=!a;if(null==e)return!i;for(e=be(e);r--;){var s=n[r];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){var l=(s=n[r])[0],c=e[l],u=s[1];if(o&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Dn;if(a)var p=a(c,u,l,e,t,d);if(!(void 0===p?va(u,c,3,a,d):p))return!1}}return!0}function Oa(e){return!(!Xo(e)||(t=e,Ae&&Ae in t))&&(Io(e)?qe:oe).test(wi(e));var t}function ka(e){return"function"==typeof e?e:null==e?Us:"object"==typeof e?So(e)?Ea(e[0],e[1]):qa(e):nl(e)}function Aa(e){if(!pi(e))return on(e);var t=[];for(var n in be(e))Oe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function xa(e){if(!Xo(e))return function(e){var t=[];if(null!=e)for(var n in be(e))t.push(n);return t}(e);var t=pi(e),n=[];for(var a in e)("constructor"!=a||!t&&Oe.call(e,a))&&n.push(a);return n}function wa(e,t){return e<t}function Na(e,t){var n=-1,r=Co(e)?a(e.length):[];return ta(e,(function(e,a,i){r[++n]=t(e,a,i)})),r}function qa(e){var t=Qr(e);return 1==t.length&&t[0][2]?bi(t[0][0],t[0][1]):function(n){return n===e||za(n,e,t)}}function Ea(e,t){return ci(e)&&mi(t)?bi(xi(e),t):function(n){var a=fs(n,e);return void 0===a&&a===t?gs(n,e):va(t,a,3)}}function ja(e,t,n,a,r){e!==t&&sa(t,(function(i,o){if(r||(r=new Dn),Xo(i))!function(e,t,n,a,r,i,o){var s=_i(e,n),l=_i(t,n),c=o.get(l);if(c)return void Fn(e,n,c);var u=i?i(s,l,n+"",e,t,o):void 0,d=void 0===u;if(d){var p=So(l),m=!p&&Do(l),b=!p&&!m&&Qo(l);u=l,p||m||b?So(s)?u=s:Ro(s)?u=_r(s):m?(d=!1,u=pr(l,!0)):b?(d=!1,u=br(l,!0)):u=[]:Vo(l)||Lo(l)?(u=s,Lo(s)?u=ss(s):Xo(s)&&!Io(s)||(u=ii(l))):d=!1}d&&(o.set(l,u),r(u,l,a,i,o),o.delete(l));Fn(e,n,u)}(e,t,o,n,ja,a,r);else{var s=a?a(_i(e,o),i,o+"",e,t,r):void 0;void 0===s&&(s=i),Fn(e,o,s)}}),zs)}function Wa(e,t){var n=e.length;if(n)return si(t+=t<0?n:0,n)?e[t]:void 0}function La(e,t,n){t=t.length?mt(t,(function(e){return So(e)?function(t){return pa(t,1===e.length?e[0]:e)}:e})):[Us];var a=-1;return t=mt(t,jt(Jr())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Na(e,(function(e,n,r){return{criteria:mt(t,(function(t){return t(e)})),index:++a,value:e}})),(function(e,t){return function(e,t,n){var a=-1,r=e.criteria,i=t.criteria,o=r.length,s=n.length;for(;++a<o;){var l=hr(r[a],i[a]);if(l){if(a>=s)return l;var c=n[a];return l*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function Sa(e,t,n){for(var a=-1,r=t.length,i={};++a<r;){var o=t[a],s=pa(e,o);n(s,o)&&$a(i,lr(o,e),s)}return i}function Ta(e,t,n,a){var r=a?zt:vt,i=-1,o=t.length,s=e;for(e===t&&(t=_r(t)),n&&(s=mt(e,jt(n)));++i<o;)for(var l=0,c=t[i],u=n?n(c):c;(l=r(s,u,l,a))>-1;)s!==e&&Ve.call(s,l,1),Ve.call(e,l,1);return e}function Ca(e,t){for(var n=e?t.length:0,a=n-1;n--;){var r=t[n];if(n==a||r!==i){var i=r;si(r)?Ve.call(e,r,1):er(e,r)}}return e}function Ra(e,t){return e+en(dn()*(t-e+1))}function Da(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Pa(e,t){return vi(hi(e,t,Us),e+"")}function Ba(e){return Bn(Es(e))}function Ia(e,t){var n=Es(e);return ki(n,Kn(t,0,n.length))}function $a(e,t,n,a){if(!Xo(e))return e;for(var r=-1,i=(t=lr(t,e)).length,o=i-1,s=e;null!=s&&++r<i;){var l=xi(t[r]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(r!=o){var u=s[l];void 0===(c=a?a(u,l,s):void 0)&&(c=Xo(u)?u:si(t[r+1])?[]:{})}Xn(s,l,c),s=s[l]}return e}var Fa=yn?function(e,t){return yn.set(e,t),e}:Us,Xa=_t?function(e,t){return _t(e,"toString",{configurable:!0,enumerable:!1,value:Xs(t),writable:!0})}:Us;function Ya(e){return ki(Es(e))}function Ha(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=a(i);++r<i;)o[r]=e[r+t];return o}function Ua(e,t){var n;return ta(e,(function(e,a,r){return!(n=t(e,a,r))})),!!n}function Va(e,t,n){var a=0,r=null==e?a:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;a<r;){var i=a+r>>>1,o=e[i];null!==o&&!Zo(o)&&(n?o<=t:o<t)?a=i+1:r=i}return r}return Ga(e,t,Us,n)}function Ga(e,t,n,a){var r=0,i=null==e?0:e.length;if(0===i)return 0;for(var o=(t=n(t))!=t,s=null===t,l=Zo(t),c=void 0===t;r<i;){var u=en((r+i)/2),d=n(e[u]),p=void 0!==d,m=null===d,b=d==d,h=Zo(d);if(o)var f=a||b;else f=c?b&&(a||p):s?b&&p&&(a||!m):l?b&&p&&!m&&(a||!h):!m&&!h&&(a?d<=t:d<t);f?r=u+1:i=u}return ln(i,4294967294)}function Ka(e,t){for(var n=-1,a=e.length,r=0,i=[];++n<a;){var o=e[n],s=t?t(o):o;if(!n||!Eo(s,l)){var l=s;i[r++]=0===o?0:o}}return i}function Ja(e){return"number"==typeof e?e:Zo(e)?NaN:+e}function Za(e){if("string"==typeof e)return e;if(So(e))return mt(e,Za)+"";if(Zo(e))return Nn?Nn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qa(e,t,n){var a=-1,r=dt,i=e.length,o=!0,s=[],l=s;if(n)o=!1,r=pt;else if(i>=200){var c=t?null:Dr(e);if(c)return Xt(c);o=!1,r=Lt,l=new Rn}else l=t?[]:s;e:for(;++a<i;){var u=e[a],d=t?t(u):u;if(u=n||0!==u?u:0,o&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else r(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function er(e,t){return null==(e=fi(e,t=lr(t,e)))||delete e[xi(Pi(t))]}function tr(e,t,n,a){return $a(e,t,n(pa(e,t)),a)}function nr(e,t,n,a){for(var r=e.length,i=a?r:-1;(a?i--:++i<r)&&t(e[i],i,e););return n?Ha(e,a?0:i,a?i+1:r):Ha(e,a?i+1:0,a?r:i)}function ar(e,t){var n=e;return n instanceof Ln&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,bt([e],t.args))}),n)}function rr(e,t,n){var r=e.length;if(r<2)return r?Qa(e[0]):[];for(var i=-1,o=a(r);++i<r;)for(var s=e[i],l=-1;++l<r;)l!=i&&(o[i]=ea(o[i]||s,e[l],t,n));return Qa(oa(o,1),t,n)}function ir(e,t,n){for(var a=-1,r=e.length,i=t.length,o={};++a<r;){var s=a<i?t[a]:void 0;n(o,e[a],s)}return o}function or(e){return Ro(e)?e:[]}function sr(e){return"function"==typeof e?e:Us}function lr(e,t){return So(e)?e:ci(e,t)?[e]:Ai(ls(e))}var cr=Pa;function ur(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:Ha(e,t,n)}var dr=xt||function(e){return Ue.clearTimeout(e)};function pr(e,t){if(t)return e.slice();var n=e.length,a=Ce?Ce(n):new e.constructor(n);return e.copy(a),a}function mr(e){var t=new e.constructor(e.byteLength);return new Se(t).set(new Se(e)),t}function br(e,t){var n=t?mr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function hr(e,t){if(e!==t){var n=void 0!==e,a=null===e,r=e==e,i=Zo(e),o=void 0!==t,s=null===t,l=t==t,c=Zo(t);if(!s&&!c&&!i&&e>t||i&&o&&l&&!s&&!c||a&&o&&l||!n&&l||!r)return 1;if(!a&&!i&&!c&&e<t||c&&n&&r&&!a&&!i||s&&n&&r||!o&&r||!l)return-1}return 0}function fr(e,t,n,r){for(var i=-1,o=e.length,s=n.length,l=-1,c=t.length,u=sn(o-s,0),d=a(c+u),p=!r;++l<c;)d[l]=t[l];for(;++i<s;)(p||i<o)&&(d[n[i]]=e[i]);for(;u--;)d[l++]=e[i++];return d}function gr(e,t,n,r){for(var i=-1,o=e.length,s=-1,l=n.length,c=-1,u=t.length,d=sn(o-l,0),p=a(d+u),m=!r;++i<d;)p[i]=e[i];for(var b=i;++c<u;)p[b+c]=t[c];for(;++s<l;)(m||i<o)&&(p[b+n[s]]=e[i++]);return p}function _r(e,t){var n=-1,r=e.length;for(t||(t=a(r));++n<r;)t[n]=e[n];return t}function yr(e,t,n,a){var r=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var s=t[i],l=a?a(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),r?Vn(n,s,l):Xn(n,s,l)}return n}function Mr(e,t){return function(n,a){var r=So(n)?ot:Hn,i=t?t():{};return r(n,e,Jr(a,2),i)}}function vr(e){return Pa((function(t,n){var a=-1,r=n.length,i=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(r--,i):void 0,o&&li(n[0],n[1],o)&&(i=r<3?void 0:i,r=1),t=be(t);++a<r;){var s=n[a];s&&e(t,s,a,i)}return t}))}function zr(e,t){return function(n,a){if(null==n)return n;if(!Co(n))return e(n,a);for(var r=n.length,i=t?r:-1,o=be(n);(t?i--:++i<r)&&!1!==a(o[i],i,o););return n}}function Or(e){return function(t,n,a){for(var r=-1,i=be(t),o=a(t),s=o.length;s--;){var l=o[e?s:++r];if(!1===n(i[l],l,i))break}return t}}function kr(e){return function(t){var n=Bt(t=ls(t))?Ut(t):void 0,a=n?n[0]:t.charAt(0),r=n?ur(n,1).join(""):t.slice(1);return a[e]()+r}}function Ar(e){return function(t){return ht(Is(Ls(t).replace(We,"")),e,"")}}function xr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=En(e.prototype),a=e.apply(n,t);return Xo(a)?a:n}}function wr(e){return function(t,n,a){var r=be(t);if(!Co(t)){var i=Jr(n,3);t=vs(t),n=function(e){return i(r[e],e,r)}}var o=e(t,n,a);return o>-1?r[i?t[o]:o]:void 0}}function Nr(e){return Yr((function(t){var n=t.length,a=n,r=Wn.prototype.thru;for(e&&t.reverse();a--;){var o=t[a];if("function"!=typeof o)throw new ge(i);if(r&&!s&&"wrapper"==Gr(o))var s=new Wn([],!0)}for(a=s?a:n;++a<n;){var l=Gr(o=t[a]),c="wrapper"==l?Vr(o):void 0;s=c&&ui(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[Gr(c[0])].apply(s,c[3]):1==o.length&&ui(o)?s[l]():s.thru(o)}return function(){var e=arguments,a=e[0];if(s&&1==e.length&&So(a))return s.plant(a).value();for(var r=0,i=n?t[r].apply(this,e):a;++r<n;)i=t[r].call(this,i);return i}}))}function qr(e,t,n,r,i,o,s,l,c,u){var d=128&t,p=1&t,m=2&t,b=24&t,h=512&t,f=m?void 0:xr(e);return function g(){for(var _=arguments.length,y=a(_),M=_;M--;)y[M]=arguments[M];if(b)var v=Kr(g),z=Ct(y,v);if(r&&(y=fr(y,r,i,b)),o&&(y=gr(y,o,s,b)),_-=z,b&&_<u){var O=Ft(y,v);return Cr(e,t,qr,g.placeholder,n,y,O,l,c,u-_)}var k=p?n:this,A=m?k[e]:e;return _=y.length,l?y=gi(y,l):h&&_>1&&y.reverse(),d&&c<_&&(y.length=c),this&&this!==Ue&&this instanceof g&&(A=f||xr(A)),A.apply(k,y)}}function Er(e,t){return function(n,a){return function(e,t,n,a){return ca(e,(function(e,r,i){t(a,n(e),r,i)})),a}(n,e,t(a),{})}}function jr(e,t){return function(n,a){var r;if(void 0===n&&void 0===a)return t;if(void 0!==n&&(r=n),void 0!==a){if(void 0===r)return a;"string"==typeof n||"string"==typeof a?(n=Za(n),a=Za(a)):(n=Ja(n),a=Ja(a)),r=e(n,a)}return r}}function Wr(e){return Yr((function(t){return t=mt(t,jt(Jr())),Pa((function(n){var a=this;return e(t,(function(e){return it(e,a,n)}))}))}))}function Lr(e,t){var n=(t=void 0===t?" ":Za(t)).length;if(n<2)return n?Da(t,e):t;var a=Da(t,Qt(e/Ht(t)));return Bt(t)?ur(Ut(a),0,e).join(""):a.slice(0,e)}function Sr(e){return function(t,n,r){return r&&"number"!=typeof r&&li(t,n,r)&&(n=r=void 0),t=as(t),void 0===n?(n=t,t=0):n=as(n),function(e,t,n,r){for(var i=-1,o=sn(Qt((t-e)/(n||1)),0),s=a(o);o--;)s[r?o:++i]=e,e+=n;return s}(t,n,r=void 0===r?t<n?1:-1:as(r),e)}}function Tr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=os(t),n=os(n)),e(t,n)}}function Cr(e,t,n,a,r,i,o,s,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,r,u?i:void 0,u?o:void 0,u?void 0:i,u?void 0:o,s,l,c],p=n.apply(void 0,d);return ui(e)&&yi(p,d),p.placeholder=a,zi(p,e,t)}function Rr(e){var t=me[e];return function(e,n){if(e=os(e),(n=null==n?0:ln(rs(n),292))&&an(e)){var a=(ls(e)+"e").split("e");return+((a=(ls(t(a[0]+"e"+(+a[1]+n)))+"e").split("e"))[0]+"e"+(+a[1]-n))}return t(e)}}var Dr=fn&&1/Xt(new fn([,-0]))[1]==1/0?function(e){return new fn(e)}:Zs;function Pr(e){return function(t){var n=ai(t);return n==h?It(t):n==y?Yt(t):function(e,t){return mt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Br(e,t,n,r,s,l,c,u){var d=2&t;if(!d&&"function"!=typeof e)throw new ge(i);var p=r?r.length:0;if(p||(t&=-97,r=s=void 0),c=void 0===c?c:sn(rs(c),0),u=void 0===u?u:rs(u),p-=s?s.length:0,64&t){var m=r,b=s;r=s=void 0}var h=d?void 0:Vr(e),f=[e,t,n,r,s,m,b,l,c,u];if(h&&function(e,t){var n=e[1],a=t[1],r=n|a,i=r<131,s=128==a&&8==n||128==a&&256==n&&e[7].length<=t[8]||384==a&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&a&&(e[2]=t[2],r|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?fr(c,l,t[4]):l,e[4]=c?Ft(e[3],o):t[4]}(l=t[5])&&(c=e[5],e[5]=c?gr(c,l,t[6]):l,e[6]=c?Ft(e[5],o):t[6]);(l=t[7])&&(e[7]=l);128&a&&(e[8]=null==e[8]?t[8]:ln(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=r}(f,h),e=f[0],t=f[1],n=f[2],r=f[3],s=f[4],!(u=f[9]=void 0===f[9]?d?0:e.length:sn(f[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var r=xr(e);return function i(){for(var o=arguments.length,s=a(o),l=o,c=Kr(i);l--;)s[l]=arguments[l];var u=o<3&&s[0]!==c&&s[o-1]!==c?[]:Ft(s,c);if((o-=u.length)<n)return Cr(e,t,qr,i.placeholder,void 0,s,u,void 0,void 0,n-o);var d=this&&this!==Ue&&this instanceof i?r:e;return it(d,this,s)}}(e,t,u):32!=t&&33!=t||s.length?qr.apply(void 0,f):function(e,t,n,r){var i=1&t,o=xr(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=r.length,d=a(u+l),p=this&&this!==Ue&&this instanceof t?o:e;++c<u;)d[c]=r[c];for(;l--;)d[c++]=arguments[++s];return it(p,i?n:this,d)}}(e,t,n,r);else var g=function(e,t,n){var a=1&t,r=xr(e);return function t(){var i=this&&this!==Ue&&this instanceof t?r:e;return i.apply(a?n:this,arguments)}}(e,t,n);return zi((h?Fa:yi)(g,f),e,t)}function Ir(e,t,n,a){return void 0===e||Eo(e,Me[n])&&!Oe.call(a,n)?t:e}function $r(e,t,n,a,r,i){return Xo(e)&&Xo(t)&&(i.set(t,e),ja(e,t,void 0,$r,i),i.delete(t)),e}function Fr(e){return Vo(e)?void 0:e}function Xr(e,t,n,a,r,i){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,m=2&n?new Rn:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var b=e[d],h=t[d];if(a)var f=o?a(h,b,d,t,e,i):a(b,h,d,e,t,i);if(void 0!==f){if(f)continue;p=!1;break}if(m){if(!gt(t,(function(e,t){if(!Lt(m,t)&&(b===e||r(b,e,n,a,i)))return m.push(t)}))){p=!1;break}}else if(b!==h&&!r(b,h,n,a,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Yr(e){return vi(hi(e,void 0,Si),e+"")}function Hr(e){return ma(e,vs,ti)}function Ur(e){return ma(e,zs,ni)}var Vr=yn?function(e){return yn.get(e)}:Zs;function Gr(e){for(var t=e.name+"",n=Mn[t],a=Oe.call(Mn,t)?n.length:0;a--;){var r=n[a],i=r.func;if(null==i||i==e)return r.name}return t}function Kr(e){return(Oe.call(qn,"placeholder")?qn:e).placeholder}function Jr(){var e=qn.iteratee||Vs;return e=e===Vs?ka:e,arguments.length?e(arguments[0],arguments[1]):e}function Zr(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Qr(e){for(var t=vs(e),n=t.length;n--;){var a=t[n],r=e[a];t[n]=[a,r,mi(r)]}return t}function ei(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Oa(n)?n:void 0}var ti=tn?function(e){return null==e?[]:(e=be(e),ut(tn(e),(function(t){return He.call(e,t)})))}:il,ni=tn?function(e){for(var t=[];e;)bt(t,ti(e)),e=$e(e);return t}:il,ai=ba;function ri(e,t,n){for(var a=-1,r=(t=lr(t,e)).length,i=!1;++a<r;){var o=xi(t[a]);if(!(i=null!=e&&n(e,o)))break;e=e[o]}return i||++a!=r?i:!!(r=null==e?0:e.length)&&Fo(r)&&si(o,r)&&(So(e)||Lo(e))}function ii(e){return"function"!=typeof e.constructor||pi(e)?{}:En($e(e))}function oi(e){return So(e)||Lo(e)||!!(Ge&&e&&e[Ge])}function si(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function li(e,t,n){if(!Xo(n))return!1;var a=typeof t;return!!("number"==a?Co(n)&&si(t,n.length):"string"==a&&t in n)&&Eo(n[t],e)}function ci(e,t){if(So(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Zo(e))||(X.test(e)||!F.test(e)||null!=t&&e in be(t))}function ui(e){var t=Gr(e),n=qn[t];if("function"!=typeof n||!(t in Ln.prototype))return!1;if(e===n)return!0;var a=Vr(n);return!!a&&e===a[0]}(mn&&ai(new mn(new ArrayBuffer(1)))!=k||bn&&ai(new bn)!=h||hn&&"[object Promise]"!=ai(hn.resolve())||fn&&ai(new fn)!=y||gn&&ai(new gn)!=z)&&(ai=function(e){var t=ba(e),n=t==g?e.constructor:void 0,a=n?wi(n):"";if(a)switch(a){case vn:return k;case zn:return h;case On:return"[object Promise]";case kn:return y;case An:return z}return t});var di=ve?Io:ol;function pi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Me)}function mi(e){return e==e&&!Xo(e)}function bi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in be(n)))}}function hi(e,t,n){return t=sn(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=sn(r.length-t,0),s=a(o);++i<o;)s[i]=r[t+i];i=-1;for(var l=a(t+1);++i<t;)l[i]=r[i];return l[t]=n(s),it(e,this,l)}}function fi(e,t){return t.length<2?e:pa(e,Ha(t,0,-1))}function gi(e,t){for(var n=e.length,a=ln(t.length,n),r=_r(e);a--;){var i=t[a];e[a]=si(i,n)?r[i]:void 0}return e}function _i(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var yi=Oi(Fa),Mi=Zt||function(e,t){return Ue.setTimeout(e,t)},vi=Oi(Xa);function zi(e,t,n){var a=t+"";return vi(e,function(e,t){var n=t.length;if(!n)return e;var a=n-1;return t[a]=(n>1?"& ":"")+t[a],t=t.join(n>2?", ":" "),e.replace(K,"{\n/* [wrapped with "+t+"] */\n")}(a,function(e,t){return st(s,(function(n){var a="_."+n[0];t&n[1]&&!dt(e,a)&&e.push(a)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Z):[]}(a),n)))}function Oi(e){var t=0,n=0;return function(){var a=cn(),r=16-(a-n);if(n=a,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ki(e,t){var n=-1,a=e.length,r=a-1;for(t=void 0===t?a:t;++n<t;){var i=Ra(n,r),o=e[i];e[i]=e[n],e[n]=o}return e.length=t,e}var Ai=function(e){var t=ko(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Y,(function(e,n,a,r){t.push(a?r.replace(te,"$1"):n||e)})),t}));function xi(e){if("string"==typeof e||Zo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function wi(e){if(null!=e){try{return ze.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ni(e){if(e instanceof Ln)return e.clone();var t=new Wn(e.__wrapped__,e.__chain__);return t.__actions__=_r(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var qi=Pa((function(e,t){return Ro(e)?ea(e,oa(t,1,Ro,!0)):[]})),Ei=Pa((function(e,t){var n=Pi(t);return Ro(n)&&(n=void 0),Ro(e)?ea(e,oa(t,1,Ro,!0),Jr(n,2)):[]})),ji=Pa((function(e,t){var n=Pi(t);return Ro(n)&&(n=void 0),Ro(e)?ea(e,oa(t,1,Ro,!0),void 0,n):[]}));function Wi(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(a+r,0)),Mt(e,Jr(t,3),r)}function Li(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=a-1;return void 0!==n&&(r=rs(n),r=n<0?sn(a+r,0):ln(r,a-1)),Mt(e,Jr(t,3),r,!0)}function Si(e){return(null==e?0:e.length)?oa(e,1):[]}function Ti(e){return e&&e.length?e[0]:void 0}var Ci=Pa((function(e){var t=mt(e,or);return t.length&&t[0]===e[0]?_a(t):[]})),Ri=Pa((function(e){var t=Pi(e),n=mt(e,or);return t===Pi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?_a(n,Jr(t,2)):[]})),Di=Pa((function(e){var t=Pi(e),n=mt(e,or);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?_a(n,void 0,t):[]}));function Pi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bi=Pa(Ii);function Ii(e,t){return e&&e.length&&t&&t.length?Ta(e,t):e}var $i=Yr((function(e,t){var n=null==e?0:e.length,a=Gn(e,t);return Ca(e,mt(t,(function(e){return si(e,n)?+e:e})).sort(hr)),a}));function Fi(e){return null==e?e:pn.call(e)}var Xi=Pa((function(e){return Qa(oa(e,1,Ro,!0))})),Yi=Pa((function(e){var t=Pi(e);return Ro(t)&&(t=void 0),Qa(oa(e,1,Ro,!0),Jr(t,2))})),Hi=Pa((function(e){var t=Pi(e);return t="function"==typeof t?t:void 0,Qa(oa(e,1,Ro,!0),void 0,t)}));function Ui(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Ro(e))return t=sn(e.length,t),!0})),qt(t,(function(t){return mt(e,At(t))}))}function Vi(e,t){if(!e||!e.length)return[];var n=Ui(e);return null==t?n:mt(n,(function(e){return it(t,void 0,e)}))}var Gi=Pa((function(e,t){return Ro(e)?ea(e,t):[]})),Ki=Pa((function(e){return rr(ut(e,Ro))})),Ji=Pa((function(e){var t=Pi(e);return Ro(t)&&(t=void 0),rr(ut(e,Ro),Jr(t,2))})),Zi=Pa((function(e){var t=Pi(e);return t="function"==typeof t?t:void 0,rr(ut(e,Ro),void 0,t)})),Qi=Pa(Ui);var eo=Pa((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Vi(e,n)}));function to(e){var t=qn(e);return t.__chain__=!0,t}function no(e,t){return t(e)}var ao=Yr((function(e){var t=e.length,n=t?e[0]:0,a=this.__wrapped__,r=function(t){return Gn(t,e)};return!(t>1||this.__actions__.length)&&a instanceof Ln&&si(n)?((a=a.slice(n,+n+(t?1:0))).__actions__.push({func:no,args:[r],thisArg:void 0}),new Wn(a,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(r)}));var ro=Mr((function(e,t,n){Oe.call(e,n)?++e[n]:Vn(e,n,1)}));var io=wr(Wi),oo=wr(Li);function so(e,t){return(So(e)?st:ta)(e,Jr(t,3))}function lo(e,t){return(So(e)?lt:na)(e,Jr(t,3))}var co=Mr((function(e,t,n){Oe.call(e,n)?e[n].push(t):Vn(e,n,[t])}));var uo=Pa((function(e,t,n){var r=-1,i="function"==typeof t,o=Co(e)?a(e.length):[];return ta(e,(function(e){o[++r]=i?it(t,e,n):ya(e,t,n)})),o})),po=Mr((function(e,t,n){Vn(e,n,t)}));function mo(e,t){return(So(e)?mt:Na)(e,Jr(t,3))}var bo=Mr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ho=Pa((function(e,t){if(null==e)return[];var n=t.length;return n>1&&li(e,t[0],t[1])?t=[]:n>2&&li(t[0],t[1],t[2])&&(t=[t[0]]),La(e,oa(t,1),[])})),fo=Jt||function(){return Ue.Date.now()};function go(e,t,n){return t=n?void 0:t,Br(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function _o(e,t){var n;if("function"!=typeof t)throw new ge(i);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var yo=Pa((function(e,t,n){var a=1;if(n.length){var r=Ft(n,Kr(yo));a|=32}return Br(e,a,t,n,r)})),Mo=Pa((function(e,t,n){var a=3;if(n.length){var r=Ft(n,Kr(Mo));a|=32}return Br(t,a,e,n,r)}));function vo(e,t,n){var a,r,o,s,l,c,u=0,d=!1,p=!1,m=!0;if("function"!=typeof e)throw new ge(i);function b(t){var n=a,i=r;return a=r=void 0,u=t,s=e.apply(i,n)}function h(e){return u=e,l=Mi(g,t),d?b(e):s}function f(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=o}function g(){var e=fo();if(f(e))return _(e);l=Mi(g,function(e){var n=t-(e-c);return p?ln(n,o-(e-u)):n}(e))}function _(e){return l=void 0,m&&a?b(e):(a=r=void 0,s)}function y(){var e=fo(),n=f(e);if(a=arguments,r=this,c=e,n){if(void 0===l)return h(c);if(p)return dr(l),l=Mi(g,t),b(c)}return void 0===l&&(l=Mi(g,t)),s}return t=os(t)||0,Xo(n)&&(d=!!n.leading,o=(p="maxWait"in n)?sn(os(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m),y.cancel=function(){void 0!==l&&dr(l),u=0,a=c=r=l=void 0},y.flush=function(){return void 0===l?s:_(fo())},y}var zo=Pa((function(e,t){return Qn(e,1,t)})),Oo=Pa((function(e,t,n){return Qn(e,os(t)||0,n)}));function ko(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],i=n.cache;if(i.has(r))return i.get(r);var o=e.apply(this,a);return n.cache=i.set(r,o)||i,o};return n.cache=new(ko.Cache||Cn),n}function Ao(e){if("function"!=typeof e)throw new ge(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ko.Cache=Cn;var xo=cr((function(e,t){var n=(t=1==t.length&&So(t[0])?mt(t[0],jt(Jr())):mt(oa(t,1),jt(Jr()))).length;return Pa((function(a){for(var r=-1,i=ln(a.length,n);++r<i;)a[r]=t[r].call(this,a[r]);return it(e,this,a)}))})),wo=Pa((function(e,t){return Br(e,32,void 0,t,Ft(t,Kr(wo)))})),No=Pa((function(e,t){return Br(e,64,void 0,t,Ft(t,Kr(No)))})),qo=Yr((function(e,t){return Br(e,256,void 0,void 0,void 0,t)}));function Eo(e,t){return e===t||e!=e&&t!=t}var jo=Tr(ha),Wo=Tr((function(e,t){return e>=t})),Lo=Ma(function(){return arguments}())?Ma:function(e){return Yo(e)&&Oe.call(e,"callee")&&!He.call(e,"callee")},So=a.isArray,To=Qe?jt(Qe):function(e){return Yo(e)&&ba(e)==O};function Co(e){return null!=e&&Fo(e.length)&&!Io(e)}function Ro(e){return Yo(e)&&Co(e)}var Do=nn||ol,Po=et?jt(et):function(e){return Yo(e)&&ba(e)==d};function Bo(e){if(!Yo(e))return!1;var t=ba(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Vo(e)}function Io(e){if(!Xo(e))return!1;var t=ba(e);return t==m||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function $o(e){return"number"==typeof e&&e==rs(e)}function Fo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Xo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Yo(e){return null!=e&&"object"==typeof e}var Ho=tt?jt(tt):function(e){return Yo(e)&&ai(e)==h};function Uo(e){return"number"==typeof e||Yo(e)&&ba(e)==f}function Vo(e){if(!Yo(e)||ba(e)!=g)return!1;var t=$e(e);if(null===t)return!0;var n=Oe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ze.call(n)==we}var Go=nt?jt(nt):function(e){return Yo(e)&&ba(e)==_};var Ko=at?jt(at):function(e){return Yo(e)&&ai(e)==y};function Jo(e){return"string"==typeof e||!So(e)&&Yo(e)&&ba(e)==M}function Zo(e){return"symbol"==typeof e||Yo(e)&&ba(e)==v}var Qo=rt?jt(rt):function(e){return Yo(e)&&Fo(e.length)&&!!Be[ba(e)]};var es=Tr(wa),ts=Tr((function(e,t){return e<=t}));function ns(e){if(!e)return[];if(Co(e))return Jo(e)?Ut(e):_r(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=ai(e);return(t==h?It:t==y?Xt:Es)(e)}function as(e){return e?(e=os(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=as(e),n=t%1;return t==t?n?t-n:t:0}function is(e){return e?Kn(rs(e),0,4294967295):0}function os(e){if("number"==typeof e)return e;if(Zo(e))return NaN;if(Xo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Xo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Et(e);var n=ie.test(e);return n||se.test(e)?Xe(e.slice(2),n?2:8):re.test(e)?NaN:+e}function ss(e){return yr(e,zs(e))}function ls(e){return null==e?"":Za(e)}var cs=vr((function(e,t){if(pi(t)||Co(t))yr(t,vs(t),e);else for(var n in t)Oe.call(t,n)&&Xn(e,n,t[n])})),us=vr((function(e,t){yr(t,zs(t),e)})),ds=vr((function(e,t,n,a){yr(t,zs(t),e,a)})),ps=vr((function(e,t,n,a){yr(t,vs(t),e,a)})),ms=Yr(Gn);var bs=Pa((function(e,t){e=be(e);var n=-1,a=t.length,r=a>2?t[2]:void 0;for(r&&li(t[0],t[1],r)&&(a=1);++n<a;)for(var i=t[n],o=zs(i),s=-1,l=o.length;++s<l;){var c=o[s],u=e[c];(void 0===u||Eo(u,Me[c])&&!Oe.call(e,c))&&(e[c]=i[c])}return e})),hs=Pa((function(e){return e.push(void 0,$r),it(ks,void 0,e)}));function fs(e,t,n){var a=null==e?void 0:pa(e,t);return void 0===a?n:a}function gs(e,t){return null!=e&&ri(e,t,ga)}var _s=Er((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),e[t]=n}),Xs(Us)),ys=Er((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),Oe.call(e,t)?e[t].push(n):e[t]=[n]}),Jr),Ms=Pa(ya);function vs(e){return Co(e)?Pn(e):Aa(e)}function zs(e){return Co(e)?Pn(e,!0):xa(e)}var Os=vr((function(e,t,n){ja(e,t,n)})),ks=vr((function(e,t,n,a){ja(e,t,n,a)})),As=Yr((function(e,t){var n={};if(null==e)return n;var a=!1;t=mt(t,(function(t){return t=lr(t,e),a||(a=t.length>1),t})),yr(e,Ur(e),n),a&&(n=Jn(n,7,Fr));for(var r=t.length;r--;)er(n,t[r]);return n}));var xs=Yr((function(e,t){return null==e?{}:function(e,t){return Sa(e,t,(function(t,n){return gs(e,n)}))}(e,t)}));function ws(e,t){if(null==e)return{};var n=mt(Ur(e),(function(e){return[e]}));return t=Jr(t),Sa(e,n,(function(e,n){return t(e,n[0])}))}var Ns=Pr(vs),qs=Pr(zs);function Es(e){return null==e?[]:Wt(e,vs(e))}var js=Ar((function(e,t,n){return t=t.toLowerCase(),e+(n?Ws(t):t)}));function Ws(e){return Bs(ls(e).toLowerCase())}function Ls(e){return(e=ls(e))&&e.replace(ce,Rt).replace(Le,"")}var Ss=Ar((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ts=Ar((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Cs=kr("toLowerCase");var Rs=Ar((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ds=Ar((function(e,t,n){return e+(n?" ":"")+Bs(t)}));var Ps=Ar((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Bs=kr("toUpperCase");function Is(e,t,n){return e=ls(e),void 0===(t=n?void 0:t)?function(e){return Re.test(e)}(e)?function(e){return e.match(Te)||[]}(e):function(e){return e.match(Q)||[]}(e):e.match(t)||[]}var $s=Pa((function(e,t){try{return it(e,void 0,t)}catch(e){return Bo(e)?e:new G(e)}})),Fs=Yr((function(e,t){return st(t,(function(t){t=xi(t),Vn(e,t,yo(e[t],e))})),e}));function Xs(e){return function(){return e}}var Ys=Nr(),Hs=Nr(!0);function Us(e){return e}function Vs(e){return ka("function"==typeof e?e:Jn(e,1))}var Gs=Pa((function(e,t){return function(n){return ya(n,e,t)}})),Ks=Pa((function(e,t){return function(n){return ya(e,n,t)}}));function Js(e,t,n){var a=vs(t),r=da(t,a);null!=n||Xo(t)&&(r.length||!a.length)||(n=t,t=e,e=this,r=da(t,vs(t)));var i=!(Xo(n)&&"chain"in n&&!n.chain),o=Io(e);return st(r,(function(n){var a=t[n];e[n]=a,o&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),r=n.__actions__=_r(this.__actions__);return r.push({func:a,args:arguments,thisArg:e}),n.__chain__=t,n}return a.apply(e,bt([this.value()],arguments))})})),e}function Zs(){}var Qs=Wr(mt),el=Wr(ct),tl=Wr(gt);function nl(e){return ci(e)?At(xi(e)):function(e){return function(t){return pa(t,e)}}(e)}var al=Sr(),rl=Sr(!0);function il(){return[]}function ol(){return!1}var sl=jr((function(e,t){return e+t}),0),ll=Rr("ceil"),cl=jr((function(e,t){return e/t}),1),ul=Rr("floor");var dl,pl=jr((function(e,t){return e*t}),1),ml=Rr("round"),bl=jr((function(e,t){return e-t}),0);return qn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},qn.ary=go,qn.assign=cs,qn.assignIn=us,qn.assignInWith=ds,qn.assignWith=ps,qn.at=ms,qn.before=_o,qn.bind=yo,qn.bindAll=Fs,qn.bindKey=Mo,qn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return So(e)?e:[e]},qn.chain=to,qn.chunk=function(e,t,n){t=(n?li(e,t,n):void 0===t)?1:sn(rs(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,s=a(Qt(r/t));i<r;)s[o++]=Ha(e,i,i+=t);return s},qn.compact=function(e){for(var t=-1,n=null==e?0:e.length,a=0,r=[];++t<n;){var i=e[t];i&&(r[a++]=i)}return r},qn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=a(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return bt(So(n)?_r(n):[n],oa(t,1))},qn.cond=function(e){var t=null==e?0:e.length,n=Jr();return e=t?mt(e,(function(e){if("function"!=typeof e[1])throw new ge(i);return[n(e[0]),e[1]]})):[],Pa((function(n){for(var a=-1;++a<t;){var r=e[a];if(it(r[0],this,n))return it(r[1],this,n)}}))},qn.conforms=function(e){return function(e){var t=vs(e);return function(n){return Zn(n,e,t)}}(Jn(e,1))},qn.constant=Xs,qn.countBy=ro,qn.create=function(e,t){var n=En(e);return null==t?n:Un(n,t)},qn.curry=function e(t,n,a){var r=Br(t,8,void 0,void 0,void 0,void 0,void 0,n=a?void 0:n);return r.placeholder=e.placeholder,r},qn.curryRight=function e(t,n,a){var r=Br(t,16,void 0,void 0,void 0,void 0,void 0,n=a?void 0:n);return r.placeholder=e.placeholder,r},qn.debounce=vo,qn.defaults=bs,qn.defaultsDeep=hs,qn.defer=zo,qn.delay=Oo,qn.difference=qi,qn.differenceBy=Ei,qn.differenceWith=ji,qn.drop=function(e,t,n){var a=null==e?0:e.length;return a?Ha(e,(t=n||void 0===t?1:rs(t))<0?0:t,a):[]},qn.dropRight=function(e,t,n){var a=null==e?0:e.length;return a?Ha(e,0,(t=a-(t=n||void 0===t?1:rs(t)))<0?0:t):[]},qn.dropRightWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3),!0,!0):[]},qn.dropWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3),!0):[]},qn.fill=function(e,t,n,a){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&li(e,t,n)&&(n=0,a=r),function(e,t,n,a){var r=e.length;for((n=rs(n))<0&&(n=-n>r?0:r+n),(a=void 0===a||a>r?r:rs(a))<0&&(a+=r),a=n>a?0:is(a);n<a;)e[n++]=t;return e}(e,t,n,a)):[]},qn.filter=function(e,t){return(So(e)?ut:ia)(e,Jr(t,3))},qn.flatMap=function(e,t){return oa(mo(e,t),1)},qn.flatMapDeep=function(e,t){return oa(mo(e,t),1/0)},qn.flatMapDepth=function(e,t,n){return n=void 0===n?1:rs(n),oa(mo(e,t),n)},qn.flatten=Si,qn.flattenDeep=function(e){return(null==e?0:e.length)?oa(e,1/0):[]},qn.flattenDepth=function(e,t){return(null==e?0:e.length)?oa(e,t=void 0===t?1:rs(t)):[]},qn.flip=function(e){return Br(e,512)},qn.flow=Ys,qn.flowRight=Hs,qn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,a={};++t<n;){var r=e[t];a[r[0]]=r[1]}return a},qn.functions=function(e){return null==e?[]:da(e,vs(e))},qn.functionsIn=function(e){return null==e?[]:da(e,zs(e))},qn.groupBy=co,qn.initial=function(e){return(null==e?0:e.length)?Ha(e,0,-1):[]},qn.intersection=Ci,qn.intersectionBy=Ri,qn.intersectionWith=Di,qn.invert=_s,qn.invertBy=ys,qn.invokeMap=uo,qn.iteratee=Vs,qn.keyBy=po,qn.keys=vs,qn.keysIn=zs,qn.map=mo,qn.mapKeys=function(e,t){var n={};return t=Jr(t,3),ca(e,(function(e,a,r){Vn(n,t(e,a,r),e)})),n},qn.mapValues=function(e,t){var n={};return t=Jr(t,3),ca(e,(function(e,a,r){Vn(n,a,t(e,a,r))})),n},qn.matches=function(e){return qa(Jn(e,1))},qn.matchesProperty=function(e,t){return Ea(e,Jn(t,1))},qn.memoize=ko,qn.merge=Os,qn.mergeWith=ks,qn.method=Gs,qn.methodOf=Ks,qn.mixin=Js,qn.negate=Ao,qn.nthArg=function(e){return e=rs(e),Pa((function(t){return Wa(t,e)}))},qn.omit=As,qn.omitBy=function(e,t){return ws(e,Ao(Jr(t)))},qn.once=function(e){return _o(2,e)},qn.orderBy=function(e,t,n,a){return null==e?[]:(So(t)||(t=null==t?[]:[t]),So(n=a?void 0:n)||(n=null==n?[]:[n]),La(e,t,n))},qn.over=Qs,qn.overArgs=xo,qn.overEvery=el,qn.overSome=tl,qn.partial=wo,qn.partialRight=No,qn.partition=bo,qn.pick=xs,qn.pickBy=ws,qn.property=nl,qn.propertyOf=function(e){return function(t){return null==e?void 0:pa(e,t)}},qn.pull=Bi,qn.pullAll=Ii,qn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ta(e,t,Jr(n,2)):e},qn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Ta(e,t,void 0,n):e},qn.pullAt=$i,qn.range=al,qn.rangeRight=rl,qn.rearg=qo,qn.reject=function(e,t){return(So(e)?ut:ia)(e,Ao(Jr(t,3)))},qn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var a=-1,r=[],i=e.length;for(t=Jr(t,3);++a<i;){var o=e[a];t(o,a,e)&&(n.push(o),r.push(a))}return Ca(e,r),n},qn.rest=function(e,t){if("function"!=typeof e)throw new ge(i);return Pa(e,t=void 0===t?t:rs(t))},qn.reverse=Fi,qn.sampleSize=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rs(t),(So(e)?In:Ia)(e,t)},qn.set=function(e,t,n){return null==e?e:$a(e,t,n)},qn.setWith=function(e,t,n,a){return a="function"==typeof a?a:void 0,null==e?e:$a(e,t,n,a)},qn.shuffle=function(e){return(So(e)?$n:Ya)(e)},qn.slice=function(e,t,n){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&li(e,t,n)?(t=0,n=a):(t=null==t?0:rs(t),n=void 0===n?a:rs(n)),Ha(e,t,n)):[]},qn.sortBy=ho,qn.sortedUniq=function(e){return e&&e.length?Ka(e):[]},qn.sortedUniqBy=function(e,t){return e&&e.length?Ka(e,Jr(t,2)):[]},qn.split=function(e,t,n){return n&&"number"!=typeof n&&li(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ls(e))&&("string"==typeof t||null!=t&&!Go(t))&&!(t=Za(t))&&Bt(e)?ur(Ut(e),0,n):e.split(t,n):[]},qn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:sn(rs(t),0),Pa((function(n){var a=n[t],r=ur(n,0,t);return a&&bt(r,a),it(e,this,r)}))},qn.tail=function(e){var t=null==e?0:e.length;return t?Ha(e,1,t):[]},qn.take=function(e,t,n){return e&&e.length?Ha(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},qn.takeRight=function(e,t,n){var a=null==e?0:e.length;return a?Ha(e,(t=a-(t=n||void 0===t?1:rs(t)))<0?0:t,a):[]},qn.takeRightWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3),!1,!0):[]},qn.takeWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3)):[]},qn.tap=function(e,t){return t(e),e},qn.throttle=function(e,t,n){var a=!0,r=!0;if("function"!=typeof e)throw new ge(i);return Xo(n)&&(a="leading"in n?!!n.leading:a,r="trailing"in n?!!n.trailing:r),vo(e,t,{leading:a,maxWait:t,trailing:r})},qn.thru=no,qn.toArray=ns,qn.toPairs=Ns,qn.toPairsIn=qs,qn.toPath=function(e){return So(e)?mt(e,xi):Zo(e)?[e]:_r(Ai(ls(e)))},qn.toPlainObject=ss,qn.transform=function(e,t,n){var a=So(e),r=a||Do(e)||Qo(e);if(t=Jr(t,4),null==n){var i=e&&e.constructor;n=r?a?new i:[]:Xo(e)&&Io(i)?En($e(e)):{}}return(r?st:ca)(e,(function(e,a,r){return t(n,e,a,r)})),n},qn.unary=function(e){return go(e,1)},qn.union=Xi,qn.unionBy=Yi,qn.unionWith=Hi,qn.uniq=function(e){return e&&e.length?Qa(e):[]},qn.uniqBy=function(e,t){return e&&e.length?Qa(e,Jr(t,2)):[]},qn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qa(e,void 0,t):[]},qn.unset=function(e,t){return null==e||er(e,t)},qn.unzip=Ui,qn.unzipWith=Vi,qn.update=function(e,t,n){return null==e?e:tr(e,t,sr(n))},qn.updateWith=function(e,t,n,a){return a="function"==typeof a?a:void 0,null==e?e:tr(e,t,sr(n),a)},qn.values=Es,qn.valuesIn=function(e){return null==e?[]:Wt(e,zs(e))},qn.without=Gi,qn.words=Is,qn.wrap=function(e,t){return wo(sr(t),e)},qn.xor=Ki,qn.xorBy=Ji,qn.xorWith=Zi,qn.zip=Qi,qn.zipObject=function(e,t){return ir(e||[],t||[],Xn)},qn.zipObjectDeep=function(e,t){return ir(e||[],t||[],$a)},qn.zipWith=eo,qn.entries=Ns,qn.entriesIn=qs,qn.extend=us,qn.extendWith=ds,Js(qn,qn),qn.add=sl,qn.attempt=$s,qn.camelCase=js,qn.capitalize=Ws,qn.ceil=ll,qn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==t&&(t=(t=os(t))==t?t:0),Kn(os(e),t,n)},qn.clone=function(e){return Jn(e,4)},qn.cloneDeep=function(e){return Jn(e,5)},qn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},qn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},qn.conformsTo=function(e,t){return null==t||Zn(e,t,vs(t))},qn.deburr=Ls,qn.defaultTo=function(e,t){return null==e||e!=e?t:e},qn.divide=cl,qn.endsWith=function(e,t,n){e=ls(e),t=Za(t);var a=e.length,r=n=void 0===n?a:Kn(rs(n),0,a);return(n-=t.length)>=0&&e.slice(n,r)==t},qn.eq=Eo,qn.escape=function(e){return(e=ls(e))&&P.test(e)?e.replace(R,Dt):e},qn.escapeRegExp=function(e){return(e=ls(e))&&U.test(e)?e.replace(H,"\\$&"):e},qn.every=function(e,t,n){var a=So(e)?ct:aa;return n&&li(e,t,n)&&(t=void 0),a(e,Jr(t,3))},qn.find=io,qn.findIndex=Wi,qn.findKey=function(e,t){return yt(e,Jr(t,3),ca)},qn.findLast=oo,qn.findLastIndex=Li,qn.findLastKey=function(e,t){return yt(e,Jr(t,3),ua)},qn.floor=ul,qn.forEach=so,qn.forEachRight=lo,qn.forIn=function(e,t){return null==e?e:sa(e,Jr(t,3),zs)},qn.forInRight=function(e,t){return null==e?e:la(e,Jr(t,3),zs)},qn.forOwn=function(e,t){return e&&ca(e,Jr(t,3))},qn.forOwnRight=function(e,t){return e&&ua(e,Jr(t,3))},qn.get=fs,qn.gt=jo,qn.gte=Wo,qn.has=function(e,t){return null!=e&&ri(e,t,fa)},qn.hasIn=gs,qn.head=Ti,qn.identity=Us,qn.includes=function(e,t,n,a){e=Co(e)?e:Es(e),n=n&&!a?rs(n):0;var r=e.length;return n<0&&(n=sn(r+n,0)),Jo(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&vt(e,t,n)>-1},qn.indexOf=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(a+r,0)),vt(e,t,r)},qn.inRange=function(e,t,n){return t=as(t),void 0===n?(n=t,t=0):n=as(n),function(e,t,n){return e>=ln(t,n)&&e<sn(t,n)}(e=os(e),t,n)},qn.invoke=Ms,qn.isArguments=Lo,qn.isArray=So,qn.isArrayBuffer=To,qn.isArrayLike=Co,qn.isArrayLikeObject=Ro,qn.isBoolean=function(e){return!0===e||!1===e||Yo(e)&&ba(e)==u},qn.isBuffer=Do,qn.isDate=Po,qn.isElement=function(e){return Yo(e)&&1===e.nodeType&&!Vo(e)},qn.isEmpty=function(e){if(null==e)return!0;if(Co(e)&&(So(e)||"string"==typeof e||"function"==typeof e.splice||Do(e)||Qo(e)||Lo(e)))return!e.length;var t=ai(e);if(t==h||t==y)return!e.size;if(pi(e))return!Aa(e).length;for(var n in e)if(Oe.call(e,n))return!1;return!0},qn.isEqual=function(e,t){return va(e,t)},qn.isEqualWith=function(e,t,n){var a=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===a?va(e,t,void 0,n):!!a},qn.isError=Bo,qn.isFinite=function(e){return"number"==typeof e&&an(e)},qn.isFunction=Io,qn.isInteger=$o,qn.isLength=Fo,qn.isMap=Ho,qn.isMatch=function(e,t){return e===t||za(e,t,Qr(t))},qn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,za(e,t,Qr(t),n)},qn.isNaN=function(e){return Uo(e)&&e!=+e},qn.isNative=function(e){if(di(e))throw new G("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Oa(e)},qn.isNil=function(e){return null==e},qn.isNull=function(e){return null===e},qn.isNumber=Uo,qn.isObject=Xo,qn.isObjectLike=Yo,qn.isPlainObject=Vo,qn.isRegExp=Go,qn.isSafeInteger=function(e){return $o(e)&&e>=-9007199254740991&&e<=9007199254740991},qn.isSet=Ko,qn.isString=Jo,qn.isSymbol=Zo,qn.isTypedArray=Qo,qn.isUndefined=function(e){return void 0===e},qn.isWeakMap=function(e){return Yo(e)&&ai(e)==z},qn.isWeakSet=function(e){return Yo(e)&&"[object WeakSet]"==ba(e)},qn.join=function(e,t){return null==e?"":rn.call(e,t)},qn.kebabCase=Ss,qn.last=Pi,qn.lastIndexOf=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=a;return void 0!==n&&(r=(r=rs(n))<0?sn(a+r,0):ln(r,a-1)),t==t?function(e,t,n){for(var a=n+1;a--;)if(e[a]===t)return a;return a}(e,t,r):Mt(e,Ot,r,!0)},qn.lowerCase=Ts,qn.lowerFirst=Cs,qn.lt=es,qn.lte=ts,qn.max=function(e){return e&&e.length?ra(e,Us,ha):void 0},qn.maxBy=function(e,t){return e&&e.length?ra(e,Jr(t,2),ha):void 0},qn.mean=function(e){return kt(e,Us)},qn.meanBy=function(e,t){return kt(e,Jr(t,2))},qn.min=function(e){return e&&e.length?ra(e,Us,wa):void 0},qn.minBy=function(e,t){return e&&e.length?ra(e,Jr(t,2),wa):void 0},qn.stubArray=il,qn.stubFalse=ol,qn.stubObject=function(){return{}},qn.stubString=function(){return""},qn.stubTrue=function(){return!0},qn.multiply=pl,qn.nth=function(e,t){return e&&e.length?Wa(e,rs(t)):void 0},qn.noConflict=function(){return Ue._===this&&(Ue._=Ne),this},qn.noop=Zs,qn.now=fo,qn.pad=function(e,t,n){e=ls(e);var a=(t=rs(t))?Ht(e):0;if(!t||a>=t)return e;var r=(t-a)/2;return Lr(en(r),n)+e+Lr(Qt(r),n)},qn.padEnd=function(e,t,n){e=ls(e);var a=(t=rs(t))?Ht(e):0;return t&&a<t?e+Lr(t-a,n):e},qn.padStart=function(e,t,n){e=ls(e);var a=(t=rs(t))?Ht(e):0;return t&&a<t?Lr(t-a,n)+e:e},qn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(ls(e).replace(V,""),t||0)},qn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&li(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=as(e),void 0===t?(t=e,e=0):t=as(t)),e>t){var a=e;e=t,t=a}if(n||e%1||t%1){var r=dn();return ln(e+r*(t-e+Fe("1e-"+((r+"").length-1))),t)}return Ra(e,t)},qn.reduce=function(e,t,n){var a=So(e)?ht:wt,r=arguments.length<3;return a(e,Jr(t,4),n,r,ta)},qn.reduceRight=function(e,t,n){var a=So(e)?ft:wt,r=arguments.length<3;return a(e,Jr(t,4),n,r,na)},qn.repeat=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rs(t),Da(ls(e),t)},qn.replace=function(){var e=arguments,t=ls(e[0]);return e.length<3?t:t.replace(e[1],e[2])},qn.result=function(e,t,n){var a=-1,r=(t=lr(t,e)).length;for(r||(r=1,e=void 0);++a<r;){var i=null==e?void 0:e[xi(t[a])];void 0===i&&(a=r,i=n),e=Io(i)?i.call(e):i}return e},qn.round=ml,qn.runInContext=e,qn.sample=function(e){return(So(e)?Bn:Ba)(e)},qn.size=function(e){if(null==e)return 0;if(Co(e))return Jo(e)?Ht(e):e.length;var t=ai(e);return t==h||t==y?e.size:Aa(e).length},qn.snakeCase=Rs,qn.some=function(e,t,n){var a=So(e)?gt:Ua;return n&&li(e,t,n)&&(t=void 0),a(e,Jr(t,3))},qn.sortedIndex=function(e,t){return Va(e,t)},qn.sortedIndexBy=function(e,t,n){return Ga(e,t,Jr(n,2))},qn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var a=Va(e,t);if(a<n&&Eo(e[a],t))return a}return-1},qn.sortedLastIndex=function(e,t){return Va(e,t,!0)},qn.sortedLastIndexBy=function(e,t,n){return Ga(e,t,Jr(n,2),!0)},qn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Va(e,t,!0)-1;if(Eo(e[n],t))return n}return-1},qn.startCase=Ds,qn.startsWith=function(e,t,n){return e=ls(e),n=null==n?0:Kn(rs(n),0,e.length),t=Za(t),e.slice(n,n+t.length)==t},qn.subtract=bl,qn.sum=function(e){return e&&e.length?Nt(e,Us):0},qn.sumBy=function(e,t){return e&&e.length?Nt(e,Jr(t,2)):0},qn.template=function(e,t,n){var a=qn.templateSettings;n&&li(e,t,n)&&(t=void 0),e=ls(e),t=ds({},t,a,Ir);var r,i,o=ds({},t.imports,a.imports,Ir),s=vs(o),l=Wt(o,s),c=0,u=t.interpolate||ue,d="__p += '",p=he((t.escape||ue).source+"|"+u.source+"|"+(u===$?ne:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),m="//# sourceURL="+(Oe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pe+"]")+"\n";e.replace(p,(function(t,n,a,o,s,l){return a||(a=o),d+=e.slice(c,l).replace(de,Pt),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(i=!0,d+="';\n"+s+";\n__p += '"),a&&(d+="' +\n((__t = ("+a+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var b=Oe.call(t,"variable")&&t.variable;if(b){if(ee.test(b))throw new G("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(i?d.replace(L,""):d).replace(S,"$1").replace(T,"$1;"),d="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var h=$s((function(){return pe(s,m+"return "+d).apply(void 0,l)}));if(h.source=d,Bo(h))throw h;return h},qn.times=function(e,t){if((e=rs(e))<1||e>9007199254740991)return[];var n=4294967295,a=ln(e,4294967295);e-=4294967295;for(var r=qt(a,t=Jr(t));++n<e;)t(n);return r},qn.toFinite=as,qn.toInteger=rs,qn.toLength=is,qn.toLower=function(e){return ls(e).toLowerCase()},qn.toNumber=os,qn.toSafeInteger=function(e){return e?Kn(rs(e),-9007199254740991,9007199254740991):0===e?e:0},qn.toString=ls,qn.toUpper=function(e){return ls(e).toUpperCase()},qn.trim=function(e,t,n){if((e=ls(e))&&(n||void 0===t))return Et(e);if(!e||!(t=Za(t)))return e;var a=Ut(e),r=Ut(t);return ur(a,St(a,r),Tt(a,r)+1).join("")},qn.trimEnd=function(e,t,n){if((e=ls(e))&&(n||void 0===t))return e.slice(0,Vt(e)+1);if(!e||!(t=Za(t)))return e;var a=Ut(e);return ur(a,0,Tt(a,Ut(t))+1).join("")},qn.trimStart=function(e,t,n){if((e=ls(e))&&(n||void 0===t))return e.replace(V,"");if(!e||!(t=Za(t)))return e;var a=Ut(e);return ur(a,St(a,Ut(t))).join("")},qn.truncate=function(e,t){var n=30,a="...";if(Xo(t)){var r="separator"in t?t.separator:r;n="length"in t?rs(t.length):n,a="omission"in t?Za(t.omission):a}var i=(e=ls(e)).length;if(Bt(e)){var o=Ut(e);i=o.length}if(n>=i)return e;var s=n-Ht(a);if(s<1)return a;var l=o?ur(o,0,s).join(""):e.slice(0,s);if(void 0===r)return l+a;if(o&&(s+=l.length-s),Go(r)){if(e.slice(s).search(r)){var c,u=l;for(r.global||(r=he(r.source,ls(ae.exec(r))+"g")),r.lastIndex=0;c=r.exec(u);)var d=c.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(Za(r),s)!=s){var p=l.lastIndexOf(r);p>-1&&(l=l.slice(0,p))}return l+a},qn.unescape=function(e){return(e=ls(e))&&D.test(e)?e.replace(C,Gt):e},qn.uniqueId=function(e){var t=++ke;return ls(e)+t},qn.upperCase=Ps,qn.upperFirst=Bs,qn.each=so,qn.eachRight=lo,qn.first=Ti,Js(qn,(dl={},ca(qn,(function(e,t){Oe.call(qn.prototype,t)||(dl[t]=e)})),dl),{chain:!1}),qn.VERSION="4.17.21",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){qn[e].placeholder=qn})),st(["drop","take"],(function(e,t){Ln.prototype[e]=function(n){n=void 0===n?1:sn(rs(n),0);var a=this.__filtered__&&!t?new Ln(this):this.clone();return a.__filtered__?a.__takeCount__=ln(n,a.__takeCount__):a.__views__.push({size:ln(n,4294967295),type:e+(a.__dir__<0?"Right":"")}),a},Ln.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,a=1==n||3==n;Ln.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jr(e,3),type:n}),t.__filtered__=t.__filtered__||a,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ln.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ln.prototype[e]=function(){return this.__filtered__?new Ln(this):this[n](1)}})),Ln.prototype.compact=function(){return this.filter(Us)},Ln.prototype.find=function(e){return this.filter(e).head()},Ln.prototype.findLast=function(e){return this.reverse().find(e)},Ln.prototype.invokeMap=Pa((function(e,t){return"function"==typeof e?new Ln(this):this.map((function(n){return ya(n,e,t)}))})),Ln.prototype.reject=function(e){return this.filter(Ao(Jr(e)))},Ln.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ln(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Ln.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ln.prototype.toArray=function(){return this.take(4294967295)},ca(Ln.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),r=qn[a?"take"+("last"==t?"Right":""):t],i=a||/^find/.test(t);r&&(qn.prototype[t]=function(){var t=this.__wrapped__,o=a?[1]:arguments,s=t instanceof Ln,l=o[0],c=s||So(t),u=function(e){var t=r.apply(qn,bt([e],o));return a&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var d=this.__chain__,p=!!this.__actions__.length,m=i&&!d,b=s&&!p;if(!i&&c){t=b?t:new Ln(this);var h=e.apply(t,o);return h.__actions__.push({func:no,args:[u],thisArg:void 0}),new Wn(h,d)}return m&&b?e.apply(this,o):(h=this.thru(u),m?a?h.value()[0]:h.value():h)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=_e[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);qn.prototype[e]=function(){var e=arguments;if(a&&!this.__chain__){var r=this.value();return t.apply(So(r)?r:[],e)}return this[n]((function(n){return t.apply(So(n)?n:[],e)}))}})),ca(Ln.prototype,(function(e,t){var n=qn[t];if(n){var a=n.name+"";Oe.call(Mn,a)||(Mn[a]=[]),Mn[a].push({name:t,func:n})}})),Mn[qr(void 0,2).name]=[{name:"wrapper",func:void 0}],Ln.prototype.clone=function(){var e=new Ln(this.__wrapped__);return e.__actions__=_r(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_r(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_r(this.__views__),e},Ln.prototype.reverse=function(){if(this.__filtered__){var e=new Ln(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ln.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=So(e),a=t<0,r=n?e.length:0,i=function(e,t,n){var a=-1,r=n.length;for(;++a<r;){var i=n[a],o=i.size;switch(i.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=ln(t,e+o);break;case"takeRight":e=sn(e,t-o)}}return{start:e,end:t}}(0,r,this.__views__),o=i.start,s=i.end,l=s-o,c=a?s:o-1,u=this.__iteratees__,d=u.length,p=0,m=ln(l,this.__takeCount__);if(!n||!a&&r==l&&m==l)return ar(e,this.__actions__);var b=[];e:for(;l--&&p<m;){for(var h=-1,f=e[c+=t];++h<d;){var g=u[h],_=g.iteratee,y=g.type,M=_(f);if(2==y)f=M;else if(!M){if(1==y)continue e;break e}}b[p++]=f}return b},qn.prototype.at=ao,qn.prototype.chain=function(){return to(this)},qn.prototype.commit=function(){return new Wn(this.value(),this.__chain__)},qn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},qn.prototype.plant=function(e){for(var t,n=this;n instanceof jn;){var a=Ni(n);a.__index__=0,a.__values__=void 0,t?r.__wrapped__=a:t=a;var r=a;n=n.__wrapped__}return r.__wrapped__=e,t},qn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ln){var t=e;return this.__actions__.length&&(t=new Ln(this)),(t=t.reverse()).__actions__.push({func:no,args:[Fi],thisArg:void 0}),new Wn(t,this.__chain__)}return this.thru(Fi)},qn.prototype.toJSON=qn.prototype.valueOf=qn.prototype.value=function(){return ar(this.__wrapped__,this.__actions__)},qn.prototype.first=qn.prototype.head,Je&&(qn.prototype[Je]=function(){return this}),qn}();Ue._=Kt,void 0===(r=function(){return Kt}.call(t,n,t,a))||(a.exports=r)}).call(this)}).call(this,n(169),n(178)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var a=n(39);function r(e){return e instanceof Object(a.a)(e).Element||e instanceof Element}function i(e){return e instanceof Object(a.a)(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Object(a.a)(e).ShadowRoot||e instanceof ShadowRoot)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(8),u=n(42);t.a=function(e){var t=e.active,n=void 0!==t&&t,a=e.aria,i=void 0===a?{}:a,d=e.children,p=e.className,m=e.data,b=void 0===m?{}:m,h=e.iconLeft,f=e.iconRight,g=e.id,_=e.imageUrl,y=e.link,M=e.onClick,v=void 0===M?function(){}:M,z=e.target,O=void 0===z?"_self":z,k=e.text,A=void 0===k?"":k,x=y?"a":"div",w=!0===n?"active":"",N=Object(s.a)(i),q=Object(s.c)(b),E=o()(Object(s.b)("pb_nav_list_kit_item",w),Object(l.c)(e),p);return r.a.createElement("li",Object.assign({},N,q,{className:E,id:g}),r.a.createElement(x,{className:"pb_nav_list_item_link",href:y,onClick:v,target:O},_&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:_},r.a.createElement(u.a,{className:"pb_nav_img_wrapper",url:_})),h&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:h},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_left",fixedWidth:!0,icon:h})),r.a.createElement("span",{className:"pb_nav_list_item_text"},A||d),f&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:f},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_right",fixedWidth:!0,icon:f}))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.children,i=e.className,u=e.data,d=void 0===u?{}:u,p=e.disabled,m=e.icon,b=void 0===m?null:m,h=e.iconRight,f=void 0!==h&&h,g=e.id,_=e.loading,y=void 0!==_&&_,M=e.onClick,v=e.tabIndex,z=e.link,O=void 0===z?null:z,k=e.newWindow,A=void 0!==k&&k,x=e.target,w=void 0===x?"":x,N=e.text,q=e.htmlType,E=void 0===q?"button":q,j=e.value,W=e.form,L=void 0===W?null:W,S=Object(s.a)(n),T=Object(s.c)(d),C=o()(function(e){var t=e.disabled,n=void 0!==t&&t,a=e.fullWidth,r=void 0!==a&&a,i=e.loading,o=void 0!==i&&i,s=e.type,l=void 0===s?"inline":s,c=e.variant,u=void 0===c?"primary":c,d=e.size,p=void 0===d?null:d,m="pb_button_kit";return m+="".concat(null!==u?"_".concat(u):""),m+="".concat(null!==l?"_".concat(l):""),m+="".concat(r?"_block":""),m+=n?"_disabled":"_enabled",m+=o?"_loading":"",m+="".concat(null!==p?" size_".concat(p):"")}(e),Object(l.c)(e),i),R=r.a.createElement("div",{className:"loading-icon"},r.a.createElement(c.a,{fixedWidth:!0,icon:"spinner",pulse:!0})),D=r.a.createElement("span",{className:"pb_button_content"},b&&!f&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(b," fa-fw button_with_icon")}),r.a.createElement("span",null,N||a),b&&f&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(b," fa-fw button_with_icon_right")})),P=function(){return y?r.a.createElement(r.a.Fragment,null,R):D};return r.a.createElement(r.a.Fragment,null,O?r.a.createElement("a",Object.assign({},S,T,{className:C,href:O,id:g,rel:"child"!==w?"noreferrer":null,role:"link",tabIndex:v,target:w&&O?w:A?"_blank":null}),P()):r.a.createElement("button",Object.assign({},S,T,{className:C,disabled:p,form:L,id:g,onClick:M,role:"button",tabIndex:v,type:E,value:j}),P()))}},function(e,t,n){"use strict";var a;!function(r,i){e.exports?(i.default=i,e.exports=r.document?i(r):i):void 0===(a=function(){return i(r)}.call(t,n,t,e))||(e.exports=a)}("undefined"!=typeof window?window:this,(function(e){function t(e,t,n,a){e.hasOwnProperty(t)||(e[t]=a.apply(null,n))}var n={};return t(n,"Core/Globals.js",[],(function(){var t,n=void 0!==e?e:"undefined"!=typeof window?window:{};return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="9.3.3",e.win=n,e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&4>parseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,n),e.win.removeEventListener("testPassive",e.noop,n))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(t||(t={})),t})),t(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(e){function t(n,a,r,i){var o=a?"Highcharts error":"Highcharts warning";32===n&&(n=o+": Deprecated member");var s=l(n),c=s?o+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==i){var u="";s&&(c+="?"),h(i,(function(e,t){u+="\n - "+t+": "+e,s&&(c+=encodeURI(t)+"="+encodeURI(e))})),c+=u}g(e,"displayError",{chart:r,code:n,message:c,params:i},(function(){if(a)throw Error(c);M.console&&-1===t.messages.indexOf(c)&&console.warn(c)})),t.messages.push(c)}function n(e,t){return parseInt(e,t||10)}function a(e){return"string"==typeof e}function r(e){return"[object Array]"===(e=Object.prototype.toString.call(e))||"[object Array Iterator]"===e}function i(e,t){return!(!e||"object"!=typeof e||t&&r(e))}function o(e){return i(e)&&"number"==typeof e.nodeType}function s(e){var t=e&&e.constructor;return!(!i(e,!0)||o(e)||!t||!t.name||"Object"===t.name)}function l(e){return"number"==typeof e&&!isNaN(e)&&1/0>e&&-1/0<e}function c(e){return null!=e}function u(e,t,n){var r;return a(t)?c(n)?e.setAttribute(t,n):e&&e.getAttribute&&((r=e.getAttribute(t))||"class"!==t||(r=e.getAttribute(t+"Name"))):h(t,(function(t,n){c(t)?e.setAttribute(n,t):e.removeAttribute(n)})),r}function d(e,t){var n;for(n in e||(e={}),t)e[n]=t[n];return e}function p(){for(var e=arguments,t=e.length,n=0;n<t;n++){var a=e[n];if(null!=a)return a}}function m(t,n){e.isMS&&!e.svg&&n&&void 0!==n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")"),d(t.style,n)}function b(e,t){return 1e14<e?e:parseFloat(e.toPrecision(t||14))}function h(e,t,n){for(var a in e)Object.hasOwnProperty.call(e,a)&&t.call(n||e[a],e[a],a,e)}function f(t,n,a){function r(n,a){var r=t.removeEventListener||e.removeEventListenerPolyfill;r&&r.call(t,n,a,!1)}function i(e){var a;if(t.nodeName){if(n){var i={};i[n]=!0}else i=e;h(i,(function(t,n){if(e[n])for(a=e[n].length;a--;)r(n,e[n][a].fn)}))}}var o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){var s=o.hcEvents;n?(o=s[n]||[],a?(s[n]=o.filter((function(e){return a!==e.fn})),r(n,a)):(i(s),s[n]=[])):(i(s),delete o.hcEvents)}}function g(t,n,a,r){if(a=a||{},y.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==e)){var i=y.createEvent("Events");i.initEvent(n,!0,!0),a=d(i,a),t.dispatchEvent?t.dispatchEvent(a):t.fireEvent(n,a)}else if(t.hcEvents){a.target||d(a,{preventDefault:function(){a.defaultPrevented=!0},target:t,type:n}),i=[];for(var o=t,s=!1;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[n]&&(i.length&&(s=!0),i.unshift.apply(i,o.hcEvents[n])),o=Object.getPrototypeOf(o);s&&i.sort((function(e,t){return e.order-t.order})),i.forEach((function(e){!1===e.fn.call(t,a)&&a.preventDefault()}))}r&&!a.defaultPrevented&&r.call(t,a)}var _=e.charts,y=e.doc,M=e.win;(t||(t={})).messages=[],Math.easeInOutSine=function(e){return-.5*(Math.cos(Math.PI*e)-1)};var v=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){var n,a=e.length;for(n=0;n<a;n++)if(t(e[n],n))return e[n]};h({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,a){e[a]=function(e){var r;return t(32,!1,void 0,((r={})["Highcharts."+a]="use Array."+n,r)),Array.prototype[n].apply(e,[].slice.call(arguments,1))}}));var z,O=function(){var e=Math.random().toString(36).substring(2,9)+"-",t=0;return function(){return"highcharts-"+(z?"":e)+t++}}();return M.jQuery&&(M.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new(e[a(t[0])?t.shift():"Chart"])(this[0],t[0],t[1]),this):_[u(this[0],"data-highcharts-chart")]}),v={addEvent:function(t,n,a,r){void 0===r&&(r={});var i="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(i,"hcEvents")||(i.hcEvents={}),i=i.hcEvents,e.Point&&t instanceof e.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);var o=t.addEventListener||e.addEventListenerPolyfill;return o&&o.call(t,n,a,!!e.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),i[n]||(i[n]=[]),i[n].push({fn:a,order:"number"==typeof r.order?r.order:1/0}),i[n].sort((function(e,t){return e.order-t.order})),function(){f(t,n,a)}},arrayMax:function(e){for(var t=e.length,n=e[0];t--;)e[t]>n&&(n=e[t]);return n},arrayMin:function(e){for(var t=e.length,n=e[0];t--;)e[t]<n&&(n=e[t]);return n},attr:u,clamp:function(e,t,n){return e>t?e<n?e:n:t},cleanRecursively:function e(t,n){var a={};return h(t,(function(r,o){i(t[o],!0)&&!t.nodeType&&n[o]?(r=e(t[o],n[o]),Object.keys(r).length&&(a[o]=r)):(i(t[o])||t[o]!==n[o])&&(a[o]=t[o])})),a},clearTimeout:function(e){c(e)&&clearTimeout(e)},correctFloat:b,createElement:function(e,t,n,a,r){return e=y.createElement(e),t&&d(e,t),r&&m(e,{padding:"0",border:"none",margin:"0"}),n&&m(e,n),a&&a.appendChild(e),e},css:m,defined:c,destroyObjectProperties:function(e,t){h(e,(function(n,a){n&&n!==t&&n.destroy&&n.destroy(),delete e[a]}))},discardElement:function(e){e&&e.parentElement&&e.parentElement.removeChild(e)},erase:function(e,t){for(var n=e.length;n--;)if(e[n]===t){e.splice(n,1);break}},error:t,extend:d,extendClass:function(e,t){var n=function(){};return d(n.prototype=new e,t),n},find:v,fireEvent:g,getMagnitude:function(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))},getNestedProperty:function(e,t){for(e=e.split(".");e.length&&c(t);){var n=e.shift();if(void 0===n||"__proto__"===n)return;if(!c(t=t[n])||"function"==typeof t||"number"==typeof t.nodeType||t===M)return}return t},getStyle:function a(r,i,o){var s=e.getStyle||a;if("width"===i)return i=Math.min(r.offsetWidth,r.scrollWidth),(o=r.getBoundingClientRect&&r.getBoundingClientRect().width)<i&&o>=i-1&&(i=Math.floor(o)),Math.max(0,i-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===i)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(M.getComputedStyle||t(27,!0),r=M.getComputedStyle(r,void 0)){var l=r.getPropertyValue(i);p(o,"opacity"!==i)&&(l=n(l))}return l},inArray:function(e,n,a){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(e,a)},isArray:r,isClass:s,isDOMElement:o,isFunction:function(e){return"function"==typeof e},isNumber:l,isObject:i,isString:a,keys:function(e){return t(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(e)},merge:function(){var e,t=arguments,n={},a=function(e,t){return"object"!=typeof e&&(e={}),h(t,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!i(n,!0)||s(n)||o(n)?e[r]=t[r]:e[r]=a(e[r]||{},n))})),e};!0===t[0]&&(n=t[1],t=Array.prototype.slice.call(t,2));var r=t.length;for(e=0;e<r;e++)n=a(n,t[e]);return n},normalizeTickInterval:function(e,t,n,a,r){var i=e,o=e/(n=p(n,1));for(t||(t=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===a&&(1===n?t=t.filter((function(e){return 0==e%1})):.1>=n&&(t=[1/n]))),a=0;a<t.length&&(i=t[a],!(r&&i*n>=e||!r&&o<=(t[a]+(t[a+1]||t[a]))/2));a++);return b(i*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:h,offset:function(e){var t=y.documentElement;return{top:(e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(M.pageYOffset||t.scrollTop)-(t.clientTop||0),left:e.left+(M.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:e.width,height:e.height}},pad:function(e,t,n){return Array((t||2)+1-String(e).replace("-","").length).join(n||"0")+e},pick:p,pInt:n,relativeLength:function(e,t,n){return/%$/.test(e)?t*parseFloat(e)/100+(n||0):parseFloat(e)},removeEvent:f,splat:function(e){return r(e)?e:[e]},stableSort:function(e,t){var n,a,r=e.length;for(a=0;a<r;a++)e[a].safeI=a;for(e.sort((function(e,a){return 0===(n=t(e,a))?e.safeI-a.safeI:n})),a=0;a<r;a++)delete e[a].safeI},syncTimeout:function(e,t,n){return 0<t?setTimeout(e,t,n):(e.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:O,useSerialIds:function(e){return z=p(e,z)},wrap:function(e,t,n){var a=e[t];e[t]=function(){var e=Array.prototype.slice.call(arguments),t=arguments,r=this;return r.proceed=function(){a.apply(r,arguments.length?arguments:t)},e.unshift(a),e=n.apply(this,e),r.proceed=null,e}}}})),t(n,"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"}})),t(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=t.isNumber,a=t.merge,r=t.pInt;return t=function(){function t(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var a=e.Color;return a&&a!==t?new a(n):this instanceof t?void this.init(n):new t(n)}return t.parse=function(e){return e?new t(e):t.None},t.prototype.init=function(e){var n;if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map((function(e){return new t(e[1])}));else if("string"==typeof e){if(this.input=e=t.names[e.toLowerCase()]||e,"#"===e.charAt(0)){var a=e.length,r=parseInt(e.substr(1),16);7===a?n=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===a&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=t.parsers.length;r--&&!n;){var i=t.parsers[r];(a=i.regex.exec(e))&&(n=i.parse(a))}}n&&(this.rgba=n)},t.prototype.get=function(e){var t=this.input,r=this.rgba;if("object"==typeof t&&void 0!==this.stops){var i=a(t);return i.stops=[].slice.call(i.stops),this.stops.forEach((function(t,n){i.stops[n]=[i.stops[n][0],t.get(e)]})),i}return r&&n(r[0])?"rgb"===e||!e&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===e?""+r[3]:"rgba("+r.join(",")+")":t},t.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach((function(t){t.brighten(e)}));else if(n(e)&&0!==e)for(var a=0;3>a;a++)t[a]+=r(255*e),0>t[a]&&(t[a]=0),255<t[a]&&(t[a]=255);return this},t.prototype.setOpacity=function(e){return this.rgba[3]=e,this},t.prototype.tweenTo=function(e,t){var a=this.rgba,r=e.rgba;return n(a[0])&&n(r[0])?((e=1!==r[3]||1!==a[3])?"rgba(":"rgb(")+Math.round(r[0]+(a[0]-r[0])*(1-t))+","+Math.round(r[1]+(a[1]-r[1])*(1-t))+","+Math.round(r[2]+(a[2]-r[2])*(1-t))+(e?","+(r[3]+(a[3]-r[3])*(1-t)):"")+")":e.input||"none"},t.names={white:"#ffffff",black:"#000000"},t.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(e){return[r(e[1]),r(e[2]),r(e[3]),parseFloat(e[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(e){return[r(e[1]),r(e[2]),r(e[3]),1]}}],t.None=new t(""),t}()})),t(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),t(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=e.win,a=t.defined,r=t.error,i=t.extend,o=t.isObject,s=t.merge,l=t.objectEach,c=t.pad,u=t.pick,d=t.splat,p=t.timeUnits,m=e.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,b=e.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return t=function(){function t(e){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(e)}return t.prototype.get=function(e,t){if(this.variableTimezone||this.timezoneOffset){var n=t.getTime(),a=n-this.getTimezoneOffset(t);return t.setTime(a),e=t["getUTC"+e](),t.setTime(n),e}return this.useUTC?t["getUTC"+e]():t["get"+e]()},t.prototype.set=function(e,t,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===e||"Seconds"===e||"Minutes"===e&&0==this.getTimezoneOffset(t)%36e5)return t["setUTC"+e](n);var a=this.getTimezoneOffset(t);return a=t.getTime()-a,t.setTime(a),t["setUTC"+e](n),e=this.getTimezoneOffset(t),a=t.getTime()+e,t.setTime(a)}return this.useUTC||m&&"FullYear"===e?t["setUTC"+e](n):t["set"+e](n)},t.prototype.update=function(e){var t=u(e&&e.useUTC,!0);this.options=e=s(!0,this.options||{},e),this.Date=e.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=t)&&e.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=t&&!(!e.getTimezoneOffset&&!e.timezone)},t.prototype.makeTime=function(e,t,n,a,r,i){if(this.useUTC){var o=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(o);o+=s;var l=this.getTimezoneOffset(o);s!==l?o+=l-s:s-36e5!==this.getTimezoneOffset(o-36e5)||b||(o-=36e5)}else o=new this.Date(e,t,u(n,1),u(a,0),u(r,0),u(i,0)).getTime();return o},t.prototype.timezoneOffsetFunction=function(){var e=this,t=this.options,a=t.getTimezoneOffset,i=t.moment||n.moment;if(!this.useUTC)return function(e){return 6e4*new Date(e.toString()).getTimezoneOffset()};if(t.timezone){if(i)return function(e){return 6e4*-i.tz(e,t.timezone).utcOffset()};r(25)}return this.useUTC&&a?function(e){return 6e4*a(e.valueOf())}:function(){return 6e4*(e.timezoneOffset||0)}},t.prototype.dateFormat=function(t,n,r){if(!a(n)||isNaN(n))return e.defaultOptions.lang&&e.defaultOptions.lang.invalidDate||"";t=u(t,"%Y-%m-%d %H:%M:%S");var o=this,s=new this.Date(n),d=this.get("Hours",s),p=this.get("Day",s),m=this.get("Date",s),b=this.get("Month",s),h=this.get("FullYear",s),f=e.defaultOptions.lang,g=f&&f.weekdays,_=f&&f.shortWeekdays;return s=i({a:_?_[p]:g[p].substr(0,3),A:g[p],d:c(m),e:c(m,2," "),w:p,b:f.shortMonths[b],B:f.months[b],m:c(b+1),o:b+1,y:h.toString().substr(2,2),Y:h,H:c(d),k:d,I:c(d%12||12),l:d%12||12,M:c(this.get("Minutes",s)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},e.dateFormats),l(s,(function(e,a){for(;-1!==t.indexOf("%"+a);)t=t.replace("%"+a,"function"==typeof e?e.call(o,n):e)})),r?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(e){return o(e,!0)?e:{main:(e=d(e))[0],from:e[1],to:e[2]}},t.prototype.getTimeTicks=function(e,t,n,r){var o,s=this,l=[],c={},d=new s.Date(t),m=e.unitRange,b=e.count||1;if(r=u(r,1),a(t)){if(s.set("Milliseconds",d,m>=p.second?0:b*Math.floor(s.get("Milliseconds",d)/b)),m>=p.second&&s.set("Seconds",d,m>=p.minute?0:b*Math.floor(s.get("Seconds",d)/b)),m>=p.minute&&s.set("Minutes",d,m>=p.hour?0:b*Math.floor(s.get("Minutes",d)/b)),m>=p.hour&&s.set("Hours",d,m>=p.day?0:b*Math.floor(s.get("Hours",d)/b)),m>=p.day&&s.set("Date",d,m>=p.month?1:Math.max(1,b*Math.floor(s.get("Date",d)/b))),m>=p.month){s.set("Month",d,m>=p.year?0:b*Math.floor(s.get("Month",d)/b));var h=s.get("FullYear",d)}m>=p.year&&s.set("FullYear",d,h-h%b),m===p.week&&(h=s.get("Day",d),s.set("Date",d,s.get("Date",d)-h+r+(h<r?-7:0))),h=s.get("FullYear",d),r=s.get("Month",d);var f=s.get("Date",d),g=s.get("Hours",d);for(t=d.getTime(),!s.variableTimezone&&s.useUTC||!a(n)||(o=n-t>4*p.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(n)),t=d.getTime(),d=1;t<n;)l.push(t),t=m===p.year?s.makeTime(h+d*b,0):m===p.month?s.makeTime(h,r+d*b):!o||m!==p.day&&m!==p.week?o&&m===p.hour&&1<b?s.makeTime(h,r,f,g+d*b):t+m*b:s.makeTime(h,r,f+d*b*(m===p.day?1:7)),d++;l.push(t),m<=p.hour&&1e4>l.length&&l.forEach((function(e){0==e%18e5&&"000000000"===s.dateFormat("%H%M%S%L",e)&&(c[e]="day")}))}return l.info=i(e,{higherRanks:c,totalRange:m*b}),l},t.prototype.getDateFormat=function(e,t,n,a){var r=this.dateFormat("%m-%d %H:%M:%S.%L",t),i={millisecond:15,second:12,minute:9,hour:6,day:3},o="millisecond";for(s in p){if(e===p.week&&+this.dateFormat("%w",t)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(p[s]>e){s=o;break}if(i[s]&&r.substr(i[s])!=="01-01 00:00:00.000".substr(i[s]))break;"week"!==s&&(o=s)}if(s)var l=this.resolveDTLFormat(a[s]).main;return l},t}()})),t(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i){t=t.parse;var o=i.merge,s={colors:a.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:e,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:n.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:n.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:t("#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"}};s.chart.styledMode=!1;var l=new r(o(s.global,s.time));return e={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(e){return o(!0,s,e),(e.time||e.global)&&(n.time?n.time.update(o(s.global,s.time,e.global,e.time)):n.time=l),s}}})),t(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=e.parse,r=t.win,i=n.isNumber,o=n.objectEach;return function(){function e(e,t,n){this.pos=NaN,this.options=t,this.elem=e,this.prop=n}return e.prototype.dSetter=function(){var e=this.paths,t=e&&e[0];e=e&&e[1];var n=this.now||0,a=[];if(1!==n&&t&&e)if(t.length===e.length&&1>n)for(var r=0;r<e.length;r++){for(var o=t[r],s=e[r],l=[],c=0;c<s.length;c++){var u=o[c],d=s[c];i(u)&&i(d)&&("A"!==s[0]||4!==c&&5!==c)?l[c]=u+n*(d-u):l[c]=d}a.push(l)}else a=e;else a=this.toD||[];this.elem.attr("d",a,void 0,!0)},e.prototype.update=function(){var e=this.elem,t=this.prop,n=this.now,a=this.options.step;this[t+"Setter"]?this[t+"Setter"]():e.attr?e.element&&e.attr(t,n,null,!0):e.style[t]=n+this.unit,a&&a.call(e,n,this)},e.prototype.run=function(t,n,a){var i=this,o=i.options,s=function(e){return!s.stopped&&i.step(e)},l=r.requestAnimationFrame||function(e){setTimeout(e,13)},c=function(){for(var t=0;t<e.timers.length;t++)e.timers[t]()||e.timers.splice(t--,1);e.timers.length&&l(c)};t!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=n,this.unit=a,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===e.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))},e.prototype.step=function(e){var t=+new Date,n=this.options,a=this.elem,r=n.complete,i=n.duration,s=n.curAnim;if(a.attr&&!a.element)e=!1;else if(e||t>=i+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;o(s,(function(e){!0!==e&&(l=!1)})),l&&r&&r.call(a),e=!1}else this.pos=n.easing((t-this.startTime)/i),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e},e.prototype.initPath=function(e,t,n){function a(e,t){for(;e.length<p;){var n=e[0],a=t[p-e.length];a&&"M"===n[0]&&(e[0]="C"===a[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),e.unshift(n),l&&(n=e.pop(),e.push(e[e.length-1],n))}}function r(e,t){for(;e.length<p;)if("C"===(t=e[Math.floor(e.length/c)-1].slice())[0]&&(t[1]=t[5],t[2]=t[6]),l){var n=e[Math.floor(e.length/c)].slice();e.splice(e.length/2,0,t,n)}else e.push(t)}var o=e.startX,s=e.endX;n=n.slice();var l=e.isArea,c=l?2:1;if(!(t=t&&t.slice()))return[n,n];if(o&&s&&s.length){for(e=0;e<o.length;e++){if(o[e]===s[0]){var u=e;break}if(o[0]===s[s.length-o.length+e]){u=e;var d=!0;break}if(o[o.length-1]===s[s.length-o.length+e]){u=o.length-e;break}}void 0===u&&(t=[])}if(t.length&&i(u)){var p=n.length+u*c;d?(a(t,n),r(n,t)):(a(n,t),r(t,n))}return[t,n]},e.prototype.fillSetter=function(){e.prototype.strokeSetter.apply(this,arguments)},e.prototype.strokeSetter=function(){this.elem.attr(this.prop,a(this.start).tweenTo(a(this.end),this.pos),void 0,!0)},e.timers=[],e}()})),t(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(e,t){function n(e){return l(e)?c({duration:500,defer:0},e):{duration:e?500:0,defer:0}}function a(t,n){for(var a=e.timers.length;a--;)e.timers[a].elem!==t||n&&n!==e.timers[a].prop||(e.timers[a].stopped=!0)}var r=t.defined,i=t.getStyle,o=t.isArray,s=t.isNumber,l=t.isObject,c=t.merge,u=t.objectEach,d=t.pick;return{animate:function(t,n,r){var d,p,m,b="";if(!l(r)){var h=arguments;r={duration:h[2],easing:h[3],complete:h[4]}}s(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=c(n),u(n,(function(s,l){a(t,l),m=new e(t,r,l),p=void 0,"d"===l&&o(n.d)?(m.paths=m.initPath(t,t.pathArray,n.d),m.toD=n.d,d=0,p=1):t.attr?d=t.attr(l):(d=parseFloat(i(t,l))||0,"opacity"!==l&&(b="px")),p||(p=s),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),m.run(d,p,b)}))},animObject:n,getDeferredAnimation:function(e,t,a){var i=n(t),o=0,s=0;return(a?[a]:e.series).forEach((function(e){e=n(e.options.animation),o=t&&r(t.defer)?i.defer:Math.max(o,e.duration+e.defer),s=Math.min(i.duration,e.duration)})),e.renderer.forExport&&(o=0),{defer:Math.max(0,o-s),duration:Math.min(o,s)}},setAnimation:function(e,t){t.renderer.globalAnimation=d(e,t.options.chart.animation,!0)},stop:a}})),t(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=e.SVG_NS,a=t.attr,r=t.createElement,i=t.error,o=t.isFunction,s=t.isString,l=t.objectEach,c=t.splat,u=(t=e.win.trustedTypes)&&o(t.createPolicy)&&t.createPolicy("highcharts",{createHTML:function(e){return e}}),d=u?u.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(d,"text/html")}catch(e){p=!1}return o=function(){function t(e){this.nodes="string"==typeof e?this.parseMarkup(e):e}return t.filterUserAttributes=function(e){return l(e,(function(n,a){var r=!0;-1===t.allowedAttributes.indexOf(a)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(a)&&(r=s(n)&&t.allowedReferences.some((function(e){return 0===n.indexOf(e)}))),r||(i("Highcharts warning: Invalid attribute '"+a+"' in config"),delete e[a])})),e},t.setElementHTML=function(e,n){e.innerHTML=t.emptyHTML,n&&new t(n).addToDOM(e)},t.prototype.addToDOM=function(r){return function r(o,s){var u;return c(o).forEach((function(o){var c=o.tagName,d=o.textContent?e.doc.createTextNode(o.textContent):void 0;if(c)if("#text"===c)var p=d;else if(-1!==t.allowedTags.indexOf(c)){c=e.doc.createElementNS("svg"===c?n:s.namespaceURI||n,c);var m=o.attributes||{};l(o,(function(e,t){"tagName"!==t&&"attributes"!==t&&"children"!==t&&"textContent"!==t&&(m[t]=e)})),a(c,t.filterUserAttributes(m)),d&&c.appendChild(d),r(o.children||[],c),p=c}else i("Highcharts warning: Invalid tagName "+c+" in config");p&&s.appendChild(p),u=p})),u}(this.nodes,r)},t.prototype.parseMarkup=function(e){var t=[];if(e=e.trim(),p)e=(new DOMParser).parseFromString(u?u.createHTML(e):e,"text/html");else{var n=r("div");n.innerHTML=e,e={body:n}}var a=function(e,t){var n=e.nodeName.toLowerCase(),r={tagName:n};if("#text"===n&&(r.textContent=e.textContent||""),n=e.attributes){var i={};[].forEach.call(n,(function(e){i[e.name]=e.value})),r.attributes=i}if(e.childNodes.length){var o=[];[].forEach.call(e.childNodes,(function(e){a(e,o)})),o.length&&(r.children=o)}t.push(r)};return[].forEach.call(e.body.childNodes,(function(e){return a(e,t)})),t},t.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(" "),t.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),t.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(" "),t.emptyHTML=d,t}()})),t(n,"Core/FormatUtilities.js",[n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],(function(e,t){function n(e,t,n,r){e=+e||0,t=+t;var i=a.lang,c=(e.toString().split(".")[1]||"").split("e")[0].length,u=e.toString().split("e"),d=t;if(-1===t)t=Math.min(c,20);else if(o(t)){if(t&&u[1]&&0>u[1]){var p=t+ +u[1];0<=p?(u[0]=(+u[0]).toExponential(p).split("e")[0],t=p):(u[0]=u[0].split(".")[0]||0,e=20>t?(u[0]*Math.pow(10,u[1])).toFixed(t):0,u[1]=0)}}else t=2;p=(Math.abs(u[1]?u[0]:e)+Math.pow(10,-Math.max(t,c)-1)).toFixed(t);var m=3<(c=String(l(p))).length?c.length%3:0;return n=s(n,i.decimalPoint),r=s(r,i.thousandsSep),e=(0>e?"-":"")+(m?c.substr(0,m)+r:""),e=0>+u[1]&&!d?"0":e+c.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+r),t&&(e+=n+p.slice(-t)),u[1]&&0!=+e&&(e+="e"+u[1]),e}var a=e.defaultOptions,r=e.defaultTime,i=t.getNestedProperty,o=t.isNumber,s=t.pick,l=t.pInt;return{dateFormat:function(e,t,n){return r.dateFormat(e,t,n)},format:function(e,t,o){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,d=a.lang,p=o&&o.time||r;o=o&&o.numberFormatter||n;for(var m=[];e;){var b=e.indexOf(s);if(-1===b)break;var h=e.slice(0,b);if(l){if(h=h.split(":"),s=i(h.shift()||"",t),h.length&&"number"==typeof s)if(h=h.join(":"),c.test(h)){var f=parseInt((h.match(u)||["","-1"])[1],10);null!==s&&(s=o(s,f,d.decimalPoint,-1<h.indexOf(",")?d.thousandsSep:""))}else s=p.dateFormat(h,s);m.push(s)}else m.push(h);e=e.slice(b+1),s=(l=!l)?"}":"{"}return m.push(e),m.join("")},numberFormat:n}})),t(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.clamp,a=e.pick,r=e.stableSort;return function(e){e.distribute=function e(t,i,o){var s,l=t,c=l.reducedLen||i,u=function(e,t){return(t.rank||0)-(e.rank||0)},d=function(e,t){return e.target-t.target},p=!0,m=[],b=0;for(s=t.length;s--;)b+=t[s].size;if(b>c){for(r(t,u),b=s=0;b<=c;)b+=t[s].size,s++;m=t.splice(s-1,t.length)}for(r(t,d),t=t.map((function(e){return{size:e.size,targets:[e.target],align:a(e.align,.5)}}));p;){for(s=t.length;s--;)c=t[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(u-c.size*c.align,0,i-c.size);for(s=t.length,p=!1;s--;)0<s&&t[s-1].pos+t[s-1].size>t[s].pos&&(t[s-1].size+=t[s].size,t[s-1].targets=t[s-1].targets.concat(t[s].targets),t[s-1].align=.5,t[s-1].pos+t[s-1].size>i&&(t[s-1].pos=i-t[s-1].size),t.splice(s,1),p=!0)}return l.push.apply(l,m),s=0,t.some((function(t){var n=0;return(t.targets||[]).some((function(){return l[s].pos=t.pos+n,void 0!==o&&Math.abs(l[s].pos-l[s].target)>o?(l.slice(0,s+1).forEach((function(e){return delete e.pos})),l.reducedLen=(l.reducedLen||i)-.1*i,l.reducedLen>.1*i&&e(l,i,o),!0):(n+=l[s].size,s++,!1)}))})),r(l,d),l}}(t||(t={})),t})),t(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=e.animate,o=e.animObject,s=e.stop,l=a.deg2rad,c=a.doc,u=a.noop,d=a.svg,p=a.SVG_NS,m=a.win,b=r.addEvent,h=r.attr,f=r.createElement,g=r.css,_=r.defined,y=r.erase,M=r.extend,v=r.fireEvent,z=r.isArray,O=r.isFunction,k=r.isNumber,A=r.isString,x=r.merge,w=r.objectEach,N=r.pick,q=r.pInt,E=r.syncTimeout,j=r.uniqueKey;return(e=function(){function e(){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 e.prototype._defaultGetter=function(e){return e=N(this[e+"Value"],this[e],this.element?this.element.getAttribute(e):null,0),/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e},e.prototype._defaultSetter=function(e,t,n){n.setAttribute(t,e)},e.prototype.add=function(e){var t=this.renderer,n=this.element;if(e&&(this.parentGroup=e),this.parentInverted=e&&e.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&t.buildText(this),this.added=!0,!e||e.handleZ||this.zIndex)var a=this.zIndexSetter();return a||(e?e.element:t.box).appendChild(n),this.onAdd&&this.onAdd(),this},e.prototype.addClass=function(e,t){var n=t?"":this.attr("class")||"";return(e=(e||"").split(/ /g).reduce((function(e,t){return-1===n.indexOf(t)&&e.push(t),e}),n?[n]:[]).join(" "))!==n&&this.attr("class",e),this},e.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},e.prototype.align=function(e,t,n){var a,r,i,o={},s=this.renderer,l=s.alignedObjects;e?(this.alignOptions=e,this.alignByTranslate=t,(!n||A(n))&&(this.alignTo=a=n||"renderer",y(l,this),l.push(this),n=void 0)):(e=this.alignOptions,t=this.alignByTranslate,a=this.alignTo),n=N(n,s[a],"scrollablePlotBox"===a?s.plotBox:void 0,s),a=e.align;var c=e.verticalAlign;return s=(n.x||0)+(e.x||0),l=(n.y||0)+(e.y||0),"right"===a?r=1:"center"===a&&(r=2),r&&(s+=(n.width-(e.width||0))/r),o[t?"translateX":"x"]=Math.round(s),"bottom"===c?i=1:"middle"===c&&(i=2),i&&(l+=(n.height-(e.height||0))/i),o[t?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](o),this.placed=!0,this.alignAttr=o,this},e.prototype.alignSetter=function(e){var t={left:"start",center:"middle",right:"end"};t[e]&&(this.alignValue=e,this.element.setAttribute("text-anchor",t[e]))},e.prototype.animate=function(e,t,n){var a=this,r=o(N(t,this.renderer.globalAnimation,!0));return t=r.defer,N(c.hidden,c.msHidden,c.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),E((function(){a.element&&i(a,e,r)}),t)):(this.attr(e,void 0,n),w(e,(function(e,t){r.step&&r.step.call(this,e,{prop:t,pos:1,elem:this})}),this)),this},e.prototype.applyTextOutline=function(e){var t=this.element;-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));var n=e.split(" ");if(e=n[n.length-1],(n=n[0])&&"none"!==n&&a.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(e,t,n){return 2*Number(t)+n})),this.removeTextOutline();var r=c.createElementNS(p,"tspan");h(r,{class:"highcharts-text-outline",fill:e,stroke:e,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(t.childNodes,(function(e){var t=e.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(e){return t.removeAttribute(e)})),r.appendChild(t)}));var i=c.createElementNS(p,"tspan");i.textContent="​",["x","y"].forEach((function(e){var n=t.getAttribute(e);n&&i.setAttribute(e,n)})),r.appendChild(i),t.insertBefore(r,t.firstChild)}},e.prototype.attr=function(e,t,n,a){var r,i,o,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"==typeof e&&void 0!==t){var d=e;(e={})[d]=t}return"string"==typeof e?u=(this[e+"Getter"]||this._defaultGetter).call(this,e,l):(w(e,(function(t,n){i=!1,a||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(r||(this.symbolAttr(e),r=!0),i=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),i||((o=this[n+"Setter"]||this._defaultSetter).call(this,t,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,t,o))}),this),this.afterSetters()),n&&n.call(this),u},e.prototype.clip=function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":"none")},e.prototype.crisp=function(e,t){t=t||e.strokeWidth||0;var n=Math.round(t)%2/2;return e.x=Math.floor(e.x||this.x||0)+n,e.y=Math.floor(e.y||this.y||0)+n,e.width=Math.floor((e.width||this.width||0)-2*n),e.height=Math.floor((e.height||this.height||0)-2*n),_(e.strokeWidth)&&(e.strokeWidth=t),e},e.prototype.complexColor=function(e,t,a){var r,i,o,s,l,c,u,d,p,m,b,h=this.renderer,f=[];v(this.renderer,"complexColor",{args:arguments},(function(){if(e.radialGradient?i="radialGradient":e.linearGradient&&(i="linearGradient"),i){if(o=e[i],l=h.gradients,c=e.stops,p=a.radialReference,z(o)&&(e[i]=o={x1:o[0],y1:o[1],x2:o[2],y2:o[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===i&&p&&!_(o.gradientUnits)&&(s=o,o=x(o,h.getRadialAttr(p,s),{gradientUnits:"userSpaceOnUse"})),w(o,(function(e,t){"id"!==t&&f.push(t,e)})),w(c,(function(e){f.push(e)})),f=f.join(","),l[f])m=l[f].attr("id");else{o.id=m=j();var g=l[f]=h.createElement(i).attr(o).add(h.defs);g.radAttr=s,g.stops=[],c.forEach((function(e){0===e[1].indexOf("rgba")?(r=n.parse(e[1]),u=r.get("rgb"),d=r.get("a")):(u=e[1],d=1),e=h.createElement("stop").attr({offset:e[0],"stop-color":u,"stop-opacity":d}).add(g),g.stops.push(e)}))}b="url("+h.url+"#"+m+")",a.setAttribute(t,b),a.gradient=f,e.toString=function(){return b}}}))},e.prototype.css=function(e){var t=this.styles,n={},a=this.element,r=["textOutline","textOverflow","width"],i="",o=!t;if(e&&e.color&&(e.fill=e.color),t&&w(e,(function(e,a){t&&t[a]!==e&&(n[a]=e,o=!0)})),o){if(t&&(e=M(t,n)),e)if(null===e.width||"auto"===e.width)delete this.textWidth;else if("text"===a.nodeName.toLowerCase()&&e.width)var s=this.textWidth=q(e.width);if(this.styles=e,s&&!d&&this.renderer.forExport&&delete e.width,a.namespaceURI===this.SVG_NS){var l=function(e,t){return"-"+t.toLowerCase()};w(e,(function(e,t){-1===r.indexOf(t)&&(i+=t.replace(/([A-Z])/g,l)+":"+e+";")})),i&&h(a,"style",i)}else g(a,e);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),e&&e.textOutline&&this.applyTextOutline(e.textOutline))}return this},e.prototype.dashstyleSetter=function(e){var t=this["stroke-width"];if("inherit"===t&&(t=1),e=e&&e.toLowerCase()){var n=e.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(e=n.length;e--;)n[e]=""+q(n[e])*N(t,NaN);e=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",e)}},e.prototype.destroy=function(){var e=this,t=e.element||{},n=e.renderer,a=t.ownerSVGElement,r=n.isSVG&&"SPAN"===t.nodeName&&e.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,s(e),e.clipPath&&a){var i=e.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){-1<e.getAttribute("clip-path").indexOf(i.element.id)&&e.removeAttribute("clip-path")})),e.clipPath=i.destroy()}if(e.stops){for(a=0;a<e.stops.length;a++)e.stops[a].destroy();e.stops.length=0,e.stops=void 0}for(e.safeRemoveChild(t),n.styledMode||e.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)t=r.parentGroup,e.safeRemoveChild(r.div),delete r.div,r=t;e.alignTo&&y(n.alignedObjects,e),w(e,(function(t,n){e[n]&&e[n].parentGroup===e&&e[n].destroy&&e[n].destroy(),delete e[n]}))},e.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(e){this.safeRemoveChild(e)}),this),this.shadows=void 0},e.prototype.destroyTextPath=function(e,t){var n=e.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),t.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(e=this.textPathWrapper.element.childNodes;e.length;)n.appendChild(e[0]);n.removeChild(this.textPathWrapper.element)}}else(e.getAttribute("dx")||e.getAttribute("dy"))&&(e.removeAttribute("dx"),e.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},e.prototype.dSetter=function(e,t,n){z(e)&&("string"==typeof e[0]&&(e=this.renderer.pathToSegments(e)),this.pathArray=e,e=e.reduce((function(e,t,n){return t&&t.join?(n?e+" ":"")+t.join(" "):(t||"").toString()}),"")),/(NaN| {2}|^$)/.test(e)&&(e="M 0 0"),this[t]!==e&&(n.setAttribute(t,e),this[t]=e)},e.prototype.fadeOut=function(e){var t=this;t.animate({opacity:0},{duration:N(e,150),complete:function(){t.attr({y:-9999}).hide()}})},e.prototype.fillSetter=function(e,t,n){"string"==typeof e?n.setAttribute(t,e):e&&this.complexColor(e,t,n)},e.prototype.getBBox=function(t,n){var a=this.renderer,r=this.element,i=this.styles,o=this.textStr,s=a.cache,c=a.cacheKeys,u=r.namespaceURI===this.SVG_NS;n=N(n,this.rotation,0);var d,p=a.styledMode?r&&e.prototype.getStyle.call(r,"font-size"):i&&i.fontSize;if(_(o)){var m=o.toString();-1===m.indexOf("<")&&(m=m.replace(/[0-9]/g,"0")),m+=["",n,p,this.textWidth,i&&i.textOverflow,i&&i.fontWeight].join()}if(m&&!t&&(d=s[m]),!d){if(u||a.forExport){try{var b=this.fakeTS&&function(e){var t=r.querySelector(".highcharts-text-outline");t&&g(t,{display:e})};O(b)&&b("none"),d=r.getBBox?M({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight},O(b)&&b("")}catch(e){}(!d||0>d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(a.isSVG&&(t=d.width,a=d.height,u&&(d.height=a={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(a)]||a),n&&(u=n*l,d.width=Math.abs(a*Math.sin(u))+Math.abs(t*Math.cos(u)),d.height=Math.abs(a*Math.cos(u))+Math.abs(t*Math.sin(u)))),m&&(""===o||0<d.height)){for(;250<c.length;)delete s[c.shift()];s[m]||c.push(m),s[m]=d}}return d},e.prototype.getStyle=function(e){return m.getComputedStyle(this.element||this,"").getPropertyValue(e)},e.prototype.hasClass=function(e){return-1!==(""+this.attr("class")).split(" ").indexOf(e)},e.prototype.hide=function(e){return e?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},e.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},e.prototype.init=function(e,t){this.element="span"===t?f(t):c.createElementNS(this.SVG_NS,t),this.renderer=e,v(this,"afterInit")},e.prototype.invert=function(e){return this.inverted=e,this.updateTransform(),this},e.prototype.on=function(e,t){var n=this.onEvents;return n[e]&&n[e](),n[e]=b(this.element,e,t),this},e.prototype.opacitySetter=function(e,t,n){this.opacity=e=Number(Number(e).toFixed(3)),n.setAttribute(t,e)},e.prototype.removeClass=function(e){return this.attr("class",(""+this.attr("class")).replace(A(e)?new RegExp("(^| )"+e+"( |$)"):e," ").replace(/ +/g," ").trim())},e.prototype.removeTextOutline=function(){var e=this.element.querySelector("tspan.highcharts-text-outline");e&&this.safeRemoveChild(e)},e.prototype.safeRemoveChild=function(e){var t=e.parentNode;t&&t.removeChild(e)},e.prototype.setRadialReference=function(e){var t=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=e,t&&t.radAttr&&t.animate(this.renderer.getRadialAttr(e,t.radAttr)),this},e.prototype.setTextPath=function(e,n){var a=this.element,r=this.text?this.text.element:a,i={textAnchor:"text-anchor"},o=!1,s=this.textPathWrapper,l=!s;n=x(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n);var c=t.filterUserAttributes(n.attributes);if(e&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),o=!0);var d=s.element;if((n=e.element.getAttribute("id"))||e.element.setAttribute("id",n=j()),l)for(r.setAttribute("y",0),k(c.dx)&&r.setAttribute("x",-c.dx),e=[].slice.call(r.childNodes),l=0;l<e.length;l++){var p=e[l];p.nodeType!==m.Node.TEXT_NODE&&"tspan"!==p.nodeName||d.appendChild(p)}o&&s&&s.add({element:r}),d.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),_(c.dy)&&(d.parentNode.setAttribute("dy",c.dy),delete c.dy),_(c.dx)&&(d.parentNode.setAttribute("dx",c.dx),delete c.dx),w(c,(function(e,t){d.setAttribute(i[t]||t,e)})),a.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=u}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(a,e),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},e.prototype.shadow=function(e,t,n){var a,r=[],i=this.element,o=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===e?a=s:"object"==typeof e&&(a=M(s,e)),a&&(a&&o&&w(a,(function(e,t){e!==o[t]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=a),a){if(!this.shadows){var c=a.opacity/a.width,u=this.parentInverted?"translate("+a.offsetY+", "+a.offsetX+")":"translate("+a.offsetX+", "+a.offsetY+")";for(s=1;s<=a.width;s++){var d=i.cloneNode(!1),p=2*a.width+1-2*s;h(d,{stroke:e.color||"#000000","stroke-opacity":c*s,"stroke-width":p,transform:u,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),n&&(h(d,"height",Math.max(h(d,"height")-p,0)),d.cutHeight=p),t?t.element.appendChild(d):i.parentNode&&i.parentNode.insertBefore(d,i),r.push(d)}this.shadows=r}}else this.destroyShadows();return this},e.prototype.show=function(e){return this.attr({visibility:e?"inherit":"visible"})},e.prototype.strokeSetter=function(t,n,a){this[n]=t,this.stroke&&this["stroke-width"]?(e.prototype.fillSetter.call(this,this.stroke,"stroke",a),a.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===t&&this.hasStroke?(a.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(a.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},e.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var e=this.getStyle("stroke-width"),t=0;if(e.indexOf("px")===e.length-2)t=q(e);else if(""!==e){var n=c.createElementNS(p,"rect");h(n,{width:e,"stroke-width":0}),this.element.parentNode.appendChild(n),t=n.getBBox().width,n.parentNode.removeChild(n)}return t},e.prototype.symbolAttr=function(e){var t=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){t[n]=N(e[n],t[n])})),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},e.prototype.textSetter=function(e){e!==this.textStr&&(delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this))},e.prototype.titleSetter=function(e){var t=this.element,n=t.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");t.insertBefore?t.insertBefore(n,t.firstChild):t.appendChild(n),n.textContent=String(N(e,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},e.prototype.toFront=function(){var e=this.element;return e.parentNode.appendChild(e),this},e.prototype.translate=function(e,t){return this.attr({translateX:e,translateY:t})},e.prototype.updateShadows=function(e,t,n){var a=this.shadows;if(a)for(var r=a.length;r--;)n.call(a[r],"height"===e?Math.max(t-(a[r].cutHeight||0),0):"d"===e?this.d:t,e,a[r])},e.prototype.updateTransform=function(){var e=this.scaleX,t=this.scaleY,n=this.inverted,a=this.rotation,r=this.matrix,i=this.element,o=this.translateX||0,s=this.translateY||0;n&&(o+=this.width,s+=this.height),o=["translate("+o+","+s+")"],_(r)&&o.push("matrix("+r.join(",")+")"),n?o.push("rotate(90) scale(-1,1)"):a&&o.push("rotate("+a+" "+N(this.rotationOriginX,i.getAttribute("x"),0)+" "+N(this.rotationOriginY,i.getAttribute("y")||0)+")"),(_(e)||_(t))&&o.push("scale("+N(e,1)+" "+N(t,1)+")"),o.length&&i.setAttribute("transform",o.join(" "))},e.prototype.visibilitySetter=function(e,t,n){"inherit"===e?n.removeAttribute(t):this[t]!==e&&n.setAttribute(t,e),this[t]=e},e.prototype.xGetter=function(e){return"circle"===this.element.nodeName&&("x"===e?e="cx":"y"===e&&(e="cy")),this._defaultGetter(e)},e.prototype.zIndexSetter=function(e,t){var n=this.renderer,a=this.parentGroup,r=(a||n).element||n.box,i=this.element;n=r===n.box;var o,s=!1,l=this.added;if(_(e)?(i.setAttribute("data-z-index",e),e=+e,this[t]===e&&(l=!1)):_(this[t])&&i.removeAttribute("data-z-index"),this[t]=e,l){for((e=this.zIndex)&&a&&(a.handleZ=!0),o=(t=r.childNodes).length-1;0<=o&&!s;o--){l=(a=t[o]).getAttribute("data-z-index");var c=!_(l);a!==i&&(0>e&&c&&!n&&!o?(r.insertBefore(i,t[o]),s=!0):(q(l)<=e||c&&(!_(e)||0<=e))&&(r.insertBefore(i,t[o+1]||null),s=!0))}s||(r.insertBefore(i,t[n?3:0]||null),s=!0)}return s},e}()).prototype["stroke-widthSetter"]=e.prototype.strokeSetter,e.prototype.yGetter=e.prototype.xGetter,e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0},e})),t(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(e){var t;return function(t){var n;t.rendererTypes={},t.getRendererType=function(e){return void 0===e&&(e=n),t.rendererTypes[e]||t.rendererTypes[n]},t.registerRendererType=function(a,r,i){t.rendererTypes[a]=r,n&&!i||(n=a,e.Renderer=r)}}(t||(t={})),t})),t(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),a=t.defined,r=t.extend,i=t.isNumber,o=t.merge,s=t.pick,l=t.removeEvent;return function(t){function c(e,n,a,r,i,o,s,l,u,d){var p,m=t.call(this)||this;return m.paddingLeftSetter=m.paddingSetter,m.paddingRightSetter=m.paddingSetter,m.init(e,"g"),m.textStr=n,m.x=a,m.y=r,m.anchorX=o,m.anchorY=s,m.baseline=u,m.className=d,m.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&m.addClass("highcharts-"+d),m.text=e.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof i&&((p=/^url\((.*?)\)$/.test(i))||m.renderer.symbols[i])&&(m.symbolKey=i),m.bBox=c.emptyBBox,m.padding=3,m.baselineOffset=0,m.needsBox=e.styledMode||p,m.deferredAttr={},m.alignFactor=0,m}return n(c,t),c.prototype.alignSetter=function(e){(e={left:0,center:.5,right:1}[e])!==this.alignFactor&&(this.alignFactor=e,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(e,t){this.anchorX=e,this.boxAttr(t,Math.round(e)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(e,t){this.anchorY=e,this.boxAttr(t,e-this.ySetting)},c.prototype.boxAttr=function(e,t){this.box?this.box.attr(e,t):this.deferredAttr[e]=t},c.prototype.css=function(t){if(t){var n={};t=o(t),c.textProps.forEach((function(e){void 0!==t[e]&&(n[e]=t[e],delete t[e])})),this.text.css(n);var a="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():a&&this.updateBoxSize()}return e.prototype.css.call(this,t)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),e.prototype.destroy.call(this)},c.prototype.fillSetter=function(e,t){e&&(this.needsBox=!0),this.fill=e,this.boxAttr(t,e)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var e=this.padding,t=s(this.paddingLeft,e);return{width:this.width,height:this.height,x:this.bBox.x-t,y:this.bBox.y-e}},c.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},c.prototype.heightSetter=function(e){this.heightSetting=e},c.prototype.onAdd=function(){var e=this.textStr;this.text.add(this),this.attr({text:a(e)?e:"",x:this.x,y:this.y}),this.box&&a(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(e,t){i(e)?e!==this[t]&&(this[t]=e,this.updateTextPadding()):this[t]=void 0},c.prototype.rSetter=function(e,t){this.boxAttr(t,e)},c.prototype.shadow=function(e){return e&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(e)),this},c.prototype.strokeSetter=function(e,t){this.stroke=e,this.boxAttr(t,e)},c.prototype["stroke-widthSetter"]=function(e,t){e&&(this.needsBox=!0),this["stroke-width"]=e,this.boxAttr(t,e)},c.prototype["text-alignSetter"]=function(e){this.textAlign=e},c.prototype.textSetter=function(e){void 0!==e&&this.text.attr({text:e}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var e=this.text.element.style,t={},n=this.padding,o=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!a(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||o.height||0)+2*n,e=this.renderer.fontMetrics(e&&e.fontSize,this.text),this.baselineOffset=n+Math.min((this.text.firstLineMetrics||e).b,o.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&(this.box||((n=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":"")),n.add(this)),n=this.getCrispAdjust(),t.x=n,t.y=(this.baseline?-this.baselineOffset:0)+n,t.width=Math.round(this.width),t.height=Math.round(this.height),this.box.attr(r(t,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var e=this.text;this.updateBoxSize();var t=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);a(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===e.x&&t===e.y||(e.attr("x",n),e.hasBoxWidthChanged&&(this.bBox=e.getBBox(!0)),void 0!==t&&e.attr("y",t)),e.x=n,e.y=t},c.prototype.widthSetter=function(e){this.widthSetting=i(e)?e:void 0},c.prototype.getPaddedWidth=function(){var e=this.padding,t=s(this.paddingLeft,e);return e=s(this.paddingRight,e),(this.widthSetting||this.bBox.width||0)+t+e},c.prototype.xSetter=function(e){this.x=e,this.alignFactor&&(e-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(e),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(e){this.ySetting=this.y=Math.round(e),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(e)})),t(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(e){function t(e,t,n,a,i){var s=[];if(i){var l=i.start||0,c=o(i.r,n);n=o(i.r,a||n);var u=(i.end||0)-.001;a=i.innerR;var d=o(i.open,.001>Math.abs((i.end||0)-l-2*Math.PI)),p=Math.cos(l),m=Math.sin(l),b=Math.cos(u),h=Math.sin(u);l=o(i.longArc,.001>u-l-Math.PI?0:1),s.push(["M",e+c*p,t+n*m],["A",c,n,0,l,o(i.clockwise,1),e+c*b,t+n*h]),r(a)&&s.push(d?["M",e+a*b,t+a*h]:["L",e+a*b,t+a*h],["A",a,a,0,l,r(i.clockwise)?1-i.clockwise:0,e+a*p,t+a*m]),d||s.push(["Z"])}return s}function n(e,t,n,r,i){return i&&i.r?a(e,t,n,r,i):[["M",e,t],["L",e+n,t],["L",e+n,t+r],["L",e,t+r],["Z"]]}function a(e,t,n,a,r){return[["M",e+(r=r&&r.r||0),t],["L",e+n-r,t],["C",e+n,t,e+n,t,e+n,t+r],["L",e+n,t+a-r],["C",e+n,t+a,e+n,t+a,e+n-r,t+a],["L",e+r,t+a],["C",e,t+a,e,t+a,e,t+a-r],["L",e,t+r],["C",e,t,e,t,e+r,t]]}var r=e.defined,i=e.isNumber,o=e.pick;return{arc:t,callout:function(e,t,n,r,o){var s=Math.min(o&&o.r||0,n,r),l=s+6,c=o&&o.anchorX;o=o&&o.anchorY||0;var u=a(e,t,n,r,{r:s});return i(c)?(e+c>=n?o>t+l&&o<t+r-l?u.splice(3,1,["L",e+n,o-6],["L",e+n+6,o],["L",e+n,o+6],["L",e+n,t+r-s]):u.splice(3,1,["L",e+n,r/2],["L",c,o],["L",e+n,r/2],["L",e+n,t+r-s]):0>=e+c?o>t+l&&o<t+r-l?u.splice(7,1,["L",e,o+6],["L",e-6,o],["L",e,o-6],["L",e,t+s]):u.splice(7,1,["L",e,r/2],["L",c,o],["L",e,r/2],["L",e,t+s]):o&&o>r&&c>e+l&&c<e+n-l?u.splice(5,1,["L",c+6,t+r],["L",c,t+r+6],["L",c-6,t+r],["L",e+s,t+r]):o&&0>o&&c>e+l&&c<e+n-l&&u.splice(1,1,["L",c-6,t],["L",c,t-6],["L",c+6,t],["L",n-s,t]),u):u},circle:function(e,n,a,r){return t(e+a/2,n+r/2,a/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(e,t,n,a){return[["M",e+n/2,t],["L",e+n,t+a/2],["L",e+n/2,t+a],["L",e,t+a/2],["Z"]]},rect:n,roundedRect:a,square:n,triangle:function(e,t,n,a){return[["M",e+n/2,t],["L",e+n,t+a],["L",e,t+a],["Z"]]},"triangle-down":function(e,t,n,a){return[["M",e,t],["L",e+n,t],["L",e+n/2,t+a],["Z"]]}}})),t(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=t.doc,r=t.SVG_NS,i=t.win,o=n.attr,s=n.isString,l=n.objectEach,c=n.pick;return function(){function t(e){var t=e.styles;this.renderer=e.renderer,this.svgElement=e,this.width=e.textWidth,this.textLineHeight=t&&t.lineHeight,this.textOutline=t&&t.textOutline,this.ellipsis=!(!t||"ellipsis"!==t.textOverflow),this.noWrap=!(!t||"nowrap"!==t.whiteSpace),this.fontSize=t&&t.fontSize}return t.prototype.buildSVG=function(){var t=this.svgElement,n=t.element,r=t.renderer,i=c(t.textStr,"").toString(),o=-1!==i.indexOf("<"),l=n.childNodes;r=this.width&&!t.added&&r.box;var u=[i,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(u!==t.textCache){for(t.textCache=u,delete t.actualWidth,u=l.length;u--;)n.removeChild(l[u]);o||this.ellipsis||this.width||-1!==i.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(i))?""!==i&&(r&&r.appendChild(n),i=new e(i),this.modifyTree(i.nodes),i.addToDOM(t.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(n)):n.appendChild(a.createTextNode(this.unescapeEntities(i))),s(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},t.prototype.modifyDOM=function(){var e,t=this,n=this.svgElement,s=o(n.element,"x");for(n.firstLineMetrics=void 0;(e=n.element.firstChild)&&/^[\s\u200B]*$/.test(e.textContent||" ");)n.element.removeChild(e);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(e,a){e.nextSibling&&e.previousSibling&&(0===a&&1===e.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,e.previousSibling)),o(e,{dy:t.getLineHeight(e.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(e,i){var c=e.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),d=!t.noWrap&&(1<u.length||1<n.element.childNodes.length),p=t.getLineHeight(i),m=0,b=n.actualWidth;if(t.ellipsis)c&&t.truncate(e,c,void 0,0,Math.max(0,l-parseInt(t.fontSize||12,10)),(function(e,t){return e.substring(0,t)+"…"}));else if(d){for(c=[],d=[];i.firstChild&&i.firstChild!==e;)d.push(i.firstChild),i.removeChild(i.firstChild);for(;u.length;)u.length&&!t.noWrap&&0<m&&(c.push(e.textContent||""),e.textContent=u.join(" ").replace(/- /g,"-")),t.truncate(e,void 0,u,0===m&&b||0,l,(function(e,t){return u.slice(0,t).join(" ").replace(/- /g,"-")})),b=n.actualWidth,m++;d.forEach((function(t){i.insertBefore(t,e)})),c.forEach((function(t){i.insertBefore(a.createTextNode(t),e),(t=a.createElementNS(r,"tspan")).textContent="​",o(t,{dy:p,x:s}),i.insertBefore(t,e)}))}},u=function(e){[].slice.call(e.childNodes).forEach((function(t){t.nodeType===i.Node.TEXT_NODE?c(t,e):(-1!==t.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),u(t))}))};u(n.element)}},t.prototype.getLineHeight=function(e){var t;return e=e.nodeType===i.Node.TEXT_NODE?e.parentElement:e,this.renderer.styledMode||(t=e&&/(px|em)$/.test(e.style.fontSize)?e.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(t,e||this.svgElement.element).h},t.prototype.modifyTree=function(e){var t=this,n=function(a,r){var i=a.attributes;i=void 0===i?{}:i;var o=a.children,l=a.tagName,c=t.renderer.styledMode;"b"===l||"strong"===l?c?i.class="highcharts-strong":i.style="font-weight:bold;"+(i.style||""):"i"!==l&&"em"!==l||(c?i.class="highcharts-emphasized":i.style="font-style:italic;"+(i.style||"")),s(i.style)&&(i.style=i.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(i.class="highcharts-br",a.textContent="​",(r=e[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===l&&o&&o.some((function(e){return"#text"===e.tagName}))&&(a.children=[{children:o,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(a.tagName="tspan"),a.attributes=i,o&&o.filter((function(e){return"#text"!==e.tagName})).forEach(n)};e.forEach(n)},t.prototype.truncate=function(e,t,n,a,r,i){var o,s=this.svgElement,l=s.renderer,c=s.rotation,u=[],d=n?1:0,p=(t||n||"").length,m=p,b=function(r,o){o=o||r;var c=e.parentNode;if(c&&void 0===u[o])if(c.getSubStringLength)try{u[o]=a+c.getSubStringLength(0,n?o+1:o)}catch(e){}else l.getSpanWidth&&(e.textContent=i(t||n,r),u[o]=a+l.getSpanWidth(s,e));return u[o]};s.rotation=0;var h=b(e.textContent.length);if(a+h>r){for(;d<=p;)m=Math.ceil((d+p)/2),n&&(o=i(n,m)),h=b(m,o&&o.length-1),d===p?d=p+1:h>r?p=m-1:d=m;0===p?e.textContent="":t&&p===t.length-1||(e.textContent=o||i(t||n,m))}n&&n.splice(0,m),s.actualWidth=h,s.rotation=c},t.prototype.unescapeEntities=function(e,t){return l(this.renderer.escapes,(function(n,a){t&&-1!==t.indexOf(n)||(e=e.toString().replace(new RegExp(n,"g"),a))})),e},t}()})),t(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l){var c,u=n.charts,d=n.deg2rad,p=n.doc,m=n.isFirefox,b=n.isMS,h=n.isWebKit,f=n.noop,g=n.SVG_NS,_=n.symbolSizes,y=n.win,M=l.addEvent,v=l.attr,z=l.createElement,O=l.css,k=l.defined,A=l.destroyObjectProperties,x=l.extend,w=l.isArray,N=l.isNumber,q=l.isObject,E=l.isString,j=l.merge,W=l.pick,L=l.pInt,S=l.uniqueKey;return n=function(){function n(e,t,n,a,r,i,o){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(e,t,n,a,r,i,o)}return n.prototype.init=function(e,t,n,a,r,i,o){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;o||l.css(this.getStyle(a)),e.appendChild(c),v(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&v(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,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=i,this.forExport=r,this.styledMode=o,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,n,!1),m&&e.getBoundingClientRect&&((t=function(){O(e,{left:0,top:0}),s=e.getBoundingClientRect(),O(e,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=M(y,"resize",t))},n.prototype.definition=function(t){return new e([t]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((m||h)&&p.getElementsByTagName("base").length){if(!k(c)){var t=S();t=new e([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+t+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),O(t,{position:"fixed",top:0,left:0,zIndex:9e5});var n=p.elementFromPoint(6,6);c="hitme"===(n&&n.id),p.body.removeChild(t)}if(c)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(e){return this.style=x({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},n.prototype.setStyle=function(e){this.boxWrapper.css(this.getStyle(e))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),A(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(e){var t=new this.Element;return t.init(this,e),t},n.prototype.getRadialAttr=function(e,t){return{cx:e[0]-e[2]/2+(t.cx||0)*e[2],cy:e[1]-e[2]/2+(t.cy||0)*e[2],r:(t.r||0)*e[2]}},n.prototype.buildText=function(e){new s(e).buildSVG()},n.prototype.getContrast=function(e){return(e=t.parse(e).rgba)[0]*=1,e[1]*=1.2,e[2]*=.5,459<e[0]+e[1]+e[2]?"#000000":"#FFFFFF"},n.prototype.button=function(t,n,a,r,i,o,s,l,c,u){var d=this.label(t,n,a,c,void 0,void 0,u,void 0,"button"),p=this.styledMode,m=0,h=i?j(i):{};if(t=h&&h.style||{},h=e.filterUserAttributes(h),d.attr(j({padding:8,r:2},h)),!p){var f=(h=j({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:t},h)).style;delete h.style;var g=(o=j(h,{fill:"#e6e6e6"},e.filterUserAttributes(o||{}))).style;delete o.style;var _=(s=j(h,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},e.filterUserAttributes(s||{}))).style;delete s.style;var y=(l=j(h,{style:{color:"#cccccc"}},e.filterUserAttributes(l||{}))).style;delete l.style}return M(d.element,b?"mouseover":"mouseenter",(function(){3!==m&&d.setState(1)})),M(d.element,b?"mouseout":"mouseleave",(function(){3!==m&&d.setState(m)})),d.setState=function(e){1!==e&&(d.state=m=e),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][e||0]),p||d.attr([h,o,s,l][e||0]).css([f,g,_,y][e||0])},p||d.attr(h).css(x({cursor:"default"},f)),d.on("touchstart",(function(e){return e.stopPropagation()})).on("click",(function(e){3!==m&&r.call(d,e)}))},n.prototype.crispLine=function(e,t,n){void 0===n&&(n="round");var a=e[0],r=e[1];return k(a[1])&&a[1]===r[1]&&(a[1]=r[1]=Math[n](a[1])-t%2/2),k(a[2])&&a[2]===r[2]&&(a[2]=r[2]=Math[n](a[2])+t%2/2),e},n.prototype.path=function(e){var t=this.styledMode?{}:{fill:"none"};return w(e)?t.d=e:q(e)&&x(t,e),this.createElement("path").attr(t)},n.prototype.circle=function(e,t,n){return e=q(e)?e:void 0===e?{}:{x:e,y:t,r:n},(t=this.createElement("circle")).xSetter=t.ySetter=function(e,t,n){n.setAttribute("c"+t,e)},t.attr(e)},n.prototype.arc=function(e,t,n,a,r,i){return q(e)?(t=(a=e).y,n=a.r,e=a.x):a={innerR:a,start:r,end:i},(e=this.symbol("arc",e,t,n,n,a)).r=n,e},n.prototype.rect=function(e,t,n,a,r,i){r=q(e)?e.r:r;var o=this.createElement("rect");return e=q(e)?e:void 0===e?{}:{x:e,y:t,width:Math.max(n,0),height:Math.max(a,0)},this.styledMode||(void 0!==i&&(e["stroke-width"]=i,e=o.crisp(e)),e.fill="none"),r&&(e.r=r),o.rSetter=function(e,t,n){o.r=e,v(n,{rx:e,ry:e})},o.rGetter=function(){return o.r||0},o.attr(e)},n.prototype.setSize=function(e,t,n){this.width=e,this.height=t,this.boxWrapper.animate({width:e,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:W(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(e){var t=this.createElement("g");return e?t.attr({class:"highcharts-"+e}):t},n.prototype.image=function(e,t,n,a,r,i){var o={preserveAspectRatio:"none"},s=function(e,t){e.setAttributeNS?e.setAttributeNS("http://www.w3.org/1999/xlink","href",t):e.setAttribute("hc-svg-href",t)};N(t)&&(o.x=t),N(n)&&(o.y=n),N(a)&&(o.width=a),N(r)&&(o.height=r);var l=this.createElement("image").attr(o);return t=function(t){s(l.element,e),i.call(l,t)},i?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new y.Image,M(n,"load",t),n.src=e,n.complete&&t({})):s(l.element,e),l},n.prototype.symbol=function(e,t,n,a,r,i){var o,s=this,l=/^url\((.*?)\)$/,c=l.test(e),d=!c&&(this.symbols[e]?e:"circle"),m=d&&this.symbols[d];if(m){"number"==typeof t&&(o=m.call(this.symbols,Math.round(t||0),Math.round(n||0),a||0,r||0,i));var b=this.path(o);s.styledMode||b.attr("fill","none"),x(b,{symbolName:d||void 0,x:t,y:n,width:a,height:r}),i&&x(b,i)}else if(c){var h=e.match(l)[1],f=b=this.image(h);f.imgwidth=W(_[h]&&_[h].width,i&&i.width),f.imgheight=W(_[h]&&_[h].height,i&&i.height);var g=function(e){return e.attr({width:e.width,height:e.height})};["width","height"].forEach((function(e){f[e+"Setter"]=function(e,t){var n=this["img"+t];this[t]=e,k(n)&&(i&&"within"===i.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(t,n),this.alignByTranslate||(e=((this[t]||0)-n)/2,this.attr("width"===t?{translateX:e}:{translateY:e})))}})),k(t)&&f.attr({x:t,y:n}),f.isImg=!0,k(f.imgwidth)&&k(f.imgheight)?g(f):(f.attr({width:0,height:0}),z("img",{onload:function(){var e=u[s.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),_[h]={width:this.width,height:this.height},f.imgwidth=this.width,f.imgheight=this.height,f.element&&g(f),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!e||e.hasLoaded||e.onload()},src:h}),this.imgCount++)}return b},n.prototype.clipRect=function(e,t,n,a){var r=S()+"-",i=this.createElement("clipPath").attr({id:r}).add(this.defs);return(e=this.rect(e,t,n,a,0).add(i)).id=r,e.clipPath=i,e.count=0,e},n.prototype.text=function(e,t,n,a){var r={};return!a||!this.allowHTML&&this.forExport?(r.x=Math.round(t||0),n&&(r.y=Math.round(n)),k(e)&&(r.text=e),e=this.createElement("text").attr(r),(!a||this.forExport&&!this.allowHTML)&&(e.xSetter=function(e,t,n){for(var a,r=n.getElementsByTagName("tspan"),i=n.getAttribute(t),o=0;o<r.length;o++)(a=r[o]).getAttribute(t)===i&&a.setAttribute(t,e);n.setAttribute(t,e)}),e):this.html(e,t,n)},n.prototype.fontMetrics=function(e,t){return e=!this.styledMode&&/px/.test(e)||!y.getComputedStyle?e||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize:t&&r.prototype.getStyle.call(t,"font-size"),{h:t=24>(e=/px/.test(e)?L(e):12)?e+3:Math.round(1.2*e),b:Math.round(.8*t),f:e}},n.prototype.rotCorr=function(e,t,n){var a=e;return t&&n&&(a=Math.max(a*Math.cos(t*d),4)),{x:-e/3*Math.sin(t*d),y:a}},n.prototype.pathToSegments=function(e){for(var t=[],n=[],a={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<e.length;r++)E(n[0])&&N(e[r])&&n.length===a[n[0].toUpperCase()]&&e.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof e[r]&&(n.length&&t.push(n.slice(0)),n.length=0),n.push(e[r]);return t.push(n.slice(0)),t},n.prototype.label=function(e,t,n,a,r,o,s,l,c){return new i(this,e,t,n,a,r,o,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(e){return e.align()}))},n}(),x(n.prototype,{Element:r,SVG_NS:g,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:o,draw:f}),a.registerRendererType("svg",n,!0),n})),t(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=e.isFirefox,i=e.isMS,o=e.isWebKit,s=e.win,l=n.css,c=n.defined,u=n.extend,d=n.pick,p=n.pInt;return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.compose=function(e){if(-1===t.composedClasses.indexOf(e)){t.composedClasses.push(e);var n=t.prototype,a=e.prototype;a.getSpanCorrection=n.getSpanCorrection,a.htmlCss=n.htmlCss,a.htmlGetBBox=n.htmlGetBBox,a.htmlUpdateTransform=n.htmlUpdateTransform,a.setSpanRotation=n.setSpanRotation}return e},t.prototype.getSpanCorrection=function(e,t,n){this.xCorr=-e*n,this.yCorr=-t},t.prototype.htmlCss=function(e){var t="SPAN"===this.element.tagName&&e&&"width"in e,n=d(t&&e.width,void 0);if(t){delete e.width,this.textWidth=n;var a=!0}return e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=u(this.styles,e),l(this.element,e),a&&this.htmlUpdateTransform(),this},t.prototype.htmlGetBBox=function(){var e=this.element;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}},t.prototype.htmlUpdateTransform=function(){if(this.added){var e=this.renderer,t=this.element,n=this.translateX||0,a=this.translateY||0,r=this.x||0,i=this.y||0,o=this.textAlign||"left",s={left:0,center:.5,right:1}[o],u=this.styles;if(u=u&&u.whiteSpace,l(t,{marginLeft:n,marginTop:a}),!e.styledMode&&this.shadows&&this.shadows.forEach((function(e){l(e,{marginLeft:n+1,marginTop:a+1})})),this.inverted&&[].forEach.call(t.childNodes,(function(n){e.invertChild(n,t)})),"SPAN"===t.tagName){var d=this.rotation,m=this.textWidth&&p(this.textWidth),b=[d,o,t.innerHTML,this.textWidth,this.textAlign].join(),h=void 0;if(h=!1,m!==this.oldTextWidth){if(this.textPxLength)var f=this.textPxLength;else l(t,{width:"",whiteSpace:u||"nowrap"}),f=t.offsetWidth;(m>this.oldTextWidth||f>m)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(l(t,{width:f>m||d?m+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=m,h=!0)}this.hasBoxWidthChanged=h,b!==this.cTT&&(h=e.fontMetrics(t.style.fontSize,t).b,!c(d)||d===(this.oldRotation||0)&&o===this.oldAlign||this.setSpanRotation(d,s,h),this.getSpanCorrection(!c(d)&&this.textPxLength||t.offsetWidth,h,s,d,o)),l(t,{left:r+(this.xCorr||0)+"px",top:i+(this.yCorr||0)+"px"}),this.cTT=b,this.oldRotation=d,this.oldAlign=o}}else this.alignOnAdd=!0},t.prototype.setSpanRotation=function(e,t,n){var a={},c=i&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":o?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;c&&(a[c]=a.transform="rotate("+e+"deg)",a[c+(r?"Origin":"-origin")]=a.transformOrigin=100*t+"% "+n+"px",l(this.element,a))},t.composedClasses=[],t}(t)})),t(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=a.attr,o=a.createElement,s=a.extend,l=a.pick;return function(n){function a(){return null!==n&&n.apply(this,arguments)||this}return r(a,n),a.compose=function(e){return-1===a.composedClasses.indexOf(e)&&(a.composedClasses.push(e),e.prototype.html=a.prototype.html),e},a.prototype.html=function(n,a,r){var c=this.createElement("span"),u=c.element,d=c.renderer,p=d.isSVG,m=function(e,n){["opacity","visibility"].forEach((function(a){e[a+"Setter"]=function(r,i,o){var s=e.div?e.div.style:n;t.prototype[a+"Setter"].call(this,r,i,o),s&&(s[i]=r)}})),e.addedSetters=!0};return c.textSetter=function(t){t!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,l(t,"")),this.textStr=t,c.doTransform=!0)},p&&m(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(e,t){"align"===t?c.alignValue=c.textAlign=e:c[t]=e,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(a),y:Math.round(r)}).css({position:"absolute"}),d.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,p&&(c.add=function(e){var t=d.box.parentNode,n=[];if(this.parentGroup=e){var a=e.div;if(!a){for(;e;)n.push(e),e=e.parentGroup;n.reverse().forEach((function(e){function r(t,n){e[n]=t,"translateX"===n?d.left=t+"px":d.top=t+"px",e.doTransform=!0}var l=i(e.element,"class"),u=e.styles||{},d=(a=e.div=e.div||o("div",l?{className:l}:void 0,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,cursor:u.cursor,pointerEvents:u.pointerEvents,visibility:e.visibility},a||t)).style;s(e,{classSetter:function(e){return function(t){this.element.setAttribute("class",t),e.className=t}}(a),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:e.onEvents},arguments),e},translateXSetter:r,translateYSetter:r}),e.addedSetters||m(e)}))}}else a=t;return a.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},a.composedClasses=[],a}(n)})),t(n,"Core/Axis/AxisDefaults.js",[],(function(){var e;return function(e){e.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"},e.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},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(e||(e={})),e})),t(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,a=e.isFunction,r=e.objectEach,i=e.removeEvent;return function(e){e.registerEventOptions=function(e,t){e.eventOptions=e.eventOptions||{},r(t.events,(function(t,r){e.eventOptions[r]!==t&&(e.eventOptions[r]&&(i(e,r,e.eventOptions[r]),delete e.eventOptions[r]),a(t)&&(e.eventOptions[r]=t,n(e,r,t)))}))}}(t||(t={})),t})),t(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=t.deg2rad,r=n.clamp,i=n.correctFloat,o=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,u=n.isNumber,d=n.merge,p=n.objectEach,m=n.pick;return t=function(){function t(e,t,n,a,r){this.isNewLabel=this.isNew=!0,this.axis=e,this.pos=t,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||a||this.addLabel()}return t.prototype.addLabel=function(){var t=this,n=t.axis,a=n.options,r=n.chart,s=n.categories,d=n.logarithmic,p=n.names,b=t.pos,h=m(t.options&&t.options.labels,a.labels),f=n.tickPositions,g=b===f[0],_=b===f[f.length-1],y=(!h.step||1===h.step)&&1===n.tickInterval;f=f.info;var M,v=t.label;if(s=this.parameters.category||(s?m(s[b],p[b],b):b),d&&u(s)&&(s=i(d.lin2log(s))),n.dateTime)if(f)var z=r.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid&&f.higherRanks[b]||f.unitName]),O=z.main;else u(s)&&(O=n.dateTime.getXDateFormat(s,a.dateTimeLabelFormats||{}));t.isFirst=g,t.isLast=_;var k={axis:n,chart:r,dateTimeLabelFormat:O,isFirst:g,isLast:_,pos:b,tick:t,tickPositionInfo:f,value:s};c(this,"labelFormat",k);var A=function(t){return h.formatter?h.formatter.call(t,t):h.format?(t.text=n.defaultLabelFormatter.call(t),e.format(h.format,t,r)):n.defaultLabelFormatter.call(t,t)};a=A.call(k,k);var x=z&&z.list;t.shortenLabel=x?function(){for(M=0;M<x.length;M++)if(l(k,{dateTimeLabelFormat:x[M]}),v.attr({text:A.call(k,k)}),v.getBBox().width<n.getSlotWidth(t)-2*h.padding)return;v.attr({text:""})}:void 0,y&&n._addedPlotLB&&t.moveLabel(a,h),o(v)||t.movedLabel?v&&v.textStr!==a&&!y&&(!v.textWidth||h.style.width||v.styles.width||v.css({width:null}),v.attr({text:a}),v.textPxLength=v.getBBox().width):(t.label=v=t.createLabel({x:0,y:0},a,h),t.rotation=0)},t.prototype.createLabel=function(e,t,n){var a=this.axis,r=a.chart;return(e=o(t)&&n.enabled?r.renderer.text(t,e.x,e.y,n.useHTML).add(a.labelGroup):null)&&(r.styledMode||e.css(d(n.style)),e.textPxLength=e.getBBox().width),e},t.prototype.destroy=function(){s(this,this.axis)},t.prototype.getPosition=function(e,t,n,a){var o=this.axis,s=o.chart,l=a&&s.oldChartHeight||s.chartHeight;return(e={x:e?i(o.translate(t+n,null,null,a)+o.transB):o.left+o.offset+(o.opposite?(a&&s.oldChartWidth||s.chartWidth)-o.right-o.left:0),y:e?l-o.bottom+o.offset-(o.opposite?o.height:0):i(l-o.translate(t+n,null,null,a)-o.transB)}).y=r(e.y,-1e5,1e5),c(this,"afterGetPosition",{pos:e}),e},t.prototype.getLabelPosition=function(e,t,n,r,i,s,l,u){var d=this.axis,p=d.transA,m=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,b=d.staggerLines,h=d.tickRotCorr||{x:0,y:0},f=r||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),g={},_=i.y;return o(_)||(_=0===d.side?n.rotation?-8:-n.getBBox().height:2===d.side?h.y+8:Math.cos(n.rotation*a)*(h.y-n.getBBox(!1,0).height/2)),e=e+i.x+f+h.x-(s&&r?s*p*(m?-1:1):0),t=t+_-(s&&!r?s*p*(m?1:-1):0),b&&(n=l/(u||1)%b,d.opposite&&(n=b-n-1),t+=d.labelOffset/b*n),g.x=e,g.y=Math.round(t),c(this,"afterGetLabelPosition",{pos:g,tickmarkOffset:s,index:l}),g},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(e,t,n,a,r,i){return i.crispLine([["M",e,t],["L",e+(r?0:-n),t+(r?n:0)]],a)},t.prototype.handleOverflow=function(e){var t=this.axis,n=t.options.labels,r=e.x,i=t.chart.chartWidth,o=t.chart.spacing,s=m(t.labelLeft,Math.min(t.pos,o[3]));o=m(t.labelRight,Math.max(t.isRadial?0:t.pos+t.len,i-o[1]));var l,c=this.label,u=this.rotation,d={left:0,center:.5,right:1}[t.labelAlign||c.attr("align")],p=c.getBBox().width,b=t.getSlotWidth(this),h={},f=b,g=1;u||"justify"!==n.overflow?0>u&&r-d*p<s?l=Math.round(r/Math.cos(u*a)-s):0<u&&r+d*p>o&&(l=Math.round((i-r)/Math.cos(u*a))):(i=r+(1-d)*p,r-d*p<s?f=e.x+f*(1-d)-s:i>o&&(f=o-e.x+f*d,g=-1),(f=Math.min(b,f))<b&&"center"===t.labelAlign&&(e.x+=g*(b-f-d*(b-Math.min(p,f)))),(p>f||t.autoRotation&&(c.styles||{}).width)&&(l=f)),l&&(this.shortenLabel?this.shortenLabel():(h.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(h.textOverflow="ellipsis"),c.css(h)))},t.prototype.moveLabel=function(e,t){var n=this,a=n.label,r=n.axis,i=r.reversed,o=!1;if(a&&a.textStr===e?(n.movedLabel=a,o=!0,delete n.label):p(r.ticks,(function(t){o||t.isNew||t===n||!t.label||t.label.textStr!==e||(n.movedLabel=t.label,o=!0,t.labelPos=n.movedLabel.xy,delete t.label)})),!o&&(n.labelPos||a)){var s=n.labelPos||a.xy;a=r.horiz?i?0:r.width+r.left:s.x,r=r.horiz?s.y:i?r.width+r.left:0,n.movedLabel=n.createLabel({x:a,y:r},e,t),n.movedLabel&&n.movedLabel.attr({opacity:0})}},t.prototype.render=function(e,t,n){var a=this.axis,r=a.horiz,i=this.pos,o=m(this.tickmarkOffset,a.tickmarkOffset);o=(i=this.getPosition(r,i,o,t)).x;var s=i.y;a=r&&o===a.pos+a.len||!r&&s===a.pos?-1:1,r=m(n,this.label&&this.label.newOpacity,1),n=m(n,1),this.isActive=!0,this.renderGridLine(t,n,a),this.renderMark(i,n,a),this.renderLabel(i,t,r,e),this.isNew=!1,c(this,"afterRender")},t.prototype.renderGridLine=function(e,t,n){var a=this.axis,r=a.options,i={},o=this.pos,s=this.type,l=m(this.tickmarkOffset,a.tickmarkOffset),c=a.chart.renderer,u=this.gridLine,d=r.gridLineWidth,p=r.gridLineColor,b=r.gridLineDashStyle;"minor"===this.type&&(d=r.minorGridLineWidth,p=r.minorGridLineColor,b=r.minorGridLineDashStyle),u||(a.chart.styledMode||(i.stroke=p,i["stroke-width"]=d||0,i.dashstyle=b),s||(i.zIndex=1),e&&(t=0),this.gridLine=u=c.path().attr(i).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(a.gridGroup)),u&&(n=a.getPlotLinePath({value:o+l,lineWidth:u.strokeWidth()*n,force:"pass",old:e}))&&u[e||this.isNew?"attr":"animate"]({d:n,opacity:t})},t.prototype.renderMark=function(e,t,n){var a=this.axis,r=a.options,i=a.chart.renderer,o=this.type,s=a.tickSize(o?o+"Tick":"tick"),l=e.x;e=e.y;var c=m(r["minor"!==o?"tickWidth":"minorTickWidth"],!o&&a.isXAxis?1:0);r=r["minor"!==o?"tickColor":"minorTickColor"];var u=this.mark,d=!u;s&&(a.opposite&&(s[0]=-s[0]),u||(this.mark=u=i.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(a.axisGroup),a.chart.styledMode||u.attr({stroke:r,"stroke-width":c})),u[d?"attr":"animate"]({d:this.getMarkPath(l,e,s[0],u.strokeWidth()*n,a.horiz,i),opacity:t}))},t.prototype.renderLabel=function(e,t,n,a){var r=this.axis,i=r.horiz,o=r.options,s=this.label,l=o.labels,c=l.step;r=m(this.tickmarkOffset,r.tickmarkOffset);var d=e.x;e=e.y;var p=!0;s&&u(d)&&(s.xy=e=this.getLabelPosition(d,e,s,i,l,r,a,c),this.isFirst&&!this.isLast&&!o.showFirstLabel||this.isLast&&!this.isFirst&&!o.showLastLabel?p=!1:!i||l.step||l.rotation||t||0===n||this.handleOverflow(e),c&&a%c&&(p=!1),p&&u(e.y)?(e.opacity=n,s[this.isNewLabel?"attr":"animate"](e),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var e=this.label,t=this.axis,n=t.reversed;if(e&&!this.isNew){var a=t.horiz?n?t.left:t.width+t.left:e.xy.x;n=t.horiz?e.xy.y:n?t.width+t.top:t.top,e.animate({x:a,y:n,opacity:0},void 0,e.destroy),delete this.label}t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}()})),t(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s){var l=e.animObject,c=a.defaultOptions,u=r.registerEventOptions,d=i.deg2rad,p=s.arrayMax,m=s.arrayMin,b=s.clamp,h=s.correctFloat,f=s.defined,g=s.destroyObjectProperties,_=s.erase,y=s.error,M=s.extend,v=s.fireEvent,z=s.getMagnitude,O=s.isArray,k=s.isNumber,A=s.isString,x=s.merge,w=s.normalizeTickInterval,N=s.objectEach,q=s.pick,E=s.relativeLength,j=s.removeEvent,W=s.splat,L=s.syncTimeout;return e=function(){function e(e,t){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(e,t)}return e.prototype.init=function(e,t){var n=t.isX;this.chart=e,this.horiz=e.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),v(this,"init",{userOptions:t}),this.opposite=q(t.opposite,this.opposite),this.side=q(t.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(t);var a=this.options,r=a.labels,i=a.type;this.userOptions=t,this.minPixelPadding=0,this.reversed=q(a.reversed,this.reversed),this.visible=a.visible,this.zoomEnabled=a.zoomEnabled,this.hasNames="category"===i||!0===a.categories,this.categories=a.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=f(a.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=a.minRange||a.maxZoom,this.range=a.range,this.offset=a.offset||0,this.min=this.max=null,t=q(a.crosshair,W(e.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===t?{}:t,-1===e.axes.indexOf(this)&&(n?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),e[this.coll].push(this)),this.series=this.series||[],e.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=k(r.rotation)?r.rotation:void 0,u(this,a),v(this,"afterInit")},e.prototype.setOptions=function(e){this.options=x(t.defaultXAxisOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],x(c[this.coll],e)),v(this,"afterSetOptions",{userOptions:e})},e.prototype.defaultLabelFormatter=function(e){var t=this.axis;e=this.chart.numberFormatter;var n=k(this.value)?this.value:NaN,a=t.chart.time,r=this.dateTimeLabelFormat,i=c.lang,o=i.numericSymbols;i=i.numericSymbolMagnitude||1e3;var s=t.logarithmic?Math.abs(n):t.tickInterval,l=o&&o.length;if(t.categories)var u=""+this.value;else if(r)u=a.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===u;)s>=(t=Math.pow(i,l+1))&&0==10*n%t&&null!==o[l]&&0!==n&&(u=e(n/t,-1)+o[l]);return void 0===u&&(u=1e4<=Math.abs(n)?e(n,-1):e(n,-1,void 0,"")),u},e.prototype.getSeriesExtremes=function(){var e,t=this,n=t.chart;v(this,"getSeriesExtremes",null,(function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.stacking&&t.stacking.buildStacks(),t.series.forEach((function(a){if(a.visible||!n.options.chart.ignoreHiddenSeries){var r=a.options,i=r.threshold;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=i&&(i=null),t.isXAxis){if((r=a.xData).length){r=t.logarithmic?r.filter(t.validatePositiveValue):r;var o=(e=a.getXExtremes(r)).min,s=e.max;k(o)||o instanceof Date||(r=r.filter(k),o=(e=a.getXExtremes(r)).min,s=e.max),r.length&&(t.dataMin=Math.min(q(t.dataMin,o),o),t.dataMax=Math.max(q(t.dataMax,s),s))}}else a=a.applyExtremes(),k(a.dataMin)&&(o=a.dataMin,t.dataMin=Math.min(q(t.dataMin,o),o)),k(a.dataMax)&&(s=a.dataMax,t.dataMax=Math.max(q(t.dataMax,s),s)),f(i)&&(t.threshold=i),(!r.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}}))})),v(this,"afterGetSeriesExtremes")},e.prototype.translate=function(e,t,n,a,r,i){var o=this.linkedParent||this,s=a&&o.old?o.old.min:o.min,l=o.minPixelPadding;r=(o.isOrdinal||o.brokenAxis&&o.brokenAxis.hasBreaks||o.logarithmic&&r)&&o.lin2val;var c=1,u=0;return(a=a&&o.old?o.old.transA:o.transA)||(a=o.transA),n&&(c*=-1,u=o.len),o.reversed&&(u-=(c*=-1)*(o.sector||o.len)),t?(e=(e*c+u-l)/a+s,r&&(e=o.lin2val(e))):(r&&(e=o.val2lin(e)),e=k(s)?c*(e-s)*a+u+c*l+(k(i)?a*i:0):void 0),e},e.prototype.toPixels=function(e,t){return this.translate(e,!1,!this.horiz,null,!0)+(t?0:this.pos)},e.prototype.toValue=function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,null,!0)},e.prototype.getPlotLinePath=function(e){function t(e,t,n){return("pass"!==y&&e<t||e>n)&&(y?e=b(e,t,n):o=!0),e}var n,a,r,i,o,s=this,l=s.chart,c=s.left,u=s.top,d=e.old,p=e.value,m=e.lineWidth,h=d&&l.oldChartHeight||l.chartHeight,f=d&&l.oldChartWidth||l.chartWidth,g=s.transB,_=e.translatedValue,y=e.force;return e={value:p,lineWidth:m,old:d,force:y,acrossPanes:e.acrossPanes,translatedValue:_},v(this,"getPlotLinePath",e,(function(e){_=q(_,s.translate(p,null,null,d)),_=b(_,-1e5,1e5),n=r=Math.round(_+g),a=i=Math.round(h-_-g),k(_)?s.horiz?(a=u,i=h-s.bottom,n=r=t(n,c,c+s.width)):(n=c,r=f-s.right,a=i=t(a,u,u+s.height)):(o=!0,y=!1),e.path=o&&!y?null:l.renderer.crispLine([["M",n,a],["L",r,i]],m||1)})),e.path},e.prototype.getLinearTickPositions=function(e,t,n){var a=h(Math.floor(t/e)*e);n=h(Math.ceil(n/e)*e);var r,i=[];if(h(a+e)===a&&(r=20),this.single)return[t];for(t=a;t<=n&&(i.push(t),(t=h(t+e,r))!==o);)var o=t;return i},e.prototype.getMinorTickInterval=function(){var e=this.options;return!0===e.minorTicks?q(e.minorTickInterval,"auto"):!1===e.minorTicks?null:e.minorTickInterval},e.prototype.getMinorTickPositions=function(){var e=this.options,t=this.tickPositions,n=this.minorTickInterval,a=this.pointRangePadding||0,r=this.min-a,i=(a=this.max+a)-r,o=[];if(i&&i/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(e,t,a){t&&o.push.apply(o,s.getLogTickPositions(n,a[t-1],a[t],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())o=o.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),r,a,e.startOfWeek));else for(e=r+(t[0]-r)%n;e<=a&&e!==o[0];e+=n)o.push(e)}return 0!==o.length&&this.trimTicks(o),o},e.prototype.adjustForMinRange=function(){var e,t,n,a,r=this.options,i=this.logarithmic,o=this.min,s=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!i&&(f(r.min)||f(r.max)||f(r.floor)||f(r.ceiling)?this.minRange=null:(this.series.forEach((function(r){if(n=r.xData,a=r.xIncrement?1:n.length-1,1<n.length)for(e=a;0<e;e--)t=n[e]-n[e-1],(!l||t<l)&&(l=t)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-o<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,u=this.minRange,d=(u-s+o)/2;d=[o-d,q(r.min,o-d)],c&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(o=p(d))+u,q(r.max,o+u)],c&&(s[2]=i?i.log2lin(this.dataMax):this.dataMax),(s=m(s))-o<u&&(d[0]=s-u,d[1]=q(r.min,s-u),o=p(d))}this.min=o,this.max=s},e.prototype.getClosest=function(){var e;return this.categories?e=1:this.series.forEach((function(t){var n=t.closestPointRange,a=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&f(n)&&a&&(e=f(e)?Math.min(e,n):n)})),e},e.prototype.nameToX=function(e){var t=O(this.categories),n=t?this.categories:this.names,a=e.options.x;if(e.series.requireSorting=!1,f(a)||(a=this.options.uniqueNames?t?n.indexOf(e.name):q(n.keys[e.name],-1):e.series.autoIncrement()),-1===a){if(!t)var r=n.length}else r=a;return void 0!==r&&(this.names[r]=e.name,this.names.keys[e.name]=r),r},e.prototype.updateNames=function(){var e=this,t=this.names;0<t.length&&(Object.keys(t.keys).forEach((function(e){delete t.keys[e]})),t.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(t){t.xIncrement=null,t.points&&!t.isDirtyData||(e.max=Math.max(e.max,t.xData.length-1),t.processData(),t.generatePoints()),t.data.forEach((function(n,a){if(n&&n.options&&void 0!==n.name){var r=e.nameToX(n);void 0!==r&&r!==n.x&&(n.x=r,t.xData[a]=r)}}))})))},e.prototype.setAxisTranslation=function(){var e=this,t=e.max-e.min,n=e.linkedParent,a=!!e.categories,r=e.isXAxis,i=e.axisPointRange||0,o=0,s=0,l=e.transA;if(r||a||i){var c=e.getClosest();n?(o=n.minPointOffset,s=n.pointRangePadding):e.series.forEach((function(t){var n=a?1:r?q(t.options.pointRange,c,0):e.axisPointRange||0,l=t.options.pointPlacement;i=Math.max(i,n),e.single&&!a||(t=t.is("xrange")?!r:r,o=Math.max(o,t&&A(l)?0:n/2),s=Math.max(s,t&&"on"===l?0:n))})),n=e.ordinal&&e.ordinal.slope&&c?e.ordinal.slope/c:1,e.minPointOffset=o*=n,e.pointRangePadding=s*=n,e.pointRange=Math.min(i,e.single&&a?1:t),r&&(e.closestPointRange=c)}e.translationSlope=e.transA=l=e.staticScale||e.len/(t+s||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=l*o,v(this,"afterSetAxisTranslation")},e.prototype.minFromRange=function(){return this.max-this.range},e.prototype.setTickInterval=function(e){var t=this.chart,n=this.logarithmic,a=this.options,r=this.isXAxis,i=this.isLinked,o=a.tickPixelInterval,s=this.categories,l=this.softThreshold,c=a.maxPadding,u=a.minPadding,d=k(a.tickInterval)&&0<=a.tickInterval?a.tickInterval:void 0,p=k(this.threshold)?this.threshold:null;this.dateTime||s||i||this.getTickAmount();var m=q(this.userMin,a.min),b=q(this.userMax,a.max);if(i){this.linkedParent=t[this.coll][a.linkedTo];var g=this.linkedParent.getExtremes();this.min=q(g.min,g.dataMin),this.max=q(g.max,g.dataMax),a.type!==this.linkedParent.options.type&&y(11,1,t)}else{if(l&&f(p))if(this.dataMin>=p)g=p,u=0;else if(this.dataMax<=p){var _=p;c=0}this.min=q(m,g,this.dataMin),this.max=q(b,_,this.dataMax)}if(n&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,q(this.dataMin,this.min))&&y(10,1,t),this.min=h(n.log2lin(this.min),16),this.max=h(n.log2lin(this.max),16)),this.range&&f(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=b=this.max,this.range=null),v(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||i)&&f(this.min)&&f(this.max)&&(t=this.max-this.min)&&(!f(m)&&u&&(this.min-=t*u),!f(b)&&c&&(this.max+=t*c)),k(this.userMin)||(k(a.softMin)&&a.softMin<this.min&&(this.min=m=a.softMin),k(a.floor)&&(this.min=Math.max(this.min,a.floor))),k(this.userMax)||(k(a.softMax)&&a.softMax>this.max&&(this.max=b=a.softMax),k(a.ceiling)&&(this.max=Math.min(this.max,a.ceiling))),l&&f(this.dataMin)&&(p=p||0,!f(m)&&this.min<p&&this.dataMin>=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!f(b)&&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&&(f(this.options.min)?this.max=this.min:f(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:i&&this.linkedParent&&!d&&o===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:q(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*o/Math.max(this.len,o)),r&&!e){var M=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(e){e.forceCrop=e.forceCropping&&e.forceCropping(),e.processData(M)})),v(this,"postProcessData",{hasExtemesChanged:M})}this.setAxisTranslation(),v(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),e=q(a.minTickInterval,this.dateTime&&!this.series.some((function(e){return e.noSharedTooltip}))?this.closestPointRange:0),!d&&this.tickInterval<e&&(this.tickInterval=e),this.dateTime||this.logarithmic||d||(this.tickInterval=w(this.tickInterval,void 0,z(this.tickInterval),q(a.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},e.prototype.setTickPositions=function(){var e=this.options,t=e.tickPositions,n=this.getMinorTickInterval(),a=this.hasVerticalPanning(),r="colorAxis"===this.coll,i=(r||!a)&&e.startOnTick;a=(r||!a)&&e.endOnTick,r=e.tickPositioner,this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&f(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=n=t&&t.slice(),!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.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):(n=[this.min,this.max],y(19,!1,this.chart)),n.length>this.len&&((n=[n[0],n.pop()])[0]===n[1]&&(n.length=1)),this.tickPositions=n,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=n=r),this.paddedTicks=n.slice(0),this.trimTicks(n,i,a),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some((function(e){return e.is("heatmap")&&"between"===e.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),t||r||this.adjustTickAmount()),v(this,"afterSetTickPositions")},e.prototype.trimTicks=function(e,t,n){var a=e[0],r=e[e.length-1],i=!this.isOrdinal&&this.minPointOffset||0;if(v(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==a)this.min=a;else for(;this.min-i>e[0];)e.shift();if(n)this.max=r;else for(;this.max+i<e[e.length-1];)e.pop();0===e.length&&f(a)&&!this.options.tickPositions&&e.push((r+a)/2)}},e.prototype.alignToOthers=function(){var e,t={},n=this.options;return!1!==this.chart.options.chart.alignTicks&&n.alignTicks&&!1!==n.startOnTick&&!1!==n.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(n){var a=n.options;a=[n.horiz?a.left:a.top,a.width,a.height,a.pane].join(),n.series.length&&(t[a]?e=!0:t[a]=1)})),e},e.prototype.getTickAmount=function(){var e=this.options,t=e.tickPixelInterval,n=e.tickAmount;!f(e.tickInterval)&&!n&&this.len<t&&!this.isRadial&&!this.logarithmic&&e.startOnTick&&e.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/t)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},e.prototype.adjustTickAmount=function(){var e=this.options,t=this.tickInterval,n=this.tickPositions,a=this.tickAmount,r=this.finalTickAmt,i=n&&n.length,o=q(this.threshold,this.softThreshold?0:null);if(this.hasData()&&k(this.min)&&k(this.max)){if(i<a){for(;n.length<a;)n.length%2||this.min===o?n.push(h(n[n.length-1]+t)):n.unshift(h(n[0]-t));this.transA*=(i-1)/(a-1),this.min=e.startOnTick?n[0]:Math.min(this.min,n[0]),this.max=e.endOnTick?n[n.length-1]:Math.max(this.max,n[n.length-1])}else i>a&&(this.tickInterval*=2,this.setTickPositions());if(f(r)){for(t=e=n.length;t--;)(3===r&&1==t%2||2>=r&&0<t&&t<e-1)&&n.splice(t,1);this.finalTickAmt=void 0}}},e.prototype.setScale=function(){var e=!1,t=!1;this.series.forEach((function(n){e=e||n.isDirtyData||n.isDirty,t=t||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||e||t||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.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),v(this,"afterSetScale")},e.prototype.setExtremes=function(e,t,n,a,r){var i=this,o=i.chart;n=q(n,!0),i.series.forEach((function(e){delete e.kdTree})),r=M(r,{min:e,max:t}),v(i,"setExtremes",r,(function(){i.userMin=e,i.userMax=t,i.eventArgs=r,n&&o.redraw(a)}))},e.prototype.zoom=function(e,t){var n=this,a=this.dataMin,r=this.dataMax,i=this.options,o=Math.min(a,q(i.min,a)),s=Math.max(r,q(i.max,r));return v(this,"zoom",e={newMin:e,newMax:t},(function(e){var t=e.newMin,i=e.newMax;t===n.min&&i===n.max||(n.allowZoomOutside||(f(a)&&(t<o&&(t=o),t>s&&(t=s)),f(r)&&(i<o&&(i=o),i>s&&(i=s))),n.displayBtn=void 0!==t||void 0!==i,n.setExtremes(t,i,!1,void 0,{trigger:"zoom"})),e.zoomed=!0})),e.zoomed},e.prototype.setAxisSize=function(){var e=this.chart,t=this.options,n=t.offsets||[0,0,0,0],a=this.horiz,r=this.width=Math.round(E(q(t.width,e.plotWidth-n[3]+n[1]),e.plotWidth)),i=this.height=Math.round(E(q(t.height,e.plotHeight-n[0]+n[2]),e.plotHeight)),o=this.top=Math.round(E(q(t.top,e.plotTop+n[0]),e.plotHeight,e.plotTop));t=this.left=Math.round(E(q(t.left,e.plotLeft+n[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-i-o,this.right=e.chartWidth-r-t,this.len=Math.max(a?r:i,0),this.pos=a?t:o},e.prototype.getExtremes=function(){var e=this.logarithmic;return{min:e?h(e.lin2log(this.min)):this.min,max:e?h(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},e.prototype.getThreshold=function(e){var t=this.logarithmic,n=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===e||-1/0===e?e=n:1/0===e?e=t:n>e?e=n:t<e&&(e=t),this.translate(e,0,1,0,1)},e.prototype.autoLabelAlign=function(e){var t=(q(e,0)-90*this.side+720)%360;return v(this,"autoLabelAlign",e={align:"center"},(function(e){15<t&&165>t?e.align="right":195<t&&345>t&&(e.align="left")})),e.align},e.prototype.tickSize=function(e){var t=this.options,n=q(t["tick"===e?"tickWidth":"minorTickWidth"],"tick"===e&&this.isXAxis&&!this.categories?1:0),a=t["tick"===e?"tickLength":"minorTickLength"];if(n&&a){"inside"===t[e+"Position"]&&(a=-a);var r=[a,n]}return v(this,"afterTickSize",e={tickSize:r}),e.tickSize},e.prototype.labelMetrics=function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},e.prototype.unsquish=function(){var e,t,n=this.options.labels,a=this.horiz,r=this.tickInterval,i=this.len/(((this.categories?1:0)+this.max-this.min)/r),o=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(e){var t=e/(i||1);return(t=1<t?Math.ceil(t):1)*r>l&&1/0!==e&&1/0!==i&&l&&(t=Math.ceil(l/r)),h(t*r)},u=r,p=Number.MAX_VALUE;if(a){if(!n.staggerLines&&!n.step)if(k(o))var m=[o];else i<n.autoRotationLimit&&(m=n.autoRotation);m&&m.forEach((function(n){if(n===o||n&&-90<=n&&90>=n){var a=(t=c(Math.abs(s.h/Math.sin(d*n))))+Math.abs(n/360);a<p&&(p=a,e=n,u=t)}}))}else n.step||(u=c(s.h));return this.autoRotation=m,this.labelRotation=q(e,k(o)?o:0),u},e.prototype.getSlotWidth=function(e){var t=this.chart,n=this.horiz,a=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),i=t.margin[3];if(e&&k(e.slotWidth))return e.slotWidth;if(n&&2>a.step)return a.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(e=a.style.width))return parseInt(String(e),10);if(i)return i-t.spacing[3]}return.33*t.chartWidth},e.prototype.renderUnsquish=function(){var e=this.chart,t=e.renderer,n=this.tickPositions,a=this.ticks,r=this.options.labels,i=r.style,o=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),c={},u=this.labelMetrics(),d=i.textOverflow,p=0;if(A(r.rotation)||(c.rotation=r.rotation||0),n.forEach((function(e){(e=a[e]).movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>p&&(p=e.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>l&&p>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var m=l;if(!d){var b="clip";for(l=n.length;!o&&l--;){var h=n[l];(h=a[h].label)&&(h.styles&&"ellipsis"===h.styles.textOverflow?h.css({textOverflow:"clip"}):h.textPxLength>s&&h.css({width:s+"px"}),h.getBBox().height>this.len/n.length-(u.h-u.f)&&(h.specificTextOverflow="ellipsis"))}}}c.rotation&&(m=p>.5*e.chartHeight?.33*e.chartHeight:p,d||(b="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(e){var t=(e=a[e])&&e.label,n=i.width,r={};t&&(t.attr(c),e.shortenLabel?e.shortenLabel():m&&!n&&"nowrap"!==i.whiteSpace&&(m<t.textPxLength||"SPAN"===t.element.tagName)?(r.width=m+"px",d||(r.textOverflow=t.specificTextOverflow||b),t.css(r)):t.styles&&t.styles.width&&!r.width&&!n&&t.css({width:null}),delete t.specificTextOverflow,e.rotation=c.rotation)}),this),this.tickRotCorr=t.rotCorr(u.b,this.labelRotation||0,0!==this.side)},e.prototype.hasData=function(){return this.series.some((function(e){return e.hasData()}))||this.options.showEmpty&&f(this.min)&&f(this.max)},e.prototype.addTitle=function(e){var t,n=this.chart.renderer,a=this.horiz,r=this.opposite,i=this.options.title,o=this.chart.styledMode;this.axisTitle||((t=i.textAlign)||(t=(a?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[i.align]),this.axisTitle=n.text(i.text||"",0,0,i.useHTML).attr({zIndex:7,rotation:i.rotation,align:t}).addClass("highcharts-axis-title"),o||this.axisTitle.css(x(i.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),o||i.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[e?"show":"hide"](e)},e.prototype.generateTick=function(e){var t=this.ticks;t[e]?t[e].addLabel():t[e]=new o(this,e)},e.prototype.getOffset=function(){var e=this,t=this,n=t.chart,a=t.horiz,r=t.options,i=t.side,o=t.ticks,s=t.tickPositions,l=t.coll,c=t.axisParent,u=n.renderer,d=n.inverted&&!t.isZAxis?[1,0,3,2][i]:i,p=t.hasData(),m=r.title,b=r.labels,h=n.axisOffset;n=n.clipOffset;var g,_=[-1,1,1,-1][i],y=r.className,M=0,z=0,O=0;if(t.showAxis=g=p||r.showEmpty,t.staggerLines=t.horiz&&b.staggerLines||void 0,!t.axisGroup){var k=function(t,n,a){return u.g(t).attr({zIndex:a}).addClass("highcharts-"+l.toLowerCase()+n+" "+(e.isRadial?"highcharts-radial-axis"+n+" ":"")+(y||"")).add(c)};t.gridGroup=k("grid","-grid",r.gridZIndex),t.axisGroup=k("axis","",r.zIndex),t.labelGroup=k("axis-labels","-labels",b.zIndex)}if(p||t.isLinked?(s.forEach((function(e){t.generateTick(e)})),t.renderUnsquish(),t.reserveSpaceDefault=0===i||2===i||{1:"left",3:"right"}[i]===t.labelAlign,q(b.reserveSpace,"center"===t.labelAlign||null,t.reserveSpaceDefault)&&s.forEach((function(e){O=Math.max(o[e].getLabelSize(),O)})),t.staggerLines&&(O*=t.staggerLines),t.labelOffset=O*(t.opposite?-1:1)):N(o,(function(e,t){e.destroy(),delete o[t]})),m&&m.text&&!1!==m.enabled&&(t.addTitle(g),g&&!1!==m.reserveSpace)){t.titleOffset=M=t.axisTitle.getBBox()[a?"height":"width"];var A=m.offset;z=f(A)?0:q(m.margin,a?5:10)}t.renderLine(),t.offset=_*q(r.offset,h[i]?h[i]+(r.margin||0):0),t.tickRotCorr=t.tickRotCorr||{x:0,y:0},m=0===i?-t.labelMetrics().h:2===i?t.tickRotCorr.y:0,p=Math.abs(O)+z,O&&(p=p-m+_*(a?q(b.y,t.tickRotCorr.y+8*_):b.x)),t.axisTitleMargin=q(A,p),t.getMaxLabelDimensions&&(t.maxLabelDimensions=t.getMaxLabelDimensions(o,s)),"colorAxis"!==l&&(a=this.tickSize("tick"),h[i]=Math.max(h[i],(t.axisTitleMargin||0)+M+_*t.offset,p,s&&s.length&&a?a[0]+_*t.offset:0),r=!t.axisLine||r.offset?0:2*Math.floor(t.axisLine.strokeWidth()/2),n[d]=Math.max(n[d],r)),v(this,"afterGetOffset")},e.prototype.getLinePath=function(e){var t=this.chart,n=this.opposite,a=this.offset,r=this.horiz,i=this.left+(n?this.width:0)+a;return a=t.chartHeight-this.bottom-(n?this.height:0)+a,n&&(e*=-1),t.renderer.crispLine([["M",r?this.left:i,r?a:this.top],["L",r?t.chartWidth-this.right:i,r?a:t.chartHeight-this.bottom]],e)},e.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}))},e.prototype.getTitlePosition=function(){var e=this.horiz,t=this.left,n=this.top,a=this.len,r=this.options.title,i=e?t:n,o=this.opposite,s=this.offset,l=r.x,c=r.y,u=this.axisTitle,d=this.chart.renderer.fontMetrics(r.style.fontSize,u);return u=Math.max(u.getBBox(null,0).height-d.h-1,0),a={low:i+(e?0:a),middle:i+a/2,high:i+(e?a:0)}[r.align],t=(e?n+this.height:t)+(e?1:-1)*(o?-1:1)*this.axisTitleMargin+[-u,u,d.f,-u][this.side],e={x:e?a+l:t+(o?this.width:0)+s+l,y:e?t+c-(o?this.height:0)+s:a+c},v(this,"afterGetTitlePosition",{titlePosition:e}),e},e.prototype.renderMinorTick=function(e,t){var n=this.minorTicks;n[e]||(n[e]=new o(this,e,"minor")),t&&n[e].isNew&&n[e].render(null,!0),n[e].render(null,!1,1)},e.prototype.renderTick=function(e,t,n){var a=this.ticks;(!this.isLinked||e>=this.min&&e<=this.max||this.grid&&this.grid.isColumn)&&(a[e]||(a[e]=new o(this,e)),n&&a[e].isNew&&a[e].render(t,!0,-1),a[e].render(t))},e.prototype.render=function(){var e,t,n=this,a=n.chart,r=n.logarithmic,s=n.options,c=n.isLinked,u=n.tickPositions,d=n.axisTitle,p=n.ticks,m=n.minorTicks,b=n.alternateBands,h=s.stackLabels,f=s.alternateGridColor,g=n.tickmarkOffset,_=n.axisLine,y=n.showAxis,M=l(a.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,m,b].forEach((function(e){N(e,(function(e){e.isActive=!1}))})),n.hasData()||c){var z=n.chart.hasRendered&&n.old&&k(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(e){n.renderMinorTick(e,z)})),u.length&&(u.forEach((function(e,t){n.renderTick(e,t,z)})),g&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new o(n,-1,null,!0)),p[-1].render(-1))),f&&u.forEach((function(o,s){t=void 0!==u[s+1]?u[s+1]+g:n.max-g,0==s%2&&o<n.max&&t<=n.max+(a.polar?-g:g)&&(b[o]||(b[o]=new i.PlotLineOrBand(n)),e=o+g,b[o].options={from:r?r.lin2log(e):e,to:r?r.lin2log(t):t,color:f,className:"highcharts-alternate-grid"},b[o].render(),b[o].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(e){n.addPlotBandOrLine(e)})))}[p,m,b].forEach((function(e){var t=[],n=M.duration;N(e,(function(e,n){e.isActive||(e.render(n,!1,0),e.isActive=!1,t.push(n))})),L((function(){for(var n=t.length;n--;)e[t[n]]&&!e[t[n]].isActive&&(e[t[n]].destroy(),delete e[t[n]])}),e!==b&&a.hasRendered&&n?n:0)})),_&&(_[_.isPlaced?"animate":"attr"]({d:this.getLinePath(_.strokeWidth())}),_.isPlaced=!0,_[y?"show":"hide"](y)),d&&y&&(s=n.getTitlePosition(),k(s.y)?(d[d.isNew?"attr":"animate"](s),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),h&&h.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,v(this,"afterRender")},e.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(e){e.render()}))),this.series.forEach((function(e){e.isDirty=!0}))},e.prototype.getKeepProps=function(){return this.keepProps||e.keepProps},e.prototype.destroy=function(e){var t=this,n=t.plotLinesAndBands,a=this.eventOptions;if(v(this,"destroy",{keepEvents:e}),e||j(t),[t.ticks,t.minorTicks,t.alternateBands].forEach((function(e){g(e)})),n)for(e=n.length;e--;)n[e].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),t.plotLinesAndBandsGroups)t.plotLinesAndBandsGroups[r]=t.plotLinesAndBandsGroups[r].destroy();N(t,(function(e,n){-1===t.getKeepProps().indexOf(n)&&delete t[n]})),this.eventOptions=a},e.prototype.drawCrosshair=function(e,t){var a,r=this.crosshair,i=q(r&&r.snap,!0),o=this.chart,s=this.cross;if(v(this,"drawCrosshair",{e:e,point:t}),e||(e=this.cross&&this.cross.e),r&&!1!==(f(t)||!i)){if(i?f(t)&&(a=q("colorAxis"!==this.coll?t.crosshairPos:null,this.isXAxis?t.plotX:this.len-t.plotY)):a=e&&(this.horiz?e.chartX-this.pos:this.len-e.chartY+this.pos),f(a)){var l={value:t&&(this.isXAxis?t.x:q(t.stackY,t.y)),translatedValue:a};o.polar&&M(l,{isCrosshair:!0,chartX:e&&e.chartX,chartY:e&&e.chartY,point:t}),l=this.getPlotLinePath(l)||null}if(!f(l))return void this.hideCrosshair();i=this.categories&&!this.isRadial,s||(this.cross=s=o.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(i?"category ":"thin ")+(r.className||"")).attr({zIndex:q(r.zIndex,2)}).add(),o.styledMode||(s.attr({stroke:r.color||(i?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":q(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:l}),i&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=e}else this.hideCrosshair();v(this,"afterDrawCrosshair",{e:e,point:t})},e.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),v(this,"afterHideCrosshair")},e.prototype.hasVerticalPanning=function(){var e=this.chart.options.chart.panning;return!!(e&&e.enabled&&/y/.test(e.type))},e.prototype.validatePositiveValue=function(e){return k(e)&&0<e},e.prototype.update=function(e,t){var n=this.chart;e=x(this.userOptions,e),this.destroy(!0),this.init(n,e),n.isDirtyBox=!0,q(t,!0)&&n.redraw()},e.prototype.remove=function(e){for(var t=this.chart,n=this.coll,a=this.series,r=a.length;r--;)a[r]&&a[r].remove(!1);_(t.axes,this),_(t[n],this),t[n].forEach((function(e,t){e.options.index=e.userOptions.index=t})),this.destroy(),t.isDirtyBox=!0,q(e,!0)&&t.redraw()},e.prototype.setTitle=function(e,t){this.update({title:e},t)},e.prototype.setCategories=function(e,t){this.update({categories:e},t)},e.defaultOptions=t.defaultXAxisOptions,e.keepProps="extKey hcEvents names series userMax userMin".split(" "),e}()})),t(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,a=e.getMagnitude,r=e.normalizeTickInterval,i=e.timeUnits;return function(e){function t(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function o(e){"datetime"!==e.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];e.compose=function(e){return-1===s.indexOf(e)&&(s.push(e),e.keepProps.push("dateTime"),e.prototype.getTimeTicks=t,n(e,"init",o)),e};var l=function(){function e(e){this.axis=e}return e.prototype.normalizeTimeTickInterval=function(e,t){var n=t||[["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]];t=n[n.length-1];var o,s=i[t[0]],l=t[1];for(o=0;o<n.length&&(t=n[o],s=i[t[0]],l=t[1],!(n[o+1]&&e<=(s*l[l.length-1]+i[n[o+1][0]])/2));o++);return s===i.year&&e<5*s&&(l=[1,2,5]),{unitRange:s,count:e=r(e/s,l,"year"===t[0]?Math.max(a(e/s),1):1),unitName:t[0]}},e.prototype.getXDateFormat=function(e,t){var n=this.axis;return n.closestPointRange?n.chart.time.getDateFormat(n.closestPointRange,e,n.options.startOfWeek,t)||t.year:t.day},e}();e.Additions=l}(t||(t={})),t})),t(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,a=e.getMagnitude,r=e.normalizeTickInterval,i=e.pick;return function(e){function t(e){var t=this.logarithmic;"logarithmic"!==e.userOptions.type?this.logarithmic=void 0:t||(this.logarithmic=new l(this))}function o(){var e=this.logarithmic;e&&(this.lin2val=function(t){return e.lin2log(t)},this.val2lin=function(t){return e.log2lin(t)})}var s=[];e.compose=function(e){return-1===s.indexOf(e)&&(s.push(e),e.keepProps.push("logarithmic"),n(e,"init",t),n(e,"afterInit",o)),e};var l=function(){function e(e){this.axis=e}return e.prototype.getLogTickPositions=function(e,t,n,o){var s=this.axis,l=s.len,c=s.options,u=[];if(o||(this.minorAutoInterval=void 0),.5<=e)e=Math.round(e),u=s.getLinearTickPositions(e,t,n);else if(.08<=e){var d,p=Math.floor(t),m=c=void 0;for(l=.3<e?[1,2,4]:.15<e?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<n+1&&!m;p++){var b=l.length;for(d=0;d<b&&!m;d++){var h=this.log2lin(this.lin2log(p)*l[d]);h>t&&(!o||c<=n)&&void 0!==c&&u.push(c),c>n&&(m=!0),c=h}}}else t=this.lin2log(t),n=this.lin2log(n),e=o?s.getMinorTickInterval():c.tickInterval,e=i("auto"===e?null:e,this.minorAutoInterval,c.tickPixelInterval/(o?5:1)*(n-t)/((o?l/s.tickPositions.length:l)||1)),e=r(e,void 0,a(e)),u=s.getLinearTickPositions(e,t,n).map(this.log2lin),o||(this.minorAutoInterval=e/5);return o||(s.tickInterval=e),u},e.prototype.lin2log=function(e){return Math.pow(10,e)},e.prototype.log2lin=function(e){return Math.log(e)/Math.LN10},e}();e.Additions=l}(t||(t={})),t})),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.erase,a=e.extend,r=e.isNumber;return function(e){var t,i=[];e.compose=function(e,n){return t||(t=e),-1===i.indexOf(n)&&(i.push(n),a(n.prototype,o.prototype)),n};var o=function(){function e(){}return e.prototype.getPlotBandPath=function(e,t,n){void 0===n&&(n=this.options);var a=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),i=[],o=this.horiz;if(t=!r(this.min)||!r(this.max)||e<this.min&&t<this.min||e>this.max&&t>this.max,e=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),n=1,e&&a){if(t){var s=e.toString()===a.toString();n=0}for(t=0;t<e.length;t+=2){var l=e[t],c=e[t+1],u=a[t],d=a[t+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==d[0]&&"L"!==d[0]||(o&&u[1]===l[1]?(u[1]+=n,d[1]+=n):o||u[2]!==l[2]||(u[2]+=n,d[2]+=n),i.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",d[1],d[2]],["L",u[1],u[2]],["Z"])),i.isFlat=s}}return i},e.prototype.addPlotBand=function(e){return this.addPlotBandOrLine(e,"plotBands")},e.prototype.addPlotLine=function(e){return this.addPlotBandOrLine(e,"plotLines")},e.prototype.addPlotBandOrLine=function(e,n){var a=this,r=this.userOptions,i=new t(this,e);if(this.visible&&(i=i.render()),i){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((function(e){a.addPlotBandOrLine(e)}))),n){var o=r[n]||[];o.push(e),r[n]=o}this.plotLinesAndBands.push(i)}return i},e.prototype.removePlotBandOrLine=function(e){var t=this.plotLinesAndBands,a=this.options,r=this.userOptions;if(t){for(var i=t.length;i--;)t[i].id===e&&t[i].destroy();[a.plotLines||[],r.plotLines||[],a.plotBands||[],r.plotBands||[]].forEach((function(t){for(i=t.length;i--;)(t[i]||{}).id===e&&n(t,t[i])}))}},e.prototype.removePlotBand=function(e){this.removePlotBandOrLine(e)},e.prototype.removePlotLine=function(e){this.removePlotBandOrLine(e)},e}()}(t||(t={})),t})),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(e,t){var n=t.arrayMax,a=t.arrayMin,r=t.defined,i=t.destroyObjectProperties,o=t.erase,s=t.fireEvent,l=t.merge,c=t.objectEach,u=t.pick;return t=function(){function t(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)}return t.compose=function(n){return e.compose(t,n)},t.prototype.render=function(){s(this,"render");var e=this,t=e.axis,n=t.horiz,a=t.logarithmic,i=e.options,o=i.color,d=u(i.zIndex,0),p=i.events,m={},b=t.chart.renderer,h=i.label,f=e.label,g=i.to,_=i.from,y=i.value,M=e.svgElem,v=[],z=r(_)&&r(g);v=r(y);var O=!M,k={class:"highcharts-plot-"+(z?"band ":"line ")+(i.className||"")},A=z?"bands":"lines";if(a&&(_=a.log2lin(_),g=a.log2lin(g),y=a.log2lin(y)),t.chart.styledMode||(v?(k.stroke=o||"#999999",k["stroke-width"]=u(i.width,1),i.dashStyle&&(k.dashstyle=i.dashStyle)):z&&(k.fill=o||"#e6ebf5",i.borderWidth&&(k.stroke=i.borderColor,k["stroke-width"]=i.borderWidth))),m.zIndex=d,A+="-"+d,(a=t.plotLinesAndBandsGroups[A])||(t.plotLinesAndBandsGroups[A]=a=b.g("plot-"+A).attr(m).add()),O&&(e.svgElem=M=b.path().attr(k).add(a)),v)v=t.getPlotLinePath({value:y,lineWidth:M.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!z)return;v=t.getPlotBandPath(_,g,i)}return!e.eventsAdded&&p&&(c(p,(function(t,n){M.on(n,(function(t){p[n].apply(e,[t])}))})),e.eventsAdded=!0),(O||!M.d)&&v&&v.length?M.attr({d:v}):M&&(v?(M.show(!0),M.animate({d:v})):M.d&&(M.hide(),f&&(e.label=f=f.destroy()))),h&&(r(h.text)||r(h.formatter))&&v&&v.length&&0<t.width&&0<t.height&&!v.isFlat?(h=l({align:n&&z&&"center",x:n?!z&&4:10,verticalAlign:!n&&z&&"middle",y:n?z?16:10:z?6:-4,rotation:n&&!z&&90},h),this.renderLabel(h,v,z,d)):f&&f.hide(),e},t.prototype.renderLabel=function(e,t,r,i){var o=this.axis,s=o.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(e),0,0,e.useHTML).attr({align:e.textAlign||e.align,rotation:e.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(e.className||""),zIndex:i}).add(),o.chart.styledMode||c.css(l({textOverflow:"ellipsis"},e.style))),i=t.xBounds||[t[0][1],t[1][1],r?t[2][1]:t[0][1]],t=t.yBounds||[t[0][2],t[1][2],r?t[2][2]:t[0][2]],r=a(i),s=a(t),c.align(e,!1,{x:r,y:s,width:n(i)-r,height:n(t)-s}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?o.height-(c.alignAttr.y-o.top):o.width-(c.alignAttr.x-o.left))+"px"}),c.show(!0)},t.prototype.getLabelText=function(e){return r(e.formatter)?e.formatter.call(this):e.text},t.prototype.destroy=function(){o(this.axis.plotLinesAndBands,this),delete this.axis,i(this)},t}()})),t(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=e.format,o=t.doc,s=n.distribute,l=r.addEvent,c=r.clamp,u=r.css,d=r.defined,p=r.discardElement,m=r.extend,b=r.fireEvent,h=r.isArray,f=r.isNumber,g=r.isString,_=r.merge,y=r.pick,M=r.splat,v=r.syncTimeout;return e=function(){function e(e,t){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=e,this.init(e,t)}return e.prototype.applyFilter=function(){var e=this.chart;e.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+e.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"}}]}]})},e.prototype.bodyFormatter=function(e){return e.map((function(e){var t=e.series.tooltipOptions;return(t[(e.point.formatPrefix||"point")+"Formatter"]||e.point.tooltipFormatter).call(e.point,t[(e.point.formatPrefix||"point")+"Format"]||"")}))},e.prototype.cleanSplit=function(e){this.chart.series.forEach((function(t){var n=t&&t.tt;n&&(!n.isActive||e?t.tt=n.destroy():n.isActive=!1)}))},e.prototype.defaultFormatter=function(e){var t=this.points||M(this),n=[e.tooltipFooterHeaderFormatter(t[0])];return(n=n.concat(e.bodyFormatter(t))).push(e.tooltipFooterHeaderFormatter(t[0],!0)),n},e.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)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},e.prototype.getAnchor=function(e,t){var n,a,r=this.chart,i=r.pointer,o=r.inverted,s=r.plotTop,l=r.plotLeft,c=0,u=0;return e=M(e),this.followPointer&&t?(void 0===t.chartX&&(t=i.normalize(t)),i=[t.chartX-l,t.chartY-s]):e[0].tooltipPos?i=e[0].tooltipPos:(e.forEach((function(e){n=e.series.yAxis,a=e.series.xAxis,c+=e.plotX||0,u+=e.plotLow?(e.plotLow+(e.plotHigh||0))/2:e.plotY||0,a&&n&&(o?(c+=s+r.plotHeight-a.len-a.pos,u+=l+r.plotWidth-n.len-n.pos):(c+=a.pos-l,u+=n.pos-s))})),c/=e.length,u/=e.length,i=[o?r.plotWidth-u:c,o?r.plotHeight-c:u],this.shared&&1<e.length&&t&&(o?i[0]=t.chartX-l:i[1]=t.chartY-s)),i.map(Math.round)},e.prototype.getLabel=function(){var e,n=this,r=this.chart.styledMode,i=this.options,o=this.split&&this.allowShared,s="tooltip"+(d(i.className)?" "+i.className:""),c=i.style.pointerEvents||(!this.followPointer&&i.stickOnContact?"auto":"none"),p=function(){n.inContact=!0},m=function(e){var t=n.chart.hoverSeries;n.inContact=n.shouldStickOnContact()&&n.chart.pointer.inClass(e.relatedTarget,"highcharts-tooltip"),!n.inContact&&t&&t.onMouseOut&&t.onMouseOut()},b=this.chart.renderer;if(n.label){var h=!n.label.hasClass("highcharts-label");(o&&!h||!o&&h)&&n.destroy()}if(!this.label){if(this.outside){h=this.chart.options.chart.style;var f=a.getRendererType();this.container=e=t.doc.createElement("div"),e.className="highcharts-tooltip-container",u(e,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(h&&h.zIndex||0)+3)}),l(e,"mouseenter",p),l(e,"mouseleave",m),t.doc.body.appendChild(e),this.renderer=b=new f(e,0,0,h,void 0,void 0,b.styledMode)}if(o?this.label=b.g(s):(this.label=b.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,s).attr({padding:i.padding,r:i.borderRadius}),r||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth}).css(i.style).css({pointerEvents:c}).shadow(i.shadow)),r&&i.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var g=this.label,_=g.xSetter,y=g.ySetter;g.xSetter=function(t){_.call(g,n.distance),e.style.left=t+"px"},g.ySetter=function(t){y.call(g,n.distance),e.style.top=t+"px"}}this.label.on("mouseenter",p).on("mouseleave",m).attr({zIndex:8}).add()}return this.label},e.prototype.getPosition=function(e,t,n){var a,r=this.chart,i=this.distance,s={},l=r.inverted&&n.h||0,c=this.outside,u=c?o.documentElement.clientWidth-2*i:r.chartWidth,d=c?Math.max(o.body.scrollHeight,o.documentElement.scrollHeight,o.body.offsetHeight,o.documentElement.offsetHeight,o.documentElement.clientHeight):r.chartHeight,p=r.pointer.getChartPosition(),m=function(a){var o="x"===a;return[a,o?u:d,o?e:t].concat(c?[o?e*p.scaleX:t*p.scaleY,o?p.left-i+(n.plotX+r.plotLeft)*p.scaleX:p.top-i+(n.plotY+r.plotTop)*p.scaleY,0,o?u:d]:[o?e:t,o?n.plotX+r.plotLeft:n.plotY+r.plotTop,o?r.plotLeft:r.plotTop,o?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},b=m("y"),h=m("x");m=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(m=!m);var f=!this.followPointer&&y(n.ttBelow,!r.inverted===m),g=function(e,t,n,a,r,o,u){var d=c?"y"===e?i*p.scaleY:i*p.scaleX:i,m=(n-a)/2,b=a<r-i,h=r+i+a<t,g=r-d-n+m;if(r=r+d-m,f&&h)s[e]=r;else if(!f&&b)s[e]=g;else if(b)s[e]=Math.min(u-a,0>g-l?g:g-l);else{if(!h)return!1;s[e]=Math.max(o,r+l+n>t?r:r+l)}},_=function(e,t,n,a,r){var o;return r<i||r>t-i?o=!1:s[e]=r<n/2?1:r>t-a/2?t-a-2:r-n/2,o},M=function(e){var t=b;b=h,h=t,a=e},v=function(){!1!==g.apply(0,b)?!1!==_.apply(0,h)||a||(M(!0),v()):a?s.x=s.y=0:(M(!0),v())};return(r.inverted||1<this.len)&&M(),v(),s},e.prototype.hide=function(e){var t=this;r.clearTimeout(this.hideTimer),e=y(e,this.options.hideDelay),this.isHidden||(this.hideTimer=v((function(){t.getLabel().fadeOut(e?void 0:e),t.isHidden=!0}),e))},e.prototype.init=function(e,t){this.chart=e,this.options=t,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=t.split&&!e.inverted&&!e.polar,this.shared=t.shared||this.split,this.outside=y(t.outside,!(!e.scrollablePixelsX&&!e.scrollablePixelsY))},e.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},e.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},e.prototype.move=function(e,t,n,a){var i=this,o=i.now,s=!1!==i.options.animation&&!i.isHidden&&(1<Math.abs(e-o.x)||1<Math.abs(t-o.y)),l=i.followPointer||1<i.len;m(o,{x:s?(2*o.x+e)/3:e,y:s?(o.y+t)/2:t,anchorX:l?void 0:s?(2*o.anchorX+n)/3:n,anchorY:l?void 0:s?(o.anchorY+a)/2:a}),i.getLabel().attr(o),i.drawTracker(),s&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){i&&i.move(e,t,n,a)}),32))},e.prototype.refresh=function(e,t){var n=this.chart,a=this.options,i=M(e),o=i[0],s=[],l=a.formatter||this.defaultFormatter,c=this.shared,u=n.styledMode,d={};if(a.enabled){r.clearTimeout(this.hideTimer),this.allowShared=!(!h(e)&&e.series&&e.series.noSharedTooltip),this.followPointer=!this.split&&o.series.tooltipOptions.followPointer;var p=(e=this.getAnchor(e,t))[0],m=e[1];if(c&&this.allowShared?(n.pointer.applyInactiveState(i),i.forEach((function(e){e.setState("hover"),s.push(e.getLabelConfig())})),(d={x:o.category,y:o.y}).points=s):d=o.getLabelConfig(),this.len=s.length,l=l.call(d,this),c=o.series,this.distance=y(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,i);else{var f=p,g=m;if(t&&n.pointer.isDirectTouch&&(f=t.chartX-n.plotLeft,g=t.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!i.some((function(e){return e.series.shouldShowTooltip(f,g)})))return void this.hide();t=this.getLabel(),a.style.width&&!u||t.css({width:this.chart.spacingBox.width+"px"}),t.attr({text:l&&l.join?l.join(""):l}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(o.colorIndex,c.colorIndex)),u||t.attr({stroke:a.borderColor||o.color||c.color||"#666666"}),this.updatePosition({plotX:p,plotY:m,negative:o.negative,ttBelow:o.ttBelow,h:e[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}b(this,"refresh")}},e.prototype.renderSplit=function(e,t){function n(e,t,n,r,i){return void 0===i&&(i=!0),n?(t=q?0:L,e=c(e-r/2,x.left,x.right-r-(a.outside?E:0))):(t-=j,e=c(e=i?e-r-O:e+O,i?e:x.left,x.right)),{x:e,y:t}}var a=this,r=a.chart,i=a.chart,l=i.chartWidth,u=i.chartHeight,d=i.plotHeight,p=i.plotLeft,b=i.plotTop,h=i.pointer,f=i.scrollablePixelsY;f=void 0===f?0:f;var _=i.scrollablePixelsX,M=i.scrollingContainer,v=(M=void 0===M?{scrollLeft:0,scrollTop:0}:M).scrollLeft;M=M.scrollTop;var z=i.styledMode,O=a.distance,k=a.options,A=a.options.positioner,x=a.outside&&"number"!=typeof _?o.documentElement.getBoundingClientRect():{left:v,right:v+l,top:M,bottom:M+u},w=a.getLabel(),N=this.renderer||r.renderer,q=!(!r.xAxis[0]||!r.xAxis[0].opposite),E=(r=h.getChartPosition()).left;r=r.top;var j=b+M,W=0,L=d-f;g(e)&&(e=[!1,e]),e=e.slice(0,t.length+1).reduce((function(e,r,i){if(!1!==r&&""!==r){var o=(i=t[i-1]||{isHeader:!0,plotX:t[0].plotX,plotY:d,series:{}}).isHeader,s=o?a:i.series;r=r.toString();var l=s.tt,u=i.isHeader,m=i.series,h="highcharts-color-"+y(i.colorIndex,m.colorIndex,"none");if(l||(l={padding:k.padding,r:k.borderRadius},z||(l.fill=k.backgroundColor,l["stroke-width"]=k.borderWidth),l=N.label("",0,0,k[u?"headerShape":"shape"],void 0,void 0,k.useHTML).addClass((u?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+h).attr(l).add(w)),l.isActive=!0,l.attr({text:r}),z||l.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||i.color||m.color||"#333333"}),r=(u=(s=s.tt=l).getBBox()).width+s.strokeWidth(),o&&(W=u.height,L+=W,q&&(j-=W)),m=void 0===(m=i.plotX)?0:m,h=void 0===(h=i.plotY)?0:h,l=i.series,i.isHeader){m=p+m;var f=b+d/2}else{var g=l.xAxis,_=l.yAxis;m=g.pos+c(m,-O,g.len+O),l.shouldShowTooltip(0,_.pos-b+h,{ignoreX:!0})&&(f=_.pos+h)}m=c(m,x.left-O,x.right+O),"number"==typeof f?(u=u.height+1,h=A?A.call(a,r,u,i):n(m,f,o,r),e.push({align:A?0:void 0,anchorX:m,anchorY:f,boxWidth:r,point:i,rank:y(h.rank,o?1:0),size:u,target:h.y,tt:s,x:h.x})):s.isActive=!1}return e}),[]),!A&&e.some((function(e){var t=(a.outside?E:0)+e.anchorX;return t<x.left&&t+e.boxWidth<x.right||t<E-x.left+e.boxWidth&&x.right-t>t}))&&(e=e.map((function(e){var t=n(e.anchorX,e.anchorY,e.point.isHeader,e.boxWidth,!1);return m(e,{target:t.y,x:t.x})}))),a.cleanSplit(),s(e,L);var S=E,T=E;e.forEach((function(e){var t=e.x,n=e.boxWidth;(e=e.isHeader)||(a.outside&&E+t<S&&(S=E+t),!e&&a.outside&&S+n>T&&(T=E+t))})),e.forEach((function(e){var t=e.x,n=e.anchorX,r=e.pos,i=e.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:t,y:r+j,anchorX:n,anchorY:e.anchorY},a.outside&&t<n){var o=E-S;0<o&&(i||(r.x=t+o,r.anchorX=n+o),i&&(r.x=(T-S)/2,r.anchorX=n+o))}e.tt.attr(r)})),e=a.container,f=a.renderer,a.outside&&e&&f&&(i=w.getBBox(),f.setSize(i.width+i.x,i.height+i.y,!1),e.style.left=S+"px",e.style.top=r+"px")},e.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var e=this.chart,t=this.label,n=this.shared?e.hoverPoints:e.hoverPoint;if(t&&n){var a={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var r=t.getBBox();n[0]+=e.plotLeft-t.translateX,n[1]+=e.plotTop-t.translateY,a.x=Math.min(0,n[0]),a.y=Math.min(0,n[1]),a.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),a.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(a):(this.tracker=t.renderer.rect(a).addClass("highcharts-tracker").add(t),e.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},e.prototype.styledModeFormat=function(e){return e.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},e.prototype.tooltipFooterHeaderFormatter=function(e,t){var n=e.series,a=n.tooltipOptions,r=n.xAxis,o=r&&r.dateTime;r={isFooter:t,labelConfig:e};var s=a.xDateFormat,l=a[t?"footerFormat":"headerFormat"];return b(this,"headerFormatter",r,(function(t){o&&!s&&f(e.key)&&(s=o.getXDateFormat(e.key,a.dateTimeLabelFormats)),o&&s&&(e.point&&e.point.tooltipDateKeys||["key"]).forEach((function(e){l=l.replace("{point."+e+"}","{point."+e+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=i(l,{point:e,series:n},this.chart)})),r.text},e.prototype.update=function(e){this.destroy(),_(!0,this.chart.options.tooltip.userOptions,e),this.init(this.chart,_(!0,this.options,e))},e.prototype.updatePosition=function(e){var t=this.chart,n=this.options,a=t.pointer,r=this.getLabel();a=a.getChartPosition();var i=(n.positioner||this.getPosition).call(this,r.width,r.height,e),o=e.plotX+t.plotLeft;e=e.plotY+t.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(r.width+n,r.height+n,!1),1===a.scaleX&&1===a.scaleY||(u(this.container,{transform:"scale("+a.scaleX+", "+a.scaleY+")"}),o*=a.scaleX,e*=a.scaleY),o+=a.left-i.x,e+=a.top-i.y),this.move(Math.round(i.x),Math.round(i.y||0),o,e)},e}()})),t(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=t.animObject,o=n.defaultOptions,s=a.format,l=r.addEvent,c=r.defined,u=r.erase,d=r.extend,p=r.fireEvent,m=r.getNestedProperty,b=r.isArray,h=r.isFunction,f=r.isNumber,g=r.isObject,_=r.merge,y=r.objectEach,M=r.pick,v=r.syncTimeout,z=r.removeEvent,O=r.uniqueKey;return t=function(){function t(){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 t.prototype.animateBeforeDestroy=function(){var e=this,t={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach((function(n){e[n]=e[n].animate("dataLabel"===n?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:t)})),n.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(d({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},t.prototype.applyOptions=function(e,n){var a=this.series,r=a.options.pointValKey||a.pointValKey;return e=t.prototype.optionsToObject.call(this,e),d(this,e),this.options=this.options?d(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,r&&(this.y=t.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=M(this.isValid&&!this.isValid(),null===this.x||!f(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&a.xAxis&&a.xAxis.hasNames&&(this.x=a.xAxis.nameToX(this)),void 0===this.x&&a?this.x=void 0===n?a.autoIncrement():n:f(e.x)&&a.options.relativeXValue&&(this.x=a.autoIncrement(e.x)),this},t.prototype.destroy=function(){function e(){for(r in(t.graphic||t.dataLabel||t.dataLabels)&&(z(t),t.destroyElements()),t)t[r]=null}var t=this,n=t.series,a=n.chart;n=n.options.dataSorting;var r,o=a.hoverPoints,s=i(t.series.chart.renderer.globalAnimation);t.legendItem&&a.legend.destroyItem(t),o&&(t.setState(),u(o,t),o.length||(a.hoverPoints=null)),t===a.hoverPoint&&t.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),v(e,s.duration)):e(),a.pointCount--},t.prototype.destroyElements=function(e){var t=this;(e=t.getGraphicalProps(e)).singular.forEach((function(e){t[e]=t[e].destroy()})),e.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.destroy()})),delete t[e]}))},t.prototype.firePointEvent=function(e,t,n){var a=this,r=this.series.options;(r.point.events[e]||a.options&&a.options.events&&a.options.events[e])&&a.importEvents(),"click"===e&&r.allowPointSelect&&(n=function(e){a.select&&a.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),p(a,e,t,n)},t.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",""):"")},t.prototype.getGraphicalProps=function(e){var t,n=this,a=[],r={singular:[],plural:[]};for((e=e||{graphic:1,dataLabel:1}).graphic&&a.push("graphic","upperGraphic","shadowGroup"),e.dataLabel&&a.push("dataLabel","dataLabelUpper","connector"),t=a.length;t--;){var i=a[t];n[i]&&r.singular.push(i)}return["dataLabel","connector"].forEach((function(t){var a=t+"s";e[t]&&n[a]&&r.plural.push(a)})),r},t.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}},t.prototype.getNestedProperty=function(e){if(e)return 0===e.indexOf("custom.")?m(e,this.options):this[e]},t.prototype.getZone=function(){var e=this.series,t=e.zones;e=e.zoneAxis||"y";var n,a=0;for(n=t[a];this[e]>=n.value;)n=t[++a];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(e,t,n){return this.series=e,this.applyOptions(t,n),this.id=c(this.id)?this.id:O(),this.resolveColor(),e.chart.pointCount++,p(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var n=this.series,a=n.options.keys,r=a||n.pointArrayMap||["y"],i=r.length,o={},s=0,l=0;if(f(e)||null===e)o[r[0]]=e;else if(b(e))for(!a&&e.length>i&&("string"===(n=typeof e[0])?o.name=e[0]:"number"===n&&(o.x=e[0]),s++);l<i;)a&&void 0===e[s]||(0<r[l].indexOf(".")?t.prototype.setNestedProperty(o,e[s],r[l]):o[r[l]]=e[s]),s++,l++;else"object"==typeof e&&(o=e,e.dataLabels&&(n._hasPointLabels=!0),e.marker&&(n._hasPointMarkers=!0));return o},t.prototype.resolveColor=function(){var e=this.series,t=e.chart.styledMode,n=e.chart.options.chart.colorCount;if(delete this.nonZonedColor,e.options.colorByPoint){if(!t){var a=(n=e.options.colors||e.chart.options.colors)[e.colorCounter];n=n.length}t=e.colorCounter,e.colorCounter++,e.colorCounter===n&&(e.colorCounter=0)}else t||(a=e.color),t=e.colorIndex;this.colorIndex=M(this.options.colorIndex,t),this.color=M(this.options.color,a)},t.prototype.setNestedProperty=function(e,t,n){return n.split(".").reduce((function(e,n,a,r){return e[n]=r.length-1===a?t:g(e[n],!0)?e[n]:{},e[n]}),e),e},t.prototype.tooltipFormatter=function(e){var t=this.series,n=t.tooltipOptions,a=M(n.valueDecimals,""),r=n.valuePrefix||"",i=n.valueSuffix||"";return t.chart.styledMode&&(e=t.chart.tooltip.styledModeFormat(e)),(t.pointArrayMap||["y"]).forEach((function(t){t="{point."+t,(r||i)&&(e=e.replace(RegExp(t+"}","g"),r+t+"}"+i)),e=e.replace(RegExp(t+"}","g"),t+":,."+a+"f}")})),s(e,{point:this,series:this.series},t.chart)},t.prototype.update=function(e,t,n,a){function r(){o.applyOptions(e);var a=l&&o.hasDummyGraphic;a=null===o.y?!a:a,l&&a&&(o.graphic=l.destroy(),delete o.hasDummyGraphic),g(e,!0)&&(l&&l.element&&e&&e.marker&&void 0!==e.marker.symbol&&(o.graphic=l.destroy()),e&&e.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy()),o.connector&&(o.connector=o.connector.destroy())),i=o.index,s.updateParallelArrays(o,i),u.data[i]=g(u.data[i],!0)||g(e,!0)?o.options:M(e,u.data[i]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===u.legendType&&(c.isDirtyLegend=!0),t&&c.redraw(n)}var i,o=this,s=o.series,l=o.graphic,c=s.chart,u=s.options;t=M(t,!0),!1===a?r():o.firePointEvent("update",{options:e},r)},t.prototype.remove=function(e,t){this.series.removePoint(this.series.data.indexOf(this),e,t)},t.prototype.select=function(e,t){var n=this,a=n.series,r=a.chart;this.selectedStaging=e=M(e,!n.selected),n.firePointEvent(e?"select":"unselect",{accumulate:t},(function(){n.selected=n.options.selected=e,a.options.data[a.data.indexOf(n)]=n.options,n.setState(e&&"select"),t||r.getSelectedPoints().forEach((function(e){var t=e.series;e.selected&&e!==n&&(e.selected=e.options.selected=!1,t.options.data[t.data.indexOf(e)]=e.options,e.setState(r.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),e.firePointEvent("unselect"))}))})),delete this.selectedStaging},t.prototype.onMouseOver=function(e){var t=this.series.chart,n=t.pointer;e=e?n.normalize(e):n.getChartCoordinatesFromPoint(this,t.inverted),n.runPointActions(e,this)},t.prototype.onMouseOut=function(){var e=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(e.hoverPoints||[]).forEach((function(e){e.setState()})),e.hoverPoints=e.hoverPoint=null},t.prototype.importEvents=function(){if(!this.hasImportedEvents){var e=this,t=_(e.series.options.point,e.options).events;e.events=t,y(t,(function(t,n){h(t)&&l(e,n,t)})),this.hasImportedEvents=!0}},t.prototype.setState=function(t,n){var a,r=this.series,i=this.state,s=r.options.states[t||"normal"]||{},l=o.plotOptions[r.type].marker&&r.options.marker,c=l&&!1===l.enabled,u=l&&l.states&&l.states[t||"normal"]||{},m=!1===u.enabled,b=this.marker||{},h=r.chart,g=l&&r.markerAttribs,_=r.halo,y=r.stateMarkerGraphic;if(!((t=t||"")===this.state&&!n||this.selected&&"select"!==t||!1===s.enabled||t&&(m||c&&!1===u.enabled)||t&&b.states&&b.states[t]&&!1===b.states[t].enabled)){if(this.state=t,g&&(a=r.markerAttribs(this,t)),this.graphic&&!this.hasDummyGraphic){if(i&&this.graphic.removeClass("highcharts-point-"+i),t&&this.graphic.addClass("highcharts-point-"+t),!h.styledMode){var v=r.pointAttribs(this,t),z=M(h.options.chart.animation,s.animation);r.options.inactiveOtherPoints&&f(v.opacity)&&((this.dataLabels||[]).forEach((function(e){e&&e.animate({opacity:v.opacity},z)})),this.connector&&this.connector.animate({opacity:v.opacity},z)),this.graphic.animate(v,z)}a&&this.graphic.animate(a,M(h.options.chart.animation,u.animation,l.animation)),y&&y.hide()}else t&&u&&(i=b.symbol||r.symbol,y&&y.currentSymbol!==i&&(y=y.destroy()),a&&(y?y[n?"animate":"attr"]({x:a.x,y:a.y}):i&&(r.stateMarkerGraphic=y=h.renderer.symbol(i,a.x,a.y,a.width,a.height).add(r.markerGroup),y.currentSymbol=i)),!h.styledMode&&y&&"inactive"!==this.state&&y.attr(r.pointAttribs(this,t))),y&&(y[t&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,a=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==a&&!this.isCluster?(_||(r.halo=_=h.renderer.path().add(y.parentGroup)),_.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),_.attr({class:"highcharts-halo highcharts-color-"+M(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:a,zIndex:-1}),_.point=this,h.styledMode||_.attr(d({fill:this.color||r.color,"fill-opacity":s.opacity},e.filterUserAttributes(s.attributes||{})))):_&&_.point&&_.point.haloPath&&_.animate({d:_.point.haloPath(0)},null,_.hide),p(this,"afterSetState",{state:t})}},t.prototype.haloPath=function(e){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-e,this.plotY-e,2*e,2*e)},t}()})),t(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=e.parse,i=t.charts,o=t.noop,s=a.addEvent,l=a.attr,c=a.css,u=a.defined,d=a.extend,p=a.find,m=a.fireEvent,b=a.isNumber,h=a.isObject,f=a.objectEach,g=a.offset,_=a.pick,y=a.splat;return e=function(){function e(e,t){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=e,this.hasDragged=!1,this.options=t,this.init(e,t)}return e.prototype.applyInactiveState=function(e){var t,n=[];(e||[]).forEach((function(e){t=e.series,n.push(t),t.linkedParent&&n.push(t.linkedParent),t.linkedSeries&&(n=n.concat(t.linkedSeries)),t.navigatorSeries&&n.push(t.navigatorSeries)})),this.chart.series.forEach((function(e){-1===n.indexOf(e)?e.setState("inactive",!0):e.options.inactiveOtherPoints&&e.setAllPointsToState("inactive")}))},e.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(e){return e()})),this.eventsToUnbind=[],t.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),f(n,(function(e,t){n[t]=void 0}))},e.prototype.drag=function(e){var t=this.chart,n=t.options.chart,a=this.zoomHor,i=this.zoomVert,o=t.plotLeft,s=t.plotTop,l=t.plotWidth,c=t.plotHeight,u=this.mouseDownX||0,d=this.mouseDownY||0,p=h(n.panning)?n.panning&&n.panning.enabled:n.panning,m=n.panKey&&e[n.panKey+"Key"],b=e.chartX,f=e.chartY,g=this.selectionMarker;if((!g||!g.touch)&&(b<o?b=o:b>o+l&&(b=o+l),f<s?f=s:f>s+c&&(f=s+c),this.hasDragged=Math.sqrt(Math.pow(u-b,2)+Math.pow(d-f,2)),10<this.hasDragged)){var _=t.isInsidePlot(u-o,d-s,{visiblePlotOnly:!0});!t.hasCartesianSeries&&!t.mapView||!this.zoomX&&!this.zoomY||!_||m||g||(this.selectionMarker=g=t.renderer.rect(o,s,a?1:l,i?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),t.styledMode||g.attr({fill:n.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),g&&a&&(a=b-u,g.attr({width:Math.abs(a),x:(0<a?0:a)+u})),g&&i&&(a=f-d,g.attr({height:Math.abs(a),y:(0<a?0:a)+d})),_&&!g&&p&&t.pan(e,n.panning)}},e.prototype.dragStart=function(e){var t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=this.mouseDownX=e.chartX,t.mouseDownY=this.mouseDownY=e.chartY},e.prototype.drop=function(e){var t=this,n=this.chart,a=this.hasPinched;if(this.selectionMarker){var r=this.selectionMarker,i=r.attr?r.attr("x"):r.x,o=r.attr?r.attr("y"):r.y,s=r.attr?r.attr("width"):r.width,l=r.attr?r.attr("height"):r.height,p={originalEvent:e,xAxis:[],yAxis:[],x:i,y:o,width:s,height:l},h=!!n.mapView;(this.hasDragged||a)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&u(n.min)&&(a||t[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&b(i)&&b(o)){var r=n.horiz,c="touchend"===e.type?n.minPixelPadding:0,d=n.toValue((r?i:o)+c);r=n.toValue((r?i+s:o+l)-c),p[n.coll].push({axis:n,min:Math.min(d,r),max:Math.max(d,r)}),h=!0}})),h&&m(n,"selection",p,(function(e){n.zoom(d(e,a?{animation:!1}:null))}))),b(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),a&&this.scaleGroups()}n&&b(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},e.prototype.findNearestKDPoint=function(e,t,n){var a,r=this.chart,i=r.hoverPoint;return r=r.tooltip,i&&r&&r.isStickyOnContact()?i:(e.forEach((function(e){var r=!(e.noSharedTooltip&&t)&&0>e.options.findNearestPointBy.indexOf("y");if(e=e.searchPoint(n,r),(r=h(e,!0)&&e.series)&&!(r=!h(a,!0))){r=a.distX-e.distX;var i=a.dist-e.dist,o=(e.series.group&&e.series.group.zIndex)-(a.series.group&&a.series.group.zIndex);r=0<(0!==r&&t?r:0!==i?i:0!==o?o:a.series.index>e.series.index?-1:1)}r&&(a=e)})),a)},e.prototype.getChartCoordinatesFromPoint=function(e,t){var n=e.series,a=n.xAxis;n=n.yAxis;var r=e.shapeArgs;if(a&&n){var i=_(e.clientX,e.plotX),o=e.plotY||0;return e.isNode&&r&&b(r.x)&&b(r.y)&&(i=r.x,o=r.y),t?{chartX:n.len+n.pos-o,chartY:a.len+a.pos-i}:{chartX:i+a.pos,chartY:o+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},e.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var e=this.chart.container,t=g(e);this.chartPosition={left:t.left,top:t.top,scaleX:1,scaleY:1};var n=e.offsetWidth;return e=e.offsetHeight,2<n&&2<e&&(this.chartPosition.scaleX=t.width/n,this.chartPosition.scaleY=t.height/e),this.chartPosition},e.prototype.getCoordinates=function(e){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})})),t},e.prototype.getHoverData=function(e,t,n,a,r,i){var o=[];a=!(!a||!e);var s={chartX:i?i.chartX:void 0,chartY:i?i.chartY:void 0,shared:r};m(this,"beforeGetHoverData",s);var l=t&&!t.stickyTracking?[t]:n.filter((function(e){return s.filter?s.filter(e):e.visible&&!(!r&&e.directTouch)&&_(e.options.enableMouseTracking,!0)&&e.stickyTracking})),c=a||!i?e:this.findNearestKDPoint(l,r,i);return t=c&&c.series,c&&(r&&!t.noSharedTooltip?(l=n.filter((function(e){return s.filter?s.filter(e):e.visible&&!(!r&&e.directTouch)&&_(e.options.enableMouseTracking,!0)&&!e.noSharedTooltip}))).forEach((function(e){var t=p(e.points,(function(e){return e.x===c.x&&!e.isNull}));h(t)&&(e.chart.isBoosting&&(t=e.getPoint(t)),o.push(t))})):o.push(c)),m(this,"afterGetHoverData",s={hoverPoint:c}),{hoverPoint:s.hoverPoint,hoverSeries:t,hoverPoints:o}},e.prototype.getPointFromEvent=function(e){e=e.target;for(var t;e&&!t;)t=e.point,e=e.parentNode;return t},e.prototype.onTrackerMouseOut=function(e){e=e.relatedTarget||e.toElement;var t=this.chart.hoverSeries;this.isDirectTouch=!1,!t||!e||t.stickyTracking||this.inClass(e,"highcharts-tooltip")||this.inClass(e,"highcharts-series-"+t.index)&&this.inClass(e,"highcharts-tracker")||t.onMouseOut()},e.prototype.inClass=function(e,t){for(var n;e;){if(n=l(e,"class")){if(-1!==n.indexOf(t))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}e=e.parentNode}},e.prototype.init=function(e,t){this.options=t,this.chart=e,this.runChartClick=!(!t.chart.events||!t.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(e.tooltip=new n(e,t.tooltip),this.followTouchMove=_(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},e.prototype.normalize=function(e,t){var n=e.touches,a=n?n.length?n.item(0):_(n.changedTouches,e.changedTouches)[0]:e;return t||(t=this.getChartPosition()),n=a.pageX-t.left,a=a.pageY-t.top,n/=t.scaleX,a/=t.scaleY,d(e,{chartX:Math.round(n),chartY:Math.round(a)})},e.prototype.onContainerClick=function(e){var t=this.chart,n=t.hoverPoint;e=this.normalize(e);var a=t.plotLeft,r=t.plotTop;t.cancelClick||(n&&this.inClass(e.target,"highcharts-tracker")?(m(n.series,"click",d(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(d(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-a,e.chartY-r,{visiblePlotOnly:!0})&&m(t,"click",e)))},e.prototype.onContainerMouseDown=function(e){var n=1==(1&(e.buttons||e.button));e=this.normalize(e),t.isFirefox&&0!==e.button&&this.onContainerMouseMove(e),(void 0===e.button||n)&&(this.zoomOption(e),n&&e.preventDefault&&e.preventDefault(),this.dragStart(e))},e.prototype.onContainerMouseLeave=function(t){var n=i[_(e.hoverChartIndex,-1)],a=this.chart.tooltip;a&&a.shouldStickOnContact()&&this.inClass(t.relatedTarget,"highcharts-tooltip-container")||(t=this.normalize(t),n&&(t.relatedTarget||t.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),a&&!a.isHidden&&this.reset())},e.prototype.onContainerMouseEnter=function(e){delete this.chartPosition},e.prototype.onContainerMouseMove=function(e){var t=this.chart;e=this.normalize(e),this.setHoverChartIndex(),e.preventDefault||(e.returnValue=!1),("mousedown"===t.mouseIsDown||this.touchSelect(e))&&this.drag(e),t.openMenu||!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||(this.inClass(e.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(e))},e.prototype.onDocumentTouchEnd=function(t){var n=i[_(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.onContainerTouchMove=function(e){this.touchSelect(e)?this.onContainerMouseMove(e):this.touch(e)},e.prototype.onContainerTouchStart=function(e){this.touchSelect(e)?this.onContainerMouseDown(e):(this.zoomOption(e),this.touch(e,!0))},e.prototype.onDocumentMouseMove=function(e){var t=this.chart,n=this.chartPosition;e=this.normalize(e,n);var a=t.tooltip;!n||a&&a.isStickyOnContact()||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||this.inClass(e.target,"highcharts-tracker")||this.reset()},e.prototype.onDocumentMouseUp=function(t){var n=i[_(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.pinch=function(e){var t=this,n=t.chart,a=t.pinchDown,r=e.touches||[],i=r.length,s=t.lastValidTouch,l=t.hasZoom,c={},u=1===i&&(t.inClass(e.target,"highcharts-tracker")&&n.runTrackerClick||t.runChartClick),p={},b=t.selectionMarker;1<i?t.initiated=!0:1===i&&this.followTouchMove&&(t.initiated=!1),l&&t.initiated&&!u&&!1!==e.cancelable&&e.preventDefault(),[].map.call(r,(function(e){return t.normalize(e)})),"touchstart"===e.type?([].forEach.call(r,(function(e,t){a[t]={chartX:e.chartX,chartY:e.chartY}})),s.x=[a[0].chartX,a[1]&&a[1].chartX],s.y=[a[0].chartY,a[1]&&a[1].chartY],n.axes.forEach((function(e){if(e.zoomEnabled){var t=n.bounds[e.horiz?"h":"v"],a=e.minPixelPadding,r=e.toPixels(Math.min(_(e.options.min,e.dataMin),e.dataMin)),i=e.toPixels(Math.max(_(e.options.max,e.dataMax),e.dataMax)),o=Math.max(r,i);t.min=Math.min(e.pos,Math.min(r,i)-a),t.max=Math.max(e.pos+e.len,o+a)}})),t.res=!0):t.followTouchMove&&1===i?this.runPointActions(t.normalize(e)):a.length&&(m(n,"touchpan",{originalEvent:e},(function(){b||(t.selectionMarker=b=d({destroy:o,touch:!0},n.plotBox)),t.pinchTranslate(a,r,c,b,p,s),t.hasPinched=l,t.scaleGroups(c,p)})),t.res&&(t.res=!1,this.reset(!1,0)))},e.prototype.pinchTranslate=function(e,t,n,a,r,i){this.zoomHor&&this.pinchTranslateDirection(!0,e,t,n,a,r,i),this.zoomVert&&this.pinchTranslateDirection(!1,e,t,n,a,r,i)},e.prototype.pinchTranslateDirection=function(e,t,n,a,r,i,o,s){var l=this.chart,c=e?"x":"y",u=e?"X":"Y",d="chart"+u,p=e?"width":"height",m=l["plot"+(e?"Left":"Top")],b=l.inverted,h=l.bounds[e?"h":"v"],f=1===t.length,g=t[0][d],_=!f&&t[1][d];t=function(){"number"==typeof O&&20<Math.abs(g-_)&&(v=s||Math.abs(z-O)/Math.abs(g-_)),M=(m-z)/v+g,y=l["plot"+(e?"Width":"Height")]/v};var y,M,v=s||1,z=n[0][d],O=!f&&n[1][d];if(t(),(n=M)<h.min){n=h.min;var k=!0}else n+y>h.max&&(n=h.max-y,k=!0);k?(z-=.8*(z-o[c][0]),"number"==typeof O&&(O-=.8*(O-o[c][1])),t()):o[c]=[z,O],b||(i[c]=M-m,i[p]=y),i=b?1/v:v,r[p]=y,r[c]=n,a[b?e?"scaleY":"scaleX":"scale"+u]=v,a["translate"+u]=i*m+(z-i*g)},e.prototype.reset=function(e,t){var n=this.chart,a=n.hoverSeries,r=n.hoverPoint,i=n.hoverPoints,o=n.tooltip,s=o&&o.shared?i:r;e&&s&&y(s).forEach((function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)})),e?o&&s&&y(s).length&&(o.refresh(s),o.shared&&i?i.forEach((function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(e){e.crosshair&&r.series[e.coll]===e&&e.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),i&&i.forEach((function(e){e.setState()})),a&&a.onMouseOut(),o&&o.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(e){e.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},e.prototype.runPointActions=function(t,n){var a=this.chart,r=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,o=!!r&&r.shared,l=n||a.hoverPoint,c=l&&l.series||a.hoverSeries;l=(n=this.getHoverData(l,c,a.series,(!t||"touchmove"!==t.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),o,t)).hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;if(n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,o=o&&c&&!c.noSharedTooltip,l&&(l!==a.hoverPoint||r&&r.isHidden)){if((a.hoverPoints||[]).forEach((function(e){-1===u.indexOf(e)&&e.setState()})),a.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(e){e.setState("hover")})),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!l.series)return;a.hoverPoints=u,a.hoverPoint=l,l.firePointEvent("mouseOver"),r&&r.refresh(o?u:l,t)}else n&&r&&!r.isHidden&&(l=r.getAnchor([{}],t),a.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(a.container.ownerDocument,"mousemove",(function(t){var n=i[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),a.axes.forEach((function(e){var n,r=_((e.crosshair||{}).snap,!0);r&&((n=a.hoverPoint)&&n.series[e.coll]===e||(n=p(u,(function(t){return t.series[e.coll]===e})))),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()}))},e.prototype.scaleGroups=function(e,t){var n=this.chart;n.series.forEach((function(a){var r=e||a.getPlotBox();a.group&&(a.xAxis&&a.xAxis.zoomEnabled||n.mapView)&&(a.group.attr(r),a.markerGroup&&(a.markerGroup.attr(r),a.markerGroup.clip(t?n.clipRect:null)),a.dataLabelsGroup&&a.dataLabelsGroup.attr(r))})),n.clipRect.attr(t||n.clipBox)},e.prototype.setDOMEvents=function(){var n=this,a=this.chart.container,r=a.ownerDocument;a.onmousedown=this.onContainerMouseDown.bind(this),a.onmousemove=this.onContainerMouseMove.bind(this),a.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(a,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(a,"mouseleave",this.onContainerMouseLeave.bind(this))),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var i=this.chart.renderTo.parentElement;i&&"BODY"!==i.tagName;)this.eventsToUnbind.push(s(i,"scroll",(function(){delete n.chartPosition}))),i=i.parentElement;t.hasTouch&&(this.eventsToUnbind.push(s(a,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(a,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},e.prototype.setHoverChartIndex=function(){var n=this.chart,a=t.charts[_(e.hoverChartIndex,-1)];a&&a!==n&&a.pointer.onContainerMouseLeave({relatedTarget:!0}),a&&a.mouseIsDown||(e.hoverChartIndex=n.index)},e.prototype.touch=function(e,t){var n=this.chart;if(this.setHoverChartIndex(),1===e.touches.length)if(e=this.normalize(e),n.isInsidePlot(e.chartX-n.plotLeft,e.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(t&&this.runPointActions(e),"touchmove"===e.type)var a=!!(t=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(t[0].chartX-e.chartX,2)+Math.pow(t[0].chartY-e.chartY,2));_(a,!0)&&this.pinch(e)}else t&&this.reset();else 2===e.touches.length&&this.pinch(e)},e.prototype.touchSelect=function(e){return!(!this.chart.options.chart.zoomBySingleTouch||!e.touches||1!==e.touches.length)},e.prototype.zoomOption=function(e){var t=this.chart,n=t.options.chart;t=t.inverted;var a=n.zoomType||"";/touch/.test(e.type)&&(a=_(n.pinchType,a)),this.zoomX=e=/x/.test(a),this.zoomY=n=/y/.test(a),this.zoomHor=e&&!t||n&&t,this.zoomVert=n&&!t||e&&t,this.hasZoom=e||n},e}()})),t(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(e,t,n){function a(){var e=[];return e.item=function(e){return this[e]},p(b,(function(t){e.push({pageX:t.pageX,pageY:t.pageY,target:t.target})})),e}function r(e,n,r,i){var s=o[t.hoverChartIndex||NaN];"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,i(e),s[n]({type:r,target:e.currentTarget,preventDefault:l,touches:a()}))}var i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),o=e.charts,s=e.doc,l=e.noop,c=e.win,u=n.addEvent,d=n.css,p=n.objectEach,m=n.removeEvent,b={},h=!!c.PointerEvent;return function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.isRequired=function(){return!(e.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(e){e(this.chart.container,h?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,h?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(s,h?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(m),t.prototype.destroy.call(this)},n.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this.hasZoom&&d(e.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(e){r(e,"onContainerTouchStart","touchstart",(function(e){b[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}}))},n.prototype.onContainerPointerMove=function(e){r(e,"onContainerTouchMove","touchmove",(function(e){b[e.pointerId]={pageX:e.pageX,pageY:e.pageY},b[e.pointerId].target||(b[e.pointerId].target=e.currentTarget)}))},n.prototype.onDocumentPointerUp=function(e){r(e,"onDocumentTouchEnd","touchend",(function(e){delete b[e.pointerId]}))},n.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},n}(t)})),t(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i){var o=e.animObject,s=e.setAnimation,l=t.format;e=n.isFirefox;var c=n.marginNames;n=n.win;var u=r.distribute,d=i.addEvent,p=i.createElement,m=i.css,b=i.defined,h=i.discardElement,f=i.find,g=i.fireEvent,_=i.isNumber,y=i.merge,M=i.pick,v=i.relativeLength,z=i.stableSort,O=i.syncTimeout;return r=i.wrap,i=function(){function e(e,t){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=e,this.init(e,t)}return e.prototype.init=function(e,t){this.chart=e,this.setOptions(t),t.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())},e.prototype.setOptions=function(e){var t=M(e.padding,8);this.options=e,this.chart.styledMode||(this.itemStyle=e.itemStyle,this.itemHiddenStyle=y(this.itemStyle,e.itemHiddenStyle)),this.itemMarginTop=e.itemMarginTop||0,this.itemMarginBottom=e.itemMarginBottom||0,this.padding=t,this.initialItemY=t-5,this.symbolWidth=M(e.symbolWidth,16),this.pages=[],this.proximate="proximate"===e.layout&&!this.chart.inverted,this.baseline=void 0},e.prototype.update=function(e,t){var n=this.chart;this.setOptions(y(!0,this.options,e)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,M(t,!0)&&n.redraw(),g(this,"afterUpdate")},e.prototype.colorizeItem=function(e,t){if(e.legendGroup[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,a=e.legendItem,r=e.legendLine,i=e.legendSymbol,o=this.itemHiddenStyle.color;n=t?n.itemStyle.color:o;var s=t&&e.color||o,l=e.options&&e.options.marker,c={fill:s};a&&a.css({fill:n,color:n}),r&&r.attr({stroke:s}),i&&(l&&i.isMarker&&(c=e.pointAttribs(),t||(c.stroke=c.fill=o)),i.attr(c))}g(this,"afterColorizeItem",{item:e,visible:t})},e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},e.prototype.positionItem=function(e){var t=this,n=this.options,a=n.symbolPadding,r=!n.rtl,i=e._legendItemPos;n=i[0],i=i[1];var o=e.checkbox,s=e.legendGroup;s&&s.element&&(a={translateX:r?n:this.legendWidth-n-2*a-4,translateY:i},r=function(){g(t,"afterPositionItem",{item:e})},b(s.translateY)?s.animate(a,void 0,r):(s.attr(a),r())),o&&(o.x=n,o.y=i)},e.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),t&&h(e.checkbox)},e.prototype.destroy=function(){function e(e){this[e]&&(this[e]=this[e].destroy())}this.getAllItems().forEach((function(t){["legendItem","legendGroup"].forEach(e,t)})),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},e.prototype.positionCheckboxes=function(){var e=this.group&&this.group.alignAttr,t=this.clipHeight||this.legendHeight,n=this.titleHeight;if(e){var a=e.translateY;this.allItems.forEach((function(r){var i=r.checkbox;if(i){var o=a+n+i.y+(this.scrollOffset||0)+3;m(i,{left:e.translateX+r.checkboxOffset+i.x-20+"px",top:o+"px",display:this.proximate||o>a-6&&o<a+t-6?"":"none"})}}),this)}},e.prototype.renderTitle=function(){var e=this.options,t=this.padding,n=e.title,a=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,t-3,t-4,null,null,null,e.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),a=(e=this.title.getBBox()).height,this.offsetWidth=e.width,this.contentGroup.attr({translateY:a})),this.titleHeight=a},e.prototype.setText=function(e){var t=this.options;e.legendItem.attr({text:t.labelFormat?l(t.labelFormat,e,this.chart):t.labelFormatter.call(e)})},e.prototype.renderItem=function(e){var t=this.chart,n=t.renderer,a=this.options,r=this.symbolWidth,i=a.symbolPadding||0,o=this.itemStyle,s=this.itemHiddenStyle,l="horizontal"===a.layout?M(a.itemDistance,20):0,c=!a.rtl,u=!e.series,d=!u&&e.series.drawLegendSymbol?e.series:e,p=d.options,m=this.createCheckboxForItem&&p&&p.showCheckbox,b=a.useHTML,h=e.options.className,f=e.legendItem;p=r+i+l+(m?20:0),f||(e.legendGroup=n.g("legend-item").addClass("highcharts-"+d.type+"-series highcharts-color-"+e.colorIndex+(h?" "+h:"")+(u?" highcharts-series-"+e.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.legendItem=f=n.text("",c?r+i:-i,this.baseline||0,b),t.styledMode||f.css(y(e.visible?o:s)),f.attr({align:c?"left":"right",zIndex:2}).add(e.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(t.styledMode?12:o.fontSize,f),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,f.attr("y",this.baseline),this.symbolHeight=a.symbolHeight||this.fontMetrics.f,a.squareSymbol&&(this.symbolWidth=M(a.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+i+l+(m?20:0),c&&f.attr("x",this.symbolWidth+i))),d.drawLegendSymbol(this,e),this.setItemEvents&&this.setItemEvents(e,f,b)),m&&!e.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(e),this.colorizeItem(e,e.visible),!t.styledMode&&o.width||f.css({width:(a.itemWidth||this.widthOption||t.spacingBox.width)-p+"px"}),this.setText(e),t=f.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,e.itemWidth=e.checkboxOffset=a.itemWidth||e.legendItemWidth||t.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,e.itemWidth),this.totalItemWidth+=e.itemWidth,this.itemHeight=e.itemHeight=Math.round(e.legendItemHeight||(t.height>1.5*n?t.height:n))},e.prototype.layoutItem=function(e){var t=this.options,n=this.padding,a="horizontal"===t.layout,r=e.itemHeight,i=this.itemMarginBottom,o=this.itemMarginTop,s=a?M(t.itemDistance,20):0,l=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:e.itemWidth,a&&this.itemX-n+t>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+i),this.lastLineHeight=0),this.lastItemY=o+this.itemY+i,this.lastLineHeight=Math.max(r,this.lastLineHeight),e._legendItemPos=[this.itemX,this.itemY],a?this.itemX+=t:(this.itemY+=o+r+i,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((a?this.itemX-n-(e.checkbox?0:s):t)+n,this.offsetWidth)},e.prototype.getAllItems=function(){var e=[];return this.chart.series.forEach((function(t){var n=t&&t.options;t&&M(n.showInLegend,!b(n.linkedTo)&&void 0,!0)&&(e=e.concat(t.legendItems||("point"===n.legendType?t.data:t)))})),g(this,"afterGetAllItems",{allItems:e}),e},e.prototype.getAlignment=function(){var e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)},e.prototype.adjustMargins=function(e,t){var n=this.chart,a=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(i,o){i.test(r)&&!b(e[o])&&(n[c[o]]=Math.max(n[c[o]],n.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*a[o%2?"x":"y"]+M(a.margin,12)+t[o]+(n.titleOffset[o]||0)))}))},e.prototype.proximatePositions=function(){var e=this.chart,t=[],n="left"===this.options.align;this.allItems.forEach((function(a){var r,i=n;if(a.yAxis){a.xAxis.options.reversed&&(i=!i),a.points&&(r=f(i?a.points:a.points.slice(0).reverse(),(function(e){return _(e.plotY)}))),i=this.itemMarginTop+a.legendItem.getBBox().height+this.itemMarginBottom;var o=a.yAxis.top-e.plotTop;a.visible?(r=r?r.plotY:a.yAxis.height,r+=o-.3*i):r=o+a.yAxis.height,t.push({target:r,size:i,item:a})}}),this),u(t,e.plotHeight).forEach((function(t){t.item._legendItemPos&&(t.item._legendItemPos[1]=e.plotTop-e.spacing[0]+t.pos)}))},e.prototype.render=function(){var e=this.chart,t=e.renderer,n=this.options,a=this.padding,r=this.getAllItems(),i=this.group,o=this.box;this.itemX=a,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=v(n.width,e.spacingBox.width-a);var s=e.spacingBox.width-2*a-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=t.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=t.g().attr({zIndex:1}).add(i),this.scrollGroup=t.g().add(this.contentGroup)),this.renderTitle(),z(r,(function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)})),n.reversed&&r.reverse(),this.allItems=r,this.display=s=!!r.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,r.forEach(this.renderItem,this),r.forEach(this.layoutItem,this),r=(this.widthOption||this.offsetWidth)+a;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=a,o||(this.box=o=t.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(i),o.isNew=!0),e.styledMode||o.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<r&&0<l&&(o[o.isNew?"attr":"animate"](o.crisp.call({},{x:0,y:0,width:r,height:l},o.strokeWidth())),o.isNew=!1),o[s?"show":"hide"](),e.styledMode&&"none"===i.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),g(this,"afterRender")},e.prototype.align=function(e){void 0===e&&(e=this.chart.spacingBox);var t=this.chart,n=this.options,a=e.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<t.titleOffset[0]?a+=t.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<t.titleOffset[2]&&(a-=t.titleOffset[2]),a!==e.y&&(e=y(e,{y:a})),this.group.align(y(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,e)},e.prototype.handleOverflow=function(e){var t,n,a=this,r=this.chart,i=r.renderer,o=this.options,s=o.y,l="top"===o.verticalAlign,c=this.padding,u=o.maxHeight,d=o.navigation,p=M(d.animation,!0),m=d.arrowSize||12,b=this.pages,h=this.allItems,f=function(e){"number"==typeof e?y.attr({height:e}):y&&(a.clipRect=y.destroy(),a.contentGroup.clip()),a.contentGroup.div&&(a.contentGroup.div.style.clip=e?"rect("+c+"px,9999px,"+(c+e)+"px,0)":"auto")},g=function(e){return a[e]=i.circle(0,0,1.3*m).translate(m/2,m/2).add(_),r.styledMode||a[e].attr("fill","rgba(0,0,0,0.0001)"),a[e]};s=r.spacingBox.height+(l?-s:s)-c;var _=this.nav,y=this.clipRect;return"horizontal"!==o.layout||"middle"===o.verticalAlign||o.floating||(s/=2),u&&(s=Math.min(s,u)),b.length=0,e&&0<s&&e>s&&!1!==d.enabled?(this.clipHeight=t=Math.max(s-20-this.titleHeight-c,0),this.currentPage=M(this.currentPage,1),this.fullHeight=e,h.forEach((function(e,a){var r=e._legendItemPos[1],i=Math.round(e.legendItem.getBBox().height),o=b.length;(!o||r-b[o-1]>t&&(n||r)!==b[o-1])&&(b.push(n||r),o++),e.pageIx=o-1,n&&(h[a-1].pageIx=o-1),a===h.length-1&&r+i-b[o-1]>t&&i<=t&&(b.push(r),e.pageIx=o),r!==n&&(n=r)})),y||(y=a.clipRect=i.clipRect(0,c,9999,0),a.contentGroup.clip(y)),f(t),_||(this.nav=_=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,m,m).add(_),g("upTracker").on("click",(function(){a.scroll(-1,p)})),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation"),r.styledMode||this.pager.css(d.style),this.pager.add(_),this.down=i.symbol("triangle-down",0,0,m,m).add(_),g("downTracker").on("click",(function(){a.scroll(1,p)}))),a.scroll(0),e=s):_&&(f(),this.nav=_.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},e.prototype.scroll=function(e,t){var n=this,a=this.chart,r=this.pages,i=r.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,d=this.padding,p=this.currentPage+e;p>i&&(p=i),0<p&&(void 0!==t&&s(t,a),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(e){e.attr({class:1===p?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),u.attr({text:p+"/"+i}),[this.down,this.downTracker].forEach((function(e){e.attr({x:18+this.pager.getBBox().width,class:p===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),a.styledMode||(this.up.attr({fill:1===p?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===p?"default":"pointer"}),this.down.attr({fill:p===i?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:p===i?"default":"pointer"})),this.scrollOffset=-r[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),e=o(M(t,a.renderer.globalAnimation,!0)),O((function(){g(n,"afterScroll",{currentPage:p})}),e.duration))},e.prototype.setItemEvents=function(e,t,n){var r=this,i=r.chart.renderer.boxWrapper,o=e instanceof a,s="highcharts-legend-"+(o?"point":"series")+"-active",l=r.chart.styledMode,c=function(t){r.allItems.forEach((function(n){e!==n&&[n].concat(n.linkedSeries||[]).forEach((function(e){e.setState(t,!o)}))}))};(n?[t,e.legendSymbol]:[e.legendGroup]).forEach((function(n){n&&n.on("mouseover",(function(){e.visible&&c("inactive"),e.setState("hover"),e.visible&&i.addClass(s),l||t.css(r.options.itemHoverStyle)})).on("mouseout",(function(){r.chart.styledMode||t.css(y(e.visible?r.itemStyle:r.itemHiddenStyle)),c(""),i.removeClass(s),e.setState()})).on("click",(function(t){var n=function(){e.setVisible&&e.setVisible(),c(e.visible?"inactive":"")};i.removeClass(s),t={browserEvent:t},e.firePointEvent?e.firePointEvent("legendItemClick",t,n):g(e,"legendItemClick",t,n)}))}))},e.prototype.createCheckboxForItem=function(e){e.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),d(e.checkbox,"click",(function(t){g(e.series||e,"checkboxClick",{checked:t.target.checked,item:e},(function(){e.select()}))}))},e}(),(/Trident\/7\.0/.test(n.navigator&&n.navigator.userAgent)||e)&&r(i.prototype,"positionItem",(function(e,t){var n=this,a=function(){t._legendItemPos&&e.call(n,t)};a(),n.bubbleLegend||setTimeout(a)})),i})),t(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r,i=t.defaultOptions,o=a.error,s=a.extendClass,l=a.merge;return function(t){function a(e,a){var r=i.plotOptions||{},o=a.defaultOptions;a.prototype.pointClass||(a.prototype.pointClass=n),a.prototype.type=e,o&&(r[e]=o),t.seriesTypes[e]=a}t.seriesTypes=e.seriesTypes,t.getSeries=function(e,n){void 0===n&&(n={});var a=e.options.chart;a=n.type||a.type||a.defaultSeriesType||"";var r=t.seriesTypes[a];return t||o(17,!0,e,{missingModuleFor:a}),"function"==typeof(a=new r).init&&a.init(e,n),a},t.registerSeriesType=a,t.seriesType=function(e,r,o,c,u){var d=i.plotOptions||{};return r=r||"",d[e]=l(d[r],o),a(e,s(t.seriesTypes[r]||function(){},c)),t.seriesTypes[e].prototype.type=e,u&&(t.seriesTypes[e].prototype.pointClass=s(n,u)),t.seriesTypes[e]}}(r||(r={})),r})),t(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/DefaultOptions.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],(function(e,t,n,a,r,i,o,s,l,c,u,d,p,m,b){var h=e.animate,f=e.animObject,g=e.setAnimation,_=n.numberFormat,y=a.registerEventOptions,M=r.charts,v=r.doc,z=r.marginNames,O=r.svg,k=r.win,A=s.defaultOptions,x=s.defaultTime,w=u.seriesTypes,N=m.addEvent,q=m.attr,E=m.cleanRecursively,j=m.createElement,W=m.css,L=m.defined,S=m.discardElement,T=m.erase,C=m.error,R=m.extend,D=m.find,P=m.fireEvent,B=m.getStyle,I=m.isArray,$=m.isNumber,F=m.isObject,X=m.isString,Y=m.merge,H=m.objectEach,U=m.pick,V=m.pInt,G=m.relativeLength,K=m.removeEvent,J=m.splat,Z=m.syncTimeout,Q=m.uniqueKey;return e=function(){function e(e,t,n){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(e,t,n)}return e.chart=function(t,n,a){return new e(t,n,a)},e.prototype.getArgs=function(e,t,n){X(e)||e.nodeName?(this.renderTo=e,this.init(t,n)):this.init(e,t)},e.prototype.init=function(e,t){var n=e.plotOptions||{};P(this,"init",{args:arguments},(function(){var a=Y(A,e),i=a.chart;H(a.plotOptions,(function(e,t){F(e)&&(e.tooltip=n[t]&&Y(n[t].tooltip)||void 0)})),a.tooltip.userOptions=e.chart&&e.chart.forExport&&e.tooltip.userOptions||e.tooltip,this.userOptions=e,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=t,this.isResizing=0,this.options=a,this.axes=[],this.series=[],this.time=e.time&&Object.keys(e.time).length?new p(e.time):r.time,this.numberFormatter=i.numberFormatter||_,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=M.length,M.push(this),r.chartCount++,y(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,P(this,"afterInit"),this.firstRender()}))},e.prototype.initSeries=function(e){var t=this.options.chart;t=e.type||t.type||t.defaultSeriesType;var n=w[t];return n||C(17,!0,this,{missingModuleFor:t}),"function"==typeof(t=new n).init&&t.init(this,e),t},e.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(e){e.points||e.data||!e.enabledDataSorting||e.setData(e.options.data,!1)}))},e.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(e,t){return e.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-e.linkedSeries.length:0}))},e.prototype.orderSeries=function(e){var t=this.series;e=e||0;for(var n=t.length;e<n;++e)t[e]&&(t[e].index=e,t[e].name=t[e].getName())},e.prototype.isInsidePlot=function(e,t,n){void 0===n&&(n={});var a=this.inverted,r=this.plotBox,i=this.plotLeft,o=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var u=n.series;if(r=n.visiblePlotOnly&&s||r,e={x:s=n.inverted?t:e,y:t=n.inverted?e:t,isInsidePlot:!0},!n.ignoreX){var d=u&&(a?u.yAxis:u.xAxis)||{pos:i,len:1/0};(s=n.paneCoordinates?d.pos+s:i+s)>=Math.max(l+i,d.pos)&&s<=Math.min(l+i+r.width,d.pos+d.len)||(e.isInsidePlot=!1)}return!n.ignoreY&&e.isInsidePlot&&(a=u&&(a?u.xAxis:u.yAxis)||{pos:o,len:1/0},(n=n.paneCoordinates?a.pos+t:o+t)>=Math.max(c+o,a.pos)&&n<=Math.min(c+o+r.height,a.pos+a.len)||(e.isInsidePlot=!1)),P(this,"afterIsInsidePlot",e),e.isInsidePlot},e.prototype.redraw=function(e){P(this,"beforeRedraw");var t=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,a=this.pointer,r=this.legend,i=this.userOptions.legend,o=this.renderer,s=o.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),g(!!this.hasRendered&&e,this),s&&this.temporaryDisplay(),this.layOutTitles(),e=n.length;e--;){var d=n[e];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var m=!0;break}}}if(m)for(e=n.length;e--;)(d=n[e]).options.stacking&&(d.isDirty=!0);n.forEach((function(e){e.isDirty&&("point"===e.options.legendType?("function"==typeof e.updateTotals&&e.updateTotals(),u=!0):i&&(i.labelFormatter||i.labelFormat)&&(u=!0)),e.isDirtyData&&P(e,"updatedData")})),u&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),p&&this.getStacks(),t.forEach((function(e){e.updateNames(),e.setScale()})),this.getMargins(),t.forEach((function(e){e.isDirty&&(c=!0)})),t.forEach((function(e){var t=e.min+","+e.max;e.extKey!==t&&(e.extKey=t,l.push((function(){P(e,"afterSetExtremes",R(e.eventArgs,e.getExtremes())),delete e.eventArgs}))),(c||p)&&e.redraw()})),c&&this.drawChartBox(),P(this,"predraw"),n.forEach((function(e){(c||e.isDirty)&&e.visible&&e.redraw(),e.isDirtyData=!1})),a&&a.reset(!0),o.draw(),P(this,"redraw"),P(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(e){e.call()}))},e.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var n=this.series,a=D(this.axes,t)||D(this.series,t),r=0;!a&&r<n.length;r++)a=D(n[r].points||[],t);return a},e.prototype.getAxes=function(){var e=this,n=this.options,a=n.xAxis=J(n.xAxis||{});n=n.yAxis=J(n.yAxis||{}),P(this,"getAxes"),a.forEach((function(e,t){e.index=t,e.isX=!0})),n.forEach((function(e,t){e.index=t})),a.concat(n).forEach((function(n){new t(e,n)})),P(this,"afterGetAxes")},e.prototype.getSelectedPoints=function(){return this.series.reduce((function(e,t){return t.getPointsCollection().forEach((function(t){U(t.selectedStaging,t.selected)&&e.push(t)})),e}),[])},e.prototype.getSelectedSeries=function(){return this.series.filter((function(e){return e.selected}))},e.prototype.setTitle=function(e,t,n){this.applyDescription("title",e),this.applyDescription("subtitle",t),this.applyDescription("caption",void 0),this.layOutTitles(n)},e.prototype.applyDescription=function(e,t){var n=this,a="title"===e?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};a=this.options[e]=Y(!this.styledMode&&{style:a},this.options[e],t);var r=this[e];r&&t&&(this[e]=r=r.destroy()),a&&!r&&((r=this.renderer.text(a.text,0,0,a.useHTML).attr({align:a.align,class:"highcharts-"+e,zIndex:a.zIndex||4}).add()).update=function(t){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[e]](t)},this.styledMode||r.css(a.style),this[e]=r)},e.prototype.layOutTitles=function(e){var t=[0,0,0],n=this.renderer,a=this.spacingBox;["title","subtitle","caption"].forEach((function(e){var r,i=this[e],o=this.options[e],s=o.verticalAlign||"top";if(e="title"===e?"top"===s?-3:0:"top"===s?t[0]+2:0,i){this.styledMode||(r=o.style&&o.style.fontSize),r=n.fontMetrics(r,i).b,i.css({width:(o.width||a.width+(o.widthAdjust||0))+"px"});var l=Math.round(i.getBBox(o.useHTML).height);i.align(R({y:"bottom"===s?r:e+r,height:l},o),!1,"spacingBox"),o.floating||("top"===s?t[0]=Math.ceil(t[0]+l):"bottom"===s&&(t[2]=Math.ceil(t[2]+l)))}}),this),t[0]&&"top"===(this.options.title.verticalAlign||"top")&&(t[0]+=this.options.title.margin),t[2]&&"bottom"===this.options.caption.verticalAlign&&(t[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t,P(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&U(e,!0)&&this.isDirtyBox&&this.redraw())},e.prototype.getChartSize=function(){var e=this.options.chart,t=e.width;e=e.height;var n=this.renderTo;L(t)||(this.containerWidth=B(n,"width")),L(e)||(this.containerHeight=B(n,"height")),this.chartWidth=Math.max(0,t||this.containerWidth||600),this.chartHeight=Math.max(0,G(e,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},e.prototype.temporaryDisplay=function(e){var t=this.renderTo;if(e)for(;t&&t.style;)t.hcOrigStyle&&(W(t,t.hcOrigStyle),delete t.hcOrigStyle),t.hcOrigDetached&&(v.body.removeChild(t),t.hcOrigDetached=!1),t=t.parentNode;else for(;t&&t.style&&(v.body.contains(t)||t.parentNode||(t.hcOrigDetached=!0,v.body.appendChild(t)),("none"===B(t,"display",!1)||t.hcOricDetached)&&(t.hcOrigStyle={display:t.style.display,height:t.style.height,overflow:t.style.overflow},e={display:"block",overflow:"hidden"},t!==this.renderTo&&(e.height=0),W(t,e),t.offsetWidth||t.style.setProperty("display","block","important")),(t=t.parentNode)!==v.body););},e.prototype.setClassName=function(e){this.container.className="highcharts-container "+(e||"")},e.prototype.getContainer=function(){var e,t=this.options,n=t.chart,a=Q(),r=this.renderTo;r||(this.renderTo=r=n.renderTo),X(r)&&(this.renderTo=r=v.getElementById(r)),r||C(13,!0,this);var i=V(q(r,"data-highcharts-chart"));$(i)&&M[i]&&M[i].hasRendered&&M[i].destroy(),q(r,"data-highcharts-chart",this.index),r.innerHTML=b.emptyHTML,n.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),i=this.chartWidth;var o=this.chartHeight;if(W(r,{overflow:"hidden"}),this.styledMode||(e=R({position:"relative",overflow:"hidden",width:i+"px",height:o+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=a=j("div",{id:a},e,r),this._cursor=a.style.cursor,this.renderer=new(n.renderer||!O?c.getRendererType(n.renderer):d)(a,i,o,void 0,n.forExport,t.exporting&&t.exporting.allowHTML,this.styledMode),g(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in t.defs)this.renderer.definition(t.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,P(this,"afterGetContainer")},e.prototype.getMargins=function(e){var t=this.spacing,n=this.margin,a=this.titleOffset;this.resetMargins(),a[0]&&!L(n[0])&&(this.plotTop=Math.max(this.plotTop,a[0]+t[0])),a[2]&&!L(n[2])&&(this.marginBottom=Math.max(this.marginBottom,a[2]+t[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,t),P(this,"getMargins"),e||this.getAxisMargins()},e.prototype.getAxisMargins=function(){var e=this,t=e.axisOffset=[0,0,0,0],n=e.colorAxis,a=e.margin,r=function(e){e.forEach((function(e){e.visible&&e.getOffset()}))};e.hasCartesianSeries?r(e.axes):n&&n.length&&r(n),z.forEach((function(n,r){L(a[r])||(e[n]+=t[r])})),e.setChartSize()},e.prototype.reflow=function(e){var t=this,n=t.options.chart,a=t.renderTo,r=L(n.width)&&L(n.height),i=n.width||B(a,"width");n=n.height||B(a,"height"),a=e?e.target:k,delete t.pointer.chartPosition,r||t.isPrinting||!i||!n||a!==k&&a!==v||(i===t.containerWidth&&n===t.containerHeight||(m.clearTimeout(t.reflowTimeout),t.reflowTimeout=Z((function(){t.container&&t.setSize(void 0,void 0,!1)}),e?100:0)),t.containerWidth=i,t.containerHeight=n)},e.prototype.setReflow=function(e){var t=this;!1===e||this.unbindReflow?!1===e&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=N(k,"resize",(function(e){t.options&&t.reflow(e)})),N(this,"destroy",this.unbindReflow))},e.prototype.setSize=function(e,t,n){var a=this,r=a.renderer;a.isResizing+=1,g(n,a),n=r.globalAnimation,a.oldChartHeight=a.chartHeight,a.oldChartWidth=a.chartWidth,void 0!==e&&(a.options.chart.width=e),void 0!==t&&(a.options.chart.height=t),a.getChartSize(),a.styledMode||(n?h:W)(a.container,{width:a.chartWidth+"px",height:a.chartHeight+"px"},n),a.setChartSize(!0),r.setSize(a.chartWidth,a.chartHeight,n),a.axes.forEach((function(e){e.isDirty=!0,e.setScale()})),a.isDirtyLegend=!0,a.isDirtyBox=!0,a.layOutTitles(),a.getMargins(),a.redraw(n),a.oldChartHeight=null,P(a,"resize"),Z((function(){a&&P(a,"endResize",null,(function(){--a.isResizing}))}),f(n).duration)},e.prototype.setChartSize=function(e){var t,n,a,r,i=this.inverted,o=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,u=this.spacing,d=this.clipOffset;this.plotLeft=t=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=a=Math.max(0,Math.round(s-t-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=i?r:a,this.plotSizeY=i?a:r,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=o.spacingBox={x:u[3],y:u[0],width:s-u[3]-u[1],height:l-u[0]-u[2]},this.plotBox=o.plotBox={x:t,y:n,width:a,height:r},i=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(i,d[3])/2),l=Math.ceil(Math.max(i,d[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(i,d[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(i,d[2])/2-l))},e||(this.axes.forEach((function(e){e.setAxisSize(),e.setAxisTranslation()})),o.alignElements()),P(this,"afterSetChartSize",{skipAxes:e})},e.prototype.resetMargins=function(){P(this,"resetMargins");var e=this,t=e.options.chart;["margin","spacing"].forEach((function(n){var a=t[n],r=F(a)?a:[a,a,a,a];["Top","Right","Bottom","Left"].forEach((function(a,i){e[n][i]=U(t[n+a],r[i])}))})),z.forEach((function(t,n){e[t]=U(e.margin[n],e.spacing[n])})),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]},e.prototype.drawChartBox=function(){var e,t=this.options.chart,n=this.renderer,a=this.chartWidth,r=this.chartHeight,i=this.styledMode,o=this.plotBGImage,s=t.backgroundColor,l=t.plotBackgroundColor,c=t.plotBackgroundImage,u=this.plotLeft,d=this.plotTop,p=this.plotWidth,m=this.plotHeight,b=this.plotBox,h=this.clipRect,f=this.clipBox,g=this.chartBackground,_=this.plotBackground,y=this.plotBorder,M="animate";if(g||(this.chartBackground=g=n.rect().addClass("highcharts-background").add(),M="attr"),i)var v=e=g.strokeWidth();else e=(v=t.borderWidth||0)+(t.shadow?8:0),s={fill:s||"none"},(v||g["stroke-width"])&&(s.stroke=t.borderColor,s["stroke-width"]=v),g.attr(s).shadow(t.shadow);g[M]({x:e/2,y:e/2,width:a-e-v%2,height:r-e-v%2,r:t.borderRadius}),M="animate",_||(M="attr",this.plotBackground=_=n.rect().addClass("highcharts-plot-background").add()),_[M](b),i||(_.attr({fill:l||"none"}).shadow(t.plotShadow),c&&(o?(c!==o.attr("href")&&o.attr("href",c),o.animate(b)):this.plotBGImage=n.image(c,u,d,p,m).add())),h?h.animate({width:f.width,height:f.height}):this.clipRect=n.clipRect(f),M="animate",y||(M="attr",this.plotBorder=y=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),i||y.attr({stroke:t.plotBorderColor,"stroke-width":t.plotBorderWidth||0,fill:"none"}),y[M](y.crisp({x:u,y:d,width:p,height:m},-y.strokeWidth())),this.isDirtyBox=!1,P(this,"afterDrawChartBox")},e.prototype.propFromSeries=function(){var e,t,n,a=this,r=a.options.chart,i=a.options.series;["inverted","angular","polar"].forEach((function(o){for(t=w[r.type||r.defaultSeriesType],n=r[o]||t&&t.prototype[o],e=i&&i.length;!n&&e--;)(t=w[i[e].type])&&t.prototype[o]&&(n=!0);a[o]=n}))},e.prototype.linkSeries=function(){var e=this,t=e.series;t.forEach((function(e){e.linkedSeries.length=0})),t.forEach((function(t){var n=t.options.linkedTo;X(n)&&(n=":previous"===n?e.series[t.index-1]:e.get(n))&&n.linkedParent!==t&&(n.linkedSeries.push(t),t.linkedParent=n,n.enabledDataSorting&&t.setDataSortingOptions(),t.visible=U(t.options.visible,n.options.visible,t.visible))})),P(this,"afterLinkSeries")},e.prototype.renderSeries=function(){this.series.forEach((function(e){e.translate(),e.render()}))},e.prototype.renderLabels=function(){var e=this,t=e.options.labels;t.items&&t.items.forEach((function(n){var a=R(t.style,n.style),r=V(a.left)+e.plotLeft,i=V(a.top)+e.plotTop+12;delete a.left,delete a.top,e.renderer.text(n.html,r,i).attr({zIndex:2}).css(a).add()}))},e.prototype.render=function(){var e=this.axes,t=this.colorAxis,n=this.renderer,a=this.options,r=function(e){e.forEach((function(e){e.visible&&e.render()}))},o=0;this.setTitle(),this.legend=new i(this,a.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),a=this.plotWidth,e.some((function(e){if(e.horiz&&e.visible&&e.options.labels.enabled&&e.series.length)return o=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-o,0);e.forEach((function(e){e.setScale()})),this.getAxisMargins();var l=1.1<a/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(e.forEach((function(e){(e.horiz&&l||!e.horiz&&c)&&e.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(e):t&&t.length&&r(t),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},e.prototype.addCredits=function(e){var t=this,n=Y(!0,this.options.credits,e);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(k.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),t.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(e){t.credits=t.credits.destroy(),t.addCredits(e)})},e.prototype.destroy=function(){var e,t=this,n=t.axes,a=t.series,i=t.container,o=i&&i.parentNode;for(P(t,"destroy"),t.renderer.forExport?T(M,t):M[t.index]=void 0,r.chartCount--,t.renderTo.removeAttribute("data-highcharts-chart"),K(t),e=n.length;e--;)n[e]=n[e].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),e=a.length;e--;)a[e]=a[e].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(e){var n=t[e];n&&n.destroy&&(t[e]=n.destroy())})),i&&(i.innerHTML=b.emptyHTML,K(i),o&&S(i)),H(t,(function(e,n){delete t[n]}))},e.prototype.firstRender=function(){var e=this,t=e.options;e.isReadyToRender&&!e.isReadyToRender()||(e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),(I(t.series)?t.series:[]).forEach((function(t){e.initSeries(t)})),e.linkSeries(),e.setSeriesData(),P(e,"beforeRender"),l&&(o.isRequired()?e.pointer=new o(e,t):e.pointer=new l(e,t)),e.render(),e.pointer.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0))},e.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(e){e&&void 0!==this.index&&e.apply(this,[this])}),this),P(this,"load"),P(this,"render"),L(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},e.prototype.addSeries=function(e,t,n){var a,r=this;return e&&(t=U(t,!0),P(r,"addSeries",{options:e},(function(){a=r.initSeries(e),r.isDirtyLegend=!0,r.linkSeries(),a.enabledDataSorting&&a.setData(e.data,!1),P(r,"afterAddSeries",{series:a}),t&&r.redraw(n)}))),a},e.prototype.addAxis=function(e,t,n,a){return this.createAxis(t?"xAxis":"yAxis",{axis:e,redraw:n,animation:a})},e.prototype.addColorAxis=function(e,t,n){return this.createAxis("colorAxis",{axis:e,redraw:t,animation:n})},e.prototype.createAxis=function(e,n){return e=new t(this,Y(n.axis,{index:this[e].length,isX:"xAxis"===e})),U(n.redraw,!0)&&this.redraw(n.animation),e},e.prototype.showLoading=function(e){var t=this,n=t.options,a=n.loading,r=function(){i&&W(i,{left:t.plotLeft+"px",top:t.plotTop+"px",width:t.plotWidth+"px",height:t.plotHeight+"px"})},i=t.loadingDiv,o=t.loadingSpan;i||(t.loadingDiv=i=j("div",{className:"highcharts-loading highcharts-loading-hidden"},null,t.container)),o||(t.loadingSpan=o=j("span",{className:"highcharts-loading-inner"},null,i),N(t,"redraw",r)),i.className="highcharts-loading",b.setElementHTML(o,U(e,n.lang.loading,"")),t.styledMode||(W(i,R(a.style,{zIndex:10})),W(o,a.labelStyle),t.loadingShown||(W(i,{opacity:0,display:""}),h(i,{opacity:a.style.opacity||.5},{duration:a.showDuration||0}))),t.loadingShown=!0,r()},e.prototype.hideLoading=function(){var e=this.options,t=this.loadingDiv;t&&(t.className="highcharts-loading highcharts-loading-hidden",this.styledMode||h(t,{opacity:0},{duration:e.loading.hideDuration||100,complete:function(){W(t,{display:"none"})}})),this.loadingShown=!1},e.prototype.update=function(e,t,n,a){var r,i,o=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=e.isResponsiveOptions,c=[];P(o,"update",{options:e}),l||o.setResponsive(!1,!0),e=E(e,o.options),o.userOptions=Y(o.userOptions,e);var u=e.chart;if(u){if(Y(!0,o.options.chart,u),"className"in u&&o.setClassName(u.className),"reflow"in u&&o.setReflow(u.reflow),"inverted"in u||"polar"in u||"type"in u){o.propFromSeries();var d=!0}"alignTicks"in u&&(d=!0),"events"in u&&y(this,u),H(u,(function(e,t){-1!==o.propsRequireUpdateSeries.indexOf("chart."+t)&&(r=!0),-1!==o.propsRequireDirtyBox.indexOf(t)&&(o.isDirtyBox=!0),-1!==o.propsRequireReflow.indexOf(t)&&(l?o.isDirtyBox=!0:i=!0)})),!o.styledMode&&u.style&&o.renderer.setStyle(o.options.chart.style||{})}!o.styledMode&&e.colors&&(this.options.colors=e.colors),e.time&&(this.time===x&&(this.time=new p(e.time)),Y(!0,o.options.time,e.time)),H(e,(function(t,n){o[n]&&"function"==typeof o[n].update?o[n].update(t,!1):"function"==typeof o[s[n]]?o[s[n]](t):"colors"!==n&&-1===o.collectionsWithUpdate.indexOf(n)&&Y(!0,o.options[n],e[n]),"chart"!==n&&-1!==o.propsRequireUpdateSeries.indexOf(n)&&(r=!0)})),this.collectionsWithUpdate.forEach((function(t){if(e[t]){var a=[];o[t].forEach((function(e,t){e.options.isInternal||a.push(U(e.options.index,t))})),J(e[t]).forEach((function(e,r){var i,s=L(e.id);s&&(i=o.get(e.id)),!i&&o[t]&&(i=o[t][a?a[r]:r])&&s&&L(i.options.id)&&(i=void 0),i&&i.coll===t&&(i.update(e,!1),n&&(i.touched=!0)),!i&&n&&o.collectionsWithInit[t]&&(o.collectionsWithInit[t][0].apply(o,[e].concat(o.collectionsWithInit[t][1]||[]).concat([!1])).touched=!0)})),n&&o[t].forEach((function(e){e.touched||e.options.isInternal?delete e.touched:c.push(e)}))}})),c.forEach((function(e){e.chart&&e.remove&&e.remove(!1)})),d&&o.axes.forEach((function(e){e.update({},!1)})),r&&o.getSeriesOrderByLinks().forEach((function(e){e.chart&&e.update({},!1)}),this),d=u&&u.width,u=u&&(X(u.height)?G(u.height,d||o.chartWidth):u.height),i||$(d)&&d!==o.chartWidth||$(u)&&u!==o.chartHeight?o.setSize(d,u,a):U(t,!0)&&o.redraw(a),P(o,"afterUpdate",{options:e,redraw:t,animation:a})},e.prototype.setSubtitle=function(e,t){this.applyDescription("subtitle",e),this.layOutTitles(t)},e.prototype.setCaption=function(e,t){this.applyDescription("caption",e),this.layOutTitles(t)},e.prototype.showResetZoom=function(){function e(){t.zoomOut()}var t=this,n=A.lang,a=t.options.chart.resetZoomButton,r=a.theme,i=r.states,o="chart"===a.relativeTo||"spacingBox"===a.relativeTo?null:"scrollablePlotBox";P(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(n.resetZoom,null,null,e,r,i&&i.hover).attr({align:a.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(a.position,!1,o)})),P(this,"afterShowResetZoom")},e.prototype.zoomOut=function(){P(this,"selection",{resetSelection:!0},this.zoom)},e.prototype.zoom=function(e){var t,n=this,a=n.pointer,r=n.inverted?a.mouseDownX:a.mouseDownY,i=!1;!e||e.resetSelection?(n.axes.forEach((function(e){t=e.zoom()})),a.initiated=!1):e.xAxis.concat(e.yAxis).forEach((function(e){var o=e.axis,s=n.inverted?o.left:o.top,l=n.inverted?s+o.width:s+o.height,c=o.isXAxis,u=!1;(!c&&r>=s&&r<=l||c||!L(r))&&(u=!0),a[c?"zoomX":"zoomY"]&&u&&(t=o.zoom(e.min,e.max),o.displayBtn&&(i=!0))}));var o=n.resetZoomButton;i&&!o?n.showResetZoom():!i&&F(o)&&(n.resetZoomButton=o.destroy()),t&&n.redraw(U(n.options.chart.animation,e&&e.animation,100>n.pointCount))},e.prototype.pan=function(e,t){var n=this,a=n.hoverPoints;t="object"==typeof t?t:{enabled:t,type:"x"};var r=n.options.chart,i=n.options.mapNavigation&&n.options.mapNavigation.enabled;r&&r.panning&&(r.panning=t);var o,s=t.type;P(this,"pan",{originalEvent:e},(function(){a&&a.forEach((function(e){e.setState()}));var t=n.xAxis;"xy"===s?t=t.concat(n.yAxis):"y"===s&&(t=n.yAxis);var r={};t.forEach((function(t){if(t.options.panningEnabled&&!t.options.isInternal){var a=t.horiz,l=e[a?"chartX":"chartY"],c=n[a=a?"mouseDownX":"mouseDownY"],u=t.minPointOffset||0,d=t.reversed&&!n.inverted||!t.reversed&&n.inverted?-1:1,p=t.getExtremes(),m=t.toValue(c-l,!0)+u*d,b=t.toValue(c+t.len-l,!0)-(u*d||t.isXAxis&&t.pointRangePadding||0),h=b<m;d=t.hasVerticalPanning(),c=h?b:m,m=h?m:b;var f=t.panningState;!d||t.isXAxis||f&&!f.isDirty||t.series.forEach((function(e){var t=e.getProcessedData(!0);t=e.getExtremes(t.yData,!0),f||(f={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),$(t.dataMin)&&$(t.dataMax)&&(f.startMin=Math.min(U(e.options.threshold,1/0),t.dataMin,f.startMin),f.startMax=Math.max(U(e.options.threshold,-1/0),t.dataMax,f.startMax))})),d=Math.min(U(f&&f.startMin,p.dataMin),u?p.min:t.toValue(t.toPixels(p.min)-t.minPixelPadding)),b=Math.max(U(f&&f.startMax,p.dataMax),u?p.max:t.toValue(t.toPixels(p.max)+t.minPixelPadding)),t.panningState=f,t.isOrdinal||(0<(u=d-c)&&(m+=u,c=d),0<(u=m-b)&&(m=b,c-=u),t.series.length&&c!==p.min&&m!==p.max&&c>=d&&m<=b&&(t.setExtremes(c,m,!1,!1,{trigger:"pan"}),n.resetZoomButton||i||c===d||m===b||!s.match("y")||(n.showResetZoom(),t.displayBtn=!1),o=!0),r[a]=l)}})),H(r,(function(e,t){n[t]=e})),o&&n.redraw(!1),W(n.container,{cursor:"move"})}))},e}(),R(e.prototype,{callbacks:[],collectionsWithInit:{xAxis:[e.prototype.addAxis,[!0]],yAxis:[e.prototype.addAxis,[!1]],series:[e.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(" ")}),e})),t(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.merge,a=e.pick;return function(e){e.drawLineMarker=function(e){var t=this.options,r=e.symbolWidth,i=e.symbolHeight,o=i/2,s=this.chart.renderer,l=this.legendGroup;e=e.baseline-Math.round(.3*e.fontMetrics.b);var c={},u=t.marker;this.chart.styledMode||(c={"stroke-width":t.lineWidth||0},t.dashStyle&&(c.dashstyle=t.dashStyle)),this.legendLine=s.path([["M",0,e],["L",r,e]]).addClass("highcharts-graph").attr(c).add(l),u&&!1!==u.enabled&&r&&(t=Math.min(a(u.radius,o),o),0===this.symbol.indexOf("url")&&(u=n(u,{width:i,height:i}),t=0),this.legendSymbol=r=s.symbol(this.symbol,r/2-t,e-t,2*t,2*t,u).addClass("highcharts-point").add(l),r.isMarker=!0)},e.drawRectangle=function(e,t){var n=e.symbolHeight,r=e.options.squareSymbol;t.legendSymbol=this.chart.renderer.rect(r?(e.symbolWidth-n)/2:0,e.baseline-n+1,r?n:e.symbolWidth,n,a(e.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.legendGroup)}}(t||(t={})),t})),t(n,"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 e=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":e(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"}})),t(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l,c){var u=e.animObject,d=e.setAnimation,p=t.defaultOptions,m=n.registerEventOptions,b=a.hasTouch,h=a.svg,f=a.win,g=s.seriesTypes,_=c.addEvent,y=c.arrayMax,M=c.arrayMin,v=c.clamp,z=c.cleanRecursively,O=c.correctFloat,k=c.defined,A=c.erase,x=c.error,w=c.extend,N=c.find,q=c.fireEvent,E=c.getNestedProperty,j=c.isArray,W=c.isNumber,L=c.isString,S=c.merge,T=c.objectEach,C=c.pick,R=c.removeEvent,D=c.splat,P=c.syncTimeout;return e=function(){function e(){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 e.prototype.init=function(e,t){q(this,"init",{options:t});var n=this,a=e.series;this.eventsToUnbind=[],n.chart=e,n.options=n.setOptions(t),t=n.options,n.linkedSeries=[],n.bindAxes(),w(n,{name:t.name,state:"",visible:!1!==t.visible,selected:!0===t.selected}),m(this,t);var r,i=t.events;(i&&i.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(e.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(e){n[e+"Data"]||(n[e+"Data"]=[])})),n.isCartesian&&(e.hasCartesianSeries=!0),a.length&&(r=a[a.length-1]),n._i=C(r&&r._i,-1)+1,n.opacity=n.options.opacity,e.orderSeries(this.insert(a)),t.dataSorting&&t.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(t.data,!1),q(this,"afterInit")},e.prototype.is=function(e){return g[e]&&this instanceof g[e]},e.prototype.insert=function(e){var t,n=this.options.index;if(W(n)){for(t=e.length;t--;)if(n>=C(e[t].options.index,e[t]._i)){e.splice(t+1,0,this);break}-1===t&&e.unshift(this),t+=1}else e.push(this);return C(t,e.length-1)},e.prototype.bindAxes=function(){var e,t=this,n=t.options,a=t.chart;q(this,"bindAxes",null,(function(){(t.axisTypes||[]).forEach((function(r){var i=0;a[r].forEach((function(a){e=a.options,(n[r]===i&&!e.isInternal||void 0!==n[r]&&n[r]===e.id||void 0===n[r]&&0===e.index)&&(t.insert(a.series),t[r]=a,a.isDirty=!0),e.isInternal||i++})),t[r]||t.optionalAxis===r||x(18,!0,a)}))})),q(this,"afterBindAxes")},e.prototype.updateParallelArrays=function(e,t){var n=e.series,a=arguments,r=W(t)?function(a){var r="y"===a&&n.toYData?n.toYData(e):e[a];n[a+"Data"][t]=r}:function(e){Array.prototype[t].apply(n[e+"Data"],Array.prototype.slice.call(a,2))};n.parallelArrays.forEach(r)},e.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},e.prototype.autoIncrement=function(e){var t,n=this.options,a=n.pointIntervalUnit,r=n.relativeXValue,i=this.chart.time,o=this.xIncrement;return o=C(o,n.pointStart,0),this.pointInterval=t=C(this.pointInterval,n.pointInterval,1),r&&W(e)&&(t*=e),a&&(n=new i.Date(o),"day"===a?i.set("Date",n,i.get("Date",n)+t):"month"===a?i.set("Month",n,i.get("Month",n)+t):"year"===a&&i.set("FullYear",n,i.get("FullYear",n)+t),t=n.getTime()-o),r&&W(e)?o+t:(this.xIncrement=o+t,o)},e.prototype.setDataSortingOptions=function(){var e=this.options;w(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(e.pointRange)||(e.pointRange=1)},e.prototype.setOptions=function(e){var t=this.chart,n=t.options,a=n.plotOptions,r=t.userOptions||{};e=S(e),t=t.styledMode;var i={plotOptions:a,userOptions:e};q(this,"setOptions",i);var o=i.plotOptions[this.type],s=r.plotOptions||{};return this.userOptions=i.userOptions,r=S(o,a.series,r.plotOptions&&r.plotOptions[this.type],e),this.tooltipOptions=S(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,n.tooltip.userOptions,a.series&&a.series.tooltip,a[this.type].tooltip,e.tooltip),this.stickyTracking=C(e.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===o.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,a=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(n={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},t||(n.color=r.negativeColor,n.fillColor=r.negativeFillColor),a.push(n)),a.length&&k(a[a.length-1].value)&&a.push(t?{}:{color:this.color,fillColor:this.fillColor}),q(this,"afterSetOptions",{options:r}),r},e.prototype.getName=function(){return C(this.options.name,"Series "+(this.index+1))},e.prototype.getCyclic=function(e,t,n){var a=this.chart,r=this.userOptions,i=e+"Index",o=e+"Counter",s=n?n.length:C(a.options.chart[e+"Count"],a[e+"Count"]);if(!t){var l=C(r[i],r["_"+i]);k(l)||(a.series.length||(a[o]=0),r["_"+i]=l=a[o]%s,a[o]+=1),n&&(t=n[l])}void 0!==l&&(this[i]=l),this[e]=t},e.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)},e.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},e.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},e.prototype.findPointIndex=function(e,t){var n,a,r=e.id,o=e.x,s=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof i&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(t){return!t.touched&&t.index===e.index},l&&l.matchByName?n=function(t){return!t.touched&&t.name===e.name}:this.options.relativeXValue&&(n=function(t){return!t.touched&&t.options.x===e.x}),!(n=N(s,n))))return;if(n){var c=n&&n.index;void 0!==c&&(a=!0)}return void 0===c&&W(o)&&(c=this.xData.indexOf(o,t)),-1!==c&&void 0!==c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!a&&W(c)&&s[c]&&s[c].touched&&(c=void 0),c},e.prototype.updateData=function(e,t){var n,a,r,i=this.options,o=i.dataSorting,s=this.points,l=[],c=this.requireSorting,u=e.length===s.length,d=!0;if(this.xIncrement=null,e.forEach((function(e,t){var a=k(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{},d=a.x;a.id||W(d)?(-1===(a=this.findPointIndex(a,r))||void 0===a?l.push(e):s[a]&&e!==i.data[a]?(s[a].update(e,!1,null,!1),s[a].touched=!0,c&&(r=a+1)):s[a]&&(s[a].touched=!0),(!u||t!==a||o&&o.enabled||this.hasDerivedData)&&(n=!0)):l.push(e)}),this),n)for(e=s.length;e--;)(a=s[e])&&!a.touched&&a.remove&&a.remove(!1,t);else!u||o&&o.enabled?d=!1:(e.forEach((function(e,t){e!==s[t].y&&s[t].update&&s[t].update(e,!1,null,!1)})),l.length=0);return s.forEach((function(e){e&&(e.touched=!1)})),!!d&&(l.forEach((function(e){this.addPoint(e,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},e.prototype.setData=function(e,t,n,a){var r=this,i=r.points,o=i&&i.length||0,s=r.options,l=r.chart,c=s.dataSorting,u=r.xAxis,d=s.turboThreshold,p=this.xData,m=this.yData,b=r.pointArrayMap;b=b&&b.length;var h,f=s.keys,g=0,_=1,y=null,M=(e=e||[]).length;if(t=C(t,!0),c&&c.enabled&&(e=this.sortData(e)),!1!==a&&M&&o&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(h=this.updateData(e,n)),!h){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(e){r[e+"Data"].length=0})),d&&M>d)if(y=r.getFirstValidPoint(e),W(y))for(n=0;n<M;n++)p[n]=this.autoIncrement(),m[n]=e[n];else if(j(y))if(b)if(y.length===b)for(n=0;n<M;n++)p[n]=this.autoIncrement(),m[n]=e[n];else for(n=0;n<M;n++)a=e[n],p[n]=a[0],m[n]=a.slice(1,b+1);else if(f&&(g=0<=(g=f.indexOf("x"))?g:0,_=0<=(_=f.indexOf("y"))?_:1),1===y.length&&(_=0),g===_)for(n=0;n<M;n++)p[n]=this.autoIncrement(),m[n]=e[n][_];else for(n=0;n<M;n++)a=e[n],p[n]=a[g],m[n]=a[_];else x(12,!1,l);else for(n=0;n<M;n++)void 0!==e[n]&&(a={series:r},r.pointClass.prototype.applyOptions.apply(a,[e[n]]),r.updateParallelArrays(a,n));for(m&&L(m[0])&&x(14,!0,l),r.data=[],r.options.data=r.userOptions.data=e,n=o;n--;)i[n]&&i[n].destroy&&i[n].destroy();u&&(u.minRange=u.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!i,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),t&&l.redraw(n)},e.prototype.sortData=function(e){var t=this,n=t.options.dataSorting.sortKey||"y",a=function(e,t){return k(t)&&e.pointClass.prototype.optionsToObject.call({series:e},t)||{}};return e.forEach((function(n,r){e[r]=a(t,n),e[r].index=r}),this),e.concat().sort((function(e,t){return e=E(n,e),(t=E(n,t))<e?-1:t>e?1:0})).forEach((function(e,t){e.x=t}),this),t.linkedSeries&&t.linkedSeries.forEach((function(t){var n=t.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,i){r[i]=a(t,n),e[i]&&(r[i].x=e[i].x,r[i].index=i)})),t.setData(r,!1))})),e},e.prototype.getProcessedData=function(e){var t=this.xAxis,n=this.options,a=n.cropThreshold,r=e||this.getExtremesFromAll||n.getExtremesFromAll,i=this.isCartesian;e=t&&t.val2lin,n=!(!t||!t.logarithmic);var o=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,d=s.length;if(t){var p=(u=t.getExtremes()).min,m=u.max;u=t.categories&&!t.names.length}if(i&&this.sorted&&!r&&(!a||d>a||this.forceCrop))if(s[d-1]<p||s[0]>m)s=[],l=[];else if(this.yData&&(s[0]<p||s[d-1]>m)){var b=this.cropData(this.xData,this.yData,p,m);s=b.xData,l=b.yData,o=b.start,b=!0}for(a=s.length||1;--a;)if(0<(t=n?e(s[a])-e(s[a-1]):s[a]-s[a-1])&&(void 0===h||t<h))var h=t;else 0>t&&c&&!u&&(x(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:b,cropStart:o,closestPointRange:h}},e.prototype.processData=function(e){var t=this.xAxis;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!e)return!1;e=this.getProcessedData(),this.cropped=e.cropped,this.cropStart=e.cropStart,this.processedXData=e.xData,this.processedYData=e.yData,this.closestPointRange=this.basePointRange=e.closestPointRange,q(this,"afterProcessData")},e.prototype.cropData=function(e,t,n,a,r){var i,o=e.length,s=0,l=o;for(r=C(r,this.cropShoulder),i=0;i<o;i++)if(e[i]>=n){s=Math.max(0,i-r);break}for(n=i;n<o;n++)if(e[n]>a){l=n+r;break}return{xData:e.slice(s,l),yData:t.slice(s,l),start:s,end:l}},e.prototype.generatePoints=function(){var e=this.options,t=e.data,n=this.processedXData,a=this.processedYData,r=this.pointClass,i=n.length,o=this.cropStart||0,s=this.hasGroupedData,l=e.keys,c=[];e=e.dataGrouping&&e.dataGrouping.groupAll?o:0;var u,d,p=this.data;if(!p&&!s){var m=[];m.length=t.length,p=this.data=m}for(l&&s&&(this.options.keys=!1),d=0;d<i;d++){if(m=o+d,s){var b=(new r).init(this,[n[d]].concat(D(a[d])));b.dataGroup=this.groupMap[e+d],b.dataGroup.options&&(b.options=b.dataGroup.options,w(b,b.dataGroup.options),delete b.dataLabels)}else(b=p[m])||void 0===t[m]||(p[m]=b=(new r).init(this,t[m],n[d]));b&&(b.index=s?e+d:m,c[d]=b)}if(this.options.keys=l,p&&(i!==(u=p.length)||s))for(d=0;d<u;d++)d!==o||s||(d+=i),p[d]&&(p[d].destroyElements(),p[d].plotX=void 0);this.data=p,this.points=c,q(this,"afterGeneratePoints")},e.prototype.getXExtremes=function(e){return{min:M(e),max:y(e)}},e.prototype.getExtremes=function(e,t){var n=this.xAxis,a=this.yAxis,r=this.processedXData||this.xData,i=[],o=this.requireSorting?this.cropShoulder:0;a=!!a&&a.positiveValuesOnly;var s,l=0,c=0,u=0,d=(e=e||this.stackedYData||this.processedYData||[]).length;if(n){var p=n.getExtremes();l=p.min,c=p.max}for(s=0;s<d;s++){var m=r[s];p=e[s];var b=(W(p)||j(p))&&(p.length||0<p||!a);if(m=t||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[s+o]||m)>=l&&(r[s-o]||m)<=c,b&&m)if(b=p.length)for(;b--;)W(p[b])&&(i[u++]=p[b]);else i[u++]=p}return e={activeYData:i,dataMin:M(i),dataMax:y(i)},q(this,"afterGetExtremes",{dataExtremes:e}),e},e.prototype.applyExtremes=function(){var e=this.getExtremes();return this.dataMin=e.dataMin,this.dataMax=e.dataMax,e},e.prototype.getFirstValidPoint=function(e){for(var t=e.length,n=0,a=null;null===a&&n<t;)a=e[n],n++;return a},e.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var e,t,n=this.options,a=n.stacking,r=this.xAxis,i=r.categories,o=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,u=this.pointPlacementToXValue(),d=!!u,p=n.threshold,m=n.startFromThreshold?p:0,b=this.zoneAxis||"y",h=Number.MAX_VALUE;for(e=0;e<c;e++){var f=l[e],g=f.x,_=void 0,y=void 0,M=f.y,z=f.low,A=a&&s.stacking&&s.stacking.stacks[(this.negStacks&&M<(m?0:p)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(M)||r.positiveValuesOnly&&!r.validatePositiveValue(g))&&(f.isNull=!0),f.plotX=t=O(v(r.translate(g,0,0,0,1,u,"flags"===this.type),-1e5,1e5)),a&&this.visible&&A&&A[g]){var x=this.getStackIndicator(x,g,this.index);f.isNull||(y=(_=A[g]).points[x.key])}if(j(y)&&(z=y[0],M=y[1],z===m&&x.key===A[g].base&&(z=C(W(p)&&p,s.min)),s.positiveValuesOnly&&0>=z&&(z=null),f.total=f.stackTotal=_.total,f.percentage=_.total&&f.y/_.total*100,f.stackY=M,this.irregularWidths||_.setOffset(this.pointXOffset||0,this.barW||0)),f.yBottom=k(z)?v(s.translate(z,0,1,0,1),-1e5,1e5):null,this.dataModify&&(M=this.dataModify.modifyValue(M,e)),f.plotY=void 0,W(M)&&(void 0!==(_=s.translate(M,!1,!0,!1,!0))&&(f.plotY=v(_,-1e5,1e5))),f.isInside=this.isPointInside(f),f.clientX=d?O(r.translate(g,0,0,0,1,u)):t,f.negative=f[b]<(n[b+"Threshold"]||p||0),f.category=i&&void 0!==i[f.x]?i[f.x]:f.x,!f.isNull&&!1!==f.visible){void 0!==w&&(h=Math.min(h,Math.abs(t-w)));var w=t}f.zone=this.zones.length?f.getZone():void 0,!f.graphic&&this.group&&o&&(f.isNew=!0)}this.closestPointRangePx=h,q(this,"afterTranslate")},e.prototype.getValidPoints=function(e,t,n){var a=this.chart;return(e||this.points||[]).filter((function(e){return!(t&&!a.isInsidePlot(e.plotX,e.plotY,{inverted:a.inverted}))&&(!1!==e.visible&&(n||!e.isNull))}))},e.prototype.getClipBox=function(){var e=this.chart,t=this.xAxis,n=this.yAxis,a=S(e.clipBox);return t&&t.len!==e.plotSizeX&&(a.width=t.len),n&&n.len!==e.plotSizeY&&(a.height=n.len),a},e.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},e.prototype.setClip=function(){var e=this.chart,t=this.group,n=this.markerGroup,a=e.sharedClips;e=e.renderer;var r=this.getClipBox(),i=this.getSharedClipKey(),o=a[i];o?o.animate(r):a[i]=o=e.clipRect(r),t&&t.clip(!1===this.options.clip?void 0:o),n&&n.clip()},e.prototype.animate=function(e){var t=this.chart,n=this.group,a=this.markerGroup,r=t.inverted,i=u(this.options.animation),o=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(),s=t.sharedClips[o],l=t.sharedClips[o+"m"];if(e&&n)i=this.getClipBox(),s?s.attr("height",i.height):(i.width=0,r&&(i.x=t.plotHeight),s=t.renderer.clipRect(i),t.sharedClips[o]=s,l=t.renderer.clipRect({x:r?(t.plotSizeX||0)+99:-99,y:r?-t.plotLeft:-t.plotTop,width:99,height:r?t.chartWidth:t.chartHeight}),t.sharedClips[o+"m"]=l),n.clip(s),a&&a.clip(l);else if(s&&!s.hasClass("highcharts-animating")){t=this.getClipBox();var c=i.step;a&&a.element.childNodes.length&&(i.step=function(e,t){c&&c.apply(t,arguments),l&&l.element&&l.attr(t.prop,"width"===t.prop?e+99:e)}),s.addClass("highcharts-animating").animate(t,i)}},e.prototype.afterAnimate=function(){var e=this;this.setClip(),T(this.chart.sharedClips,(function(t,n,a){t&&!e.chart.container.querySelector('[clip-path="url(#'+t.id+')"]')&&(t.destroy(),delete a[n])})),this.finishedAnimating=!0,q(this,"afterAnimate")},e.prototype.drawPoints=function(){var e,t,n=this.points,a=this.chart,r=this.options.marker,i=this[this.specialGroup]||this.markerGroup,o=this.xAxis,s=C(r.enabled,!(o&&!o.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(e=0;e<n.length;e++){var l=n[e],c=(t=l.graphic)?"animate":"attr",u=l.marker||{},d=!!l.marker;if((s&&void 0===u.enabled||u.enabled)&&!l.isNull&&!1!==l.visible){var p=C(u.symbol,this.symbol,"rect"),m=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=o.reversed?-(m.width||0):o.width);var b=!1!==l.isInside;t?t[b?"show":"hide"](b).animate(m):b&&(0<(m.width||0)||l.hasImage)&&(l.graphic=t=a.renderer.symbol(p,m.x,m.y,m.width,m.height,d?u:r).add(i),this.enabledDataSorting&&a.hasRendered&&(t.attr({x:l.startXPos}),c="animate")),t&&"animate"===c&&t[b?"show":"hide"](b).animate(m),t&&!a.styledMode&&t[c](this.pointAttribs(l,l.selected&&"select")),t&&t.addClass(l.getClassName(),!0)}else t&&(l.graphic=t.destroy())}},e.prototype.markerAttribs=function(e,t){var n=this.options,a=n.marker,r=e.marker||{},i=r.symbol||a.symbol,o=C(r.radius,a.radius);return t&&(a=a.states[t],t=r.states&&r.states[t],o=C(t&&t.radius,a&&a.radius,o+(a&&a.radiusPlus||0))),e.hasImage=i&&0===i.indexOf("url"),e.hasImage&&(o=0),e={x:n.crisp?Math.floor(e.plotX-o):e.plotX-o,y:e.plotY-o},o&&(e.width=e.height=2*o),e},e.prototype.pointAttribs=function(e,t){var n=this.options.marker,a=e&&e.options,r=a&&a.marker||{},i=a&&a.color,o=e&&e.color,s=e&&e.zone&&e.zone.color,l=this.color;return e=C(r.lineWidth,n.lineWidth),a=1,l=i||s||o||l,i=r.fillColor||n.fillColor||l,o=r.lineColor||n.lineColor||l,t=t||"normal",n=n.states[t]||{},t=r.states&&r.states[t]||{},e=C(t.lineWidth,n.lineWidth,e+C(t.lineWidthPlus,n.lineWidthPlus,0)),i=t.fillColor||n.fillColor||i,{stroke:o=t.lineColor||n.lineColor||o,"stroke-width":e,fill:i,opacity:a=C(t.opacity,n.opacity,a)}},e.prototype.destroy=function(e){var t,n,a,r=this,i=r.chart,o=/AppleWebKit\/533/.test(f.navigator.userAgent),s=r.data||[];for(q(r,"destroy"),this.removeEvents(e),(r.axisTypes||[]).forEach((function(e){(a=r[e])&&a.series&&(A(a.series,r),a.isDirty=a.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),t=s.length;t--;)(n=s[t])&&n.destroy&&n.destroy();r.clips&&r.clips.forEach((function(e){return e.destroy()})),c.clearTimeout(r.animationTimeout),T(r,(function(e,t){e instanceof l&&!e.survive&&e[o&&"group"===t?"hide":"destroy"]()})),i.hoverSeries===r&&(i.hoverSeries=void 0),A(i.series,r),i.orderSeries(),T(r,(function(t,n){e&&"hcEvents"===n||delete r[n]}))},e.prototype.applyZones=function(){var e,t,n,a,r,i,o,s,l=this,c=this.chart,u=c.renderer,d=this.zones,p=this.clips||[],m=this.graph,b=this.area,h=Math.max(c.chartWidth,c.chartHeight),f=this[(this.zoneAxis||"y")+"Axis"],g=c.inverted,_=!1;if(d.length&&(m||b)&&f&&void 0!==f.min){var y=f.reversed,M=f.horiz;m&&!this.showLine&&m.hide(),b&&b.hide();var z=f.getExtremes();d.forEach((function(d,O){e=y?M?c.plotWidth:0:M?0:f.toPixels(z.min)||0,e=v(C(t,e),0,h),t=v(Math.round(f.toPixels(C(d.value,z.max),!0)||0),0,h),_&&(e=t=f.toPixels(z.max)),a=Math.abs(e-t),r=Math.min(e,t),i=Math.max(e,t),f.isXAxis?(n={x:g?i:r,y:0,width:a,height:h},M||(n.x=c.plotHeight-n.x)):(n={x:0,y:g?i:r,width:h,height:a},M&&(n.y=c.plotWidth-n.y)),g&&u.isVML&&(n=f.isXAxis?{x:0,y:y?r:i,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),p[O]?p[O].animate(n):p[O]=u.clipRect(n),o=l["zone-area-"+O],s=l["zone-graph-"+O],m&&s&&s.clip(p[O]),b&&o&&o.clip(p[O]),_=d.value>z.max,l.resetZones&&0===t&&(t=void 0)})),this.clips=p}else l.visible&&(m&&m.show(!0),b&&b.show(!0))},e.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach((function(t){n[t]&&(a.renderer.isVML&&n[t].attr({width:n.yAxis.len,height:n.xAxis.len}),n[t].width=n.yAxis.len,n[t].height=n.xAxis.len,n[t].invert(!n.isRadialSeries&&e))}))}var n=this,a=n.chart;n.xAxis&&(n.eventsToUnbind.push(_(a,"resize",t)),t(),n.invertGroups=t)},e.prototype.plotGroup=function(e,t,n,a,r){var i=this[e],o=!i;return n={visibility:n,zIndex:a||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),o&&(this[e]=i=this.chart.renderer.g().add(r)),i.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(i.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),i.attr(n)[o?"attr":"animate"](this.getPlotBox()),i},e.prototype.getPlotBox=function(){var e=this.chart,t=this.xAxis,n=this.yAxis;return e.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:n?n.top:e.plotTop,scaleX:1,scaleY:1}},e.prototype.removeEvents=function(e){e||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(e){e()})),this.eventsToUnbind.length=0)},e.prototype.render=function(){var e=this,t=e.chart,n=e.options,a=u(n.animation),r=e.visible?"inherit":"hidden",i=n.zIndex,o=e.hasRendered,s=t.seriesGroup,l=t.inverted;t=!e.finishedAnimating&&t.renderer.isSVG?a.duration:0,q(this,"render");var c=e.plotGroup("group","series",r,i,s);e.markerGroup=e.plotGroup("markerGroup","markers",r,i,s),!1!==n.clip&&e.setClip(),e.animate&&t&&e.animate(!0),c.inverted=!!C(e.invertible,e.isCartesian)&&l,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels&&e.drawDataLabels(),e.redrawPoints&&e.redrawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(l),e.animate&&t&&e.animate(),o||(t&&a.defer&&(t+=a.defer),e.animationTimeout=P((function(){e.afterAnimate()}),t||0)),e.isDirty=!1,e.hasRendered=!0,q(e,"afterRender")},e.prototype.redraw=function(){var e=this.chart,t=this.isDirty||this.isDirtyData,n=this.group,a=this.xAxis,r=this.yAxis;n&&(e.inverted&&n.attr({width:e.plotWidth,height:e.plotHeight}),n.animate({translateX:C(a&&a.left,e.plotLeft),translateY:C(r&&r.top,e.plotTop)})),this.translate(),this.render(),t&&delete this.kdTree},e.prototype.searchPoint=function(e,t){var n=this.xAxis,a=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:r?a.len-e.chartX+a.pos:e.chartY-a.pos},t,e)},e.prototype.buildKDTree=function(e){this.buildingKdTree=!0;var t=this,n=-1<t.options.findNearestPointBy.indexOf("y")?2:1;delete t.kdTree,P((function(){t.kdTree=function e(n,a,r){var i=n&&n.length;if(i){var o=t.kdAxisArray[a%r];return n.sort((function(e,t){return e[o]-t[o]})),{point:n[i=Math.floor(i/2)],left:e(n.slice(0,i),a+1,r),right:e(n.slice(i+1),a+1,r)}}}(t.getValidPoints(null,!t.directTouch),n,n),t.buildingKdTree=!1}),t.options.kdNow||e&&"touchstart"===e.type?0:1)},e.prototype.searchKDTree=function(e,t,n){var a=this,r=this.kdAxisArray[0],i=this.kdAxisArray[1],o=t?"distX":"dist";if(t=-1<a.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function e(t,n,s,l){var c=n.point,u=a.kdAxisArray[s%l],d=c,p=k(t[r])&&k(c[r])?Math.pow(t[r]-c[r],2):null,m=k(t[i])&&k(c[i])?Math.pow(t[i]-c[i],2):null;return m=(p||0)+(m||0),c.dist=k(m)?Math.sqrt(m):Number.MAX_VALUE,c.distX=k(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(u=t[u]-c[u])?"right":"left",n[m=0>u?"left":"right"]&&(d=(m=e(t,n[m],s+1,l))[o]<d[o]?m:c),n[p]&&Math.sqrt(u*u)<d[o]&&(d=(t=e(t,n[p],s+1,l))[o]<d[o]?t:d),d}(e,this.kdTree,t,t)},e.prototype.pointPlacementToXValue=function(){var e=this.options,t=e.pointRange,n=this.xAxis;return"between"===(e=e.pointPlacement)&&(e=n.reversed?-.5:.5),W(e)?e*(t||n.pointRange):0},e.prototype.isPointInside=function(e){var t=this.chart,n=this.xAxis,a=this.yAxis;return void 0!==e.plotY&&void 0!==e.plotX&&0<=e.plotY&&e.plotY<=(a?a.len:t.plotHeight)&&0<=e.plotX&&e.plotX<=(n?n.len:t.plotWidth)},e.prototype.drawTracker=function(){var e=this,t=e.options,n=t.trackByArea,a=[].concat(n?e.areaPath:e.graphPath),r=e.chart,i=r.pointer,o=r.renderer,s=r.options.tooltip.snap,l=e.tracker,c=function(t){r.hoverSeries!==e&&e.onMouseOver()},u="rgba(192,192,192,"+(h?1e-4:.002)+")";l?l.attr({d:a}):e.graph&&(e.tracker=o.path(a).attr({visibility:e.visible?"visible":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),r.styledMode||e.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:n?u:"none","stroke-width":e.graph.strokeWidth()+(n?0:2*s)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach((function(e){e&&(e.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(function(e){i.onTrackerMouseOut(e)})),t.cursor&&!r.styledMode&&e.css({cursor:t.cursor}),b)&&e.on("touchstart",c)}))),q(this,"afterDrawTracker")},e.prototype.addPoint=function(e,t,n,a,r){var i=this.options,o=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,u=i.data,d=this.xData;t=C(t,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[e]);var m=p.x,b=d.length;if(this.requireSorting&&m<d[b-1])for(c=!0;b&&d[b-1]>m;)b--;this.updateParallelArrays(p,"splice",b,0,0),this.updateParallelArrays(p,b),l&&p.name&&(l[m]=p.name),u.splice(b,0,e),c&&(this.data.splice(b,0,null),this.processData()),"point"===i.legendType&&this.generatePoints(),n&&(o[0]&&o[0].remove?o[0].remove(!1):(o.shift(),this.updateParallelArrays(p,"shift"),u.shift())),!1!==r&&q(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(a)},e.prototype.removePoint=function(e,t,n){var a=this,r=a.data,i=r[e],o=a.points,s=a.chart,l=function(){o&&o.length===r.length&&o.splice(e,1),r.splice(e,1),a.options.data.splice(e,1),a.updateParallelArrays(i||{series:a},"splice",e,1),i&&i.destroy(),a.isDirty=!0,a.isDirtyData=!0,t&&s.redraw()};d(n,s),t=C(t,!0),i?i.firePointEvent("remove",null,l):l()},e.prototype.remove=function(e,t,n,a){function r(){i.destroy(a),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),C(e,!0)&&o.redraw(t)}var i=this,o=i.chart;!1!==n?q(i,"remove",null,r):r()},e.prototype.update=function(e,t){e=z(e,this.userOptions),q(this,"update",{options:e});var n,a=this,r=a.chart,i=a.userOptions,o=a.initialType||a.type,s=r.options.plotOptions,l=g[o].prototype,c=a.finishedAnimating&&{animation:!1},u={},d=["eventOptions","navigatorSeries","baseSeries"],p=e.type||i.type||r.options.chart.type,m=!(this.hasDerivedData||p&&p!==this.type||void 0!==e.pointStart||void 0!==e.pointInterval||void 0!==e.relativeXValue||a.hasOptionChanged("dataGrouping")||a.hasOptionChanged("pointStart")||a.hasOptionChanged("pointInterval")||a.hasOptionChanged("pointIntervalUnit")||a.hasOptionChanged("keys"));if(p=p||o,m&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&d.push("area","graph"),a.parallelArrays.forEach((function(e){d.push(e+"Data")})),e.data&&(e.dataSorting&&w(a.options.dataSorting,e.dataSorting),this.setData(e.data,!1))),e=S(i,c,{index:void 0===i.index?a.index:i.index,pointStart:C(s&&s.series&&s.series.pointStart,i.pointStart,a.xData[0])},!m&&{data:a.options.data},e),m&&e.data&&(e.data=a.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(e){d[e]=a[e],delete a[e]})),s=!1,g[p]){if(s=p!==a.type,a.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(a,g[p].prototype);else{for(n in c=Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents,l)a[n]=void 0;w(a,g[p].prototype),c?a.hcEvents=c:delete a.hcEvents}}else x(17,!0,r,{missingModuleFor:p});if(d.forEach((function(e){a[e]=d[e]})),a.init(r,e),m&&this.points){var b=a.options;!1===b.visible?(u.graphic=1,u.dataLabel=1):a._hasPointLabels||(e=b.marker,l=b.dataLabels,!e||!1!==e.enabled&&(i.marker&&i.marker.symbol)===e.symbol||(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach((function(e){e&&e.series&&(e.resolveColor(),Object.keys(u).length&&e.destroyElements(u),!1===b.showInLegend&&e.legendItem&&r.legend.destroyItem(e))}),this)}a.initialType=o,r.linkSeries(),s&&a.linkedSeries.length&&(a.isDirtyData=!0),q(this,"afterUpdate"),C(t,!0)&&r.redraw(!!m&&void 0)},e.prototype.setName=function(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0},e.prototype.hasOptionChanged=function(e){var t=this.options[e],n=this.chart.options.plotOptions,a=this.userOptions[e];return a?t!==a:t!==C(n&&n[this.type]&&n[this.type][e],n&&n.series&&n.series[e],t)},e.prototype.onMouseOver=function(){var e=this.chart,t=e.hoverSeries;e.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&q(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this},e.prototype.onMouseOut=function(){var e=this.options,t=this.chart,n=t.tooltip,a=t.hoverPoint;t.hoverSeries=null,a&&a.onMouseOut(),this&&e.events.mouseOut&&q(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),t.series.forEach((function(e){e.setState("",!0)}))},e.prototype.setState=function(e,t){var n=this,a=n.options,r=n.graph,i=a.inactiveOtherPoints,o=a.states,s=C(o[e||"normal"]&&o[e||"normal"].animation,n.chart.options.chart.animation),l=a.lineWidth,c=0,u=a.opacity;if(e=e||"",n.state!==e&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))})),n.state=e,!n.chart.styledMode)){if(o[e]&&!1===o[e].enabled)return;if(e&&(l=o[e].lineWidth||l+(o[e].lineWidthPlus||0),u=C(o[e].opacity,u)),r&&!r.dashstyle)for(a={"stroke-width":l},r.animate(a,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(a,s),c+=1;i||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(e){e&&e.animate({opacity:u},s)}))}t&&i&&n.points&&n.setAllPointsToState(e||void 0)},e.prototype.setAllPointsToState=function(e){this.points.forEach((function(t){t.setState&&t.setState(e)}))},e.prototype.setVisible=function(e,t){var n=this,a=n.chart,r=n.legendItem,i=a.options.chart.ignoreHiddenSeries,o=n.visible,s=(n.visible=e=n.options.visible=n.userOptions.visible=void 0===e?!o:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(e){n[e]&&n[e][s]()})),a.hoverSeries!==n&&(a.hoverPoint&&a.hoverPoint.series)!==n||n.onMouseOut(),r&&a.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&a.series.forEach((function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)})),n.linkedSeries.forEach((function(t){t.setVisible(e,!1)})),i&&(a.isDirtyBox=!0),q(n,s),!1!==t&&a.redraw()},e.prototype.show=function(){this.setVisible(!0)},e.prototype.hide=function(){this.setVisible(!1)},e.prototype.select=function(e){this.selected=e=this.options.selected=void 0===e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),q(this,e?"select":"unselect")},e.prototype.shouldShowTooltip=function(e,t,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,n)},e.defaultOptions=o,e}(),w(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:i,requireSorting:!0,sorted:!0}),s.series=e,e})),t(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i){var o=e.stop,s=i.addEvent,l=i.createElement,c=i.merge,u=i.pick;s(n,"afterSetChartSize",(function(e){var n=this.options.chart.scrollablePlotArea,a=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(a){if(this.scrollablePixelsX=a=Math.max(0,a-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=a,this.inverted?this.clipBox.height+=a:this.clipBox.width+=a;var r={1:{name:"right",value:a}}}}else n&&(this.scrollablePixelsY=a=Math.max(0,n-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=a,this.inverted?this.clipBox.width+=a:this.clipBox.height+=a,r={2:{name:"bottom",value:a}});r&&!e.skipAxes&&this.axes.forEach((function(e){r[e.side]?e.getPlotLinePath=function(){var n=r[e.side].name,a=this[n];this[n]=a-r[e.side].value;var i=t.prototype.getPlotLinePath.apply(this,arguments);return this[n]=a,i}:(e.setAxisSize(),e.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var e=this,t={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(t.overflowX="auto"),this.scrollablePixelsY&&(t.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},t,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){e.pointer&&delete e.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var e,t=this.container,n=this.fixedRenderer,a=".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?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis"),e&&a.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)"),a.forEach((function(e){[].forEach.call(t.querySelectorAll(e),(function(e){(e.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(e),e.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var e=!this.fixedDiv,t=this.options.chart,n=t.scrollablePlotArea,a=r.getRendererType();e?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(t.style&&t.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=t=new a(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":u(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||e)&&(this.scrollableDirty=!1,this.moveFixedElements()),t=this.chartWidth+(this.scrollablePixelsX||0),a=this.chartHeight+(this.scrollablePixelsY||0),o(this.container),this.container.style.width=t+"px",this.container.style.height=a+"px",this.renderer.boxWrapper.attr({width:t,height:a,viewBox:[0,0,t,a].join(" ")}),this.chartBackground.attr({width:t,height:a}),this.scrollingContainer.style.height=this.chartHeight+"px",e&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),a=this.axisOffset,e=this.plotTop-a[0]-1,n=this.plotLeft-a[3]-1,t=this.plotTop+this.plotHeight+a[2]+1,a=this.plotLeft+this.plotWidth+a[1]+1;var i=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);e=this.scrollablePixelsX?[["M",0,e],["L",this.plotLeft-1,e],["L",this.plotLeft-1,t],["L",0,t],["Z"],["M",i,e],["L",this.chartWidth,e],["L",this.chartWidth,t],["L",i,t],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",a,this.plotTop-1],["L",a,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",a,this.chartHeight],["L",a,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})},s(t,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(a,"show",(function(){this.chart.scrollableDirty=!0}))})),t(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=e.getDeferredAnimation,i=n.addEvent,o=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(e){function t(){var e=this.stacking;if(e){var t=e.stacks;c(t,(function(e,n){o(e),t[n]=null})),e&&e.stackTotalGroup&&e.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new u(this))}var a=[];e.compose=function(e){return-1===a.indexOf(e)&&(a.push(e),i(e,"init",n),i(e,"destroy",t)),e};var u=function(){function e(e){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=e}return e.prototype.buildStacks=function(){var e,t=this.axis,n=t.series,a=t.options.reversedStacks,r=n.length;if(!t.isXAxis){for(this.usePercentage=!1,e=r;e--;){var i=n[a?e:r-e-1];i.setStackedPoints(),i.setGroupedPoints()}for(e=0;e<r;e++)n[e].modifyStacks();s(t,"afterBuildStacks")}},e.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var e=this.stacks=this.oldStacks;c(e,(function(e){c(e,(function(e){e.cumulative=e.total}))}))}},e.prototype.resetStacks=function(){var e=this,t=e.stacks;e.axis.isXAxis||c(t,(function(t){c(t,(function(n,a){l(n.touched)&&n.touched<e.stacksTouched?(n.destroy(),delete t[a]):(n.total=null,n.cumulative=null)}))}))},e.prototype.renderStackTotals=function(){var e=this.axis,t=e.chart,n=t.renderer,a=this.stacks;e=r(t,e.options.stackLabels&&e.options.stackLabels.animation||!1);var i=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();i.translate(t.plotLeft,t.plotTop),c(a,(function(e){c(e,(function(e){e.render(i)}))})),i.animate({opacity:1},e)},e}();e.Additions=u}(a||(a={})),a})),t(n,"Extensions/Stacking.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Axis/StackingAxis.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o){var s=n.format,l=o.correctFloat,c=o.defined,u=o.destroyObjectProperties,d=o.isArray,p=o.isNumber,m=o.objectEach,b=o.pick,h=function(){function e(e,t,n,a,r){var i=e.chart.inverted;this.axis=e,this.isNegative=n,this.options=t=t||{},this.x=a,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:t.align||(i?n?"left":"right":"center"),verticalAlign:t.verticalAlign||(i?"middle":n?"bottom":"top"),y:t.y,x:t.x},this.textAlign=t.textAlign||(i?n?"right":"left":"center")}return e.prototype.destroy=function(){u(this,this.axis)},e.prototype.render=function(e){var t=this.axis.chart,n=this.options,a=n.format;a=a?s(a,this,t):n.formatter.call(this),this.label?this.label.attr({text:a,visibility:"hidden"}):(this.label=t.renderer.label(a,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),a={r:n.borderRadius||0,text:a,rotation:n.rotation,padding:b(n.padding,5),visibility:"hidden"},t.styledMode||(a.fill=n.backgroundColor,a.stroke=n.borderColor,a["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(a),this.label.added||this.label.add(e)),this.label.labelrank=t.plotSizeY},e.prototype.setOffset=function(e,t,n,a,i){var o=this.axis,s=o.chart;a=o.translate(o.stacking.usePercentage?100:a||this.total,0,0,0,1),n=o.translate(n||0),n=c(a)&&Math.abs(a-n),e=b(i,s.xAxis[0].translate(this.x))+e,o=c(a)&&this.getStackBox(s,this,e,a,t,n,o),t=this.label,n=this.isNegative,e="justify"===b(this.options.overflow,"justify");var l=this.textAlign;t&&o&&(i=t.getBBox(),a=t.padding,l="left"===l?s.inverted?-a:a:"right"===l?i.width:s.inverted&&"center"===l?i.width/2:s.inverted?n?i.width+a:-a:i.width/2,n=s.inverted?i.height/2:n?-a:i.height,this.alignOptions.x=b(this.options.x,0),this.alignOptions.y=b(this.options.y,0),o.x-=l,o.y-=n,t.align(this.alignOptions,null,o),s.isInsidePlot(t.alignAttr.x+l-this.alignOptions.x,t.alignAttr.y+n-this.alignOptions.y)?t.show():(t.alignAttr.y=-9999,e=!1),e&&r.prototype.justifyDataLabel.call(this.axis,t,this.alignOptions,t.alignAttr,i,o),t.attr({x:t.alignAttr.x,y:t.alignAttr.y}),b(!e&&this.options.crop,!0)&&((s=p(t.x)&&p(t.y)&&s.isInsidePlot(t.x-a+t.width,t.y)&&s.isInsidePlot(t.x+a,t.y))||t.hide()))},e.prototype.getStackBox=function(e,t,n,a,r,i,o){var s=t.axis.reversed,l=e.inverted,c=o.height+o.pos-(l?e.plotLeft:e.plotTop);return t=t.isNegative&&!s||!t.isNegative&&s,{x:l?t?a-o.right:a-i+o.pos-e.plotLeft:n+e.xAxis[0].transB-e.plotLeft,y:l?o.height-n-r:t?c-a-i:c-a,width:l?i:r,height:l?r:i}},e}();return t.prototype.getStacks=function(){var e=this,t=e.inverted;e.yAxis.forEach((function(e){e.stacking&&e.stacking.stacks&&e.hasVisibleSeries&&(e.stacking.oldStacks=e.stacking.stacks)})),e.series.forEach((function(n){var a=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==e.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,b(n.options.stack,""),t?a.top:a.left,t?a.height:a.width].join())}))},i.compose(e),r.prototype.setGroupedPoints=function(){var e=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?r.prototype.setStackedPoints.call(this,"group"):e&&m(e.stacks,(function(t,n){"group"===n.slice(-5)&&(m(t,(function(e){return e.destroy()})),delete e.stacks[n])}))},r.prototype.setStackedPoints=function(e){var t=e||this.options.stacking;if(t&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,a=this.processedYData,r=[],i=a.length,o=this.options,s=o.threshold,u=b(o.startFromThreshold&&s,0);o=o.stack;var p,m,f="-"+(e=e?this.type+","+t:this.stackKey),g=this.negStacks,_=this.yAxis,y=_.stacking.stacks,M=_.stacking.oldStacks;for(_.stacking.stacksTouched+=1,m=0;m<i;m++){var v=n[m],z=a[m],O=this.getStackIndicator(O,v,this.index),k=O.key,A=(p=g&&z<(u?0:s))?f:e;y[A]||(y[A]={}),y[A][v]||(M[A]&&M[A][v]?(y[A][v]=M[A][v],y[A][v].total=null):y[A][v]=new h(_,_.options.stackLabels,p,v,o)),A=y[A][v],null!==z?(A.points[k]=A.points[this.index]=[b(A.cumulative,u)],c(A.cumulative)||(A.base=k),A.touched=_.stacking.stacksTouched,0<O.index&&!1===this.singleStacks&&(A.points[k][0]=A.points[this.index+","+v+",0"][0])):A.points[k]=A.points[this.index]=null,"percent"===t?(p=p?e:f,g&&y[p]&&y[p][v]?(p=y[p][v],A.total=p.total=Math.max(p.total,A.total)+Math.abs(z)||0):A.total=l(A.total+(Math.abs(z)||0))):"group"===t?(d(z)&&(z=z[0]),null!==z&&(A.total=(A.total||0)+1)):A.total=l(A.total+(z||0)),A.cumulative="group"===t?(A.total||1)-1:b(A.cumulative,u)+(z||0),null!==z&&(A.points[k].push(A.cumulative),r[m]=A.cumulative,A.hasValidPoints=!0)}"percent"===t&&(_.stacking.usePercentage=!0),"group"!==t&&(this.stackedYData=r),_.stacking.oldStacks={}}},r.prototype.modifyStacks=function(){var e,t=this,n=t.stackKey,a=t.yAxis.stacking.stacks,r=t.processedXData,i=t.options.stacking;t[i+"Stacker"]&&[n,"-"+n].forEach((function(n){for(var o,s,l=r.length;l--;)o=r[l],e=t.getStackIndicator(e,o,t.index,n),(s=(o=a[n]&&a[n][o])&&o.points[e.key])&&t[i+"Stacker"](s,o,l)}))},r.prototype.percentStacker=function(e,t,n){t=t.total?100/t.total:0,e[0]=l(e[0]*t),e[1]=l(e[1]*t),this.stackedYData[n]=e[1]},r.prototype.getStackIndicator=function(e,t,n,a){return!c(e)||e.x!==t||a&&e.key!==a?e={x:t,index:0,key:a}:e.index++,e.key=[n,t,e.index].join(),e},a.StackItem=h,a.StackItem})),t(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=n.defined,i=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.prototype.drawGraph=function(){var e=this,t=this.options,n=(this.gappedPath||this.getGraphPath).call(this),a=this.chart.styledMode,r=[["graph","highcharts-graph"]];a||r[0].push(t.lineColor||this.color||"#cccccc",t.dashStyle),(r=e.getZonesGraphs(r)).forEach((function(r,i){var o=r[0],s=e[o],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(e[o]=s=e.chart.renderer.path(n).addClass(r[1]).attr({zIndex:1}).add(e.group)),s&&!a&&(o={stroke:r[2],"stroke-width":t.lineWidth,fill:e.fillGraph&&e.color||"none"},r[3]?o.dashstyle=r[3]:"square"!==t.linecap&&(o["stroke-linecap"]=o["stroke-linejoin"]="round"),s[l](o).shadow(2>i&&t.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(e,t,n){var a,i=this,o=i.options,s=[],l=[],c=o.step,u=(e=e||i.points).reversed;return u&&e.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(e=this.getValidPoints(e,!1,!(o.connectNulls&&!t&&!n))).forEach((function(u,d){var p=u.plotX,m=u.plotY,b=e[d-1];(u.leftCliff||b&&b.rightCliff)&&!n&&(a=!0),u.isNull&&!r(t)&&0<d?a=!o.connectNulls:u.isNull&&!t?a=!0:(0===d||a?d=[["M",u.plotX,u.plotY]]:i.getPointSpline?d=[i.getPointSpline(e,u,d)]:c?(d=1===c?[["L",b.plotX,m]]:2===c?[["L",(b.plotX+p)/2,b.plotY],["L",(b.plotX+p)/2,m]]:[["L",p,b.plotY]]).push(["L",p,m]):d=[["L",p,m]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),s.push.apply(s,d),a=!1)})),s.xMap=l,i.graphPath=s},n.prototype.getZonesGraphs=function(e){return this.zones.forEach((function(t,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(t.className||"")],this.chart.styledMode||n.push(t.color||this.color,t.dashStyle||this.options.dashStyle),e.push(n)}),this),e},n.defaultOptions=i(e.defaultOptions,{}),n}(e),t.registerSeriesType("line",n),n})),t(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=e.parse,o=n.seriesTypes.line;e=a.extend;var s=a.merge,l=a.objectEach,c=a.pick;return a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(t,e),t.prototype.drawGraph=function(){this.areaPath=[],e.prototype.drawGraph.apply(this);var t=this,n=this.areaPath,a=this.options,r=[["area","highcharts-area",this.color,a.fillColor]];this.zones.forEach((function(e,n){r.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+e.className,e.color||t.color,e.fillColor||a.fillColor])})),r.forEach((function(e){var r=e[0],o=t[r],s=o?"animate":"attr",l={};o?(o.endX=t.preventGraphAnimation?null:n.xMap,o.animate({d:n})):(l.zIndex=0,(o=t[r]=t.chart.renderer.path(n).addClass(e[1]).add(t.group)).isArea=!0),t.chart.styledMode||(l.fill=c(e[3],i(e[2]).setOpacity(c(a.fillOpacity,.75)).get())),o[s](l),o.startX=n.xMap,o.shiftUnit=a.step?2:1}))},t.prototype.getGraphPath=function(e){var t,n=o.prototype.getGraphPath,a=this.options,r=a.stacking,i=this.yAxis,s=[],l=[],u=this.index,d=i.stacking.stacks[this.stackKey],p=a.threshold,m=Math.round(i.getThreshold(a.threshold));a=c(a.connectNulls,"percent"===r);var b=function(t,n,a){var o=e[t];t=r&&d[o.x].points[u];var c=o[a+"Null"]||0;if(a=o[a+"Cliff"]||0,o=!0,a||c){var b=(c?t[0]:t[1])+a,h=t[0]+a;o=!!c}else!r&&e[n]&&e[n].isNull&&(b=h=p);void 0!==b&&(l.push({plotX:f,plotY:null===b?m:i.getThreshold(b),isNull:o,isCliff:!0}),s.push({plotX:f,plotY:null===h?m:i.getThreshold(h),doCurve:!1}))};for(e=e||this.points,r&&(e=this.getStackPoints(e)),t=0;t<e.length;t++){r||(e[t].leftCliff=e[t].rightCliff=e[t].leftNull=e[t].rightNull=void 0);var h=e[t].isNull,f=c(e[t].rectPlotX,e[t].plotX),g=r?c(e[t].yBottom,m):m;h&&!a||(a||b(t,t-1,"left"),h&&!r&&a||(l.push(e[t]),s.push({x:t,plotX:f,plotY:g})),a||b(t,t+1,"right"))}return t=n.call(this,l,!0,!0),s.reversed=!0,(g=(h=n.call(this,s,!0,!0))[0])&&"M"===g[0]&&(h[0]=["L",g[1],g[2]]),(h=t.concat(h)).length&&h.push(["Z"]),n=n.call(this,l,!1,a),h.xMap=t.xMap,this.areaPath=h,n},t.prototype.getStackPoints=function(e){var t=this,n=[],a=[],r=this.xAxis,i=this.yAxis,o=i.stacking.stacks[this.stackKey],s={},u=i.series,d=u.length,p=i.options.reversedStacks?1:-1,m=u.indexOf(t);if(e=e||this.points,this.options.stacking){for(var b=0;b<e.length;b++)e[b].leftNull=e[b].rightNull=void 0,s[e[b].x]=e[b];l(o,(function(e,t){null!==e.total&&a.push(t)})),a.sort((function(e,t){return e-t}));var h=u.map((function(e){return e.visible}));a.forEach((function(e,l){var b,f,g=0;if(s[e]&&!s[e].isNull)n.push(s[e]),[-1,1].forEach((function(n){var r=1===n?"rightNull":"leftNull",i=0,c=o[a[l+n]];if(c)for(var g=m;0<=g&&g<d;){var _=u[g].index;(b=c.points[_])||(_===t.index?s[e][r]=!0:h[g]&&(f=o[e].points[_])&&(i-=f[1]-f[0])),g+=p}s[e][1===n?"rightCliff":"leftCliff"]=i}));else{for(var _=m;0<=_&&_<d;){if(b=o[e].points[u[_].index]){g=b[1];break}_+=p}g=c(g,0),g=i.translate(g,0,1,0,1),n.push({isNull:!0,plotX:r.translate(e,0,0,0,1),x:e,plotY:g,yBottom:g})}}))}return n},t.defaultOptions=s(o.defaultOptions,{threshold:0}),t}(o),e(a.prototype,{singleStacks:!1,drawLegendSymbol:t.drawRectangle}),n.registerSeriesType("area",a),a})),t(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),a=e.seriesTypes.line,r=t.merge,i=t.pick;return t=function(e){function t(){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(t,e),t.prototype.getPointSpline=function(e,t,n){var a=t.plotX||0,r=t.plotY||0,o=e[n-1];if(n=e[n+1],o&&!o.isNull&&!1!==o.doCurve&&!t.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!t.isCliff){e=o.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,c=(1.5*a+(o.plotX||0))/2.5,u=(1.5*r+e)/2.5,d=(1.5*r+n)/2.5;(s=(1.5*a+s)/2.5)!==c&&(l=(d-u)*(s-a)/(s-c)+r-d),d+=l,(u+=l)>e&&u>r?d=2*r-(u=Math.max(e,r)):u<e&&u<r&&(d=2*r-(u=Math.min(e,r))),d>n&&d>r?u=2*r-(d=Math.max(n,r)):d<n&&d<r&&(u=2*r-(d=Math.min(n,r))),t.rightContX=s,t.rightContY=d}return t=["C",i(o.rightContX,o.plotX,0),i(o.rightContY,o.plotY,0),i(c,a,0),i(u,r,0),a,r],o.rightContX=o.rightContY=void 0,t},t.defaultOptions=r(a.defaultOptions),t}(a),e.registerSeriesType("spline",t),t})),t(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Area/AreaSeries.js"],n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),o=e.prototype,s=r.extend,l=r.merge;return s((r=function(n){function a(){var e=null!==n&&n.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e}return i(a,n),a.defaultOptions=l(t.defaultOptions,e.defaultOptions),a}(t)).prototype,{getGraphPath:o.getGraphPath,getStackPoints:o.getStackPoints,drawGraph:o.drawGraph,drawLegendSymbol:n.drawRectangle}),a.registerSeriesType("areaspline",r),r})),t(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o){var s=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),l=e.animObject,c=t.parse,u=n.hasTouch;e=n.noop;var d=o.clamp,p=o.css,m=o.defined,b=o.extend,h=o.fireEvent,f=o.isArray,g=o.isNumber,_=o.merge,y=o.pick,M=o.objectEach;return o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.borderWidth=void 0,t.data=void 0,t.group=void 0,t.options=void 0,t.points=void 0,t}return s(t,e),t.prototype.animate=function(e){var t=this,n=this.yAxis,a=t.options,r=this.chart.inverted,i={},o=r?"translateX":"translateY";if(e)i.scaleY=.001,e=d(n.toPixels(a.threshold),n.pos,n.pos+n.len),r?i.translateX=e-n.len:i.translateY=e,t.clipBox&&t.setClip(),t.group.attr(i);else{var s=Number(t.group.attr(o));t.group.animate({scaleY:1},b(l(t.options.animation),{step:function(e,a){t.group&&(i[o]=s+a.pos*(n.pos-s),t.group.attr(i))}}))}},t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments);var a=this;(t=a.chart).hasRendered&&t.series.forEach((function(e){e.type===a.type&&(e.isDirty=!0)}))},t.prototype.getColumnMetrics=function(){var e=this,t=e.options,n=e.xAxis,a=e.yAxis,r=n.options.reversedStacks;r=n.reversed&&!r||!n.reversed&&r;var i,o={},s=0;!1===t.grouping?s=1:e.chart.series.forEach((function(t){var n=t.yAxis,r=t.options;if(t.type===e.type&&(t.visible||!e.chart.options.chart.ignoreHiddenSeries)&&a.len===n.len&&a.pos===n.pos){if(r.stacking&&"group"!==r.stacking){i=t.stackKey,void 0===o[i]&&(o[i]=s++);var l=o[i]}else!1!==r.grouping&&(l=s++);t.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||t.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*t.groupPadding,u=(l-2*c)/(s||1);return t=Math.min(t.maxPointWidth||n.len,y(t.pointWidth,u*(1-2*t.pointPadding))),e.columnMetrics={width:t,offset:(u-t)/2+(c+((e.columnIndex||0)+(r?1:0))*u-l/2)*(r?-1:1),paddedWidth:u,columnCount:s},e.columnMetrics},t.prototype.crispCol=function(e,t,n,a){var r=this.chart,i=this.borderWidth,o=-(i%2?.5:0);return i=i%2?.5:1,r.inverted&&r.renderer.isVML&&(i+=1),this.options.crisp&&(n=Math.round(e+n)+o,n-=e=Math.round(e)+o),a=Math.round(t+a)+i,o=.5>=Math.abs(t)&&.5<a,a-=t=Math.round(t)+i,o&&a&&(--t,a+=1),{x:e,y:t,width:n,height:a}},t.prototype.adjustForMissingColumns=function(e,t,n,a){var r=this,i=this.options.stacking;if(!n.isNull&&1<a.columnCount){var o=0,s=0;M(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(e){if("number"==typeof n.x&&(e=e[n.x.toString()])){var t=e.points[r.index],a=e.total;i?(t&&(o=s),e.hasValidPoints&&s++):f(t)&&(o=t[1],s=a||0)}})),e=(n.plotX||0)+((s-1)*a.paddedWidth+t)/2-t-o*a.paddedWidth}return e},t.prototype.translate=function(){var e=this,t=e.chart,n=e.options,a=e.dense=2>e.closestPointRange*e.xAxis.transA;a=e.borderWidth=y(n.borderWidth,a?0:1);var i=e.xAxis,o=e.yAxis,s=n.threshold,l=e.translatedThreshold=o.getThreshold(s),c=y(n.minPointLength,5),u=e.getColumnMetrics(),p=u.width,b=e.pointXOffset=u.offset,h=e.dataMin,f=e.dataMax,_=e.barW=Math.max(p,1+2*a);t.inverted&&(l-=.5),n.pointPadding&&(_=Math.ceil(_)),r.prototype.translate.apply(e),e.points.forEach((function(a){var r=y(a.yBottom,l),M=999+Math.abs(r),v=a.plotX||0;M=d(a.plotY,-M,o.len+M);var z=Math.min(M,r),O=Math.max(M,r)-z,k=p,A=v+b,x=_;c&&Math.abs(O)<c&&(O=c,v=!o.reversed&&!a.negative||o.reversed&&a.negative,g(s)&&g(f)&&a.y===s&&f<=s&&(o.min||0)<s&&(h!==f||(o.max||0)<=s)&&(v=!v),z=Math.abs(z-l)>c?r-c:l-(v?c:0)),m(a.options.pointWidth)&&(k=x=Math.ceil(a.options.pointWidth),A-=Math.round((k-p)/2)),n.centerInCategory&&(A=e.adjustForMissingColumns(A,k,a,u)),a.barX=A,a.pointWidth=k,a.tooltipPos=t.inverted?[d(o.len+o.pos-t.plotLeft-M,o.pos-t.plotLeft,o.len+o.pos-t.plotLeft),i.len+i.pos-t.plotTop-A-x/2,O]:[i.left-t.plotLeft+A+x/2,d(M+o.pos-t.plotTop,o.pos-t.plotTop,o.len+o.pos-t.plotTop),O],a.shapeType=e.pointClass.prototype.shapeType||"rect",a.shapeArgs=e.crispCol.apply(e,a.isNull?[A,l,x,0]:[A,z,x,O])}))},t.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},t.prototype.pointAttribs=function(e,t){var n=this.options,a=this.pointAttrToOptions||{},r=a.stroke||"borderColor",i=a["stroke-width"]||"borderWidth",o=e&&e.color||this.color,s=e&&e[r]||n[r]||o;a=e&&e.options.dashStyle||n.dashStyle;var l=e&&e[i]||n[i]||this[i]||0,u=y(e&&e.opacity,n.opacity,1);if(e&&this.zones.length){var d=e.getZone();o=e.options.color||d&&(d.color||e.nonZonedColor)||this.color,d&&(s=d.borderColor||s,a=d.dashStyle||a,l=d.borderWidth||l)}return t&&e&&(t=(e=_(n.states[t],e.options.states&&e.options.states[t]||{})).brightness,o=e.color||void 0!==t&&c(o).brighten(e.brightness).get()||o,s=e[r]||s,l=e[i]||l,a=e.dashStyle||a,u=y(e.opacity,u)),r={fill:o,stroke:s,"stroke-width":l,opacity:u},a&&(r.dashstyle=a),r},t.prototype.drawPoints=function(){var e,t=this,n=this.chart,a=t.options,r=n.renderer,i=a.animationLimit||250;t.points.forEach((function(o){var s=o.graphic,l=!!s,c=s&&n.pointCount<i?"animate":"attr";g(o.plotY)&&null!==o.y?(e=o.shapeArgs,s&&o.hasNewShapeType()&&(s=s.destroy()),t.enabledDataSorting&&(o.startXPos=t.xAxis.reversed?-(e&&e.width||0):t.xAxis.width),s||(o.graphic=s=r[o.shapeType](e).add(o.group||t.group))&&t.enabledDataSorting&&n.hasRendered&&n.pointCount<i&&(s.attr({x:o.startXPos}),l=!0,c="animate"),s&&l&&s[c](_(e)),a.borderRadius&&s[c]({r:a.borderRadius}),n.styledMode||s[c](t.pointAttribs(o,o.selected&&"select")).shadow(!1!==o.allowShadow&&a.shadow,null,a.stacking&&!a.borderRadius),s&&(s.addClass(o.getClassName(),!0),s.attr({visibility:o.visible?"inherit":"hidden"}))):s&&(o.graphic=s.destroy())}))},t.prototype.drawTracker=function(){var e,t=this,n=t.chart,a=n.pointer,r=function(e){var t=a.getPointFromEvent(e);void 0!==t&&(a.isDirectTouch=!0,t.onMouseOver(e))};t.points.forEach((function(t){e=f(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){e.div?e.div.point=t:e.element.point=t}))})),t._hasTracking||(t.trackerGroups.forEach((function(e){t[e]&&(t[e].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(e){a.onTrackerMouseOut(e)})),u&&t[e].on("touchstart",r),!n.styledMode&&t.options.cursor&&t[e].css(p).css({cursor:t.options.cursor}))})),t._hasTracking=!0),h(this,"afterDrawTracker")},t.prototype.remove=function(){var e=this,t=e.chart;t.hasRendered&&t.series.forEach((function(t){t.type===e.type&&(t.isDirty=!0)})),r.prototype.remove.apply(e,arguments)},t.defaultOptions=_(r.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"}),t}(r),b(o.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:a.drawRectangle,getSymbol:e,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("column",o),o})),t(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=e.getDeferredAnimation,i=t.format,o=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,u=n.merge,d=n.objectEach,p=n.pick,m=n.splat;return function(e){function t(e,t,n,a,r){var i=this,o=this.chart,l=this.isCartesian&&o.inverted,c=this.enabledDataSorting,u=p(e.dlBox&&e.dlBox.centerX,e.plotX,-9999),d=p(e.plotY,-9999),m=t.getBBox(),b=n.rotation,h=n.align,f=o.isInsidePlot(u,Math.round(d),{inverted:l,paneCoordinates:!0,series:i}),g=function(n){c&&i.xAxis&&!_&&i.setDataLabelStartPos(e,t,r,f,n)},_="justify"===p(n.overflow,c?"none":"justify"),y=this.visible&&!1!==e.visible&&(e.series.forceDL||c&&!_||f||p(n.inside,!!this.options.stacking)&&a&&o.isInsidePlot(u,l?a.x+1:a.y+a.height-1,{inverted:l,paneCoordinates:!0,series:i}));if(y){var M=o.renderer.fontMetrics(o.styledMode?void 0:n.style.fontSize,t).b;a=s({x:l?this.yAxis.len-d:u,y:Math.round(l?this.xAxis.len-u:d),width:0,height:0},a),s(n,{width:m.width,height:m.height}),b?(_=!1,u=o.renderer.rotCorr(M,b),g(u={x:a.x+(n.x||0)+a.width/2+u.x,y:a.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*a.height}),t[r?"attr":"animate"](u).attr({align:h}),g=180<(g=(b+720)%360)&&360>g,"left"===h?u.y-=g?m.height:0:"center"===h?(u.x-=m.width/2,u.y-=m.height/2):"right"===h&&(u.x-=m.width,u.y-=g?0:m.height),t.placed=!0,t.alignAttr=u):(g(a),t.align(n,void 0,a),u=t.alignAttr),_&&0<=a.height?this.justifyDataLabel(t,n,u,m,a,r):p(n.crop,!0)&&(y=o.isInsidePlot(u.x,u.y,{paneCoordinates:!0,series:i})&&o.isInsidePlot(u.x+m.width,u.y+m.height,{paneCoordinates:!0,series:i})),n.shape&&!b&&t[r?"attr":"animate"]({anchorX:l?o.plotWidth-e.plotY:e.plotX,anchorY:l?o.plotHeight-e.plotX:e.plotY})}r&&c&&(t.placed=!1),y||c&&!_||(t.hide(!0),t.placed=!1)}function n(){var e=this,t=e.chart,n=e.options,a=e.points,s=e.hasRendered||0,u=t.renderer,h=n.dataLabels,f=h.animation;if(f=h.defer?r(t,f,e):{defer:0,duration:0},h=b(b(t.options.plotOptions&&t.options.plotOptions.series&&t.options.plotOptions.series.dataLabels,t.options.plotOptions&&t.options.plotOptions[e.type]&&t.options.plotOptions[e.type].dataLabels),h),l(this,"drawDataLabels"),c(h)||h.enabled||e._hasPointLabels){var g=e.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",h.zIndex||6);g.attr({opacity:+s}),!s&&(s=e.dataLabelsGroup)&&(e.visible&&g.show(!0),s[n.animation?"animate":"attr"]({opacity:1},f)),a.forEach((function(a){m(b(h,a.dlOptions||a.options&&a.options.dataLabels)).forEach((function(r,s){var l=r.enabled&&(!a.isNull||a.dataLabelOnNull)&&function(e,t){var n=t.filter;return!n||(t=n.operator,e=e[n.property],n=n.value,">"===t&&e>n||"<"===t&&e<n||">="===t&&e>=n||"<="===t&&e<=n||"=="===t&&e==n||"==="===t&&e===n)}(a,r),c=a.connectors?a.connectors[s]:a.connector,m=a.dataLabels?a.dataLabels[s]:a.dataLabel,b=p(r.distance,a.labelDistance),h=!m;if(l){var f=a.getLabelConfig(),_=p(r[a.formatPrefix+"Format"],r.format);f=o(_)?i(_,f,t):(r[a.formatPrefix+"Formatter"]||r.formatter).call(f,r),_=r.style;var y=r.rotation;t.styledMode||(_.color=p(r.color,_.color,e.color,"#000000"),"contrast"===_.color?(a.contrastColor=u.getContrast(a.color||e.color),_.color=!o(b)&&r.inside||0>b||n.stacking?a.contrastColor:"#000000"):delete a.contrastColor,n.cursor&&(_.cursor=n.cursor));var M={r:r.borderRadius||0,rotation:y,padding:r.padding,zIndex:1};t.styledMode||(M.fill=r.backgroundColor,M.stroke=r.borderColor,M["stroke-width"]=r.borderWidth),d(M,(function(e,t){void 0===e&&delete M[t]}))}!m||l&&o(f)&&!!m.div==!!r.useHTML||(a.dataLabel=m=a.dataLabel&&a.dataLabel.destroy(),a.dataLabels&&(1===a.dataLabels.length?delete a.dataLabels:delete a.dataLabels[s]),s||delete a.dataLabel,c&&(a.connector=a.connector.destroy(),a.connectors&&(1===a.connectors.length?delete a.connectors:delete a.connectors[s]))),l&&o(f)&&(m?M.text=f:(a.dataLabels=a.dataLabels||[],m=a.dataLabels[s]=y?u.text(f,0,-9999,r.useHTML).addClass("highcharts-data-label"):u.label(f,0,-9999,r.shape,null,null,r.useHTML,null,"data-label"),s||(a.dataLabel=m),m.addClass(" highcharts-data-label-color-"+a.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),m.options=r,m.attr(M),t.styledMode||m.css(_).shadow(r.shadow),m.added||m.add(g),r.textPath&&!r.useHTML&&(m.setTextPath(a.getDataLabelPath&&a.getDataLabelPath(m)||a.graphic,r.textPath),a.dataLabelPath&&!r.textPath.enabled&&(a.dataLabelPath=a.dataLabelPath.destroy())),e.alignDataLabel(a,m,r,null,h))}))}))}l(this,"afterDrawDataLabels")}function a(e,t,n,a,r,i){var o=this.chart,s=t.align,l=t.verticalAlign,c=e.box?0:e.padding||0,u=t.x;u=void 0===u?0:u;var d=t.y;d=void 0===d?0:d;var p=(n.x||0)+c;if(0>p){"right"===s&&0<=u?(t.align="left",t.inside=!0):u-=p;var m=!0}return(p=(n.x||0)+a.width-c)>o.plotWidth&&("left"===s&&0>=u?(t.align="right",t.inside=!0):u+=o.plotWidth-p,m=!0),0>(p=n.y+c)&&("bottom"===l&&0<=d?(t.verticalAlign="top",t.inside=!0):d-=p,m=!0),(p=(n.y||0)+a.height-c)>o.plotHeight&&("top"===l&&0>=d?(t.verticalAlign="bottom",t.inside=!0):d+=o.plotHeight-p,m=!0),m&&(t.x=u,t.y=d,e.placed=!i,e.align(t,void 0,r)),m}function b(e,t){var n,a=[];if(c(e)&&!c(t))a=e.map((function(e){return u(e,t)}));else if(c(t)&&!c(e))a=t.map((function(t){return u(e,t)}));else if(c(e)||c(t))for(n=Math.max(e.length,t.length);n--;)a[n]=u(e[n],t[n]);else a=u(e,t);return a}function h(e,t,n,a,r){var i=this.chart,o=i.inverted,s=this.xAxis,l=s.reversed,c=o?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,t.startXPos=o?r.x:l?-c-e:s.width-c+e,t.startYPos=o?l?this.yAxis.height-c+e:-c-e:r.y,a?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),i.hasRendered&&(n&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}var f=[];e.compose=function(e){if(-1===f.indexOf(e)){var r=e.prototype;f.push(e),r.alignDataLabel=t,r.drawDataLabels=n,r.justifyDataLabel=a,r.setDataLabelStartPos=h}}}(a||(a={})),a})),t(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=t.series,i=n.merge,o=n.pick;return function(t){function n(e,t,n,a,s){var l=this.chart.inverted,c=e.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var d=e.dlBox||e.shapeArgs,p=o(e.below,e.plotY>o(this.translatedThreshold,c)),m=o(n.inside,!!this.options.stacking);d&&(0>(a=i(d)).y&&(a.height+=a.y,a.y=0),0<(d=a.y+a.height-c)&&d<a.height&&(a.height-=d),l&&(a={x:c-a.y-a.height,y:u-a.x-a.width,width:a.height,height:a.width}),m||(l?(a.x+=p?0:a.width,a.width=0):(a.y+=p?a.height:0,a.height=0))),n.align=o(n.align,!l||m?"center":p?"right":"left"),n.verticalAlign=o(n.verticalAlign,l||m?"middle":p?"top":"bottom"),r.prototype.alignDataLabel.call(this,e,t,n,a,s),n.inside&&e.contrastColor&&t.css({color:e.contrastColor})}var a=[];t.compose=function(t){e.compose(r),-1===a.indexOf(t)&&(a.push(t),t.prototype.alignDataLabel=n)}}(a||(a={})),a})),t(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=n.extend,i=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.defaultOptions=i(e.defaultOptions,{}),n}(e),r(n.prototype,{inverted:!0}),t.registerSeriesType("bar",n),n})),t(n,"Series/Scatter/ScatterSeries.js",[n["Series/Column/ColumnSeries.js"],n["Series/Line/LineSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=a.addEvent,o=a.extend,s=a.merge;return o((a=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.applyJitter=function(){var e=this,t=this.options.jitter,n=this.points.length;t&&this.points.forEach((function(a,r){["x","y"].forEach((function(i,o){var s="plot"+i.toUpperCase();if(t[i]&&!a.isNull){var l=e[i+"Axis"],c=t[i]*l.transA;if(l&&!l.isLog){var u=Math.max(0,a[s]-c);l=Math.min(l.len,a[s]+c),o=1e4*Math.sin(r+o*n),a[s]=u+(l-u)*(o-Math.floor(o)),"x"===i&&(a.clientX=a.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=s(t.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/>"}}),n}(t)).prototype,{drawTracker:e.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),i(a,"afterTranslate",(function(){this.applyJitter()})),n.registerSeriesType("scatter",a),a})),t(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=e.deg2rad,i=n.isNumber,o=n.pick,s=n.relativeLength;return function(e){e.getCenter=function(){var e=this.options,n=this.chart,a=2*(e.slicedOffset||0),r=n.plotWidth-2*a,i=n.plotHeight-2*a,l=e.center,c=Math.min(r,i),u=e.size,d=e.innerSize||0;for("string"==typeof u&&(u=parseFloat(u)),"string"==typeof d&&(d=parseFloat(d)),e=[o(l[0],"50%"),o(l[1],"50%"),o(u&&0>u?void 0:e.size,"100%"),o(d&&0>d?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t||(e[3]=0),l=0;4>l;++l)u=e[l],n=2>l||2===l&&/%$/.test(u),e[l]=s(u,[r,i,c,e[2]][l])+(n?a:0);return e[3]>e[2]&&(e[3]=e[2]),e},e.getStartAndEndRadians=function(e,t){return e=i(e)?e:0,t=i(t)&&t>e&&360>t-e?t:e+360,{start:r*(e+-90),end:r*(t+-90)}}}(a||(a={})),a})),t(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=e.setAnimation,i=n.addEvent,o=n.defined;e=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelDistance=void 0,t.options=void 0,t.series=void 0,t}return a(t,e),t.prototype.getConnectorPath=function(){var e=this.labelPosition,t=this.series.options.dataLabels,n=this.connectorShapes,a=t.connectorShape;return n[a]&&(a=n[a]),a.call(this,{x:e.final.x,y:e.final.y,alignment:e.alignment},e.connectorPosition,t)},t.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},t.prototype.haloPath=function(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end})},t.prototype.init=function(){var t=this;e.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(e){t.slice("select"===e.type)};return i(this,"select",n),i(this,"unselect",n),this},t.prototype.isValid=function(){return s(this.y)&&0<=this.y},t.prototype.setVisible=function(e,t){var n=this,a=this.series,r=a.chart,i=a.options.ignoreHiddenPoint;t=l(t,i),e!==this.visible&&(this.visible=this.options.visible=e=void 0===e?!this.visible:e,a.options.data[a.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(t){n[t]&&n[t][e?"show":"hide"](e)})),this.legendItem&&r.legend.colorizeItem(this,e),e||"hover"!==this.state||this.setState(""),i&&(a.isDirty=!0),t&&r.redraw())},t.prototype.slice=function(e,t,n){var a=this.series;r(n,a.chart),l(t,!0),this.sliced=this.options.sliced=o(e)?e:!this.sliced,a.options.data[a.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},t}(t),e(t.prototype,{connectorShapes:{fixedOffset:function(e,t,n){var a=t.breakAt;return t=t.touchingSliceAt,[["M",e.x,e.y],n.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*a.x-t.x,2*a.y-t.y,a.x,a.y]:["L",a.x,a.y],["L",t.x,t.y]]},straight:function(e,t){return t=t.touchingSliceAt,[["M",e.x,e.y],["L",t.x,t.y]]},crookedLine:function(e,t,n){t=t.touchingSliceAt;var a=this.series,r=a.center[0],i=a.chart.plotWidth,o=a.chart.plotLeft;a=e.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",i="left"===a?r+s+(i+o-r-s)*(1-n):o+(r-s)*n,e.y],r=!0,("left"===a?i>e.x||i<t.x:i<e.x||i>t.x)&&(r=!1),e=[["M",e.x,e.y]],r&&e.push(n),e.push(["L",t.x,t.y]),e}}}),t})),t(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l){var c=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),u=e.getStartAndEndRadians;n=n.noop;var d=l.clamp,p=l.extend,m=l.fireEvent,b=l.merge,h=l.pick,f=l.relativeLength;return l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return c(t,e),t.prototype.animate=function(e){var t=this,n=t.points,a=t.startAngleRad;e||n.forEach((function(e){var n=e.graphic,r=e.shapeArgs;n&&r&&(n.attr({r:h(e.startR,t.center&&t.center[3]/2),start:a,end:a}),n.animate({r:r.r,start:r.start,end:r.end},t.options.animation))}))},t.prototype.drawEmpty=function(){var e=this.startAngleRad,t=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var a=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(a,r,this.center[1]/2,0,e,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(a,r,this.center[2]/2,0,{start:e,end:t,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},t.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach((function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)}))},t.prototype.generatePoints=function(){e.prototype.generatePoints.call(this),this.updateTotals()},t.prototype.getX=function(e,t,n){var a=this.center,r=this.radii?this.radii[n.index]||0:a[2]/2;return e=Math.asin(d((e-a[1])/(r+n.labelDistance),-1,1)),a[0]+(t?-1:1)*Math.cos(e)*(r+n.labelDistance)+(0<n.labelDistance?(t?-1:1)*this.options.dataLabels.padding:0)},t.prototype.hasData=function(){return!!this.processedXData.length},t.prototype.redrawPoints=function(){var e,t,n,a,r=this,i=r.chart,o=i.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||i.styledMode||(r.shadowGroup=o.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach((function(l){var c={};if(t=l.graphic,!l.isNull&&t){var u=void 0;a=l.shapeArgs,e=l.getTranslate(),i.styledMode||(u=l.shadowGroup,s&&!u&&(u=l.shadowGroup=o.g("shadow").add(r.shadowGroup)),u&&u.attr(e),n=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(t.setRadialReference(r.center).attr(a).attr(e),i.styledMode||t.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,u),l.delayedRendering=!1):(t.setRadialReference(r.center),i.styledMode||b(!0,c,n),b(!0,c,a,e),t.animate(c)),t.attr({visibility:l.visible?"inherit":"hidden"}),t.addClass(l.getClassName(),!0)}else t&&(l.graphic=t.destroy())}))},t.prototype.sortByAngle=function(e,t){e.sort((function(e,n){return void 0!==e.angle&&(n.angle-e.angle)*t}))},t.prototype.translate=function(e){this.generatePoints();var t=this.options,n=t.slicedOffset,a=n+(t.borderWidth||0),r=u(t.startAngle,t.endAngle),i=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-i;var o=this.points,s=t.dataLabels.distance;t=t.ignoreHiddenPoint;var l,c=o.length,d=0;for(e||(this.center=e=this.getCenter()),l=0;l<c;l++){var p=o[l],b=i+d*r;!p.isValid()||t&&!p.visible||(d+=p.percentage/100);var g=i+d*r,_={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:Math.round(1e3*b)/1e3,end:Math.round(1e3*g)/1e3};p.shapeType="arc",p.shapeArgs=_,p.labelDistance=h(p.options.dataLabels&&p.options.dataLabels.distance,s),p.labelDistance=f(p.labelDistance,_.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(g=(g+b)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},_=Math.cos(g)*e[2]/2;var y=Math.sin(g)*e[2]/2;p.tooltipPos=[e[0]+.7*_,e[1]+.7*y],p.half=g<-Math.PI/2||g>Math.PI/2?1:0,p.angle=g,b=Math.min(a,p.labelDistance/5),p.labelPosition={natural:{x:e[0]+_+Math.cos(g)*p.labelDistance,y:e[1]+y+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+_+Math.cos(g)*b,y:e[1]+y+Math.sin(g)*b},touchingSliceAt:{x:e[0]+_,y:e[1]+y}}}}m(this,"afterTranslate")},t.prototype.updateTotals=function(){var e,t=this.points,n=t.length,a=this.options.ignoreHiddenPoint,r=0;for(e=0;e<n;e++){var i=t[e];!i.isValid()||a&&!i.visible||(r+=i.y)}for(this.total=r,e=0;e<n;e++)(i=t[e]).percentage=0<r&&(i.visible||!a)?i.y/r*100:0,i.total=r},t.defaultOptions=b(i.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}}}),t}(i),p(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:a.drawRectangle,drawTracker:t.prototype.drawTracker,getCenter:e.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:t.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("pie",l),l})),t(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i,o=t.noop,s=n.distribute,l=a.series,c=r.arrayMax,u=r.clamp,d=r.defined,p=r.merge,m=r.pick,b=r.relativeLength;return function(t){function n(){var e,t,n,a,r,i,o,u,b,h,f,g,_=this,y=_.data,M=_.chart,v=_.options.dataLabels||{},z=v.connectorPadding,O=M.plotWidth,k=M.plotHeight,A=M.plotLeft,x=Math.round(M.chartWidth/3),w=_.center,N=w[2]/2,q=w[1],E=[[],[]],j=[0,0,0,0],W=_.dataLabelPositioners;_.visible&&(v.enabled||_._hasPointLabels)&&(y.forEach((function(e){e.dataLabel&&e.visible&&e.dataLabel.shortened&&(e.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),e.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(_),y.forEach((function(e){e.dataLabel&&(e.visible?(E[e.half].push(e),e.dataLabel._pos=null,!d(v.style.width)&&!d(e.options.dataLabels&&e.options.dataLabels.style&&e.options.dataLabels.style.width)&&e.dataLabel.getBBox().width>x&&(e.dataLabel.css({width:Math.round(.7*x)+"px"}),e.dataLabel.shortened=!0)):(e.dataLabel=e.dataLabel.destroy(),e.dataLabels&&1===e.dataLabels.length&&delete e.dataLabels))})),E.forEach((function(t,n){var l,c=t.length,p=[];if(c){if(_.sortByAngle(t,n-.5),0<_.maxLabelDistance){var y=Math.max(0,q-N-_.maxLabelDistance),x=Math.min(q+N+_.maxLabelDistance,M.plotHeight);t.forEach((function(e){0<e.labelDistance&&e.dataLabel&&(e.top=Math.max(0,q-N-e.labelDistance),e.bottom=Math.min(q+N+e.labelDistance,M.plotHeight),l=e.dataLabel.getBBox().height||21,e.distributeBox={target:e.labelPosition.natural.y-e.top+l/2,size:l,rank:e.y},p.push(e.distributeBox))})),s(p,y=x+l-y,y/5)}for(f=0;f<c;f++){if(e=t[f],i=e.labelPosition,a=e.dataLabel,h=!1===e.visible?"hidden":"inherit",b=y=i.natural.y,p&&d(e.distributeBox)&&(void 0===e.distributeBox.pos?h="hidden":(o=e.distributeBox.size,b=W.radialDistributionY(e))),delete e.positionIndex,v.justify)u=W.justify(e,N,w);else switch(v.alignTo){case"connectors":u=W.alignToConnectors(t,n,O,A);break;case"plotEdges":u=W.alignToPlotEdges(a,n,O,A);break;default:u=W.radialDistributionX(_,e,b,y)}a._attr={visibility:h,align:i.alignment},g=e.options.dataLabels||{},a._pos={x:u+m(g.x,v.x)+({left:z,right:-z}[i.alignment]||0),y:b+m(g.y,v.y)-10},i.final.x=u,i.final.y=b,m(v.crop,!0)&&(r=a.getBBox().width,y=null,u-r<z&&1===n?(y=Math.round(r-u+z),j[3]=Math.max(y,j[3])):u+r>O-z&&0===n&&(y=Math.round(u+r-O+z),j[1]=Math.max(y,j[1])),0>b-o/2?j[0]=Math.max(Math.round(o/2-b),j[0]):b+o/2>k&&(j[2]=Math.max(Math.round(b+o/2-k),j[2])),a.sideOverflow=y)}}})),0===c(j)||this.verifyDataLabelOverflow(j))&&(this.placeDataLabels(),this.points.forEach((function(e){var r;(g=p(v,e.options.dataLabels),t=m(g.connectorWidth,1))&&(n=e.connector,(a=e.dataLabel)&&a._pos&&e.visible&&0<e.labelDistance?(h=a._attr.visibility,(r=!n)&&(e.connector=n=M.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(_.dataLabelsGroup),M.styledMode||n.attr({"stroke-width":t,stroke:g.connectorColor||e.color||"#666666"})),n[r?"attr":"animate"]({d:e.getConnectorPath()}),n.attr("visibility",h)):n&&(e.connector=n.destroy()))})))}function a(){this.points.forEach((function(e){var t,n=e.dataLabel;n&&e.visible&&((t=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](t),n.moved=!0):n&&n.attr({y:-9999})),delete e.distributeBox}),this)}function r(e){var t=this.center,n=this.options,a=n.center,r=n.minSize||80,i=null!==n.size;if(!i){if(null!==a[0])var o=Math.max(t[2]-Math.max(e[1],e[3]),r);else o=Math.max(t[2]-e[1]-e[3],r),t[0]+=(e[3]-e[1])/2;null!==a[1]?o=u(o,r,t[2]-Math.max(e[0],e[2])):(o=u(o,r,t[2]-e[0]-e[2]),t[1]+=(e[0]-e[2])/2),o<t[2]?(t[2]=o,t[3]=Math.min(b(n.innerSize||0,o),o),this.translate(t),this.drawDataLabels&&this.drawDataLabels()):i=!0}return i}var i=[],h={radialDistributionY:function(e){return e.top+e.distributeBox.pos},radialDistributionX:function(e,t,n,a){return e.getX(n<t.top+2||n>t.bottom-2?a:n,t.half,t)},justify:function(e,t,n){return n[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,n,a){return e=e.getBBox().width,t?e+a:n-e-a},alignToConnectors:function(e,t,n,a){var r,i=0;return e.forEach((function(e){(r=e.dataLabel.getBBox().width)>i&&(i=r)})),t?i+a:n-i-a}};t.compose=function(t){e.compose(l),-1===i.indexOf(t)&&(i.push(t),(t=t.prototype).dataLabelPositioners=h,t.alignDataLabel=o,t.drawDataLabels=n,t.placeDataLabels=a,t.verifyDataLabelOverflow=r)}}(i||(i={})),i})),t(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(e,t){function n(e,t){var n=!1;if(e){var a=e.newOpacity;e.oldOpacity!==a&&(e.alignAttr&&e.placed?(e[a?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,e.alignAttr.opacity=a,e[e.isOld?"animate":"attr"](e.alignAttr,null,(function(){t.styledMode||e.css({pointerEvents:a?"auto":"none"})})),r(t,"afterHideOverlappingLabel")):e.attr({opacity:a})),e.isOld=!0}return n}var a=t.addEvent,r=t.fireEvent,i=t.isArray,o=t.isNumber,s=t.objectEach,l=t.pick;a(e,"render",(function(){var e=this,t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&s(e.stacking.stacks,(function(e){s(e,(function(e){e.label&&"hidden"!==e.label.visibility&&t.push(e.label)}))}))})),(this.series||[]).forEach((function(a){var r=a.options.dataLabels;a.visible&&(!1!==r.enabled||a._hasPointLabels)&&((r=function(a){return a.forEach((function(a){a.visible&&(i(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[]).forEach((function(r){var i=r.options;r.labelrank=l(i.labelrank,a.labelrank,a.shapeArgs&&a.shapeArgs.height),i.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,e)):t.push(r)}))}))})(a.nodes||[]),r(a.points))})),this.hideOverlappingLabels(t)})),e.prototype.hideOverlappingLabels=function(e){var t,a,i,s=this,l=e.length,c=s.renderer,u=!1,d=function(e){var t,n,a=e.box?0:e.padding||0,r=t=0;if(e&&(!e.alignAttr||e.placed)){var i=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},s=e.parentGroup;e.width||(t=e.getBBox(),e.width=t.width,e.height=t.height,t=c.fontMetrics(null,e.element).h);var l=e.width-2*a;return(n={left:"0",center:"0.5",right:"1"}[e.alignValue])?r=+n*l:o(e.x)&&Math.round(e.x)!==e.translateX&&(r=e.x-e.translateX),{x:i.x+(s.translateX||0)+a-(r||0),y:i.y+(s.translateY||0)+a-t,width:e.width-2*a,height:e.height-2*a}}};for(a=0;a<l;a++)(t=e[a])&&(t.oldOpacity=t.opacity,t.newOpacity=1,t.absoluteBox=d(t));for(e.sort((function(e,t){return(t.labelrank||0)-(e.labelrank||0)})),a=0;a<l;a++){var p=(d=e[a])&&d.absoluteBox;for(t=a+1;t<l;++t){var m=(i=e[t])&&i.absoluteBox;!p||!m||d===i||0===d.newOpacity||0===i.newOpacity||m.x>=p.x+p.width||m.x+m.width<=p.x||m.y>=p.y+p.height||m.y+m.height<=p.y||((d.labelrank<i.labelrank?d:i).newOpacity=0)}}e.forEach((function(e){n(e,s)&&(u=!0)})),u&&r(s,"afterHideAllOverlappingLabels")}})),t(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.extend,a=e.find,r=e.isArray,i=e.isObject,o=e.merge,s=e.objectEach,l=e.pick,c=e.splat,u=e.uniqueKey;return function(e){var t=[];e.compose=function(e){return-1===t.indexOf(e)&&(t.push(e),n(e.prototype,d.prototype)),e};var d=function(){function e(){}return e.prototype.currentOptions=function(e){var t=this,n={};return function e(n,a,o,l){var u;s(n,(function(n,s){if(!l&&-1<t.collectionsWithUpdate.indexOf(s)&&a[s])for(n=c(n),o[s]=[],u=0;u<Math.max(n.length,a[s].length);u++)a[s][u]&&(void 0===n[u]?o[s][u]=a[s][u]:(o[s][u]={},e(n[u],a[s][u],o[s][u],l+1)));else i(n)?(o[s]=r(n)?[]:{},e(n,a[s]||{},o[s],l+1)):o[s]=void 0===a[s]?null:a[s]}))}(e,this.options,n,0),n},e.prototype.matchResponsiveRule=function(e,t){var n=e.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&t.push(e._id)},e.prototype.setResponsive=function(e,t){var n=this,r=this.options.responsive,i=this.currentResponsive,s=[];!t&&r&&r.rules&&r.rules.forEach((function(e){void 0===e._id&&(e._id=u()),n.matchResponsiveRule(e,s)}),this),(t=o.apply(void 0,s.map((function(e){return a((r||{}).rules||[],(function(t){return t._id===e}))})).map((function(e){return e&&e.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(i&&i.ruleIds)&&(i&&this.update(i.undoOptions,e,!0),s?((i=this.currentOptions(t)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:t,undoOptions:i},this.update(t,e,!0)):this.currentResponsive=void 0)},e}()}(t||(t={})),t})),t(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(e,t,n,a,r,i,o,s,l,c,u,d,p,m,b,h,f,g,_,y,M,v,z,O,k,A,x,w,N,q,E,j,W){return e.animate=r.animate,e.animObject=r.animObject,e.getDeferredAnimation=r.getDeferredAnimation,e.setAnimation=r.setAnimation,e.stop=r.stop,e.timers=a.timers,e.AST=i,e.Axis=p,e.Chart=z,e.chart=z.chart,e.Fx=a,e.Legend=v,e.PlotLineOrBand=h,e.Point=_,e.Pointer=M.isRequired()?M:y,e.Series=O,e.SVGElement=l,e.SVGRenderer=c,e.Tick=f,e.Time=W,e.Tooltip=g,e.Color=j,e.color=j.parse,d.compose(c),u.compose(l),e.defaultOptions=n.defaultOptions,e.getOptions=n.getOptions,e.time=n.defaultTime,e.setOptions=n.setOptions,e.dateFormat=o.dateFormat,e.format=o.format,e.numberFormat=o.numberFormat,e.addEvent=t.addEvent,e.arrayMax=t.arrayMax,e.arrayMin=t.arrayMin,e.attr=t.attr,e.clearTimeout=t.clearTimeout,e.correctFloat=t.correctFloat,e.createElement=t.createElement,e.css=t.css,e.defined=t.defined,e.destroyObjectProperties=t.destroyObjectProperties,e.discardElement=t.discardElement,e.distribute=s.distribute,e.erase=t.erase,e.error=t.error,e.extend=t.extend,e.extendClass=t.extendClass,e.find=t.find,e.fireEvent=t.fireEvent,e.getMagnitude=t.getMagnitude,e.getStyle=t.getStyle,e.inArray=t.inArray,e.isArray=t.isArray,e.isClass=t.isClass,e.isDOMElement=t.isDOMElement,e.isFunction=t.isFunction,e.isNumber=t.isNumber,e.isObject=t.isObject,e.isString=t.isString,e.keys=t.keys,e.merge=t.merge,e.normalizeTickInterval=t.normalizeTickInterval,e.objectEach=t.objectEach,e.offset=t.offset,e.pad=t.pad,e.pick=t.pick,e.pInt=t.pInt,e.relativeLength=t.relativeLength,e.removeEvent=t.removeEvent,e.seriesType=k.seriesType,e.splat=t.splat,e.stableSort=t.stableSort,e.syncTimeout=t.syncTimeout,e.timeUnits=t.timeUnits,e.uniqueKey=t.uniqueKey,e.useSerialIds=t.useSerialIds,e.wrap=t.wrap,x.compose(A),q.compose(O),m.compose(p),b.compose(p),N.compose(w),h.compose(p),E.compose(z),e})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return B})),n.d(t,"c",(function(){return ae})),n.d(t,"d",(function(){return J})),n.d(t,"e",(function(){return K})),n.d(t,"f",(function(){return ie})),n.d(t,"g",(function(){return Z})),n.d(t,"h",(function(){return re})),n.d(t,"i",(function(){return oe})),n.d(t,"j",(function(){return F})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return N})),n.d(t,"m",(function(){return ee})),n.d(t,"n",(function(){return x})),n.d(t,"o",(function(){return S})),n.d(t,"p",(function(){return le})),n.d(t,"q",(function(){return ce})),n.d(t,"r",(function(){return ue})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return fe})),n.d(t,"u",(function(){return ge})),n.d(t,"v",(function(){return _e})),n.d(t,"w",(function(){return I})),n.d(t,"x",(function(){return Me})),n.d(t,"y",(function(){return P})),n.d(t,"z",(function(){return ye}));var a=n(56),r=n(21),i=n(44),o=n(34),s=n(35),l=n(36),c=n(37),u=n(38),d=n(4),p=n(6),m=n(0),b=n(20),h=n(28),f=n(14),g=n.n(f),_=n(49),y=n(29),M=n(61),v=n(97),z=n(98),O=n.n(z);function k(e){var t=e.maxHeight,n=e.menuEl,a=e.minHeight,r=e.placement,i=e.shouldScroll,o=e.isFixedPosition,s=e.theme.spacing,l=Object(y.a)(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=l.getBoundingClientRect().height,d=n.getBoundingClientRect(),p=d.bottom,m=d.height,b=d.top,h=n.offsetParent.getBoundingClientRect().top,f=window.innerHeight,g=Object(y.b)(l),_=parseInt(getComputedStyle(n).marginBottom,10),M=parseInt(getComputedStyle(n).marginTop,10),v=h-M,z=f-b,O=v+g,k=u-g-b,A=p-f+g+_,x=g+b-M;switch(r){case"auto":case"bottom":if(z>=m)return{placement:"bottom",maxHeight:t};if(k>=m&&!o)return i&&Object(y.c)(l,A,160),{placement:"bottom",maxHeight:t};if(!o&&k>=a||o&&z>=a)return i&&Object(y.c)(l,A,160),{placement:"bottom",maxHeight:o?z-_:k-_};if("auto"===r||o){var w=t,N=o?v:O;return N>=a&&(w=Math.min(N-_-s.controlHeight,t)),{placement:"top",maxHeight:w}}if("bottom"===r)return Object(y.m)(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(v>=m)return{placement:"top",maxHeight:t};if(O>=m&&!o)return i&&Object(y.c)(l,x,160),{placement:"top",maxHeight:t};if(!o&&O>=a||o&&v>=a){var q=t;return(!o&&O>=a||o&&v>=a)&&(q=o?v-M:O-M),i&&Object(y.c)(l,x,160),{placement:"top",maxHeight:q}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var A=function(e){return"auto"===e?"bottom":e},x=function(e){var t,n=e.placement,a=e.theme,r=a.borderRadius,i=a.spacing,o=a.colors;return t={label:"menu"},Object(p.a)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),Object(p.a)(t,"backgroundColor",o.neutral0),Object(p.a)(t,"borderRadius",r),Object(p.a)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Object(p.a)(t,"marginBottom",i.menuGutter),Object(p.a)(t,"marginTop",i.menuGutter),Object(p.a)(t,"position","absolute"),Object(p.a)(t,"width","100%"),Object(p.a)(t,"zIndex",1),t},w=function(e){function t(){var e,n;Object(o.a)(this,t);for(var a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];return n=Object(l.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r))),Object(p.a)(Object(d.a)(Object(d.a)(n)),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),Object(p.a)(Object(d.a)(Object(d.a)(n)),"getPlacement",(function(e){var t=n.props,a=t.minMenuHeight,r=t.maxMenuHeight,i=t.menuPlacement,o=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,c=n.context.getPortalPlacement;if(e){var u="fixed"===o,d=k({maxHeight:r,menuEl:e,minHeight:a,placement:i,shouldScroll:s&&!u,isFixedPosition:u,theme:l});c&&c(d),n.setState(d)}})),Object(p.a)(Object(d.a)(Object(d.a)(n)),"getUpdatedProps",(function(){var e=n.props.menuPlacement,t=n.state.placement||A(e);return Object(i.a)({},n.props,{placement:t,maxHeight:n.state.maxHeight})})),n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(m.Component);Object(p.a)(w,"contextTypes",{getPortalPlacement:g.a.func});var N=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},q=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},E=q,j=q,W=function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},o),t)};W.defaultProps={children:"No options"};var L=function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},o),t)};L.defaultProps={children:"Loading..."};var S=function(e){var t=e.rect,n=e.offset,a=e.position;return{left:t.left,position:a,top:n,width:t.width,zIndex:1}},T=function(e){function t(){var e,n;Object(o.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(l.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r))),Object(p.a)(Object(d.a)(Object(d.a)(n)),"state",{placement:null}),Object(p.a)(Object(d.a)(Object(d.a)(n)),"getPortalPlacement",(function(e){var t=e.placement;t!==A(n.props.menuPlacement)&&n.setState({placement:t})})),n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,a=e.controlElement,r=e.menuPlacement,i=e.menuPosition,o=e.getStyles,s="fixed"===i;if(!t&&!s||!a)return null;var l=this.state.placement||A(r),c=Object(y.g)(a),u=s?0:window.pageYOffset,d={offset:c[l]+u,position:i,rect:c},p=Object(b.c)("div",{css:o("menuPortal",d)},n);return t?Object(h.createPortal)(p,t):p}}]),t}(m.Component);Object(p.a)(T,"childContextTypes",{getPortalPlacement:g.a.func});var C=Array.isArray,R=Object.keys,D=Object.prototype.hasOwnProperty;function P(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==Object(_.a)(t)&&"object"==Object(_.a)(n)){var a,r,i,o=C(t),s=C(n);if(o&&s){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(o!=s)return!1;var l=t instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,d=n instanceof RegExp;if(u!=d)return!1;if(u&&d)return t.toString()==n.toString();var p=R(t);if((r=p.length)!==R(n).length)return!1;for(a=r;0!=a--;)if(!D.call(n,p[a]))return!1;for(a=r;0!=a--;)if(!("_owner"===(i=p[a])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}var B=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},I=function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},$=function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,a=e.cx,r=e.isMulti,i=e.getStyles,o=e.hasValue;return Object(b.c)("div",{css:i("valueContainer",this.props),className:a({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o},n)},t)}}]),t}(m.Component),F=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};function X(){var e=Object(v.a)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return X=function(){return e},e}var Y={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},H=function(e){var t=e.size,n=Object(a.a)(e,["size"]);return Object(b.c)("svg",Object(r.a)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Y},n))},U=function(e){return Object(b.c)(H,Object(r.a)({size:20},e),Object(b.c)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},V=function(e){return Object(b.c)(H,Object(r.a)({size:20},e),Object(b.c)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},G=function(e){var t=e.isFocused,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*a,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},K=G,J=G,Z=function(e){var t=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*a,marginTop:2*a,width:1}},Q=Object(b.d)(X()),ee=function(e){var t=e.isFocused,n=e.size,a=e.theme,r=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},te=function(e){var t=e.delay,n=e.offset;return Object(b.c)("span",{css:Object(M.a)({animation:"".concat(Q," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},ne=function(e){var t=e.className,n=e.cx,a=e.getStyles,i=e.innerProps,o=e.isRtl;return Object(b.c)("div",Object(r.a)({},i,{css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),Object(b.c)(te,{delay:0,offset:o}),Object(b.c)(te,{delay:160,offset:!0}),Object(b.c)(te,{delay:320,offset:!o}))};ne.defaultProps={size:4};var ae=function(e){var t=e.isDisabled,n=e.isFocused,a=e.theme,r=a.colors,i=a.borderRadius,o=a.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(r.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},re=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},ie=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},oe=function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:r.neutral80}},se=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},le=function(e){var t=e.theme,n=t.spacing,a=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},ce=function(e){var t=e.theme,n=t.borderRadius,a=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},ue=function(e){var t=e.theme,n=t.spacing,a=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:a/2,backgroundColor:e.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},de=function(e){var t=e.children,n=e.innerProps;return Object(b.c)("div",n,t)},pe=de,me=de,be=function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.innerProps;return Object(b.c)("div",n,t||Object(b.c)(U,{size:14}))}}]),t}(m.Component),he=function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.children,a=t.className,r=t.components,o=t.cx,s=t.data,l=t.getStyles,c=t.innerProps,u=t.isDisabled,d=t.removeProps,p=t.selectProps,m=r.Container,h=r.Label,f=r.Remove;return Object(b.c)(b.b,null,(function(t){var r=t.css,g=t.cx;return Object(b.c)(m,{data:s,innerProps:Object(i.a)({},c,{className:g(r(l("multiValue",e.props)),o({"multi-value":!0,"multi-value--is-disabled":u},a))}),selectProps:p},Object(b.c)(h,{data:s,innerProps:{className:g(r(l("multiValueLabel",e.props)),o({"multi-value__label":!0},a))},selectProps:p},n),Object(b.c)(f,{data:s,innerProps:Object(i.a)({className:g(r(l("multiValueRemove",e.props)),o({"multi-value__remove":!0},a))},d),selectProps:p}))}))}}]),t}(m.Component);Object(p.a)(he,"defaultProps",{cropWithEllipsis:!0});var fe=function(e){var t=e.isDisabled,n=e.isFocused,a=e.isSelected,r=e.theme,i=r.spacing,o=r.colors;return{label:"option",backgroundColor:a?o.primary:n?o.primary25:"transparent",color:t?o.neutral20:a?o.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(a?o.primary:o.primary50)}}},ge=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},_e=function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"calc(100% - ".concat(2*a.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},ye={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({},o,{css:i("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)}),t||Object(b.c)(U,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,i=e.className,o=e.isDisabled,s=e.isFocused,l=e.innerRef,c=e.innerProps,u=e.menuIsOpen;return Object(b.c)("div",Object(r.a)({ref:l,css:a("control",e),className:n({control:!0,"control--is-disabled":o,"control--is-focused":s,"control--menu-is-open":u},i)},c),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({},o,{css:i("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)}),t||Object(b.c)(V,null))},DownChevron:V,CrossIcon:U,Group:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.Heading,s=e.headingProps,l=e.label,c=e.theme,u=e.selectProps;return Object(b.c)("div",{css:i("group",e),className:a({group:!0},n)},Object(b.c)(o,Object(r.a)({},s,{selectProps:u,theme:c,getStyles:i,cx:a}),l),Object(b.c)("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,o=e.getStyles,s=e.theme,l=(e.selectProps,Object(a.a)(e,["className","cx","getStyles","theme","selectProps"]));return Object(b.c)("div",Object(r.a)({css:o("groupHeading",Object(i.a)({theme:s},l)),className:n({"group-heading":!0},t)},l))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles;return Object(b.c)("div",{css:r("indicatorsContainer",e),className:a({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,i=e.innerProps;return Object(b.c)("span",Object(r.a)({},i,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,o=e.getStyles,s=e.innerRef,l=e.isHidden,c=e.isDisabled,u=e.theme,d=(e.selectProps,Object(a.a)(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return Object(b.c)("div",{css:o("input",Object(i.a)({theme:u},d))},Object(b.c)(O.a,Object(r.a)({className:n({input:!0},t),inputRef:s,inputStyle:se(l),disabled:c},d)))},LoadingIndicator:ne,Menu:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerRef,s=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("menu",e),className:a({menu:!0},n)},s,{ref:o}),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isMulti,o=e.innerRef;return Object(b.c)("div",{css:r("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":i},n),ref:o},t)},MenuPortal:T,LoadingMessage:L,NoOptionsMessage:W,MultiValue:he,MultiValueContainer:pe,MultiValueLabel:me,MultiValueRemove:be,Option:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.isDisabled,s=e.isFocused,l=e.isSelected,c=e.innerRef,u=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("option",e),className:a({option:!0,"option--is-disabled":o,"option--is-focused":s,"option--is-selected":l},n),ref:c},u),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("placeholder",e),className:a({placeholder:!0},n)},o),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps,s=e.isDisabled,l=e.isRtl;return Object(b.c)("div",Object(r.a)({css:i("container",e),className:a({"--is-disabled":s,"--is-rtl":l},n)},o),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.isDisabled,s=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":o},n)},s),t)},ValueContainer:$},Me=function(e){return Object(i.a)({},ye,e.components)}},function(e,n){e.exports=t},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return g})),n.d(t,"j",(function(){return o})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return r})),n.d(t,"m",(function(){return d}));var a=n(49),r=function(){};function i(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function o(e,t,n){var a=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&a.push("".concat(i(e,r)));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var s=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===Object(a.a)(e)&&null!==e?[e]:[]};function l(e,t,n){if(n){var a=n(e,t);if("string"==typeof a)return a}return e}function c(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function u(e){return c(e)?window.pageYOffset:e.scrollTop}function d(e,t){c(e)?window.scrollTo(0,t):e.scrollTop=t}function p(e){var t=getComputedStyle(e),n="absolute"===t.position,a=/(auto|scroll)/,r=document.documentElement;if("fixed"===t.position)return r;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&a.test(t.overflow+t.overflowY+t.overflowX))return i;return r}function m(e,t,n,a){return n*((e=e/a-1)*e*e+1)+t}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r,i=u(e),o=t-i,s=10,l=0;function c(){var t=m(l+=s,i,o,n);d(e,t),l<n?window.requestAnimationFrame(c):a(e)}c()}function h(e,t){var n=e.getBoundingClientRect(),a=t.getBoundingClientRect(),r=t.offsetHeight/3;a.bottom+r>n.bottom?d(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r<n.top&&d(e,Math.max(t.offsetTop-r,0))}function f(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function g(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function _(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(53),l=n(2),c=n(5),u=n(17);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,d=e.className,p=e.dark,m=void 0!==p&&p,b=e.data,h=void 0===b?{}:b,f=e.text,g=e.timestamp,_=e.timezone,y=e.showDate,M=void 0===y||y,v=e.showUser,z=void 0!==v&&v,O=e.hideUpdated,k=void 0!==O&&O,A=e.showTimezone,x=void 0!==A&&A,w=e.variant,N=void 0===w?"default":w,q=Object(l.a)(i),E=Object(l.c)(h),j=o()(Object(l.b)("pb_timestamp_kit",n,{dark:m,variant:N}),Object(c.c)(e),d),W=(new Date).getFullYear().toString(),L=new s.a({value:g,zone:_}),S="".concat(L.toMonth()," ").concat(L.toDay()),T=1==z&&f.length>0,C=1==x&&_.length>0,R=k?"":"Last updated",D=T?" by ".concat(f):"",P="".concat(L.toHour(),":").concat(L.toMinute()).concat(L.toMeridian()),B=function(){return C&&(P="".concat(P," ").concat(L.toTimezone())),P};return r.a.createElement("div",Object.assign({},q,E,{className:j}),r.a.createElement("div",{className:"pb_timestamp_kit"},r.a.createElement(u.a,{dark:m,size:"xs",text:function(){switch(N){case"updated":return"Last updated ".concat(D," on ").concat(S," at ").concat(P);case"elapsed":return"".concat(R," ").concat(D," ").concat(L.value.fromNow());default:return M?g?(e="".concat(L.toMonth()," ").concat(L.toDay()),L.toYear()!==W&&(e="".concat(e,", ").concat(L.toYear())),"".concat(e," "," · "," ").concat(B())):f:B()}var e}()})))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=function(e){var t,n=e.aria,a=void 0===n?{}:n,i=e.children,c=e.className,u=e.collapse,d=void 0===u?"md":u,p=e.dark,m=void 0!==p&&p,b=e.data,h=void 0===b?{}:b,f=e.full,g=void 0!==f&&f,_=e.position,y=void 0===_?"left":_,M=e.responsive,v=void 0!==M&&M,z=e.size,O=void 0===z?"md":z,k=e.layout,A=void 0===k?"sidebar":k,x=e.variant,w=void 0===x?"light":x,N=e.transparent,q=void 0!==N&&N,E=v?"_responsive":"",j=Object(s.a)(a),W=Object(s.c)(h),L="collection"==A?"pb_layout_kit_".concat(A):"kanban"==A?"pb_layout_kit_".concat(A).concat(E):Object(s.b)("pb_layout_kit_".concat(A),"size_".concat(O),y,w,{dark:m,transparent:q,full:g}),S="collection"==A||"kanban"==A?"":Object(s.b)("layout",y,"collapse",d),T=r.a.Children.toArray(i),C=T.filter((function(e){var t;return"Side"!==(null===(t=e.type)||void 0===t?void 0:t.displayName)})),R=Object.assign({},e);return null==R||delete R.position,r.a.createElement("div",Object.assign({},j,W,{className:o()(L,S,c,Object(l.c)(R))}),(t="Side",T.filter((function(e){var n;return(null===(n=e.type)||void 0===n?void 0:n.displayName)===t})).map((function(e,n){return r.a.cloneElement(e,{key:"".concat(t.toLowerCase(),"-").concat(n)})}))),C)};c.Side=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_sidebar",Object(l.c)(e),n)},t)},c.Body=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_body",Object(l.c)(e),n)},t)},c.Item=function(e){var t=e.children,n=e.className,a=e.size,i="size_".concat(void 0===a?"sm":a);return r.a.createElement("div",{className:o()("layout_item",i,Object(l.c)(e),n)},t)},c.Header=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_header",Object(l.c)(e),n)},t)},c.Footer=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_footer",Object(l.c)(e),n)},t)},t.a=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));var a=Math.max,r=Math.min,i=Math.round},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(42),u=n(122);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.className,p=e.data,m=void 0===p?{}:p,b=e.name,h=void 0===b?null:b,f=e.id,g=void 0===f?"":f,_=e.imageAlt,y=void 0===_?"":_,M=e.imageUrl,v=e.size,z=void 0===v?"md":v,O=e.status,k=void 0===O?null:O,A=e.dark,x=void 0!==A&&A,w=Object(s.c)(m),N=Object(s.a)(n),q=o()(Object(s.b)("pb_avatar_kit","size_".concat(z)),Object(l.c)(e),i),E=h&&function(e){return e.split(/\s/).map((function(e){return e[0]})).join("").substring(0,2)}(h);w["data-initials"]=E;var j=d(Object(a.useState)(!1),2),W=j[0],L=j[1],S=M&&!W;return r.a.createElement("div",Object.assign({},N,w,{className:q,id:g}),r.a.createElement("div",{className:"avatar_wrapper","data-initials":E},S&&r.a.createElement(c.a,{alt:y||h,onError:function(){return L(!0)},url:M})),k&&r.a.createElement(u.a,{className:"size_".concat(z),dark:x,status:k}))}},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(145);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Object(a.a)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(49),r=n(4);function i(e,t){if(t&&("object"===Object(a.a)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(r.a)(e)}},function(e,t,n){"use strict";function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(143);function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(a.a)(e,t)}},function(e,t,n){"use strict";function a(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(157),u=n(8),d=n(17),p=n(13);t.a=function(e){e.plugins&&Object(l.a)("Date Picker",["plugins"]);var t=e.allowInput,n=void 0!==t&&t,i=e.aria,m=void 0===i?{}:i,b=e.className,h=e.dark,f=void 0!==h&&h,g=e.data,_=void 0===g?{}:g,y=e.defaultDate,M=void 0===y?"":y,v=e.disableDate,z=void 0===v?null:v,O=e.disableInput,k=e.disableRange,A=void 0===k?null:k,x=e.disableWeekdays,w=void 0===x?null:x,N=e.enableTime,q=void 0!==N&&N,E=e.error,j=e.format,W=void 0===j?"m/d/Y":j,L=e.hideIcon,S=void 0!==L&&L,T=e.hideLabel,C=void 0!==T&&T,R=e.id,D=e.inLine,P=void 0!==D&&D,B=e.inputAria,I=void 0===B?{}:B,$=e.inputData,F=void 0===$?{}:$,X=e.inputOnChange,Y=e.inputValue,H=e.label,U=void 0===H?"Date Picker":H,V=e.maxDate,G=e.minDate,K=e.mode,J=void 0===K?"single":K,Z=e.name,Q=e.onChange,ee=void 0===Q?function(){}:Q,te=e.onClose,ne=e.pickerId,ae=e.placeholder,re=void 0===ae?"Select Date":ae,ie=e.plugins,oe=void 0!==ie&&ie,se=e.position,le=e.positionElement,ce=e.scrollContainer,ue=e.selectionType,de=void 0===ue?"":ue,pe=e.showTimezone,me=void 0!==pe&&pe,be=e.staticPosition,he=void 0===be||be,fe=e.yearRange,ge=void 0===fe?[1900,2100]:fe,_e=Object(s.a)(m),ye=Object(s.c)(_),Me=Object(s.a)(I),ve=Object(s.c)(F),ze=Object.assign({},e);null==ze||delete ze.position;var Oe=o()(Object(s.b)("pb_date_picker_kit"),Object(l.c)(ze),E?"error":null,b);Object(a.useEffect)((function(){Object(c.a)({allowInput:n,defaultDate:M,disableDate:z,disableRange:A,disableWeekdays:w,enableTime:q,format:W,hideIcon:S,inLine:P,maxDate:V,minDate:G,mode:J,onChange:ee,onClose:te,pickerId:ne,plugins:oe,position:se,positionElement:le,selectionType:de,showTimezone:me,staticPosition:he,yearRange:ge,required:!1},ce)}));var ke=function(){var e="cal_icon_wrapper";return f&&(e+=" dark"),C&&(e+=" no_label_shift"),E&&(e+=" error"),e};return r.a.createElement("div",Object.assign({},_e,ye,{className:Oe,id:R}),r.a.createElement("div",Object.assign({},Me,ve,{className:"input_wrapper"}),r.a.createElement(d.a,{className:"pb_date_picker_kit_label",text:C?null:U}),r.a.createElement("div",{className:"date_picker_input_wrapper"},r.a.createElement("input",{autoComplete:"off",className:"date_picker_input",disabled:O,id:ne,name:Z,onChange:X,placeholder:re,value:Y}),E&&r.a.createElement(p.a,{status:"negative",text:E,variant:null})),!S&&r.a.createElement("div",{className:ke(),id:"cal-icon-".concat(ne)},r.a.createElement(u.a,{className:"cal_icon",icon:"calendar-alt"})),S&&P?r.a.createElement("div",null,r.a.createElement("div",{className:ke(),id:"".concat(ne,"-icon-plus")},r.a.createElement(u.a,{className:"date-picker-plus-icon",icon:"plus"})),r.a.createElement("div",{className:ke(),id:"".concat(ne,"-angle-down")},r.a.createElement(u.a,{className:"angle_down_icon",icon:"angle-down"}))):null))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(11),u=n(18),d=n(17),p=n(13),m=n(8),b=function(e,t){var n=e.addOn,a=void 0===n?{icon:null,alignment:"right",border:!0}:n,i=e.aria,b=void 0===i?{}:i,h=e.className,f=e.dark,g=void 0!==f&&f,_=e.data,y=void 0===_?{}:_,M=e.disabled,v=e.error,z=e.id,O=e.inline,k=void 0!==O&&O,A=e.name,x=e.label,w=e.onChange,N=void 0===w?function(){}:w,q=e.placeholder,E=e.required,j=e.type,W=void 0===j?"text":j,L=e.value,S=void 0===L?"":L,T=e.children,C=void 0===T?null:T,R=Object(l.a)(b),D=Object(l.c)(y),P=a.alignment,B=a.border,I=a.icon,$="left"===P?"left":"right",F=!1===B?"off":"on",X="border_".concat("left"===$?"right":"left","_").concat(F),Y=null!==I,H=Y?"text_input_wrapper_add_on":"",U=Y&&g?"add-on-card-dark":"",V=o()(["pb_text_input_kit",k?"inline":"",v?"error":"",Object(s.c)(e),h]),G=r.a.createElement(m.a,{className:"add-on-icon",dark:g,fixedWidth:!1,icon:I}),K=r.a.createElement("input",Object.assign({},Object(s.b)(e),{className:"text_input",disabled:M,id:z,key:z,name:A,onChange:N,placeholder:q,ref:t,required:E,type:W,value:S})),J=r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{className:"add-on-".concat($," ").concat(X),vertical:"center"},"left"==$&&r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{className:"".concat(U," add-on-card card-left-aligned"),dark:g},G),K),"left"!=$&&r.a.createElement(r.a.Fragment,null,K,r.a.createElement(u.a,{className:"".concat(U," add-on-card card-right-aligned"),dark:g},G)))),Z=C||(Y?J:K);return r.a.createElement("div",Object.assign({},R,D,{className:V}),x&&r.a.createElement(d.a,{className:"pb_text_input_kit_label",text:x}),r.a.createElement("div",{className:"".concat(H," text_input_wrapper")},Z,v&&r.a.createElement(p.a,{status:"negative",text:v,variant:null})))};t.a=Object(a.forwardRef)(b)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2);t.a=function(e){var t=e.alt,n=void 0===t?"":t,a=e.aria,i=void 0===a?{}:a,c=e.className,u=e.data,d=void 0===u?{}:u,p=e.id,m=e.onError,b=void 0===m?null:m,h=e.rounded,f=void 0!==h&&h,g=e.size,_=void 0===g?"":g,y=e.transition,M=void 0===y?"fade":y,v=e.url,z=void 0===v?"":v,O=Object(l.a)(i),k=o()(Object(l.b)("pb_image_kit",_?"size_".concat(_):null),"lazyload",M,{rounded:f},Object(s.c)(e),c),A=Object(l.c)(d);return r.a.createElement("img",Object.assign({},O,A,{alt:n,className:k,"data-src":z,id:p,onError:b,src:z}))}},function(e,t,n){"use strict";function a(e){return e.split("-")[0]}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(6);function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Object(a.a)(e,t,n[t])}))}return e}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(154);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.children,u=e.className,d=e.collapse,p=void 0===d?"sm":d,m=e.container,b=void 0===m||m,h=e.dark,f=e.data,g=void 0===f?{}:f,_=e.dataTable,y=void 0!==_&&_,M=e.disableHover,v=void 0!==M&&M,z=e.id,O=e.responsive,k=void 0===O?"collapse":O,A=e.singleLine,x=void 0!==A&&A,w=e.size,N=void 0===w?"sm":w,q=e.sticky,E=void 0!==q&&q,j=e.verticalBorder,W=void 0!==j&&j,L=Object(s.a)(n),S=Object(s.c)(g),T="none"!==k?"table-collapse-".concat(p):"",C=W?"vertical-border":"";return Object(a.useEffect)((function(){(new c.a).connect()}),[]),r.a.createElement("table",Object.assign({},L,S,{className:o()("pb_table","table-".concat(N),"table-responsive-".concat(k),{"table-card":b,"table-dark":h,data_table:y,"single-line":x,"no-hover":v,"sticky-header":E},Object(l.c)(e),T,C,u),id:z}),i)}},function(e,t,n){"use strict";function a(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.children,i=e.className,c=e.data,u=void 0===c?{}:c,d=e.id,p=e.tabIndex,m=Object(s.a)(n),b=Object(s.c)(u),h=o()(Object(s.b)("pb_item_kit"),Object(l.c)(e),i);return r.a.createElement(r.a.Fragment,null,r.a.createElement("li",Object.assign({},m,b,{className:h,id:d,tabIndex:p}),a))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(25),u=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.dark,d=e.data,p=void 0===d?{}:d,m=e.disabled,b=e.icon,h=e.id,f=e.onClick,g=void 0===f?s.d:f,_=e.type,y=e.link,M=e.newWindow,v=e.variant,z=Object(s.a)(n),O=Object(s.c)(p),k=o()(Object(s.b)("pb_circle_icon_button_kit"),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},z,O,{className:k,id:h}),r.a.createElement(c.a,{dark:i,disabled:m,htmlType:_,link:y,newWindow:M,onClick:g,text:null,variant:v},r.a.createElement(u.a,{fixedWidth:!0,icon:b})))}},function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(17);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.borderless,i=void 0!==a&&a,u=e.children,d=e.className,p=e.data,m=void 0===p?{}:p,b=e.dark,h=void 0!==b&&b,f=e.highlight,g=void 0===f||f,_=e.id,y=e.link,M=void 0===y?"#":y,v=e.onClick,z=void 0===v?function(){}:v,O=e.orientation,k=void 0===O?"vertical":O,A=e.title,x=void 0===A?"":A,w=e.variant,N=void 0===w?"normal":w,q=Object(s.a)(n),E=Object(s.c)(m),j=o()(Object(s.b)("pb_nav_list",N,k,{highlight:g,borderless:i}),Object(l.c)(e),d);return r.a.createElement("nav",Object.assign({},q,E,{className:j,id:_}),x&&r.a.createElement("div",{className:"pb_nav_list_title"},r.a.createElement("a",{className:"pb_nav_list_item_link_text",href:M,onClick:z},r.a.createElement(c.a,{dark:h,size:"md",text:"".concat(x)}))),r.a.createElement("ul",null,u))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(23);function r(e){return((Object(a.a)(e)?e.ownerDocument:e.document)||window.document).documentElement}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(7),r=n.n(a),i=n(9),o=n.n(i),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_lt_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_3}},subtitle:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_light,fontWeight:o.a.regular,fontSize:o.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_light,tickColor:r.a.border_light,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{color:r.a.text_lt_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_light,minorGridLineColor:r.a.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:o.a.font_family_base,color:r.a.text_lt_light,fontWeight:o.a.regular,fontSize:o.a.text_smaller},itemHoverStyle:{color:r.a.text_lt_default},itemHiddenStyle:{color:r.a.text_lt_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.bg_dark],[1,r.a.bg_dark]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_default,fontWeight:o.a.regular,fontSize:o.a.text_smaller}},pane:{background:{borderColor:r.a.border_light}},plotOptions:{series:{type:"area",nullColor:r.a.text_lt_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:o.a.font_family_base,fontSize:o.a.text_smaller,color:r.a.text_lt_light,fontWeight:o.a.regular}}},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:o.a.font_family_base,fontWeight:o.a.bold,fontSize:o.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(o.a.text_small),fontWeight:o.a.bold,fontFamily:"".concat(o.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(10),r=n.n(a);n(384),n(385);function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?i:String(i)),a)}var r,i}var o=["SU","M","T","W","TH","F","S"],s=function(){function e(t){var n=t.value,a=t.zone,r=void 0===a?"America/New_York":a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.value=this.convertToTimestampZone(n,r)}var t,n,a;return t=e,(n=[{key:"convertToTimestampZone",value:function(e,t){return r()(e).tz(t)}},{key:"convertToTimezone",value:function(){return this.value.strftime("%Z")}},{key:"toCustomFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%-m/%-d";return this.value.strftime(e)}},{key:"toYear",value:function(){return this.value.strftime("%Y")}},{key:"toMonth",value:function(){return this.value.strftime("%b")}},{key:"toMonthNum",value:function(){return this.value.strftime("%-m")}},{key:"toMonthFull",value:function(){return this.value.strftime("%B")}},{key:"toDay",value:function(){return this.value.strftime("%e")}},{key:"toDayAbbr",value:function(){return o[this.value.day()]}},{key:"toWeekday",value:function(){return this.value.strftime("%a")}},{key:"toHour",value:function(){return this.value.strftime("%l")}},{key:"toMinute",value:function(){return this.value.strftime("%M")}},{key:"toMeridian",value:function(){return this.value.strftime("%P")[0]}},{key:"toIso",value:function(){return this.value.toISOString()}},{key:"toTime",value:function(){var e=this.value.strftime("%I:%M");return"0"===e.charAt()?e.slice(1):e}},{key:"toTimezone",value:function(){return this.value.strftime("%Z")}},{key:"toTimeWithMeridian",value:function(){return this.toTime()+this.toMeridian()}}])&&i(t.prototype,n),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var a=n(22),r=function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},i=function(e){return Object(a.isEmpty)(e)?e:e.split(" ").map(r).join(" ")},o=function(e){return!Object(a.isEmpty)(e)},s=function(e,t){return Object(a.filter)(e,o).join(t)},l=function(e){return e.split(/([A-Z])/g).map((function(e,t){var n=t>0?"_":"";return e===e.toLowerCase()?e:n+e.toLowerCase()})).join("")}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(17);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,u=void 0===i?{}:i,d=e.id,p=e.orientation,m=void 0===p?"horizontal":p,b=e.text,h=e.dark,f=void 0!==h&&h,g=e.variant,_=void 0===g?"card":g,y=Object(s.a)(n),M=Object(s.c)(u),v=o()(Object(s.b)("pb_section_separator_kit",_,m),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},y,M,{className:v,id:d}),b&&r.a.createElement("span",null,r.a.createElement(c.a,{text:b,dark:f})))}},function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(39);function r(e){return Object(a.a)(e).getComputedStyle(e)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.closeProps,u=void 0===i?{}:i,d=e.data,p=void 0===d?{}:d,m=e.id,b=e.removeIcon,h=void 0!==b&&b,f=e.removeOnClick,g=e.rounded,_=void 0!==g&&g,y=e.text,M=e.variant,v=void 0===M?"neutral":M,z=Object(l.a)(n),O=Object(l.c)(p),k=o()(Object(l.b)("pb_badge_kit","success"===v?"success_sm":v,_?"rounded":null),Object(s.c)(e),a);return r.a.createElement("div",Object.assign({},z,O,{className:k,id:m}),r.a.createElement("span",null,y,h&&r.a.createElement("span",Object.assign({onClick:f,style:{cursor:"pointer"}},u),r.a.createElement(c.a,{fixedWidth:!0,icon:"times"}))))}},function(e,t,n){"use strict";function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}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 o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?i:String(i)),a)}var r,i}n.d(t,"a",(function(){return d}));var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;i(this,e),this.matchDelegate=t,this.target=n}var t,n,r;return t=e,(n=[{key:"mutationObserver",get:function(){var e=this;return this._mutationObserver=this._mutationObserver||new MutationObserver((function(t){return e.processMutationList(t)}))}},{key:"start",value:function(){this.mutationObserver.observe(this.target,{attributes:!0,childList:!0,subtree:!0}),this.catchup()}},{key:"stop",value:function(){this.mutationObserverdisconnect()}},{key:"catchup",value:function(){this.handleAdditions(this.matchDelegate.matches(this.target))}},{key:"processMutationList",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;"attributes"==r.type?this.processAttributeChange(r.target):"childList"==r.type&&(this.processRemovedNodes(Array.from(r.removedNodes)),this.processAddedNodes(Array.from(r.addedNodes)))}}catch(e){n.e(e)}finally{n.f()}}},{key:"processAttributeChange",value:function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=this.matchDelegate.matches(e);if(0===t.length)return this.matchDelegate.removeMatch(e);this.handleAdditions(t)}}},{key:"processRemovedNodes",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.nodeType===Node.ELEMENT_NODE&&this.handleRemovals(this.matchDelegate.matches(r))}}catch(e){n.e(e)}finally{n.f()}}},{key:"processAddedNodes",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.nodeType===Node.ELEMENT_NODE&&this.handleAdditions(this.matchDelegate.matches(r))}}catch(e){n.e(e)}finally{n.f()}}},{key:"handleRemovals",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.matchDelegate.removeMatch(r)}}catch(e){n.e(e)}finally{n.f()}}},{key:"handleAdditions",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.matchDelegate.addMatch(r)}}catch(e){n.e(e)}finally{n.f()}}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function u(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?i:String(i)),a)}var r,i}var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t}var t,n,a;return t=e,a=[{key:"elements",get:function(){return this._elements=this._elements||new Map}},{key:"observer",get:function(){return this._observer=this._observer||new s(this)}},{key:"selector",get:function(){return console.warn("Define a static property for selector or redefine the matches function in a subclass.",this),null}},{key:"matches",value:function(e){if(!this.selector)return[];var t=[];return e.nodeType===Node.ELEMENT_NODE&&e.matches(this.selector)&&t.push(e),t.push.apply(t,l(e.querySelectorAll(this.selector))),t}},{key:"addMatch",value:function(e){if(!e._pbEnhanced&&!this.elements.has(e)){var t=new this(e);t.connect(),this.elements.set(e,t),e._pbEnhanced=t}}},{key:"removeMatch",value:function(e){this.elements.has(e)&&(this.elements.get(e).disconnect(),this.elements.delete(e))}},{key:"start",value:function(){this.observer.start()}},{key:"stop",value:function(){this.mutationObserver.stop()}}],(n=[{key:"connect",value:function(){console.warn("Redefine the connect function in a subclass.",this)}},{key:"disconnect",value:function(){}}])&&u(t.prototype,n),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(13),u=n(17),d=n(15);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var b={lg:1,md:3,sm:4};t.a=function(e){var t,n=e.abbreviate,a=void 0!==n&&n,i=e.align,m=void 0===i?"left":i,h=e.aria,f=void 0===h?{}:h,g=e.amount,_=e.data,y=void 0===_?{}:_,M=e.decimals,v=void 0===M?"default":M,z=e.emphasized,O=void 0===z||z,k=e.id,A=e.unit,x=e.className,w=e.label,N=void 0===w?"":w,q=e.size,E=void 0===q?"sm":q,j=e.symbol,W=void 0===j?"$":j,L=e.variant,S=void 0===L?"default":L,T=e.dark,C=void 0!==T&&T,R=O?"":"_deemphasized";"sm"===E&&("light"===S?t="_light":"bold"===S&&(t="_bold"));var D=p(g.split("."),2),P=D[0],B=D[1],I=void 0===B?"00":B,$=Object(l.a)(f),F=Object(l.c)(y),X=o()(Object(l.b)("pb_currency_kit",m,E),Object(s.c)(e),x),Y=function(e){var t,n="".concat((t=P.split(",").join(""),new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(t))),a="unit"===e;return"amount"===e?n.slice(0,-1):a?n.slice(-1):""},H="matching"===v?g:P,U="matching"===v?"":".".concat(I),V=a?Y("amount"):H,G=a?Y("unit"):null,K=a?"":U;return r.a.createElement("div",Object.assign({},$,F,{className:X,id:k}),r.a.createElement(u.a,null,N),r.a.createElement("div",{className:"pb_currency_wrapper".concat(t||R)},r.a.createElement(c.a,{className:"dollar_sign",color:"light",dark:C},W),r.a.createElement(d.a,{className:"pb_currency_value",dark:C,size:b[E]},V),r.a.createElement(c.a,{className:"unit",color:"light",dark:C},G,A?r.a.createElement(r.a.Fragment,null,A):r.a.createElement(r.a.Fragment,null,K))))}},function(e,t,n){"use strict";var a=n(85);t.a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(a.a)(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return J}));var a=n(56),r=n(21),i=n(80),o=n(44),s=n(34),l=n(35),c=n(36),u=n(37),d=n(38),p=n(4),m=n(6),b=n(0),h=n.n(b),f=n(89),g=n(20),_=n(28),y=n(29),M=n(27),v=n(61),z=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],O=function(e){for(var t=0;t<z.length;t++)e=e.replace(z[t].letters,z[t].base);return e},k=function(e){return e.replace(/^\s+|\s+$/g,"")},A=function(e){return"".concat(e.label," ").concat(e.value)},x={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},w=function(e){return Object(g.c)("span",Object(r.a)({css:x},e))},N=function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),n=(e.emotion,Object(a.a)(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Object(g.c)("input",Object(r.a)({ref:t},n,{css:Object(v.a)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}}]),t}(b.Component),q=function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(_.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(b.Component),E=["boxSizing","height","overflow","paddingRight","position"],j={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function W(e){e.preventDefault()}function L(e){e.stopPropagation()}function S(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function T(){return"ontouchstart"in window||navigator.maxTouchPoints}var C=!(!window.document||!window.document.createElement),R=0,D=function(e){function t(){var e,n;Object(s.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(r))),Object(m.a)(Object(p.a)(Object(p.a)(n)),"originalStyles",{}),Object(m.a)(Object(p.a)(Object(p.a)(n)),"listenerOptions",{capture:!1,passive:!1}),n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){var e=this;if(C){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;if(n&&E.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&R<1){var o=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,l=window.innerWidth-s+o||0;Object.keys(j).forEach((function(e){var t=j[e];i&&(i[e]=t)})),i&&(i.paddingRight="".concat(l,"px"))}r&&T()&&(r.addEventListener("touchmove",W,this.listenerOptions),a&&(a.addEventListener("touchstart",S,this.listenerOptions),a.addEventListener("touchmove",L,this.listenerOptions))),R+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(C){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;R=Math.max(R-1,0),n&&R<1&&E.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),r&&T()&&(r.removeEventListener("touchmove",W,this.listenerOptions),a&&(a.removeEventListener("touchstart",S,this.listenerOptions),a.removeEventListener("touchmove",L,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(b.Component);Object(m.a)(D,"defaultProps",{accountForScrollbars:!0});var P={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},B=function(e){function t(){var e,n;Object(s.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(r))),Object(m.a)(Object(p.a)(Object(p.a)(n)),"state",{touchScrollTarget:null}),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(e){e!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:e})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,a=this.state.touchScrollTarget;return n?Object(g.c)("div",null,Object(g.c)("div",{onClick:this.blurSelectInput,css:P}),Object(g.c)(q,{innerRef:this.getScrollTarget},t),a?Object(g.c)(D,{touchScrollTarget:a}):null):t}}]),t}(b.PureComponent),I=function(e){function t(){var e,n;Object(s.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(r))),Object(m.a)(Object(p.a)(Object(p.a)(n)),"isBottom",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"isTop",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"scrollTarget",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"touchStart",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"cancelScroll",(function(e){e.preventDefault(),e.stopPropagation()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"handleEventDelta",(function(e,t){var a=n.props,r=a.onBottomArrive,i=a.onBottomLeave,o=a.onTopArrive,s=a.onTopLeave,l=n.scrollTarget,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,p=n.scrollTarget,m=t>0,b=u-d-c,h=!1;b>t&&n.isBottom&&(i&&i(e),n.isBottom=!1),m&&n.isTop&&(s&&s(e),n.isTop=!1),m&&t>b?(r&&!n.isBottom&&r(e),p.scrollTop=u,h=!0,n.isBottom=!0):!m&&-t>c&&(o&&!n.isTop&&o(e),p.scrollTop=0,h=!0,n.isTop=!0),h&&n.cancelScroll(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onWheel",(function(e){n.handleEventDelta(e,e.deltaY)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(e){n.touchStart=e.changedTouches[0].clientY})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(e){var t=n.touchStart-e.changedTouches[0].clientY;n.handleEventDelta(e,t)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(e){n.scrollTarget=e})),n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)}},{key:"render",value:function(){return h.a.createElement(q,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(b.Component),$=function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,n=Object(a.a)(e,["isEnabled"]);return t?h.a.createElement(I,n):this.props.children}}]),t}(b.Component);Object(m.a)($,"defaultProps",{isEnabled:!0});var F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isSearchable,a=t.isMulti,r=t.label,i=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(r||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},X=function(e,t){var n=t.value,a=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,a?" is disabled. Select another option.":", selected.")}},Y=function(e){return!!e.isDisabled},H={clearIndicator:M.d,container:M.b,control:M.c,dropdownIndicator:M.e,group:M.h,groupHeading:M.f,indicatorsContainer:M.j,indicatorSeparator:M.g,input:M.i,loadingIndicator:M.m,loadingMessage:M.k,menu:M.n,menuList:M.l,menuPortal:M.o,multiValue:M.p,multiValueLabel:M.q,multiValueRemove:M.r,noOptionsMessage:M.s,option:M.t,placeholder:M.u,singleValue:M.v,valueContainer:M.w};var U,V={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},G={backspaceRemovesValue:!0,blurInputOnSelect:Object(y.i)(),captureMenuScroll:!Object(y.i)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=Object(o.a)({ignoreCase:!0,ignoreAccents:!0,stringify:A,trim:!0,matchFrom:"any"},U),a=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,s=n.trim,l=n.matchFrom,c=s?k(t):t,u=s?k(i(e)):i(e);return a&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=O(c),u=O(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Y,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Object(y.d)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},K=1,J=function(e){function t(e){var n;Object(s.a)(this,t),n=Object(c.a)(this,Object(u.a)(t).call(this,e)),Object(m.a)(Object(p.a)(Object(p.a)(n)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),Object(m.a)(Object(p.a)(Object(p.a)(n)),"blockOptionHover",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"isComposing",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"clearFocusValueOnUpdate",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"commonProps",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"components",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"hasGroups",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"initialTouchX",0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"initialTouchY",0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"inputIsHiddenAfterUpdate",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"instancePrefix",""),Object(m.a)(Object(p.a)(Object(p.a)(n)),"openAfterFocus",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"scrollToFocusedOptionOnUpdate",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"userIsDragging",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"controlRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getControlRef",(function(e){n.controlRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"focusedOptionRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getFocusedOptionRef",(function(e){n.focusedOptionRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"menuListRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getMenuListRef",(function(e){n.menuListRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"inputRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getInputRef",(function(e){n.inputRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"cacheComponents",(function(e){n.components=Object(M.x)({components:e})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"focus",n.focusInput),Object(m.a)(Object(p.a)(Object(p.a)(n)),"blur",n.blurInput),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onChange",(function(e,t){var a=n.props,r=a.onChange,i=a.name;r(e,Object(o.a)({},t,{name:i}))})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",a=arguments.length>2?arguments[2]:void 0,r=n.props,i=r.closeMenuOnSelect,o=r.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!o,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:a})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"selectOption",(function(e){var t=n.props,a=t.blurInputOnSelect,r=t.isMulti,o=n.state.selectValue;if(r)if(n.isOptionSelected(e,o)){var s=n.getOptionValue(e);n.setValue(o.filter((function(e){return n.getOptionValue(e)!==s})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(Object(i.a)(o),[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));a&&n.blurInput()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"removeValue",(function(e){var t=n.state.selectValue,a=n.getOptionValue(e),r=t.filter((function(e){return n.getOptionValue(e)!==a}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"clearValue",(function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"popValue",(function(){var e=n.state.selectValue,t=e[e.length-1],a=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(a.length?a:null,{action:"pop-value",removedValue:t})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getOptionLabel",(function(e){return n.props.getOptionLabel(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getOptionValue",(function(e){return n.props.getOptionValue(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getStyles",(function(e,t){var a=H[e](t);a.boxSizing="border-box";var r=n.props.styles[e];return r?r(a,t):a})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getElementId",(function(e){return"".concat(n.instancePrefix,"-").concat(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getActiveDescendentId",(function(){var e=n.props.menuIsOpen,t=n.state,a=t.menuOptions,r=t.focusedOption;if(r&&e){var i=a.focusable.indexOf(r),o=a.render[i];return o&&o.key}})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveSelection",(function(e){var t=e.event,a=e.context;n.setState({ariaLiveSelection:X(t,a)})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveContext",(function(e){var t=e.event,a=e.context;n.setState({ariaLiveContext:F(t,Object(o.a)({},a,{label:n.props["aria-label"]}))})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseMove",(function(e){n.blockOptionHover=!1})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onControlMouseDown",(function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorMouseDown",(function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,a=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onScroll",(function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Object(y.e)(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onCompositionStart",(function(){n.isComposing=!0})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onCompositionEnd",(function(){n.isComposing=!1})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(e){var t=e.touches.item(0);if(t){var a=Math.abs(t.clientX-n.initialTouchX),r=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=a>5||r>5}})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchEnd",(function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onControlTouchEnd",(function(e){n.userIsDragging||n.onControlMouseDown(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorTouchEnd",(function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorTouchEnd",(function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"handleInputChange",(function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onInputFocus",(function(e){var t=n.props,a=t.isSearchable,r=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onInputBlur",(function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onOptionHover",(function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"shouldHideSelectedOptions",(function(){var e=n.props,t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onKeyDown",(function(e){var t=n.props,a=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,o=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=n.state,b=m.focusedOption,h=m.focusedValue,f=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!a||o)return;n.focusValue("previous");break;case"ArrowRight":if(!a||o)return;n.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(h)n.removeValue(h);else{if(!r)return;a?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!d||!b||p&&n.isOptionSelected(b,f))return;n.selectOption(b);break;case"Enter":if(229===e.keyCode)break;if(c){if(!b)return;if(n.isComposing)return;n.selectOption(b);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):s&&i&&n.clearValue();break;case" ":if(o)return;if(!c){n.openMenu("first");break}if(!b)return;n.selectOption(b);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}}));var a=e.value;n.cacheComponents=Object(f.a)(n.cacheComponents,M.y).bind(Object(p.a)(Object(p.a)(n))),n.cacheComponents(e.components),n.instancePrefix="react-select-"+(n.props.instanceId||++K);var r=Object(y.f)(a),l=e.menuIsOpen?n.buildMenuOptions(e,r):{render:[],focusable:[]};return n.state.menuOptions=l,n.state.selectValue=r,n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,a=t.value,r=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==a||e.options!==n||e.menuIsOpen!==r||e.inputValue!==i){var o=Object(y.f)(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,o):{render:[],focusable:[]},l=this.getNextFocusedValue(o),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:o,focusedOption:c,focusedValue:l})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,a=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&a&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&Object(y.h)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,n=t.menuOptions,a=t.selectValue,r=t.isFocused,i=this.props.isMulti,o="first"===e?0:n.focusable.length-1;if(!i){var s=n.focusable.indexOf(a[0]);s>-1&&(o=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[o]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,a=t.isSearchable,r=this.state,i=r.selectValue,o=r.focusedValue;if(n){this.setState({focusedOption:null});var s=i.indexOf(o);o||(s=-1,this.announceAriaLiveContext({event:"value"}));var l=i.length-1,c=-1;if(i.length){switch(e){case"previous":c=0===s?0:-1===s?l:s-1;break;case"next":s>-1&&s<l&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state,a=n.focusedOption,r=n.menuOptions,i=r.focusable;if(i.length){var o=0,s=i.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?o=s>0?s-1:i.length-1:"down"===e?o=(s+1)%i.length:"pageup"===e?(o=s-t)<0&&(o=0):"pagedown"===e?(o=s+t)>i.length-1&&(o=i.length-1):"last"===e&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Y(i[o])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(V):Object(o.a)({},V,this.props.theme):V}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,a=this.selectOption,r=this.props,i=r.classNamePrefix,o=r.isMulti,s=r.isRtl,l=r.options,c=this.state.selectValue,u=this.hasValue();return{cx:y.j.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:u,isMulti:o,isRtl:s,options:l,selectOption:a,setValue:n,selectProps:r,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,a=t.selectValue.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var a=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===a}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:a})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var n=this,a=e.inputValue,r=void 0===a?"":a,i=e.options,o=function(e,a){var i=n.isOptionDisabled(e,t),o=n.isOptionSelected(e,t),s=n.getOptionLabel(e),l=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&o||!n.filterOption({label:s,value:l,data:e},r))){var c=i?void 0:function(){return n.onOptionHover(e)},u=i?void 0:function(){return n.selectOption(e)},d="".concat(n.getElementId("option"),"-").concat(a);return{innerProps:{id:d,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:i,isSelected:o,key:d,label:s,type:"option",value:l}}};return i.reduce((function(e,t,a){if(t.options){n.hasGroups||(n.hasGroups=!0);var r=t.options.map((function(t,n){var r=o(t,"".concat(a,"-").concat(n));return r&&e.focusable.push(t),r})).filter(Boolean);if(r.length){var i="".concat(n.getElementId("group"),"-").concat(a);e.render.push({type:"group",key:i,data:t,options:r})}}else{var s=o(t,"".concat(a));s&&(e.render.push(s),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,a=e.focusedValue,r=e.focusedOption,i=this.props,o=i.options,s=i.menuIsOpen,l=i.inputValue,c=i.screenReaderStatus,u=a?function(e){var t=e.focusedValue,n=e.getOptionLabel,a=e.selectValue;return"value ".concat(n(t)," focused, ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedValue:a,getOptionLabel:this.getOptionLabel,selectValue:n}):"",d=r&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,a=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:o}):"",p=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:l,screenReaderMessage:c({count:this.countOptions()})});return"".concat(u," ").concat(d," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,i=e.inputValue,o=e.tabIndex,s=this.components.Input,l=this.state.inputIsHidden,c=a||this.getElementId("input");if(!n)return h.a.createElement(N,{id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:y.l,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:o,value:""});var u={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},d=this.commonProps,p=d.cx,m=d.theme,b=d.selectProps;return h.a.createElement(s,Object(r.a)({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:b,spellCheck:"false",tabIndex:o,theme:m,type:"text",value:i},u))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,a=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,b=u.inputValue,f=u.placeholder,g=this.state,_=g.selectValue,y=g.focusedValue,M=g.isFocused;if(!this.hasValue()||!d)return b?null:h.a.createElement(l,Object(r.a)({},c,{key:"placeholder",isDisabled:p,isFocused:M}),f);if(m)return _.map((function(t,s){var l=t===y;return h.a.createElement(n,Object(r.a)({},c,{components:{Container:a,Label:i,Remove:o},isFocused:l,isDisabled:p,key:e.getOptionValue(t),index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(b)return null;var v=_[0];return h.a.createElement(s,Object(r.a)({},c,{data:v,isDisabled:p}),this.formatOptionLabel(v,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return h.a.createElement(e,Object(r.a)({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!e||!i)return null;return h.a.createElement(e,Object(r.a)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return h.a.createElement(n,Object(r.a)({},a,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return h.a.createElement(e,Object(r.a)({},t,{innerProps:i,isDisabled:n,isFocused:a}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,i=t.GroupHeading,o=t.Menu,s=t.MenuList,l=t.MenuPortal,c=t.LoadingMessage,u=t.NoOptionsMessage,d=t.Option,p=this.commonProps,m=this.state,b=m.focusedOption,f=m.menuOptions,g=this.props,_=g.captureMenuScroll,y=g.inputValue,v=g.isLoading,z=g.loadingMessage,O=g.minMenuHeight,k=g.maxMenuHeight,A=g.menuIsOpen,x=g.menuPlacement,w=g.menuPosition,N=g.menuPortalTarget,q=g.menuShouldBlockScroll,E=g.menuShouldScrollIntoView,j=g.noOptionsMessage,W=g.onMenuScrollToTop,L=g.onMenuScrollToBottom;if(!A)return null;var S,T=function(t){var n=b===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,h.a.createElement(d,Object(r.a)({},p,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())S=f.render.map((function(t){if("group"===t.type){t.type;var o=Object(a.a)(t,["type"]),s="".concat(t.key,"-heading");return h.a.createElement(n,Object(r.a)({},p,o,{Heading:i,headingProps:{id:s},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e)})))}if("option"===t.type)return T(t)}));else if(v){var C=z({inputValue:y});if(null===C)return null;S=h.a.createElement(c,p,C)}else{var R=j({inputValue:y});if(null===R)return null;S=h.a.createElement(u,p,R)}var D={minMenuHeight:O,maxMenuHeight:k,menuPlacement:x,menuPosition:w,menuShouldScrollIntoView:E},P=h.a.createElement(M.a,Object(r.a)({},p,D),(function(t){var n=t.ref,a=t.placerProps,i=a.placement,l=a.maxHeight;return h.a.createElement(o,Object(r.a)({},p,D,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:i}),h.a.createElement($,{isEnabled:_,onTopArrive:W,onBottomArrive:L},h.a.createElement(B,{isEnabled:q},h.a.createElement(s,Object(r.a)({},p,{innerRef:e.getMenuListRef,isLoading:v,maxHeight:l}),S))))}));return N||"fixed"===w?h.a.createElement(l,Object(r.a)({},p,{appendTo:N,controlElement:this.controlRef,menuPlacement:x,menuPosition:w}),P):P}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,a=t.isDisabled,r=t.isMulti,i=t.name,o=this.state.selectValue;if(i&&!a){if(r){if(n){var s=o.map((function(t){return e.getOptionValue(t)})).join(n);return h.a.createElement("input",{name:i,type:"hidden",value:s})}var l=o.length>0?o.map((function(t,n){return h.a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):h.a.createElement("input",{name:i,type:"hidden"});return h.a.createElement("div",null,l)}var c=o[0]?this.getOptionValue(o[0]):"";return h.a.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?h.a.createElement(w,{"aria-live":"polite"},h.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),h.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,i=e.ValueContainer,o=this.props,s=o.className,l=o.id,c=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return h.a.createElement(a,Object(r.a)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),h.a.createElement(t,Object(r.a)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),h.a.createElement(i,Object(r.a)({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),h.a.createElement(n,Object(r.a)({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(b.Component);Object(m.a)(J,"defaultProps",G)},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var a=n(12),r=n(39),i=n(51),o=n(101),s=n(141);var l=n(57),c=n(102),u=n(32);var d=n(108),p=n(79),m=n(23),b=n(73),h=n(83),f=n(142),g=n(46);function _(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function y(e,t,n){return t===a.o?_(function(e,t){var n=Object(r.a)(e),a=Object(i.a)(e),l=n.visualViewport,c=a.clientWidth,u=a.clientHeight,d=0,p=0;if(l){c=l.width,u=l.height;var m=Object(s.a)();(m||!m&&"fixed"===t)&&(d=l.offsetLeft,p=l.offsetTop)}return{width:c,height:u,x:d+Object(o.a)(e),y:p}}(e,n)):Object(m.a)(t)?function(e,t){var n=Object(b.a)(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):_(function(e){var t,n=Object(i.a)(e),a=Object(c.a)(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=Object(u.a)(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),d=Object(u.a)(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),p=-a.scrollLeft+Object(o.a)(e),m=-a.scrollTop;return"rtl"===Object(l.a)(r||n).direction&&(p+=Object(u.a)(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:d,x:p,y:m}}(Object(i.a)(e)))}function M(e,t,n,a){var r="clippingParents"===t?function(e){var t=Object(d.a)(Object(h.a)(e)),n=["absolute","fixed"].indexOf(Object(l.a)(e).position)>=0&&Object(m.b)(e)?Object(p.a)(e):e;return Object(m.a)(n)?t.filter((function(e){return Object(m.a)(e)&&Object(f.a)(e,n)&&"body"!==Object(g.a)(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],s=i.reduce((function(t,n){var r=y(e,n,a);return t.top=Object(u.a)(r.top,t.top),t.right=Object(u.b)(r.right,t.right),t.bottom=Object(u.b)(r.bottom,t.bottom),t.left=Object(u.a)(r.left,t.left),t}),y(e,o,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var v=n(135),z=n(138),O=n(140);function k(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,s=n.strategy,l=void 0===s?e.strategy:s,c=n.boundary,u=void 0===c?a.d:c,d=n.rootBoundary,p=void 0===d?a.o:d,h=n.elementContext,f=void 0===h?a.i:h,g=n.altBoundary,y=void 0!==g&&g,k=n.padding,A=void 0===k?0:k,x=Object(z.a)("number"!=typeof A?A:Object(O.a)(A,a.b)),w=f===a.i?a.j:a.i,N=e.rects.popper,q=e.elements[y?w:f],E=M(Object(m.a)(q)?q:q.contextElement||Object(i.a)(e.elements.popper),u,p,l),j=Object(b.a)(e.elements.reference),W=Object(v.a)({reference:j,element:N,strategy:"absolute",placement:o}),L=_(Object.assign({},N,W)),S=f===a.i?L:j,T={top:E.top-S.top+x.top,bottom:S.bottom-E.bottom+x.bottom,left:E.left-S.left+x.left,right:S.right-E.right+x.right},C=e.modifiersData.offset;if(f===a.i&&C){var R=C[o];Object.keys(T).forEach((function(e){var t=[a.k,a.c].indexOf(e)>=0?1:-1,n=[a.m,a.c].indexOf(e)>=0?"y":"x";T[e]+=R[n]*t}))}return T}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(53),l=n(2),c=n(5),u=n(13),d=n(17),p=n(8);t.a=function(e){var t=e.align,n=e.className,a=e.date,i=e.showIcon,m=e.size,b=e.timeZone,h=e.unstyled,f=void 0!==h&&h,g=e.showTimezone,_=void 0===g||g,y=o()(Object(l.b)("pb_time_kit",t,m),Object(c.c)(e),n),M=new s.a({value:a,zone:b});return r.a.createElement("div",{className:y},i&&(f?r.a.createElement("span",null,r.a.createElement(p.a,{fixedWidth:!0,icon:"clock"})," "):r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{color:"light",tag:"span"},r.a.createElement(p.a,{fixedWidth:!0,icon:"clock",size:"md"===m?"":"sm"})," "))),r.a.createElement("time",{dateTime:a},r.a.createElement("span",null,f?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",null,M.toTimeWithMeridian())," ",_&&r.a.createElement("span",null,M.toTimezone())):"md"===m?r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{className:"pb_time",tag:"span",text:M.toTimeWithMeridian()})," ",_&&r.a.createElement(u.a,{color:"light",tag:"span",text:M.toTimezone()})):r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{color:"light",tag:"span",text:M.toTimeWithMeridian()})," ",_&&r.a.createElement(d.a,{color:"light",tag:"span",text:M.toTimezone()})))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(8),u=n(82),d=n(11),p=n(95),m=n(18);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.checked,b=void 0!==i&&i,h=e.className,f=e.customIcon,g=e.dark,_=void 0!==g&&g,y=e.data,M=void 0===y?{}:y,v=e.disabled,z=void 0!==v&&v,O=e.error,k=void 0!==O&&O,A=e.icon,x=void 0!==A&&A,w=e.inputId,N=void 0===w?null:w,q=e.multi,E=void 0===q||q,j=e.name,W=e.onChange,L=void 0===W?l.d:W,S=e.text,T=e.value,C=e.variant,R=void 0===C?"default":C,D=Object(l.a)(n),P=Object(l.c)(M),B=o()(Object(l.b)("pb_selectable_card_kit",{checked:b,disabled:z,enabled:!z}),{error:k},_?"dark":"",h),I=Object(a.useRef)(null),$=E?"checkbox":"radio",F=null!==N?N:j,X=E?u.a:p.a,Y=Object.assign({},e);null==Y||delete Y.inputId,null==Y||delete Y.children,null==Y||delete Y.icon,null==Y||delete Y.error,null==Y||delete Y.dark,null==Y||delete Y.multi,null==Y||delete Y.customIcon;var H="displayInput"===R?Object.assign(Object.assign({},Y),{padding:"none"}):Object.assign({},Y);return r.a.createElement("div",Object.assign({},D,P,{className:B}),r.a.createElement("input",Object.assign({checked:b,disabled:z,id:F,name:j,onChange:L,ref:I,type:$,value:T},Y)),r.a.createElement("label",{className:Object(s.c)(H),htmlFor:F},r.a.createElement("div",{className:"buffer"},"displayInput"===R?r.a.createElement(d.a,{vertical:"center"},r.a.createElement(d.a,{orientation:"column",padding:"sm",paddingRight:"xs",vertical:"center"},r.a.createElement(X,{dark:_},r.a.createElement("input",{checked:b,disabled:z,onClick:function(){I.current.click()},readOnly:!0,type:$}))),r.a.createElement("div",{className:"separator"}),r.a.createElement("div",{className:"psuedo_separator"}),r.a.createElement(m.a,{borderNone:!0,dark:_,padding:"sm",status:k?"negative":null},S||e.children)):S||e.children,function(){if(!0===x)return r.a.createElement("div",{className:"pb_selectable_card_circle"},r.a.createElement(c.a,{customIcon:f,fixedWidth:!0,icon:"check"}))}())))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(53),l=n(2),c=n(5),u=n(17),d=n(15),p={sm:4,md:3};t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.bold,i=void 0!==a&&a,m=e.reverse,b=void 0!==m&&m,h=e.className,f=e.dark,g=void 0!==f&&f,_=e.date,y=e.data,M=void 0===y?{}:y,v=e.size,z=void 0===v?"sm":v,O=o()(Object(l.b)("pb_date_stacked_kit",n,z,{dark:g,reverse:b}),Object(c.c)(e),h),k=(new Date).getFullYear().toString(),A=new s.a({value:_}),x=A.toYear().toString(),w=Object(l.c)(M);return r.a.createElement(r.a.Fragment,null,0==i?r.a.createElement("div",Object.assign({},w,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(u.a,{text:A.toMonth().toUpperCase()}),r.a.createElement(d.a,{dark:g,size:p[z],text:A.toDay()})),k!=x&&r.a.createElement(u.a,{size:"xs"},x)):r.a.createElement("div",Object.assign({},w,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(d.a,{bold:!0,dark:g,size:"4",text:A.toMonth()}),r.a.createElement(d.a,{bold:!0,dark:g,size:"4",text:A.toDay()}),k!=x&&r.a.createElement(d.a,{size:"4"},x))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(8);t.a=function(e){var t=e.className,n=e.data,a=void 0===n?{}:n,i=e.status,c=void 0===i?"inactive":i,u=e.children,d=e.icon,p=void 0===d?"check":d,m=Object(s.b)("pb_progress_step_item",c),b=Object(s.c)(a);return r.a.createElement("li",Object.assign({},b,{className:o()(m,t)}),r.a.createElement("div",{className:"box"},r.a.createElement("div",{className:"circle"},r.a.createElement(l.a,{icon:p})),r.a.createElement("div",{className:"content"},u)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(66),c=n(74),u=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.children,l=e.data,c=void 0===l?{}:l,u=e.id,d=e.orientation,p=void 0===d?"horizontal":d,m=e.showDate,b=void 0!==m&&m,h=Object(s.a)(n),f=Object(s.c)(c),g=!0===b?"_with_date":"",_=Object(s.b)("pb_timeline_kit","_".concat(p),g);return r.a.createElement("div",Object.assign({},h,f,{className:o()(_,a),id:u}),i)};u.Item=function(e){var t=e.className,n=e.children,a=e.date,i=e.icon,u=void 0===i?"user":i,d=e.iconColor,p=void 0===d?"default":d,m=e.lineStyle,b=void 0===m?"solid":m,h=Object(s.b)("pb_timeline_item_kit",b);return r.a.createElement("div",{className:o()(h,t)},r.a.createElement("div",{className:"pb_timeline_item_left_block"},a&&r.a.createElement(l.a,{align:"center",date:a,size:"sm"})),r.a.createElement("div",{className:"pb_timeline_item_step"},r.a.createElement(c.a,{icon:u,size:"xs",variant:p}),r.a.createElement("div",{className:"pb_timeline_item_connector"})),r.a.createElement("div",{className:"pb_timeline_item_right_block"},n))};t.a=u},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(70),l=n.n(s),c=n(113),u=n.n(c),d=n(26),p=n.n(d),m=n(52),b=n(78),h=n(71),f=n(5),g=n(2);function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var M=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},v=function(e){var t=document.querySelector("#wrapper-circle-chart-".concat(e.target.renderTo.id," .pb-circle-chart-block")),n=document.querySelector("#".concat(e.target.renderTo.id));null!==t&&(t.style.height="".concat(e.target.chartHeight,"px"),t.style.width="".concat(e.target.chartWidth,"px"),n.firstChild.before(t))};t.a=function(e){var t=e.align,n=void 0===t?"center":t,i=e.aria,s=void 0===i?{}:i,c=e.rounded,d=void 0!==c&&c,y=e.borderColor,z=void 0===y?d?null:"":y,O=e.borderWidth,k=void 0===O?d?20:null:O,A=e.chartData,x=e.children,w=(e.className,e.colors),N=void 0===w?[]:w,q=e.dark,E=void 0!==q&&q,j=e.data,W=void 0===j?{}:j,L=e.dataLabelHtml,S=void 0===L?"<div>{point.name}</div>":L,T=e.dataLabels,C=void 0!==T&&T,R=e.height,D=e.id,P=e.innerSize,B=void 0===P?"md":P,I=e.legend,$=void 0!==I&&I,F=e.maxPointSize,X=void 0===F?null:F,Y=e.minPointSize,H=void 0===Y?null:Y,U=e.startAngle,V=void 0===U?null:U,G=e.style,K=void 0===G?"pie":G,J=e.title,Z=e.tooltipHtml,Q=e.useHtml,ee=void 0!==Q&&Q,te=e.zMin,ne=void 0===te?null:te,ae=e.layout,re=void 0===ae?"horizontal":ae,ie=e.verticalAlign,oe=void 0===ie?"bottom":ie,se=e.x,le=void 0===se?0:se,ce=e.y,ue=void 0===ce?0:ce,de=M(e,["align","aria","rounded","borderColor","borderWidth","chartData","children","className","colors","dark","data","dataLabelHtml","dataLabels","height","id","innerSize","legend","maxPointSize","minPointSize","startAngle","style","title","tooltipHtml","useHtml","zMin","layout","verticalAlign","x","y"]),pe=Object(g.a)(s),me=Object(g.c)(W);u()(p.a);E?p.a.setOptions(b.a):p.a.setOptions(m.a),p.a.setOptions({tooltip:{headerFormat:null,pointFormat:Z||'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:ee}});var be={sm:"35%",md:"50%",lg:"85%",none:"0%"},he=_(Object(a.useState)({}),2),fe=he[0],ge=he[1];return Object(a.useEffect)((function(){var e,t=A.map((function(e){return e.y=e.value,delete e.value,e})),a={title:{text:J},chart:{height:R,type:K,events:{render:function(e){return v(e)},redraw:function(e){return v(e)}}},legend:{align:n,verticalAlign:oe,layout:re,x:le,y:ue},plotOptions:{pie:{colors:N.length>0?Object(h.a)(N):m.a.colors,dataLabels:{enabled:C,connectorShape:"straight",connectorWidth:3,format:S},showInLegend:$}},series:[{minPointSize:H,maxPointSize:X,innerSize:20==k?"100%":(e=B,be[e]),data:t,zMin:ne,startAngle:V,borderWidth:k,borderColor:z}],credits:!1};ge(Object.assign({},a))}),[A]),r.a.createElement(r.a.Fragment,null,x?r.a.createElement("div",{id:"wrapper-circle-chart-".concat(D)},r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:o()("pb_circle_chart",Object(f.c)(de)),id:D},pe),me),highcharts:p.a,options:fe}),r.a.createElement("div",{className:"pb-circle-chart-block"},x)):r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:o()("pb_circle_chart",Object(f.c)(de)),id:D},pe),me),highcharts:p.a,options:fe}))}},function(e,t,n){var a;"undefined"!=typeof self&&self,e.exports=(a=n(0),function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"HighchartsReact",(function(){return u}));var s=n(1),l=n.n(s),c="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,u=Object(s.memo)(Object(s.forwardRef)((function(e,t){var n=Object(s.useRef)(),i=Object(s.useRef)(),u=Object(s.useRef)(e.constructorType),d=Object(s.useRef)(e.highcharts);return c((function(){function t(){var t=e.highcharts||"object"===("undefined"==typeof window?"undefined":o(window))&&window.Highcharts,a=e.constructorType||"chart";t?t[a]?e.options?i.current=t[a](n.current,e.options,e.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(i.current){if(!1!==e.allowChartUpdate)if(e.constructorType!==u.current||e.highcharts!==d.current)u.current=e.constructorType,d.current=e.highcharts,t();else if(!e.immutable&&i.current){var a;(a=i.current).update.apply(a,[e.options].concat(r(e.updateArgs||[!0,!0])))}else t()}else t()}),[e.options,e.allowChartUpdate,e.updateArgs,e.containerProps,e.highcharts,e.constructorType]),c((function(){return function(){i.current&&(i.current.destroy(),i.current=null)}}),[]),Object(s.useImperativeHandle)(t,(function(){return{get chart(){return i.current},container:n}}),[]),l.a.createElement("div",a({},e.containerProps,{ref:n}))})));t.default=u},function(e,t){e.exports=a}]))},function(e,t,n){"use strict";var a=n(7),r=n.n(a);t.a=function(e){var t=/(data)\-[1-8]/;return e.map((function(e){return t.test(e)?"".concat(r.a["data_".concat(e[e.length-1])]):e}))}},function(e,t,n){"use strict";function a(e){return e.split("-")[1]}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(23),r=n(32),i=n(39),o=n(141);function s(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var s=e.getBoundingClientRect(),l=1,c=1;t&&Object(a.b)(e)&&(l=e.offsetWidth>0&&Object(r.c)(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&Object(r.c)(s.height)/e.offsetHeight||1);var u=(Object(a.a)(e)?Object(i.a)(e):window).visualViewport,d=!Object(o.a)()&&n,p=(s.left+(d&&u?u.offsetLeft:0))/l,m=(s.top+(d&&u?u.offsetTop:0))/c,b=s.width/l,h=s.height/c;return{width:b,height:h,top:m,right:p+b,bottom:m+h,left:p,x:p,y:m}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.dark,u=void 0!==i&&i,d=e.data,p=void 0===d?{}:d,m=e.icon,b=e.id,h=e.size,f=void 0===h?"md":h,g=e.variant,_=void 0===g?"default":g,y=Object(s.a)(n),M=Object(s.c)(p),v=o()(Object(s.b)("pb_icon_circle_kit",f,_),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},y,M,{className:v,id:b}),r.a.createElement(c.a,{dark:u,icon:m}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(15),l=n(8),c=n(33),u=n(5);t.a=function(e){var t=e.className,n=e.id,a=e.text,i=e.name,d=e.onClick,p=void 0===d?function(){}:d,m=e.avatarUrl,b=e.closeProps,h=void 0===b?{}:b,f=e.size,g=void 0===f?"":f,_=e.textTransform,y=void 0===_?"none":_,M=o()("pb_form_pill_kit_".concat("primary"),Object(u.c)(e),t,"small"===g?"small":null,y);return r.a.createElement("div",{className:M,id:n},i&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{imageUrl:m,name:i,size:"xs",status:null}),r.a.createElement(s.a,{className:"pb_form_pill_text",size:4,text:i})),a&&r.a.createElement(s.a,{className:"pb_form_pill_tag",size:4,text:a}),r.a.createElement("div",Object.assign({className:"pb_form_pill_close",onClick:p},h),r.a.createElement(l.a,{fixedWidth:!0,icon:"times"})))}},function(e,t,n){"use strict";n(56),n(21),n(80),n(44);var a=n(34),r=n(35),i=n(36),o=n(37),s=n(38),l=n(4),c=n(6),u=n(0),d=n.n(u),p=n(89),m=n(20),b=(n(28),n(49),n(62)),h=(n(61),n(97),n(98),n(84)),f=n(114),g=(u.Component,Object(h.a)(b.a));t.a=g},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(28),o=n.n(i),s=a.createContext(),l=a.createContext();function c(e){var t=e.children,n=a.useState(null),r=n[0],i=n[1],o=a.useRef(!1);a.useEffect((function(){return function(){o.current=!0}}),[]);var c=a.useCallback((function(e){o.current||i(e)}),[]);return a.createElement(s.Provider,{value:r},a.createElement(l.Provider,{value:c},t))}var u=function(e){return Array.isArray(e)?e[0]:e},d=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e.apply(void 0,n)}},p=function(e,t){if("function"==typeof e)return d(e,t);null!=e&&(e.current=t)},m=function(e){return e.reduce((function(e,t){var n=t[0],a=t[1];return e[n]=a,e}),{})},b="undefined"!=typeof window&&window.document&&window.document.createElement?a.useLayoutEffect:a.useEffect,h=n(378),f=n(203),g=n.n(f),_=[],y=function(){},M=function(){return Promise.resolve(null)},v=[];function z(e){var t=e.placement,n=void 0===t?"bottom":t,r=e.strategy,o=void 0===r?"absolute":r,l=e.modifiers,c=void 0===l?v:l,d=e.referenceElement,f=e.onFirstUpdate,z=e.innerRef,O=e.children,k=a.useContext(s),A=a.useState(null),x=A[0],w=A[1],N=a.useState(null),q=N[0],E=N[1];a.useEffect((function(){p(z,x)}),[z,x]);var j=a.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:f,modifiers:[].concat(c,[{name:"arrow",enabled:null!=q,options:{element:q}}])}}),[n,o,f,c,q]),W=function(e,t,n){void 0===n&&(n={});var r=a.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||_},s=a.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],c=s[1],u=a.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);i.flushSync((function(){c({styles:m(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:m(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=a.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[u,{name:"applyStyles",enabled:!1}])};return g()(r.current,e)?r.current||e:(r.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,u]),p=a.useRef();return b((function(){p.current&&p.current.setOptions(d)}),[d]),b((function(){if(null!=e&&null!=t){var a=(n.createPopper||h.a)(e,t,d);return p.current=a,function(){a.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}(d||k,x,j),L=W.state,S=W.styles,T=W.forceUpdate,C=W.update,R=a.useMemo((function(){return{ref:w,style:S.popper,placement:L?L.placement:n,hasPopperEscaped:L&&L.modifiersData.hide?L.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:L&&L.modifiersData.hide?L.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:S.arrow,ref:E},forceUpdate:T||y,update:C||M}}),[w,E,n,L,S,C,T]);return u(O)(R)}var O=n(162),k=n.n(O);function A(e){var t=e.children,n=e.innerRef,r=a.useContext(l),i=a.useCallback((function(e){p(n,e),d(r,e)}),[n,r]);return a.useEffect((function(){return function(){return p(n,null)}}),[]),a.useEffect((function(){k()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),u(t)({ref:i})}var x=n(2),w=n(3),N=n.n(w),q=n(5),E={offset:{enabled:!0,name:"offset",options:{offset:[0,20]},phase:"main"}},j=function(e){var t=e.modifiers;return e.offset?t.concat([E.offset]):t},W=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.children,o=e.data,s=void 0===o?{}:o,l=e.id,c=e.modifiers,u=e.offset,d=e.placement,p=e.referenceElement,m=e.zIndex,b=e.maxHeight,h=e.maxWidth,f=e.minHeight,g=e.minWidth,_=Object(q.c)(e).includes("dark")||!Object(q.c)(e)?"p_sm":Object(q.c)(e),y=b||h?"overflow_handling":"",M=m?{zIndex:m}:{},v=Object(x.a)(n),O=Object(x.c)(s),k=N()(Object(x.b)("pb_popover_kit"),Object(q.c)(e),a);return r.a.createElement(z,{modifiers:j({modifiers:c,offset:u}),placement:d,referenceElement:p},(function(e){var t=e.placement,n=e.ref,a=e.style;return r.a.createElement("div",Object.assign({},v,O,{className:k,"data-placement":t,id:l,ref:n,style:Object.assign({},a,M)}),r.a.createElement("div",{className:N()("".concat(Object(x.b)("pb_popover_tooltip")," show"))},r.a.createElement("div",{className:N()("pb_popover_body",_,y),style:Object.assign({},b?{maxHeight:b}:{},h?{maxWidth:h}:{},f?{minHeight:f}:{},g?{minWidth:g}:{})},i)))}))};t.a=function(e){var t=e.className,n=e.children,i=e.modifiers,s=void 0===i?[]:i,l=e.offset,u=void 0!==l&&l,d=e.placement,p=void 0===d?"left":d,m=e.portal,b=void 0===m?"body":m,h=e.reference,f=e.referenceElement,g=e.show,_=void 0!==g&&g,y=e.usePortal,M=void 0===y||y,v=e.zIndex,z=e.maxHeight,O=e.maxWidth,k=e.minHeight,w=e.minWidth;Object(a.useEffect)((function(){var t=e.closeOnClick,n=e.shouldClosePopover,a=void 0===n?x.d:n;t&&document.body.addEventListener("click",(function(e){var n=e.target,r=null!==n.closest("[class^=pb_popover_tooltip]"),i=null!==n.closest(".pb_popover_reference_wrapper");switch(t){case"outside":r&&!i||a(!0);break;case"inside":(r||i)&&a(!0);break;case"any":a(!0)}}),{capture:!0})}),[]);var N=r.a.createElement(W,Object.assign({className:t,maxHeight:z,maxWidth:O,minHeight:k,minWidth:w,modifiers:s,offset:u,placement:p,referenceElement:f,zIndex:v},e),n);return r.a.createElement(c,null,r.a.createElement(r.a.Fragment,null,h&&!f&&r.a.createElement(A,null,(function(e){var t=e.ref;return r.a.createElement("span",{className:"pb_popover_reference_wrapper",ref:t},r.a.createElement(h.type,Object.assign({},h.props)))})),_&&(M?r.a.createElement(r.a.Fragment,null,o.a.createPortal(N,document.querySelector(b))):{popoverComponent:N})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(7),r=n.n(a),i=n(9),o=n.n(i),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_dk_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_3}},subtitle:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_light,fontWeight:o.a.regular,fontSize:o.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_dark,tickColor:r.a.border_dark,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{color:r.a.text_dk_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_dark,minorGridLineColor:r.a.border_dark,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:o.a.font_family_base,color:r.a.text_dk_light,fontWeight:o.a.regular,fontSize:o.a.text_smaller},itemHoverStyle:{color:r.a.text_dk_default},itemHiddenStyle:{color:r.a.text_dk_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.card_light],[1,r.a.card_light]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_default,fontWeight:o.a.regular,fontSize:o.a.text_smaller}},pane:{background:{borderColor:r.a.border_dark}},plotOptions:{series:{borderColor:r.a.bg_dark_card,borderWidth:2,type:"area",nullColor:r.a.text_dk_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:o.a.font_family_base,fontSize:o.a.text_smaller,color:r.a.text_dk_light,fontWeight:o.a.regular}}},line:{dataLabels:{color:r.a.text_dk_light},marker:{lineColor:r.a.border_dark},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:o.a.font_family_base,fontWeight:o.a.bold,fontSize:o.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(o.a.text_small),fontWeight:o.a.bold,fontFamily:"".concat(o.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(39),r=n(46),i=n(57),o=n(23);function s(e){return["table","td","th"].indexOf(Object(r.a)(e))>=0}var l=n(83),c=n(120);function u(e){return Object(o.b)(e)&&"fixed"!==Object(i.a)(e).position?e.offsetParent:null}function d(e){for(var t=Object(a.a)(e),n=u(e);n&&s(n)&&"static"===Object(i.a)(n).position;)n=u(n);return n&&("html"===Object(r.a)(n)||"body"===Object(r.a)(n)&&"static"===Object(i.a)(n).position)?t:n||function(e){var t=/firefox/i.test(Object(c.a)());if(/Trident/i.test(Object(c.a)())&&Object(o.b)(e)&&"fixed"===Object(i.a)(e).position)return null;var n=Object(l.a)(e);for(Object(o.c)(n)&&(n=n.host);Object(o.b)(n)&&["html","body"].indexOf(Object(r.a)(n))<0;){var a=Object(i.a)(n);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return n;n=n.parentNode}return null}(e)||t}},function(e,t,n){"use strict";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.borderless,i=void 0!==a&&a,c=e.children,u=e.className,d=e.dark,p=void 0!==d&&d,m=e.data,b=void 0===m?{}:m,h=e.id,f=e.layout,g=void 0===f?"":f,_=e.ordered,y=void 0!==_&&_,M=e.role,v=e.size,z=void 0===v?"":v,O=e.tabIndex,k=e.xpadding,A=void 0!==k&&k,x=e.variant,w=e.text,N=r.a.Children.map(c,(function(e){return r.a.cloneElement(e,{text:w,variant:x})})),q=Object(s.a)(n),E=Object(s.c)(b),j=o()(Object(s.b)("pb_list_kit",{left:"layout_left",right:"layout_right",default:""}[g],z,{dark:p,borderless:i,ordered:y,xpadding:A}),Object(l.c)(e),u);return r.a.createElement("div",{className:j},y?r.a.createElement("ol",Object.assign({},q,E,{className:u,id:h,role:M,tabIndex:O}),N):r.a.createElement("ul",Object.assign({},q,E,{className:u,id:h,role:M,tabIndex:O}),N))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(13),o=n(8),s=n(2),l=n(3),c=n.n(l),u=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,l=e.checked,d=void 0!==l&&l,p=e.children,m=e.className,b=e.dark,h=void 0!==b&&b,f=e.data,g=void 0===f?{}:f,_=e.error,y=void 0!==_&&_,M=e.id,v=e.indeterminate,z=void 0!==v&&v,O=e.name,k=void 0===O?"":O,A=e.onChange,x=void 0===A?function(){}:A,w=e.tabIndex,N=e.text,q=void 0===N?"":N,E=e.value,j=void 0===E?"":E,W=Object(a.useRef)(null),L=Object(s.c)(g),S=Object(s.a)(n),T=c()(Object(s.b)("pb_checkbox_kit",d?"checked":null,y?"error":null,z?"indeterminate":null),Object(u.c)(e),m);Object(a.useEffect)((function(){W.current&&(W.current.checked=d,W.current.indeterminate=z)}),[z,d]);return r.a.createElement("label",Object.assign({},S,L,{className:T,id:M}),r.a.createElement(r.a.Fragment,null,p||r.a.createElement("input",{defaultChecked:d,name:k,onChange:x,ref:W,tabIndex:w,type:"checkbox",value:j})),!z&&r.a.createElement("span",{className:"pb_checkbox_checkmark"},r.a.createElement(o.a,{className:"check_icon",fixedWidth:!0,icon:"check"})),z&&r.a.createElement("span",{className:"pb_checkbox_indeterminate"},r.a.createElement(o.a,{className:"indeterminate_icon",fixedWidth:!0,icon:"minus"})),r.a.createElement(i.a,{className:"pb_checkbox_label",dark:h,status:y?"negative":null,variant:null},q))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(46),r=n(51),i=n(23);function o(e){return"html"===Object(a.a)(e)?e:e.assignedSlot||e.parentNode||(Object(i.c)(e)?e.host:null)||Object(r.a)(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(56),r=n(21),i=n(34),o=n(35),s=n(36),l=n(37),c=n(38),u=n(4),d=n(6),p=n(0),m=n.n(p),b={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},h=function(e){var t,n;return n=t=function(t){function n(){var e,t;Object(i.a)(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return t=Object(s.a)(this,(e=Object(l.a)(n)).call.apply(e,[this].concat(r))),Object(d.a)(Object(u.a)(Object(u.a)(t)),"select",void 0),Object(d.a)(Object(u.a)(Object(u.a)(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onChange",(function(e,n){t.callProp("onChange",e,n),t.setState({value:e})})),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onInputChange",(function(e,n){var a=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==a?a:e})})),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onMenuOpen",(function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})})),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onMenuClose",(function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})})),t}return Object(c.a)(n,t),Object(o.a)(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return(t=this.props)[e].apply(t,a)}}},{key:"render",value:function(){var t=this,n=this.props,i=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,Object(a.a)(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return m.a.createElement(e,Object(r.a)({},i,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(p.Component),Object(d.a)(t,"defaultProps",b),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var a=function(e){for(var t,n=0,a=0,r=e.length;r>=4;++a,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},r={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var i=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n,a){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var a="";if(Array.isArray(n))for(var r=0;r<n.length;r++)a+=d(e,t,n[r],!1);else for(var i in n){var o=n[i];if("object"!=typeof o)null!=t&&void 0!==t[o]?a+=i+"{"+t[o]+"}":l(o)&&(a+=c(i)+":"+u(i,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var s=d(e,t,o,!1);switch(i){case"animation":case"animationName":a+=c(i)+":"+s+";";break;default:a+=i+"{"+s+"}"}}else for(var p=0;p<o.length;p++)l(o[p])&&(a+=c(i)+":"+u(i,o[p])+";")}return a}(e,t,n);case"function":if(void 0!==e){var i=p,o=n(e);return p=i,d(e,t,o,a)}break;case"string":}if(null==t)return n;var s=t[n];return void 0===s||a?n:s}var p,m=/label:\s*([^\s;\n{]+)\s*;/g;var b=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";p=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=d(n,t,o,!1)):i+=o[0];for(var s=1;s<e.length;s++)i+=d(n,t,e[s],46===i.charCodeAt(i.length-1)),r&&(i+=o[s]);m.lastIndex=0;for(var l,c="";null!==(l=m.exec(i));)c+="-"+l[1];return{name:a(i)+c,styles:i,next:p}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(17),d=n(8),p=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},m=function(e,t){var n=e.aria,a=void 0===n?{}:n,i=e.blankSelection,m=e.children,b=e.className,h=e.compact,f=void 0!==h&&h,g=e.data,_=void 0===g?{}:g,y=e.disabled,M=void 0!==y&&y,v=e.error,z=e.label,O=e.inline,k=void 0!==O&&O,A=e.multiple,x=void 0!==A&&A,w=e.name,N=e.onChange,q=void 0===N?function(){}:N,E=e.options,j=void 0===E?[]:E,W=e.required,L=void 0!==W&&W,S=e.value,T=p(e,["aria","blankSelection","children","className","compact","data","disabled","error","label","inline","multiple","name","onChange","options","required","value"]),C=Object(s.a)(a),R=Object(s.c)(_),D=function(e){return e.map((function(e,t){return r.a.createElement("option",{disabled:e.disabled,key:t,value:e.value},e.text||e.value)}))}(j),P=k?"inline":null,B=f?"compact":null,I=o()(Object(s.b)("pb_select"),Object(l.c)(Object.assign(Object.assign({},T),{marginBottom:T.marginBottom||T.margin||"sm"})),b,P,B),$=o()(Object(s.b)("pb_select_kit_wrapper"),{error:v},b),F=m||r.a.createElement("select",Object.assign({},Object(l.b)(T),{disabled:M,id:w,multiple:x,name:w,onChange:q,ref:t,required:L,value:S}),i&&r.a.createElement("option",{value:""},i),D);return r.a.createElement("div",Object.assign({},C,R,{className:I}),z&&r.a.createElement("label",{className:"pb_select_kit_label",htmlFor:w},r.a.createElement(u.a,{text:z})),r.a.createElement("label",{className:$,htmlFor:w},F,r.a.createElement(d.a,{className:"pb_select_kit_caret",fixedWidth:!0,icon:"angle-down"}),v&&r.a.createElement(c.a,{status:"negative",text:v})))};t.a=Object(a.forwardRef)(m)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(13),u=n(15);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,d=e.className,p=e.data,m=void 0===p?{}:p,b=e.detail,h=e.id,f=e.title,g=Object(l.a)(i),_=Object(l.c)(m),y=Object(l.b)("pb_title_detail_kit",n);return r.a.createElement("div",Object.assign({},g,_,{className:o()(y,Object(s.c)(e),d),id:h}),r.a.createElement(u.a,{size:4,text:f}),r.a.createElement(c.a,{color:"light",text:b}))}},function(e,t,n){"use strict";var a=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var a={};return n.isMergeableObject(e)&&s(e).forEach((function(t){a[t]=i(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?a[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):a[r]=i(t[r],n))})),a}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||a,n.cloneUnlessOtherwiseSpecified=i;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var d=u;e.exports=d},function(e,t,n){"use strict";var a=function(e,t){return e===t};t.a=function(e,t){var n;void 0===t&&(t=a);var r,i=[],o=!1,s=function(e,n){return t(e,i[n],n)};return function(){for(var t=arguments.length,a=new Array(t),l=0;l<t;l++)a[l]=arguments[l];return o&&n===this&&a.length===i.length&&a.every(s)||(r=e.apply(this,a),o=!0,n=this,i=a),r}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(155),l=n(2),c=n(5),u=n(13),d=n(17),p=n(11),m=n(16),b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},h=function(e,t){var n=e.aria,i=void 0===n?{}:n,h=e.characterCount,f=e.className,g=e.children,_=e.data,y=void 0===_?{}:_,M=e.disabled,v=e.inline,z=void 0!==v&&v,O=e.resize,k=void 0===O?"none":O,A=e.error,x=e.label,w=e.maxCharacters,N=e.name,q=e.onChange,E=void 0===q?function(){}:q,j=e.placeholder,W=e.required,L=e.rows,S=void 0===L?4:L,T=e.value,C=b(e,["aria","characterCount","className","children","data","disabled","inline","resize","error","label","maxCharacters","name","onChange","placeholder","required","rows","value"]);t=Object(a.useRef)(null),Object(a.useEffect)((function(){t.current&&"auto"===k&&s.a.addMatch(t.current)}));var R=A?"error":null,D=z?"inline":"",P="resize_".concat(k),B=o()("pb_textarea_kit",R,D,P,Object(c.c)(C),f),I=void 0!==h,$=Object(l.a)(i),F=Object(l.c)(y),X=function(){return w&&h?"".concat(Y(h)," / ").concat(w):"".concat(Y(h))},Y=function(e){return 0==e?e.toString():e};return r.a.createElement("div",Object.assign({},$,F,{className:B}),r.a.createElement(d.a,{text:x}),g||r.a.createElement("textarea",Object.assign({className:"pb_textarea_kit",disabled:M,name:N,onChange:E,placeholder:j,ref:t,required:W,rows:S,value:T},C)),A?r.a.createElement(r.a.Fragment,null,h?r.a.createElement(p.a,{spacing:"between",vertical:"center"},r.a.createElement(m.a,null,r.a.createElement(u.a,{margin:"none",status:"negative",text:A})),r.a.createElement(m.a,null,r.a.createElement(d.a,{margin:"none",size:"xs",text:X()}))):r.a.createElement(u.a,{status:"negative",text:A})):I&&r.a.createElement(d.a,{margin:"none",size:"xs",text:X()}))};t.a=Object(a.forwardRef)(h)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(11),u=n(64),d=n(180);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,p=e.className,m=e.data,b=void 0===m?{}:m,h=e.showDayOfWeek,f=void 0!==h&&h,g=e.datetime,_=e.id,y=e.showIcon,M=void 0!==y&&y,v=e.size,z=void 0===v?"md":v,O=e.timeZone,k=void 0===O?"America/New_York":O,A=Object(s.a)(i),x=Object(s.c)(b),w=o()(Object(s.b)("pb_date_time",z),Object(l.c)(e),p);return r.a.createElement("div",Object.assign({},A,x,{className:w,id:_}),r.a.createElement(c.a,{horizontal:n,vertical:"baseline"},r.a.createElement(d.a,{showDayOfWeek:f,size:z,value:g}),r.a.createElement(u.a,{date:g,marginLeft:"sm",showIcon:M,size:z,timeZone:k})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a=n(32);function r(e,t,n){return Object(a.a)(e,Object(a.b)(t,n))}function i(e,t,n){var a=r(e,t,n);return a>n?n:a}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(54),c=n(33),u=n(13),d=n(17),p=n(74),m=n(15);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,b=void 0===i?{}:i,h=e.hideIcon,f=void 0!==h&&h,g=e.id,_=e.source,y=e.type,M=void 0===y?"inbound":y,v=e.user,z=void 0===v?{}:v,O=Object(s.c)(b),k=Object(s.a)(n),A=o()(["pb_source_kit",a]),x=function(){if(("user"===M||"referral"===M)&&void 0!==z.name){var e=Object.assign({},z);return e.size="sm",delete e.userId,e}},w=function(){return"user"!==M&&void 0===x()};return r.a.createElement("div",Object.assign({},k,O,{className:A,id:g}),r.a.createElement("div",{className:"pb__source_layout"},!1===f&&r.a.createElement(r.a.Fragment,null,w()&&r.a.createElement(p.a,{icon:{events:"calendar-alt",outbound:"sign-out",prospecting:"binoculars",referral:"handshake",retail:"shopping-bag",inbound:"sign-in"}[M],size:"sm"}),!w()&&r.a.createElement(c.a,Object.assign({},x()))),r.a.createElement("div",{className:"pb__source_content"},r.a.createElement(m.a,{size:4,tag:"h4",text:_}),r.a.createElement("div",{className:"pb__source_value"},r.a.createElement(u.a,{color:"light",text:"user"===M||"referral"===M&&void 0!==z.name?z.name:Object(l.c)(M)}),z.userId&&r.a.createElement(d.a,{text:z.userId})))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,c=void 0===i?{}:i,u=e.fullWidth,d=void 0!==u&&u,p=e.id,m=e.children,b=Object(s.a)(n),h=Object(s.c)(c),f=o()(Object(s.b)("pb_form_group_kit",{full:d}),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},b,h,{className:f,id:p}),m)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(13),o=n(3),s=n.n(o),l=n(2),c=n(5),u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},d=function(e,t){var n=e.aria,a=void 0===n?{}:n,o=e.alignment,d=e.children,p=e.className,m=e.dark,b=void 0!==m&&m,h=e.data,f=void 0===h?{}:h,g=e.error,_=void 0!==g&&g,y=e.id,M=e.label,v=e.name,z=void 0===v?"radio_name":v,O=e.text,k=void 0===O?"Radio Text":O,A=e.value,x=void 0===A?"radio_text":A,w=e.onChange,N=void 0===w?function(){}:w,q=u(e,["aria","alignment","children","className","dark","data","error","id","label","name","text","value","onChange"]),E=Object(l.a)(a),j=Object(l.c)(f),W=s()(Object(l.b)("pb_radio_kit",o),b?"dark":null,_?"error":null,Object(c.c)(q),p);return r.a.createElement("label",Object.assign({},E,j,{className:W,htmlFor:y}),r.a.createElement(r.a.Fragment,null,function(e){return d||r.a.createElement("input",Object.assign({id:y,name:z,onChange:N,ref:t,text:k,type:"radio",value:x},e))}(q)),r.a.createElement("span",{className:"pb_radio_button"}),r.a.createElement(i.a,{dark:b,status:_?"negative":null,text:M,variant:null}))};t.a=Object(a.forwardRef)(d)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(17),d=n(48),p=n(11),m=n(8),b=n(77),h=n(41);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.className,g=e.confirmation,_=void 0!==g&&g,y=e.data,M=void 0===y?{}:y,v=e.dark,z=void 0!==v&&v,O=e.id,k=e.inputProps,A=void 0===k?{}:k,x=e.label,w=void 0===x?_?"Confirm Passphrase":"Passphrase":x,N=e.onChange,q=void 0===N?function(){}:N,E=e.showTipsBelow,j=void 0===E?"always":E,W=e.tips,L=void 0===W?[]:W,S=e.uncontrolled,T=void 0!==S&&S,C=e.value,R=void 0===C?"":C,D=f(Object(a.useState)(""),2),P=D[0],B=D[1],I=f(Object(a.useState)(!1),2),$=I[0],F=I[1],X=f(Object(a.useState)(!1),2),Y=X[0],H=X[1],U=Object(a.useCallback)((function(e){return T?B(e.target.value):q(e)}),[T,q]),V=Object(a.useMemo)((function(){return T?P:R}),[R,P,T]),G=o()("passphrase-popover","always"===j?null:"show-below-".concat(j)),K=Object(s.a)(n),J=o()(Object(s.b)("pb_passphrase"),Object(l.c)(e),i),Z=Object(s.c)(M),Q=r.a.createElement(d.a,{className:G,dark:z,icon:"info-circle",onClick:function(){return F(!$)},variant:"link"});return r.a.createElement("div",Object.assign({},K,Z,{className:J,id:O}),r.a.createElement("label",null,r.a.createElement(p.a,{align:"baseline"},r.a.createElement(u.a,{className:"passphrase-label",text:w}),L.length>0&&!_&&r.a.createElement(b.a,{className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:Q,shouldClosePopover:function(e){F(!e)},show:$},r.a.createElement(p.a,{align:"center",orientation:"column"},r.a.createElement(u.a,{marginBottom:"xs",text:"Tips for a good passphrase"}),r.a.createElement("div",null,L.map((function(e,t){return r.a.createElement(u.a,{key:t,marginBottom:"xs",size:"xs"},r.a.createElement(m.a,{icon:"shield-check",marginRight:"xs"}),e)})))))),r.a.createElement("div",{className:"passphrase-text-input-wrapper"},r.a.createElement(h.a,Object.assign({className:"passphrase-text-input",dark:z,marginBottom:"xs",onChange:U,placeholder:"Enter a passphrase...",type:Y?"text":"password",value:V},A)),r.a.createElement("span",{className:"show-passphrase-icon",onClick:function(e){e.preventDefault(),H(!Y)}},r.a.createElement(c.a,{className:Y?"hide-icon":"",color:"light",dark:z},r.a.createElement(m.a,{icon:"eye-slash"})),r.a.createElement(c.a,{className:Y?"":"hide-icon",color:"light",dark:z},r.a.createElement(m.a,{icon:"eye"}))))))}},function(e,t,n){"use strict";function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=n(0),o=l(i),s=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},u=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],d=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},p=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),m=function(){return p?"_"+Math.random().toString(36).substr(2,12):void 0},b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||m()},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||m()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(d(e,this.sizer),this.placeHolderSizer&&d(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return p&&e?o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=a({},this.props.style);t.display||(t.display="inline-block");var n=a({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),r=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(this.props,[]);return function(e){u.forEach((function(t){return delete e[t]}))}(r),r.className=this.props.inputClassName,r.id=this.state.inputId,r.style=n,o.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),o.default.createElement("input",a({},r,{ref:this.inputRef})),o.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?o.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(i.Component);b.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},b.defaultProps={minWidth:1,injectStyles:!0},t.default=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return M}));var a=n(73),r=n(102),i=n(39),o=n(23);var s=n(46),l=n(101),c=n(51),u=n(103),d=n(32);function p(e,t,n){void 0===n&&(n=!1);var p,m,b=Object(o.b)(t),h=Object(o.b)(t)&&function(e){var t=e.getBoundingClientRect(),n=Object(d.c)(t.width)/e.offsetWidth||1,a=Object(d.c)(t.height)/e.offsetHeight||1;return 1!==n||1!==a}(t),f=Object(c.a)(t),g=Object(a.a)(e,h,n),_={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(b||!b&&!n)&&(("body"!==Object(s.a)(t)||Object(u.a)(f))&&(_=(p=t)!==Object(i.a)(p)&&Object(o.b)(p)?{scrollLeft:(m=p).scrollLeft,scrollTop:m.scrollTop}:Object(r.a)(p)),Object(o.b)(t)?((y=Object(a.a)(t,!0)).x+=t.clientLeft,y.y+=t.clientTop):f&&(y.x=Object(l.a)(f))),{x:g.left+_.scrollLeft-y.x,y:g.top+_.scrollTop-y.y,width:g.width,height:g.height}}var m=n(104),b=n(108),h=n(79),f=n(12);function g(e){var t=new Map,n=new Set,a=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(a){if(!n.has(a)){var r=t.get(a);r&&e(r)}})),a.push(r)}(e)})),a}var _={placement:"bottom",modifiers:[],strategy:"absolute"};function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function M(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,a=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?_:r;return function(e,t,n){void 0===n&&(n=i);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},_,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;M(),l.options=Object.assign({},i,l.options,r),l.scrollParents={reference:Object(o.a)(e)?Object(b.a)(e):e.contextElement?Object(b.a)(e.contextElement):[],popper:Object(b.a)(t)};var s=function(e){var t=g(e);return f.g.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(a,l.options.modifiers)));return l.orderedModifiers=s.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,a=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:l,name:t,instance:d,options:a});c.push(i||function(){})}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(y(t,n)){l.rects={reference:p(t,Object(h.a)(n),"fixed"===l.options.strategy),popper:Object(m.a)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<l.orderedModifiers.length;a++)if(!0!==l.reset){var r=l.orderedModifiers[a],i=r.fn,o=r.options,s=void 0===o?{}:o,c=r.name;"function"==typeof i&&(l=i({state:l,options:s,name:c,instance:d})||l)}else l.reset=!1,a=-1}}},update:(r=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){M(),u=!0}};if(!y(e,t))return d;function M(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}},function(e,t,n){"use strict";function a(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(73),r=n(51),i=n(102);function o(e){return Object(a.a)(Object(r.a)(e)).left+Object(i.a)(e).scrollLeft}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(39);function r(e){var t=Object(a.a)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(57);function r(e){var t=Object(a.a)(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(73);function r(e){var t=Object(a.a)(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(8),c=n(15);function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var m={success:"check",error:"exclamation-triangle",neutral:"info-circle",tip:"info-circle"};t.a=function(e){var t=d(Object(a.useState)(!0),2),n=t[0],i=t[1],p=e.autoClose,b=void 0===p?0:p,h=e.className,f=e.closeable,g=void 0!==f&&f,_=e.horizontal,y=e.multiLine,M=void 0!==y&&y,v=e.onClose,z=void 0===v?function(){}:v,O=e.open,k=void 0===O||O,A=e.status,x=void 0===A?"neutral":A,w=e.text,N=e.vertical,q=o()("pb_fixed_confirmation_toast_kit_".concat(x),{_multi_line:M},u({},"positioned_toast ".concat(N," ").concat(_),N&&_),Object(s.c)(e),h),E=m[x];Object(a.useEffect)((function(){i(k),b&&k&&setTimeout((function(){i(!1),z()}),b)}),[k]);return r.a.createElement(r.a.Fragment,null,n&&r.a.createElement("div",{className:q,onClick:function(){i(!g),z()}},E&&r.a.createElement(l.a,{className:"pb_icon",fixedWidth:!0,icon:E}),r.a.createElement(c.a,{className:"pb_fixed_confirmation_toast_text",size:4,text:w}),g&&r.a.createElement(l.a,{className:"pb_icon",fixedWidth:!1,icon:"times"})))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(15),l=n(2),c=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,u=void 0===i?{}:i,d=e.id,p=e.text,m=e.variant,b=void 0===m?"neutral":m,h=e.textTransform,f=void 0===h?"lowercase":h,g=Object(l.a)(n),_=Object(l.c)(u),y=o()(Object(l.b)("pb_pill_kit",b,f),Object(c.c)(e),a);return r.a.createElement("div",Object.assign({},g,_,{className:y,id:d}),r.a.createElement(s.a,{className:"pb_pill_text",size:4,tag:"div",text:p}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(13),u=n(65),d=n(119);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.checkmark,i=void 0!==a&&a,p=e.checked,m=void 0!==p&&p,b=e.className,h=e.customIcon,f=e.dark,g=void 0!==f&&f,_=e.data,y=void 0===_?{}:_,M=e.disabled,v=void 0!==M&&M,z=e.icon,O=e.inputId,k=e.multi,A=void 0===k||k,x=e.name,w=e.titleText,N=e.bodyText,q=e.value,E=e.onChange,j=Object(l.a)(n),W=Object(l.c)(y),L=o()(Object(l.b)("pb_selectable_card_icon_kit",{checked:m,disabled:v,enabled:!v}),Object(s.c)(e),b);return r.a.createElement("div",Object.assign({},j,W,{className:L}),r.a.createElement(u.a,{checked:m,customIcon:h,dark:g,disabled:v,icon:i,inputId:O,multi:A,name:x,onChange:E,value:q},r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{customIcon:h,icon:z,inputId:"",inputs:"disabled",name:"",text:w}),r.a.createElement(c.a,{color:"light",dark:g,text:N}))))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(83),r=n(103),i=n(46),o=n(23);var s=n(39);function l(e,t){var n;void 0===t&&(t=[]);var c=function e(t){return["html","body","#document"].indexOf(Object(i.a)(t))>=0?t.ownerDocument.body:Object(o.b)(t)&&Object(r.a)(t)?t:e(Object(a.a)(t))}(e),u=c===(null==(n=e.ownerDocument)?void 0:n.body),d=Object(s.a)(c),p=u?[d].concat(d.visualViewport||[],Object(r.a)(c)?c:[]):c,m=t.concat(p);return u?m:m.concat(l(Object(a.a)(p)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(70),u=n.n(c),d=n(26),p=n.n(d),m=n(52),b=n(78),h=n(71),f=n(207),g=n.n(f);function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var M=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.data,c=void 0===i?{}:i,d=e.chartData,f=e.colors,y=e.dark,v=void 0!==y&&y,z=e.drillable,O=void 0!==z&&z,k=e.grouped,A=void 0!==k&&k,x=e.height,w=e.id,N=e.title,q=void 0===N?"":N,E=e.tooltipHtml,j=void 0===E?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.value}</b>':E,W=e.type,L=void 0===W?"treemap":W,S=M(e,["aria","data","chartData","colors","dark","drillable","grouped","height","id","title","tooltipHtml","type"]),T=Object(l.a)(n),C=Object(l.c)(c);g()(p.a),v?p.a.setOptions(b.a):p.a.setOptions(m.a);var R={title:{text:q},chart:{height:x,type:L},credits:!1,series:[{data:d}],plotOptions:{treemap:{tooltip:{pointFormat:j},allowTraversingTree:O,colorByPoint:!A,colors:void 0!==f&&f.length>0?Object(h.a)(f):m.a.colors}}},D=_(Object(a.useState)({}),2),P=D[0],B=D[1];return Object(a.useEffect)((function(){B(Object.assign({},R))}),[d]),r.a.createElement(u.a,{containerProps:Object.assign(Object.assign({className:o()(Object(s.c)(S),"pb_treemap_chart"),id:w},T),C),highcharts:p.a,options:P})}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(76),o=n(56),s=n(21),l=n(80),c=n(44),u=n(34),d=n(35),p=n(36),m=n(37),b=n(38),h=n(4),f=n(6),g=(n(20),n(28),n(49),n(29)),_=n(62),y=(n(61),n(97),n(98),n(84)),M={cacheOptions:!1,defaultOptions:!1,filterOption:null},v=function(e){var t,n;return n=t=function(t){function n(e){var t;return Object(u.a)(this,n),t=Object(p.a)(this,Object(m.a)(n).call(this)),Object(f.a)(Object(h.a)(Object(h.a)(t)),"select",void 0),Object(f.a)(Object(h.a)(Object(h.a)(t)),"lastRequest",void 0),Object(f.a)(Object(h.a)(Object(h.a)(t)),"mounted",!1),Object(f.a)(Object(h.a)(Object(h.a)(t)),"optionsCache",{}),Object(f.a)(Object(h.a)(Object(h.a)(t)),"handleInputChange",(function(e,n){var a=t.props,r=a.cacheOptions,i=a.onInputChange,o=Object(g.k)(e,n,i);if(!o)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(r&&t.optionsCache[o])t.setState({inputValue:o,loadedInputValue:o,loadedOptions:t.optionsCache[o],isLoading:!1,passEmptyOptions:!1});else{var s=t.lastRequest={};t.setState({inputValue:o,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},(function(){t.loadOptions(o,(function(e){t.mounted&&(e&&(t.optionsCache[o]=e),s===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:o,loadedOptions:e||[],passEmptyOptions:!1})))}))}))}return o})),t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:void 0!==e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return Object(b.a)(n,t),Object(d.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,(function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var n=this.props.loadOptions;if(!n)return t();var a=n(e,t);a&&"function"==typeof a.then&&a.then(t,(function(){return t()}))}},{key:"render",value:function(){var t=this,n=this.props,a=(n.loadOptions,Object(o.a)(n,["loadOptions"])),i=this.state,l=i.defaultOptions,c=i.inputValue,u=i.isLoading,d=i.loadedInputValue,p=i.loadedOptions,m=i.passEmptyOptions?[]:c&&d?p:l||[];return r.a.createElement(e,Object(s.a)({},a,{ref:function(e){t.select=e},options:m,isLoading:u,onInputChange:this.handleInputChange}))}}]),n}(a.Component),Object(f.a)(t,"defaultProps",M),n},z=v(Object(y.a)(_.a)),O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),a=String(t.value).toLowerCase(),r=String(t.label).toLowerCase();return a===n||r===n},k={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return O(e,t)}))||n.some((function(t){return O(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},A=Object(c.a)({allowCreateWhileLoading:!1,createOptionPosition:"last"},k),x=function(e){var t,n;return n=t=function(t){function n(e){var t;Object(u.a)(this,n),t=Object(p.a)(this,Object(m.a)(n).call(this,e)),Object(f.a)(Object(h.a)(Object(h.a)(t)),"select",void 0),Object(f.a)(Object(h.a)(Object(h.a)(t)),"onChange",(function(e,n){var a=t.props,r=a.getNewOptionData,i=a.inputValue,o=a.isMulti,s=a.onChange,c=a.onCreateOption,u=a.value,d=a.name;if("select-option"!==n.action)return s(e,n);var p=t.state.newOption,m=Array.isArray(e)?e:[e];if(m[m.length-1]!==p)s(e,n);else if(c)c(i);else{var b=r(i,i),h={action:"create-option",name:d};s(o?[].concat(Object(l.a)(Object(g.f)(u)),[b]):b,h)}}));var a=e.options||[];return t.state={newOption:void 0,options:a},t}return Object(b.a)(n,t),Object(d.a)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,a=e.formatCreateLabel,r=e.getNewOptionData,i=e.inputValue,o=e.isLoading,s=e.isValidNewOption,c=e.value,u=e.options||[],d=this.state.newOption;d=s(i,Object(g.f)(c),u)?r(i,a(i)):void 0,this.setState({newOption:d,options:!t&&o||!d?u:"first"===n?[d].concat(Object(l.a)(u)):[].concat(Object(l.a)(u),[d])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,n=this.state.options;return r.a.createElement(e,Object(s.a)({},this.props,{ref:function(e){t.select=e},options:n,onChange:this.onChange}))}}]),n}(a.Component),Object(f.a)(t,"defaultProps",A),n},w=x(_.a),N=Object(y.a)(w),q=x(_.a),E=v(Object(y.a)(q)),j=n(22),W=n(5),L=n(3),S=n.n(L),T=n(27),C=n(11),R=n(41),D=function(e){return r.a.createElement("div",{className:"pb_typeahead_wrapper"},r.a.createElement(R.a,{dark:e.selectProps.dark,error:e.selectProps.error,label:e.selectProps.label},r.a.createElement(C.a,null,r.a.createElement(T.z.Control,Object.assign({className:"text_input"},e)))))},P=function(e){var t=e.selectProps,n=e.clearValue;return Object(a.useEffect)((function(){document.addEventListener("pb-typeahead-kit-".concat(t.id,":clear"),n)}),[!0]),r.a.createElement(T.z.ClearIndicator,Object.assign({className:"clear_indicator"},e))},B=function(e){return r.a.createElement(T.z.IndicatorsContainer,Object.assign({className:"text_input_indicators"},e))},I=function(e){return r.a.createElement(T.z.MenuList,Object.assign({},e),e.children)},$=n(58),F=n(75),X=function(e){var t=e.removeProps,n=e.data,a=n.imageUrl,i=n.label,o=e.selectProps.multiKit;return"string"==typeof a&&({marginRight:"xs",name:i,avatarUrl:""}.avatarUrl=a),r.a.createElement(T.z.MultiValueContainer,Object.assign({className:"text_input_multivalue_container"},e),"badge"===o&&r.a.createElement($.a,{closeProps:t,removeIcon:!0,text:i,variant:"primary"}),"badge"!==o&&a&&r.a.createElement(F.a,{avatarUrl:a,closeProps:t,marginRight:"xs",name:i,size:"smallPill"===o?"small":"",text:""}),"badge"!==o&&!a&&r.a.createElement(F.a,{closeProps:t,marginRight:"xs",name:"",size:"smallPill"===o?"small":"",text:i}))},Y=n(115),H=function(e){var t=e.data.imageUrl,n=e.selectProps.valueComponent;return r.a.createElement(T.z.Option,Object.assign({},e),r.a.createElement(r.a.Fragment,null,!n&&t&&r.a.createElement(Y.a,{align:"left",avatarUrl:t,dark:e.selectProps.dark,name:e.label,orientation:"horizontal"}),n&&n(e.data),!n&&!t&&e.label))},U=n(8),V=function(e){return r.a.createElement(r.a.Fragment,null,r.a.createElement(C.a,{align:"center",className:"placeholder"},r.a.createElement(T.z.IndicatorsContainer,Object.assign({},e)),e.selectProps.plusIcon&&r.a.createElement(U.a,{className:"typeahead-plus-icon",icon:"plus"})))},G=function(e){return r.a.createElement(T.z.ValueContainer,Object.assign({className:"text_input_value_container"},e))},K=n(2),J=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.async,n=e.className,a=e.components,o=void 0===a?{}:a,s=e.createable,l=e.error,c=void 0===l?"":l,u=e.data,d=void 0===u?{}:u,p=e.getOptionLabel,m=e.getOptionValue,b=e.id,h=e.loadOptions,f=void 0===h?K.d:h,g=J(e,["async","className","components","createable","error","data","getOptionLabel","getOptionValue","id","loadOptions"]),_=Object.assign({cacheOptions:!0,components:Object.assign({Control:D,ClearIndicator:P,IndicatorsContainer:B,IndicatorSeparator:null,MenuList:I,MultiValue:X,Option:H,Placeholder:V,ValueContainer:G},o),loadOptions:Object(j.isString)(f)?Object(j.get)(window,f):f,getOptionLabel:Object(j.isString)(p)?Object(j.get)(window,p):p,getOptionValue:Object(j.isString)(m)?Object(j.get)(window,m):m,defaultOptions:!0,id:b||Object(j.uniqueId)(),inline:!1,isClearable:!0,isSearchable:!0,name:name,multiKit:"",onCreateOption:null,plusIcon:!1,onMultiValueClick:function(e){}},g),y=s?t?E:N:t?z:i.a,M=Object(K.c)(d),v=S()("pb_typeahead_kit react-select",Object(W.c)(g),n),O=_.inline?"inline":null;return r.a.createElement("div",Object.assign({},M,{className:S()(v,O)}),r.a.createElement(y,Object.assign({classNamePrefix:"typeahead-kit-select",error:c,onChange:function(e,t){var n=t.action,a=t.option,r=t.removedValue;if("select-option"===n){_.onMultiValueClick&&_.onMultiValueClick(a);var i=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-select"),{detail:a||e});document.dispatchEvent(i)}if("remove-value"===n||"pop-value"===n){var o=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-remove"),{detail:r});document.dispatchEvent(o)}if("clear"===n){var s=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-clear"));document.dispatchEvent(s)}}},_)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.children,i=e.className,c=e.data,u=void 0===c?{}:c,d=e.id,p=e.sideHighlightColor,m=void 0===p?"windows":p,b=Object(s.a)(n),h=Object(s.c)(u),f=""!=m?"side_highlight_".concat(m):null,g=o()(Object(s.b)("pb_table_row_kit",f),Object(l.c)(e),i);return r.a.createElement("tr",Object.assign({},b,h,{className:g,id:d}),a)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(5),o=n(2),s=n(70),l=n.n(s),c=n(26),u=n.n(c),d=n(52),p=n(78),m=n(71),b=n(3),h=n.n(b);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,s=e.data,c=void 0===s?{}:s,b=e.align,g=void 0===b?"center":b,y=e.axisTitle,M=e.dark,v=void 0!==M&&M,z=e.chartData,O=e.className,k=void 0===O?"pb_bar_graph":O,A=e.colors,x=e.id,w=e.pointStart,N=e.subTitle,q=e.type,E=void 0===q?"column":q,j=e.title,W=void 0===j?"Title":j,L=e.xAxisCategories,S=e.yAxisMin,T=e.yAxisMax,C=e.legend,R=void 0!==C&&C,D=e.toggleLegendClick,P=void 0===D||D,B=e.height,I=e.layout,$=void 0===I?"horizontal":I,F=e.verticalAlign,X=void 0===F?"bottom":F,Y=e.x,H=void 0===Y?0:Y,U=e.y,V=void 0===U?0:U,G=_(e,["aria","data","align","axisTitle","dark","chartData","className","colors","id","pointStart","subTitle","type","title","xAxisCategories","yAxisMin","yAxisMax","legend","toggleLegendClick","height","layout","verticalAlign","x","y"]),K=Object(o.a)(n),J=Object(o.c)(c);v?u.a.setOptions(p.a):u.a.setOptions(d.a);var Z={title:{text:W},chart:{height:B,type:E},subtitle:{text:N},yAxis:{min:S,max:T,title:{text:y}},xAxis:{categories:L},legend:{enabled:R,align:g,verticalAlign:X,layout:$,x:H,y:V},colors:void 0!==A&&A.length>0?Object(m.a)(A):d.a.colors,plotOptions:{series:{pointStart:w,events:{},dataLabels:{enabled:!1}}},series:z,credits:!1};P||(Z.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=f(Object(a.useState)({}),2),ee=Q[0],te=Q[1];return Object(a.useEffect)((function(){te(Object.assign({},Z))}),[z]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:h()(Object(i.c)(G),k),id:x},K),J),highcharts:u.a,options:ee})}},function(e,t,n){"use strict";var a,r;!function(i){e.exports?(i.default=i,e.exports=i):(a=[n(26)],void 0===(r=function(e){return i(e),i.Highcharts=e,i}.apply(t,a))||(e.exports=r))}((function(e){function t(e,t,n,a){e.hasOwnProperty(t)||(e[t]=a.apply(null,n))}t(e=e?e._modules:{},"Extensions/Pane.js",[e["Core/Chart/Chart.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r){function i(e,t,n){return Math.sqrt(Math.pow(e-n[0],2)+Math.pow(t-n[1],2))<=n[2]/2}var o=r.addEvent,s=r.extend,l=r.merge,c=r.pick,u=r.splat;return e.prototype.collectionsWithUpdate.push("pane"),r=function(){function e(e,t){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(e,t)}return e.prototype.init=function(e,t){this.chart=t,this.background=[],t.pane.push(this),this.setOptions(e)},e.prototype.setOptions=function(e){this.options=l(this.defaultOptions,this.chart.angular?{background:{}}:void 0,e)},e.prototype.render=function(){var e=this.options,t=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:e.zIndex||0}).add()),this.updateCenter(),t)for(t=u(t),e=Math.max(t.length,this.background.length||0),n=0;n<e;n++)t[n]&&this.axis?this.renderBackground(l(this.defaultBackgroundOptions,t[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},e.prototype.renderBackground=function(e,t){var n="animate",a={class:"highcharts-pane "+(e.className||"")};this.chart.styledMode||s(a,{fill:e.backgroundColor,stroke:e.borderColor,"stroke-width":e.borderWidth}),this.background[t]||(this.background[t]=this.chart.renderer.path().add(this.group),n="attr"),this.background[t][n]({d:this.axis.getPlotBandPath(e.from,e.to,e)}).attr(a)},e.prototype.updateCenter=function(e){this.center=(e||this.axis||{}).center=t.getCenter.call(this)},e.prototype.update=function(e,t){l(!0,this.options,e),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(e){e.pane===this&&(e.pane=null,e.update({},t))}),this)},e}(),e.prototype.getHoverPane=function(e){var t,n=this;return e&&n.pane.forEach((function(a){var r=e.chartX-n.plotLeft,o=e.chartY-n.plotTop;i(n.inverted?o:r,n.inverted?r:o,a.center)&&(t=a)})),t},o(e,"afterIsInsidePlot",(function(e){this.polar&&(e.isInsidePlot=this.pane.some((function(t){return i(e.x,e.y,t.center)})))})),o(a,"beforeGetHoverData",(function(e){var t=this.chart;t.polar?(t.hoverPane=t.getHoverPane(e),e.filter=function(n){return n.visible&&!(!e.shared&&n.directTouch)&&c(n.options.enableMouseTracking,!0)&&(!t.hoverPane||n.xAxis.pane===t.hoverPane)}):t.hoverPane=void 0})),o(a,"afterGetHoverData",(function(e){var t=this.chart;e.hoverPoint&&e.hoverPoint.plotX&&e.hoverPoint.plotY&&t.hoverPane&&!i(e.hoverPoint.plotX,e.hoverPoint.plotY,t.hoverPane.center)&&(e.hoverPoint=void 0)})),n.Pane=r,n.Pane})),t(e,"Core/Axis/RadialAxis.js",[e["Core/Axis/AxisDefaults.js"],e["Core/DefaultOptions.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r,i=t.defaultOptions,o=n.noop,s=a.addEvent,l=a.correctFloat,c=a.defined,u=a.extend,d=a.fireEvent,p=a.merge,m=a.pick,b=a.relativeLength,h=a.wrap;return function(t){function n(){this.autoConnect=this.isCircular&&void 0===m(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function a(){var e=this;return function(){if(e.isRadial&&e.tickPositions&&e.options.labels&&!0!==e.options.labels.allowOverlap)return e.tickPositions.map((function(t){return e.ticks[t]&&e.ticks[t].label})).filter((function(e){return!!e}))}}function r(){return o}function f(e,t,n){var a=this.pane.center,r=e.value;if(this.isCircular){if(c(r))e.point&&((i=e.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(e.point.rectPlotY,!0):e.point.x));else{var i=e.chartX||0,o=e.chartY||0;r=this.translate(Math.atan2(o-n,i-t)-this.startAngleRad,!0)}i=(e=this.getPosition(r)).x,o=e.y}else c(r)||(i=e.chartX,o=e.chartY),c(i)&&c(o)&&(n=a[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(i-t,2)+Math.pow(o-n,2)),a[2]/2)-a[3]/2,!0));return[r,i||0,o||0]}function g(e,t,n){e=this.pane.center;var a=this.chart,r=this.left||0,i=this.top||0,o=m(t,e[2]/2-this.offset);return void 0===n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(o+=n),this.isCircular||void 0!==t?((t=this.chart.renderer.symbols.arc(r+e[0],i+e[1],o,o,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+e[0]],t.yBounds=[i+e[1]-o]):(t=this.postTranslate(this.angleRad,o),t=[["M",this.center[0]+a.plotLeft,this.center[1]+a.plotTop],["L",t.x,t.y]]),t}function _(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function y(e,t,n){var a=this.chart,r=function(e){if("string"==typeof e){var t=parseInt(e,10);return d.test(e)&&(t=t*s/100),t}return e},i=this.center,o=this.startAngleRad,s=i[2]/2,l=Math.min(this.offset,0),c=this.left||0,u=this.top||0,d=/%$/,p=this.isCircular,b=m(r(n.outerRadius),s),h=r(n.innerRadius);if(r=m(r(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:e}).concat(this.getPlotLinePath({value:t,reverse:!0}));else{if(e=Math.max(e,this.min),t=Math.min(t,this.max),e=this.translate(e),t=this.translate(t),p||(b=e||0,h=t||0),"circle"!==n.shape&&p)n=o+(e||0),o+=t||0;else{n=-Math.PI/2,o=1.5*Math.PI;var f=!0}b-=l,l=a.renderer.symbols.arc(c+i[0],u+i[1],b,b,{start:Math.min(n,o),end:Math.max(n,o),innerR:m(h,b-(r-l)),open:f}),p&&(p=(o+n)/2,c=c+i[0]+i[2]/2*Math.cos(p),l.xBounds=p>-Math.PI/2&&p<Math.PI/2?[c,a.plotWidth]:[0,c],l.yBounds=[u+i[1]+i[2]/2*Math.sin(p)],l.yBounds[0]+=p>-Math.PI&&0>p||p>Math.PI?-10:10)}return l}function M(e){var t=this,n=this.pane.center,a=this.chart,r=a.inverted,i=e.reverse,o=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=o.innerRadius||"0%",l=o.outerRadius||"100%",c=n[0]+a.plotLeft,u=n[1]+a.plotTop,d=this.height,p=e.isCrosshair;o=n[3]/2;var m,h=e.value,f=this.getPosition(h),g=f.x;if(f=f.y,p&&(h=(f=this.getCrosshairPosition(e,c,u))[0],g=f[1],f=f[2]),this.isCircular)h=Math.sqrt(Math.pow(g-c,2)+Math.pow(f-u,2)),i="string"==typeof s?b(s,1):s/h,a="string"==typeof l?b(l,1):l/h,n&&o&&(i<(o/=h)&&(i=o),a<o&&(a=o)),n=[["M",c+i*(g-c),u-i*(u-f)],["L",g-(1-a)*(g-c),f+(1-a)*(u-f)]];else if((h=this.translate(h))&&(0>h||h>d)&&(h=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,h,o);else if(n=[],a[r?"yAxis":"xAxis"].forEach((function(e){e.pane===t.pane&&(m=e)})),m)for(c=m.tickPositions,m.autoConnect&&(c=c.concat([c[0]])),i&&(c=c.slice().reverse()),h&&(h+=o),u=0;u<c.length;u++)o=m.getPosition(c[u],h),n.push(u?["L",o.x,o.y]:["M",o.x,o.y]);return n}function v(e,t){return e=this.translate(e),this.postTranslate(this.isCircular?e:this.angleRad,m(this.isCircular?t:0>e?0:e,this.center[2]/2)-this.offset)}function z(){var e=this.center,t=this.chart,n=this.options.title;return{x:t.plotLeft+e[0]+(n.x||0),y:t.plotTop+e[1]-{high:.5,middle:.25,low:0}[n.align]*e[2]+(n.y||0)}}function O(e){e.beforeSetTickPositions=n,e.createLabelCollector=a,e.getCrosshairPosition=f,e.getLinePath=g,e.getOffset=_,e.getPlotBandPath=y,e.getPlotLinePath=M,e.getPosition=v,e.getTitlePosition=z,e.postTranslate=j,e.setAxisSize=L,e.setAxisTranslation=S,e.setOptions=T}function k(){var e=this.chart,t=this.options,n=this.pane,a=n&&n.options;e.angular&&this.isXAxis||!n||!e.angular&&!e.polar||(this.angleRad=(t.angle||0)*Math.PI/180,this.startAngleRad=(a.startAngle-90)*Math.PI/180,this.endAngleRad=(m(a.endAngle,a.startAngle+360)-90)*Math.PI/180,this.offset=t.offset||0)}function A(e){this.isRadial&&(e.align=void 0,e.preventDefault())}function x(){if(this.chart&&this.chart.labelCollectors){var e=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=e&&this.chart.labelCollectors.splice(e,1)}}function w(t){var n,a=this.chart,i=a.inverted,s=a.angular,l=a.polar,c=this.isXAxis,u=this.coll,d=s&&c,m=a.options;t=t.userOptions.pane||0,t=this.pane=a.pane&&a.pane[t],"colorAxis"===u?this.isRadial=!1:(s?(d?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=o,this.render=this.redraw=W,this.setTitle=this.setCategories=this.setScale=o):O(this),(n=!c)&&(this.defaultPolarOptions=P)):l&&(O(this),this.defaultPolarOptions=(n=this.horiz)?D:p("xAxis"===u?e.defaultXAxisOptions:e.defaultYAxisOptions,B),i&&"yAxis"===u&&(this.defaultPolarOptions.stackLabels=e.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,m.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&a.labelCollectors.push(this.labelCollector)):this.isRadial=!1,t&&n&&(t.axis=this),this.isCircular=n)}function N(){this.isRadial&&this.beforeSetTickPositions()}function q(e){var t=this.label;if(t){var n=this.axis,a=t.getBBox(),r=n.options.labels,i=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,o=Math.round(i),s=c(r.y)?0:.3*-a.height,l=r.y,u=20,d=r.align,p="end",h=0>o?o+360:o,f=h,g=0,_=0;if(n.isRadial){var y=n.getPosition(this.pos,n.center[2]/2+b(m(r.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===r.rotation?t.attr({rotation:i}):c(l)||(l=n.chart.renderer.fontMetrics(t.styles&&t.styles.fontSize).b-a.height/2),c(d)||(n.isCircular?(a.width>n.len*n.tickInterval/(n.max-n.min)&&(u=0),d=i>u&&i<180-u?"left":i>180+u&&i<360-u?"right":"center"):d="center",t.attr({align:d})),"auto"===d&&2===n.tickPositions.length&&n.isCircular&&(90<h&&180>h?h=180-h:270<h&&360>=h&&(h=540-h),180<f&&360>=f&&(f=360-f),n.pane.options.startAngle!==o&&n.pane.options.startAngle!==o+360&&n.pane.options.startAngle!==o-360||(p="start"),d=-90<=o&&90>=o||-360<=o&&-270>=o||270<=o&&360>=o?"start"===p?"right":"left":"start"===p?"left":"right",70<f&&110>f&&(d="center"),15>h||180<=h&&195>h?g=.3*a.height:15<=h&&35>=h?g="start"===p?0:.75*a.height:195<=h&&215>=h?g="start"===p?.75*a.height:0:35<h&&90>=h?g="start"===p?.25*-a.height:a.height:215<h&&270>=h&&(g="start"===p?a.height:.25*-a.height),15>f?_="start"===p?.15*-a.height:.15*a.height:165<f&&180>=f&&(_="start"===p?.15*a.height:.15*-a.height),t.attr({align:d}),t.translate(_,g+s)),e.pos.x=y.x+(r.x||0),e.pos.y=y.y+(l||0)}}}function E(e){this.axis.getPosition&&u(e.pos,this.axis.getPosition(this.pos))}function j(e,t){var n=this.chart,a=this.center;return e=this.startAngleRad+e,{x:n.plotLeft+a[0]+Math.cos(e)*t,y:n.plotTop+a[1]+Math.sin(e)*t}}function W(){this.isDirty=!1}function L(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var e=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var t=this.postTranslate(this.angleRad,e[3]/2);e[0]=t.x-this.chart.plotLeft,e[1]=t.y-this.chart.plotTop}this.len=this.width=this.height=(e[2]-e[3])*m(this.sector,1)/2}}function S(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function T(e){(e=this.options=p(this.constructor.defaultOptions,this.defaultPolarOptions,i[this.coll],e)).plotBands||(e.plotBands=[]),d(this,"afterSetOptions")}function C(e,t,n,a,r,i,o){var s=this.axis;return s.isRadial?t=["M",t,n,"L",(e=s.getPosition(this.pos,s.center[2]/2+a)).x,e.y]:t=e.call(this,t,n,a,r,i,o),t}var R=[],D={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},P={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},B={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};t.compose=function(e,t){return-1===R.indexOf(e)&&(R.push(e),s(e,"afterInit",k),s(e,"autoLabelAlign",A),s(e,"destroy",x),s(e,"init",w),s(e,"initialAxisTranslation",N)),-1===R.indexOf(t)&&(R.push(t),s(t,"afterGetLabelPosition",q),s(t,"afterGetPosition",E),h(t.prototype,"getMarkPath",C)),e}}(r||(r={})),r})),t(e,"Series/AreaRange/AreaRangePoint.js",[e["Series/Area/AreaSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=t.prototype,i=n.defined,o=n.isNumber;return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.high=void 0,t.low=void 0,t.options=void 0,t.plotHigh=void 0,t.plotLow=void 0,t.plotHighX=void 0,t.plotLowX=void 0,t.plotX=void 0,t.series=void 0,t}return a(t,e),t.prototype.setState=function(){var e=this.state,t=this.series,n=t.chart.polar;i(this.plotHigh)||(this.plotHigh=t.yAxis.toPixels(this.high,!0)),i(this.plotLow)||(this.plotLow=this.plotY=t.yAxis.toPixels(this.low,!0)),t.stateMarkerGraphic&&(t.lowerStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.upperStateMarkerGraphic),this.graphic=this.upperGraphic,this.plotY=this.plotHigh,n&&(this.plotX=this.plotHighX),r.setState.apply(this,arguments),this.state=e,this.plotY=this.plotLow,this.graphic=this.lowerGraphic,n&&(this.plotX=this.plotLowX),t.stateMarkerGraphic&&(t.upperStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.lowerStateMarkerGraphic,t.lowerStateMarkerGraphic=void 0),r.setState.apply(this,arguments)},t.prototype.haloPath=function(){var e=this.series.chart.polar,t=[];return this.plotY=this.plotLow,e&&(this.plotX=this.plotLowX),this.isInside&&(t=r.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,e&&(this.plotX=this.plotHighX),this.isTopInside&&(t=t.concat(r.haloPath.apply(this,arguments))),t},t.prototype.isValid=function(){return o(this.low)&&o(this.high)},t}(e.prototype.pointClass)})),t(e,"Series/AreaRange/AreaRangeSeries.js",[e["Series/AreaRange/AreaRangePoint.js"],e["Series/Area/AreaSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r,i,o){var s=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),l=t.prototype,c=n.prototype;n=a.noop;var u=r.prototype,d=o.defined,p=o.extend,m=o.isArray,b=o.pick,h=o.merge;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.lowerStateMarkerGraphic=void 0,t.xAxis=void 0,t}return s(n,e),n.prototype.toYData=function(e){return[e.low,e.high]},n.prototype.highToXY=function(e){var t=this.chart,n=this.xAxis.postTranslate(e.rectPlotX||0,this.yAxis.len-e.plotHigh);e.plotHighX=n.x-t.plotLeft,e.plotHigh=n.y-t.plotTop,e.plotLowX=e.plotX},n.prototype.translate=function(){var e=this,t=e.yAxis;l.translate.apply(e),e.points.forEach((function(n){var a=n.high,r=n.plotY;n.isNull?n.plotY=null:(n.plotLow=r,n.plotHigh=t.translate(e.dataModify?e.dataModify.modifyValue(a):a,0,1,0,1),e.dataModify&&(n.yBottom=n.plotHigh))})),this.chart.polar&&this.points.forEach((function(t){e.highToXY(t),t.tooltipPos=[(t.plotHighX+t.plotLowX)/2,(t.plotHigh+t.plotLow)/2]}))},n.prototype.getGraphPath=function(e){var t,n=[],a=[],r=l.getGraphPath,i=this.options,o=this.chart.polar,s=o&&!1!==i.connectEnds,c=i.connectNulls,u=i.step;for(t=(e=e||this.points).length;t--;){var d=e[t],p=o?{plotX:d.rectPlotX,plotY:d.yBottom,doCurve:!1}:{plotX:d.plotX,plotY:d.plotY,doCurve:!1};d.isNull||s||c||e[t+1]&&!e[t+1].isNull||a.push(p);var m={polarPlotY:d.polarPlotY,rectPlotX:d.rectPlotX,yBottom:d.yBottom,plotX:b(d.plotHighX,d.plotX),plotY:d.plotHigh,isNull:d.isNull};a.push(m),n.push(m),d.isNull||s||c||e[t-1]&&!e[t-1].isNull||a.push(p)}return e=r.call(this,e),u&&(!0===u&&(u="left"),i.step={left:"right",center:"center",right:"left"}[u]),n=r.call(this,n),a=r.call(this,a),i.step=u,i=[].concat(e,n),!this.chart.polar&&a[0]&&"M"===a[0][0]&&(a[0]=["L",a[0][1],a[0][2]]),this.graphPath=i,this.areaPath=e.concat(a),i.isArea=!0,i.xMap=e.xMap,this.areaPath.xMap=e.xMap,i},n.prototype.drawDataLabels=function(){var e,t,n=this.points,a=n.length,r=[],i=this.options.dataLabels,o=this.chart.inverted;if(i){if(m(i))var s=i[0]||{enabled:!1},l=i[1]||{enabled:!1};else(s=p({},i)).x=i.xHigh,s.y=i.yHigh,(l=p({},i)).x=i.xLow,l.y=i.yLow;if(s.enabled||this._hasPointLabels){for(e=a;e--;)if(t=n[e]){var c=s.inside?t.plotHigh<t.plotLow:t.plotHigh>t.plotLow;t.y=t.high,t._plotY=t.plotY,t.plotY=t.plotHigh,r[e]=t.dataLabel,t.dataLabel=t.dataLabelUpper,t.below=c,o?s.align||(s.align=c?"right":"left"):s.verticalAlign||(s.verticalAlign=c?"top":"bottom")}for(this.options.dataLabels=s,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments),e=a;e--;)(t=n[e])&&(t.dataLabelUpper=t.dataLabel,t.dataLabel=r[e],delete t.dataLabels,t.y=t.low,t.plotY=t._plotY)}if(l.enabled||this._hasPointLabels){for(e=a;e--;)(t=n[e])&&(c=l.inside?t.plotHigh<t.plotLow:t.plotHigh>t.plotLow,t.below=!c,o?l.align||(l.align=c?"left":"right"):l.verticalAlign||(l.verticalAlign=c?"bottom":"top"));this.options.dataLabels=l,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments)}if(s.enabled)for(e=a;e--;)(t=n[e])&&(t.dataLabels=[t.dataLabelUpper,t.dataLabel].filter((function(e){return!!e})));this.options.dataLabels=i}},n.prototype.alignDataLabel=function(){c.alignDataLabel.apply(this,arguments)},n.prototype.drawPoints=function(){var e,t=this.points.length;for(u.drawPoints.apply(this,arguments),e=0;e<t;){var n=this.points[e];n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,d(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=b(n.high,n.origProps.y),n.negative=n.y<(this.options.threshold||0),this.zones.length&&(n.zone=n.getZone()),this.chart.polar||(n.isInside=n.isTopInside=void 0!==n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),e++}for(u.drawPoints.apply(this,arguments),e=0;e<t;)(n=this.points[e]).upperGraphic=n.graphic,n.graphic=n.lowerGraphic,n.origProps&&(p(n,n.origProps),delete n.origProps),e++},n.defaultOptions=h(t.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),n}(t),p(r.prototype,{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,pointClass:e,setStackedPoints:n}),i.registerSeriesType("arearange",r),r})),t(e,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e["Series/AreaRange/AreaRangeSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=t.seriesTypes.spline,i=n.merge;n=n.extend;var o=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.data=void 0,e.points=void 0,e}return a(n,t),n.defaultOptions=i(e.defaultOptions),n}(e);return n(o.prototype,{getPointSpline:r.prototype.getPointSpline}),t.registerSeriesType("areasplinerange",o),o})),t(e,"Series/BoxPlot/BoxPlotSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();t=t.noop;var i=a.extend,o=a.merge,s=a.pick;return i((a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.pointAttribs=function(){return{}},n.prototype.translate=function(){var e=this.yAxis,n=this.pointArrayMap;t.prototype.translate.apply(this),this.points.forEach((function(t){n.forEach((function(n){null!==t[n]&&(t[n+"Plot"]=e.translate(t[n],0,1,0,1))})),t.plotHigh=t.highPlot}))},n.prototype.drawPoints=function(){var e,t,n,a,r,i,o,l,c,u,d,p=this,m=p.options,b=p.chart,h=b.renderer,f=0,g=!1!==p.doQuartiles,_=p.options.whiskerLength;p.points.forEach((function(y){var M=y.graphic,v=M?"animate":"attr",z=y.shapeArgs,O={},k={},A={},x={},w=y.color||p.color;void 0!==y.plotY&&(o=Math.round(z.width),l=Math.floor(z.x),c=l+o,u=Math.round(o/2),e=Math.floor(g?y.q1Plot:y.lowPlot),t=Math.floor(g?y.q3Plot:y.lowPlot),n=Math.floor(y.highPlot),a=Math.floor(y.lowPlot),M||(y.graphic=M=h.g("point").add(p.group),y.stem=h.path().addClass("highcharts-boxplot-stem").add(M),_&&(y.whiskers=h.path().addClass("highcharts-boxplot-whisker").add(M)),g&&(y.box=h.path(void 0).addClass("highcharts-boxplot-box").add(M)),y.medianShape=h.path(void 0).addClass("highcharts-boxplot-median").add(M)),b.styledMode||(k.stroke=y.stemColor||m.stemColor||w,k["stroke-width"]=s(y.stemWidth,m.stemWidth,m.lineWidth),k.dashstyle=y.stemDashStyle||m.stemDashStyle||m.dashStyle,y.stem.attr(k),_&&(A.stroke=y.whiskerColor||m.whiskerColor||w,A["stroke-width"]=s(y.whiskerWidth,m.whiskerWidth,m.lineWidth),A.dashstyle=y.whiskerDashStyle||m.whiskerDashStyle||m.dashStyle,y.whiskers.attr(A)),g&&(O.fill=y.fillColor||m.fillColor||w,O.stroke=m.lineColor||w,O["stroke-width"]=m.lineWidth||0,O.dashstyle=y.boxDashStyle||m.boxDashStyle||m.dashStyle,y.box.attr(O)),x.stroke=y.medianColor||m.medianColor||w,x["stroke-width"]=s(y.medianWidth,m.medianWidth,m.lineWidth),x.dashstyle=y.medianDashStyle||m.medianDashStyle||m.dashStyle,y.medianShape.attr(x)),i=y.stem.strokeWidth()%2/2,M=[["M",f=l+u+i,t],["L",f,n],["M",f,e],["L",f,a]],y.stem[v]({d:M}),g&&(i=y.box.strokeWidth()%2/2,e=Math.floor(e)+i,t=Math.floor(t)+i,M=[["M",l+=i,t],["L",l,e],["L",c+=i,e],["L",c,t],["L",l,t],["Z"]],y.box[v]({d:M})),_&&(i=y.whiskers.strokeWidth()%2/2,n+=i,a+=i,d=/%$/.test(_)?u*parseFloat(_)/100:_/2,M=[["M",f-d,n],["L",f+d,n],["M",f-d,a],["L",f+d,a]],y.whiskers[v]({d:M})),r=Math.round(y.medianPlot),i=y.medianShape.strokeWidth()%2/2,M=[["M",l,r+=i],["L",c,r]],y.medianShape[v]({d:M}))}))},n.prototype.toYData=function(e){return[e.low,e.q1,e.median,e.q3,e.high]},n.defaultOptions=o(e.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n}(e)).prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:t,setStackedPoints:t}),n.registerSeriesType("boxplot",a),a})),t(e,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}})),t(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=e.parse,i=n.noop,o=a.arrayMax,s=a.arrayMin,l=a.isNumber,c=a.merge,u=a.pick,d=a.stableSort;return function(){function e(e,t){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=i,this.init(e,t)}return e.prototype.init=function(e,t){this.options=e,this.visible=!0,this.chart=t.chart,this.legend=t},e.prototype.addToLegend=function(e){e.splice(this.options.legendIndex,0,this)},e.prototype.drawLegendSymbol=function(e){var t=this.chart,n=this.options,a=u(e.options.itemDistance,20),r=n.ranges,i=n.connectorDistance;this.fontMetrics=t.renderer.fontMetrics(n.labels.style.fontSize),r&&r.length&&l(r[0].value)?(d(r,(function(e,t){return t.value-e.value})),this.ranges=r,this.setOptions(),this.render(),e=this.getMaxLabelSize(),t=2*(r=this.ranges[0].radius),i=0<(i=i-r+e.width)?i:0,this.maxLabel=e,this.movementX="left"===n.labels.align?i:0,this.legendItemWidth=t+i+a,this.legendItemHeight=t+this.fontMetrics.h/2):e.options.bubbleLegend.autoRanges=!0},e.prototype.setOptions=function(){var e=this.ranges,t=this.options,n=this.chart.series[t.seriesIndex],a=this.legend.baseline,i={zIndex:t.zIndex,"stroke-width":t.borderWidth},o={zIndex:t.zIndex,"stroke-width":t.connectorWidth},s={align:this.legend.options.rtl||"left"===t.labels.align?"right":"left",zIndex:t.zIndex},l=n.options.marker.fillOpacity,d=this.chart.styledMode;e.forEach((function(p,m){d||(i.stroke=u(p.borderColor,t.borderColor,n.color),i.fill=u(p.color,t.color,1!==l?r(n.color).setOpacity(l).get("rgba"):n.color),o.stroke=u(p.connectorColor,t.connectorColor,n.color)),e[m].radius=this.getRangeRadius(p.value),e[m]=c(e[m],{center:e[0].radius-e[m].radius+a}),d||c(!0,e[m],{bubbleAttribs:c(i),connectorAttribs:c(o),labelAttribs:s})}),this)},e.prototype.getRangeRadius=function(e){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,e)},e.prototype.render=function(){var e=this.chart.renderer,t=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=e.g("bubble-legend"),this.legendItem=e.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach((function(e){e.value>=t&&this.renderRange(e)}),this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},e.prototype.renderRange=function(e){var t=this.options,n=t.labels,a=this.chart,r=a.series[t.seriesIndex],i=a.renderer,o=this.symbols;a=o.labels;var s=e.center,l=Math.abs(e.radius),c=t.connectorDistance||0,u=n.align,d=t.connectorWidth,p=this.ranges[0].radius||0,m=s-l-t.borderWidth/2+d/2,b=this.fontMetrics;b=b.f/2-(b.h-b.f)/2;var h=i.styledMode;c=this.legend.options.rtl||"left"===u?-c:c,"center"===u&&(c=0,t.connectorDistance=0,e.labelAttribs.align="center"),u=m+t.labels.y;var f=p+c+t.labels.x;o.bubbleItems.push(i.circle(p,s+((m%1?1:.5)-(d%2?0:.5)),l).attr(h?{}:e.bubbleAttribs).addClass((h?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendSymbol)),o.connectors.push(i.path(i.crispLine([["M",p,m],["L",p+c,m]],t.connectorWidth)).attr(h?{}:e.connectorAttribs).addClass((h?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendSymbol)),e=i.text(this.formatLabel(e),f,u+b).attr(h?{}:e.labelAttribs).css(h?{}:n.style).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendSymbol),a.push(e),e.placed=!0,e.alignAttr={x:f,y:u+b}},e.prototype.getMaxLabelSize=function(){var e,t;return this.symbols.labels.forEach((function(n){t=n.getBBox(!0),e=e?t.width>e.width?t:e:t})),e||{}},e.prototype.formatLabel=function(e){var n=this.options,a=n.labels.formatter;n=n.labels.format;var r=this.chart.numberFormatter;return n?t.format(n,e):a?a.call(e):r(e.value,1)},e.prototype.hideOverlappingLabels=function(){var e=this.chart,t=this.symbols;!this.options.labels.allowOverlap&&t&&(e.hideOverlappingLabels(t.labels),t.labels.forEach((function(e,n){e.newOpacity?e.newOpacity!==e.oldOpacity&&t.connectors[n].show():t.connectors[n].hide()})))},e.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,n=t.options.ranges,a=Number.MAX_VALUE,r=-Number.MAX_VALUE;t.chart.series.forEach((function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(l)).length&&(a=u(t.options.zMin,Math.min(a,Math.max(s(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),r=u(t.options.zMax,Math.max(r,o(e)))))}));var i=a===r?[{value:r}]:[{value:a},{value:(a+r)/2},{value:r,autoRanges:!0}];return n.length&&n[0].radius&&i.reverse(),i.forEach((function(e,t){n&&n[t]&&(i[t]=c(n[t],e))})),i},e.prototype.predictBubbleSizes=function(){var e=this.chart,t=this.fontMetrics,n=e.legend.options,a=n.floating,r=(n="horizontal"===n.layout)?e.legend.lastLineHeight:0,i=e.plotSizeX,o=e.plotSizeY,s=e.series[this.options.seriesIndex],l=s.getPxExtremes();e=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var c=Math.min(o,i);return s=s.options.maxSize,a||!/%$/.test(s)?t=l:(s=parseFloat(s),t=(c+r-t.h/2)*s/100/(s/100+1),(n&&o-t>=i||!n&&i-t>=o)&&(t=l)),[e,Math.ceil(t)]},e.prototype.updateRanges=function(e,t){var n=this.legend.options.bubbleLegend;n.minSize=e,n.maxSize=t,n.ranges=this.getRanges()},e.prototype.correctSizes=function(){var e=this.legend,t=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(t.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,t.maxPxSize),e.render())},e}()})),t(e,"Series/Bubble/BubbleLegendComposition.js",[e["Series/Bubble/BubbleLegendDefaults.js"],e["Series/Bubble/BubbleLegendItem.js"],e["Core/DefaultOptions.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r,i=n.setOptions,o=a.addEvent,s=a.objectEach,l=a.wrap;return function(n){function a(e,t,n){var a=this.legend,i=0<=r(this);if(a&&a.options.enabled&&a.bubbleLegend&&a.options.bubbleLegend.autoRanges&&i){var o=a.bubbleLegend.options;i=a.bubbleLegend.predictBubbleSizes(),a.bubbleLegend.updateRanges(i[0],i[1]),o.placed||(a.group.placed=!1,a.allItems.forEach((function(e){e.legendGroup.translateY=null}))),a.render(),this.getMargins(),this.axes.forEach((function(e){e.visible&&e.render(),o.placed||(e.setScale(),e.updateNames(),s(e.ticks,(function(e){e.isNew=!0,e.isNewLabel=!0})))})),o.placed=!0,this.getMargins(),e.call(this,t,n),a.bubbleLegend.correctSizes(),p(a,c(a))}else e.call(this,t,n),a&&a.options.enabled&&a.bubbleLegend&&(a.render(),p(a,c(a)))}function r(e){e=e.series;for(var t=0;t<e.length;){if(e[t]&&e[t].isBubble&&e[t].visible&&e[t].zData.length)return t;t++}return-1}function c(e){var t,n=[],a=(e=e.allItems).length,r=0;for(t=0;t<a;t++)if(e[t].legendItemHeight&&(e[t].itemHeight=e[t].legendItemHeight),e[t]===e[a-1]||e[t+1]&&e[t]._legendItemPos[1]!==e[t+1]._legendItemPos[1]){n.push({height:0});for(var i=n[n.length-1];r<=t;r++)e[r].itemHeight>i.height&&(i.height=e[r].itemHeight);i.step=t}return n}function u(e){var n=this.bubbleLegend,a=this.options,i=a.bubbleLegend,o=r(this.chart);n&&n.ranges&&n.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(n)),0<=o&&a.enabled&&i.enabled&&(i.seriesIndex=o,this.bubbleLegend=new t(i,this),this.bubbleLegend.addToLegend(e.allItems))}function d(){var e=this.chart,t=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!t,this.ignoreSeries=t,e=0<=r(e),n.bubbleLegend.visible!==e&&(n.update({bubbleLegend:{enabled:e}}),n.bubbleLegend.visible=e),this.visible=t)}function p(e,t){var n,a,r,i=e.options.rtl,o=0;e.allItems.forEach((function(e,s){n=e.legendGroup.translateX,a=e._legendItemPos[1],((r=e.movementX)||i&&e.ranges)&&(r=i?n-e.options.maxSize/2:n+r,e.legendGroup.attr({translateX:r})),s>t[o].step&&o++,e.legendGroup.attr({translateY:Math.round(a+t[o].height/2)}),e._legendItemPos[1]=a+t[o].height/2}))}var m=[];n.compose=function(t,n,r){-1===m.indexOf(t)&&(m.push(t),i({legend:{bubbleLegend:e}}),l(t.prototype,"drawChartBox",a)),-1===m.indexOf(n)&&(m.push(n),o(n,"afterGetAllItems",u)),-1===m.indexOf(r)&&(m.push(r),o(r,"legendItemClick",d))}}(r||(r={})),r})),t(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();return(n=n.extend)((t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return a(n,t),n.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},n}(t.seriesTypes.scatter.prototype.pointClass)).prototype,{ttBelow:!1}),t})),t(e,"Series/Bubble/BubbleSeries.js",[e["Core/Axis/Axis.js"],e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s){var l=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),c=a.parse;a=r.noop;var u=o.seriesTypes;r=u.column;var d=u.scatter;u=s.addEvent;var p=s.arrayMax,m=s.arrayMin,b=s.clamp,h=s.extend,f=s.isNumber,g=s.merge,_=s.pick;return s=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.maxPxSize=void 0,t.minPxSize=void 0,t.options=void 0,t.points=void 0,t.radii=void 0,t.yData=void 0,t.zData=void 0,t}return l(n,e),n.prototype.animate=function(e){!e&&this.points.length<this.options.animationLimit&&this.points.forEach((function(e){var t=e.graphic;t&&t.width&&(this.hasRendered||t.attr({x:e.plotX,y:e.plotY,width:1,height:1}),t.animate(this.markerAttribs(e),this.options.animation))}),this)},n.prototype.getRadii=function(){var e=this,t=this.zData,n=this.yData,a=[],r=this.chart.bubbleZExtremes,i=this.getPxExtremes(),o=i.minPxSize,s=i.maxPxSize;if(!r){var l,c=Number.MAX_VALUE,u=-Number.MAX_VALUE;this.chart.series.forEach((function(t){t.bubblePadding&&(t.visible||!e.chart.options.chart.ignoreHiddenSeries)&&(t=t.getZExtremes())&&(c=Math.min(c||t.zMin,t.zMin),u=Math.max(u||t.zMax,t.zMax),l=!0)})),l?(r={zMin:c,zMax:u},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}var d=0;for(i=t.length;d<i;d++){var p=t[d];a.push(this.getRadius(r.zMin,r.zMax,o,s,p,n[d]))}this.radii=a},n.prototype.getRadius=function(e,t,n,a,r,i){var o=this.options,s="width"!==o.sizeBy,l=o.zThreshold,c=t-e,u=.5;if(null===i||null===r)return null;if(f(r)){if(o.sizeByAbsoluteValue&&(r=Math.abs(r-l),c=Math.max(t-l,Math.abs(e-l)),e=0),r<e)return n/2-1;0<c&&(u=(r-e)/c)}return s&&0<=u&&(u=Math.sqrt(u)),Math.ceil(n+u*(a-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(e,t){var n=this.options.marker.fillOpacity;return e=i.prototype.pointAttribs.call(this,e,t),1!==n&&(e.fill=c(e.fill).setOpacity(n).get("rgba")),e},n.prototype.translate=function(){e.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var e=this.data,t=this.radii,n=this.getPxExtremes().minPxSize,a=e.length;a--;){var r=e[a],i=t?t[a]:0;f(i)&&i>=n/2?(r.marker=h(r.marker,{radius:i,width:2*i,height:2*i}),r.dlBox={x:r.plotX-i,y:r.plotY-i,width:2*i,height:2*i}):r.shapeArgs=r.plotY=r.dlBox=void 0}},n.prototype.getPxExtremes=function(){var e=Math.min(this.chart.plotWidth,this.chart.plotHeight),t=function(t){if("string"==typeof t){var n=/%$/.test(t);t=parseInt(t,10)}return n?e*t/100:t},n=t(_(this.options.minSize,8));return{minPxSize:n,maxPxSize:t=Math.max(t(_(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var e=this.options,t=(this.zData||[]).filter(f);if(t.length){var n=_(e.zMin,b(m(t),!1===e.displayNegative?e.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(e=_(e.zMax,p(t)),f(n)&&f(e))return{zMin:n,zMax:e}}},n.compose=t.compose,n.defaultOptions=g(d.defaultOptions,{dataLabels:{formatter:function(){var e=this.series.chart.numberFormatter,t=this.point.z;return f(t)?e(t,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),n}(d),h(s.prototype,{alignDataLabel:r.prototype.alignDataLabel,applyZones:a,bubblePadding:!0,buildKDTree:a,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),u(s,"updatedData",(function(e){delete e.target.chart.bubbleZExtremes})),e.prototype.beforePadding=function(){var e,t=this,n=this.len,a=this.chart,r=0,i=n,o=this.isXAxis,s=o?"xData":"yData",l=this.min,c=this.max-l,u=n/c;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!a.options.chart.ignoreHiddenSeries)){e=t.allowZoomOutside=!0;var d=n[s];if(o&&n.getRadii(0,0,n),0<c)for(var p=d.length;p--;)if(f(d[p])&&t.dataMin<=d[p]&&d[p]<=t.max){var m=n.radii&&n.radii[p]||0;r=Math.min((d[p]-l)*u-m,r),i=Math.max((d[p]-l)*u+m,i)}}})),e&&0<c&&!this.logarithmic&&(i-=n,u*=(n+Math.max(0,r)-Math.min(i,n))/n,[["min","userMin",r],["max","userMax",i]].forEach((function(e){void 0===_(t.options[e[0]],t[e[1]])&&(t[e[0]]+=e[2]/u)})))},o.registerSeriesType("bubble",s),s})),t(e,"Series/ColumnRange/ColumnRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),a=e.seriesTypes;e=a.column.prototype.pointClass;var r=t.extend,i=t.isNumber;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.series=void 0,t.options=void 0,t.barX=void 0,t.pointWidth=void 0,t.shapeType=void 0,t}return n(t,e),t.prototype.isValid=function(){return i(this.low)},t}(a.arearange.prototype.pointClass),r(t.prototype,{setState:e.prototype.setState}),t})),t(e,"Series/ColumnRange/ColumnRangeSeries.js",[e["Series/ColumnRange/ColumnRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();t=t.noop;var i=n.seriesTypes,o=i.arearange,s=i.column,l=s.prototype,c=o.prototype,u=a.clamp,d=a.merge,p=a.pick;a=a.extend;var m={pointRange:null,marker:null,states:{hover:{halo:!1}}};return i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return r(t,e),t.prototype.setOptions=function(){return d(!0,arguments[0],{stacking:void 0}),c.setOptions.apply(this,arguments)},t.prototype.translate=function(){var e,t,n=this,a=n.yAxis,r=n.xAxis,i=r.startAngleRad,o=n.chart,s=n.xAxis.isRadial,c=Math.max(o.chartWidth,o.chartHeight)+999;l.translate.apply(n),n.points.forEach((function(l){var d=l.shapeArgs||{},m=n.options.minPointLength;l.plotHigh=t=u(a.translate(l.high,0,1,0,1),-c,c),l.plotLow=u(l.plotY,-c,c);var b=t,h=p(l.rectPlotY,l.plotY)-t;Math.abs(h)<m?(h+=m-=h,b-=m/2):0>h&&(b-=h*=-1),s?(e=l.barX+i,l.shapeType="arc",l.shapeArgs=n.polarArc(b+h,b,e,e+l.pointWidth)):(d.height=h,d.y=b,m=void 0===(m=d.x)?0:m,d=void 0===(d=d.width)?0:d,l.tooltipPos=o.inverted?[a.len+a.pos-o.plotLeft-b-h/2,r.len+r.pos-o.plotTop-m-d/2,h]:[r.left-o.plotLeft+m+d/2,a.pos-o.plotTop+b+h/2,h])}))},t.prototype.crispCol=function(){return l.crispCol.apply(this,arguments)},t.prototype.drawPoints=function(){return l.drawPoints.apply(this,arguments)},t.prototype.drawTracker=function(){return l.drawTracker.apply(this,arguments)},t.prototype.getColumnMetrics=function(){return l.getColumnMetrics.apply(this,arguments)},t.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},t.prototype.adjustForMissingColumns=function(){return l.adjustForMissingColumns.apply(this,arguments)},t.prototype.animate=function(){return l.animate.apply(this,arguments)},t.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},t.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},t.defaultOptions=d(s.defaultOptions,o.defaultOptions,m),t}(o),a(i.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:t,getSymbol:t,polarArc:function(){return l.polarArc.apply(this,arguments)},pointClass:e}),n.registerSeriesType("columnrange",i),i})),t(e,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=e.prototype,i=n.clamp,o=n.merge,s=n.pick;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.prototype.translate=function(){var e=this,t=e.chart,n=e.options,a=e.dense=2>e.closestPointRange*e.xAxis.transA;a=e.borderWidth=s(n.borderWidth,a?0:1);var o=e.yAxis,l=n.threshold,c=e.translatedThreshold=o.getThreshold(l),u=s(n.minPointLength,5),d=e.getColumnMetrics(),p=d.width,m=e.barW=Math.max(p,1+2*a),b=e.pointXOffset=d.offset;t.inverted&&(c-=.5),n.pointPadding&&(m=Math.ceil(m)),r.translate.apply(e),e.points.forEach((function(a){var r=s(a.yBottom,c),d=999+Math.abs(r),h=i(a.plotY,-d,o.len+d);d=a.plotX+b;var f,g=m/2,_=Math.min(h,r);r=Math.max(h,r)-_,a.barX=d,a.pointWidth=p,a.tooltipPos=t.inverted?[o.len+o.pos-t.plotLeft-h,e.xAxis.len-d-g,r]:[d+g,h+o.pos-t.plotTop,r],h=l+(a.total||a.y),"percent"===n.stacking&&(h=l+(0>a.y)?-100:100),h=o.toPixels(h,!0);var y=(f=t.plotHeight-h-(t.plotHeight-c))?g*(_-h)/f:0,M=f?g*(_+r-h)/f:0;f=d-y+g,y=d+y+g;var v=d+M+g;M=d-M+g;var z=_-u,O=_+r;0>a.y&&(z=_,O=_+r+u),t.inverted&&(M=g*(h-((v=o.width-_)-r))/(f=h-(o.width-c)),y=(f=d+g+(y=g*(h-v)/f))-2*y,v=d-M+g,M=d+M+g,z=_,O=_+r-u,0>a.y&&(O=_+r+u)),a.shapeType="path",a.shapeArgs={x:f,y:z,width:y-f,height:r,d:[["M",f,z],["L",y,z],["L",v,O],["L",M,O],["Z"]]}}))},n.defaultOptions=o(e.defaultOptions,{}),n}(e),t.registerSeriesType("columnpyramid",n),n})),t(e,"Series/ErrorBar/ErrorBarSeries.js",[e["Series/BoxPlot/BoxPlotSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=n.seriesTypes.arearange,o=a.merge;a=a.extend;var s=function(n){function a(){var e=null!==n&&n.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(a,n),a.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||t.prototype.getColumnMetrics.call(this)},a.prototype.drawDataLabels=function(){var e=this.pointValKey;i&&(i.prototype.drawDataLabels.call(this),this.data.forEach((function(t){t.y=t[e]})))},a.prototype.toYData=function(e){return[e.low,e.high]},a.defaultOptions=o(e.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),a}(e);return a(s.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),n.registerSeriesType("errorbar",s),s})),t(e,"Series/Gauge/GaugePoint.js",[e["Core/Series/SeriesRegistry.js"]],(function(e){var t=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.shapeArgs=void 0,t}return t(n,e),n.prototype.setState=function(e){this.state=e},n}(e.series.prototype.pointClass)})),t(e,"Series/Gauge/GaugeSeries.js",[e["Series/Gauge/GaugePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();t=t.noop;var i=n.series,o=n.seriesTypes.column,s=a.clamp,l=a.isNumber,c=a.extend,u=a.merge,d=a.pick,p=a.pInt;return c((a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.yAxis=void 0,t}return r(t,e),t.prototype.translate=function(){var e=this.yAxis,t=this.options,n=e.center;this.generatePoints(),this.points.forEach((function(a){var r=u(t.dial,a.dial),i=p(d(r.radius,"80%"))*n[2]/200,o=p(d(r.baseLength,"70%"))*i/100,c=p(d(r.rearLength,"10%"))*i/100,m=r.baseWidth||3,b=r.topWidth||1,h=t.overshoot,f=e.startAngleRad+e.translate(a.y,null,null,null,!0);(l(h)||!1===t.wrap)&&(h=l(h)?h/180*Math.PI:0,f=s(f,e.startAngleRad-h,e.endAngleRad+h)),f=180*f/Math.PI,a.shapeType="path",a.shapeArgs={d:r.path||[["M",-c,-m/2],["L",o,-m/2],["L",i,-b/2],["L",i,b/2],["L",o,m/2],["L",-c,m/2],["Z"]],translateX:n[0],translateY:n[1],rotation:f},a.plotX=n[0],a.plotY=n[1]}))},t.prototype.drawPoints=function(){var e=this,t=e.chart,n=e.yAxis.center,a=e.pivot,r=e.options,i=r.pivot,o=t.renderer;e.points.forEach((function(n){var a=n.graphic,i=n.shapeArgs,s=i.d,l=u(r.dial,n.dial);a?(a.animate(i),i.d=s):n.graphic=o[n.shapeType](i).attr({rotation:i.rotation,zIndex:1}).addClass("highcharts-dial").add(e.group),t.styledMode||n.graphic[a?"animate":"attr"]({stroke:l.borderColor||"none","stroke-width":l.borderWidth||0,fill:l.backgroundColor||"#000000"})})),a?a.animate({translateX:n[0],translateY:n[1]}):(e.pivot=o.circle(0,0,d(i.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(e.group),t.styledMode||e.pivot.attr({"stroke-width":i.borderWidth||0,stroke:i.borderColor||"#cccccc",fill:i.backgroundColor||"#000000"}))},t.prototype.animate=function(e){var t=this;e||t.points.forEach((function(e){var n=e.graphic;n&&(n.attr({rotation:180*t.yAxis.startAngleRad/Math.PI}),n.animate({rotation:e.shapeArgs.rotation},t.options.animation))}))},t.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup),i.prototype.render.call(this),this.group.clip(this.chart.clipRect)},t.prototype.setData=function(e,t){i.prototype.setData.call(this,e,!1),this.processData(),this.generatePoints(),d(t,!0)&&this.chart.redraw()},t.prototype.hasData=function(){return!!this.points.length},t.defaultOptions=u(i.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1}),t}(i)).prototype,{angular:!0,directTouch:!0,drawGraph:t,drawTracker:o.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:e,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",a),a})),t(e,"Series/PackedBubble/PackedBubblePoint.js",[e["Core/Chart/Chart.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();return function(n){function r(){var e=null!==n&&n.apply(this,arguments)||this;return e.degree=NaN,e.mass=NaN,e.radius=NaN,e.options=void 0,e.series=void 0,e.value=null,e}return a(r,n),r.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),t.prototype.destroy.apply(this,arguments)},r.prototype.firePointEvent=function(){var e=this.series.options;if(this.isParentNode&&e.parentNode){var n=e.allowPointSelect;e.allowPointSelect=e.parentNode.allowPointSelect,t.prototype.firePointEvent.apply(this,arguments),e.allowPointSelect=n}else t.prototype.firePointEvent.apply(this,arguments)},r.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,t.prototype.select.apply(this,arguments),n.getSelectedPoints=e.prototype.getSelectedPoints):t.prototype.select.apply(this,arguments)},r}(n.seriesTypes.bubble.prototype.pointClass)})),t(e,"Series/Networkgraph/DraggableNodes.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=n.addEvent;t.dragNodesMixin={onMouseDown:function(e,t){t=this.chart.pointer.normalize(t),e.fixedPosition={chartX:t.chartX,chartY:t.chartY,plotX:e.plotX,plotY:e.plotY},e.inDragMode=!0},onMouseMove:function(e,t){if(e.fixedPosition&&e.inDragMode){var n=this.chart,a=n.pointer.normalize(t);t=e.fixedPosition.chartX-a.chartX,a=e.fixedPosition.chartY-a.chartY;var r=void 0,i=void 0,o=n.graphLayoutsLookup;(5<Math.abs(t)||5<Math.abs(a))&&(r=e.fixedPosition.plotX-t,i=e.fixedPosition.plotY-a,n.isInsidePlot(r,i)&&(e.plotX=r,e.plotY=i,e.hasDragged=!0,this.redrawHalo(e),o.forEach((function(e){e.restartSimulation()}))))}},onMouseUp:function(e,t){e.fixedPosition&&(e.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),e.inDragMode=e.hasDragged=!1,this.options.fixedDraggable||delete e.fixedPosition)},redrawHalo:function(e){e&&this.halo&&this.halo.attr({d:e.haloPath(this.options.states.hover.halo.size)})}},a(e,"load",(function(){var e,t,n,r=this;r.container&&(e=a(r.container,"mousedown",(function(e){var i=r.hoverPoint;i&&i.series&&i.series.hasDraggableNodes&&i.series.options.draggable&&(i.series.onMouseDown(i,e),t=a(r.container,"mousemove",(function(e){return i&&i.series&&i.series.onMouseMove(i,e)})),n=a(r.container.ownerDocument,"mouseup",(function(e){return t(),n(),i&&i.series&&i.series.onMouseUp(i,e)})))}))),a(r,"destroy",(function(){e()}))}))})),t(e,"Series/Networkgraph/Integrations.js",[e["Core/Globals.js"]],(function(e){e.networkgraphIntegrations={verlet:{attractiveForceFunction:function(e,t){return(t-e)/e},repulsiveForceFunction:function(e,t){return(t-e)/e*(t>e?1:0)},barycenter:function(){var e=this.options.gravitationalConstant,t=this.barycenter.xFactor,n=this.barycenter.yFactor;t=(t-(this.box.left+this.box.width)/2)*e,n=(n-(this.box.top+this.box.height)/2)*e,this.nodes.forEach((function(e){e.fixedPosition||(e.plotX-=t/e.mass/e.degree,e.plotY-=n/e.mass/e.degree)}))},repulsive:function(e,t,n){t=t*this.diffTemperature/e.mass/e.degree,e.fixedPosition||(e.plotX+=n.x*t,e.plotY+=n.y*t)},attractive:function(e,t,n){var a=e.getMass(),r=-n.x*t*this.diffTemperature;t=-n.y*t*this.diffTemperature,e.fromNode.fixedPosition||(e.fromNode.plotX-=r*a.fromNode/e.fromNode.degree,e.fromNode.plotY-=t*a.fromNode/e.fromNode.degree),e.toNode.fixedPosition||(e.toNode.plotX+=r*a.toNode/e.toNode.degree,e.toNode.plotY+=t*a.toNode/e.toNode.degree)},integrate:function(e,t){var n=-e.options.friction,a=e.options.maxSpeed,r=(t.plotX+t.dispX-t.prevX)*n;n*=t.plotY+t.dispY-t.prevY;var i=Math.abs,o=i(r)/(r||1);i=i(n)/(n||1),r=o*Math.min(a,Math.abs(r)),n=i*Math.min(a,Math.abs(n)),t.prevX=t.plotX+t.dispX,t.prevY=t.plotY+t.dispY,t.plotX+=r,t.plotY+=n,t.temperature=e.vectorLength({x:r,y:n})},getK:function(e){return Math.pow(e.box.width*e.box.height/e.nodes.length,.5)}},euler:{attractiveForceFunction:function(e,t){return e*e/t},repulsiveForceFunction:function(e,t){return t*t/e},barycenter:function(){var e=this.options.gravitationalConstant,t=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach((function(a){if(!a.fixedPosition){var r=a.getDegree();r*=1+r/2,a.dispX+=(t-a.plotX)*e*r/a.degree,a.dispY+=(n-a.plotY)*e*r/a.degree}}))},repulsive:function(e,t,n,a){e.dispX+=n.x/a*t/e.degree,e.dispY+=n.y/a*t/e.degree},attractive:function(e,t,n,a){var r=e.getMass(),i=n.x/a*t;t*=n.y/a,e.fromNode.fixedPosition||(e.fromNode.dispX-=i*r.fromNode/e.fromNode.degree,e.fromNode.dispY-=t*r.fromNode/e.fromNode.degree),e.toNode.fixedPosition||(e.toNode.dispX+=i*r.toNode/e.toNode.degree,e.toNode.dispY+=t*r.toNode/e.toNode.degree)},integrate:function(e,t){t.dispX+=t.dispX*e.options.friction,t.dispY+=t.dispY*e.options.friction;var n=t.temperature=e.vectorLength({x:t.dispX,y:t.dispY});0!==n&&(t.plotX+=t.dispX/n*Math.min(Math.abs(t.dispX),e.temperature),t.plotY+=t.dispY/n*Math.min(Math.abs(t.dispY),e.temperature))},getK:function(e){return Math.pow(e.box.width*e.box.height/e.nodes.length,.3)}}}})),t(e,"Series/Networkgraph/QuadTree.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t){t=t.extend;var n=e.QuadTreeNode=function(e){this.box=e,this.boxSize=Math.min(e.width,e.height),this.nodes=[],this.body=this.isInternal=!1,this.isEmpty=!0};t(n.prototype,{insert:function(e,t){this.isInternal?this.nodes[this.getBoxPosition(e)].insert(e,t-1):(this.isEmpty=!1,this.body?t?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,t-1),this.body=!0),this.nodes[this.getBoxPosition(e)].insert(e,t-1)):((t=new n({top:e.plotX,left:e.plotY,width:.1,height:.1})).body=e,t.isInternal=!1,this.nodes.push(t)):(this.isInternal=!1,this.body=e))},updateMassAndCenter:function(){var e=0,t=0,n=0;this.isInternal?(this.nodes.forEach((function(a){a.isEmpty||(e+=a.mass,t+=a.plotX*a.mass,n+=a.plotY*a.mass)})),t/=e,n/=e):this.body&&(e=this.body.mass,t=this.body.plotX,n=this.body.plotY),this.mass=e,this.plotX=t,this.plotY=n},divideBox:function(){var e=this.box.width/2,t=this.box.height/2;this.nodes[0]=new n({left:this.box.left,top:this.box.top,width:e,height:t}),this.nodes[1]=new n({left:this.box.left+e,top:this.box.top,width:e,height:t}),this.nodes[2]=new n({left:this.box.left+e,top:this.box.top+t,width:e,height:t}),this.nodes[3]=new n({left:this.box.left,top:this.box.top+t,width:e,height:t})},getBoxPosition:function(e){var t=e.plotY<this.box.top+this.box.height/2;return e.plotX<this.box.left+this.box.width/2?t?0:3:t?1:2}}),t((e=e.QuadTree=function(e,t,a,r){this.box={left:e,top:t,width:a,height:r},this.maxDepth=25,this.root=new n(this.box,"0"),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}).prototype,{insertNodes:function(e){e.forEach((function(e){this.root.insert(e,this.maxDepth)}),this)},visitNodeRecursive:function(e,t,n){var a;e||(e=this.root),e===this.root&&t&&(a=t(e)),!1!==a&&(e.nodes.forEach((function(e){if(e.isInternal){if(t&&(a=t(e)),!1===a)return;this.visitNodeRecursive(e,t,n)}else e.body&&t&&t(e.body);n&&n(e)}),this),e===this.root&&n&&n(e))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,(function(e){e.updateMassAndCenter()}))}})})),t(e,"Series/Networkgraph/Layouts.js",[e["Core/Chart/Chart.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=t.setAnimation;t=a.addEvent;var i=a.clamp,o=a.defined,s=a.extend,l=a.isFunction,c=a.pick;n.layouts={"reingold-fruchterman":function(){}},s(n.layouts["reingold-fruchterman"].prototype,{init:function(e){this.options=e,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.networkgraphIntegrations[e.integration],this.enableSimulation=e.enableSimulation,this.attractiveForce=c(e.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(e.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=e.approximation},updateSimulation:function(e){this.enableSimulation=c(e,this.options.enableSimulation)},start:function(){var e=this.series,t=this.options;this.currentStep=0,this.forces=e[0]&&e[0].forces||[],this.chart=e[0]&&e[0].chart,this.initialRendering&&(this.initPositions(),e.forEach((function(e){e.finishedAnimating=!0,e.render()}))),this.setK(),this.resetSimulation(t),this.enableSimulation&&this.step()},step:function(){var e=this,t=this.series;e.currentStep++,"barnes-hut"===e.approximation&&(e.createQuadTree(),e.quadTree.calculateMassAndCenter()),e.forces.forEach((function(t){e[t+"Forces"](e.temperature)})),e.applyLimits(e.temperature),e.temperature=e.coolDown(e.startTemperature,e.diffTemperature,e.currentStep),e.prevSystemTemperature=e.systemTemperature,e.systemTemperature=e.getSystemTemperature(),e.enableSimulation&&(t.forEach((function(e){e.chart&&e.render()})),e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()?(e.simulation&&n.win.cancelAnimationFrame(e.simulation),e.simulation=n.win.requestAnimationFrame((function(){e.step()}))):e.simulation=!1)},stop:function(){this.simulation&&n.win.cancelAnimationFrame(this.simulation)},setArea:function(e,t,n,a){this.box={left:e,top:t,width:n,height:a}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(e,t){e.forEach((function(e){-1===t.indexOf(e)&&t.push(e)}))},removeElementFromCollection:function(e,t){-1!==(e=t.indexOf(e))&&t.splice(e,1)},clear:function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(e){this.maxIterations=c(e,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(e){this.initialRendering=e},createQuadTree:function(){this.quadTree=new n.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},initPositions:function(){var e=this.options.initialPositions;l(e)?(e.call(this),this.nodes.forEach((function(e){o(e.prevX)||(e.prevX=e.plotX),o(e.prevY)||(e.prevY=e.plotY),e.dispX=0,e.dispY=0}))):"circle"===e?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){var e=this.box,t=this.nodes,n=2*Math.PI/(t.length+1),a=t.filter((function(e){return 0===e.linksTo.length})),r=[],i={},o=this.options.initialPositionRadius;a.forEach((function(e){r.push(e),function e(t){t.linksFrom.forEach((function(t){i[t.toNode.id]||(i[t.toNode.id]=!0,r.push(t.toNode),e(t.toNode))}))}(e)})),r.length?t.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})):r=t,r.forEach((function(t,a){t.plotX=t.prevX=c(t.plotX,e.width/2+o*Math.cos(a*n)),t.plotY=t.prevY=c(t.plotY,e.height/2+o*Math.sin(a*n)),t.dispX=0,t.dispY=0}))},setRandomPositions:function(){function e(e){return(e=e*e/Math.PI)-Math.floor(e)}var t=this.box,n=this.nodes,a=n.length+1;n.forEach((function(n,r){n.plotX=n.prevX=c(n.plotX,t.width*e(r)),n.plotY=n.prevY=c(n.plotY,t.height*e(a+r)),n.dispX=0,n.dispY=0}))},force:function(e){this.integration[e].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter(),this.force("barycenter")},getBarycenter:function(){var e=0,t=0,n=0;return this.nodes.forEach((function(a){t+=a.plotX*a.mass,n+=a.plotY*a.mass,e+=a.mass})),this.barycenter={x:t,y:n,xFactor:t/e,yFactor:n/e}},barnesHutApproximation:function(e,t){var n=this.getDistXY(e,t),a=this.vectorLength(n);if(e!==t&&0!==a)if(t.isInternal)if(t.boxSize/a<this.options.theta&&0!==a){var r=this.repulsiveForce(a,this.k);this.force("repulsive",e,r*t.mass,n,a);var i=!1}else i=!0;else r=this.repulsiveForce(a,this.k),this.force("repulsive",e,r*t.mass,n,a);return i},repulsiveForces:function(){var e=this;"barnes-hut"===e.approximation?e.nodes.forEach((function(t){e.quadTree.visitNodeRecursive(null,(function(n){return e.barnesHutApproximation(t,n)}))})):e.nodes.forEach((function(t){e.nodes.forEach((function(n){if(t!==n&&!t.fixedPosition){var a=e.getDistXY(t,n),r=e.vectorLength(a);if(0!==r){var i=e.repulsiveForce(r,e.k);e.force("repulsive",t,i*n.mass,a,r)}}}))}))},attractiveForces:function(){var e,t,n,a=this;a.links.forEach((function(r){r.fromNode&&r.toNode&&(e=a.getDistXY(r.fromNode,r.toNode),0!==(t=a.vectorLength(e))&&(n=a.attractiveForce(t,a.k),a.force("attractive",r,n,e,t)))}))},applyLimits:function(){var e=this;e.nodes.forEach((function(t){t.fixedPosition||(e.integration.integrate(e,t),e.applyLimitBox(t,e.box),t.dispX=0,t.dispY=0)}))},applyLimitBox:function(e,t){var n=e.radius;e.plotX=i(e.plotX,t.left+n,t.width-n),e.plotY=i(e.plotY,t.top+n,t.height-n)},coolDown:function(e,t,n){return e-t*n},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce((function(e,t){return e+t.temperature}),0)},vectorLength:function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},getDistR:function(e,t){return e=this.getDistXY(e,t),this.vectorLength(e)},getDistXY:function(e,t){var n=e.plotX-t.plotX;return{x:n,y:e=e.plotY-t.plotY,absX:Math.abs(n),absY:Math.abs(e)}}}),t(e,"predraw",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(e){e.stop()}))})),t(e,"render",(function(){function e(e){e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()&&!e.enableSimulation&&(e.beforeStep&&e.beforeStep(),e.step(),n=!1,t=!0)}var t=!1;if(this.graphLayoutsLookup){for(r(!1,this),this.graphLayoutsLookup.forEach((function(e){e.start()}));!n;){var n=!0;this.graphLayoutsLookup.forEach(e)}t&&this.series.forEach((function(e){e&&e.layout&&e.render()}))}})),t(e,"beforePrint",(function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(e){e.updateSimulation(!1)})),this.redraw())})),t(e,"afterPrint",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(e){e.updateSimulation()})),this.redraw()}))})),t(e,"Series/PackedBubble/PackedBubbleComposition.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=t.layouts["reingold-fruchterman"],r=n.addEvent,i=n.extendClass,o=n.pick;e.prototype.getSelectedParentNodes=function(){var e=[];return this.series.forEach((function(t){t.parentNode&&t.parentNode.selected&&e.push(t.parentNode)})),e},t.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(e,t,n,a){return Math.min(e,(n.marker.radius+a.marker.radius)/2)},barycenter:function(){var e,t,n=this,a=n.options.gravitationalConstant,r=n.box,i=n.nodes;i.forEach((function(o){n.options.splitSeries&&!o.isParentNode?(e=o.series.parentNode.plotX,t=o.series.parentNode.plotY):(e=r.width/2,t=r.height/2),o.fixedPosition||(o.plotX-=(o.plotX-e)*a/(o.mass*Math.sqrt(i.length)),o.plotY-=(o.plotY-t)*a/(o.mass*Math.sqrt(i.length)))}))},repulsive:function(e,t,n,a){var r=t*this.diffTemperature/e.mass/e.degree;t=n.x*r,n=n.y*r,e.fixedPosition||(e.plotX+=t,e.plotY+=n),a.fixedPosition||(a.plotX-=t,a.plotY-=n)},integrate:t.networkgraphIntegrations.verlet.integrate,getK:t.noop},t.layouts.packedbubble=i(a,{beforeStep:function(){this.options.marker&&this.series.forEach((function(e){e&&e.calculateParentRadius()}))},isStable:function(){var e=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>e||0>=this.temperature},setCircularPositions:function(){var e,t,n=this,a=n.box,r=n.nodes,i=2*Math.PI/(r.length+1),s=n.options.initialPositionRadius;r.forEach((function(r,l){n.options.splitSeries&&!r.isParentNode?(e=r.series.parentNode.plotX,t=r.series.parentNode.plotY):(e=a.width/2,t=a.height/2),r.plotX=r.prevX=o(r.plotX,e+s*Math.cos(r.index||l*i)),r.plotY=r.prevY=o(r.plotY,t+s*Math.sin(r.index||l*i)),r.dispX=0,r.dispY=0}))},repulsiveForces:function(){var e,t,n,a=this,r=a.options.bubblePadding;a.nodes.forEach((function(i){i.degree=i.mass,i.neighbours=0,a.nodes.forEach((function(o){e=0,i===o||i.fixedPosition||!a.options.seriesInteraction&&i.series!==o.series||(n=a.getDistXY(i,o),0>(t=a.vectorLength(n)-(i.marker.radius+o.marker.radius+r))&&(i.degree+=.01,i.neighbours++,e=a.repulsiveForce(-t/Math.sqrt(i.neighbours),a.k,i,o)),a.force("repulsive",i,e*o.mass,n,o,t))}))}))},applyLimitBox:function(e){if(this.options.splitSeries&&!e.isParentNode&&this.options.parentNodeLimit){var t=this.getDistXY(e,e.series.parentNode),n=e.series.parentNodeRadius-e.marker.radius-this.vectorLength(t);0>n&&n>-2*e.marker.radius&&(e.plotX-=.01*t.x,e.plotY-=.01*t.y)}a.prototype.applyLimitBox.apply(this,arguments)}}),r(e,"beforeRedraw",(function(){this.allDataPoints&&delete this.allDataPoints}))})),t(e,"Series/PackedBubble/PackedBubbleSeries.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Series/PackedBubble/PackedBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r){var i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),o=e.parse,s=a.series,l=a.seriesTypes.bubble,c=r.addEvent,u=r.clamp,d=r.defined,p=r.extend,m=r.fireEvent,b=r.isArray,h=r.isNumber,f=r.merge,g=r.pick,_=t.dragNodesMixin;return e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.layout=void 0,t.options=void 0,t.points=void 0,t.xData=void 0,t}return i(n,e),n.prototype.accumulateAllPoints=function(e){var t,n,a=e.chart,r=[];for(t=0;t<a.series.length;t++)if((e=a.series[t]).is("packedbubble")&&e.visible||!a.options.chart.ignoreHiddenSeries)for(n=0;n<e.yData.length;n++)r.push([null,null,e.yData[n],e.index,n,{id:n,marker:{radius:0}}]);return r},n.prototype.addLayout=function(){var e=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,a=this.chart.graphLayoutsLookup,r=this.chart.options.chart;n||(this.chart.graphLayoutsStorage=n={},this.chart.graphLayoutsLookup=a=[]);var i=n[e.type];i||(e.enableSimulation=d(r.forExport)?!r.forExport:e.enableSimulation,n[e.type]=i=new t.layouts[e.type],i.init(e),a.splice(i.index,0,i)),this.layout=i,this.points.forEach((function(e){e.mass=2,e.degree=1,e.collisionNmb=1})),i.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),i.addElementsToCollection([this],i.series),i.addElementsToCollection(this.points,i.nodes)},n.prototype.addSeriesLayout=function(){var e=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,a=this.chart.graphLayoutsLookup,r=f(e,e.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),i=n[e.type+"-series"];i||(n[e.type+"-series"]=i=new t.layouts[e.type],i.init(r),a.splice(i.index,0,i)),this.parentNodeLayout=i,this.createParentNodes()},n.prototype.calculateParentRadius=function(){var e=this.seriesBox();this.parentNodeRadius=u(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,e?Math.max(Math.sqrt(Math.pow(e.width,2)+Math.pow(e.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},n.prototype.calculateZExtremes=function(){var e=this.options.zMin,t=this.options.zMax,n=1/0,a=-1/0;return e&&t?[e,t]:(this.chart.series.forEach((function(e){e.yData.forEach((function(e){d(e)&&(e>a&&(a=e),e<n&&(n=e))}))})),[e=g(e,n),t=g(t,a)])},n.prototype.checkOverlap=function(e,t){var n=e[0]-t[0],a=e[1]-t[1];return-.001>Math.sqrt(n*n+a*a)-Math.abs(e[2]+t[2])},n.prototype.createParentNodes=function(){var e,t=this,n=t.chart,a=t.parentNodeLayout,r=t.parentNode,i=t.pointClass,s=t.layout.options,l={radius:t.parentNodeRadius,lineColor:t.color,fillColor:o(t.color).brighten(.4).get()};s.parentNodeOptions&&(l=f(s.parentNodeOptions.marker||{},l)),t.parentNodeMass=0,t.points.forEach((function(e){t.parentNodeMass+=Math.PI*Math.pow(e.marker.radius,2)})),t.calculateParentRadius(),a.nodes.forEach((function(n){n.seriesIndex===t.index&&(e=!0)})),a.setArea(0,0,n.plotWidth,n.plotHeight),e||(r||(r=(new i).init(this,{mass:t.parentNodeRadius/2,marker:l,dataLabels:{inside:!1},states:{normal:{marker:l},hover:{marker:l}},dataLabelOnNull:!0,degree:t.parentNodeRadius,isParentNode:!0,seriesIndex:t.index})),t.parentNode&&(r.plotX=t.parentNode.plotX,r.plotY=t.parentNode.plotY),t.parentNode=r,a.addElementsToCollection([t],a.series),a.addElementsToCollection([r],a.nodes))},n.prototype.deferLayout=function(){var e=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),e.splitSeries&&this.addSeriesLayout())},n.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(e){e.removeElementFromCollection(this,e.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),s.prototype.destroy.apply(this,arguments)},n.prototype.drawDataLabels=function(){var e=this.options.dataLabels.textPath,t=this.points;s.prototype.drawDataLabels.apply(this,arguments),this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,s.prototype.drawDataLabels.apply(this,arguments),this.points=t,this.options.dataLabels.textPath=e)},n.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var e=this.chart,t=this.layout.options.parentNodeOptions.marker,n={fill:t.fillColor||o(this.color).brighten(.4).get(),opacity:t.fillOpacity,stroke:t.lineColor||this.color,"stroke-width":g(t.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,e.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),t=f({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},n),this.parentNode.graphic||(this.graph=this.parentNode.graphic=e.renderer.symbol(n.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(t)}},n.prototype.drawTracker=function(){var t=this.parentNode;if(e.prototype.drawTracker.call(this),t){var n=b(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[];t.graphic&&(t.graphic.element.point=t),n.forEach((function(e){e.div?e.div.point=t:e.element.point=t}))}},n.prototype.getPointRadius=function(){var e,t,n,a,r=this,i=r.chart,o=r.options,s=o.useSimulation,l=Math.min(i.plotWidth,i.plotHeight),c={},d=[],p=i.allDataPoints;["minSize","maxSize"].forEach((function(e){var t=parseInt(o[e],10),n=/%$/.test(o[e]);c[e]=n?l*t/100:t*Math.sqrt(p.length)})),i.minRadius=e=c.minSize/Math.sqrt(p.length),i.maxRadius=t=c.maxSize/Math.sqrt(p.length);var m=s?r.calculateZExtremes():[e,t];(p||[]).forEach((function(i,o){n=s?u(i[2],m[0],m[1]):i[2],0===(a=r.getRadius(m[0],m[1],e,t,n))&&(a=null),p[o][2]=a,d.push(a)})),r.radii=d},n.prototype.init=function(){return s.prototype.init.apply(this,arguments),this.eventsToUnbind.push(c(this,"updatedData",(function(){this.chart.series.forEach((function(e){e.type===this.type&&(e.isDirty=!0)}),this)}))),this},n.prototype.onMouseUp=function(e){if(e.fixedPosition&&!e.removed){var t,n=this.layout,a=this.parentNodeLayout;a&&n.options.dragBetweenSeries&&a.nodes.forEach((function(a){e&&e.marker&&a!==e.series.parentNode&&(t=n.getDistXY(e,a),0>n.vectorLength(t)-a.marker.radius-e.marker.radius&&(a.series.addPoint(f(e.options,{plotX:e.plotX,plotY:e.plotY}),!1),n.removeElementFromCollection(e,n.nodes),e.remove()))})),_.onMouseUp.apply(this,arguments)}},n.prototype.placeBubbles=function(e){var t,n=this.checkOverlap,a=this.positionBubble,r=[],i=1,o=0,s=0,l=[];if((e=e.sort((function(e,t){return t[2]-e[2]}))).length){if(r.push([[0,0,e[0][2],e[0][3],e[0][4]]]),1<e.length)for(r.push([[0,0-e[1][2]-e[0][2],e[1][2],e[1][3],e[1][4]]]),t=2;t<e.length;t++)e[t][2]=e[t][2]||1,n(l=a(r[i][o],r[i-1][s],e[t]),r[i][0])?(r.push([]),s=0,r[i+1].push(a(r[i][o],r[i][0],e[t])),i++,o=0):1<i&&r[i-1][s+1]&&n(l,r[i-1][s+1])?(s++,r[i].push(a(r[i][o],r[i-1][s],e[t])),o++):(o++,r[i].push(l));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),l=this.chart.rawPositions}return l},n.prototype.pointAttribs=function(e,t){var n=this.options,a=n.marker;return e&&e.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(a=n.layoutAlgorithm.parentNodeOptions.marker),n=a.fillOpacity,e=s.prototype.pointAttribs.call(this,e,t),1!==n&&(e["fill-opacity"]=n),e},n.prototype.positionBubble=function(e,t,n){var a=Math.sqrt,r=Math.asin,i=Math.acos,o=Math.pow,s=Math.abs;return a=a(o(e[0]-t[0],2)+o(e[1]-t[1],2)),i=i((o(a,2)+o(n[2]+t[2],2)-o(n[2]+e[2],2))/(2*(n[2]+t[2])*a)),r=r(s(e[0]-t[0])/a),e=(0>e[1]-t[1]?0:Math.PI)+i+r*(0>(e[0]-t[0])*(e[1]-t[1])?1:-1),[t[0]+(t[2]+n[2])*Math.sin(e),t[1]-(t[2]+n[2])*Math.cos(e),n[2],n[3],n[4]]},n.prototype.render=function(){var e=[];s.prototype.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(t){b(t.dataLabels)&&t.dataLabels.forEach((function(t){e.push(t)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(e))},n.prototype.resizeRadius=function(){var e,t,n,a=this.chart,r=a.rawPositions,i=Math.min,o=Math.max,s=a.plotLeft,l=a.plotTop,c=a.plotHeight,u=a.plotWidth,d=e=Number.POSITIVE_INFINITY,p=t=Number.NEGATIVE_INFINITY;for(n=0;n<r.length;n++){var m=r[n][2];d=i(d,r[n][0]-m),p=o(p,r[n][0]+m),e=i(e,r[n][1]-m),t=o(t,r[n][1]+m)}if(n=[p-d,t-e],i=i.apply([],[(u-s)/n[0],(c-l)/n[1]]),1e-10<Math.abs(i-1)){for(n=0;n<r.length;n++)r[n][2]*=i;this.placeBubbles(r)}else a.diffY=c/2+l-e-(t-e)/2,a.diffX=u/2+s-d-(p-d)/2},n.prototype.seriesBox=function(){var e,t=this.chart,n=Math.max,a=Math.min,r=[t.plotLeft,t.plotLeft+t.plotWidth,t.plotTop,t.plotTop+t.plotHeight];return this.data.forEach((function(t){d(t.plotX)&&d(t.plotY)&&t.marker.radius&&(e=t.marker.radius,r[0]=a(r[0],t.plotX-e),r[1]=n(r[1],t.plotX+e),r[2]=a(r[2],t.plotY-e),r[3]=n(r[3],t.plotY+e))})),h(r.width/r.height)?r:null},n.prototype.setVisible=function(){var e=this;s.prototype.setVisible.apply(e,arguments),e.parentNodeLayout&&e.graph?e.visible?(e.graph.show(),e.parentNode.dataLabel&&e.parentNode.dataLabel.show()):(e.graph.hide(),e.parentNodeLayout.removeElementFromCollection(e.parentNode,e.parentNodeLayout.nodes),e.parentNode.dataLabel&&e.parentNode.dataLabel.hide()):e.layout&&(e.visible?e.layout.addElementsToCollection(e.points,e.layout.nodes):e.points.forEach((function(t){e.layout.removeElementFromCollection(t,e.layout.nodes)})))},n.prototype.translate=function(){var e,t=this.chart,n=this.data,a=this.index,r=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),d(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),r)var i=t.allDataPoints;else i=this.placeBubbles(t.allDataPoints),this.options.draggable=!1;for(e=0;e<i.length;e++)if(i[e][3]===a){var o=n[i[e][4]],s=g(i[e][2],void 0);r||(o.plotX=i[e][0]-t.plotLeft+t.diffX,o.plotY=i[e][1]-t.plotTop+t.diffY),h(s)&&(o.marker=p(o.marker,{radius:s,width:2*s,height:2*s}),o.radius=s)}r&&this.deferLayout(),m(this,"afterTranslate")},n.defaultOptions=f(l.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var e=this.series.chart.numberFormatter,t=this.point.value;return h(t)?e(t,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}),n}(l),p(e.prototype,{alignDataLabel:s.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:_.onMouseDown,onMouseMove:_.onMouseMove,pointArrayMap:["value"],pointClass:n,pointValKey:"value",redrawHalo:_.redrawHalo,requireSorting:!1,searchPoint:t.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]}),a.registerSeriesType("packedbubble",e),e})),t(e,"Series/Polygon/PolygonSeries.js",[e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();e=e.noop;var i=n.series,o=n.seriesTypes,s=o.area,l=o.line,c=o.scatter;o=a.extend;var u=a.merge;return o((a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(t,e),t.prototype.getGraphPath=function(){for(var e=l.prototype.getGraphPath.call(this),t=e.length+1;t--;)(t===e.length||"M"===e[t][0])&&0<t&&e.splice(t,0,["Z"]);return this.areaPath=e},t.prototype.drawGraph=function(){this.options.fillColor=this.color,s.prototype.drawGraph.call(this)},t.defaultOptions=u(c.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),t}(c)).prototype,{type:"polygon",drawLegendSymbol:t.drawRectangle,drawTracker:i.prototype.drawTracker,setStackedPoints:e}),n.registerSeriesType("polygon",a),a})),t(e,"Core/Axis/WaterfallAxis.js",[e["Extensions/Stacking.js"],e["Core/Utilities.js"]],(function(e,t){var n,a=t.addEvent,r=t.objectEach;return function(t){function n(){var e=this.waterfall.stacks;e&&(e.changed=!1,delete e.alreadyChanged)}function i(){var e=this.options.stackLabels;e&&e.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function o(){for(var e=this.axes,t=this.series,n=t.length;n--;)t[n].options.stacking&&(e.forEach((function(e){e.isXAxis||(e.waterfall.stacks.changed=!0)})),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function t(e){this.axis=e,this.stacks={changed:!1}}return t.prototype.renderStackTotals=function(){var t=this.axis,n=t.waterfall.stacks,a=t.stacking&&t.stacking.stackTotalGroup,i=new e(t,t.options.stackLabels,!1,0,void 0);this.dummyStackItem=i,r(n,(function(t){r(t,(function(t){i.total=t.stackTotal,t.label&&(i.label=t.label),e.prototype.render.call(i,a),t.label=i.label,delete i.label}))})),i.total=null},t}();t.Composition=l,t.compose=function(e,t){a(e,"init",s),a(e,"afterBuildStacks",n),a(e,"afterRender",i),a(t,"beforeRedraw",o)}}(n||(n={})),n})),t(e,"Series/Waterfall/WaterfallPoint.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=n.isNumber;return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return a(n,e),n.prototype.getClassName=function(){var e=t.prototype.getClassName.call(this);return this.isSum?e+=" highcharts-sum":this.isIntermediateSum&&(e+=" highcharts-intermediate-sum"),e},n.prototype.isValid=function(){return r(this.y)||this.isSum||!!this.isIntermediateSum},n}(e.prototype.pointClass)})),t(e,"Series/Waterfall/WaterfallSeries.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Axis/WaterfallAxis.js"],e["Series/Waterfall/WaterfallPoint.js"]],(function(e,t,n,a,r,i){var o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),s=n.seriesTypes,l=s.column,c=s.line,u=a.arrayMax,d=a.arrayMin,p=a.correctFloat;s=a.extend;var m=a.isNumber,b=a.merge,h=a.objectEach,f=a.pick;return a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t.stackedYNeg=void 0,t.stackedYPos=void 0,t.stackKey=void 0,t.xData=void 0,t.yAxis=void 0,t.yData=void 0,t}return o(t,e),t.prototype.generatePoints=function(){var e;l.prototype.generatePoints.apply(this);var t=0;for(e=this.points.length;t<e;t++){var n=this.points[t],a=this.processedYData[t];(n.isIntermediateSum||n.isSum)&&(n.y=p(a))}},t.prototype.translate=function(){var e=this.options,t=this.yAxis,n=f(e.minPointLength,5),a=n/2,r=e.threshold||0,i=r,o=r;e=e.stacking;var s=t.waterfall.stacks[this.stackKey];l.prototype.translate.apply(this);for(var c=this.points,u=0;u<c.length;u++){var d=c[u],p=this.processedYData[u],b=d.shapeArgs;if(b&&m(p)){var h=[0,p],g=d.y;if(e){if(s){if(h=s[u],"overlap"===e){var _=h.stackState[h.stateIndex--];_=0<=g?_:_-g,Object.hasOwnProperty.call(h,"absolutePos")&&delete h.absolutePos,Object.hasOwnProperty.call(h,"absoluteNeg")&&delete h.absoluteNeg}else 0<=g?(_=h.threshold+h.posTotal,h.posTotal-=g):(_=h.threshold+h.negTotal,h.negTotal-=g,_-=g),!h.posTotal&&Object.hasOwnProperty.call(h,"absolutePos")&&(h.posTotal=h.absolutePos,delete h.absolutePos),!h.negTotal&&Object.hasOwnProperty.call(h,"absoluteNeg")&&(h.negTotal=h.absoluteNeg,delete h.absoluteNeg);d.isSum||(h.connectorThreshold=h.threshold+h.stackTotal),t.reversed?(p=0<=g?_-g:_+g,g=_):(p=_,g=_-g),d.below=p<=r,b.y=t.translate(p,!1,!0,!1,!0)||0,b.height=Math.abs(b.y-(t.translate(g,!1,!0,!1,!0)||0)),(g=t.waterfall.dummyStackItem)&&(g.x=u,g.label=s[u].label,g.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[u],this.stackedYPos[u]))}}else _=Math.max(i,i+g)+h[0],b.y=t.translate(_,!1,!0,!1,!0)||0,d.isSum?(b.y=t.translate(h[1],!1,!0,!1,!0)||0,b.height=Math.min(t.translate(h[0],!1,!0,!1,!0)||0,t.len)-b.y,d.below=h[1]<=r):d.isIntermediateSum?(0<=g?(p=h[1]+o,g=o):(p=o,g=h[1]+o),t.reversed&&(p^=g,p^=g^=p),b.y=t.translate(p,!1,!0,!1,!0)||0,b.height=Math.abs(b.y-Math.min(t.translate(g,!1,!0,!1,!0)||0,t.len)),o+=h[1],d.below=p<=r):(b.height=0<p?(t.translate(i,!1,!0,!1,!0)||0)-b.y:(t.translate(i,!1,!0,!1,!0)||0)-(t.translate(i-p,!1,!0,!1,!0)||0),i+=p,d.below=i<r),0>b.height&&(b.y+=b.height,b.height*=-1);d.plotY=b.y=Math.round(b.y||0)-this.borderWidth%2/2,b.height=Math.max(Math.round(b.height||0),.001),d.yBottom=b.y+b.height,b.height<=n&&!d.isNull?(b.height=n,b.y-=a,d.plotY=b.y,d.minPointLengthOffset=0>d.y?-a:a):(d.isNull&&(b.width=0),d.minPointLengthOffset=0),g=d.plotY+(d.negative?b.height:0),d.below&&(d.plotY+=b.height),d.tooltipPos&&(this.chart.inverted?d.tooltipPos[0]=t.len-g:d.tooltipPos[1]=g)}}},t.prototype.processData=function(t){var n,a,r,i,o,s=this.options,l=this.yData,c=s.data,u=l.length,d=s.threshold||0;for(o=a=n=r=i=0;o<u;o++){var m=l[o],b=c&&c[o]?c[o]:{};"sum"===m||b.isSum?l[o]=p(a):"intermediateSum"===m||b.isIntermediateSum?(l[o]=p(n),n=0):(a+=m,n+=m),r=Math.min(a,r),i=Math.max(a,i)}e.prototype.processData.call(this,t),s.stacking||(this.dataMin=r+d,this.dataMax=i)},t.prototype.toYData=function(e){return e.isSum?"sum":e.isIntermediateSum?"intermediateSum":e.y},t.prototype.updateParallelArrays=function(t,n){e.prototype.updateParallelArrays.call(this,t,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},t.prototype.pointAttribs=function(e,t){var n=this.options.upColor;return n&&!e.options.color&&(e.color=0<e.y?n:null),delete(e=l.prototype.pointAttribs.call(this,e,t)).dashstyle,e},t.prototype.getGraphPath=function(){return[["M",0,0]]},t.prototype.getCrispPath=function(){var e,t=this.data,n=this.yAxis,a=t.length,r=Math.round(this.graph.strokeWidth())%2/2,i=Math.round(this.borderWidth)%2/2,o=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,c=[];for(e=1;e<a;e++){var u=t[e].shapeArgs,d=t[e-1],p=t[e-1].shapeArgs,m=n.waterfall.stacks[this.stackKey],b=0<d.y?-p.height:0;m&&p&&u&&(m=m[e-1],l?(m=m.connectorThreshold,b=Math.round(n.translate(m,0,1,0,1)+(s?b:0))-r):b=p.y+d.minPointLengthOffset+i-r,c.push(["M",(p.x||0)+(o?0:p.width||0),b],["L",(u.x||0)+(o&&u.width||0),b])),p&&c.length&&(!l&&0>d.y&&!s||0<d.y&&s)&&((d=c[c.length-2])&&"number"==typeof d[2]&&(d[2]+=p.height||0),(d=c[c.length-1])&&"number"==typeof d[2]&&(d[2]+=p.height||0))}return c},t.prototype.drawGraph=function(){c.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},t.prototype.setStackedPoints=function(){function e(e,t,n,a){if(M)for(;n<M;n++)f.stackState[n]+=a;else f.stackState[0]=e,M=f.stackState.length;f.stackState.push(f.stackState[M-1]+t)}var t,n,a,r=this.options,i=this.yAxis.waterfall.stacks,o=r.threshold,s=o||0,l=s,c=this.stackKey,u=this.xData,d=u.length;this.yAxis.stacking.usePercentage=!1;var p=n=a=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var m=i.changed;(t=i.alreadyChanged)&&0>t.indexOf(c)&&(m=!0),i[c]||(i[c]={}),t=i[c];for(var b=0;b<d;b++){var h=u[b];t[h]&&!m||(t[h]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:m&&t[h]?t[h].label:void 0});var f=t[h],g=this.yData[b];0<=g?f.posTotal+=g:f.negTotal+=g;var _=r.data[b];h=f.absolutePos=f.posTotal;var y=f.absoluteNeg=f.negTotal;f.stackTotal=h+y;var M=f.stackState.length;_&&_.isIntermediateSum?(e(a,n,0,a),a=n,n=o,s^=l,s^=l^=s):_&&_.isSum?(e(o,p,M),s=o):(e(s,g,0,p),_&&(p+=g,n+=g)),f.stateIndex++,f.threshold=s,s+=f.stackTotal}i.changed=!1,i.alreadyChanged||(i.alreadyChanged=[]),i.alreadyChanged.push(c)}},t.prototype.getExtremes=function(){var e=this.options.stacking;if(e){var t=this.yAxis;t=t.waterfall.stacks;var n=this.stackedYNeg=[],a=this.stackedYPos=[];return h(t[this.stackKey],"overlap"===e?function(e){n.push(d(e.stackState)),a.push(u(e.stackState))}:function(e){n.push(e.negTotal+e.threshold),a.push(e.posTotal+e.threshold)}),{dataMin:d(n),dataMax:u(a)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},t.defaultOptions=b(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),t}(l),s(a.prototype,{getZonesGraphs:c.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:i}),n.registerSeriesType("waterfall",a),r.compose(e,t),a})),t(e,"Extensions/Polar.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Extensions/Pane.js"],e["Core/Pointer.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l){var c=e.animObject;o=o.seriesTypes;var u=l.addEvent,d=l.defined,p=l.find,m=l.isNumber,b=l.pick,h=l.splat,f=l.uniqueKey;e=l.wrap;var g=i.prototype;r=r.prototype,g.searchPointByAngle=function(e){var t=this.chart,n=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(e.chartX-n[0]-t.plotLeft,e.chartY-n[1]-t.plotTop)})},g.getConnectors=function(e,t,n,a){var r=a?1:0,i=0<=t&&t<=e.length-1?t:0>t?e.length-1+t:0;t=0>i-1?e.length-(1+r):i-1,r=i+1>e.length-1?r:i+1;var o=e[t];r=e[r];var s=o.plotX;o=o.plotY;var l=r.plotX,c=r.plotY;s=(1.5*(r=e[i].plotX)+s)/2.5,o=(1.5*(i=e[i].plotY)+o)/2.5,l=(1.5*r+l)/2.5;var u=(1.5*i+c)/2.5;c=Math.sqrt(Math.pow(s-r,2)+Math.pow(o-i,2));var d=Math.sqrt(Math.pow(l-r,2)+Math.pow(u-i,2));return s=Math.atan2(o-i,s-r),u=Math.PI/2+(s+Math.atan2(u-i,l-r))/2,Math.abs(s-u)>Math.PI/2&&(u-=Math.PI),s=r+Math.cos(u)*c,o=i+Math.sin(u)*c,r={rightContX:l=r+Math.cos(Math.PI+u)*d,rightContY:u=i+Math.sin(Math.PI+u)*d,leftContX:s,leftContY:o,plotX:r,plotY:i},n&&(r.prevPointCont=this.getConnectors(e,t,!1,a)),r},g.toXY=function(e){var t=this.chart,n=this.xAxis,a=this.yAxis,r=e.plotX,i=e.plotY,o=e.series,s=t.inverted,l=e.y,c=s?r:a.len-i;s&&o&&!o.isRadialBar&&(e.plotY=i="number"==typeof l&&a.translate(l)||0),e.rectPlotX=r,e.rectPlotY=i,a.center&&(c+=a.center[3]/2),m(i)&&(a=s?a.postTranslate(i,c):n.postTranslate(r,c),e.plotX=e.polarPlotX=a.x-t.plotLeft,e.plotY=e.polarPlotY=a.y-t.plotTop),this.kdByAngle?(0>(t=(r/Math.PI*180+n.pane.options.startAngle)%360)&&(t+=360),e.clientX=t):e.clientX=e.plotX},o.spline&&(e(o.spline.prototype,"getPointSpline",(function(e,t,n,a){return this.chart.polar?a?(t=(e=this.getConnectors(t,a,!0,this.connectEnds)).prevPointCont&&e.prevPointCont.rightContX,n=e.prevPointCont&&e.prevPointCont.rightContY,e=["C",m(t)?t:e.plotX,m(n)?n:e.plotY,m(e.leftContX)?e.leftContX:e.plotX,m(e.leftContY)?e.leftContY:e.plotY,e.plotX,e.plotY]):e=["M",n.plotX,n.plotY]:e=e.call(this,t,n,a),e})),o.areasplinerange&&(o.areasplinerange.prototype.getPointSpline=o.spline.prototype.getPointSpline)),u(i,"afterTranslate",(function(){var e=this.chart;if(e.polar&&this.xAxis){if((this.kdByAngle=e.tooltip&&e.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(var t=this.points,a=t.length;a--;)this.toXY(t[a]),!e.hasParallelCoordinates&&!this.yAxis.reversed&&t[a].y<this.yAxis.min&&(t[a].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(u(this,"afterRender",(function(){if(e.polar){var t=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2}):this.clipCircle=e.renderer.clipCircle(t[0],t[1],t[2]/2,t[3]/2),this.group.clip(this.clipCircle),this.setClip=n.noop}}))))}}),{order:2}),e(o.line.prototype,"getGraphPath",(function(e,t){var n,a=this;if(this.chart.polar){for(t=t||this.points,n=0;n<t.length;n++)if(!t[n].isNull){var r=n;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,t.splice(t.length,0,t[r]);var i=!0}t.forEach((function(e){void 0===e.polarPlotY&&a.toXY(e)}))}return n=e.apply(this,[].slice.call(arguments,1)),i&&t.pop(),n}));var _=function(e,t){var a,r,i,o,s=this,l=this.chart,u=this.options.animation,d=this.group,p=this.markerGroup,m=this.xAxis&&this.xAxis.center,h=l.plotLeft,f=l.plotTop;if(l.polar){if(s.isRadialBar)t||(s.startAngleRad=b(s.translatedThreshold,s.xAxis.startAngleRad),n.seriesTypes.pie.prototype.animate.call(s,t));else if(l.renderer.isSVG)if(u=c(u),s.is("column")){if(!t){var g=m[3]/2;s.points.forEach((function(e){a=e.graphic,i=(r=e.shapeArgs)&&r.r,o=r&&r.innerR,a&&r&&(a.attr({r:g,innerR:g}),a.animate({r:i,innerR:o},s.options.animation))}))}}else t?(e={translateX:m[0]+h,translateY:m[1]+f,scaleX:.001,scaleY:.001},d.attr(e),p&&p.attr(e)):(e={translateX:h,translateY:f,scaleX:1,scaleY:1},d.animate(e,u),p&&p.animate(e,u))}else e.call(this,t)};if(e(g,"animate",_),o.column){var y=o.arearange.prototype;(o=o.column.prototype).polarArc=function(e,t,n,a){var r=this.xAxis.center,i=this.yAxis.len,o=r[3]/2;return t=i-t+o,e=i-b(e,i)+o,this.yAxis.reversed&&(0>t&&(t=o),0>e&&(e=o)),{x:r[0],y:r[1],r:t,innerR:e,start:n,end:a}},e(o,"animate",_),e(o,"translate",(function(e){var t=this.options,n=t.stacking,a=this.chart,r=this.xAxis,i=this.yAxis,o=i.reversed,s=i.center,c=r.startAngleRad,u=r.endAngleRad-c;if(this.preventPostTranslate=!0,e.call(this),r.isRadial){r=(e=this.points).length;var p=i.translate(i.min),b=i.translate(i.max);if(t=t.threshold||0,a.inverted&&m(t)){var h=i.translate(t);d(h)&&(0>h?h=0:h>u&&(h=u),this.translatedThreshold=h+c)}for(;r--;){var f=(t=e[r]).barX,g=t.x,_=t.y;if(t.shapeType="arc",a.inverted){if(t.plotY=i.translate(_),n&&i.stacking){if(_=i.stacking.stacks[(0>_?"-":"")+this.stackKey],this.visible&&_&&_[g]&&!t.isNull){var y=_[g].points[this.getStackIndicator(void 0,g,this.index).key],M=i.translate(y[0]);y=i.translate(y[1]),d(M)&&(M=l.clamp(M,0,u))}}else M=h,y=t.plotY;M>y&&(y=[M,M=y][0]),o?y>p?y=p:M<b?M=b:(M>p||y<b)&&(M=y=u):M<p?M=p:y>b?y=b:(y<p||M>b)&&(M=y=0),i.min>i.max&&(M=y=o?u:0),M+=c,y+=c,s&&(t.barX=f+=s[3]/2),g=Math.max(f,0),_=Math.max(f+t.pointWidth,0),t.shapeArgs={x:s&&s[0],y:s&&s[1],r:_,innerR:g,start:M,end:y},t.opacity=M===y?0:void 0,t.plotY=(d(this.translatedThreshold)&&(M<this.translatedThreshold?M:y))-c}else M=f+c,t.shapeArgs=this.polarArc(t.yBottom,t.plotY,M,M+t.pointWidth);this.toXY(t),a.inverted?(f=i.postTranslate(t.rectPlotY,f+t.pointWidth/2),t.tooltipPos=[f.x-a.plotLeft,f.y-a.plotTop]):t.tooltipPos=[t.plotX,t.plotY],s&&(t.ttBelow=t.plotY>s[1])}}})),o.findAlignments=function(e,t){return null===t.align&&(t.align=20<e&&160>e?"left":200<e&&340>e?"right":"center"),null===t.verticalAlign&&(t.verticalAlign=45>e||315<e?"bottom":135<e&&225>e?"top":"middle"),t},y&&(y.findAlignments=o.findAlignments),e(o,"alignDataLabel",(function(e,t,n,a,r,i){var o=this.chart,s=b(a.inside,!!this.options.stacking);o.polar?(e=t.rectPlotX/Math.PI*180,o.inverted?(this.forceDL=o.isInsidePlot(t.plotX,Math.round(t.plotY)),s&&t.shapeArgs?(r=t.shapeArgs,r={x:(r=this.yAxis.postTranslate(((r.start||0)+(r.end||0))/2-this.xAxis.startAngleRad,t.barX+t.pointWidth/2)).x-o.plotLeft,y:r.y-o.plotTop}):t.tooltipPos&&(r={x:t.tooltipPos[0],y:t.tooltipPos[1]}),a.align=b(a.align,"center"),a.verticalAlign=b(a.verticalAlign,"middle")):this.findAlignments&&(a=this.findAlignments(e,a)),g.alignDataLabel.call(this,t,n,a,r,i),this.isRadialBar&&t.shapeArgs&&t.shapeArgs.start===t.shapeArgs.end&&n.hide(!0)):e.call(this,t,n,a,r,i)}))}e(r,"getCoordinates",(function(e,t){var n=this.chart,a={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach((function(e){var r=e.isXAxis,i=e.center;if("colorAxis"!==e.coll){var o=t.chartX-i[0]-n.plotLeft;i=t.chartY-i[1]-n.plotTop,a[r?"xAxis":"yAxis"].push({axis:e,value:e.translate(r?Math.PI-Math.atan2(o,i):Math.sqrt(Math.pow(o,2)+Math.pow(i,2)),!0)})}})):a=e.call(this,t),a})),s.prototype.clipCircle=function(e,t,n,a){var r=f(),i=this.createElement("clipPath").attr({id:r}).add(this.defs);return(e=a?this.arc(e,t,n,a,0,2*Math.PI).add(i):this.circle(e,t,n).add(i)).id=r,e.clipPath=i,e},u(t,"getAxes",(function(){this.pane||(this.pane=[]),this.options.pane=h(this.options.pane),this.options.pane.forEach((function(e){new a(e,this)}),this)})),u(t,"afterDrawChartBox",(function(){this.pane.forEach((function(e){e.render()}))})),u(i,"afterInit",(function(){var e=this.chart;e.inverted&&e.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))})),e(t.prototype,"get",(function(e,t){return p(this.pane||[],(function(e){return e.options.id===t}))||e.call(this,t)}))})),t(e,"masters/highcharts-more.src.js",[e["Core/Globals.js"],e["Core/Axis/RadialAxis.js"],e["Series/Bubble/BubbleSeries.js"]],(function(e,t,n){t.compose(e.Axis,e.Tick),n.compose(e.Chart,e.Legend,e.Series)}))}))},function(e,t,n){"use strict";var a=n(144);var r=function(e){function t(e,t,a){var r=t.trim().split(b);t=r;var i=r.length,o=e.length;switch(o){case 0:case 1:var s=0;for(e=0===o?"":e[0]+" ";s<i;++s)t[s]=n(e,t[s],a).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var c=0;c<o;++c)t[l++]=n(e[c]+" ",r[s],a).trim()}return t}function n(e,t,n){var a=t.charCodeAt(0);switch(33>a&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(h,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,i){var o=e+";",s=2*t+3*n+4*i;if(944===s){e=o.indexOf(":",9)+1;var l=o.substring(e,o.length-1).trim();return l=o.substring(0,e).trim()+l+";",1===q||2===q&&r(l,1)?"-webkit-"+l+l:l}if(0===q||2===q&&!r(o,1))return o;switch(s){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(A,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(l=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+l+o;case 1005:return p.test(o)?o.replace(d,":-webkit-")+o.replace(d,":-moz-")+o:o;case 1e3:switch(t=(l=o.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=o.replace(y,"tb");break;case 232:l=o.replace(y,"tb-rl");break;case 220:l=o.replace(y,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+l+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,s=(l=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+o.replace(l,"-webkit-"+l)+";"+o.replace(l,"-ms-"+l+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return l=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+l+"-ms-flex-"+l+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(z,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(z,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):o.replace(l,"-webkit-"+l)+o.replace(l,"-moz-"+l.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+i&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+o}return o}function r(e,t){var n=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),L(2!==t?a:a.replace(O,"$1"),n,t)}function i(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(v," or ($1)").substring(4):"("+t+")"}function o(e,t,n,a,r,i,o,s,c,u){for(var d,p=0,m=t;p<W;++p)switch(d=j[p].call(l,e,m,n,a,r,i,o,s,c,u)){case void 0:case!1:case!0:case null:break;default:m=d}if(m!==t)return m}function s(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!=typeof e?q=1:(q=2,L=e):q=0),s}function l(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<W){var l=o(-1,n,s,s,w,x,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var d=function e(n,s,l,d,p){for(var m,b,h,y,v,z=0,O=0,k=0,A=0,j=0,L=0,T=h=m=0,C=0,R=0,D=0,P=0,B=l.length,I=B-1,$="",F="",X="",Y="";C<B;){if(b=l.charCodeAt(C),C===I&&0!==O+A+k+z&&(0!==O&&(b=47===O?10:47),A=k=z=0,B++,I++),0===O+A+k+z){if(C===I&&(0<R&&($=$.replace(u,"")),0<$.trim().length)){switch(b){case 32:case 9:case 59:case 13:case 10:break;default:$+=l.charAt(C)}b=59}switch(b){case 123:for(m=($=$.trim()).charCodeAt(0),h=1,P=++C;C<B;){switch(b=l.charCodeAt(C)){case 123:h++;break;case 125:h--;break;case 47:switch(b=l.charCodeAt(C+1)){case 42:case 47:e:{for(T=C+1;T<I;++T)switch(l.charCodeAt(T)){case 47:if(42===b&&42===l.charCodeAt(T-1)&&C+2!==T){C=T+1;break e}break;case 10:if(47===b){C=T+1;break e}}C=T}}break;case 91:b++;case 40:b++;case 34:case 39:for(;C++<I&&l.charCodeAt(C)!==b;);}if(0===h)break;C++}switch(h=l.substring(P,C),0===m&&(m=($=$.replace(c,"").trim()).charCodeAt(0)),m){case 64:switch(0<R&&($=$.replace(u,"")),b=$.charCodeAt(1)){case 100:case 109:case 115:case 45:R=s;break;default:R=E}if(P=(h=e(s,R,h,b,p+1)).length,0<W&&(v=o(3,h,R=t(E,$,D),s,w,x,P,b,p,d),$=R.join(""),void 0!==v&&0===(P=(h=v.trim()).length)&&(b=0,h="")),0<P)switch(b){case 115:$=$.replace(M,i);case 100:case 109:case 45:h=$+"{"+h+"}";break;case 107:h=($=$.replace(f,"$1 $2"))+"{"+h+"}",h=1===q||2===q&&r("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=$+h,112===d&&(F+=h,h="")}else h="";break;default:h=e(s,t(s,$,D),h,d,p+1)}X+=h,h=D=R=T=m=0,$="",b=l.charCodeAt(++C);break;case 125:case 59:if(1<(P=($=(0<R?$.replace(u,""):$).trim()).length))switch(0===T&&(m=$.charCodeAt(0),45===m||96<m&&123>m)&&(P=($=$.replace(" ",":")).length),0<W&&void 0!==(v=o(1,$,s,n,w,x,F.length,d,p,d))&&0===(P=($=v.trim()).length)&&($="\0\0"),m=$.charCodeAt(0),b=$.charCodeAt(1),m){case 0:break;case 64:if(105===b||99===b){Y+=$+l.charAt(C);break}default:58!==$.charCodeAt(P-1)&&(F+=a($,m,b,$.charCodeAt(2)))}D=R=T=m=0,$="",b=l.charCodeAt(++C)}}switch(b){case 13:case 10:47===O?O=0:0===1+m&&107!==d&&0<$.length&&(R=1,$+="\0"),0<W*S&&o(0,$,s,n,w,x,F.length,d,p,d),x=1,w++;break;case 59:case 125:if(0===O+A+k+z){x++;break}default:switch(x++,y=l.charAt(C),b){case 9:case 32:if(0===A+z+O)switch(j){case 44:case 58:case 9:case 32:y="";break;default:32!==b&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===A+O+z&&(R=D=1,y="\f"+y);break;case 108:if(0===A+O+z+N&&0<T)switch(C-T){case 2:112===j&&58===l.charCodeAt(C-3)&&(N=j);case 8:111===L&&(N=L)}break;case 58:0===A+O+z&&(T=C);break;case 44:0===O+k+A+z&&(R=1,y+="\r");break;case 34:case 39:0===O&&(A=A===b?0:0===A?b:A);break;case 91:0===A+O+k&&z++;break;case 93:0===A+O+k&&z--;break;case 41:0===A+O+z&&k--;break;case 40:if(0===A+O+z){if(0===m)switch(2*j+3*L){case 533:break;default:m=1}k++}break;case 64:0===O+k+A+z+T+h&&(h=1);break;case 42:case 47:if(!(0<A+z+k))switch(O){case 0:switch(2*b+3*l.charCodeAt(C+1)){case 235:O=47;break;case 220:P=C,O=42}break;case 42:47===b&&42===j&&P+2!==C&&(33===l.charCodeAt(P+2)&&(F+=l.substring(P,C+1)),y="",O=0)}}0===O&&($+=y)}L=j,j=b,C++}if(0<(P=F.length)){if(R=s,0<W&&(void 0!==(v=o(2,F,R,n,w,x,P,d,p,d))&&0===(F=v).length))return Y+F+X;if(F=R.join(",")+"{"+F+"}",0!=q*N){switch(2!==q||r(F,2)||(N=0),N){case 111:F=F.replace(_,":-moz-$1")+F;break;case 112:F=F.replace(g,"::-webkit-input-$1")+F.replace(g,"::-moz-$1")+F.replace(g,":-ms-input-$1")+F}N=0}}return Y+F+X}(E,s,n,0,0);return 0<W&&(void 0!==(l=o(-2,d,s,s,w,x,d.length,0,0,0))&&(d=l)),"",N=0,x=w=1,d}var c=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,m=/([,: ])(transform)/g,b=/,\r+?/g,h=/([\t\r\n ])*\f?&/g,f=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,_=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,M=/\(\s*(.*)\s*\)/g,v=/([\s\S]*?);/g,z=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,x=1,w=1,N=0,q=1,E=[],j=[],W=0,L=null,S=0;return l.use=function e(t){switch(t){case void 0:case null:W=j.length=0;break;default:if("function"==typeof t)j[W++]=t;else if("object"==typeof t)for(var n=0,a=t.length;n<a;++n)e(t[n]);else S=0|!!t}return e},l.set=s,void 0!==e&&s(e),l};function i(e){e&&o.current.insert(e+"}")}var o={current:null},s=function(e,t,n,a,r,s,l,c,u,d){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return o.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===c)return t+"/*|*/";break;case 3:switch(c){case 102:case 112:return o.current.insert(n[0]+t),"";default:return t+(0===d?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(i)}};t.a=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new r(t);var l,c={};l=e.container||document.head;var u,d=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(d,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){c[e]=!0})),e.parentNode!==l&&l.appendChild(e)})),i.use(e.stylisPlugins)(s),u=function(e,t,n,a){var r=t.name;o.current=n,i(e,t.styles),a&&(p.inserted[r]=!0)};var p={key:n,sheet:new a.a({key:n,container:l,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:c,registered:{},insert:u};return p}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(33),u=n(13),d=n(15);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,p=e.avatar,m=void 0!==p&&p,b=e.avatarUrl,h=e.className,f=e.dark,g=void 0!==f&&f,_=e.data,y=void 0===_?{}:_,M=e.id,v=e.name,z=e.orientation,O=void 0===z?"horizontal":z,k=e.size,A=void 0===k?"sm":k,x=e.subtitle,w=e.territory,N=void 0===w?"":w,q=e.title,E=void 0===q?"":q,j=Object(s.c)(y),W=Object(s.a)(i),L=o()(Object(s.b)("pb_user_kit",n,O,A),Object(l.c)(e),h),S=m||b;return r.a.createElement("div",Object.assign({},W,j,{className:L,id:M}),S&&r.a.createElement(c.a,{imageUrl:b,name:v,size:A,status:null}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(d.a,{dark:g,size:"lg"==A?3:4,text:v}),r.a.createElement(u.a,{color:"light",dark:g,variant:null},""===N?E:"".concat(N," • ").concat(E)),"string"==typeof x&&r.a.createElement(u.a,{color:"light",dark:g,text:x,variant:null}),"string"!=typeof x&&r.a.createElement(r.a.Fragment,null,x)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(33),u=n(8);t.a=function(e){var t=e.action,n=void 0===t?"add":t,a=e.aria,i=void 0===a?{}:a,d=e.linkAriaLabel,p=e.className,m=e.dark,b=void 0!==m&&m,h=e.data,f=void 0===h?{}:h,g=e.id,_=e.imageAlt,y=void 0===_?"":_,M=e.imageUrl,v=e.linkUrl,z=e.name,O=e.onClick,k=e.placement,A=void 0===k?"bottom left":k,x=e.size,w=void 0===x?"md":x,N=Object(s.a)(i),q=Object(s.c)(f),E=o()(Object(s.b)("pb_avatar_action_button_kit",n,A,w),Object(l.c)(e),p);return r.a.createElement("div",Object.assign({},N,q,{className:E,id:g}),r.a.createElement("a",{"aria-label":d,href:v,onClick:O},r.a.createElement(c.a,{imageAlt:y,imageUrl:M,name:z,size:w}),r.a.createElement("div",{className:"icon ".concat(b?"dark":"")},r.a.createElement(u.a,{dark:b,icon:{add:"plus-circle",remove:"times-circle"}[n]}))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(15);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,d=e.className,p=e.dark,m=void 0!==p&&p,b=e.data,h=void 0===b?{}:b,f=e.count,g=e.id,_=e.title,y=e.size,M=void 0===y?"sm":y,v=Object(s.a)(i),z=Object(s.c)(h),O=o()(Object(s.b)("pb_title_count_kit",n,M),Object(l.c)(e),d),k=f.toLocaleString();return r.a.createElement("div",Object.assign({},v,z,{className:O,id:g}),r.a.createElement(u.a,{className:void 0!==_?"pb_title_count_text":"",dark:m,size:"lg"===M?3:4,text:_}),r.a.createElement(c.a,{color:"light",dark:m},f&&k))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.children,c=e.color,u=e.data,d=void 0===u?{}:u,p=e.orientation,m=void 0===p?"horizontal":p,b=e.icon,h=void 0!==b&&b,f=e.showIcon,g=void 0!==f&&f,_=e.variant,y=Object(s.a)(n),M=Object(s.c)(d),v=!0===h||!0===g?"icon":"",z=Object(s.b)("pb_progress_step_kit",m,v,_,c);return r.a.createElement("ul",Object.assign({},y,M,{className:o()(z,Object(l.c)(e),a)}),i)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(8),u=n(15),d=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.checked,p=void 0!==i&&i,m=e.customIcon,b=e.data,h=void 0===b?{}:b,f=e.disabled,g=void 0!==f&&f,_=e.icon,y=e.inputId,M=e.inputs,v=void 0===M?"enabled":M,z=e.multi,O=void 0===z||z,k=e.name,A=e.text,x=e.value,w=d(e,["aria","className","checked","customIcon","data","disabled","icon","inputId","inputs","multi","name","text","value"]),N=Object(l.a)(n),q=Object(l.c)(h),E=o()(Object(l.b)("pb_selectable_icon_kit",{checked:p,disabled:g,enabled:!g}),Object(s.c)(w),a),j=!1===O?"radio":"checkbox",W=null!==y?y:k;return r.a.createElement("div",Object.assign({},N,q,{className:E}),"disabled"===v&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{customIcon:m,icon:_,size:"2x"}),r.a.createElement(u.a,{size:4,tag:"h4",text:A})),"enabled"===v&&r.a.createElement(r.a.Fragment,null,r.a.createElement("input",Object.assign({},w,{checked:p,disabled:g,id:W,name:k,type:j,value:x})),r.a.createElement("label",{htmlFor:W},r.a.createElement(c.a,{customIcon:m,icon:_,size:"2x"}),r.a.createElement(u.a,{size:4,tag:"h4",text:A}))))}},function(e,t,n){"use strict";function a(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(17),u=n(15),d=n(53),p=function(e,t){var n=new d.a({value:e});if("day_only"===t)return n.toDay();var a="expanded"===t?"%b %-d":"%-m/%-d";return n.toCustomFormat(a)};t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,m=e.className,b=e.dark,h=void 0!==b&&b,f=e.data,g=void 0===f?{}:f,_=e.date,y=void 0===_?new Date:_,M=e.id,v=e.variant,z=void 0===v?"month_day":v,O=e.compact,k=void 0!==O&&O,A=Object(l.a)(i),x=Object(l.c)(g),w=o()(Object(l.b)("pb_weekday_stacked_kit",n),Object(s.c)(e),m);return r.a.createElement("div",Object.assign({},A,x,{className:w,id:M}),r.a.createElement(c.a,{dark:h},function(e,t){var n=new d.a({value:e});return t?n.toDayAbbr():n.toWeekday()}(y,k)),r.a.createElement(u.a,{dark:h,size:4,tag:"span",text:p(y,z)}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,c=void 0===i?{}:i,u=e.id,d=e.status,p=void 0===d?"offline":d;n.label=p;var m=Object(l.a)(n),b=Object(l.c)(c),h=o()(Object(l.b)("pb_online_status_kit",p),Object(s.c)(e),a);return r.a.createElement("div",Object.assign({},m,b,{className:h,id:u}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.alt,n=void 0===t?"":t,a=e.aria,i=void 0===a?{}:a,c=e.backgroundColor,u=void 0===c?"light":c,d=e.backgroundRepeat,p=void 0===d?"initial":d,m=e.backgroundSize,b=void 0===m?"cover":m,h=e.children,f=e.className,g=e.customColor,_=e.data,y=void 0===_?{}:_,M=e.id,v=e.imageUrl,z=void 0===v?"":v,O=e.tag,k=void 0===O?"div":O,A=e.transition,x=void 0===A?"":A,w=Object(s.a)(i),N=Object(s.c)(y),q={backgroundImage:"url(".concat(z,")"),backgroundRepeat:"".concat(p),backgroundSize:"".concat(b)},E=g?"pb_background_custom_color":"pb_background_color_".concat(u),j=o()(Object(s.b)("pb_background_kit"),"lazyload",q,x,Object(l.c)(e),E,f),W="".concat(k);return r.a.createElement(r.a.Fragment,null,z?r.a.createElement(W,Object.assign({alt:n,style:q},w,N,{className:j,id:M}),h):r.a.createElement(W,Object.assign({},w,N,{className:j,id:M,style:g?{backgroundColor:g}:null}),h))}},function(e,t,n){"use strict";var a=n(199),r=n.n(a),i=n(0),o=n.n(i),s=n(3),l=n.n(s),c=n(5);t.a=function(e){var t=e.children,n=e.className,a=void 0===n?"pb_highlight_kit":n,i=e.data,s=void 0===i?{}:i,u=e.highlightedText,d=void 0===u?["highlight"]:u,p=e.id,m=void 0===p?"":p,b=e.text,h=(void 0===b?"":b)||t;return o.a.createElement(r.a,{autoEscape:!0,data:s,highlightClassName:l()(Object(c.c)(e),a),highlightTag:"mark",id:m,searchWords:d,textToHighlight:h})}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(70),u=n.n(c),d=n(26),p=n.n(d),m=n(52),b=n(78),h=n(71);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.data,c=void 0===i?{}:i,d=e.align,g=void 0===d?"center":d,y=e.className,M=void 0===y?"pb_bar_graph":y,v=e.dark,z=void 0!==v&&v,O=(e.gradient,e.type),k=void 0===O?"line":O,A=e.id,x=e.legend,w=void 0!==x&&x,N=e.toggleLegendClick,q=void 0===N||N,E=e.layout,j=void 0===E?"horizontal":E,W=e.verticalAlign,L=void 0===W?"bottom":W,S=e.x,T=void 0===S?0:S,C=e.y,R=void 0===C?0:C,D=e.axisTitle,P=e.xAxisCategories,B=e.yAxisMin,I=e.yAxisMax,$=e.chartData,F=e.pointStart,X=e.subTitle,Y=e.title,H=e.height,U=e.colors,V=void 0===U?[]:U,G=_(e,["aria","data","align","className","dark","gradient","type","id","legend","toggleLegendClick","layout","verticalAlign","x","y","axisTitle","xAxisCategories","yAxisMin","yAxisMax","chartData","pointStart","subTitle","title","height","colors"]),K=Object(l.a)(n),J=Object(l.c)(c);z?p.a.setOptions(b.a):p.a.setOptions(m.a);var Z={title:{text:Y},chart:{height:H,type:k},subtitle:{text:X},yAxis:{min:B,max:I,title:{text:D}},xAxis:{categories:P},legend:{enabled:w,align:g,verticalAlign:L,layout:j,x:T,y:R},colors:void 0!==V&&V.length>0?Object(h.a)(V):m.a.colors,plotOptions:{series:{pointStart:F,events:{},dataLabels:{enabled:!1}}},series:$,credits:!1};q||(Z.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=f(Object(a.useState)({}),2),ee=Q[0],te=Q[1];return Object(a.useEffect)((function(){te(Object.assign({},Z))}),[$]),r.a.createElement(u.a,{containerProps:Object.assign(Object.assign({className:o()(Object(s.c)(G),M),id:A},K),J),highcharts:p.a,options:ee})}},function(e,t,n){"use strict";var a=n(0),r=n.n(a);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var s=n(3),l=n.n(s),c=n(2),u=n(5),d=r.a.createContext({}),p=n(48),m=n(17),b=n(11),h=n(16),f=n(15),g=n(25),_=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.children,o=e.className,s=e.data,_=void 0===s?{}:s,y=e.onClickRight,M=e.spacing,v=void 0===M?"between":M,z=e.text,O=e.navRight,k=e.title,A=e.closeable,x=void 0===A||A,w=e.icon,N=void 0===w?"times":w,q=Object(c.a)(n),E=Object(c.c)(_),j=Object(a.useContext)(d),W=Object(c.b)("lightbox_header"),L=Object(u.c)(e,{paddingY:"sm"}),S=function(){return j.onClose()},T=function(){return r.a.createElement(r.a.Fragment,null,r.a.createElement(h.a,{flex:"1",marginLeft:"sm"},r.a.createElement(p.a,{onClick:S,dark:!0,variant:"link",icon:N})),k&&z&&r.a.createElement(h.a,{flex:"5"},r.a.createElement(b.a,{justify:"center"},r.a.createElement(b.a,{align:"center",orientation:"column"},"string"==typeof k?r.a.createElement(f.a,{dark:!0,paddingBottom:"xxs",size:4,text:k}):r.a.createElement(b.a,{justify:"center",className:"custom-header"},k),"string"==typeof z?r.a.createElement(m.a,{dark:!0},z):r.a.createElement(b.a,{justify:"center",className:"custom-header"},z)))),r.a.createElement(h.a,{flex:"1"},r.a.createElement(b.a,{justify:"end"},r.a.createElement(g.a,{className:"nav-right-btn",htmlType:"button",onClick:y,dark:!0,variant:"link",text:O}))))};return r.a.createElement("div",{className:"carousel-header"},r.a.createElement(b.a,Object.assign({},q,E,{className:l()(W,L,o),spacing:v}),x&&r.a.createElement(T,null),i))},y=n(22),M=function(e,t){return Number(e.toFixed(t))},v=function(e,t,n){n&&"function"==typeof n&&n(e,t)},z={easeOut:function(e){return-Math.cos(e*Math.PI)/2+.5},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},O=function(e){"number"==typeof e&&cancelAnimationFrame(e)},k=function(e){e.mounted&&(O(e.animation),e.animate=!1,e.animation=null,e.velocity=null)};function A(e,t,n,a){if(e.mounted){var r=(new Date).getTime();k(e),e.animation=function(){if(!e.mounted)return O(e.animation);var i=(new Date).getTime()-r,o=(0,z[t])(i/n);i>=n?(a(1),e.animation=null):e.animation&&(a(o),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function x(e,t,n,a){var r=function(e){var t=e.scale,n=e.positionX,a=e.positionY;return!(Number.isNaN(t)||Number.isNaN(n)||Number.isNaN(a))}(t);if(e.mounted&&r){var i=e.setTransformState,o=e.transformState,s=o.scale,l=o.positionX,c=o.positionY,u=t.scale-s,d=t.positionX-l,p=t.positionY-c;0===n?i(t.scale,t.positionX,t.positionY):A(e,a,n,(function(e){i(s+u*e,l+d*e,c+p*e)}))}}var w=function(e,t){var n=e.wrapperComponent,a=e.contentComponent,r=e.setup.centerZoomedOut;if(!n||!a)throw new Error("Components are not mounted");var i=function(e,t,n){var a=e.offsetWidth,r=e.offsetHeight,i=t.offsetWidth*n,o=t.offsetHeight*n;return{wrapperWidth:a,wrapperHeight:r,newContentWidth:i,newDiffWidth:a-i,newContentHeight:o,newDiffHeight:r-o}}(n,a,t),o=i.wrapperWidth,s=i.wrapperHeight;return function(e,t,n,a,r,i,o){var s=e>t?n*(o?1:.5):0,l=a>r?i*(o?1:.5):0;return{minPositionX:e-t-s,maxPositionX:s,minPositionY:a-r-l,maxPositionY:l}}(o,i.newContentWidth,i.newDiffWidth,s,i.newContentHeight,i.newDiffHeight,Boolean(r))},N=function(e,t,n,a){return M(a?e<t?t:e>n?n:e:e,2)},q=function(e,t){var n=w(e,t);return e.bounds=n,n};function E(e,t,n,a,r,i,o){var s=n.minPositionX,l=n.minPositionY,c=n.maxPositionX,u=n.maxPositionY,d=0,p=0;return o&&(d=r,p=i),{x:N(e,s-d,c+d,a),y:N(t,l-p,u+p,a)}}function j(e,t,n,a,r,i){var o=e.transformState,s=o.scale,l=o.positionX,c=o.positionY,u=a-s;return"number"!=typeof t||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:l,y:c}):E(l-t*u,c-n*u,r,i,0,0,null)}function W(e,t,n,a,r){var i=t-(r?a:0);return!Number.isNaN(n)&&e>=n?n:!Number.isNaN(t)&&e<=i?i:e}var L=function(e,t){var n=e.setup.panning.excluded,a=e.isInitialized,r=e.wrapperComponent,i=t.target,o=null==r?void 0:r.contains(i);return!!(a&&i&&o)&&!ce(i,n)},S=function(e){var t=e.isInitialized,n=e.isPanning,a=e.setup.panning.disabled;return!(!t||!n||a)};var T=function(e,t){var n=e.setup,a=e.transformState.scale,r=n.minScale,i=n.disablePadding;return t>0&&a>=r&&!i?t:0};function C(e,t,n,a,r,i,o,s,l,c){if(r){var u;if(t>o&&n>o)return(u=o+(e-o)*c)>l?l:u<o?o:u;if(t<i&&n<i)return(u=i+(e-i)*c)<s?s:u>i?i:u}return a?t:N(e,i,o,r)}function R(e,t){if(function(e){var t=e.mounted,n=e.setup,a=n.disabled,r=n.velocityAnimation,i=e.transformState.scale;return!(r.disabled&&!(i>1)&&a&&!t)}(e)){var n=e.lastMousePosition,a=e.velocityTime,r=e.setup,i=e.wrapperComponent,o=r.velocityAnimation.equalToMove,s=Date.now();if(n&&a&&i){var l=function(e,t){return t?Math.min(1,e.offsetWidth/window.innerWidth):1}(i,o),c=t.x-n.x,u=t.y-n.y,d=c/l,p=u/l,m=s-a,b=c*c+u*u,h=Math.sqrt(b)/m;e.velocity={velocityX:d,velocityY:p,total:h}}e.lastMousePosition=t,e.velocityTime=s}}function D(e,t){var n=e.transformState.scale;k(e),q(e,n),void 0!==window.TouchEvent&&t instanceof TouchEvent?function(e,t){var n=t.touches,a=e.transformState,r=a.positionX,i=a.positionY;if(e.isPanning=!0,1===n.length){var o=n[0].clientX,s=n[0].clientY;e.startCoords={x:o-r,y:s-i}}}(e,t):function(e,t){var n=e.transformState,a=n.positionX,r=n.positionY;e.isPanning=!0;var i=t.clientX,o=t.clientY;e.startCoords={x:i-a,y:o-r}}(e,t)}function P(e){var t=e.transformState.scale,n=e.setup,a=n.minScale,r=n.alignmentAnimation,i=r.disabled,o=r.sizeX,s=r.sizeY,l=r.animationTime,c=r.animationType;if(!(i||t<a||!o&&!s)){var u=function(e){var t=e.transformState,n=t.positionX,a=t.positionY,r=t.scale,i=e.setup,o=i.disabled,s=i.limitToBounds,l=i.centerZoomedOut,c=e.wrapperComponent;if(!o&&c&&e.bounds){var u=e.bounds,d=u.maxPositionX,p=u.minPositionX,m=u.maxPositionY,b=u.minPositionY,h=n>d||n<p,f=a>m||a<b,g=j(e,n>d?c.offsetWidth:e.setup.minPositionX||0,a>m?c.offsetHeight:e.setup.minPositionY||0,r,e.bounds,s||l),_=g.x,y=g.y;return{scale:r,positionX:h?_:n,positionY:f?y:a}}}(e);u&&x(e,u,l,c)}}function B(e,t,n){var a=e.startCoords,r=e.setup.alignmentAnimation,i=r.sizeX,o=r.sizeY;if(a){var s=function(e,t,n){var a=e.startCoords,r=e.transformState,i=e.setup.panning,o=i.lockAxisX,s=i.lockAxisY,l=r.positionX,c=r.positionY;if(!a)return{x:l,y:c};var u=t-a.x,d=n-a.y;return{x:o?l:u,y:s?c:d}}(e,t,n),l=s.x,c=s.y,u=T(e,i),d=T(e,o);R(e,{x:l,y:c}),function(e,t,n,a,r){var i=e.setup.limitToBounds,o=e.wrapperComponent,s=e.bounds,l=e.transformState,c=l.scale,u=l.positionX,d=l.positionY;if(null!==o&&null!==s&&(t!==u||n!==d)){var p=E(t,n,s,i,a,r,o),m=p.x,b=p.y;e.setTransformState(c,m,b)}}(e,l,c,u,d)}}function I(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,a=e.wrapperComponent,r=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var i=null==a?void 0:a.getBoundingClientRect(),o=null==r?void 0:r.getBoundingClientRect(),s=(null==i?void 0:i.width)||0,l=(null==i?void 0:i.height)||0,c=(null==o?void 0:o.width)||0,u=(null==o?void 0:o.height)||0,d=s<c||l<u;!t&&n&&(null==n?void 0:n.total)>.1&&d?function(e){var t=e.velocity,n=e.bounds,a=e.setup,r=e.wrapperComponent;if(function(e){var t=e.mounted,n=e.velocity,a=e.bounds,r=e.setup,i=r.disabled,o=r.velocityAnimation,s=e.transformState.scale;return!(o.disabled&&!(s>1)&&i&&!t)&&!(!n||!a)}(e)&&t&&n&&r){var i=t.velocityX,o=t.velocityY,s=t.total,l=n.maxPositionX,c=n.minPositionX,u=n.maxPositionY,d=n.minPositionY,p=a.limitToBounds,m=a.alignmentAnimation,b=a.zoomAnimation,h=a.panning,f=h.lockAxisY,g=h.lockAxisX,_=b.animationType,y=m.sizeX,M=m.sizeY,v=m.velocityAlignmentTime,O=function(e,t){var n=e.setup.velocityAnimation,a=n.equalToMove,r=n.animationTime,i=n.sensitivity;return a?r*t*i:r}(e,s),k=Math.max(O,v),x=T(e,y),w=T(e,M),N=x*r.offsetWidth/100,q=w*r.offsetHeight/100,E=l+N,j=c-N,W=u+q,L=d-q,S=e.transformState,R=(new Date).getTime();A(e,_,k,(function(t){var n=e.transformState,a=n.scale,r=n.positionX,s=n.positionY,b=((new Date).getTime()-R)/v,h=1-(0,z[m.animationType])(Math.min(1,b)),_=1-t,y=r+i*_,M=s+o*_,O=C(y,S.positionX,r,g,p,c,l,j,E,h),k=C(M,S.positionY,s,f,p,d,u,L,W,h);r===y&&s===M||e.setTransformState(a,O,k)}))}}(e):P(e)}}function $(e,t,n,a){var r=e.setup,i=r.minScale,o=r.maxScale,s=r.limitToBounds,l=W(M(t,2),i,o,0,!1),c=j(e,n,a,l,q(e,l),s);return{scale:l,positionX:c.x,positionY:c.y}}function F(e,t,n){var a=e.transformState.scale,r=e.wrapperComponent,i=e.setup,o=i.minScale,s=i.limitToBounds,l=i.zoomAnimation,c=l.disabled,u=l.animationTime,d=l.animationType,p=c||a>=o;if((a>=1||s)&&P(e),!p&&r&&e.mounted){var m=$(e,o,t||r.offsetWidth/2,n||r.offsetHeight/2);m&&x(e,m,u,d)}}var X=function(){return(X=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Y(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var H=1,U=0,V=0,G={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},K=function(e){var t,n,a,r;return{previousScale:null!==(t=e.initialScale)&&void 0!==t?t:H,scale:null!==(n=e.initialScale)&&void 0!==n?n:H,positionX:null!==(a=e.initialPositionX)&&void 0!==a?a:U,positionY:null!==(r=e.initialPositionY)&&void 0!==r?r:V}},J=function(e){var t=X({},G);return Object.keys(e).forEach((function(n){var a=void 0!==e[n];if(void 0!==G[n]&&a){var r=Object.prototype.toString.call(G[n]),i="[object Object]"===r,o="[object Array]"===r;t[n]=i?X(X({},G[n]),e[n]):o?Y(Y([],G[n],!0),e[n],!0):e[n]}})),t},Z=function(e,t,n){var a=e.transformState.scale,r=e.wrapperComponent,i=e.setup,o=i.maxScale,s=i.minScale,l=i.zoomAnimation.size;if(!r)throw new Error("Wrapper is not mounted");var c=a*Math.exp(t*n);return W(M(c,3),s,o,l,!1)};function Q(e,t,n,a,r){var i=e.wrapperComponent,o=e.transformState,s=o.scale,l=o.positionX,c=o.positionY;if(!i)return console.error("No WrapperComponent found");var u=(i.offsetWidth/2-l)/s,d=(i.offsetHeight/2-c)/s,p=$(e,Z(e,t,n),u,d);if(!p)return console.error("Error during zoom event. New transformation state was not calculated.");x(e,p,a,r)}function ee(e,t,n,a){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,s=K(e.props),l=e.transformState,c=l.scale,u=l.positionX,d=l.positionY;if(i){var p=w(e,s.scale),m=E(s.positionX,s.positionY,p,o,0,0,i),b={scale:s.scale,positionX:m.x,positionY:m.y};c===s.scale&&u===s.positionX&&d===s.positionY||(null==a||a(),x(e,b,t,n))}}var te=function(e){return function(t,n,a){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===a&&(a="easeOut"),Q(e,1,t,n,a)}},ne=function(e){return function(t,n,a){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===a&&(a="easeOut"),Q(e,-1,t,n,a)}},ae=function(e){return function(t,n,a,r,i){void 0===r&&(r=300),void 0===i&&(i="easeOut");var o=e.transformState,s=o.positionX,l=o.positionY,c=o.scale,u=e.wrapperComponent,d=e.contentComponent;if(!e.setup.disabled&&u&&d){var p={positionX:Number.isNaN(t)?s:t,positionY:Number.isNaN(n)?l:n,scale:Number.isNaN(a)?c:a};x(e,p,r,i)}}},re=function(e){return function(t,n){void 0===t&&(t=200),void 0===n&&(n="easeOut"),ee(e,t,n)}},ie=function(e){return function(t,n,a){void 0===n&&(n=200),void 0===a&&(a="easeOut");var r=e.transformState,i=e.wrapperComponent,o=e.contentComponent;if(i&&o){var s=de(t||r.scale,i,o);x(e,s,n,a)}}},oe=function(e){return function(t,n,a,r){void 0===a&&(a=600),void 0===r&&(r="easeOut"),k(e);var i=e.wrapperComponent,o="string"==typeof t?document.getElementById(t):t;if(i&&o&&i.contains(o)){var s=function(e,t,n){var a=e.wrapperComponent,r=e.contentComponent,i=e.transformState,o=e.setup,s=o.limitToBounds,l=o.minScale,c=o.maxScale;if(!a||!r)return i;var u,d,p,m,b,h,f,g,_=a.getBoundingClientRect(),y=t.getBoundingClientRect(),M=(u=a,d=r,p=i,m=t.getBoundingClientRect(),b=u.getBoundingClientRect(),h=d.getBoundingClientRect(),f=b.x*p.scale,g=b.y*p.scale,{x:(m.x-h.x+f)/p.scale,y:(m.y-h.y+g)/p.scale}),v=M.x,z=M.y,O=y.width/i.scale,k=y.height/i.scale,A=a.offsetWidth/O,x=a.offsetHeight/k,N=W(n||Math.min(A,x),l,c,0,!1),q=(_.width-O*N)/2,j=(_.height-k*N)/2,L=E((_.left-v)*N+q,(_.top-z)*N+j,w(e,N),s,0,0,a);return{positionX:L.x,positionY:L.y,scale:N}}(e,o,n);x(e,s,a,r)}}},se=function(e){return{instance:e,state:e.transformState,zoomIn:te(e),zoomOut:ne(e),setTransform:ae(e),resetTransform:re(e),centerView:ie(e),zoomToElement:oe(e)}};function le(){try{return{get passive(){return!0,!1}}}catch(e){return!1}}var ce=function(e,t){var n=e.tagName.toUpperCase();return!!t.find((function(e){return e.toUpperCase()===n}))||!!t.find((function(t){return e.classList.contains(t)}))},ue=function(e){e&&clearTimeout(e)},de=function(e,t,n){var a=n.offsetWidth*e,r=n.offsetHeight*e;return{scale:e,positionX:(t.offsetWidth-a)/2,positionY:(t.offsetHeight-r)/2}};function pe(e,t,n){var a=t.getBoundingClientRect(),r=0,i=0;if("clientX"in e)r=(e.clientX-a.left)/n,i=(e.clientY-a.top)/n;else{var o=e.touches[0];r=(o.clientX-a.left)/n,i=(o.clientY-a.top)/n}return(Number.isNaN(r)||Number.isNaN(i))&&console.error("No mouse or touch offset found"),{x:r,y:i}}var me=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},be=function(e,t){var n=e.props,a=n.onWheel,r=n.onZoom,i=e.contentComponent,o=e.setup,s=e.transformState.scale,l=o.limitToBounds,c=o.centerZoomedOut,u=o.zoomAnimation,d=o.wheel,p=o.disablePadding,m=u.size,b=u.disabled,h=d.step;if(!i)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var f=function(e,t,n,a,r){var i=e.transformState.scale,o=e.wrapperComponent,s=e.setup,l=s.maxScale,c=s.minScale,u=s.zoomAnimation,d=s.disablePadding,p=u.size,m=u.disabled;if(!o)throw new Error("Wrapper is not mounted");var b=i+t*(i-i*n)*n;if(r)return b;var h=!a&&!m;return W(M(b,3),c,l,p,h&&!d)}(e,function(e,t){var n,a,r=function(e){return e?e.deltaY<0?1:-1:0}(e);return a=r,"number"==typeof(n=t)?n:a}(t,null),h,!t.ctrlKey);if(s!==f){var g=q(e,f),_=pe(t,i,s),y=l&&(b||0===m||c||p),z=j(e,_.x,_.y,f,g,y),O=z.x,k=z.y;e.previousWheelEvent=t,e.setTransformState(f,O,k),v(se(e),t,a),v(se(e),t,r)}},he=function(e,t){var n=e.props,a=n.onWheelStop,r=n.onZoomStop;ue(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout((function(){e.mounted&&(F(e,t.x,t.y),e.wheelAnimationTimer=null)}),100),function(e,t){var n=e.previousWheelEvent,a=e.transformState.scale,r=e.setup,i=r.maxScale,o=r.minScale;return!!n&&(a<i||a>o||(Math.sign(n.deltaY)!==Math.sign(t.deltaY)||(n.deltaY>0&&n.deltaY<t.deltaY||(n.deltaY<0&&n.deltaY>t.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY)))))}(e,t)&&(ue(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout((function(){e.mounted&&(e.wheelStopEventTimer=null,v(se(e),t,a),v(se(e),t,r))}),160))},fe=function(e,t){var n=e.contentComponent,a=e.pinchStartDistance,r=e.transformState.scale,i=e.setup,o=i.limitToBounds,s=i.centerZoomedOut,l=i.zoomAnimation,c=l.disabled,u=l.size;if(null!==a&&n){var d=function(e,t,n){var a=n.getBoundingClientRect(),r=e.touches,i=M(r[0].clientX-a.left,5),o=M(r[0].clientY-a.top,5);return{x:(i+M(r[1].clientX-a.left,5))/2/t,y:(o+M(r[1].clientY-a.top,5))/2/t}}(t,r,n);if(Number.isFinite(d.x)&&Number.isFinite(d.y)){var p=me(t),m=function(e,t){var n=e.pinchStartScale,a=e.pinchStartDistance,r=e.setup,i=r.maxScale,o=r.minScale,s=r.zoomAnimation,l=r.disablePadding,c=s.size,u=s.disabled;if(!n||null===a||!t)throw new Error("Pinch touches distance was not provided");return t<0?e.transformState.scale:W(M(t/a*n,2),o,i,c,!u&&!l)}(e,p);if(m!==r){var b=q(e,m),h=o&&(c||0===u||s),f=j(e,d.x,d.y,m,b,h),g=f.x,_=f.y;e.pinchMidpoint=d,e.lastDistance=p,e.setTransformState(m,g,_)}}}},ge=function(e,t){var n=e.props.onZoomStop,a=e.setup.doubleClick.animationTime;ue(e.doubleClickStopEventTimer),e.doubleClickStopEventTimer=setTimeout((function(){e.doubleClickStopEventTimer=null,v(se(e),t,n)}),a)};function _e(e,t){var n=e.setup,a=e.doubleClickStopEventTimer,r=e.transformState,i=e.contentComponent,o=r.scale,s=e.props,l=s.onZoomStart,c=s.onZoom,u=n.doubleClick,d=u.disabled,p=u.mode,m=u.step,b=u.animationTime,h=u.animationType;if(!d&&!a){if("reset"===p)return function(e,t){var n=e.props,a=n.onZoomStart,r=n.onZoom,i=e.setup.doubleClick,o=i.animationTime,s=i.animationType;v(se(e),t,a),ee(e,o,s,(function(){return v(se(e),t,r)})),ge(e,t)}(e,t);if(!i)return console.error("No ContentComponent found");var f=Z(e,"zoomOut"===p?-1:1,m);if(o!==f){v(se(e),t,l);var g=pe(t,i,o),_=$(e,f,g.x,g.y);if(!_)return console.error("Error during zoom event. New transformation state was not calculated.");v(se(e),t,c),x(e,_,b,h),ge(e,t)}}}var ye=function(e){var t=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){t.initializeWindowEvents()},this.unmount=function(){t.cleanupWindowEvents()},this.update=function(e){q(t,t.transformState.scale),t.setup=J(e)},this.initializeWindowEvents=function(){var e,n=le(),a=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,r=null==a?void 0:a.defaultView;null==r||r.addEventListener("mousedown",t.onPanningStart,n),null==r||r.addEventListener("mousemove",t.onPanning,n),null==r||r.addEventListener("mouseup",t.onPanningStop,n),null==a||a.addEventListener("mouseleave",t.clearPanning,n),null==r||r.addEventListener("keyup",t.setKeyUnPressed,n),null==r||r.addEventListener("keydown",t.setKeyPressed,n)},this.cleanupWindowEvents=function(){var e,n,a=le(),r=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,i=null==r?void 0:r.defaultView;null==i||i.removeEventListener("mousedown",t.onPanningStart,a),null==i||i.removeEventListener("mousemove",t.onPanning,a),null==i||i.removeEventListener("mouseup",t.onPanningStop,a),null==r||r.removeEventListener("mouseleave",t.clearPanning,a),null==i||i.removeEventListener("keyup",t.setKeyUnPressed,a),null==i||i.removeEventListener("keydown",t.setKeyPressed,a),document.removeEventListener("mouseleave",t.clearPanning,a),k(t),null===(n=t.observer)||void 0===n||n.disconnect()},this.handleInitializeWrapperEvents=function(e){var n=le();e.addEventListener("wheel",t.onWheelZoom,n),e.addEventListener("dblclick",t.onDoubleClick,n),e.addEventListener("touchstart",t.onTouchPanningStart,n),e.addEventListener("touchmove",t.onTouchPanning,n),e.addEventListener("touchend",t.onTouchPanningStop,n)},this.handleInitialize=function(e){var n=t.setup.centerOnInit;t.applyTransformation(),n&&(t.setCenter(),t.observer=new ResizeObserver((function(){var e;t.setCenter(),null===(e=t.observer)||void 0===e||e.disconnect()})),t.observer.observe(e))},this.onWheelZoom=function(e){t.setup.disabled||function(e,t){var n=e.setup.wheel,a=n.disabled,r=n.wheelDisabled,i=n.touchPadDisabled,o=n.excluded,s=e.isInitialized,l=e.isPanning,c=t.target;return!(!s||l||a||!c||r&&!t.ctrlKey||i&&t.ctrlKey||ce(c,o))}(t,e)&&t.isPressingKeys(t.setup.wheel.activationKeys)&&(function(e,t){var n=e.props,a=n.onWheelStart,r=n.onZoomStart;e.wheelStopEventTimer||(k(e),v(se(e),t,a),v(se(e),t,r))}(t,e),be(t,e),he(t,e))},this.onPanningStart=function(e){var n=t.setup.disabled,a=t.props.onPanningStart;n||L(t,e)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),k(t),D(t,e),v(se(t),e,a))},this.onPanning=function(e){var n=t.setup.disabled,a=t.props.onPanning;n||S(t)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),B(t,e.clientX,e.clientY),v(se(t),e,a))},this.onPanningStop=function(e){var n=t.props.onPanningStop;t.isPanning&&(I(t),v(se(t),e,n))},this.onPinchStart=function(e){var n=t.setup.disabled,a=t.props,r=a.onPinchingStart,i=a.onZoomStart;n||function(e,t){var n=e.setup.pinch,a=n.disabled,r=n.excluded,i=e.isInitialized,o=t.target;return!(!i||a||!o||ce(o,r))}(t,e)&&(function(e,t){var n=me(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,k(e)}(t,e),k(t),v(se(t),e,r),v(se(t),e,i))},this.onPinch=function(e){var n=t.setup.disabled,a=t.props,r=a.onPinching,i=a.onZoom;n||function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,a=e.pinchStartDistance;return!(!n||t||!a)}(t)&&(e.preventDefault(),e.stopPropagation(),fe(t,e),v(se(t),e,r),v(se(t),e,i))},this.onPinchStop=function(e){var n,a,r=t.props,i=r.onPinchingStop,o=r.onZoomStop;t.pinchStartScale&&(a=(n=t).pinchMidpoint,n.velocity=null,n.lastDistance=null,n.pinchMidpoint=null,n.pinchStartScale=null,n.pinchStartDistance=null,F(n,null==a?void 0:a.x,null==a?void 0:a.y),v(se(t),e,i),v(se(t),e,o))},this.onTouchPanningStart=function(e){var n=t.setup.disabled,a=t.props.onPanningStart;if(!n&&L(t,e))if(t.lastTouch&&+new Date-t.lastTouch<200&&1===e.touches.length)t.onDoubleClick(e);else{t.lastTouch=+new Date,k(t);var r=e.touches,i=1===r.length,o=2===r.length;i&&(k(t),D(t,e),v(se(t),e,a)),o&&t.onPinchStart(e)}},this.onTouchPanning=function(e){var n=t.setup.disabled,a=t.props.onPanning;if(t.isPanning&&1===e.touches.length){if(n)return;if(!S(t))return;e.preventDefault(),e.stopPropagation();var r=e.touches[0];B(t,r.clientX,r.clientY),v(se(t),e,a)}else e.touches.length>1&&t.onPinch(e)},this.onTouchPanningStop=function(e){t.onPanningStop(e),t.onPinchStop(e)},this.onDoubleClick=function(e){t.setup.disabled||function(e,t){var n=e.isInitialized,a=e.setup,r=e.wrapperComponent,i=a.doubleClick,o=i.disabled,s=i.excluded,l=t.target,c=null==r?void 0:r.contains(l);return!(!(n&&l&&c)||o||ce(l,s))}(t,e)&&_e(t,e)},this.clearPanning=function(e){t.isPanning&&t.onPanningStop(e)},this.setKeyPressed=function(e){t.pressedKeys[e.key]=!0},this.setKeyUnPressed=function(e){t.pressedKeys[e.key]=!1},this.isPressingKeys=function(e){return!e.length||Boolean(e.find((function(e){return t.pressedKeys[e]})))},this.setTransformState=function(e,n,a){var r=t.props.onTransformed;if(Number.isNaN(e)||Number.isNaN(n)||Number.isNaN(a))console.error("Detected NaN set state values");else{e!==t.transformState.scale&&(t.transformState.previousScale=t.transformState.scale,t.transformState.scale=e),t.transformState.positionX=n,t.transformState.positionY=a;var i=se(t);t.onChangeCallbacks.forEach((function(e){return e(i)})),v(i,{scale:e,positionX:n,positionY:a},r),t.applyTransformation()}},this.setCenter=function(){if(t.wrapperComponent&&t.contentComponent){var e=de(t.transformState.scale,t.wrapperComponent,t.contentComponent);t.setTransformState(e.scale,e.positionX,e.positionY)}},this.handleTransformStyles=function(e,n,a){return t.props.customTransform?t.props.customTransform(e,n,a):function(e,t,n){return"translate(".concat(e,"px, ").concat(t,"px) scale(").concat(n,")")}(e,n,a)},this.applyTransformation=function(){if(t.mounted&&t.contentComponent){var e=t.transformState,n=e.scale,a=e.positionX,r=e.positionY,i=t.handleTransformStyles(a,r,n);t.contentComponent.style.transform=i}},this.getContext=function(){return se(t)},this.onChange=function(e){return t.onChangeCallbacks.has(e)||t.onChangeCallbacks.add(e),function(){t.onChangeCallbacks.delete(e)}},this.init=function(e,n){t.cleanupWindowEvents(),t.wrapperComponent=e,t.contentComponent=n,q(t,t.transformState.scale),t.handleInitializeWrapperEvents(e),t.handleInitialize(n),t.initializeWindowEvents(),t.isInitialized=!0,v(se(t),void 0,t.props.onInit)},this.props=e,this.setup=J(this.props),this.transformState=K(this.props)},Me=r.a.createContext(null),ve=r.a.forwardRef((function(e,t){var n=Object(a.useState)(0)[1],i=e.children,o=Object(a.useRef)(new ye(e)).current,s=function(e,t){return"function"==typeof e?e(t):e}(e.children,se(o)),l=Object(a.useCallback)((function(){"function"==typeof i&&n((function(e){return e+1}))}),[i]);return Object(a.useImperativeHandle)(t,(function(){return se(o)}),[o]),Object(a.useEffect)((function(){o.update(e)}),[o,e]),Object(a.useEffect)((function(){return o.onChange(l)}),[o,e,l]),r.a.createElement(Me.Provider,{value:o},s)}));var ze="transform-component-module_wrapper__7HFJe",Oe="transform-component-module_content__uCDPE";!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".transform-component-module_wrapper__7HFJe {\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n overflow: hidden;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n margin: 0;\n padding: 0;\n}\n.transform-component-module_content__uCDPE {\n display: flex;\n flex-wrap: wrap;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n margin: 0;\n padding: 0;\n transform-origin: 0% 0%;\n}\n.transform-component-module_content__uCDPE img {\n pointer-events: none;\n}\n");var ke=function(e){var t=e.children,n=e.wrapperClass,i=void 0===n?"":n,o=e.contentClass,s=void 0===o?"":o,l=e.wrapperStyle,c=e.contentStyle,u=e.wrapperProps,d=void 0===u?{}:u,p=e.contentProps,m=void 0===p?{}:p,b=Object(a.useContext)(Me).init,h=Object(a.useRef)(null),f=Object(a.useRef)(null);return Object(a.useEffect)((function(){var e=h.current,t=f.current;null!==e&&null!==t&&b&&b(e,t)}),[]),r.a.createElement("div",X({},d,{ref:h,className:"react-transform-wrapper ".concat(ze," ").concat(i),style:l}),r.a.createElement("div",X({},m,{ref:f,className:"react-transform-component ".concat(Oe," ").concat(s),style:c}),t))},Ae=(r.a.forwardRef((function(e,t){var n,i=Object(a.useRef)(null),o=Object(a.useContext)(Me);return Object(a.useEffect)((function(){return o.onChange((function(e){if(i.current){i.current.style.transform=o.handleTransformStyles(0,0,1/e.state.scale)}}))}),[o]),r.a.createElement("div",X({},e,{ref:(n=[i,t],function(e){n.forEach((function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)}))})}))})),n(42));function xe(e){var t=e.alt,n=e.onClick,a=void 0===n?y.noop:n,i=e.onZoom,o=void 0===i?y.noop:i,s=e.url,l=e.zooming,c=void 0!==l&&l;return r.a.createElement(ve,{doubleClick:{mode:"reset"},initialScale:1,onPinchingStop:function(e){var t=e.state.scale>1;o(t)},panning:{disabled:!c}},r.a.createElement("button",{className:"Slide",onClick:a,onDoubleClick:function(){return o(!1)},tabIndex:-1},r.a.createElement(ke,{wrapperClass:"TransformComponent"},r.a.createElement(Ae.a,{alt:t,url:s,zIndex:3}))))}function we(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ne(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function qe(e){var t=e.urls,n=void 0===t?[]:t,i=e.current,o=void 0===i?0:i,s=e.onChange,l=void 0===s?y.noop:s,c=e.setIndex,u=we(Object(a.useState)(!1),2),d=u[0],m=u[1],b=we(Object(a.useState)(null),2),h=b[0],f=b[1],g=we(Object(a.useState)(null),2),_=g[0],M=g[1];return r.a.createElement("div",{className:"Slides",onTouchStart:function(e){M(null),f(e.targetTouches[0].clientX)},onTouchMove:function(e){return M(e.targetTouches[0].clientX)},onTouchEnd:function(){if(h&&_){var e=h-_,t=e<-40;e>40?c(o<n.length-1?o+1:n.length-1):t&&c(o>0?o-1:0)}}},n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-left",dark:!0,icon:"chevron-left",onClick:function(){return c(o>0?o-1:0)},variant:"link"}),r.a.createElement(xe,{onClick:function(){return l(o)},onZoom:function(e){return m(e)},url:n[o],zooming:d}),n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-right",dark:!0,icon:"chevron-right",onClick:function(){return c(o<n.length-1?o+1:n.length-1)},variant:"link"}))}function Ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return je(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function We(e){var t=e.active,n=void 0!==t&&t,a=e.alt,i=e.width,o=e.url,s=e.onClick,c=void 0===s?function(){}:s,u=e.buttonRef,d=l()("Thumbnail",{active:n});return r.a.createElement("button",{className:l()(d),onClick:c,ref:u,style:{width:i},type:"button"},r.a.createElement(Ae.a,{alt:a,size:"sm",url:o}))}function Le(e){var t,n,i,o=e.current,s=void 0===o?0:o,c=e.onChange,u=void 0===c?y.noop:c,d=e.urls,p=void 0===d?[]:d,m=(t=Ee(Object(a.useState)({width:window.innerWidth,height:window.innerHeight}),2),n=t[0],i=t[1],Object(a.useEffect)((function(){var e=function(){i({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n),b=m.width/8*p.length<.9*m.width,h=l()("Thumbnails",{centered:b}),f={},g=r.a.createRef();return Object(a.useLayoutEffect)((function(){var e,t,n;if(!b){var a=f.buttonRef.current.clientWidth,r=a*s,i=g.current.querySelector(".Thumbnail:first-child"),o=g.current.querySelector(".Thumbnail:last-child");i.style.marginLeft="".concat((null===(e=g.current)||void 0===e?void 0:e.clientWidth)/2-a/2,"px"),o.style.marginRight="".concat((null===(t=g.current)||void 0===t?void 0:t.clientWidth)/2-a/2,"px"),null===(n=g.current)||void 0===n||n.scrollTo(r,0)}})),r.a.createElement("div",{className:h,ref:g},p.map((function(e,t){var n=t===s;return n&&(f.buttonRef=r.a.createRef()),r.a.createElement(We,Object.assign({active:n,alt:t.toString(),key:t,onClick:function(){return u(t)},url:e},f))})))}function Se(e){var t=e.currentIndex,n=e.photos,i=e.onClick,o=void 0===i?function(){}:i,s=e.onChange,l=void 0===s?function(){}:s,c=e.setIndex;Object(a.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="initial"}}),[]);var u=function(e){l(e)};return r.a.createElement("div",{className:"Lightbox"},r.a.createElement(qe,{setIndex:c,current:t,onChange:u,onClick:o,urls:n.map((function(e){return e.url}))}),n.length>1?r.a.createElement(Le,{current:t,onChange:u,urls:n.map((function(e){return e.thumbnail}))}):null)}function Te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ce(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Re=function e(t){var n=t.aria,o=void 0===n?{}:n,s=t.children,p=t.className,m=t.currentPhotoIndex,b=t.data,h=void 0===b?{}:b,f=t.description,g=t.id,_=void 0===g?"":g,y=t.initialPhoto,M=void 0===y?0:y,v=t.photos,z=t.onChange,O=void 0===z?function(){}:z,k=t.onClose,A=t.onClickRight,x=t.icon,w=void 0===x?"times":x,N=t.navRight,q=t.title,E=Te(Object(a.useState)(M),2),j=E[0],W=E[1];Object(a.useEffect)((function(){O(j)}),[j]),Object(a.useEffect)((function(){null!=m&&W(m)}),[m]);var L=Object(c.a)(o),S=Object(c.c)(h),T=l()(Object(c.b)("pb_lightbox_kit"),Object(u.c)(t),p),C=Object(a.useMemo)((function(){return v.map((function(e){return{url:e,thumbnail:e}}))}),[v]),R={onClose:k,onArrowLeft:function(){W(j>0?j-1:0)},onArrowRight:function(){var e=j<v.length-1?j+1:v.length-1;W(e)}};!function(e){var t=i(Object(a.useState)(""),2),n=t[0],r=t[1];Object(a.useEffect)((function(){var t=function(t){var n=t.key.toLowerCase();switch(r(n),n){case"escape":e.onClose();break;case"arrowleft":e.onArrowLeft();break;case"arrowright":e.onArrowRight()}};return window.addEventListener("keydown",t),function(){window.removeEventListener("keydown",t)}}),[e])}(R);var D=Object(a.useRef)();return r.a.createElement(a.Fragment,null,r.a.createElement(d.Provider,{value:R},r.a.createElement("div",Object.assign({},L,S,{className:T,id:_,ref:D}),r.a.createElement("div",{className:"carousel"},r.a.createElement(e.Header,{icon:w,onClose:k,onClickRight:A,text:f,navRight:N,title:q}),s,r.a.createElement(Se,{setIndex:W,currentIndex:j,onChange:function(e){W(e)},photos:C})))))};Re.Header=_;t.a=Re},function(e,t,n){"use strict";function a(e){return function(t){return typeof t===e}}n.d(t,"a",(function(){return M}));var r=a("function"),i=function(e){return"RegExp"===Object.prototype.toString.call(e).slice(8,-1)},o=function(e){return!s(e)&&!function(e){return null===e}(e)&&(r(e)||"object"==typeof e)},s=a("undefined"),l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function c(e,t){if(e===t)return!0;if(e&&o(e)&&t&&o(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return function(e,t){var n=e.length;if(n!==t.length)return!1;for(var a=n;0!=a--;)if(!c(e[a],t[a]))return!1;return!0}(e,t);if(e instanceof Map&&t instanceof Map)return function(e,t){var n,a,r,i;if(e.size!==t.size)return!1;try{for(var o=l(e.entries()),s=o.next();!s.done;s=o.next()){var u=s.value;if(!t.has(u[0]))return!1}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}try{for(var d=l(e.entries()),p=d.next();!p.done;p=d.next()){if(!c((u=p.value)[1],t.get(u[0])))return!1}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}return!0}(e,t);if(e instanceof Set&&t instanceof Set)return function(e,t){var n,a;if(e.size!==t.size)return!1;try{for(var r=l(e.entries()),i=r.next();!i.done;i=r.next()){var o=i.value;if(!t.has(o[0]))return!1}}catch(e){n={error:e}}finally{try{i&&!i.done&&(a=r.return)&&a.call(r)}finally{if(n)throw n.error}}return!0}(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),a=new DataView(t.buffer),r=e.byteLength;r--;)if(n.getUint8(r)!==a.getUint8(r))return!1;return!0}(e,t);if(i(e)&&i(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=n.length;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,n[r]))return!1;for(r=n.length;0!=r--;){var s=n[r];if(("_owner"!==s||!e.$$typeof)&&!c(e[s],t[s]))return!1}return!0}return!(!Number.isNaN(e)||!Number.isNaN(t))||e===t}var u=n(19);function d(e,t,n){var a=n.actual,r=n.key,i=n.previous,o=n.type,s=y(e,r),l=y(t,r),c=[s,l].every(u.a.number)&&("increased"===o?s<l:s>l);return u.a.undefined(a)||(c=c&&l===a),u.a.undefined(i)||(c=c&&s===i),c}function p(e,t,n){var a=n.key,r=n.type,i=n.value,o=y(e,a),s=y(t,a),l="added"===r?o:s,d="added"===r?s:o;return u.a.nullOrUndefined(i)?[o,s].every(u.a.array)?!d.every(g(l)):[o,s].every(u.a.plainObject)?function(e,t){return t.some((function(t){return!e.includes(t)}))}(Object.keys(l),Object.keys(d)):![o,s].every((function(e){return u.a.primitive(e)&&u.a.defined(e)}))&&("added"===r?!u.a.defined(o)&&u.a.defined(s):u.a.defined(o)&&!u.a.defined(s)):u.a.defined(l)?!(!u.a.array(l)&&!u.a.plainObject(l))&&function(e,t,n){return!!_(e,t)&&([e,t].every(u.a.array)?!e.some(h(n))&&t.some(h(n)):[e,t].every(u.a.plainObject)?!Object.entries(e).some(b(n))&&Object.entries(t).some(b(n)):t===n)}(l,d,i):c(d,i)}function m(e,t,n){var a=(void 0===n?{}:n).key,r=y(e,a),i=y(t,a);if(!_(r,i))throw new TypeError("Inputs have different types");if(!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return u.a.string(e)||u.a.array(e)||u.a.plainObject(e)}))}(r,i))throw new TypeError("Inputs don't have length");return[r,i].every(u.a.plainObject)&&(r=Object.keys(r),i=Object.keys(i)),[r,i]}function b(e){return function(t){var n=t[0],a=t[1];return u.a.array(e)?c(e,a)||e.some((function(e){return c(e,a)||u.a.array(a)&&g(a)(e)})):u.a.plainObject(e)&&e[n]?!!e[n]&&c(e[n],a):c(e,a)}}function h(e){return function(t){return u.a.array(e)?e.some((function(e){return c(e,t)||u.a.array(t)&&g(t)(e)})):c(e,t)}}function f(e,t){return u.a.array(e)?e.some((function(e){return c(e,t)})):c(e,t)}function g(e){return function(t){return e.some((function(e){return c(e,t)}))}}function _(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(u.a.array)||e.every(u.a.number)||e.every(u.a.plainObject)||e.every(u.a.string)}function y(e,t){return u.a.plainObject(e)||u.a.array(e)?u.a.string(t)?t.split(".").reduce((function(e,t){return e&&e[t]}),e):u.a.number(t)?e[t]:e:e}function M(e,t){if([e,t].some(u.a.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every((function(e){return u.a.plainObject(e)||u.a.array(e)})))throw new Error("Expected plain objects or array");var n=function(n,a,r){try{var i=y(e,n),o=y(t,n),s=u.a.defined(a),l=u.a.defined(r);if(s||l){var d=l?f(r,i):!f(a,i),p=f(a,o);return d&&p}return[i,o].every(u.a.array)||[i,o].every(u.a.plainObject)?!c(i,o):i!==o}catch(e){return!1}};return{added:function(n,a){try{return p(e,t,{key:n,type:"added",value:a})}catch(e){return!1}},changed:n,changedFrom:function(n,a,r){if(!u.a.defined(n))return!1;try{var i=y(e,n),o=y(t,n),s=u.a.defined(r);return f(a,i)&&(s?f(r,o):!s)}catch(e){return!1}},changedTo:function(e,t){return!!u.a.defined(e)&&n(e,t)},decreased:function(n,a,r){if(!u.a.defined(n))return!1;try{return d(e,t,{key:n,actual:a,previous:r,type:"decreased"})}catch(e){return!1}},emptied:function(n){try{var a=m(e,t,{key:n}),r=a[0],i=a[1];return!!r.length&&!i.length}catch(e){return!1}},filled:function(n){try{var a=m(e,t,{key:n}),r=a[0],i=a[1];return!r.length&&!!i.length}catch(e){return!1}},increased:function(n,a,r){if(!u.a.defined(n))return!1;try{return d(e,t,{key:n,actual:a,previous:r,type:"increased"})}catch(e){return!1}},removed:function(n,a){try{return p(e,t,{key:n,type:"removed",value:a})}catch(e){return!1}}}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(82),u=n(8),d=n(75),p=n(48),m=n(22);function b(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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 i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function f(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=function(e,t){var n=[];return function e(t,a){var r,i=h(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.id.toLowerCase()===a.toLowerCase())return void n.push(o);o.children&&o.children.length>0&&e(o.children,a)}}catch(e){i.e(e)}finally{i.f()}}(e,t),n},y=function e(t){var n=[];if(Array.isArray(t))return t.forEach((function(t){if(t.checked&&n.push(t),t.children&&t.children.length>0){var a=e(t.children);n.push.apply(n,b(a))}})),n},M=function(e){var t=[];return function e(n){Array.isArray(n)&&n.forEach((function(a){if(a.checked)if(a.children&&a.children.length>0){if(0===a.children.filter((function(e){return!e.checked})).length)return void t.push(a)}else{var r=n.find((function(e){return e.id===a.parentId}));r&&r.checked||t.push(a)}a.children&&a.children.length>0&&e(a.children)}))}(e),t};function v(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||O(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.className,b=e.data,f=void 0===b?{}:b,g=e.id,O=e.name,k=e.returnAllSelected,A=void 0!==k&&k,x=e.returnCompleteData,w=void 0!==x&&x,N=e.treeData,q=e.onSelect,E=void 0===q?function(){}:q,j=Object(l.a)(n),W=Object(l.c)(f),L=o()(Object(l.b)("pb_multi_level_select"),Object(s.c)(e),i),S=Object(a.useRef)(null),T=z(Object(a.useState)([]),2),C=T[0],R=T[1],D=z(Object(a.useState)(!0),2),P=D[0],B=D[1],I=z(Object(a.useState)(""),2),$=I[0],F=I[1],X=z(Object(a.useState)([]),2),Y=X[0],H=X[1],U=z(Object(a.useState)([]),2),V=U[0],G=U[1],K=z(Object(a.useState)([]),2),J=K[0],Z=K[1],Q=z(Object(a.useState)([]),2),ee=Q[0],te=Q[1],ne=function(e){return e.map((function(e){return e.id}))};Object(a.useEffect)((function(){!function(){if(w)return te(A?Y:J);te(ne(A?Y:J))}()}),[Y,J]),Object(a.useEffect)((function(){E(ee)}),[ee]),Object(a.useEffect)((function(){G(le(N))}),[N]),Object(a.useEffect)((function(){A?H(y(V)):Z(M(V))}),[V]),Object(a.useEffect)((function(){var e=function(e){S.current&&!S.current.contains(e.target)&&B(!0)};return window.addEventListener("click",e),function(){window.removeEventListener("click",e)}}),[]);var ae=function e(t,n){if(Array.isArray(t))return t.map((function(t){return t.checked=n,t.children=e(t.children,n),t}))},re=function e(t,n,a){if(Array.isArray(n))return n.map((function(n){return n.id!=t?n.children=e(t,n.children,a):(n.checked=a,n.children=ae(n.children,a)),n}))},ie=function(e){var t=Object(m.cloneDeep)(V);return A?re(e.id,t,!0):function e(t,n){if(null!==t.parent_id){var a=_(n,t.parent_id);if(a[0].children.every((function(e){return e.checked})))a[0].checked=!0,null!==a[0].parent_id&&e(a[0],n)}return n}(e,re(e.id,t,!0))},oe=function(e){var t=Object(m.cloneDeep)(V);return A?re(e.id,t,!1):function e(t,n){if(n.parent_id){var a=_(t,n.parent_id);a[0].checked=!1,a[0].parent_id&&e(t,a[0])}return t}(re(e.id,t,!1),e)},se=function(e,t){var n=t?ie(e):oe(e);return G(n),n},le=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(t))return t.map((function(t){var r=Object.assign(Object.assign({},t),{parent_id:n,depth:a});if(r.children&&r.children.length>0){var i=t.checked&&!A?ae(t.children,!0):t.children;r.children=e(i,r.id,a+1)}return r}))},ce=function(e,t){e.stopPropagation();var n=se(t,!1);E(A?y(n):M(n))},ue=function(e){return C.indexOf(e.id)>-1};return r.a.createElement("div",Object.assign({},j,W,{className:L,id:g}),r.a.createElement("div",{ref:S,className:"wrapper"},r.a.createElement("div",{className:"input_wrapper",onClick:function(e){e.stopPropagation(),"multiselect_input"===e.target.id||e.target.classList.contains("pb_form_pill_tag")||B(!P)}},r.a.createElement("div",{className:"input_inner_container"},Y.map((function(e){return r.a.createElement("input",{type:"hidden",name:O,value:e.id})})),0!==Y.length&&A?Y.map((function(e,t){return r.a.createElement(d.a,{key:t,text:e.label,size:"small",onClick:function(t){return ce(t,e)}})})):null,!A&&0!==J.length&&J.map((function(e,t){return r.a.createElement(d.a,{key:t,text:e.label,size:"small",onClick:function(t){return ce(t,e)}})})),0!==Y.length&&A&&r.a.createElement("br",null),0!==J.length&&!A&&r.a.createElement("br",null),r.a.createElement("input",{id:"multiselect_input",onChange:function(e){F(e.target.value)},placeholder:"Start typing...",value:$,onClick:function(){return B(!1)}})),P?r.a.createElement("div",{key:"chevron-down"},r.a.createElement(u.a,{icon:"chevron-down"})):r.a.createElement("div",{key:"chevron-up"},r.a.createElement(u.a,{icon:"chevron-up"}))),r.a.createElement("div",{className:"dropdown_menu ".concat(P?"close":"open")},function e(t){return r.a.createElement("ul",null,Array.isArray(t)&&t.map((function(t){return r.a.createElement(r.a.Fragment,null,r.a.createElement("li",{key:t.id,className:"dropdown_item","data-name":t.id},r.a.createElement("div",{className:"dropdown_item_checkbox_row"},r.a.createElement("div",{key:ue(t)?"chevron-down":"chevron-right"},r.a.createElement(p.a,{icon:ue(t)?"chevron-down":"chevron-right",className:t.children&&t.children.length>0?"":"toggle_icon",onClick:function(e){return function(e,t){t.stopPropagation();var n=_(V,e);if(n){var a=v(C);ue(n[0])?a=a.filter((function(e){return e!=n[0].id})):a.push(n[0].id),R(a)}}(t.id,e)},variant:"link"})),r.a.createElement(c.a,{text:t.label,id:t.id},r.a.createElement("input",{checked:t.checked,type:"checkbox",name:t.label,value:t.label,onChange:function(e){!function(e,t){var n=e.target.parentNode.id;F("");var a=_(V,n),r=se(a[0],t);E(A?y(r):M(r))}(e,!t.checked)}}))),ue(t)&&t.children&&t.children.length>0&&!$&&r.a.createElement("div",null,e(t.children))))})))}($?function(e,t){var n=[];return function e(t,a){var r,i=h(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.label.toLowerCase().includes(a.toLowerCase())&&n.push(o),o.children&&e(o.children,a)}}catch(e){i.e(e)}finally{i.f()}}(e,t),n}(V,$):V))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(15);t.a=function(e){var t=e.className,n=e.id,a=e.unit,i=e.value,c=void 0===i?0:i;return r.a.createElement("div",{className:o()("pb_stat_value_kit",Object(s.c)(e),t),id:n},r.a.createElement("div",{className:"pb_stat_value_wrapper"},function(e){if(e||0===e)return r.a.createElement(l.a,{size:1,tag:"span",text:"".concat(e)})}(c)," ",function(e){if(e)return r.a.createElement(l.a,{size:3,tag:"span",text:e})}(a)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(54),l=n(5),c=n(13),u=n(181),d=n(15),p=n(2);t.a=function(e){var t=e.address,n=e.addressCont,a=e.aria,i=void 0===a?{}:a,m=e.city,b=e.className,h=e.data,f=void 0===h?{}:h,g=e.dark,_=void 0!==g&&g,y=e.emphasis,M=void 0===y?"street":y,v=e.homeId,z=e.homeUrl,O=e.newWindow,k=e.houseStyle,A=e.state,x=e.zipcode,w=e.territory,N=Object(p.c)(f),q=Object(p.a)(i);return r.a.createElement("div",Object.assign({className:function(t,n){return o()({pb_home_address_street:!n,pb_home_address_street_dark:n},Object(l.c)(e),t)}(b,_)},q,N),"street"==M&&r.a.createElement("div",null,r.a.createElement(d.a,{className:"pb_home_address_street_address",dark:_,size:4},Object(s.b)([Object(s.c)(t),k]," · ")),r.a.createElement(d.a,{className:"pb_home_address_street_address",dark:_,size:4},Object(s.c)(n)),r.a.createElement(c.a,{color:"light"},"".concat(Object(s.c)(m),", ").concat(A," ").concat(x))),"city"==M&&r.a.createElement("div",null,r.a.createElement(c.a,{color:"light"},Object(s.b)([Object(s.c)(t),k]," · ")),r.a.createElement(c.a,{color:"light"},Object(s.c)(n)),r.a.createElement("div",null,r.a.createElement(d.a,{className:"pb_home_address_street_address",dark:_,size:4,tag:"span"},"".concat(Object(s.c)(m),", ").concat(A)),r.a.createElement(c.a,{color:"light",tag:"span"}," ".concat(x)))),v&&r.a.createElement(u.a,{classname:"home-hashtag",dark:_,marginRight:"xxs",newWindow:O,text:v,type:"home",url:z||"#"}),r.a.createElement(c.a,{color:"light",tag:"span"},r.a.createElement("small",null,w)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(17),u=n(165),d=n(163);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.contacts,p=void 0===i?[]:i,m=e.data,b=void 0===m?{}:m,h=e.firstName,f=e.id,g=e.lastName,_=Object(s.a)(n),y=Object(s.c)(b),M=o()(Object(s.b)("pb_person_contact_kit"),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},_,y,{className:M,id:f}),r.a.createElement(d.a,{firstName:h,lastName:g}),p.filter((function(e){return"wrong-phone"!==e.contactType})).map((function(e,t){return r.a.createElement(u.a,{contactDetail:e.contactDetail,contactType:e.contactType,contactValue:e.contactValue,key:"valid-contact-".concat(t)})})),p.filter((function(e){return"wrong-phone"===e.contactType})).map((function(e,t){return r.a.createElement("div",{key:"wrong-contact-caption-wrapper-".concat(t)},r.a.createElement(c.a,{className:"wrong_numbers",key:"wrong-contact-caption-".concat(t),text:"wrong number"}),r.a.createElement(u.a,{contactType:e.contactType,contactValue:e.contactValue,key:"wrong-contact-".concat(t)}))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),r=n.n(a).a.createContext(null)},function(e,t,n){"use strict";var a=n(39),r={passive:!0};t.a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,s=void 0===o||o,l=i.resize,c=void 0===l||l,u=Object(a.a)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach((function(e){e.addEventListener("scroll",n.update,r)})),c&&u.addEventListener("resize",n.update,r),function(){s&&d.forEach((function(e){e.removeEventListener("scroll",n.update,r)})),c&&u.removeEventListener("resize",n.update,r)}},data:{}}},function(e,t,n){"use strict";var a=n(135);t.a={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Object(a.a)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(43),r=n(72),i=n(100),o=n(12);function s(e){var t,n=e.reference,s=e.element,l=e.placement,c=l?Object(a.a)(l):null,u=l?Object(r.a)(l):null,d=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2;switch(c){case o.m:t={x:d,y:n.y-s.height};break;case o.c:t={x:d,y:n.y+n.height};break;case o.k:t={x:n.x+n.width,y:p};break;case o.f:t={x:n.x-s.width,y:p};break;default:t={x:n.x,y:n.y}}var m=c?Object(i.a)(c):null;if(null!=m){var b="y"===m?"height":"width";switch(u){case o.l:t[m]=t[m]-(n[b]/2-s[b]/2);break;case o.e:t[m]=t[m]+(n[b]/2-s[b]/2)}}return t}},function(e,t,n){"use strict";var a=n(12),r=n(79),i=n(39),o=n(51),s=n(57),l=n(43),c=n(72),u=n(32),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,n=e.popper,l=e.popperRect,c=e.placement,p=e.variation,m=e.offsets,b=e.position,h=e.gpuAcceleration,f=e.adaptive,g=e.roundOffsets,_=e.isFixed,y=m.x,M=void 0===y?0:y,v=m.y,z=void 0===v?0:v,O="function"==typeof g?g({x:M,y:z}):{x:M,y:z};M=O.x,z=O.y;var k=m.hasOwnProperty("x"),A=m.hasOwnProperty("y"),x=a.f,w=a.m,N=window;if(f){var q=Object(r.a)(n),E="clientHeight",j="clientWidth";if(q===Object(i.a)(n)&&(q=Object(o.a)(n),"static"!==Object(s.a)(q).position&&"absolute"===b&&(E="scrollHeight",j="scrollWidth")),q=q,c===a.m||(c===a.f||c===a.k)&&p===a.e)w=a.c,z-=(_&&q===N&&N.visualViewport?N.visualViewport.height:q[E])-l.height,z*=h?1:-1;if(c===a.f||(c===a.m||c===a.c)&&p===a.e)x=a.k,M-=(_&&q===N&&N.visualViewport?N.visualViewport.width:q[j])-l.width,M*=h?1:-1}var W,L=Object.assign({position:b},f&&d),S=!0===g?function(e){var t=e.x,n=e.y,a=window.devicePixelRatio||1;return{x:Object(u.c)(t*a)/a||0,y:Object(u.c)(n*a)/a||0}}({x:M,y:z}):{x:M,y:z};return M=S.x,z=S.y,h?Object.assign({},L,((W={})[w]=A?"0":"",W[x]=k?"0":"",W.transform=(N.devicePixelRatio||1)<=1?"translate("+M+"px, "+z+"px)":"translate3d("+M+"px, "+z+"px, 0)",W)):Object.assign({},L,((t={})[w]=A?z+"px":"",t[x]=k?M+"px":"",t.transform="",t))}t.a={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,a=n.gpuAcceleration,r=void 0===a||a,i=n.adaptive,o=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,d={placement:Object(l.a)(t.placement),variation:Object(c.a)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},function(e,t,n){"use strict";var a=n(46),r=n(23);t.a={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];Object(r.b)(o)&&Object(a.a)(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Object(r.b)(i)&&Object(a.a)(i)&&(Object.assign(i.style,s),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(139);function r(e){return Object.assign({},Object(a.a)(),e)}},function(e,t,n){"use strict";function a(){return{top:0,right:0,bottom:0,left:0}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function a(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(120);function r(){return!/^((?!chrome|android).)*safari/i.test(Object(a.a)())}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(23);function r(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Object(a.c)(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},function(e,t,n){"use strict";function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(a);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);r.insertRule(e,i?0:r.cssRules.length)}catch(e){0}}else a.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(49);function r(e){var t=function(e,t){if("object"!==Object(a.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Object(a.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(a.a)(t)?t:String(t)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(179),d=n(129);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,p=e.className,m=e.data,b=void 0===m?{}:m,h=e.id,f=e.statChange,g=void 0===f?{}:f,_=e.statLabel,y=e.statValue,M=void 0===y?{}:y,v=Object(s.a)(i),z=Object(s.c)(b),O=o()(Object(s.b)("pb_dashboard_value_kit",n),Object(l.c)(e),p);return r.a.createElement("div",Object.assign({},v,z,{className:O,id:h}),_&&r.a.createElement(c.a,{color:"light"},_),M&&r.a.createElement(d.a,{unit:M.unit,value:M.value}),g&&r.a.createElement(u.a,{change:g.change,value:g.value}))}},function(e,t,n){var a;
16
+ */(function(){var i="Expected a function",o="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",u="[object Boolean]",d="[object Date]",p="[object Error]",m="[object Function]",b="[object GeneratorFunction]",h="[object Map]",f="[object Number]",g="[object Object]",_="[object RegExp]",y="[object Set]",M="[object String]",v="[object Symbol]",z="[object WeakMap]",O="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",x="[object Float64Array]",w="[object Int8Array]",N="[object Int16Array]",q="[object Int32Array]",E="[object Uint8Array]",j="[object Uint16Array]",W="[object Uint32Array]",L=/\b__p \+= '';/g,S=/\b(__p \+=) '' \+/g,T=/(__e\(.*?\)|\b__t\)) \+\n'';/g,C=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,D=RegExp(C.source),P=RegExp(R.source),B=/<%-([\s\S]+?)%>/g,I=/<%([\s\S]+?)%>/g,$=/<%=([\s\S]+?)%>/g,F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H=/[\\^$.*+?()[\]{}|]/g,U=RegExp(H.source),V=/^\s+/,G=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ae=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,le=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,de=/['\n\r\u2028\u2029\\]/g,pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",me="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",be="[\\ud800-\\udfff]",he="["+me+"]",fe="["+pe+"]",ge="\\d+",_e="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",Me="[^\\ud800-\\udfff"+me+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ve="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",ke="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="[A-Z\\xc0-\\xd6\\xd8-\\xde]",xe="(?:"+ye+"|"+Me+")",we="(?:"+Ae+"|"+Me+")",Ne="(?:"+fe+"|"+ve+")"+"?",qe="[\\ufe0e\\ufe0f]?"+Ne+("(?:\\u200d(?:"+[ze,Oe,ke].join("|")+")[\\ufe0e\\ufe0f]?"+Ne+")*"),Ee="(?:"+[_e,Oe,ke].join("|")+")"+qe,je="(?:"+[ze+fe+"?",fe,Oe,ke,be].join("|")+")",We=RegExp("['’]","g"),Le=RegExp(fe,"g"),Se=RegExp(ve+"(?="+ve+")|"+je+qe,"g"),Te=RegExp([Ae+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Ae,"$"].join("|")+")",we+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Ae+xe,"$"].join("|")+")",Ae+"?"+xe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ae+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,Ee].join("|"),"g"),Ce=RegExp("[\\u200d\\ud800-\\udfff"+pe+"\\ufe0e\\ufe0f]"),Re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,De=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Pe=-1,Be={};Be[A]=Be[x]=Be[w]=Be[N]=Be[q]=Be[E]=Be["[object Uint8ClampedArray]"]=Be[j]=Be[W]=!0,Be[l]=Be[c]=Be[O]=Be[u]=Be[k]=Be[d]=Be[p]=Be[m]=Be[h]=Be[f]=Be[g]=Be[_]=Be[y]=Be[M]=Be[z]=!1;var Ie={};Ie[l]=Ie[c]=Ie[O]=Ie[k]=Ie[u]=Ie[d]=Ie[A]=Ie[x]=Ie[w]=Ie[N]=Ie[q]=Ie[h]=Ie[f]=Ie[g]=Ie[_]=Ie[y]=Ie[M]=Ie[v]=Ie[E]=Ie["[object Uint8ClampedArray]"]=Ie[j]=Ie[W]=!0,Ie[p]=Ie[m]=Ie[z]=!1;var $e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fe=parseFloat,Xe=parseInt,Ye="object"==typeof e&&e&&e.Object===Object&&e,He="object"==typeof self&&self&&self.Object===Object&&self,Ue=Ye||He||Function("return this")(),Ve=t&&!t.nodeType&&t,Ge=Ve&&"object"==typeof a&&a&&!a.nodeType&&a,Ke=Ge&&Ge.exports===Ve,Je=Ke&&Ye.process,Ze=function(){try{var e=Ge&&Ge.require&&Ge.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(e){}}(),Qe=Ze&&Ze.isArrayBuffer,et=Ze&&Ze.isDate,tt=Ze&&Ze.isMap,nt=Ze&&Ze.isRegExp,at=Ze&&Ze.isSet,rt=Ze&&Ze.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function ot(e,t,n,a){for(var r=-1,i=null==e?0:e.length;++r<i;){var o=e[r];t(a,o,n(o),e)}return a}function st(e,t){for(var n=-1,a=null==e?0:e.length;++n<a&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(!t(e[n],n,e))return!1;return!0}function ut(e,t){for(var n=-1,a=null==e?0:e.length,r=0,i=[];++n<a;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}function dt(e,t){return!!(null==e?0:e.length)&&vt(e,t,0)>-1}function pt(e,t,n){for(var a=-1,r=null==e?0:e.length;++a<r;)if(n(t,e[a]))return!0;return!1}function mt(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}function bt(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}function ht(e,t,n,a){var r=-1,i=null==e?0:e.length;for(a&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}function ft(e,t,n,a){var r=null==e?0:e.length;for(a&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function gt(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}var _t=At("length");function yt(e,t,n){var a;return n(e,(function(e,n,r){if(t(e,n,r))return a=n,!1})),a}function Mt(e,t,n,a){for(var r=e.length,i=n+(a?1:-1);a?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function vt(e,t,n){return t==t?function(e,t,n){var a=n-1,r=e.length;for(;++a<r;)if(e[a]===t)return a;return-1}(e,t,n):Mt(e,Ot,n)}function zt(e,t,n,a){for(var r=n-1,i=e.length;++r<i;)if(a(e[r],t))return r;return-1}function Ot(e){return e!=e}function kt(e,t){var n=null==e?0:e.length;return n?Nt(e,t)/n:NaN}function At(e){return function(t){return null==t?void 0:t[e]}}function xt(e){return function(t){return null==e?void 0:e[t]}}function wt(e,t,n,a,r){return r(e,(function(e,r,i){n=a?(a=!1,e):t(n,e,r,i)})),n}function Nt(e,t){for(var n,a=-1,r=e.length;++a<r;){var i=t(e[a]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function qt(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}function Et(e){return e?e.slice(0,Vt(e)+1).replace(V,""):e}function jt(e){return function(t){return e(t)}}function Wt(e,t){return mt(t,(function(t){return e[t]}))}function Lt(e,t){return e.has(t)}function St(e,t){for(var n=-1,a=e.length;++n<a&&vt(t,e[n],0)>-1;);return n}function Tt(e,t){for(var n=e.length;n--&&vt(t,e[n],0)>-1;);return n}function Ct(e,t){for(var n=e.length,a=0;n--;)e[n]===t&&++a;return a}var Rt=xt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Dt=xt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Pt(e){return"\\"+$e[e]}function Bt(e){return Ce.test(e)}function It(e){var t=-1,n=Array(e.size);return e.forEach((function(e,a){n[++t]=[a,e]})),n}function $t(e,t){return function(n){return e(t(n))}}function Ft(e,t){for(var n=-1,a=e.length,r=0,i=[];++n<a;){var s=e[n];s!==t&&s!==o||(e[n]=o,i[r++]=n)}return i}function Xt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Yt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Ht(e){return Bt(e)?function(e){var t=Se.lastIndex=0;for(;Se.test(e);)++t;return t}(e):_t(e)}function Ut(e){return Bt(e)?function(e){return e.match(Se)||[]}(e):function(e){return e.split("")}(e)}function Vt(e){for(var t=e.length;t--&&G.test(e.charAt(t)););return t}var Gt=xt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Kt=function e(t){var n,a=(t=null==t?Ue:Kt.defaults(Ue.Object(),t,Kt.pick(Ue,De))).Array,r=t.Date,G=t.Error,pe=t.Function,me=t.Math,be=t.Object,he=t.RegExp,fe=t.String,ge=t.TypeError,_e=a.prototype,ye=pe.prototype,Me=be.prototype,ve=t["__core-js_shared__"],ze=ye.toString,Oe=Me.hasOwnProperty,ke=0,Ae=(n=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",xe=Me.toString,we=ze.call(be),Ne=Ue._,qe=he("^"+ze.call(Oe).replace(H,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ee=Ke?t.Buffer:void 0,je=t.Symbol,Se=t.Uint8Array,Ce=Ee?Ee.allocUnsafe:void 0,$e=$t(be.getPrototypeOf,be),Ye=be.create,He=Me.propertyIsEnumerable,Ve=_e.splice,Ge=je?je.isConcatSpreadable:void 0,Je=je?je.iterator:void 0,Ze=je?je.toStringTag:void 0,_t=function(){try{var e=ei(be,"defineProperty");return e({},"",{}),e}catch(e){}}(),xt=t.clearTimeout!==Ue.clearTimeout&&t.clearTimeout,Jt=r&&r.now!==Ue.Date.now&&r.now,Zt=t.setTimeout!==Ue.setTimeout&&t.setTimeout,Qt=me.ceil,en=me.floor,tn=be.getOwnPropertySymbols,nn=Ee?Ee.isBuffer:void 0,an=t.isFinite,rn=_e.join,on=$t(be.keys,be),sn=me.max,ln=me.min,cn=r.now,un=t.parseInt,dn=me.random,pn=_e.reverse,mn=ei(t,"DataView"),bn=ei(t,"Map"),hn=ei(t,"Promise"),fn=ei(t,"Set"),gn=ei(t,"WeakMap"),_n=ei(be,"create"),yn=gn&&new gn,Mn={},vn=wi(mn),zn=wi(bn),On=wi(hn),kn=wi(fn),An=wi(gn),xn=je?je.prototype:void 0,wn=xn?xn.valueOf:void 0,Nn=xn?xn.toString:void 0;function qn(e){if(Yo(e)&&!So(e)&&!(e instanceof Ln)){if(e instanceof Wn)return e;if(Oe.call(e,"__wrapped__"))return Ni(e)}return new Wn(e)}var En=function(){function e(){}return function(t){if(!Xo(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function jn(){}function Wn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Ln(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Sn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Cn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Rn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Cn;++t<n;)this.add(e[t])}function Dn(e){var t=this.__data__=new Tn(e);this.size=t.size}function Pn(e,t){var n=So(e),a=!n&&Lo(e),r=!n&&!a&&Do(e),i=!n&&!a&&!r&&Qo(e),o=n||a||r||i,s=o?qt(e.length,fe):[],l=s.length;for(var c in e)!t&&!Oe.call(e,c)||o&&("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||si(c,l))||s.push(c);return s}function Bn(e){var t=e.length;return t?e[Ra(0,t-1)]:void 0}function In(e,t){return ki(_r(e),Kn(t,0,e.length))}function $n(e){return ki(_r(e))}function Fn(e,t,n){(void 0!==n&&!Eo(e[t],n)||void 0===n&&!(t in e))&&Vn(e,t,n)}function Xn(e,t,n){var a=e[t];Oe.call(e,t)&&Eo(a,n)&&(void 0!==n||t in e)||Vn(e,t,n)}function Yn(e,t){for(var n=e.length;n--;)if(Eo(e[n][0],t))return n;return-1}function Hn(e,t,n,a){return ta(e,(function(e,r,i){t(a,e,n(e),i)})),a}function Un(e,t){return e&&yr(t,vs(t),e)}function Vn(e,t,n){"__proto__"==t&&_t?_t(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Gn(e,t){for(var n=-1,r=t.length,i=a(r),o=null==e;++n<r;)i[n]=o?void 0:fs(e,t[n]);return i}function Kn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,a,r,i){var o,s=1&t,c=2&t,p=4&t;if(n&&(o=r?n(e,a,r,i):n(e)),void 0!==o)return o;if(!Xo(e))return e;var z=So(e);if(z){if(o=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Oe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return _r(e,o)}else{var L=ai(e),S=L==m||L==b;if(Do(e))return pr(e,s);if(L==g||L==l||S&&!r){if(o=c||S?{}:ii(e),!s)return c?function(e,t){return yr(e,ni(e),t)}(e,function(e,t){return e&&yr(t,zs(t),e)}(o,e)):function(e,t){return yr(e,ti(e),t)}(e,Un(o,e))}else{if(!Ie[L])return r?e:{};o=function(e,t,n){var a=e.constructor;switch(t){case O:return mr(e);case u:case d:return new a(+e);case k:return function(e,t){var n=t?mr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case x:case w:case N:case q:case E:case"[object Uint8ClampedArray]":case j:case W:return br(e,n);case h:return new a;case f:case M:return new a(e);case _:return function(e){var t=new e.constructor(e.source,ae.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new a;case v:return r=e,wn?be(wn.call(r)):{}}var r}(e,L,s)}}i||(i=new Dn);var T=i.get(e);if(T)return T;i.set(e,o),Ko(e)?e.forEach((function(a){o.add(Jn(a,t,n,a,e,i))})):Ho(e)&&e.forEach((function(a,r){o.set(r,Jn(a,t,n,r,e,i))}));var C=z?void 0:(p?c?Ur:Hr:c?zs:vs)(e);return st(C||e,(function(a,r){C&&(a=e[r=a]),Xn(o,r,Jn(a,t,n,r,e,i))})),o}function Zn(e,t,n){var a=n.length;if(null==e)return!a;for(e=be(e);a--;){var r=n[a],i=t[r],o=e[r];if(void 0===o&&!(r in e)||!i(o))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ge(i);return Mi((function(){e.apply(void 0,n)}),t)}function ea(e,t,n,a){var r=-1,i=dt,o=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=mt(t,jt(n))),a?(i=pt,o=!1):t.length>=200&&(i=Lt,o=!1,t=new Rn(t));e:for(;++r<s;){var u=e[r],d=null==n?u:n(u);if(u=a||0!==u?u:0,o&&d==d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else i(t,d,a)||l.push(u)}return l}qn.templateSettings={escape:B,evaluate:I,interpolate:$,variable:"",imports:{_:qn}},qn.prototype=jn.prototype,qn.prototype.constructor=qn,Wn.prototype=En(jn.prototype),Wn.prototype.constructor=Wn,Ln.prototype=En(jn.prototype),Ln.prototype.constructor=Ln,Sn.prototype.clear=function(){this.__data__=_n?_n(null):{},this.size=0},Sn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Sn.prototype.get=function(e){var t=this.__data__;if(_n){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Oe.call(t,e)?t[e]:void 0},Sn.prototype.has=function(e){var t=this.__data__;return _n?void 0!==t[e]:Oe.call(t,e)},Sn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_n&&void 0===t?"__lodash_hash_undefined__":t,this},Tn.prototype.clear=function(){this.__data__=[],this.size=0},Tn.prototype.delete=function(e){var t=this.__data__,n=Yn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ve.call(t,n,1),--this.size,!0)},Tn.prototype.get=function(e){var t=this.__data__,n=Yn(t,e);return n<0?void 0:t[n][1]},Tn.prototype.has=function(e){return Yn(this.__data__,e)>-1},Tn.prototype.set=function(e,t){var n=this.__data__,a=Yn(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this},Cn.prototype.clear=function(){this.size=0,this.__data__={hash:new Sn,map:new(bn||Tn),string:new Sn}},Cn.prototype.delete=function(e){var t=Zr(this,e).delete(e);return this.size-=t?1:0,t},Cn.prototype.get=function(e){return Zr(this,e).get(e)},Cn.prototype.has=function(e){return Zr(this,e).has(e)},Cn.prototype.set=function(e,t){var n=Zr(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this},Rn.prototype.add=Rn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.clear=function(){this.__data__=new Tn,this.size=0},Dn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Dn.prototype.get=function(e){return this.__data__.get(e)},Dn.prototype.has=function(e){return this.__data__.has(e)},Dn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Tn){var a=n.__data__;if(!bn||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new Cn(a)}return n.set(e,t),this.size=n.size,this};var ta=zr(ca),na=zr(ua,!0);function aa(e,t){var n=!0;return ta(e,(function(e,a,r){return n=!!t(e,a,r)})),n}function ra(e,t,n){for(var a=-1,r=e.length;++a<r;){var i=e[a],o=t(i);if(null!=o&&(void 0===s?o==o&&!Zo(o):n(o,s)))var s=o,l=i}return l}function ia(e,t){var n=[];return ta(e,(function(e,a,r){t(e,a,r)&&n.push(e)})),n}function oa(e,t,n,a,r){var i=-1,o=e.length;for(n||(n=oi),r||(r=[]);++i<o;){var s=e[i];t>0&&n(s)?t>1?oa(s,t-1,n,a,r):bt(r,s):a||(r[r.length]=s)}return r}var sa=Or(),la=Or(!0);function ca(e,t){return e&&sa(e,t,vs)}function ua(e,t){return e&&la(e,t,vs)}function da(e,t){return ut(t,(function(t){return Io(e[t])}))}function pa(e,t){for(var n=0,a=(t=lr(t,e)).length;null!=e&&n<a;)e=e[xi(t[n++])];return n&&n==a?e:void 0}function ma(e,t,n){var a=t(e);return So(e)?a:bt(a,n(e))}function ba(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ze&&Ze in be(e)?function(e){var t=Oe.call(e,Ze),n=e[Ze];try{e[Ze]=void 0;var a=!0}catch(e){}var r=xe.call(e);a&&(t?e[Ze]=n:delete e[Ze]);return r}(e):function(e){return xe.call(e)}(e)}function ha(e,t){return e>t}function fa(e,t){return null!=e&&Oe.call(e,t)}function ga(e,t){return null!=e&&t in be(e)}function _a(e,t,n){for(var r=n?pt:dt,i=e[0].length,o=e.length,s=o,l=a(o),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=mt(d,jt(t))),c=ln(d.length,c),l[s]=!n&&(t||i>=120&&d.length>=120)?new Rn(s&&d):void 0}d=e[0];var p=-1,m=l[0];e:for(;++p<i&&u.length<c;){var b=d[p],h=t?t(b):b;if(b=n||0!==b?b:0,!(m?Lt(m,h):r(u,h,n))){for(s=o;--s;){var f=l[s];if(!(f?Lt(f,h):r(e[s],h,n)))continue e}m&&m.push(h),u.push(b)}}return u}function ya(e,t,n){var a=null==(e=fi(e,t=lr(t,e)))?e:e[xi(Pi(t))];return null==a?void 0:it(a,e,n)}function Ma(e){return Yo(e)&&ba(e)==l}function va(e,t,n,a,r){return e===t||(null==e||null==t||!Yo(e)&&!Yo(t)?e!=e&&t!=t:function(e,t,n,a,r,i){var o=So(e),s=So(t),m=o?c:ai(e),b=s?c:ai(t),z=(m=m==l?g:m)==g,A=(b=b==l?g:b)==g,x=m==b;if(x&&Do(e)){if(!Do(t))return!1;o=!0,z=!1}if(x&&!z)return i||(i=new Dn),o||Qo(e)?Xr(e,t,n,a,r,i):function(e,t,n,a,r,i,o){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!i(new Se(e),new Se(t)));case u:case d:case f:return Eo(+e,+t);case p:return e.name==t.name&&e.message==t.message;case _:case M:return e==t+"";case h:var s=It;case y:var l=1&a;if(s||(s=Xt),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;a|=2,o.set(e,t);var m=Xr(s(e),s(t),a,r,i,o);return o.delete(e),m;case v:if(wn)return wn.call(e)==wn.call(t)}return!1}(e,t,m,n,a,r,i);if(!(1&n)){var w=z&&Oe.call(e,"__wrapped__"),N=A&&Oe.call(t,"__wrapped__");if(w||N){var q=w?e.value():e,E=N?t.value():t;return i||(i=new Dn),r(q,E,n,a,i)}}if(!x)return!1;return i||(i=new Dn),function(e,t,n,a,r,i){var o=1&n,s=Hr(e),l=s.length,c=Hr(t).length;if(l!=c&&!o)return!1;var u=l;for(;u--;){var d=s[u];if(!(o?d in t:Oe.call(t,d)))return!1}var p=i.get(e),m=i.get(t);if(p&&m)return p==t&&m==e;var b=!0;i.set(e,t),i.set(t,e);var h=o;for(;++u<l;){d=s[u];var f=e[d],g=t[d];if(a)var _=o?a(g,f,d,t,e,i):a(f,g,d,e,t,i);if(!(void 0===_?f===g||r(f,g,n,a,i):_)){b=!1;break}h||(h="constructor"==d)}if(b&&!h){var y=e.constructor,M=t.constructor;y==M||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof M&&M instanceof M||(b=!1)}return i.delete(e),i.delete(t),b}(e,t,n,a,r,i)}(e,t,n,a,va,r))}function za(e,t,n,a){var r=n.length,i=r,o=!a;if(null==e)return!i;for(e=be(e);r--;){var s=n[r];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){var l=(s=n[r])[0],c=e[l],u=s[1];if(o&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Dn;if(a)var p=a(c,u,l,e,t,d);if(!(void 0===p?va(u,c,3,a,d):p))return!1}}return!0}function Oa(e){return!(!Xo(e)||(t=e,Ae&&Ae in t))&&(Io(e)?qe:oe).test(wi(e));var t}function ka(e){return"function"==typeof e?e:null==e?Us:"object"==typeof e?So(e)?Ea(e[0],e[1]):qa(e):nl(e)}function Aa(e){if(!pi(e))return on(e);var t=[];for(var n in be(e))Oe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function xa(e){if(!Xo(e))return function(e){var t=[];if(null!=e)for(var n in be(e))t.push(n);return t}(e);var t=pi(e),n=[];for(var a in e)("constructor"!=a||!t&&Oe.call(e,a))&&n.push(a);return n}function wa(e,t){return e<t}function Na(e,t){var n=-1,r=Co(e)?a(e.length):[];return ta(e,(function(e,a,i){r[++n]=t(e,a,i)})),r}function qa(e){var t=Qr(e);return 1==t.length&&t[0][2]?bi(t[0][0],t[0][1]):function(n){return n===e||za(n,e,t)}}function Ea(e,t){return ci(e)&&mi(t)?bi(xi(e),t):function(n){var a=fs(n,e);return void 0===a&&a===t?gs(n,e):va(t,a,3)}}function ja(e,t,n,a,r){e!==t&&sa(t,(function(i,o){if(r||(r=new Dn),Xo(i))!function(e,t,n,a,r,i,o){var s=_i(e,n),l=_i(t,n),c=o.get(l);if(c)return void Fn(e,n,c);var u=i?i(s,l,n+"",e,t,o):void 0,d=void 0===u;if(d){var p=So(l),m=!p&&Do(l),b=!p&&!m&&Qo(l);u=l,p||m||b?So(s)?u=s:Ro(s)?u=_r(s):m?(d=!1,u=pr(l,!0)):b?(d=!1,u=br(l,!0)):u=[]:Vo(l)||Lo(l)?(u=s,Lo(s)?u=ss(s):Xo(s)&&!Io(s)||(u=ii(l))):d=!1}d&&(o.set(l,u),r(u,l,a,i,o),o.delete(l));Fn(e,n,u)}(e,t,o,n,ja,a,r);else{var s=a?a(_i(e,o),i,o+"",e,t,r):void 0;void 0===s&&(s=i),Fn(e,o,s)}}),zs)}function Wa(e,t){var n=e.length;if(n)return si(t+=t<0?n:0,n)?e[t]:void 0}function La(e,t,n){t=t.length?mt(t,(function(e){return So(e)?function(t){return pa(t,1===e.length?e[0]:e)}:e})):[Us];var a=-1;return t=mt(t,jt(Jr())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Na(e,(function(e,n,r){return{criteria:mt(t,(function(t){return t(e)})),index:++a,value:e}})),(function(e,t){return function(e,t,n){var a=-1,r=e.criteria,i=t.criteria,o=r.length,s=n.length;for(;++a<o;){var l=hr(r[a],i[a]);if(l){if(a>=s)return l;var c=n[a];return l*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function Sa(e,t,n){for(var a=-1,r=t.length,i={};++a<r;){var o=t[a],s=pa(e,o);n(s,o)&&$a(i,lr(o,e),s)}return i}function Ta(e,t,n,a){var r=a?zt:vt,i=-1,o=t.length,s=e;for(e===t&&(t=_r(t)),n&&(s=mt(e,jt(n)));++i<o;)for(var l=0,c=t[i],u=n?n(c):c;(l=r(s,u,l,a))>-1;)s!==e&&Ve.call(s,l,1),Ve.call(e,l,1);return e}function Ca(e,t){for(var n=e?t.length:0,a=n-1;n--;){var r=t[n];if(n==a||r!==i){var i=r;si(r)?Ve.call(e,r,1):er(e,r)}}return e}function Ra(e,t){return e+en(dn()*(t-e+1))}function Da(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Pa(e,t){return vi(hi(e,t,Us),e+"")}function Ba(e){return Bn(Es(e))}function Ia(e,t){var n=Es(e);return ki(n,Kn(t,0,n.length))}function $a(e,t,n,a){if(!Xo(e))return e;for(var r=-1,i=(t=lr(t,e)).length,o=i-1,s=e;null!=s&&++r<i;){var l=xi(t[r]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(r!=o){var u=s[l];void 0===(c=a?a(u,l,s):void 0)&&(c=Xo(u)?u:si(t[r+1])?[]:{})}Xn(s,l,c),s=s[l]}return e}var Fa=yn?function(e,t){return yn.set(e,t),e}:Us,Xa=_t?function(e,t){return _t(e,"toString",{configurable:!0,enumerable:!1,value:Xs(t),writable:!0})}:Us;function Ya(e){return ki(Es(e))}function Ha(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=a(i);++r<i;)o[r]=e[r+t];return o}function Ua(e,t){var n;return ta(e,(function(e,a,r){return!(n=t(e,a,r))})),!!n}function Va(e,t,n){var a=0,r=null==e?a:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;a<r;){var i=a+r>>>1,o=e[i];null!==o&&!Zo(o)&&(n?o<=t:o<t)?a=i+1:r=i}return r}return Ga(e,t,Us,n)}function Ga(e,t,n,a){var r=0,i=null==e?0:e.length;if(0===i)return 0;for(var o=(t=n(t))!=t,s=null===t,l=Zo(t),c=void 0===t;r<i;){var u=en((r+i)/2),d=n(e[u]),p=void 0!==d,m=null===d,b=d==d,h=Zo(d);if(o)var f=a||b;else f=c?b&&(a||p):s?b&&p&&(a||!m):l?b&&p&&!m&&(a||!h):!m&&!h&&(a?d<=t:d<t);f?r=u+1:i=u}return ln(i,4294967294)}function Ka(e,t){for(var n=-1,a=e.length,r=0,i=[];++n<a;){var o=e[n],s=t?t(o):o;if(!n||!Eo(s,l)){var l=s;i[r++]=0===o?0:o}}return i}function Ja(e){return"number"==typeof e?e:Zo(e)?NaN:+e}function Za(e){if("string"==typeof e)return e;if(So(e))return mt(e,Za)+"";if(Zo(e))return Nn?Nn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qa(e,t,n){var a=-1,r=dt,i=e.length,o=!0,s=[],l=s;if(n)o=!1,r=pt;else if(i>=200){var c=t?null:Dr(e);if(c)return Xt(c);o=!1,r=Lt,l=new Rn}else l=t?[]:s;e:for(;++a<i;){var u=e[a],d=t?t(u):u;if(u=n||0!==u?u:0,o&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else r(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function er(e,t){return null==(e=fi(e,t=lr(t,e)))||delete e[xi(Pi(t))]}function tr(e,t,n,a){return $a(e,t,n(pa(e,t)),a)}function nr(e,t,n,a){for(var r=e.length,i=a?r:-1;(a?i--:++i<r)&&t(e[i],i,e););return n?Ha(e,a?0:i,a?i+1:r):Ha(e,a?i+1:0,a?r:i)}function ar(e,t){var n=e;return n instanceof Ln&&(n=n.value()),ht(t,(function(e,t){return t.func.apply(t.thisArg,bt([e],t.args))}),n)}function rr(e,t,n){var r=e.length;if(r<2)return r?Qa(e[0]):[];for(var i=-1,o=a(r);++i<r;)for(var s=e[i],l=-1;++l<r;)l!=i&&(o[i]=ea(o[i]||s,e[l],t,n));return Qa(oa(o,1),t,n)}function ir(e,t,n){for(var a=-1,r=e.length,i=t.length,o={};++a<r;){var s=a<i?t[a]:void 0;n(o,e[a],s)}return o}function or(e){return Ro(e)?e:[]}function sr(e){return"function"==typeof e?e:Us}function lr(e,t){return So(e)?e:ci(e,t)?[e]:Ai(ls(e))}var cr=Pa;function ur(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:Ha(e,t,n)}var dr=xt||function(e){return Ue.clearTimeout(e)};function pr(e,t){if(t)return e.slice();var n=e.length,a=Ce?Ce(n):new e.constructor(n);return e.copy(a),a}function mr(e){var t=new e.constructor(e.byteLength);return new Se(t).set(new Se(e)),t}function br(e,t){var n=t?mr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function hr(e,t){if(e!==t){var n=void 0!==e,a=null===e,r=e==e,i=Zo(e),o=void 0!==t,s=null===t,l=t==t,c=Zo(t);if(!s&&!c&&!i&&e>t||i&&o&&l&&!s&&!c||a&&o&&l||!n&&l||!r)return 1;if(!a&&!i&&!c&&e<t||c&&n&&r&&!a&&!i||s&&n&&r||!o&&r||!l)return-1}return 0}function fr(e,t,n,r){for(var i=-1,o=e.length,s=n.length,l=-1,c=t.length,u=sn(o-s,0),d=a(c+u),p=!r;++l<c;)d[l]=t[l];for(;++i<s;)(p||i<o)&&(d[n[i]]=e[i]);for(;u--;)d[l++]=e[i++];return d}function gr(e,t,n,r){for(var i=-1,o=e.length,s=-1,l=n.length,c=-1,u=t.length,d=sn(o-l,0),p=a(d+u),m=!r;++i<d;)p[i]=e[i];for(var b=i;++c<u;)p[b+c]=t[c];for(;++s<l;)(m||i<o)&&(p[b+n[s]]=e[i++]);return p}function _r(e,t){var n=-1,r=e.length;for(t||(t=a(r));++n<r;)t[n]=e[n];return t}function yr(e,t,n,a){var r=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var s=t[i],l=a?a(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),r?Vn(n,s,l):Xn(n,s,l)}return n}function Mr(e,t){return function(n,a){var r=So(n)?ot:Hn,i=t?t():{};return r(n,e,Jr(a,2),i)}}function vr(e){return Pa((function(t,n){var a=-1,r=n.length,i=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(r--,i):void 0,o&&li(n[0],n[1],o)&&(i=r<3?void 0:i,r=1),t=be(t);++a<r;){var s=n[a];s&&e(t,s,a,i)}return t}))}function zr(e,t){return function(n,a){if(null==n)return n;if(!Co(n))return e(n,a);for(var r=n.length,i=t?r:-1,o=be(n);(t?i--:++i<r)&&!1!==a(o[i],i,o););return n}}function Or(e){return function(t,n,a){for(var r=-1,i=be(t),o=a(t),s=o.length;s--;){var l=o[e?s:++r];if(!1===n(i[l],l,i))break}return t}}function kr(e){return function(t){var n=Bt(t=ls(t))?Ut(t):void 0,a=n?n[0]:t.charAt(0),r=n?ur(n,1).join(""):t.slice(1);return a[e]()+r}}function Ar(e){return function(t){return ht(Is(Ls(t).replace(We,"")),e,"")}}function xr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=En(e.prototype),a=e.apply(n,t);return Xo(a)?a:n}}function wr(e){return function(t,n,a){var r=be(t);if(!Co(t)){var i=Jr(n,3);t=vs(t),n=function(e){return i(r[e],e,r)}}var o=e(t,n,a);return o>-1?r[i?t[o]:o]:void 0}}function Nr(e){return Yr((function(t){var n=t.length,a=n,r=Wn.prototype.thru;for(e&&t.reverse();a--;){var o=t[a];if("function"!=typeof o)throw new ge(i);if(r&&!s&&"wrapper"==Gr(o))var s=new Wn([],!0)}for(a=s?a:n;++a<n;){var l=Gr(o=t[a]),c="wrapper"==l?Vr(o):void 0;s=c&&ui(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[Gr(c[0])].apply(s,c[3]):1==o.length&&ui(o)?s[l]():s.thru(o)}return function(){var e=arguments,a=e[0];if(s&&1==e.length&&So(a))return s.plant(a).value();for(var r=0,i=n?t[r].apply(this,e):a;++r<n;)i=t[r].call(this,i);return i}}))}function qr(e,t,n,r,i,o,s,l,c,u){var d=128&t,p=1&t,m=2&t,b=24&t,h=512&t,f=m?void 0:xr(e);return function g(){for(var _=arguments.length,y=a(_),M=_;M--;)y[M]=arguments[M];if(b)var v=Kr(g),z=Ct(y,v);if(r&&(y=fr(y,r,i,b)),o&&(y=gr(y,o,s,b)),_-=z,b&&_<u){var O=Ft(y,v);return Cr(e,t,qr,g.placeholder,n,y,O,l,c,u-_)}var k=p?n:this,A=m?k[e]:e;return _=y.length,l?y=gi(y,l):h&&_>1&&y.reverse(),d&&c<_&&(y.length=c),this&&this!==Ue&&this instanceof g&&(A=f||xr(A)),A.apply(k,y)}}function Er(e,t){return function(n,a){return function(e,t,n,a){return ca(e,(function(e,r,i){t(a,n(e),r,i)})),a}(n,e,t(a),{})}}function jr(e,t){return function(n,a){var r;if(void 0===n&&void 0===a)return t;if(void 0!==n&&(r=n),void 0!==a){if(void 0===r)return a;"string"==typeof n||"string"==typeof a?(n=Za(n),a=Za(a)):(n=Ja(n),a=Ja(a)),r=e(n,a)}return r}}function Wr(e){return Yr((function(t){return t=mt(t,jt(Jr())),Pa((function(n){var a=this;return e(t,(function(e){return it(e,a,n)}))}))}))}function Lr(e,t){var n=(t=void 0===t?" ":Za(t)).length;if(n<2)return n?Da(t,e):t;var a=Da(t,Qt(e/Ht(t)));return Bt(t)?ur(Ut(a),0,e).join(""):a.slice(0,e)}function Sr(e){return function(t,n,r){return r&&"number"!=typeof r&&li(t,n,r)&&(n=r=void 0),t=as(t),void 0===n?(n=t,t=0):n=as(n),function(e,t,n,r){for(var i=-1,o=sn(Qt((t-e)/(n||1)),0),s=a(o);o--;)s[r?o:++i]=e,e+=n;return s}(t,n,r=void 0===r?t<n?1:-1:as(r),e)}}function Tr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=os(t),n=os(n)),e(t,n)}}function Cr(e,t,n,a,r,i,o,s,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,r,u?i:void 0,u?o:void 0,u?void 0:i,u?void 0:o,s,l,c],p=n.apply(void 0,d);return ui(e)&&yi(p,d),p.placeholder=a,zi(p,e,t)}function Rr(e){var t=me[e];return function(e,n){if(e=os(e),(n=null==n?0:ln(rs(n),292))&&an(e)){var a=(ls(e)+"e").split("e");return+((a=(ls(t(a[0]+"e"+(+a[1]+n)))+"e").split("e"))[0]+"e"+(+a[1]-n))}return t(e)}}var Dr=fn&&1/Xt(new fn([,-0]))[1]==1/0?function(e){return new fn(e)}:Zs;function Pr(e){return function(t){var n=ai(t);return n==h?It(t):n==y?Yt(t):function(e,t){return mt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Br(e,t,n,r,s,l,c,u){var d=2&t;if(!d&&"function"!=typeof e)throw new ge(i);var p=r?r.length:0;if(p||(t&=-97,r=s=void 0),c=void 0===c?c:sn(rs(c),0),u=void 0===u?u:rs(u),p-=s?s.length:0,64&t){var m=r,b=s;r=s=void 0}var h=d?void 0:Vr(e),f=[e,t,n,r,s,m,b,l,c,u];if(h&&function(e,t){var n=e[1],a=t[1],r=n|a,i=r<131,s=128==a&&8==n||128==a&&256==n&&e[7].length<=t[8]||384==a&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&a&&(e[2]=t[2],r|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?fr(c,l,t[4]):l,e[4]=c?Ft(e[3],o):t[4]}(l=t[5])&&(c=e[5],e[5]=c?gr(c,l,t[6]):l,e[6]=c?Ft(e[5],o):t[6]);(l=t[7])&&(e[7]=l);128&a&&(e[8]=null==e[8]?t[8]:ln(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=r}(f,h),e=f[0],t=f[1],n=f[2],r=f[3],s=f[4],!(u=f[9]=void 0===f[9]?d?0:e.length:sn(f[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var r=xr(e);return function i(){for(var o=arguments.length,s=a(o),l=o,c=Kr(i);l--;)s[l]=arguments[l];var u=o<3&&s[0]!==c&&s[o-1]!==c?[]:Ft(s,c);if((o-=u.length)<n)return Cr(e,t,qr,i.placeholder,void 0,s,u,void 0,void 0,n-o);var d=this&&this!==Ue&&this instanceof i?r:e;return it(d,this,s)}}(e,t,u):32!=t&&33!=t||s.length?qr.apply(void 0,f):function(e,t,n,r){var i=1&t,o=xr(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=r.length,d=a(u+l),p=this&&this!==Ue&&this instanceof t?o:e;++c<u;)d[c]=r[c];for(;l--;)d[c++]=arguments[++s];return it(p,i?n:this,d)}}(e,t,n,r);else var g=function(e,t,n){var a=1&t,r=xr(e);return function t(){var i=this&&this!==Ue&&this instanceof t?r:e;return i.apply(a?n:this,arguments)}}(e,t,n);return zi((h?Fa:yi)(g,f),e,t)}function Ir(e,t,n,a){return void 0===e||Eo(e,Me[n])&&!Oe.call(a,n)?t:e}function $r(e,t,n,a,r,i){return Xo(e)&&Xo(t)&&(i.set(t,e),ja(e,t,void 0,$r,i),i.delete(t)),e}function Fr(e){return Vo(e)?void 0:e}function Xr(e,t,n,a,r,i){var o=1&n,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,m=2&n?new Rn:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var b=e[d],h=t[d];if(a)var f=o?a(h,b,d,t,e,i):a(b,h,d,e,t,i);if(void 0!==f){if(f)continue;p=!1;break}if(m){if(!gt(t,(function(e,t){if(!Lt(m,t)&&(b===e||r(b,e,n,a,i)))return m.push(t)}))){p=!1;break}}else if(b!==h&&!r(b,h,n,a,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function Yr(e){return vi(hi(e,void 0,Si),e+"")}function Hr(e){return ma(e,vs,ti)}function Ur(e){return ma(e,zs,ni)}var Vr=yn?function(e){return yn.get(e)}:Zs;function Gr(e){for(var t=e.name+"",n=Mn[t],a=Oe.call(Mn,t)?n.length:0;a--;){var r=n[a],i=r.func;if(null==i||i==e)return r.name}return t}function Kr(e){return(Oe.call(qn,"placeholder")?qn:e).placeholder}function Jr(){var e=qn.iteratee||Vs;return e=e===Vs?ka:e,arguments.length?e(arguments[0],arguments[1]):e}function Zr(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Qr(e){for(var t=vs(e),n=t.length;n--;){var a=t[n],r=e[a];t[n]=[a,r,mi(r)]}return t}function ei(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Oa(n)?n:void 0}var ti=tn?function(e){return null==e?[]:(e=be(e),ut(tn(e),(function(t){return He.call(e,t)})))}:il,ni=tn?function(e){for(var t=[];e;)bt(t,ti(e)),e=$e(e);return t}:il,ai=ba;function ri(e,t,n){for(var a=-1,r=(t=lr(t,e)).length,i=!1;++a<r;){var o=xi(t[a]);if(!(i=null!=e&&n(e,o)))break;e=e[o]}return i||++a!=r?i:!!(r=null==e?0:e.length)&&Fo(r)&&si(o,r)&&(So(e)||Lo(e))}function ii(e){return"function"!=typeof e.constructor||pi(e)?{}:En($e(e))}function oi(e){return So(e)||Lo(e)||!!(Ge&&e&&e[Ge])}function si(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&le.test(e))&&e>-1&&e%1==0&&e<t}function li(e,t,n){if(!Xo(n))return!1;var a=typeof t;return!!("number"==a?Co(n)&&si(t,n.length):"string"==a&&t in n)&&Eo(n[t],e)}function ci(e,t){if(So(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Zo(e))||(X.test(e)||!F.test(e)||null!=t&&e in be(t))}function ui(e){var t=Gr(e),n=qn[t];if("function"!=typeof n||!(t in Ln.prototype))return!1;if(e===n)return!0;var a=Vr(n);return!!a&&e===a[0]}(mn&&ai(new mn(new ArrayBuffer(1)))!=k||bn&&ai(new bn)!=h||hn&&"[object Promise]"!=ai(hn.resolve())||fn&&ai(new fn)!=y||gn&&ai(new gn)!=z)&&(ai=function(e){var t=ba(e),n=t==g?e.constructor:void 0,a=n?wi(n):"";if(a)switch(a){case vn:return k;case zn:return h;case On:return"[object Promise]";case kn:return y;case An:return z}return t});var di=ve?Io:ol;function pi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Me)}function mi(e){return e==e&&!Xo(e)}function bi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in be(n)))}}function hi(e,t,n){return t=sn(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=sn(r.length-t,0),s=a(o);++i<o;)s[i]=r[t+i];i=-1;for(var l=a(t+1);++i<t;)l[i]=r[i];return l[t]=n(s),it(e,this,l)}}function fi(e,t){return t.length<2?e:pa(e,Ha(t,0,-1))}function gi(e,t){for(var n=e.length,a=ln(t.length,n),r=_r(e);a--;){var i=t[a];e[a]=si(i,n)?r[i]:void 0}return e}function _i(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var yi=Oi(Fa),Mi=Zt||function(e,t){return Ue.setTimeout(e,t)},vi=Oi(Xa);function zi(e,t,n){var a=t+"";return vi(e,function(e,t){var n=t.length;if(!n)return e;var a=n-1;return t[a]=(n>1?"& ":"")+t[a],t=t.join(n>2?", ":" "),e.replace(K,"{\n/* [wrapped with "+t+"] */\n")}(a,function(e,t){return st(s,(function(n){var a="_."+n[0];t&n[1]&&!dt(e,a)&&e.push(a)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Z):[]}(a),n)))}function Oi(e){var t=0,n=0;return function(){var a=cn(),r=16-(a-n);if(n=a,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ki(e,t){var n=-1,a=e.length,r=a-1;for(t=void 0===t?a:t;++n<t;){var i=Ra(n,r),o=e[i];e[i]=e[n],e[n]=o}return e.length=t,e}var Ai=function(e){var t=ko(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Y,(function(e,n,a,r){t.push(a?r.replace(te,"$1"):n||e)})),t}));function xi(e){if("string"==typeof e||Zo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function wi(e){if(null!=e){try{return ze.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ni(e){if(e instanceof Ln)return e.clone();var t=new Wn(e.__wrapped__,e.__chain__);return t.__actions__=_r(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var qi=Pa((function(e,t){return Ro(e)?ea(e,oa(t,1,Ro,!0)):[]})),Ei=Pa((function(e,t){var n=Pi(t);return Ro(n)&&(n=void 0),Ro(e)?ea(e,oa(t,1,Ro,!0),Jr(n,2)):[]})),ji=Pa((function(e,t){var n=Pi(t);return Ro(n)&&(n=void 0),Ro(e)?ea(e,oa(t,1,Ro,!0),void 0,n):[]}));function Wi(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(a+r,0)),Mt(e,Jr(t,3),r)}function Li(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=a-1;return void 0!==n&&(r=rs(n),r=n<0?sn(a+r,0):ln(r,a-1)),Mt(e,Jr(t,3),r,!0)}function Si(e){return(null==e?0:e.length)?oa(e,1):[]}function Ti(e){return e&&e.length?e[0]:void 0}var Ci=Pa((function(e){var t=mt(e,or);return t.length&&t[0]===e[0]?_a(t):[]})),Ri=Pa((function(e){var t=Pi(e),n=mt(e,or);return t===Pi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?_a(n,Jr(t,2)):[]})),Di=Pa((function(e){var t=Pi(e),n=mt(e,or);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?_a(n,void 0,t):[]}));function Pi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bi=Pa(Ii);function Ii(e,t){return e&&e.length&&t&&t.length?Ta(e,t):e}var $i=Yr((function(e,t){var n=null==e?0:e.length,a=Gn(e,t);return Ca(e,mt(t,(function(e){return si(e,n)?+e:e})).sort(hr)),a}));function Fi(e){return null==e?e:pn.call(e)}var Xi=Pa((function(e){return Qa(oa(e,1,Ro,!0))})),Yi=Pa((function(e){var t=Pi(e);return Ro(t)&&(t=void 0),Qa(oa(e,1,Ro,!0),Jr(t,2))})),Hi=Pa((function(e){var t=Pi(e);return t="function"==typeof t?t:void 0,Qa(oa(e,1,Ro,!0),void 0,t)}));function Ui(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Ro(e))return t=sn(e.length,t),!0})),qt(t,(function(t){return mt(e,At(t))}))}function Vi(e,t){if(!e||!e.length)return[];var n=Ui(e);return null==t?n:mt(n,(function(e){return it(t,void 0,e)}))}var Gi=Pa((function(e,t){return Ro(e)?ea(e,t):[]})),Ki=Pa((function(e){return rr(ut(e,Ro))})),Ji=Pa((function(e){var t=Pi(e);return Ro(t)&&(t=void 0),rr(ut(e,Ro),Jr(t,2))})),Zi=Pa((function(e){var t=Pi(e);return t="function"==typeof t?t:void 0,rr(ut(e,Ro),void 0,t)})),Qi=Pa(Ui);var eo=Pa((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Vi(e,n)}));function to(e){var t=qn(e);return t.__chain__=!0,t}function no(e,t){return t(e)}var ao=Yr((function(e){var t=e.length,n=t?e[0]:0,a=this.__wrapped__,r=function(t){return Gn(t,e)};return!(t>1||this.__actions__.length)&&a instanceof Ln&&si(n)?((a=a.slice(n,+n+(t?1:0))).__actions__.push({func:no,args:[r],thisArg:void 0}),new Wn(a,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(r)}));var ro=Mr((function(e,t,n){Oe.call(e,n)?++e[n]:Vn(e,n,1)}));var io=wr(Wi),oo=wr(Li);function so(e,t){return(So(e)?st:ta)(e,Jr(t,3))}function lo(e,t){return(So(e)?lt:na)(e,Jr(t,3))}var co=Mr((function(e,t,n){Oe.call(e,n)?e[n].push(t):Vn(e,n,[t])}));var uo=Pa((function(e,t,n){var r=-1,i="function"==typeof t,o=Co(e)?a(e.length):[];return ta(e,(function(e){o[++r]=i?it(t,e,n):ya(e,t,n)})),o})),po=Mr((function(e,t,n){Vn(e,n,t)}));function mo(e,t){return(So(e)?mt:Na)(e,Jr(t,3))}var bo=Mr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ho=Pa((function(e,t){if(null==e)return[];var n=t.length;return n>1&&li(e,t[0],t[1])?t=[]:n>2&&li(t[0],t[1],t[2])&&(t=[t[0]]),La(e,oa(t,1),[])})),fo=Jt||function(){return Ue.Date.now()};function go(e,t,n){return t=n?void 0:t,Br(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function _o(e,t){var n;if("function"!=typeof t)throw new ge(i);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var yo=Pa((function(e,t,n){var a=1;if(n.length){var r=Ft(n,Kr(yo));a|=32}return Br(e,a,t,n,r)})),Mo=Pa((function(e,t,n){var a=3;if(n.length){var r=Ft(n,Kr(Mo));a|=32}return Br(t,a,e,n,r)}));function vo(e,t,n){var a,r,o,s,l,c,u=0,d=!1,p=!1,m=!0;if("function"!=typeof e)throw new ge(i);function b(t){var n=a,i=r;return a=r=void 0,u=t,s=e.apply(i,n)}function h(e){return u=e,l=Mi(g,t),d?b(e):s}function f(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-u>=o}function g(){var e=fo();if(f(e))return _(e);l=Mi(g,function(e){var n=t-(e-c);return p?ln(n,o-(e-u)):n}(e))}function _(e){return l=void 0,m&&a?b(e):(a=r=void 0,s)}function y(){var e=fo(),n=f(e);if(a=arguments,r=this,c=e,n){if(void 0===l)return h(c);if(p)return dr(l),l=Mi(g,t),b(c)}return void 0===l&&(l=Mi(g,t)),s}return t=os(t)||0,Xo(n)&&(d=!!n.leading,o=(p="maxWait"in n)?sn(os(n.maxWait)||0,t):o,m="trailing"in n?!!n.trailing:m),y.cancel=function(){void 0!==l&&dr(l),u=0,a=c=r=l=void 0},y.flush=function(){return void 0===l?s:_(fo())},y}var zo=Pa((function(e,t){return Qn(e,1,t)})),Oo=Pa((function(e,t,n){return Qn(e,os(t)||0,n)}));function ko(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],i=n.cache;if(i.has(r))return i.get(r);var o=e.apply(this,a);return n.cache=i.set(r,o)||i,o};return n.cache=new(ko.Cache||Cn),n}function Ao(e){if("function"!=typeof e)throw new ge(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ko.Cache=Cn;var xo=cr((function(e,t){var n=(t=1==t.length&&So(t[0])?mt(t[0],jt(Jr())):mt(oa(t,1),jt(Jr()))).length;return Pa((function(a){for(var r=-1,i=ln(a.length,n);++r<i;)a[r]=t[r].call(this,a[r]);return it(e,this,a)}))})),wo=Pa((function(e,t){return Br(e,32,void 0,t,Ft(t,Kr(wo)))})),No=Pa((function(e,t){return Br(e,64,void 0,t,Ft(t,Kr(No)))})),qo=Yr((function(e,t){return Br(e,256,void 0,void 0,void 0,t)}));function Eo(e,t){return e===t||e!=e&&t!=t}var jo=Tr(ha),Wo=Tr((function(e,t){return e>=t})),Lo=Ma(function(){return arguments}())?Ma:function(e){return Yo(e)&&Oe.call(e,"callee")&&!He.call(e,"callee")},So=a.isArray,To=Qe?jt(Qe):function(e){return Yo(e)&&ba(e)==O};function Co(e){return null!=e&&Fo(e.length)&&!Io(e)}function Ro(e){return Yo(e)&&Co(e)}var Do=nn||ol,Po=et?jt(et):function(e){return Yo(e)&&ba(e)==d};function Bo(e){if(!Yo(e))return!1;var t=ba(e);return t==p||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Vo(e)}function Io(e){if(!Xo(e))return!1;var t=ba(e);return t==m||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function $o(e){return"number"==typeof e&&e==rs(e)}function Fo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Xo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Yo(e){return null!=e&&"object"==typeof e}var Ho=tt?jt(tt):function(e){return Yo(e)&&ai(e)==h};function Uo(e){return"number"==typeof e||Yo(e)&&ba(e)==f}function Vo(e){if(!Yo(e)||ba(e)!=g)return!1;var t=$e(e);if(null===t)return!0;var n=Oe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ze.call(n)==we}var Go=nt?jt(nt):function(e){return Yo(e)&&ba(e)==_};var Ko=at?jt(at):function(e){return Yo(e)&&ai(e)==y};function Jo(e){return"string"==typeof e||!So(e)&&Yo(e)&&ba(e)==M}function Zo(e){return"symbol"==typeof e||Yo(e)&&ba(e)==v}var Qo=rt?jt(rt):function(e){return Yo(e)&&Fo(e.length)&&!!Be[ba(e)]};var es=Tr(wa),ts=Tr((function(e,t){return e<=t}));function ns(e){if(!e)return[];if(Co(e))return Jo(e)?Ut(e):_r(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=ai(e);return(t==h?It:t==y?Xt:Es)(e)}function as(e){return e?(e=os(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=as(e),n=t%1;return t==t?n?t-n:t:0}function is(e){return e?Kn(rs(e),0,4294967295):0}function os(e){if("number"==typeof e)return e;if(Zo(e))return NaN;if(Xo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Xo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Et(e);var n=ie.test(e);return n||se.test(e)?Xe(e.slice(2),n?2:8):re.test(e)?NaN:+e}function ss(e){return yr(e,zs(e))}function ls(e){return null==e?"":Za(e)}var cs=vr((function(e,t){if(pi(t)||Co(t))yr(t,vs(t),e);else for(var n in t)Oe.call(t,n)&&Xn(e,n,t[n])})),us=vr((function(e,t){yr(t,zs(t),e)})),ds=vr((function(e,t,n,a){yr(t,zs(t),e,a)})),ps=vr((function(e,t,n,a){yr(t,vs(t),e,a)})),ms=Yr(Gn);var bs=Pa((function(e,t){e=be(e);var n=-1,a=t.length,r=a>2?t[2]:void 0;for(r&&li(t[0],t[1],r)&&(a=1);++n<a;)for(var i=t[n],o=zs(i),s=-1,l=o.length;++s<l;){var c=o[s],u=e[c];(void 0===u||Eo(u,Me[c])&&!Oe.call(e,c))&&(e[c]=i[c])}return e})),hs=Pa((function(e){return e.push(void 0,$r),it(ks,void 0,e)}));function fs(e,t,n){var a=null==e?void 0:pa(e,t);return void 0===a?n:a}function gs(e,t){return null!=e&&ri(e,t,ga)}var _s=Er((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),e[t]=n}),Xs(Us)),ys=Er((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),Oe.call(e,t)?e[t].push(n):e[t]=[n]}),Jr),Ms=Pa(ya);function vs(e){return Co(e)?Pn(e):Aa(e)}function zs(e){return Co(e)?Pn(e,!0):xa(e)}var Os=vr((function(e,t,n){ja(e,t,n)})),ks=vr((function(e,t,n,a){ja(e,t,n,a)})),As=Yr((function(e,t){var n={};if(null==e)return n;var a=!1;t=mt(t,(function(t){return t=lr(t,e),a||(a=t.length>1),t})),yr(e,Ur(e),n),a&&(n=Jn(n,7,Fr));for(var r=t.length;r--;)er(n,t[r]);return n}));var xs=Yr((function(e,t){return null==e?{}:function(e,t){return Sa(e,t,(function(t,n){return gs(e,n)}))}(e,t)}));function ws(e,t){if(null==e)return{};var n=mt(Ur(e),(function(e){return[e]}));return t=Jr(t),Sa(e,n,(function(e,n){return t(e,n[0])}))}var Ns=Pr(vs),qs=Pr(zs);function Es(e){return null==e?[]:Wt(e,vs(e))}var js=Ar((function(e,t,n){return t=t.toLowerCase(),e+(n?Ws(t):t)}));function Ws(e){return Bs(ls(e).toLowerCase())}function Ls(e){return(e=ls(e))&&e.replace(ce,Rt).replace(Le,"")}var Ss=Ar((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ts=Ar((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Cs=kr("toLowerCase");var Rs=Ar((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ds=Ar((function(e,t,n){return e+(n?" ":"")+Bs(t)}));var Ps=Ar((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Bs=kr("toUpperCase");function Is(e,t,n){return e=ls(e),void 0===(t=n?void 0:t)?function(e){return Re.test(e)}(e)?function(e){return e.match(Te)||[]}(e):function(e){return e.match(Q)||[]}(e):e.match(t)||[]}var $s=Pa((function(e,t){try{return it(e,void 0,t)}catch(e){return Bo(e)?e:new G(e)}})),Fs=Yr((function(e,t){return st(t,(function(t){t=xi(t),Vn(e,t,yo(e[t],e))})),e}));function Xs(e){return function(){return e}}var Ys=Nr(),Hs=Nr(!0);function Us(e){return e}function Vs(e){return ka("function"==typeof e?e:Jn(e,1))}var Gs=Pa((function(e,t){return function(n){return ya(n,e,t)}})),Ks=Pa((function(e,t){return function(n){return ya(e,n,t)}}));function Js(e,t,n){var a=vs(t),r=da(t,a);null!=n||Xo(t)&&(r.length||!a.length)||(n=t,t=e,e=this,r=da(t,vs(t)));var i=!(Xo(n)&&"chain"in n&&!n.chain),o=Io(e);return st(r,(function(n){var a=t[n];e[n]=a,o&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),r=n.__actions__=_r(this.__actions__);return r.push({func:a,args:arguments,thisArg:e}),n.__chain__=t,n}return a.apply(e,bt([this.value()],arguments))})})),e}function Zs(){}var Qs=Wr(mt),el=Wr(ct),tl=Wr(gt);function nl(e){return ci(e)?At(xi(e)):function(e){return function(t){return pa(t,e)}}(e)}var al=Sr(),rl=Sr(!0);function il(){return[]}function ol(){return!1}var sl=jr((function(e,t){return e+t}),0),ll=Rr("ceil"),cl=jr((function(e,t){return e/t}),1),ul=Rr("floor");var dl,pl=jr((function(e,t){return e*t}),1),ml=Rr("round"),bl=jr((function(e,t){return e-t}),0);return qn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},qn.ary=go,qn.assign=cs,qn.assignIn=us,qn.assignInWith=ds,qn.assignWith=ps,qn.at=ms,qn.before=_o,qn.bind=yo,qn.bindAll=Fs,qn.bindKey=Mo,qn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return So(e)?e:[e]},qn.chain=to,qn.chunk=function(e,t,n){t=(n?li(e,t,n):void 0===t)?1:sn(rs(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,s=a(Qt(r/t));i<r;)s[o++]=Ha(e,i,i+=t);return s},qn.compact=function(e){for(var t=-1,n=null==e?0:e.length,a=0,r=[];++t<n;){var i=e[t];i&&(r[a++]=i)}return r},qn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=a(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return bt(So(n)?_r(n):[n],oa(t,1))},qn.cond=function(e){var t=null==e?0:e.length,n=Jr();return e=t?mt(e,(function(e){if("function"!=typeof e[1])throw new ge(i);return[n(e[0]),e[1]]})):[],Pa((function(n){for(var a=-1;++a<t;){var r=e[a];if(it(r[0],this,n))return it(r[1],this,n)}}))},qn.conforms=function(e){return function(e){var t=vs(e);return function(n){return Zn(n,e,t)}}(Jn(e,1))},qn.constant=Xs,qn.countBy=ro,qn.create=function(e,t){var n=En(e);return null==t?n:Un(n,t)},qn.curry=function e(t,n,a){var r=Br(t,8,void 0,void 0,void 0,void 0,void 0,n=a?void 0:n);return r.placeholder=e.placeholder,r},qn.curryRight=function e(t,n,a){var r=Br(t,16,void 0,void 0,void 0,void 0,void 0,n=a?void 0:n);return r.placeholder=e.placeholder,r},qn.debounce=vo,qn.defaults=bs,qn.defaultsDeep=hs,qn.defer=zo,qn.delay=Oo,qn.difference=qi,qn.differenceBy=Ei,qn.differenceWith=ji,qn.drop=function(e,t,n){var a=null==e?0:e.length;return a?Ha(e,(t=n||void 0===t?1:rs(t))<0?0:t,a):[]},qn.dropRight=function(e,t,n){var a=null==e?0:e.length;return a?Ha(e,0,(t=a-(t=n||void 0===t?1:rs(t)))<0?0:t):[]},qn.dropRightWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3),!0,!0):[]},qn.dropWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3),!0):[]},qn.fill=function(e,t,n,a){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&li(e,t,n)&&(n=0,a=r),function(e,t,n,a){var r=e.length;for((n=rs(n))<0&&(n=-n>r?0:r+n),(a=void 0===a||a>r?r:rs(a))<0&&(a+=r),a=n>a?0:is(a);n<a;)e[n++]=t;return e}(e,t,n,a)):[]},qn.filter=function(e,t){return(So(e)?ut:ia)(e,Jr(t,3))},qn.flatMap=function(e,t){return oa(mo(e,t),1)},qn.flatMapDeep=function(e,t){return oa(mo(e,t),1/0)},qn.flatMapDepth=function(e,t,n){return n=void 0===n?1:rs(n),oa(mo(e,t),n)},qn.flatten=Si,qn.flattenDeep=function(e){return(null==e?0:e.length)?oa(e,1/0):[]},qn.flattenDepth=function(e,t){return(null==e?0:e.length)?oa(e,t=void 0===t?1:rs(t)):[]},qn.flip=function(e){return Br(e,512)},qn.flow=Ys,qn.flowRight=Hs,qn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,a={};++t<n;){var r=e[t];a[r[0]]=r[1]}return a},qn.functions=function(e){return null==e?[]:da(e,vs(e))},qn.functionsIn=function(e){return null==e?[]:da(e,zs(e))},qn.groupBy=co,qn.initial=function(e){return(null==e?0:e.length)?Ha(e,0,-1):[]},qn.intersection=Ci,qn.intersectionBy=Ri,qn.intersectionWith=Di,qn.invert=_s,qn.invertBy=ys,qn.invokeMap=uo,qn.iteratee=Vs,qn.keyBy=po,qn.keys=vs,qn.keysIn=zs,qn.map=mo,qn.mapKeys=function(e,t){var n={};return t=Jr(t,3),ca(e,(function(e,a,r){Vn(n,t(e,a,r),e)})),n},qn.mapValues=function(e,t){var n={};return t=Jr(t,3),ca(e,(function(e,a,r){Vn(n,a,t(e,a,r))})),n},qn.matches=function(e){return qa(Jn(e,1))},qn.matchesProperty=function(e,t){return Ea(e,Jn(t,1))},qn.memoize=ko,qn.merge=Os,qn.mergeWith=ks,qn.method=Gs,qn.methodOf=Ks,qn.mixin=Js,qn.negate=Ao,qn.nthArg=function(e){return e=rs(e),Pa((function(t){return Wa(t,e)}))},qn.omit=As,qn.omitBy=function(e,t){return ws(e,Ao(Jr(t)))},qn.once=function(e){return _o(2,e)},qn.orderBy=function(e,t,n,a){return null==e?[]:(So(t)||(t=null==t?[]:[t]),So(n=a?void 0:n)||(n=null==n?[]:[n]),La(e,t,n))},qn.over=Qs,qn.overArgs=xo,qn.overEvery=el,qn.overSome=tl,qn.partial=wo,qn.partialRight=No,qn.partition=bo,qn.pick=xs,qn.pickBy=ws,qn.property=nl,qn.propertyOf=function(e){return function(t){return null==e?void 0:pa(e,t)}},qn.pull=Bi,qn.pullAll=Ii,qn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ta(e,t,Jr(n,2)):e},qn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Ta(e,t,void 0,n):e},qn.pullAt=$i,qn.range=al,qn.rangeRight=rl,qn.rearg=qo,qn.reject=function(e,t){return(So(e)?ut:ia)(e,Ao(Jr(t,3)))},qn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var a=-1,r=[],i=e.length;for(t=Jr(t,3);++a<i;){var o=e[a];t(o,a,e)&&(n.push(o),r.push(a))}return Ca(e,r),n},qn.rest=function(e,t){if("function"!=typeof e)throw new ge(i);return Pa(e,t=void 0===t?t:rs(t))},qn.reverse=Fi,qn.sampleSize=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rs(t),(So(e)?In:Ia)(e,t)},qn.set=function(e,t,n){return null==e?e:$a(e,t,n)},qn.setWith=function(e,t,n,a){return a="function"==typeof a?a:void 0,null==e?e:$a(e,t,n,a)},qn.shuffle=function(e){return(So(e)?$n:Ya)(e)},qn.slice=function(e,t,n){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&li(e,t,n)?(t=0,n=a):(t=null==t?0:rs(t),n=void 0===n?a:rs(n)),Ha(e,t,n)):[]},qn.sortBy=ho,qn.sortedUniq=function(e){return e&&e.length?Ka(e):[]},qn.sortedUniqBy=function(e,t){return e&&e.length?Ka(e,Jr(t,2)):[]},qn.split=function(e,t,n){return n&&"number"!=typeof n&&li(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ls(e))&&("string"==typeof t||null!=t&&!Go(t))&&!(t=Za(t))&&Bt(e)?ur(Ut(e),0,n):e.split(t,n):[]},qn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:sn(rs(t),0),Pa((function(n){var a=n[t],r=ur(n,0,t);return a&&bt(r,a),it(e,this,r)}))},qn.tail=function(e){var t=null==e?0:e.length;return t?Ha(e,1,t):[]},qn.take=function(e,t,n){return e&&e.length?Ha(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},qn.takeRight=function(e,t,n){var a=null==e?0:e.length;return a?Ha(e,(t=a-(t=n||void 0===t?1:rs(t)))<0?0:t,a):[]},qn.takeRightWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3),!1,!0):[]},qn.takeWhile=function(e,t){return e&&e.length?nr(e,Jr(t,3)):[]},qn.tap=function(e,t){return t(e),e},qn.throttle=function(e,t,n){var a=!0,r=!0;if("function"!=typeof e)throw new ge(i);return Xo(n)&&(a="leading"in n?!!n.leading:a,r="trailing"in n?!!n.trailing:r),vo(e,t,{leading:a,maxWait:t,trailing:r})},qn.thru=no,qn.toArray=ns,qn.toPairs=Ns,qn.toPairsIn=qs,qn.toPath=function(e){return So(e)?mt(e,xi):Zo(e)?[e]:_r(Ai(ls(e)))},qn.toPlainObject=ss,qn.transform=function(e,t,n){var a=So(e),r=a||Do(e)||Qo(e);if(t=Jr(t,4),null==n){var i=e&&e.constructor;n=r?a?new i:[]:Xo(e)&&Io(i)?En($e(e)):{}}return(r?st:ca)(e,(function(e,a,r){return t(n,e,a,r)})),n},qn.unary=function(e){return go(e,1)},qn.union=Xi,qn.unionBy=Yi,qn.unionWith=Hi,qn.uniq=function(e){return e&&e.length?Qa(e):[]},qn.uniqBy=function(e,t){return e&&e.length?Qa(e,Jr(t,2)):[]},qn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qa(e,void 0,t):[]},qn.unset=function(e,t){return null==e||er(e,t)},qn.unzip=Ui,qn.unzipWith=Vi,qn.update=function(e,t,n){return null==e?e:tr(e,t,sr(n))},qn.updateWith=function(e,t,n,a){return a="function"==typeof a?a:void 0,null==e?e:tr(e,t,sr(n),a)},qn.values=Es,qn.valuesIn=function(e){return null==e?[]:Wt(e,zs(e))},qn.without=Gi,qn.words=Is,qn.wrap=function(e,t){return wo(sr(t),e)},qn.xor=Ki,qn.xorBy=Ji,qn.xorWith=Zi,qn.zip=Qi,qn.zipObject=function(e,t){return ir(e||[],t||[],Xn)},qn.zipObjectDeep=function(e,t){return ir(e||[],t||[],$a)},qn.zipWith=eo,qn.entries=Ns,qn.entriesIn=qs,qn.extend=us,qn.extendWith=ds,Js(qn,qn),qn.add=sl,qn.attempt=$s,qn.camelCase=js,qn.capitalize=Ws,qn.ceil=ll,qn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==t&&(t=(t=os(t))==t?t:0),Kn(os(e),t,n)},qn.clone=function(e){return Jn(e,4)},qn.cloneDeep=function(e){return Jn(e,5)},qn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},qn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},qn.conformsTo=function(e,t){return null==t||Zn(e,t,vs(t))},qn.deburr=Ls,qn.defaultTo=function(e,t){return null==e||e!=e?t:e},qn.divide=cl,qn.endsWith=function(e,t,n){e=ls(e),t=Za(t);var a=e.length,r=n=void 0===n?a:Kn(rs(n),0,a);return(n-=t.length)>=0&&e.slice(n,r)==t},qn.eq=Eo,qn.escape=function(e){return(e=ls(e))&&P.test(e)?e.replace(R,Dt):e},qn.escapeRegExp=function(e){return(e=ls(e))&&U.test(e)?e.replace(H,"\\$&"):e},qn.every=function(e,t,n){var a=So(e)?ct:aa;return n&&li(e,t,n)&&(t=void 0),a(e,Jr(t,3))},qn.find=io,qn.findIndex=Wi,qn.findKey=function(e,t){return yt(e,Jr(t,3),ca)},qn.findLast=oo,qn.findLastIndex=Li,qn.findLastKey=function(e,t){return yt(e,Jr(t,3),ua)},qn.floor=ul,qn.forEach=so,qn.forEachRight=lo,qn.forIn=function(e,t){return null==e?e:sa(e,Jr(t,3),zs)},qn.forInRight=function(e,t){return null==e?e:la(e,Jr(t,3),zs)},qn.forOwn=function(e,t){return e&&ca(e,Jr(t,3))},qn.forOwnRight=function(e,t){return e&&ua(e,Jr(t,3))},qn.get=fs,qn.gt=jo,qn.gte=Wo,qn.has=function(e,t){return null!=e&&ri(e,t,fa)},qn.hasIn=gs,qn.head=Ti,qn.identity=Us,qn.includes=function(e,t,n,a){e=Co(e)?e:Es(e),n=n&&!a?rs(n):0;var r=e.length;return n<0&&(n=sn(r+n,0)),Jo(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&vt(e,t,n)>-1},qn.indexOf=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(a+r,0)),vt(e,t,r)},qn.inRange=function(e,t,n){return t=as(t),void 0===n?(n=t,t=0):n=as(n),function(e,t,n){return e>=ln(t,n)&&e<sn(t,n)}(e=os(e),t,n)},qn.invoke=Ms,qn.isArguments=Lo,qn.isArray=So,qn.isArrayBuffer=To,qn.isArrayLike=Co,qn.isArrayLikeObject=Ro,qn.isBoolean=function(e){return!0===e||!1===e||Yo(e)&&ba(e)==u},qn.isBuffer=Do,qn.isDate=Po,qn.isElement=function(e){return Yo(e)&&1===e.nodeType&&!Vo(e)},qn.isEmpty=function(e){if(null==e)return!0;if(Co(e)&&(So(e)||"string"==typeof e||"function"==typeof e.splice||Do(e)||Qo(e)||Lo(e)))return!e.length;var t=ai(e);if(t==h||t==y)return!e.size;if(pi(e))return!Aa(e).length;for(var n in e)if(Oe.call(e,n))return!1;return!0},qn.isEqual=function(e,t){return va(e,t)},qn.isEqualWith=function(e,t,n){var a=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===a?va(e,t,void 0,n):!!a},qn.isError=Bo,qn.isFinite=function(e){return"number"==typeof e&&an(e)},qn.isFunction=Io,qn.isInteger=$o,qn.isLength=Fo,qn.isMap=Ho,qn.isMatch=function(e,t){return e===t||za(e,t,Qr(t))},qn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,za(e,t,Qr(t),n)},qn.isNaN=function(e){return Uo(e)&&e!=+e},qn.isNative=function(e){if(di(e))throw new G("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Oa(e)},qn.isNil=function(e){return null==e},qn.isNull=function(e){return null===e},qn.isNumber=Uo,qn.isObject=Xo,qn.isObjectLike=Yo,qn.isPlainObject=Vo,qn.isRegExp=Go,qn.isSafeInteger=function(e){return $o(e)&&e>=-9007199254740991&&e<=9007199254740991},qn.isSet=Ko,qn.isString=Jo,qn.isSymbol=Zo,qn.isTypedArray=Qo,qn.isUndefined=function(e){return void 0===e},qn.isWeakMap=function(e){return Yo(e)&&ai(e)==z},qn.isWeakSet=function(e){return Yo(e)&&"[object WeakSet]"==ba(e)},qn.join=function(e,t){return null==e?"":rn.call(e,t)},qn.kebabCase=Ss,qn.last=Pi,qn.lastIndexOf=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var r=a;return void 0!==n&&(r=(r=rs(n))<0?sn(a+r,0):ln(r,a-1)),t==t?function(e,t,n){for(var a=n+1;a--;)if(e[a]===t)return a;return a}(e,t,r):Mt(e,Ot,r,!0)},qn.lowerCase=Ts,qn.lowerFirst=Cs,qn.lt=es,qn.lte=ts,qn.max=function(e){return e&&e.length?ra(e,Us,ha):void 0},qn.maxBy=function(e,t){return e&&e.length?ra(e,Jr(t,2),ha):void 0},qn.mean=function(e){return kt(e,Us)},qn.meanBy=function(e,t){return kt(e,Jr(t,2))},qn.min=function(e){return e&&e.length?ra(e,Us,wa):void 0},qn.minBy=function(e,t){return e&&e.length?ra(e,Jr(t,2),wa):void 0},qn.stubArray=il,qn.stubFalse=ol,qn.stubObject=function(){return{}},qn.stubString=function(){return""},qn.stubTrue=function(){return!0},qn.multiply=pl,qn.nth=function(e,t){return e&&e.length?Wa(e,rs(t)):void 0},qn.noConflict=function(){return Ue._===this&&(Ue._=Ne),this},qn.noop=Zs,qn.now=fo,qn.pad=function(e,t,n){e=ls(e);var a=(t=rs(t))?Ht(e):0;if(!t||a>=t)return e;var r=(t-a)/2;return Lr(en(r),n)+e+Lr(Qt(r),n)},qn.padEnd=function(e,t,n){e=ls(e);var a=(t=rs(t))?Ht(e):0;return t&&a<t?e+Lr(t-a,n):e},qn.padStart=function(e,t,n){e=ls(e);var a=(t=rs(t))?Ht(e):0;return t&&a<t?Lr(t-a,n)+e:e},qn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(ls(e).replace(V,""),t||0)},qn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&li(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=as(e),void 0===t?(t=e,e=0):t=as(t)),e>t){var a=e;e=t,t=a}if(n||e%1||t%1){var r=dn();return ln(e+r*(t-e+Fe("1e-"+((r+"").length-1))),t)}return Ra(e,t)},qn.reduce=function(e,t,n){var a=So(e)?ht:wt,r=arguments.length<3;return a(e,Jr(t,4),n,r,ta)},qn.reduceRight=function(e,t,n){var a=So(e)?ft:wt,r=arguments.length<3;return a(e,Jr(t,4),n,r,na)},qn.repeat=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:rs(t),Da(ls(e),t)},qn.replace=function(){var e=arguments,t=ls(e[0]);return e.length<3?t:t.replace(e[1],e[2])},qn.result=function(e,t,n){var a=-1,r=(t=lr(t,e)).length;for(r||(r=1,e=void 0);++a<r;){var i=null==e?void 0:e[xi(t[a])];void 0===i&&(a=r,i=n),e=Io(i)?i.call(e):i}return e},qn.round=ml,qn.runInContext=e,qn.sample=function(e){return(So(e)?Bn:Ba)(e)},qn.size=function(e){if(null==e)return 0;if(Co(e))return Jo(e)?Ht(e):e.length;var t=ai(e);return t==h||t==y?e.size:Aa(e).length},qn.snakeCase=Rs,qn.some=function(e,t,n){var a=So(e)?gt:Ua;return n&&li(e,t,n)&&(t=void 0),a(e,Jr(t,3))},qn.sortedIndex=function(e,t){return Va(e,t)},qn.sortedIndexBy=function(e,t,n){return Ga(e,t,Jr(n,2))},qn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var a=Va(e,t);if(a<n&&Eo(e[a],t))return a}return-1},qn.sortedLastIndex=function(e,t){return Va(e,t,!0)},qn.sortedLastIndexBy=function(e,t,n){return Ga(e,t,Jr(n,2),!0)},qn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Va(e,t,!0)-1;if(Eo(e[n],t))return n}return-1},qn.startCase=Ds,qn.startsWith=function(e,t,n){return e=ls(e),n=null==n?0:Kn(rs(n),0,e.length),t=Za(t),e.slice(n,n+t.length)==t},qn.subtract=bl,qn.sum=function(e){return e&&e.length?Nt(e,Us):0},qn.sumBy=function(e,t){return e&&e.length?Nt(e,Jr(t,2)):0},qn.template=function(e,t,n){var a=qn.templateSettings;n&&li(e,t,n)&&(t=void 0),e=ls(e),t=ds({},t,a,Ir);var r,i,o=ds({},t.imports,a.imports,Ir),s=vs(o),l=Wt(o,s),c=0,u=t.interpolate||ue,d="__p += '",p=he((t.escape||ue).source+"|"+u.source+"|"+(u===$?ne:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),m="//# sourceURL="+(Oe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pe+"]")+"\n";e.replace(p,(function(t,n,a,o,s,l){return a||(a=o),d+=e.slice(c,l).replace(de,Pt),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(i=!0,d+="';\n"+s+";\n__p += '"),a&&(d+="' +\n((__t = ("+a+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var b=Oe.call(t,"variable")&&t.variable;if(b){if(ee.test(b))throw new G("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(i?d.replace(L,""):d).replace(S,"$1").replace(T,"$1;"),d="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var h=$s((function(){return pe(s,m+"return "+d).apply(void 0,l)}));if(h.source=d,Bo(h))throw h;return h},qn.times=function(e,t){if((e=rs(e))<1||e>9007199254740991)return[];var n=4294967295,a=ln(e,4294967295);e-=4294967295;for(var r=qt(a,t=Jr(t));++n<e;)t(n);return r},qn.toFinite=as,qn.toInteger=rs,qn.toLength=is,qn.toLower=function(e){return ls(e).toLowerCase()},qn.toNumber=os,qn.toSafeInteger=function(e){return e?Kn(rs(e),-9007199254740991,9007199254740991):0===e?e:0},qn.toString=ls,qn.toUpper=function(e){return ls(e).toUpperCase()},qn.trim=function(e,t,n){if((e=ls(e))&&(n||void 0===t))return Et(e);if(!e||!(t=Za(t)))return e;var a=Ut(e),r=Ut(t);return ur(a,St(a,r),Tt(a,r)+1).join("")},qn.trimEnd=function(e,t,n){if((e=ls(e))&&(n||void 0===t))return e.slice(0,Vt(e)+1);if(!e||!(t=Za(t)))return e;var a=Ut(e);return ur(a,0,Tt(a,Ut(t))+1).join("")},qn.trimStart=function(e,t,n){if((e=ls(e))&&(n||void 0===t))return e.replace(V,"");if(!e||!(t=Za(t)))return e;var a=Ut(e);return ur(a,St(a,Ut(t))).join("")},qn.truncate=function(e,t){var n=30,a="...";if(Xo(t)){var r="separator"in t?t.separator:r;n="length"in t?rs(t.length):n,a="omission"in t?Za(t.omission):a}var i=(e=ls(e)).length;if(Bt(e)){var o=Ut(e);i=o.length}if(n>=i)return e;var s=n-Ht(a);if(s<1)return a;var l=o?ur(o,0,s).join(""):e.slice(0,s);if(void 0===r)return l+a;if(o&&(s+=l.length-s),Go(r)){if(e.slice(s).search(r)){var c,u=l;for(r.global||(r=he(r.source,ls(ae.exec(r))+"g")),r.lastIndex=0;c=r.exec(u);)var d=c.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(Za(r),s)!=s){var p=l.lastIndexOf(r);p>-1&&(l=l.slice(0,p))}return l+a},qn.unescape=function(e){return(e=ls(e))&&D.test(e)?e.replace(C,Gt):e},qn.uniqueId=function(e){var t=++ke;return ls(e)+t},qn.upperCase=Ps,qn.upperFirst=Bs,qn.each=so,qn.eachRight=lo,qn.first=Ti,Js(qn,(dl={},ca(qn,(function(e,t){Oe.call(qn.prototype,t)||(dl[t]=e)})),dl),{chain:!1}),qn.VERSION="4.17.21",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){qn[e].placeholder=qn})),st(["drop","take"],(function(e,t){Ln.prototype[e]=function(n){n=void 0===n?1:sn(rs(n),0);var a=this.__filtered__&&!t?new Ln(this):this.clone();return a.__filtered__?a.__takeCount__=ln(n,a.__takeCount__):a.__views__.push({size:ln(n,4294967295),type:e+(a.__dir__<0?"Right":"")}),a},Ln.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,a=1==n||3==n;Ln.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jr(e,3),type:n}),t.__filtered__=t.__filtered__||a,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ln.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ln.prototype[e]=function(){return this.__filtered__?new Ln(this):this[n](1)}})),Ln.prototype.compact=function(){return this.filter(Us)},Ln.prototype.find=function(e){return this.filter(e).head()},Ln.prototype.findLast=function(e){return this.reverse().find(e)},Ln.prototype.invokeMap=Pa((function(e,t){return"function"==typeof e?new Ln(this):this.map((function(n){return ya(n,e,t)}))})),Ln.prototype.reject=function(e){return this.filter(Ao(Jr(e)))},Ln.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ln(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Ln.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ln.prototype.toArray=function(){return this.take(4294967295)},ca(Ln.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),r=qn[a?"take"+("last"==t?"Right":""):t],i=a||/^find/.test(t);r&&(qn.prototype[t]=function(){var t=this.__wrapped__,o=a?[1]:arguments,s=t instanceof Ln,l=o[0],c=s||So(t),u=function(e){var t=r.apply(qn,bt([e],o));return a&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var d=this.__chain__,p=!!this.__actions__.length,m=i&&!d,b=s&&!p;if(!i&&c){t=b?t:new Ln(this);var h=e.apply(t,o);return h.__actions__.push({func:no,args:[u],thisArg:void 0}),new Wn(h,d)}return m&&b?e.apply(this,o):(h=this.thru(u),m?a?h.value()[0]:h.value():h)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=_e[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);qn.prototype[e]=function(){var e=arguments;if(a&&!this.__chain__){var r=this.value();return t.apply(So(r)?r:[],e)}return this[n]((function(n){return t.apply(So(n)?n:[],e)}))}})),ca(Ln.prototype,(function(e,t){var n=qn[t];if(n){var a=n.name+"";Oe.call(Mn,a)||(Mn[a]=[]),Mn[a].push({name:t,func:n})}})),Mn[qr(void 0,2).name]=[{name:"wrapper",func:void 0}],Ln.prototype.clone=function(){var e=new Ln(this.__wrapped__);return e.__actions__=_r(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_r(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_r(this.__views__),e},Ln.prototype.reverse=function(){if(this.__filtered__){var e=new Ln(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ln.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=So(e),a=t<0,r=n?e.length:0,i=function(e,t,n){var a=-1,r=n.length;for(;++a<r;){var i=n[a],o=i.size;switch(i.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=ln(t,e+o);break;case"takeRight":e=sn(e,t-o)}}return{start:e,end:t}}(0,r,this.__views__),o=i.start,s=i.end,l=s-o,c=a?s:o-1,u=this.__iteratees__,d=u.length,p=0,m=ln(l,this.__takeCount__);if(!n||!a&&r==l&&m==l)return ar(e,this.__actions__);var b=[];e:for(;l--&&p<m;){for(var h=-1,f=e[c+=t];++h<d;){var g=u[h],_=g.iteratee,y=g.type,M=_(f);if(2==y)f=M;else if(!M){if(1==y)continue e;break e}}b[p++]=f}return b},qn.prototype.at=ao,qn.prototype.chain=function(){return to(this)},qn.prototype.commit=function(){return new Wn(this.value(),this.__chain__)},qn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},qn.prototype.plant=function(e){for(var t,n=this;n instanceof jn;){var a=Ni(n);a.__index__=0,a.__values__=void 0,t?r.__wrapped__=a:t=a;var r=a;n=n.__wrapped__}return r.__wrapped__=e,t},qn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ln){var t=e;return this.__actions__.length&&(t=new Ln(this)),(t=t.reverse()).__actions__.push({func:no,args:[Fi],thisArg:void 0}),new Wn(t,this.__chain__)}return this.thru(Fi)},qn.prototype.toJSON=qn.prototype.valueOf=qn.prototype.value=function(){return ar(this.__wrapped__,this.__actions__)},qn.prototype.first=qn.prototype.head,Je&&(qn.prototype[Je]=function(){return this}),qn}();Ue._=Kt,void 0===(r=function(){return Kt}.call(t,n,t,a))||(a.exports=r)}).call(this)}).call(this,n(169),n(178)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var a=n(39);function r(e){return e instanceof Object(a.a)(e).Element||e instanceof Element}function i(e){return e instanceof Object(a.a)(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Object(a.a)(e).ShadowRoot||e instanceof ShadowRoot)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(8),u=n(42);t.a=function(e){var t=e.active,n=void 0!==t&&t,a=e.aria,i=void 0===a?{}:a,d=e.children,p=e.className,m=e.data,b=void 0===m?{}:m,h=e.iconLeft,f=e.iconRight,g=e.id,_=e.imageUrl,y=e.link,M=e.onClick,v=void 0===M?function(){}:M,z=e.target,O=void 0===z?"_self":z,k=e.text,A=void 0===k?"":k,x=y?"a":"div",w=!0===n?"active":"",N=Object(s.a)(i),q=Object(s.c)(b),E=o()(Object(s.b)("pb_nav_list_kit_item",w),Object(l.c)(e),p);return r.a.createElement("li",Object.assign({},N,q,{className:E,id:g}),r.a.createElement(x,{className:"pb_nav_list_item_link",href:y,onClick:v,target:O},_&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:_},r.a.createElement(u.a,{className:"pb_nav_img_wrapper",url:_})),h&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:h},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_left",fixedWidth:!0,icon:h})),r.a.createElement("span",{className:"pb_nav_list_item_text"},A||d),f&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:f},r.a.createElement(c.a,{className:"pb_nav_list_item_icon_right",fixedWidth:!0,icon:f}))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.children,i=e.className,u=e.data,d=void 0===u?{}:u,p=e.disabled,m=e.icon,b=void 0===m?null:m,h=e.iconRight,f=void 0!==h&&h,g=e.id,_=e.loading,y=void 0!==_&&_,M=e.onClick,v=e.tabIndex,z=e.link,O=void 0===z?null:z,k=e.newWindow,A=void 0!==k&&k,x=e.target,w=void 0===x?"":x,N=e.text,q=e.htmlType,E=void 0===q?"button":q,j=e.value,W=e.form,L=void 0===W?null:W,S=Object(s.a)(n),T=Object(s.c)(d),C=o()(function(e){var t=e.disabled,n=void 0!==t&&t,a=e.fullWidth,r=void 0!==a&&a,i=e.loading,o=void 0!==i&&i,s=e.type,l=void 0===s?"inline":s,c=e.variant,u=void 0===c?"primary":c,d=e.size,p=void 0===d?null:d,m="pb_button_kit";return m+="".concat(null!==u?"_".concat(u):""),m+="".concat(null!==l?"_".concat(l):""),m+="".concat(r?"_block":""),m+=n?"_disabled":"_enabled",m+=o?"_loading":"",m+="".concat(null!==p?" size_".concat(p):"")}(e),Object(l.c)(e),i),R=r.a.createElement("div",{className:"loading-icon"},r.a.createElement(c.a,{fixedWidth:!0,icon:"spinner",pulse:!0})),D=r.a.createElement("span",{className:"pb_button_content"},b&&!f&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(b," fa-fw button_with_icon")}),r.a.createElement("span",null,N||a),b&&f&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(b," fa-fw button_with_icon_right")})),P=function(){return y?r.a.createElement(r.a.Fragment,null,R):D};return r.a.createElement(r.a.Fragment,null,O?r.a.createElement("a",Object.assign({},S,T,{className:C,href:O,id:g,rel:"child"!==w?"noreferrer":null,role:"link",tabIndex:v,target:w&&O?w:A?"_blank":null}),P()):r.a.createElement("button",Object.assign({},S,T,{className:C,disabled:p,form:L,id:g,onClick:M,role:"button",tabIndex:v,type:E,value:j}),P()))}},function(e,t,n){"use strict";var a;!function(r,i){e.exports?(i.default=i,e.exports=r.document?i(r):i):void 0===(a=function(){return i(r)}.call(t,n,t,e))||(e.exports=a)}("undefined"!=typeof window?window:this,(function(e){function t(e,t,n,a){e.hasOwnProperty(t)||(e[t]=a.apply(null,n))}var n={};return t(n,"Core/Globals.js",[],(function(){var t,n=void 0!==e?e:"undefined"!=typeof window?window:{};return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="9.3.3",e.win=n,e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&4>parseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,n),e.win.removeEventListener("testPassive",e.noop,n))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(t||(t={})),t})),t(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(e){function t(n,a,r,i){var o=a?"Highcharts error":"Highcharts warning";32===n&&(n=o+": Deprecated member");var s=l(n),c=s?o+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==i){var u="";s&&(c+="?"),h(i,(function(e,t){u+="\n - "+t+": "+e,s&&(c+=encodeURI(t)+"="+encodeURI(e))})),c+=u}g(e,"displayError",{chart:r,code:n,message:c,params:i},(function(){if(a)throw Error(c);M.console&&-1===t.messages.indexOf(c)&&console.warn(c)})),t.messages.push(c)}function n(e,t){return parseInt(e,t||10)}function a(e){return"string"==typeof e}function r(e){return"[object Array]"===(e=Object.prototype.toString.call(e))||"[object Array Iterator]"===e}function i(e,t){return!(!e||"object"!=typeof e||t&&r(e))}function o(e){return i(e)&&"number"==typeof e.nodeType}function s(e){var t=e&&e.constructor;return!(!i(e,!0)||o(e)||!t||!t.name||"Object"===t.name)}function l(e){return"number"==typeof e&&!isNaN(e)&&1/0>e&&-1/0<e}function c(e){return null!=e}function u(e,t,n){var r;return a(t)?c(n)?e.setAttribute(t,n):e&&e.getAttribute&&((r=e.getAttribute(t))||"class"!==t||(r=e.getAttribute(t+"Name"))):h(t,(function(t,n){c(t)?e.setAttribute(n,t):e.removeAttribute(n)})),r}function d(e,t){var n;for(n in e||(e={}),t)e[n]=t[n];return e}function p(){for(var e=arguments,t=e.length,n=0;n<t;n++){var a=e[n];if(null!=a)return a}}function m(t,n){e.isMS&&!e.svg&&n&&void 0!==n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")"),d(t.style,n)}function b(e,t){return 1e14<e?e:parseFloat(e.toPrecision(t||14))}function h(e,t,n){for(var a in e)Object.hasOwnProperty.call(e,a)&&t.call(n||e[a],e[a],a,e)}function f(t,n,a){function r(n,a){var r=t.removeEventListener||e.removeEventListenerPolyfill;r&&r.call(t,n,a,!1)}function i(e){var a;if(t.nodeName){if(n){var i={};i[n]=!0}else i=e;h(i,(function(t,n){if(e[n])for(a=e[n].length;a--;)r(n,e[n][a].fn)}))}}var o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){var s=o.hcEvents;n?(o=s[n]||[],a?(s[n]=o.filter((function(e){return a!==e.fn})),r(n,a)):(i(s),s[n]=[])):(i(s),delete o.hcEvents)}}function g(t,n,a,r){if(a=a||{},y.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==e)){var i=y.createEvent("Events");i.initEvent(n,!0,!0),a=d(i,a),t.dispatchEvent?t.dispatchEvent(a):t.fireEvent(n,a)}else if(t.hcEvents){a.target||d(a,{preventDefault:function(){a.defaultPrevented=!0},target:t,type:n}),i=[];for(var o=t,s=!1;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[n]&&(i.length&&(s=!0),i.unshift.apply(i,o.hcEvents[n])),o=Object.getPrototypeOf(o);s&&i.sort((function(e,t){return e.order-t.order})),i.forEach((function(e){!1===e.fn.call(t,a)&&a.preventDefault()}))}r&&!a.defaultPrevented&&r.call(t,a)}var _=e.charts,y=e.doc,M=e.win;(t||(t={})).messages=[],Math.easeInOutSine=function(e){return-.5*(Math.cos(Math.PI*e)-1)};var v=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){var n,a=e.length;for(n=0;n<a;n++)if(t(e[n],n))return e[n]};h({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,a){e[a]=function(e){var r;return t(32,!1,void 0,((r={})["Highcharts."+a]="use Array."+n,r)),Array.prototype[n].apply(e,[].slice.call(arguments,1))}}));var z,O=function(){var e=Math.random().toString(36).substring(2,9)+"-",t=0;return function(){return"highcharts-"+(z?"":e)+t++}}();return M.jQuery&&(M.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new(e[a(t[0])?t.shift():"Chart"])(this[0],t[0],t[1]),this):_[u(this[0],"data-highcharts-chart")]}),v={addEvent:function(t,n,a,r){void 0===r&&(r={});var i="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(i,"hcEvents")||(i.hcEvents={}),i=i.hcEvents,e.Point&&t instanceof e.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);var o=t.addEventListener||e.addEventListenerPolyfill;return o&&o.call(t,n,a,!!e.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),i[n]||(i[n]=[]),i[n].push({fn:a,order:"number"==typeof r.order?r.order:1/0}),i[n].sort((function(e,t){return e.order-t.order})),function(){f(t,n,a)}},arrayMax:function(e){for(var t=e.length,n=e[0];t--;)e[t]>n&&(n=e[t]);return n},arrayMin:function(e){for(var t=e.length,n=e[0];t--;)e[t]<n&&(n=e[t]);return n},attr:u,clamp:function(e,t,n){return e>t?e<n?e:n:t},cleanRecursively:function e(t,n){var a={};return h(t,(function(r,o){i(t[o],!0)&&!t.nodeType&&n[o]?(r=e(t[o],n[o]),Object.keys(r).length&&(a[o]=r)):(i(t[o])||t[o]!==n[o])&&(a[o]=t[o])})),a},clearTimeout:function(e){c(e)&&clearTimeout(e)},correctFloat:b,createElement:function(e,t,n,a,r){return e=y.createElement(e),t&&d(e,t),r&&m(e,{padding:"0",border:"none",margin:"0"}),n&&m(e,n),a&&a.appendChild(e),e},css:m,defined:c,destroyObjectProperties:function(e,t){h(e,(function(n,a){n&&n!==t&&n.destroy&&n.destroy(),delete e[a]}))},discardElement:function(e){e&&e.parentElement&&e.parentElement.removeChild(e)},erase:function(e,t){for(var n=e.length;n--;)if(e[n]===t){e.splice(n,1);break}},error:t,extend:d,extendClass:function(e,t){var n=function(){};return d(n.prototype=new e,t),n},find:v,fireEvent:g,getMagnitude:function(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))},getNestedProperty:function(e,t){for(e=e.split(".");e.length&&c(t);){var n=e.shift();if(void 0===n||"__proto__"===n)return;if(!c(t=t[n])||"function"==typeof t||"number"==typeof t.nodeType||t===M)return}return t},getStyle:function a(r,i,o){var s=e.getStyle||a;if("width"===i)return i=Math.min(r.offsetWidth,r.scrollWidth),(o=r.getBoundingClientRect&&r.getBoundingClientRect().width)<i&&o>=i-1&&(i=Math.floor(o)),Math.max(0,i-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===i)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(M.getComputedStyle||t(27,!0),r=M.getComputedStyle(r,void 0)){var l=r.getPropertyValue(i);p(o,"opacity"!==i)&&(l=n(l))}return l},inArray:function(e,n,a){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(e,a)},isArray:r,isClass:s,isDOMElement:o,isFunction:function(e){return"function"==typeof e},isNumber:l,isObject:i,isString:a,keys:function(e){return t(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(e)},merge:function(){var e,t=arguments,n={},a=function(e,t){return"object"!=typeof e&&(e={}),h(t,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!i(n,!0)||s(n)||o(n)?e[r]=t[r]:e[r]=a(e[r]||{},n))})),e};!0===t[0]&&(n=t[1],t=Array.prototype.slice.call(t,2));var r=t.length;for(e=0;e<r;e++)n=a(n,t[e]);return n},normalizeTickInterval:function(e,t,n,a,r){var i=e,o=e/(n=p(n,1));for(t||(t=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===a&&(1===n?t=t.filter((function(e){return 0==e%1})):.1>=n&&(t=[1/n]))),a=0;a<t.length&&(i=t[a],!(r&&i*n>=e||!r&&o<=(t[a]+(t[a+1]||t[a]))/2));a++);return b(i*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:h,offset:function(e){var t=y.documentElement;return{top:(e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(M.pageYOffset||t.scrollTop)-(t.clientTop||0),left:e.left+(M.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:e.width,height:e.height}},pad:function(e,t,n){return Array((t||2)+1-String(e).replace("-","").length).join(n||"0")+e},pick:p,pInt:n,relativeLength:function(e,t,n){return/%$/.test(e)?t*parseFloat(e)/100+(n||0):parseFloat(e)},removeEvent:f,splat:function(e){return r(e)?e:[e]},stableSort:function(e,t){var n,a,r=e.length;for(a=0;a<r;a++)e[a].safeI=a;for(e.sort((function(e,a){return 0===(n=t(e,a))?e.safeI-a.safeI:n})),a=0;a<r;a++)delete e[a].safeI},syncTimeout:function(e,t,n){return 0<t?setTimeout(e,t,n):(e.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:O,useSerialIds:function(e){return z=p(e,z)},wrap:function(e,t,n){var a=e[t];e[t]=function(){var e=Array.prototype.slice.call(arguments),t=arguments,r=this;return r.proceed=function(){a.apply(r,arguments.length?arguments:t)},e.unshift(a),e=n.apply(this,e),r.proceed=null,e}}}})),t(n,"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"}})),t(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=t.isNumber,a=t.merge,r=t.pInt;return t=function(){function t(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var a=e.Color;return a&&a!==t?new a(n):this instanceof t?void this.init(n):new t(n)}return t.parse=function(e){return e?new t(e):t.None},t.prototype.init=function(e){var n;if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map((function(e){return new t(e[1])}));else if("string"==typeof e){if(this.input=e=t.names[e.toLowerCase()]||e,"#"===e.charAt(0)){var a=e.length,r=parseInt(e.substr(1),16);7===a?n=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===a&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=t.parsers.length;r--&&!n;){var i=t.parsers[r];(a=i.regex.exec(e))&&(n=i.parse(a))}}n&&(this.rgba=n)},t.prototype.get=function(e){var t=this.input,r=this.rgba;if("object"==typeof t&&void 0!==this.stops){var i=a(t);return i.stops=[].slice.call(i.stops),this.stops.forEach((function(t,n){i.stops[n]=[i.stops[n][0],t.get(e)]})),i}return r&&n(r[0])?"rgb"===e||!e&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===e?""+r[3]:"rgba("+r.join(",")+")":t},t.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach((function(t){t.brighten(e)}));else if(n(e)&&0!==e)for(var a=0;3>a;a++)t[a]+=r(255*e),0>t[a]&&(t[a]=0),255<t[a]&&(t[a]=255);return this},t.prototype.setOpacity=function(e){return this.rgba[3]=e,this},t.prototype.tweenTo=function(e,t){var a=this.rgba,r=e.rgba;return n(a[0])&&n(r[0])?((e=1!==r[3]||1!==a[3])?"rgba(":"rgb(")+Math.round(r[0]+(a[0]-r[0])*(1-t))+","+Math.round(r[1]+(a[1]-r[1])*(1-t))+","+Math.round(r[2]+(a[2]-r[2])*(1-t))+(e?","+(r[3]+(a[3]-r[3])*(1-t)):"")+")":e.input||"none"},t.names={white:"#ffffff",black:"#000000"},t.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(e){return[r(e[1]),r(e[2]),r(e[3]),parseFloat(e[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(e){return[r(e[1]),r(e[2]),r(e[3]),1]}}],t.None=new t(""),t}()})),t(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),t(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=e.win,a=t.defined,r=t.error,i=t.extend,o=t.isObject,s=t.merge,l=t.objectEach,c=t.pad,u=t.pick,d=t.splat,p=t.timeUnits,m=e.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,b=e.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return t=function(){function t(e){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(e)}return t.prototype.get=function(e,t){if(this.variableTimezone||this.timezoneOffset){var n=t.getTime(),a=n-this.getTimezoneOffset(t);return t.setTime(a),e=t["getUTC"+e](),t.setTime(n),e}return this.useUTC?t["getUTC"+e]():t["get"+e]()},t.prototype.set=function(e,t,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===e||"Seconds"===e||"Minutes"===e&&0==this.getTimezoneOffset(t)%36e5)return t["setUTC"+e](n);var a=this.getTimezoneOffset(t);return a=t.getTime()-a,t.setTime(a),t["setUTC"+e](n),e=this.getTimezoneOffset(t),a=t.getTime()+e,t.setTime(a)}return this.useUTC||m&&"FullYear"===e?t["setUTC"+e](n):t["set"+e](n)},t.prototype.update=function(e){var t=u(e&&e.useUTC,!0);this.options=e=s(!0,this.options||{},e),this.Date=e.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=t)&&e.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=t&&!(!e.getTimezoneOffset&&!e.timezone)},t.prototype.makeTime=function(e,t,n,a,r,i){if(this.useUTC){var o=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(o);o+=s;var l=this.getTimezoneOffset(o);s!==l?o+=l-s:s-36e5!==this.getTimezoneOffset(o-36e5)||b||(o-=36e5)}else o=new this.Date(e,t,u(n,1),u(a,0),u(r,0),u(i,0)).getTime();return o},t.prototype.timezoneOffsetFunction=function(){var e=this,t=this.options,a=t.getTimezoneOffset,i=t.moment||n.moment;if(!this.useUTC)return function(e){return 6e4*new Date(e.toString()).getTimezoneOffset()};if(t.timezone){if(i)return function(e){return 6e4*-i.tz(e,t.timezone).utcOffset()};r(25)}return this.useUTC&&a?function(e){return 6e4*a(e.valueOf())}:function(){return 6e4*(e.timezoneOffset||0)}},t.prototype.dateFormat=function(t,n,r){if(!a(n)||isNaN(n))return e.defaultOptions.lang&&e.defaultOptions.lang.invalidDate||"";t=u(t,"%Y-%m-%d %H:%M:%S");var o=this,s=new this.Date(n),d=this.get("Hours",s),p=this.get("Day",s),m=this.get("Date",s),b=this.get("Month",s),h=this.get("FullYear",s),f=e.defaultOptions.lang,g=f&&f.weekdays,_=f&&f.shortWeekdays;return s=i({a:_?_[p]:g[p].substr(0,3),A:g[p],d:c(m),e:c(m,2," "),w:p,b:f.shortMonths[b],B:f.months[b],m:c(b+1),o:b+1,y:h.toString().substr(2,2),Y:h,H:c(d),k:d,I:c(d%12||12),l:d%12||12,M:c(this.get("Minutes",s)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},e.dateFormats),l(s,(function(e,a){for(;-1!==t.indexOf("%"+a);)t=t.replace("%"+a,"function"==typeof e?e.call(o,n):e)})),r?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(e){return o(e,!0)?e:{main:(e=d(e))[0],from:e[1],to:e[2]}},t.prototype.getTimeTicks=function(e,t,n,r){var o,s=this,l=[],c={},d=new s.Date(t),m=e.unitRange,b=e.count||1;if(r=u(r,1),a(t)){if(s.set("Milliseconds",d,m>=p.second?0:b*Math.floor(s.get("Milliseconds",d)/b)),m>=p.second&&s.set("Seconds",d,m>=p.minute?0:b*Math.floor(s.get("Seconds",d)/b)),m>=p.minute&&s.set("Minutes",d,m>=p.hour?0:b*Math.floor(s.get("Minutes",d)/b)),m>=p.hour&&s.set("Hours",d,m>=p.day?0:b*Math.floor(s.get("Hours",d)/b)),m>=p.day&&s.set("Date",d,m>=p.month?1:Math.max(1,b*Math.floor(s.get("Date",d)/b))),m>=p.month){s.set("Month",d,m>=p.year?0:b*Math.floor(s.get("Month",d)/b));var h=s.get("FullYear",d)}m>=p.year&&s.set("FullYear",d,h-h%b),m===p.week&&(h=s.get("Day",d),s.set("Date",d,s.get("Date",d)-h+r+(h<r?-7:0))),h=s.get("FullYear",d),r=s.get("Month",d);var f=s.get("Date",d),g=s.get("Hours",d);for(t=d.getTime(),!s.variableTimezone&&s.useUTC||!a(n)||(o=n-t>4*p.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(n)),t=d.getTime(),d=1;t<n;)l.push(t),t=m===p.year?s.makeTime(h+d*b,0):m===p.month?s.makeTime(h,r+d*b):!o||m!==p.day&&m!==p.week?o&&m===p.hour&&1<b?s.makeTime(h,r,f,g+d*b):t+m*b:s.makeTime(h,r,f+d*b*(m===p.day?1:7)),d++;l.push(t),m<=p.hour&&1e4>l.length&&l.forEach((function(e){0==e%18e5&&"000000000"===s.dateFormat("%H%M%S%L",e)&&(c[e]="day")}))}return l.info=i(e,{higherRanks:c,totalRange:m*b}),l},t.prototype.getDateFormat=function(e,t,n,a){var r=this.dateFormat("%m-%d %H:%M:%S.%L",t),i={millisecond:15,second:12,minute:9,hour:6,day:3},o="millisecond";for(s in p){if(e===p.week&&+this.dateFormat("%w",t)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(p[s]>e){s=o;break}if(i[s]&&r.substr(i[s])!=="01-01 00:00:00.000".substr(i[s]))break;"week"!==s&&(o=s)}if(s)var l=this.resolveDTLFormat(a[s]).main;return l},t}()})),t(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i){t=t.parse;var o=i.merge,s={colors:a.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:e,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:n.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:n.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:t("#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"}};s.chart.styledMode=!1;var l=new r(o(s.global,s.time));return e={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(e){return o(!0,s,e),(e.time||e.global)&&(n.time?n.time.update(o(s.global,s.time,e.global,e.time)):n.time=l),s}}})),t(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=e.parse,r=t.win,i=n.isNumber,o=n.objectEach;return function(){function e(e,t,n){this.pos=NaN,this.options=t,this.elem=e,this.prop=n}return e.prototype.dSetter=function(){var e=this.paths,t=e&&e[0];e=e&&e[1];var n=this.now||0,a=[];if(1!==n&&t&&e)if(t.length===e.length&&1>n)for(var r=0;r<e.length;r++){for(var o=t[r],s=e[r],l=[],c=0;c<s.length;c++){var u=o[c],d=s[c];i(u)&&i(d)&&("A"!==s[0]||4!==c&&5!==c)?l[c]=u+n*(d-u):l[c]=d}a.push(l)}else a=e;else a=this.toD||[];this.elem.attr("d",a,void 0,!0)},e.prototype.update=function(){var e=this.elem,t=this.prop,n=this.now,a=this.options.step;this[t+"Setter"]?this[t+"Setter"]():e.attr?e.element&&e.attr(t,n,null,!0):e.style[t]=n+this.unit,a&&a.call(e,n,this)},e.prototype.run=function(t,n,a){var i=this,o=i.options,s=function(e){return!s.stopped&&i.step(e)},l=r.requestAnimationFrame||function(e){setTimeout(e,13)},c=function(){for(var t=0;t<e.timers.length;t++)e.timers[t]()||e.timers.splice(t--,1);e.timers.length&&l(c)};t!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=n,this.unit=a,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===e.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))},e.prototype.step=function(e){var t=+new Date,n=this.options,a=this.elem,r=n.complete,i=n.duration,s=n.curAnim;if(a.attr&&!a.element)e=!1;else if(e||t>=i+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;o(s,(function(e){!0!==e&&(l=!1)})),l&&r&&r.call(a),e=!1}else this.pos=n.easing((t-this.startTime)/i),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e},e.prototype.initPath=function(e,t,n){function a(e,t){for(;e.length<p;){var n=e[0],a=t[p-e.length];a&&"M"===n[0]&&(e[0]="C"===a[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),e.unshift(n),l&&(n=e.pop(),e.push(e[e.length-1],n))}}function r(e,t){for(;e.length<p;)if("C"===(t=e[Math.floor(e.length/c)-1].slice())[0]&&(t[1]=t[5],t[2]=t[6]),l){var n=e[Math.floor(e.length/c)].slice();e.splice(e.length/2,0,t,n)}else e.push(t)}var o=e.startX,s=e.endX;n=n.slice();var l=e.isArea,c=l?2:1;if(!(t=t&&t.slice()))return[n,n];if(o&&s&&s.length){for(e=0;e<o.length;e++){if(o[e]===s[0]){var u=e;break}if(o[0]===s[s.length-o.length+e]){u=e;var d=!0;break}if(o[o.length-1]===s[s.length-o.length+e]){u=o.length-e;break}}void 0===u&&(t=[])}if(t.length&&i(u)){var p=n.length+u*c;d?(a(t,n),r(n,t)):(a(n,t),r(t,n))}return[t,n]},e.prototype.fillSetter=function(){e.prototype.strokeSetter.apply(this,arguments)},e.prototype.strokeSetter=function(){this.elem.attr(this.prop,a(this.start).tweenTo(a(this.end),this.pos),void 0,!0)},e.timers=[],e}()})),t(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(e,t){function n(e){return l(e)?c({duration:500,defer:0},e):{duration:e?500:0,defer:0}}function a(t,n){for(var a=e.timers.length;a--;)e.timers[a].elem!==t||n&&n!==e.timers[a].prop||(e.timers[a].stopped=!0)}var r=t.defined,i=t.getStyle,o=t.isArray,s=t.isNumber,l=t.isObject,c=t.merge,u=t.objectEach,d=t.pick;return{animate:function(t,n,r){var d,p,m,b="";if(!l(r)){var h=arguments;r={duration:h[2],easing:h[3],complete:h[4]}}s(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=c(n),u(n,(function(s,l){a(t,l),m=new e(t,r,l),p=void 0,"d"===l&&o(n.d)?(m.paths=m.initPath(t,t.pathArray,n.d),m.toD=n.d,d=0,p=1):t.attr?d=t.attr(l):(d=parseFloat(i(t,l))||0,"opacity"!==l&&(b="px")),p||(p=s),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),m.run(d,p,b)}))},animObject:n,getDeferredAnimation:function(e,t,a){var i=n(t),o=0,s=0;return(a?[a]:e.series).forEach((function(e){e=n(e.options.animation),o=t&&r(t.defer)?i.defer:Math.max(o,e.duration+e.defer),s=Math.min(i.duration,e.duration)})),e.renderer.forExport&&(o=0),{defer:Math.max(0,o-s),duration:Math.min(o,s)}},setAnimation:function(e,t){t.renderer.globalAnimation=d(e,t.options.chart.animation,!0)},stop:a}})),t(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=e.SVG_NS,a=t.attr,r=t.createElement,i=t.error,o=t.isFunction,s=t.isString,l=t.objectEach,c=t.splat,u=(t=e.win.trustedTypes)&&o(t.createPolicy)&&t.createPolicy("highcharts",{createHTML:function(e){return e}}),d=u?u.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(d,"text/html")}catch(e){p=!1}return o=function(){function t(e){this.nodes="string"==typeof e?this.parseMarkup(e):e}return t.filterUserAttributes=function(e){return l(e,(function(n,a){var r=!0;-1===t.allowedAttributes.indexOf(a)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(a)&&(r=s(n)&&t.allowedReferences.some((function(e){return 0===n.indexOf(e)}))),r||(i("Highcharts warning: Invalid attribute '"+a+"' in config"),delete e[a])})),e},t.setElementHTML=function(e,n){e.innerHTML=t.emptyHTML,n&&new t(n).addToDOM(e)},t.prototype.addToDOM=function(r){return function r(o,s){var u;return c(o).forEach((function(o){var c=o.tagName,d=o.textContent?e.doc.createTextNode(o.textContent):void 0;if(c)if("#text"===c)var p=d;else if(-1!==t.allowedTags.indexOf(c)){c=e.doc.createElementNS("svg"===c?n:s.namespaceURI||n,c);var m=o.attributes||{};l(o,(function(e,t){"tagName"!==t&&"attributes"!==t&&"children"!==t&&"textContent"!==t&&(m[t]=e)})),a(c,t.filterUserAttributes(m)),d&&c.appendChild(d),r(o.children||[],c),p=c}else i("Highcharts warning: Invalid tagName "+c+" in config");p&&s.appendChild(p),u=p})),u}(this.nodes,r)},t.prototype.parseMarkup=function(e){var t=[];if(e=e.trim(),p)e=(new DOMParser).parseFromString(u?u.createHTML(e):e,"text/html");else{var n=r("div");n.innerHTML=e,e={body:n}}var a=function(e,t){var n=e.nodeName.toLowerCase(),r={tagName:n};if("#text"===n&&(r.textContent=e.textContent||""),n=e.attributes){var i={};[].forEach.call(n,(function(e){i[e.name]=e.value})),r.attributes=i}if(e.childNodes.length){var o=[];[].forEach.call(e.childNodes,(function(e){a(e,o)})),o.length&&(r.children=o)}t.push(r)};return[].forEach.call(e.body.childNodes,(function(e){return a(e,t)})),t},t.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(" "),t.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),t.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(" "),t.emptyHTML=d,t}()})),t(n,"Core/FormatUtilities.js",[n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],(function(e,t){function n(e,t,n,r){e=+e||0,t=+t;var i=a.lang,c=(e.toString().split(".")[1]||"").split("e")[0].length,u=e.toString().split("e"),d=t;if(-1===t)t=Math.min(c,20);else if(o(t)){if(t&&u[1]&&0>u[1]){var p=t+ +u[1];0<=p?(u[0]=(+u[0]).toExponential(p).split("e")[0],t=p):(u[0]=u[0].split(".")[0]||0,e=20>t?(u[0]*Math.pow(10,u[1])).toFixed(t):0,u[1]=0)}}else t=2;p=(Math.abs(u[1]?u[0]:e)+Math.pow(10,-Math.max(t,c)-1)).toFixed(t);var m=3<(c=String(l(p))).length?c.length%3:0;return n=s(n,i.decimalPoint),r=s(r,i.thousandsSep),e=(0>e?"-":"")+(m?c.substr(0,m)+r:""),e=0>+u[1]&&!d?"0":e+c.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+r),t&&(e+=n+p.slice(-t)),u[1]&&0!=+e&&(e+="e"+u[1]),e}var a=e.defaultOptions,r=e.defaultTime,i=t.getNestedProperty,o=t.isNumber,s=t.pick,l=t.pInt;return{dateFormat:function(e,t,n){return r.dateFormat(e,t,n)},format:function(e,t,o){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,d=a.lang,p=o&&o.time||r;o=o&&o.numberFormatter||n;for(var m=[];e;){var b=e.indexOf(s);if(-1===b)break;var h=e.slice(0,b);if(l){if(h=h.split(":"),s=i(h.shift()||"",t),h.length&&"number"==typeof s)if(h=h.join(":"),c.test(h)){var f=parseInt((h.match(u)||["","-1"])[1],10);null!==s&&(s=o(s,f,d.decimalPoint,-1<h.indexOf(",")?d.thousandsSep:""))}else s=p.dateFormat(h,s);m.push(s)}else m.push(h);e=e.slice(b+1),s=(l=!l)?"}":"{"}return m.push(e),m.join("")},numberFormat:n}})),t(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.clamp,a=e.pick,r=e.stableSort;return function(e){e.distribute=function e(t,i,o){var s,l=t,c=l.reducedLen||i,u=function(e,t){return(t.rank||0)-(e.rank||0)},d=function(e,t){return e.target-t.target},p=!0,m=[],b=0;for(s=t.length;s--;)b+=t[s].size;if(b>c){for(r(t,u),b=s=0;b<=c;)b+=t[s].size,s++;m=t.splice(s-1,t.length)}for(r(t,d),t=t.map((function(e){return{size:e.size,targets:[e.target],align:a(e.align,.5)}}));p;){for(s=t.length;s--;)c=t[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(u-c.size*c.align,0,i-c.size);for(s=t.length,p=!1;s--;)0<s&&t[s-1].pos+t[s-1].size>t[s].pos&&(t[s-1].size+=t[s].size,t[s-1].targets=t[s-1].targets.concat(t[s].targets),t[s-1].align=.5,t[s-1].pos+t[s-1].size>i&&(t[s-1].pos=i-t[s-1].size),t.splice(s,1),p=!0)}return l.push.apply(l,m),s=0,t.some((function(t){var n=0;return(t.targets||[]).some((function(){return l[s].pos=t.pos+n,void 0!==o&&Math.abs(l[s].pos-l[s].target)>o?(l.slice(0,s+1).forEach((function(e){return delete e.pos})),l.reducedLen=(l.reducedLen||i)-.1*i,l.reducedLen>.1*i&&e(l,i,o),!0):(n+=l[s].size,s++,!1)}))})),r(l,d),l}}(t||(t={})),t})),t(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=e.animate,o=e.animObject,s=e.stop,l=a.deg2rad,c=a.doc,u=a.noop,d=a.svg,p=a.SVG_NS,m=a.win,b=r.addEvent,h=r.attr,f=r.createElement,g=r.css,_=r.defined,y=r.erase,M=r.extend,v=r.fireEvent,z=r.isArray,O=r.isFunction,k=r.isNumber,A=r.isString,x=r.merge,w=r.objectEach,N=r.pick,q=r.pInt,E=r.syncTimeout,j=r.uniqueKey;return(e=function(){function e(){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 e.prototype._defaultGetter=function(e){return e=N(this[e+"Value"],this[e],this.element?this.element.getAttribute(e):null,0),/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e},e.prototype._defaultSetter=function(e,t,n){n.setAttribute(t,e)},e.prototype.add=function(e){var t=this.renderer,n=this.element;if(e&&(this.parentGroup=e),this.parentInverted=e&&e.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&t.buildText(this),this.added=!0,!e||e.handleZ||this.zIndex)var a=this.zIndexSetter();return a||(e?e.element:t.box).appendChild(n),this.onAdd&&this.onAdd(),this},e.prototype.addClass=function(e,t){var n=t?"":this.attr("class")||"";return(e=(e||"").split(/ /g).reduce((function(e,t){return-1===n.indexOf(t)&&e.push(t),e}),n?[n]:[]).join(" "))!==n&&this.attr("class",e),this},e.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},e.prototype.align=function(e,t,n){var a,r,i,o={},s=this.renderer,l=s.alignedObjects;e?(this.alignOptions=e,this.alignByTranslate=t,(!n||A(n))&&(this.alignTo=a=n||"renderer",y(l,this),l.push(this),n=void 0)):(e=this.alignOptions,t=this.alignByTranslate,a=this.alignTo),n=N(n,s[a],"scrollablePlotBox"===a?s.plotBox:void 0,s),a=e.align;var c=e.verticalAlign;return s=(n.x||0)+(e.x||0),l=(n.y||0)+(e.y||0),"right"===a?r=1:"center"===a&&(r=2),r&&(s+=(n.width-(e.width||0))/r),o[t?"translateX":"x"]=Math.round(s),"bottom"===c?i=1:"middle"===c&&(i=2),i&&(l+=(n.height-(e.height||0))/i),o[t?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](o),this.placed=!0,this.alignAttr=o,this},e.prototype.alignSetter=function(e){var t={left:"start",center:"middle",right:"end"};t[e]&&(this.alignValue=e,this.element.setAttribute("text-anchor",t[e]))},e.prototype.animate=function(e,t,n){var a=this,r=o(N(t,this.renderer.globalAnimation,!0));return t=r.defer,N(c.hidden,c.msHidden,c.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),E((function(){a.element&&i(a,e,r)}),t)):(this.attr(e,void 0,n),w(e,(function(e,t){r.step&&r.step.call(this,e,{prop:t,pos:1,elem:this})}),this)),this},e.prototype.applyTextOutline=function(e){var t=this.element;-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));var n=e.split(" ");if(e=n[n.length-1],(n=n[0])&&"none"!==n&&a.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(e,t,n){return 2*Number(t)+n})),this.removeTextOutline();var r=c.createElementNS(p,"tspan");h(r,{class:"highcharts-text-outline",fill:e,stroke:e,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(t.childNodes,(function(e){var t=e.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(e){return t.removeAttribute(e)})),r.appendChild(t)}));var i=c.createElementNS(p,"tspan");i.textContent="​",["x","y"].forEach((function(e){var n=t.getAttribute(e);n&&i.setAttribute(e,n)})),r.appendChild(i),t.insertBefore(r,t.firstChild)}},e.prototype.attr=function(e,t,n,a){var r,i,o,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"==typeof e&&void 0!==t){var d=e;(e={})[d]=t}return"string"==typeof e?u=(this[e+"Getter"]||this._defaultGetter).call(this,e,l):(w(e,(function(t,n){i=!1,a||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(r||(this.symbolAttr(e),r=!0),i=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),i||((o=this[n+"Setter"]||this._defaultSetter).call(this,t,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,t,o))}),this),this.afterSetters()),n&&n.call(this),u},e.prototype.clip=function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":"none")},e.prototype.crisp=function(e,t){t=t||e.strokeWidth||0;var n=Math.round(t)%2/2;return e.x=Math.floor(e.x||this.x||0)+n,e.y=Math.floor(e.y||this.y||0)+n,e.width=Math.floor((e.width||this.width||0)-2*n),e.height=Math.floor((e.height||this.height||0)-2*n),_(e.strokeWidth)&&(e.strokeWidth=t),e},e.prototype.complexColor=function(e,t,a){var r,i,o,s,l,c,u,d,p,m,b,h=this.renderer,f=[];v(this.renderer,"complexColor",{args:arguments},(function(){if(e.radialGradient?i="radialGradient":e.linearGradient&&(i="linearGradient"),i){if(o=e[i],l=h.gradients,c=e.stops,p=a.radialReference,z(o)&&(e[i]=o={x1:o[0],y1:o[1],x2:o[2],y2:o[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===i&&p&&!_(o.gradientUnits)&&(s=o,o=x(o,h.getRadialAttr(p,s),{gradientUnits:"userSpaceOnUse"})),w(o,(function(e,t){"id"!==t&&f.push(t,e)})),w(c,(function(e){f.push(e)})),f=f.join(","),l[f])m=l[f].attr("id");else{o.id=m=j();var g=l[f]=h.createElement(i).attr(o).add(h.defs);g.radAttr=s,g.stops=[],c.forEach((function(e){0===e[1].indexOf("rgba")?(r=n.parse(e[1]),u=r.get("rgb"),d=r.get("a")):(u=e[1],d=1),e=h.createElement("stop").attr({offset:e[0],"stop-color":u,"stop-opacity":d}).add(g),g.stops.push(e)}))}b="url("+h.url+"#"+m+")",a.setAttribute(t,b),a.gradient=f,e.toString=function(){return b}}}))},e.prototype.css=function(e){var t=this.styles,n={},a=this.element,r=["textOutline","textOverflow","width"],i="",o=!t;if(e&&e.color&&(e.fill=e.color),t&&w(e,(function(e,a){t&&t[a]!==e&&(n[a]=e,o=!0)})),o){if(t&&(e=M(t,n)),e)if(null===e.width||"auto"===e.width)delete this.textWidth;else if("text"===a.nodeName.toLowerCase()&&e.width)var s=this.textWidth=q(e.width);if(this.styles=e,s&&!d&&this.renderer.forExport&&delete e.width,a.namespaceURI===this.SVG_NS){var l=function(e,t){return"-"+t.toLowerCase()};w(e,(function(e,t){-1===r.indexOf(t)&&(i+=t.replace(/([A-Z])/g,l)+":"+e+";")})),i&&h(a,"style",i)}else g(a,e);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),e&&e.textOutline&&this.applyTextOutline(e.textOutline))}return this},e.prototype.dashstyleSetter=function(e){var t=this["stroke-width"];if("inherit"===t&&(t=1),e=e&&e.toLowerCase()){var n=e.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(e=n.length;e--;)n[e]=""+q(n[e])*N(t,NaN);e=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",e)}},e.prototype.destroy=function(){var e=this,t=e.element||{},n=e.renderer,a=t.ownerSVGElement,r=n.isSVG&&"SPAN"===t.nodeName&&e.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,s(e),e.clipPath&&a){var i=e.clipPath;[].forEach.call(a.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){-1<e.getAttribute("clip-path").indexOf(i.element.id)&&e.removeAttribute("clip-path")})),e.clipPath=i.destroy()}if(e.stops){for(a=0;a<e.stops.length;a++)e.stops[a].destroy();e.stops.length=0,e.stops=void 0}for(e.safeRemoveChild(t),n.styledMode||e.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)t=r.parentGroup,e.safeRemoveChild(r.div),delete r.div,r=t;e.alignTo&&y(n.alignedObjects,e),w(e,(function(t,n){e[n]&&e[n].parentGroup===e&&e[n].destroy&&e[n].destroy(),delete e[n]}))},e.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(e){this.safeRemoveChild(e)}),this),this.shadows=void 0},e.prototype.destroyTextPath=function(e,t){var n=e.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),t.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(e=this.textPathWrapper.element.childNodes;e.length;)n.appendChild(e[0]);n.removeChild(this.textPathWrapper.element)}}else(e.getAttribute("dx")||e.getAttribute("dy"))&&(e.removeAttribute("dx"),e.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},e.prototype.dSetter=function(e,t,n){z(e)&&("string"==typeof e[0]&&(e=this.renderer.pathToSegments(e)),this.pathArray=e,e=e.reduce((function(e,t,n){return t&&t.join?(n?e+" ":"")+t.join(" "):(t||"").toString()}),"")),/(NaN| {2}|^$)/.test(e)&&(e="M 0 0"),this[t]!==e&&(n.setAttribute(t,e),this[t]=e)},e.prototype.fadeOut=function(e){var t=this;t.animate({opacity:0},{duration:N(e,150),complete:function(){t.attr({y:-9999}).hide()}})},e.prototype.fillSetter=function(e,t,n){"string"==typeof e?n.setAttribute(t,e):e&&this.complexColor(e,t,n)},e.prototype.getBBox=function(t,n){var a=this.renderer,r=this.element,i=this.styles,o=this.textStr,s=a.cache,c=a.cacheKeys,u=r.namespaceURI===this.SVG_NS;n=N(n,this.rotation,0);var d,p=a.styledMode?r&&e.prototype.getStyle.call(r,"font-size"):i&&i.fontSize;if(_(o)){var m=o.toString();-1===m.indexOf("<")&&(m=m.replace(/[0-9]/g,"0")),m+=["",n,p,this.textWidth,i&&i.textOverflow,i&&i.fontWeight].join()}if(m&&!t&&(d=s[m]),!d){if(u||a.forExport){try{var b=this.fakeTS&&function(e){var t=r.querySelector(".highcharts-text-outline");t&&g(t,{display:e})};O(b)&&b("none"),d=r.getBBox?M({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight},O(b)&&b("")}catch(e){}(!d||0>d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(a.isSVG&&(t=d.width,a=d.height,u&&(d.height=a={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(a)]||a),n&&(u=n*l,d.width=Math.abs(a*Math.sin(u))+Math.abs(t*Math.cos(u)),d.height=Math.abs(a*Math.cos(u))+Math.abs(t*Math.sin(u)))),m&&(""===o||0<d.height)){for(;250<c.length;)delete s[c.shift()];s[m]||c.push(m),s[m]=d}}return d},e.prototype.getStyle=function(e){return m.getComputedStyle(this.element||this,"").getPropertyValue(e)},e.prototype.hasClass=function(e){return-1!==(""+this.attr("class")).split(" ").indexOf(e)},e.prototype.hide=function(e){return e?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},e.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},e.prototype.init=function(e,t){this.element="span"===t?f(t):c.createElementNS(this.SVG_NS,t),this.renderer=e,v(this,"afterInit")},e.prototype.invert=function(e){return this.inverted=e,this.updateTransform(),this},e.prototype.on=function(e,t){var n=this.onEvents;return n[e]&&n[e](),n[e]=b(this.element,e,t),this},e.prototype.opacitySetter=function(e,t,n){this.opacity=e=Number(Number(e).toFixed(3)),n.setAttribute(t,e)},e.prototype.removeClass=function(e){return this.attr("class",(""+this.attr("class")).replace(A(e)?new RegExp("(^| )"+e+"( |$)"):e," ").replace(/ +/g," ").trim())},e.prototype.removeTextOutline=function(){var e=this.element.querySelector("tspan.highcharts-text-outline");e&&this.safeRemoveChild(e)},e.prototype.safeRemoveChild=function(e){var t=e.parentNode;t&&t.removeChild(e)},e.prototype.setRadialReference=function(e){var t=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=e,t&&t.radAttr&&t.animate(this.renderer.getRadialAttr(e,t.radAttr)),this},e.prototype.setTextPath=function(e,n){var a=this.element,r=this.text?this.text.element:a,i={textAnchor:"text-anchor"},o=!1,s=this.textPathWrapper,l=!s;n=x(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n);var c=t.filterUserAttributes(n.attributes);if(e&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),o=!0);var d=s.element;if((n=e.element.getAttribute("id"))||e.element.setAttribute("id",n=j()),l)for(r.setAttribute("y",0),k(c.dx)&&r.setAttribute("x",-c.dx),e=[].slice.call(r.childNodes),l=0;l<e.length;l++){var p=e[l];p.nodeType!==m.Node.TEXT_NODE&&"tspan"!==p.nodeName||d.appendChild(p)}o&&s&&s.add({element:r}),d.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),_(c.dy)&&(d.parentNode.setAttribute("dy",c.dy),delete c.dy),_(c.dx)&&(d.parentNode.setAttribute("dx",c.dx),delete c.dx),w(c,(function(e,t){d.setAttribute(i[t]||t,e)})),a.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=u}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(a,e),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},e.prototype.shadow=function(e,t,n){var a,r=[],i=this.element,o=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===e?a=s:"object"==typeof e&&(a=M(s,e)),a&&(a&&o&&w(a,(function(e,t){e!==o[t]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=a),a){if(!this.shadows){var c=a.opacity/a.width,u=this.parentInverted?"translate("+a.offsetY+", "+a.offsetX+")":"translate("+a.offsetX+", "+a.offsetY+")";for(s=1;s<=a.width;s++){var d=i.cloneNode(!1),p=2*a.width+1-2*s;h(d,{stroke:e.color||"#000000","stroke-opacity":c*s,"stroke-width":p,transform:u,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),n&&(h(d,"height",Math.max(h(d,"height")-p,0)),d.cutHeight=p),t?t.element.appendChild(d):i.parentNode&&i.parentNode.insertBefore(d,i),r.push(d)}this.shadows=r}}else this.destroyShadows();return this},e.prototype.show=function(e){return this.attr({visibility:e?"inherit":"visible"})},e.prototype.strokeSetter=function(t,n,a){this[n]=t,this.stroke&&this["stroke-width"]?(e.prototype.fillSetter.call(this,this.stroke,"stroke",a),a.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===t&&this.hasStroke?(a.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(a.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},e.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var e=this.getStyle("stroke-width"),t=0;if(e.indexOf("px")===e.length-2)t=q(e);else if(""!==e){var n=c.createElementNS(p,"rect");h(n,{width:e,"stroke-width":0}),this.element.parentNode.appendChild(n),t=n.getBBox().width,n.parentNode.removeChild(n)}return t},e.prototype.symbolAttr=function(e){var t=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){t[n]=N(e[n],t[n])})),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},e.prototype.textSetter=function(e){e!==this.textStr&&(delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this))},e.prototype.titleSetter=function(e){var t=this.element,n=t.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");t.insertBefore?t.insertBefore(n,t.firstChild):t.appendChild(n),n.textContent=String(N(e,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},e.prototype.toFront=function(){var e=this.element;return e.parentNode.appendChild(e),this},e.prototype.translate=function(e,t){return this.attr({translateX:e,translateY:t})},e.prototype.updateShadows=function(e,t,n){var a=this.shadows;if(a)for(var r=a.length;r--;)n.call(a[r],"height"===e?Math.max(t-(a[r].cutHeight||0),0):"d"===e?this.d:t,e,a[r])},e.prototype.updateTransform=function(){var e=this.scaleX,t=this.scaleY,n=this.inverted,a=this.rotation,r=this.matrix,i=this.element,o=this.translateX||0,s=this.translateY||0;n&&(o+=this.width,s+=this.height),o=["translate("+o+","+s+")"],_(r)&&o.push("matrix("+r.join(",")+")"),n?o.push("rotate(90) scale(-1,1)"):a&&o.push("rotate("+a+" "+N(this.rotationOriginX,i.getAttribute("x"),0)+" "+N(this.rotationOriginY,i.getAttribute("y")||0)+")"),(_(e)||_(t))&&o.push("scale("+N(e,1)+" "+N(t,1)+")"),o.length&&i.setAttribute("transform",o.join(" "))},e.prototype.visibilitySetter=function(e,t,n){"inherit"===e?n.removeAttribute(t):this[t]!==e&&n.setAttribute(t,e),this[t]=e},e.prototype.xGetter=function(e){return"circle"===this.element.nodeName&&("x"===e?e="cx":"y"===e&&(e="cy")),this._defaultGetter(e)},e.prototype.zIndexSetter=function(e,t){var n=this.renderer,a=this.parentGroup,r=(a||n).element||n.box,i=this.element;n=r===n.box;var o,s=!1,l=this.added;if(_(e)?(i.setAttribute("data-z-index",e),e=+e,this[t]===e&&(l=!1)):_(this[t])&&i.removeAttribute("data-z-index"),this[t]=e,l){for((e=this.zIndex)&&a&&(a.handleZ=!0),o=(t=r.childNodes).length-1;0<=o&&!s;o--){l=(a=t[o]).getAttribute("data-z-index");var c=!_(l);a!==i&&(0>e&&c&&!n&&!o?(r.insertBefore(i,t[o]),s=!0):(q(l)<=e||c&&(!_(e)||0<=e))&&(r.insertBefore(i,t[o+1]||null),s=!0))}s||(r.insertBefore(i,t[n?3:0]||null),s=!0)}return s},e}()).prototype["stroke-widthSetter"]=e.prototype.strokeSetter,e.prototype.yGetter=e.prototype.xGetter,e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0},e})),t(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(e){var t;return function(t){var n;t.rendererTypes={},t.getRendererType=function(e){return void 0===e&&(e=n),t.rendererTypes[e]||t.rendererTypes[n]},t.registerRendererType=function(a,r,i){t.rendererTypes[a]=r,n&&!i||(n=a,e.Renderer=r)}}(t||(t={})),t})),t(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),a=t.defined,r=t.extend,i=t.isNumber,o=t.merge,s=t.pick,l=t.removeEvent;return function(t){function c(e,n,a,r,i,o,s,l,u,d){var p,m=t.call(this)||this;return m.paddingLeftSetter=m.paddingSetter,m.paddingRightSetter=m.paddingSetter,m.init(e,"g"),m.textStr=n,m.x=a,m.y=r,m.anchorX=o,m.anchorY=s,m.baseline=u,m.className=d,m.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&m.addClass("highcharts-"+d),m.text=e.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof i&&((p=/^url\((.*?)\)$/.test(i))||m.renderer.symbols[i])&&(m.symbolKey=i),m.bBox=c.emptyBBox,m.padding=3,m.baselineOffset=0,m.needsBox=e.styledMode||p,m.deferredAttr={},m.alignFactor=0,m}return n(c,t),c.prototype.alignSetter=function(e){(e={left:0,center:.5,right:1}[e])!==this.alignFactor&&(this.alignFactor=e,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(e,t){this.anchorX=e,this.boxAttr(t,Math.round(e)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(e,t){this.anchorY=e,this.boxAttr(t,e-this.ySetting)},c.prototype.boxAttr=function(e,t){this.box?this.box.attr(e,t):this.deferredAttr[e]=t},c.prototype.css=function(t){if(t){var n={};t=o(t),c.textProps.forEach((function(e){void 0!==t[e]&&(n[e]=t[e],delete t[e])})),this.text.css(n);var a="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():a&&this.updateBoxSize()}return e.prototype.css.call(this,t)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),e.prototype.destroy.call(this)},c.prototype.fillSetter=function(e,t){e&&(this.needsBox=!0),this.fill=e,this.boxAttr(t,e)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var e=this.padding,t=s(this.paddingLeft,e);return{width:this.width,height:this.height,x:this.bBox.x-t,y:this.bBox.y-e}},c.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},c.prototype.heightSetter=function(e){this.heightSetting=e},c.prototype.onAdd=function(){var e=this.textStr;this.text.add(this),this.attr({text:a(e)?e:"",x:this.x,y:this.y}),this.box&&a(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(e,t){i(e)?e!==this[t]&&(this[t]=e,this.updateTextPadding()):this[t]=void 0},c.prototype.rSetter=function(e,t){this.boxAttr(t,e)},c.prototype.shadow=function(e){return e&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(e)),this},c.prototype.strokeSetter=function(e,t){this.stroke=e,this.boxAttr(t,e)},c.prototype["stroke-widthSetter"]=function(e,t){e&&(this.needsBox=!0),this["stroke-width"]=e,this.boxAttr(t,e)},c.prototype["text-alignSetter"]=function(e){this.textAlign=e},c.prototype.textSetter=function(e){void 0!==e&&this.text.attr({text:e}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var e=this.text.element.style,t={},n=this.padding,o=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!a(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||o.height||0)+2*n,e=this.renderer.fontMetrics(e&&e.fontSize,this.text),this.baselineOffset=n+Math.min((this.text.firstLineMetrics||e).b,o.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&(this.box||((n=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":"")),n.add(this)),n=this.getCrispAdjust(),t.x=n,t.y=(this.baseline?-this.baselineOffset:0)+n,t.width=Math.round(this.width),t.height=Math.round(this.height),this.box.attr(r(t,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var e=this.text;this.updateBoxSize();var t=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);a(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===e.x&&t===e.y||(e.attr("x",n),e.hasBoxWidthChanged&&(this.bBox=e.getBBox(!0)),void 0!==t&&e.attr("y",t)),e.x=n,e.y=t},c.prototype.widthSetter=function(e){this.widthSetting=i(e)?e:void 0},c.prototype.getPaddedWidth=function(){var e=this.padding,t=s(this.paddingLeft,e);return e=s(this.paddingRight,e),(this.widthSetting||this.bBox.width||0)+t+e},c.prototype.xSetter=function(e){this.x=e,this.alignFactor&&(e-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(e),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(e){this.ySetting=this.y=Math.round(e),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(e)})),t(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(e){function t(e,t,n,a,i){var s=[];if(i){var l=i.start||0,c=o(i.r,n);n=o(i.r,a||n);var u=(i.end||0)-.001;a=i.innerR;var d=o(i.open,.001>Math.abs((i.end||0)-l-2*Math.PI)),p=Math.cos(l),m=Math.sin(l),b=Math.cos(u),h=Math.sin(u);l=o(i.longArc,.001>u-l-Math.PI?0:1),s.push(["M",e+c*p,t+n*m],["A",c,n,0,l,o(i.clockwise,1),e+c*b,t+n*h]),r(a)&&s.push(d?["M",e+a*b,t+a*h]:["L",e+a*b,t+a*h],["A",a,a,0,l,r(i.clockwise)?1-i.clockwise:0,e+a*p,t+a*m]),d||s.push(["Z"])}return s}function n(e,t,n,r,i){return i&&i.r?a(e,t,n,r,i):[["M",e,t],["L",e+n,t],["L",e+n,t+r],["L",e,t+r],["Z"]]}function a(e,t,n,a,r){return[["M",e+(r=r&&r.r||0),t],["L",e+n-r,t],["C",e+n,t,e+n,t,e+n,t+r],["L",e+n,t+a-r],["C",e+n,t+a,e+n,t+a,e+n-r,t+a],["L",e+r,t+a],["C",e,t+a,e,t+a,e,t+a-r],["L",e,t+r],["C",e,t,e,t,e+r,t]]}var r=e.defined,i=e.isNumber,o=e.pick;return{arc:t,callout:function(e,t,n,r,o){var s=Math.min(o&&o.r||0,n,r),l=s+6,c=o&&o.anchorX;o=o&&o.anchorY||0;var u=a(e,t,n,r,{r:s});return i(c)?(e+c>=n?o>t+l&&o<t+r-l?u.splice(3,1,["L",e+n,o-6],["L",e+n+6,o],["L",e+n,o+6],["L",e+n,t+r-s]):u.splice(3,1,["L",e+n,r/2],["L",c,o],["L",e+n,r/2],["L",e+n,t+r-s]):0>=e+c?o>t+l&&o<t+r-l?u.splice(7,1,["L",e,o+6],["L",e-6,o],["L",e,o-6],["L",e,t+s]):u.splice(7,1,["L",e,r/2],["L",c,o],["L",e,r/2],["L",e,t+s]):o&&o>r&&c>e+l&&c<e+n-l?u.splice(5,1,["L",c+6,t+r],["L",c,t+r+6],["L",c-6,t+r],["L",e+s,t+r]):o&&0>o&&c>e+l&&c<e+n-l&&u.splice(1,1,["L",c-6,t],["L",c,t-6],["L",c+6,t],["L",n-s,t]),u):u},circle:function(e,n,a,r){return t(e+a/2,n+r/2,a/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(e,t,n,a){return[["M",e+n/2,t],["L",e+n,t+a/2],["L",e+n/2,t+a],["L",e,t+a/2],["Z"]]},rect:n,roundedRect:a,square:n,triangle:function(e,t,n,a){return[["M",e+n/2,t],["L",e+n,t+a],["L",e,t+a],["Z"]]},"triangle-down":function(e,t,n,a){return[["M",e,t],["L",e+n,t],["L",e+n/2,t+a],["Z"]]}}})),t(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=t.doc,r=t.SVG_NS,i=t.win,o=n.attr,s=n.isString,l=n.objectEach,c=n.pick;return function(){function t(e){var t=e.styles;this.renderer=e.renderer,this.svgElement=e,this.width=e.textWidth,this.textLineHeight=t&&t.lineHeight,this.textOutline=t&&t.textOutline,this.ellipsis=!(!t||"ellipsis"!==t.textOverflow),this.noWrap=!(!t||"nowrap"!==t.whiteSpace),this.fontSize=t&&t.fontSize}return t.prototype.buildSVG=function(){var t=this.svgElement,n=t.element,r=t.renderer,i=c(t.textStr,"").toString(),o=-1!==i.indexOf("<"),l=n.childNodes;r=this.width&&!t.added&&r.box;var u=[i,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(u!==t.textCache){for(t.textCache=u,delete t.actualWidth,u=l.length;u--;)n.removeChild(l[u]);o||this.ellipsis||this.width||-1!==i.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(i))?""!==i&&(r&&r.appendChild(n),i=new e(i),this.modifyTree(i.nodes),i.addToDOM(t.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(n)):n.appendChild(a.createTextNode(this.unescapeEntities(i))),s(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},t.prototype.modifyDOM=function(){var e,t=this,n=this.svgElement,s=o(n.element,"x");for(n.firstLineMetrics=void 0;(e=n.element.firstChild)&&/^[\s\u200B]*$/.test(e.textContent||" ");)n.element.removeChild(e);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(e,a){e.nextSibling&&e.previousSibling&&(0===a&&1===e.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,e.previousSibling)),o(e,{dy:t.getLineHeight(e.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(e,i){var c=e.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),d=!t.noWrap&&(1<u.length||1<n.element.childNodes.length),p=t.getLineHeight(i),m=0,b=n.actualWidth;if(t.ellipsis)c&&t.truncate(e,c,void 0,0,Math.max(0,l-parseInt(t.fontSize||12,10)),(function(e,t){return e.substring(0,t)+"…"}));else if(d){for(c=[],d=[];i.firstChild&&i.firstChild!==e;)d.push(i.firstChild),i.removeChild(i.firstChild);for(;u.length;)u.length&&!t.noWrap&&0<m&&(c.push(e.textContent||""),e.textContent=u.join(" ").replace(/- /g,"-")),t.truncate(e,void 0,u,0===m&&b||0,l,(function(e,t){return u.slice(0,t).join(" ").replace(/- /g,"-")})),b=n.actualWidth,m++;d.forEach((function(t){i.insertBefore(t,e)})),c.forEach((function(t){i.insertBefore(a.createTextNode(t),e),(t=a.createElementNS(r,"tspan")).textContent="​",o(t,{dy:p,x:s}),i.insertBefore(t,e)}))}},u=function(e){[].slice.call(e.childNodes).forEach((function(t){t.nodeType===i.Node.TEXT_NODE?c(t,e):(-1!==t.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),u(t))}))};u(n.element)}},t.prototype.getLineHeight=function(e){var t;return e=e.nodeType===i.Node.TEXT_NODE?e.parentElement:e,this.renderer.styledMode||(t=e&&/(px|em)$/.test(e.style.fontSize)?e.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(t,e||this.svgElement.element).h},t.prototype.modifyTree=function(e){var t=this,n=function(a,r){var i=a.attributes;i=void 0===i?{}:i;var o=a.children,l=a.tagName,c=t.renderer.styledMode;"b"===l||"strong"===l?c?i.class="highcharts-strong":i.style="font-weight:bold;"+(i.style||""):"i"!==l&&"em"!==l||(c?i.class="highcharts-emphasized":i.style="font-style:italic;"+(i.style||"")),s(i.style)&&(i.style=i.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(i.class="highcharts-br",a.textContent="​",(r=e[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===l&&o&&o.some((function(e){return"#text"===e.tagName}))&&(a.children=[{children:o,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(a.tagName="tspan"),a.attributes=i,o&&o.filter((function(e){return"#text"!==e.tagName})).forEach(n)};e.forEach(n)},t.prototype.truncate=function(e,t,n,a,r,i){var o,s=this.svgElement,l=s.renderer,c=s.rotation,u=[],d=n?1:0,p=(t||n||"").length,m=p,b=function(r,o){o=o||r;var c=e.parentNode;if(c&&void 0===u[o])if(c.getSubStringLength)try{u[o]=a+c.getSubStringLength(0,n?o+1:o)}catch(e){}else l.getSpanWidth&&(e.textContent=i(t||n,r),u[o]=a+l.getSpanWidth(s,e));return u[o]};s.rotation=0;var h=b(e.textContent.length);if(a+h>r){for(;d<=p;)m=Math.ceil((d+p)/2),n&&(o=i(n,m)),h=b(m,o&&o.length-1),d===p?d=p+1:h>r?p=m-1:d=m;0===p?e.textContent="":t&&p===t.length-1||(e.textContent=o||i(t||n,m))}n&&n.splice(0,m),s.actualWidth=h,s.rotation=c},t.prototype.unescapeEntities=function(e,t){return l(this.renderer.escapes,(function(n,a){t&&-1!==t.indexOf(n)||(e=e.toString().replace(new RegExp(n,"g"),a))})),e},t}()})),t(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l){var c,u=n.charts,d=n.deg2rad,p=n.doc,m=n.isFirefox,b=n.isMS,h=n.isWebKit,f=n.noop,g=n.SVG_NS,_=n.symbolSizes,y=n.win,M=l.addEvent,v=l.attr,z=l.createElement,O=l.css,k=l.defined,A=l.destroyObjectProperties,x=l.extend,w=l.isArray,N=l.isNumber,q=l.isObject,E=l.isString,j=l.merge,W=l.pick,L=l.pInt,S=l.uniqueKey;return n=function(){function n(e,t,n,a,r,i,o){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(e,t,n,a,r,i,o)}return n.prototype.init=function(e,t,n,a,r,i,o){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;o||l.css(this.getStyle(a)),e.appendChild(c),v(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&v(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,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=i,this.forExport=r,this.styledMode=o,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,n,!1),m&&e.getBoundingClientRect&&((t=function(){O(e,{left:0,top:0}),s=e.getBoundingClientRect(),O(e,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=M(y,"resize",t))},n.prototype.definition=function(t){return new e([t]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((m||h)&&p.getElementsByTagName("base").length){if(!k(c)){var t=S();t=new e([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+t+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),O(t,{position:"fixed",top:0,left:0,zIndex:9e5});var n=p.elementFromPoint(6,6);c="hitme"===(n&&n.id),p.body.removeChild(t)}if(c)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(e){return this.style=x({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},n.prototype.setStyle=function(e){this.boxWrapper.css(this.getStyle(e))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),A(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(e){var t=new this.Element;return t.init(this,e),t},n.prototype.getRadialAttr=function(e,t){return{cx:e[0]-e[2]/2+(t.cx||0)*e[2],cy:e[1]-e[2]/2+(t.cy||0)*e[2],r:(t.r||0)*e[2]}},n.prototype.buildText=function(e){new s(e).buildSVG()},n.prototype.getContrast=function(e){return(e=t.parse(e).rgba)[0]*=1,e[1]*=1.2,e[2]*=.5,459<e[0]+e[1]+e[2]?"#000000":"#FFFFFF"},n.prototype.button=function(t,n,a,r,i,o,s,l,c,u){var d=this.label(t,n,a,c,void 0,void 0,u,void 0,"button"),p=this.styledMode,m=0,h=i?j(i):{};if(t=h&&h.style||{},h=e.filterUserAttributes(h),d.attr(j({padding:8,r:2},h)),!p){var f=(h=j({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:t},h)).style;delete h.style;var g=(o=j(h,{fill:"#e6e6e6"},e.filterUserAttributes(o||{}))).style;delete o.style;var _=(s=j(h,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},e.filterUserAttributes(s||{}))).style;delete s.style;var y=(l=j(h,{style:{color:"#cccccc"}},e.filterUserAttributes(l||{}))).style;delete l.style}return M(d.element,b?"mouseover":"mouseenter",(function(){3!==m&&d.setState(1)})),M(d.element,b?"mouseout":"mouseleave",(function(){3!==m&&d.setState(m)})),d.setState=function(e){1!==e&&(d.state=m=e),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][e||0]),p||d.attr([h,o,s,l][e||0]).css([f,g,_,y][e||0])},p||d.attr(h).css(x({cursor:"default"},f)),d.on("touchstart",(function(e){return e.stopPropagation()})).on("click",(function(e){3!==m&&r.call(d,e)}))},n.prototype.crispLine=function(e,t,n){void 0===n&&(n="round");var a=e[0],r=e[1];return k(a[1])&&a[1]===r[1]&&(a[1]=r[1]=Math[n](a[1])-t%2/2),k(a[2])&&a[2]===r[2]&&(a[2]=r[2]=Math[n](a[2])+t%2/2),e},n.prototype.path=function(e){var t=this.styledMode?{}:{fill:"none"};return w(e)?t.d=e:q(e)&&x(t,e),this.createElement("path").attr(t)},n.prototype.circle=function(e,t,n){return e=q(e)?e:void 0===e?{}:{x:e,y:t,r:n},(t=this.createElement("circle")).xSetter=t.ySetter=function(e,t,n){n.setAttribute("c"+t,e)},t.attr(e)},n.prototype.arc=function(e,t,n,a,r,i){return q(e)?(t=(a=e).y,n=a.r,e=a.x):a={innerR:a,start:r,end:i},(e=this.symbol("arc",e,t,n,n,a)).r=n,e},n.prototype.rect=function(e,t,n,a,r,i){r=q(e)?e.r:r;var o=this.createElement("rect");return e=q(e)?e:void 0===e?{}:{x:e,y:t,width:Math.max(n,0),height:Math.max(a,0)},this.styledMode||(void 0!==i&&(e["stroke-width"]=i,e=o.crisp(e)),e.fill="none"),r&&(e.r=r),o.rSetter=function(e,t,n){o.r=e,v(n,{rx:e,ry:e})},o.rGetter=function(){return o.r||0},o.attr(e)},n.prototype.setSize=function(e,t,n){this.width=e,this.height=t,this.boxWrapper.animate({width:e,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:W(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(e){var t=this.createElement("g");return e?t.attr({class:"highcharts-"+e}):t},n.prototype.image=function(e,t,n,a,r,i){var o={preserveAspectRatio:"none"},s=function(e,t){e.setAttributeNS?e.setAttributeNS("http://www.w3.org/1999/xlink","href",t):e.setAttribute("hc-svg-href",t)};N(t)&&(o.x=t),N(n)&&(o.y=n),N(a)&&(o.width=a),N(r)&&(o.height=r);var l=this.createElement("image").attr(o);return t=function(t){s(l.element,e),i.call(l,t)},i?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new y.Image,M(n,"load",t),n.src=e,n.complete&&t({})):s(l.element,e),l},n.prototype.symbol=function(e,t,n,a,r,i){var o,s=this,l=/^url\((.*?)\)$/,c=l.test(e),d=!c&&(this.symbols[e]?e:"circle"),m=d&&this.symbols[d];if(m){"number"==typeof t&&(o=m.call(this.symbols,Math.round(t||0),Math.round(n||0),a||0,r||0,i));var b=this.path(o);s.styledMode||b.attr("fill","none"),x(b,{symbolName:d||void 0,x:t,y:n,width:a,height:r}),i&&x(b,i)}else if(c){var h=e.match(l)[1],f=b=this.image(h);f.imgwidth=W(_[h]&&_[h].width,i&&i.width),f.imgheight=W(_[h]&&_[h].height,i&&i.height);var g=function(e){return e.attr({width:e.width,height:e.height})};["width","height"].forEach((function(e){f[e+"Setter"]=function(e,t){var n=this["img"+t];this[t]=e,k(n)&&(i&&"within"===i.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(t,n),this.alignByTranslate||(e=((this[t]||0)-n)/2,this.attr("width"===t?{translateX:e}:{translateY:e})))}})),k(t)&&f.attr({x:t,y:n}),f.isImg=!0,k(f.imgwidth)&&k(f.imgheight)?g(f):(f.attr({width:0,height:0}),z("img",{onload:function(){var e=u[s.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),_[h]={width:this.width,height:this.height},f.imgwidth=this.width,f.imgheight=this.height,f.element&&g(f),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!e||e.hasLoaded||e.onload()},src:h}),this.imgCount++)}return b},n.prototype.clipRect=function(e,t,n,a){var r=S()+"-",i=this.createElement("clipPath").attr({id:r}).add(this.defs);return(e=this.rect(e,t,n,a,0).add(i)).id=r,e.clipPath=i,e.count=0,e},n.prototype.text=function(e,t,n,a){var r={};return!a||!this.allowHTML&&this.forExport?(r.x=Math.round(t||0),n&&(r.y=Math.round(n)),k(e)&&(r.text=e),e=this.createElement("text").attr(r),(!a||this.forExport&&!this.allowHTML)&&(e.xSetter=function(e,t,n){for(var a,r=n.getElementsByTagName("tspan"),i=n.getAttribute(t),o=0;o<r.length;o++)(a=r[o]).getAttribute(t)===i&&a.setAttribute(t,e);n.setAttribute(t,e)}),e):this.html(e,t,n)},n.prototype.fontMetrics=function(e,t){return e=!this.styledMode&&/px/.test(e)||!y.getComputedStyle?e||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize:t&&r.prototype.getStyle.call(t,"font-size"),{h:t=24>(e=/px/.test(e)?L(e):12)?e+3:Math.round(1.2*e),b:Math.round(.8*t),f:e}},n.prototype.rotCorr=function(e,t,n){var a=e;return t&&n&&(a=Math.max(a*Math.cos(t*d),4)),{x:-e/3*Math.sin(t*d),y:a}},n.prototype.pathToSegments=function(e){for(var t=[],n=[],a={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<e.length;r++)E(n[0])&&N(e[r])&&n.length===a[n[0].toUpperCase()]&&e.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof e[r]&&(n.length&&t.push(n.slice(0)),n.length=0),n.push(e[r]);return t.push(n.slice(0)),t},n.prototype.label=function(e,t,n,a,r,o,s,l,c){return new i(this,e,t,n,a,r,o,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(e){return e.align()}))},n}(),x(n.prototype,{Element:r,SVG_NS:g,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:o,draw:f}),a.registerRendererType("svg",n,!0),n})),t(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=e.isFirefox,i=e.isMS,o=e.isWebKit,s=e.win,l=n.css,c=n.defined,u=n.extend,d=n.pick,p=n.pInt;return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.compose=function(e){if(-1===t.composedClasses.indexOf(e)){t.composedClasses.push(e);var n=t.prototype,a=e.prototype;a.getSpanCorrection=n.getSpanCorrection,a.htmlCss=n.htmlCss,a.htmlGetBBox=n.htmlGetBBox,a.htmlUpdateTransform=n.htmlUpdateTransform,a.setSpanRotation=n.setSpanRotation}return e},t.prototype.getSpanCorrection=function(e,t,n){this.xCorr=-e*n,this.yCorr=-t},t.prototype.htmlCss=function(e){var t="SPAN"===this.element.tagName&&e&&"width"in e,n=d(t&&e.width,void 0);if(t){delete e.width,this.textWidth=n;var a=!0}return e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=u(this.styles,e),l(this.element,e),a&&this.htmlUpdateTransform(),this},t.prototype.htmlGetBBox=function(){var e=this.element;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}},t.prototype.htmlUpdateTransform=function(){if(this.added){var e=this.renderer,t=this.element,n=this.translateX||0,a=this.translateY||0,r=this.x||0,i=this.y||0,o=this.textAlign||"left",s={left:0,center:.5,right:1}[o],u=this.styles;if(u=u&&u.whiteSpace,l(t,{marginLeft:n,marginTop:a}),!e.styledMode&&this.shadows&&this.shadows.forEach((function(e){l(e,{marginLeft:n+1,marginTop:a+1})})),this.inverted&&[].forEach.call(t.childNodes,(function(n){e.invertChild(n,t)})),"SPAN"===t.tagName){var d=this.rotation,m=this.textWidth&&p(this.textWidth),b=[d,o,t.innerHTML,this.textWidth,this.textAlign].join(),h=void 0;if(h=!1,m!==this.oldTextWidth){if(this.textPxLength)var f=this.textPxLength;else l(t,{width:"",whiteSpace:u||"nowrap"}),f=t.offsetWidth;(m>this.oldTextWidth||f>m)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(l(t,{width:f>m||d?m+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=m,h=!0)}this.hasBoxWidthChanged=h,b!==this.cTT&&(h=e.fontMetrics(t.style.fontSize,t).b,!c(d)||d===(this.oldRotation||0)&&o===this.oldAlign||this.setSpanRotation(d,s,h),this.getSpanCorrection(!c(d)&&this.textPxLength||t.offsetWidth,h,s,d,o)),l(t,{left:r+(this.xCorr||0)+"px",top:i+(this.yCorr||0)+"px"}),this.cTT=b,this.oldRotation=d,this.oldAlign=o}}else this.alignOnAdd=!0},t.prototype.setSpanRotation=function(e,t,n){var a={},c=i&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":o?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;c&&(a[c]=a.transform="rotate("+e+"deg)",a[c+(r?"Origin":"-origin")]=a.transformOrigin=100*t+"% "+n+"px",l(this.element,a))},t.composedClasses=[],t}(t)})),t(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=a.attr,o=a.createElement,s=a.extend,l=a.pick;return function(n){function a(){return null!==n&&n.apply(this,arguments)||this}return r(a,n),a.compose=function(e){return-1===a.composedClasses.indexOf(e)&&(a.composedClasses.push(e),e.prototype.html=a.prototype.html),e},a.prototype.html=function(n,a,r){var c=this.createElement("span"),u=c.element,d=c.renderer,p=d.isSVG,m=function(e,n){["opacity","visibility"].forEach((function(a){e[a+"Setter"]=function(r,i,o){var s=e.div?e.div.style:n;t.prototype[a+"Setter"].call(this,r,i,o),s&&(s[i]=r)}})),e.addedSetters=!0};return c.textSetter=function(t){t!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,l(t,"")),this.textStr=t,c.doTransform=!0)},p&&m(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(e,t){"align"===t?c.alignValue=c.textAlign=e:c[t]=e,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(a),y:Math.round(r)}).css({position:"absolute"}),d.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,p&&(c.add=function(e){var t=d.box.parentNode,n=[];if(this.parentGroup=e){var a=e.div;if(!a){for(;e;)n.push(e),e=e.parentGroup;n.reverse().forEach((function(e){function r(t,n){e[n]=t,"translateX"===n?d.left=t+"px":d.top=t+"px",e.doTransform=!0}var l=i(e.element,"class"),u=e.styles||{},d=(a=e.div=e.div||o("div",l?{className:l}:void 0,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,cursor:u.cursor,pointerEvents:u.pointerEvents,visibility:e.visibility},a||t)).style;s(e,{classSetter:function(e){return function(t){this.element.setAttribute("class",t),e.className=t}}(a),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:e.onEvents},arguments),e},translateXSetter:r,translateYSetter:r}),e.addedSetters||m(e)}))}}else a=t;return a.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},a.composedClasses=[],a}(n)})),t(n,"Core/Axis/AxisDefaults.js",[],(function(){var e;return function(e){e.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"},e.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},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(e||(e={})),e})),t(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,a=e.isFunction,r=e.objectEach,i=e.removeEvent;return function(e){e.registerEventOptions=function(e,t){e.eventOptions=e.eventOptions||{},r(t.events,(function(t,r){e.eventOptions[r]!==t&&(e.eventOptions[r]&&(i(e,r,e.eventOptions[r]),delete e.eventOptions[r]),a(t)&&(e.eventOptions[r]=t,n(e,r,t)))}))}}(t||(t={})),t})),t(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=t.deg2rad,r=n.clamp,i=n.correctFloat,o=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,u=n.isNumber,d=n.merge,p=n.objectEach,m=n.pick;return t=function(){function t(e,t,n,a,r){this.isNewLabel=this.isNew=!0,this.axis=e,this.pos=t,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||a||this.addLabel()}return t.prototype.addLabel=function(){var t=this,n=t.axis,a=n.options,r=n.chart,s=n.categories,d=n.logarithmic,p=n.names,b=t.pos,h=m(t.options&&t.options.labels,a.labels),f=n.tickPositions,g=b===f[0],_=b===f[f.length-1],y=(!h.step||1===h.step)&&1===n.tickInterval;f=f.info;var M,v=t.label;if(s=this.parameters.category||(s?m(s[b],p[b],b):b),d&&u(s)&&(s=i(d.lin2log(s))),n.dateTime)if(f)var z=r.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid&&f.higherRanks[b]||f.unitName]),O=z.main;else u(s)&&(O=n.dateTime.getXDateFormat(s,a.dateTimeLabelFormats||{}));t.isFirst=g,t.isLast=_;var k={axis:n,chart:r,dateTimeLabelFormat:O,isFirst:g,isLast:_,pos:b,tick:t,tickPositionInfo:f,value:s};c(this,"labelFormat",k);var A=function(t){return h.formatter?h.formatter.call(t,t):h.format?(t.text=n.defaultLabelFormatter.call(t),e.format(h.format,t,r)):n.defaultLabelFormatter.call(t,t)};a=A.call(k,k);var x=z&&z.list;t.shortenLabel=x?function(){for(M=0;M<x.length;M++)if(l(k,{dateTimeLabelFormat:x[M]}),v.attr({text:A.call(k,k)}),v.getBBox().width<n.getSlotWidth(t)-2*h.padding)return;v.attr({text:""})}:void 0,y&&n._addedPlotLB&&t.moveLabel(a,h),o(v)||t.movedLabel?v&&v.textStr!==a&&!y&&(!v.textWidth||h.style.width||v.styles.width||v.css({width:null}),v.attr({text:a}),v.textPxLength=v.getBBox().width):(t.label=v=t.createLabel({x:0,y:0},a,h),t.rotation=0)},t.prototype.createLabel=function(e,t,n){var a=this.axis,r=a.chart;return(e=o(t)&&n.enabled?r.renderer.text(t,e.x,e.y,n.useHTML).add(a.labelGroup):null)&&(r.styledMode||e.css(d(n.style)),e.textPxLength=e.getBBox().width),e},t.prototype.destroy=function(){s(this,this.axis)},t.prototype.getPosition=function(e,t,n,a){var o=this.axis,s=o.chart,l=a&&s.oldChartHeight||s.chartHeight;return(e={x:e?i(o.translate(t+n,null,null,a)+o.transB):o.left+o.offset+(o.opposite?(a&&s.oldChartWidth||s.chartWidth)-o.right-o.left:0),y:e?l-o.bottom+o.offset-(o.opposite?o.height:0):i(l-o.translate(t+n,null,null,a)-o.transB)}).y=r(e.y,-1e5,1e5),c(this,"afterGetPosition",{pos:e}),e},t.prototype.getLabelPosition=function(e,t,n,r,i,s,l,u){var d=this.axis,p=d.transA,m=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,b=d.staggerLines,h=d.tickRotCorr||{x:0,y:0},f=r||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),g={},_=i.y;return o(_)||(_=0===d.side?n.rotation?-8:-n.getBBox().height:2===d.side?h.y+8:Math.cos(n.rotation*a)*(h.y-n.getBBox(!1,0).height/2)),e=e+i.x+f+h.x-(s&&r?s*p*(m?-1:1):0),t=t+_-(s&&!r?s*p*(m?1:-1):0),b&&(n=l/(u||1)%b,d.opposite&&(n=b-n-1),t+=d.labelOffset/b*n),g.x=e,g.y=Math.round(t),c(this,"afterGetLabelPosition",{pos:g,tickmarkOffset:s,index:l}),g},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(e,t,n,a,r,i){return i.crispLine([["M",e,t],["L",e+(r?0:-n),t+(r?n:0)]],a)},t.prototype.handleOverflow=function(e){var t=this.axis,n=t.options.labels,r=e.x,i=t.chart.chartWidth,o=t.chart.spacing,s=m(t.labelLeft,Math.min(t.pos,o[3]));o=m(t.labelRight,Math.max(t.isRadial?0:t.pos+t.len,i-o[1]));var l,c=this.label,u=this.rotation,d={left:0,center:.5,right:1}[t.labelAlign||c.attr("align")],p=c.getBBox().width,b=t.getSlotWidth(this),h={},f=b,g=1;u||"justify"!==n.overflow?0>u&&r-d*p<s?l=Math.round(r/Math.cos(u*a)-s):0<u&&r+d*p>o&&(l=Math.round((i-r)/Math.cos(u*a))):(i=r+(1-d)*p,r-d*p<s?f=e.x+f*(1-d)-s:i>o&&(f=o-e.x+f*d,g=-1),(f=Math.min(b,f))<b&&"center"===t.labelAlign&&(e.x+=g*(b-f-d*(b-Math.min(p,f)))),(p>f||t.autoRotation&&(c.styles||{}).width)&&(l=f)),l&&(this.shortenLabel?this.shortenLabel():(h.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(h.textOverflow="ellipsis"),c.css(h)))},t.prototype.moveLabel=function(e,t){var n=this,a=n.label,r=n.axis,i=r.reversed,o=!1;if(a&&a.textStr===e?(n.movedLabel=a,o=!0,delete n.label):p(r.ticks,(function(t){o||t.isNew||t===n||!t.label||t.label.textStr!==e||(n.movedLabel=t.label,o=!0,t.labelPos=n.movedLabel.xy,delete t.label)})),!o&&(n.labelPos||a)){var s=n.labelPos||a.xy;a=r.horiz?i?0:r.width+r.left:s.x,r=r.horiz?s.y:i?r.width+r.left:0,n.movedLabel=n.createLabel({x:a,y:r},e,t),n.movedLabel&&n.movedLabel.attr({opacity:0})}},t.prototype.render=function(e,t,n){var a=this.axis,r=a.horiz,i=this.pos,o=m(this.tickmarkOffset,a.tickmarkOffset);o=(i=this.getPosition(r,i,o,t)).x;var s=i.y;a=r&&o===a.pos+a.len||!r&&s===a.pos?-1:1,r=m(n,this.label&&this.label.newOpacity,1),n=m(n,1),this.isActive=!0,this.renderGridLine(t,n,a),this.renderMark(i,n,a),this.renderLabel(i,t,r,e),this.isNew=!1,c(this,"afterRender")},t.prototype.renderGridLine=function(e,t,n){var a=this.axis,r=a.options,i={},o=this.pos,s=this.type,l=m(this.tickmarkOffset,a.tickmarkOffset),c=a.chart.renderer,u=this.gridLine,d=r.gridLineWidth,p=r.gridLineColor,b=r.gridLineDashStyle;"minor"===this.type&&(d=r.minorGridLineWidth,p=r.minorGridLineColor,b=r.minorGridLineDashStyle),u||(a.chart.styledMode||(i.stroke=p,i["stroke-width"]=d||0,i.dashstyle=b),s||(i.zIndex=1),e&&(t=0),this.gridLine=u=c.path().attr(i).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(a.gridGroup)),u&&(n=a.getPlotLinePath({value:o+l,lineWidth:u.strokeWidth()*n,force:"pass",old:e}))&&u[e||this.isNew?"attr":"animate"]({d:n,opacity:t})},t.prototype.renderMark=function(e,t,n){var a=this.axis,r=a.options,i=a.chart.renderer,o=this.type,s=a.tickSize(o?o+"Tick":"tick"),l=e.x;e=e.y;var c=m(r["minor"!==o?"tickWidth":"minorTickWidth"],!o&&a.isXAxis?1:0);r=r["minor"!==o?"tickColor":"minorTickColor"];var u=this.mark,d=!u;s&&(a.opposite&&(s[0]=-s[0]),u||(this.mark=u=i.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(a.axisGroup),a.chart.styledMode||u.attr({stroke:r,"stroke-width":c})),u[d?"attr":"animate"]({d:this.getMarkPath(l,e,s[0],u.strokeWidth()*n,a.horiz,i),opacity:t}))},t.prototype.renderLabel=function(e,t,n,a){var r=this.axis,i=r.horiz,o=r.options,s=this.label,l=o.labels,c=l.step;r=m(this.tickmarkOffset,r.tickmarkOffset);var d=e.x;e=e.y;var p=!0;s&&u(d)&&(s.xy=e=this.getLabelPosition(d,e,s,i,l,r,a,c),this.isFirst&&!this.isLast&&!o.showFirstLabel||this.isLast&&!this.isFirst&&!o.showLastLabel?p=!1:!i||l.step||l.rotation||t||0===n||this.handleOverflow(e),c&&a%c&&(p=!1),p&&u(e.y)?(e.opacity=n,s[this.isNewLabel?"attr":"animate"](e),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var e=this.label,t=this.axis,n=t.reversed;if(e&&!this.isNew){var a=t.horiz?n?t.left:t.width+t.left:e.xy.x;n=t.horiz?e.xy.y:n?t.width+t.top:t.top,e.animate({x:a,y:n,opacity:0},void 0,e.destroy),delete this.label}t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}()})),t(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s){var l=e.animObject,c=a.defaultOptions,u=r.registerEventOptions,d=i.deg2rad,p=s.arrayMax,m=s.arrayMin,b=s.clamp,h=s.correctFloat,f=s.defined,g=s.destroyObjectProperties,_=s.erase,y=s.error,M=s.extend,v=s.fireEvent,z=s.getMagnitude,O=s.isArray,k=s.isNumber,A=s.isString,x=s.merge,w=s.normalizeTickInterval,N=s.objectEach,q=s.pick,E=s.relativeLength,j=s.removeEvent,W=s.splat,L=s.syncTimeout;return e=function(){function e(e,t){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(e,t)}return e.prototype.init=function(e,t){var n=t.isX;this.chart=e,this.horiz=e.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),v(this,"init",{userOptions:t}),this.opposite=q(t.opposite,this.opposite),this.side=q(t.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(t);var a=this.options,r=a.labels,i=a.type;this.userOptions=t,this.minPixelPadding=0,this.reversed=q(a.reversed,this.reversed),this.visible=a.visible,this.zoomEnabled=a.zoomEnabled,this.hasNames="category"===i||!0===a.categories,this.categories=a.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=f(a.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=a.minRange||a.maxZoom,this.range=a.range,this.offset=a.offset||0,this.min=this.max=null,t=q(a.crosshair,W(e.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===t?{}:t,-1===e.axes.indexOf(this)&&(n?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),e[this.coll].push(this)),this.series=this.series||[],e.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=k(r.rotation)?r.rotation:void 0,u(this,a),v(this,"afterInit")},e.prototype.setOptions=function(e){this.options=x(t.defaultXAxisOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],x(c[this.coll],e)),v(this,"afterSetOptions",{userOptions:e})},e.prototype.defaultLabelFormatter=function(e){var t=this.axis;e=this.chart.numberFormatter;var n=k(this.value)?this.value:NaN,a=t.chart.time,r=this.dateTimeLabelFormat,i=c.lang,o=i.numericSymbols;i=i.numericSymbolMagnitude||1e3;var s=t.logarithmic?Math.abs(n):t.tickInterval,l=o&&o.length;if(t.categories)var u=""+this.value;else if(r)u=a.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===u;)s>=(t=Math.pow(i,l+1))&&0==10*n%t&&null!==o[l]&&0!==n&&(u=e(n/t,-1)+o[l]);return void 0===u&&(u=1e4<=Math.abs(n)?e(n,-1):e(n,-1,void 0,"")),u},e.prototype.getSeriesExtremes=function(){var e,t=this,n=t.chart;v(this,"getSeriesExtremes",null,(function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.stacking&&t.stacking.buildStacks(),t.series.forEach((function(a){if(a.visible||!n.options.chart.ignoreHiddenSeries){var r=a.options,i=r.threshold;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=i&&(i=null),t.isXAxis){if((r=a.xData).length){r=t.logarithmic?r.filter(t.validatePositiveValue):r;var o=(e=a.getXExtremes(r)).min,s=e.max;k(o)||o instanceof Date||(r=r.filter(k),o=(e=a.getXExtremes(r)).min,s=e.max),r.length&&(t.dataMin=Math.min(q(t.dataMin,o),o),t.dataMax=Math.max(q(t.dataMax,s),s))}}else a=a.applyExtremes(),k(a.dataMin)&&(o=a.dataMin,t.dataMin=Math.min(q(t.dataMin,o),o)),k(a.dataMax)&&(s=a.dataMax,t.dataMax=Math.max(q(t.dataMax,s),s)),f(i)&&(t.threshold=i),(!r.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}}))})),v(this,"afterGetSeriesExtremes")},e.prototype.translate=function(e,t,n,a,r,i){var o=this.linkedParent||this,s=a&&o.old?o.old.min:o.min,l=o.minPixelPadding;r=(o.isOrdinal||o.brokenAxis&&o.brokenAxis.hasBreaks||o.logarithmic&&r)&&o.lin2val;var c=1,u=0;return(a=a&&o.old?o.old.transA:o.transA)||(a=o.transA),n&&(c*=-1,u=o.len),o.reversed&&(u-=(c*=-1)*(o.sector||o.len)),t?(e=(e*c+u-l)/a+s,r&&(e=o.lin2val(e))):(r&&(e=o.val2lin(e)),e=k(s)?c*(e-s)*a+u+c*l+(k(i)?a*i:0):void 0),e},e.prototype.toPixels=function(e,t){return this.translate(e,!1,!this.horiz,null,!0)+(t?0:this.pos)},e.prototype.toValue=function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,null,!0)},e.prototype.getPlotLinePath=function(e){function t(e,t,n){return("pass"!==y&&e<t||e>n)&&(y?e=b(e,t,n):o=!0),e}var n,a,r,i,o,s=this,l=s.chart,c=s.left,u=s.top,d=e.old,p=e.value,m=e.lineWidth,h=d&&l.oldChartHeight||l.chartHeight,f=d&&l.oldChartWidth||l.chartWidth,g=s.transB,_=e.translatedValue,y=e.force;return e={value:p,lineWidth:m,old:d,force:y,acrossPanes:e.acrossPanes,translatedValue:_},v(this,"getPlotLinePath",e,(function(e){_=q(_,s.translate(p,null,null,d)),_=b(_,-1e5,1e5),n=r=Math.round(_+g),a=i=Math.round(h-_-g),k(_)?s.horiz?(a=u,i=h-s.bottom,n=r=t(n,c,c+s.width)):(n=c,r=f-s.right,a=i=t(a,u,u+s.height)):(o=!0,y=!1),e.path=o&&!y?null:l.renderer.crispLine([["M",n,a],["L",r,i]],m||1)})),e.path},e.prototype.getLinearTickPositions=function(e,t,n){var a=h(Math.floor(t/e)*e);n=h(Math.ceil(n/e)*e);var r,i=[];if(h(a+e)===a&&(r=20),this.single)return[t];for(t=a;t<=n&&(i.push(t),(t=h(t+e,r))!==o);)var o=t;return i},e.prototype.getMinorTickInterval=function(){var e=this.options;return!0===e.minorTicks?q(e.minorTickInterval,"auto"):!1===e.minorTicks?null:e.minorTickInterval},e.prototype.getMinorTickPositions=function(){var e=this.options,t=this.tickPositions,n=this.minorTickInterval,a=this.pointRangePadding||0,r=this.min-a,i=(a=this.max+a)-r,o=[];if(i&&i/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(e,t,a){t&&o.push.apply(o,s.getLogTickPositions(n,a[t-1],a[t],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())o=o.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),r,a,e.startOfWeek));else for(e=r+(t[0]-r)%n;e<=a&&e!==o[0];e+=n)o.push(e)}return 0!==o.length&&this.trimTicks(o),o},e.prototype.adjustForMinRange=function(){var e,t,n,a,r=this.options,i=this.logarithmic,o=this.min,s=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!i&&(f(r.min)||f(r.max)||f(r.floor)||f(r.ceiling)?this.minRange=null:(this.series.forEach((function(r){if(n=r.xData,a=r.xIncrement?1:n.length-1,1<n.length)for(e=a;0<e;e--)t=n[e]-n[e-1],(!l||t<l)&&(l=t)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-o<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,u=this.minRange,d=(u-s+o)/2;d=[o-d,q(r.min,o-d)],c&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(o=p(d))+u,q(r.max,o+u)],c&&(s[2]=i?i.log2lin(this.dataMax):this.dataMax),(s=m(s))-o<u&&(d[0]=s-u,d[1]=q(r.min,s-u),o=p(d))}this.min=o,this.max=s},e.prototype.getClosest=function(){var e;return this.categories?e=1:this.series.forEach((function(t){var n=t.closestPointRange,a=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&f(n)&&a&&(e=f(e)?Math.min(e,n):n)})),e},e.prototype.nameToX=function(e){var t=O(this.categories),n=t?this.categories:this.names,a=e.options.x;if(e.series.requireSorting=!1,f(a)||(a=this.options.uniqueNames?t?n.indexOf(e.name):q(n.keys[e.name],-1):e.series.autoIncrement()),-1===a){if(!t)var r=n.length}else r=a;return void 0!==r&&(this.names[r]=e.name,this.names.keys[e.name]=r),r},e.prototype.updateNames=function(){var e=this,t=this.names;0<t.length&&(Object.keys(t.keys).forEach((function(e){delete t.keys[e]})),t.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(t){t.xIncrement=null,t.points&&!t.isDirtyData||(e.max=Math.max(e.max,t.xData.length-1),t.processData(),t.generatePoints()),t.data.forEach((function(n,a){if(n&&n.options&&void 0!==n.name){var r=e.nameToX(n);void 0!==r&&r!==n.x&&(n.x=r,t.xData[a]=r)}}))})))},e.prototype.setAxisTranslation=function(){var e=this,t=e.max-e.min,n=e.linkedParent,a=!!e.categories,r=e.isXAxis,i=e.axisPointRange||0,o=0,s=0,l=e.transA;if(r||a||i){var c=e.getClosest();n?(o=n.minPointOffset,s=n.pointRangePadding):e.series.forEach((function(t){var n=a?1:r?q(t.options.pointRange,c,0):e.axisPointRange||0,l=t.options.pointPlacement;i=Math.max(i,n),e.single&&!a||(t=t.is("xrange")?!r:r,o=Math.max(o,t&&A(l)?0:n/2),s=Math.max(s,t&&"on"===l?0:n))})),n=e.ordinal&&e.ordinal.slope&&c?e.ordinal.slope/c:1,e.minPointOffset=o*=n,e.pointRangePadding=s*=n,e.pointRange=Math.min(i,e.single&&a?1:t),r&&(e.closestPointRange=c)}e.translationSlope=e.transA=l=e.staticScale||e.len/(t+s||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=l*o,v(this,"afterSetAxisTranslation")},e.prototype.minFromRange=function(){return this.max-this.range},e.prototype.setTickInterval=function(e){var t=this.chart,n=this.logarithmic,a=this.options,r=this.isXAxis,i=this.isLinked,o=a.tickPixelInterval,s=this.categories,l=this.softThreshold,c=a.maxPadding,u=a.minPadding,d=k(a.tickInterval)&&0<=a.tickInterval?a.tickInterval:void 0,p=k(this.threshold)?this.threshold:null;this.dateTime||s||i||this.getTickAmount();var m=q(this.userMin,a.min),b=q(this.userMax,a.max);if(i){this.linkedParent=t[this.coll][a.linkedTo];var g=this.linkedParent.getExtremes();this.min=q(g.min,g.dataMin),this.max=q(g.max,g.dataMax),a.type!==this.linkedParent.options.type&&y(11,1,t)}else{if(l&&f(p))if(this.dataMin>=p)g=p,u=0;else if(this.dataMax<=p){var _=p;c=0}this.min=q(m,g,this.dataMin),this.max=q(b,_,this.dataMax)}if(n&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,q(this.dataMin,this.min))&&y(10,1,t),this.min=h(n.log2lin(this.min),16),this.max=h(n.log2lin(this.max),16)),this.range&&f(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=b=this.max,this.range=null),v(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||i)&&f(this.min)&&f(this.max)&&(t=this.max-this.min)&&(!f(m)&&u&&(this.min-=t*u),!f(b)&&c&&(this.max+=t*c)),k(this.userMin)||(k(a.softMin)&&a.softMin<this.min&&(this.min=m=a.softMin),k(a.floor)&&(this.min=Math.max(this.min,a.floor))),k(this.userMax)||(k(a.softMax)&&a.softMax>this.max&&(this.max=b=a.softMax),k(a.ceiling)&&(this.max=Math.min(this.max,a.ceiling))),l&&f(this.dataMin)&&(p=p||0,!f(m)&&this.min<p&&this.dataMin>=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!f(b)&&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&&(f(this.options.min)?this.max=this.min:f(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:i&&this.linkedParent&&!d&&o===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:q(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*o/Math.max(this.len,o)),r&&!e){var M=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(e){e.forceCrop=e.forceCropping&&e.forceCropping(),e.processData(M)})),v(this,"postProcessData",{hasExtemesChanged:M})}this.setAxisTranslation(),v(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),e=q(a.minTickInterval,this.dateTime&&!this.series.some((function(e){return e.noSharedTooltip}))?this.closestPointRange:0),!d&&this.tickInterval<e&&(this.tickInterval=e),this.dateTime||this.logarithmic||d||(this.tickInterval=w(this.tickInterval,void 0,z(this.tickInterval),q(a.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},e.prototype.setTickPositions=function(){var e=this.options,t=e.tickPositions,n=this.getMinorTickInterval(),a=this.hasVerticalPanning(),r="colorAxis"===this.coll,i=(r||!a)&&e.startOnTick;a=(r||!a)&&e.endOnTick,r=e.tickPositioner,this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&f(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=n=t&&t.slice(),!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.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):(n=[this.min,this.max],y(19,!1,this.chart)),n.length>this.len&&((n=[n[0],n.pop()])[0]===n[1]&&(n.length=1)),this.tickPositions=n,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=n=r),this.paddedTicks=n.slice(0),this.trimTicks(n,i,a),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some((function(e){return e.is("heatmap")&&"between"===e.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),t||r||this.adjustTickAmount()),v(this,"afterSetTickPositions")},e.prototype.trimTicks=function(e,t,n){var a=e[0],r=e[e.length-1],i=!this.isOrdinal&&this.minPointOffset||0;if(v(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==a)this.min=a;else for(;this.min-i>e[0];)e.shift();if(n)this.max=r;else for(;this.max+i<e[e.length-1];)e.pop();0===e.length&&f(a)&&!this.options.tickPositions&&e.push((r+a)/2)}},e.prototype.alignToOthers=function(){var e,t={},n=this.options;return!1!==this.chart.options.chart.alignTicks&&n.alignTicks&&!1!==n.startOnTick&&!1!==n.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(n){var a=n.options;a=[n.horiz?a.left:a.top,a.width,a.height,a.pane].join(),n.series.length&&(t[a]?e=!0:t[a]=1)})),e},e.prototype.getTickAmount=function(){var e=this.options,t=e.tickPixelInterval,n=e.tickAmount;!f(e.tickInterval)&&!n&&this.len<t&&!this.isRadial&&!this.logarithmic&&e.startOnTick&&e.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/t)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},e.prototype.adjustTickAmount=function(){var e=this.options,t=this.tickInterval,n=this.tickPositions,a=this.tickAmount,r=this.finalTickAmt,i=n&&n.length,o=q(this.threshold,this.softThreshold?0:null);if(this.hasData()&&k(this.min)&&k(this.max)){if(i<a){for(;n.length<a;)n.length%2||this.min===o?n.push(h(n[n.length-1]+t)):n.unshift(h(n[0]-t));this.transA*=(i-1)/(a-1),this.min=e.startOnTick?n[0]:Math.min(this.min,n[0]),this.max=e.endOnTick?n[n.length-1]:Math.max(this.max,n[n.length-1])}else i>a&&(this.tickInterval*=2,this.setTickPositions());if(f(r)){for(t=e=n.length;t--;)(3===r&&1==t%2||2>=r&&0<t&&t<e-1)&&n.splice(t,1);this.finalTickAmt=void 0}}},e.prototype.setScale=function(){var e=!1,t=!1;this.series.forEach((function(n){e=e||n.isDirtyData||n.isDirty,t=t||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||e||t||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.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),v(this,"afterSetScale")},e.prototype.setExtremes=function(e,t,n,a,r){var i=this,o=i.chart;n=q(n,!0),i.series.forEach((function(e){delete e.kdTree})),r=M(r,{min:e,max:t}),v(i,"setExtremes",r,(function(){i.userMin=e,i.userMax=t,i.eventArgs=r,n&&o.redraw(a)}))},e.prototype.zoom=function(e,t){var n=this,a=this.dataMin,r=this.dataMax,i=this.options,o=Math.min(a,q(i.min,a)),s=Math.max(r,q(i.max,r));return v(this,"zoom",e={newMin:e,newMax:t},(function(e){var t=e.newMin,i=e.newMax;t===n.min&&i===n.max||(n.allowZoomOutside||(f(a)&&(t<o&&(t=o),t>s&&(t=s)),f(r)&&(i<o&&(i=o),i>s&&(i=s))),n.displayBtn=void 0!==t||void 0!==i,n.setExtremes(t,i,!1,void 0,{trigger:"zoom"})),e.zoomed=!0})),e.zoomed},e.prototype.setAxisSize=function(){var e=this.chart,t=this.options,n=t.offsets||[0,0,0,0],a=this.horiz,r=this.width=Math.round(E(q(t.width,e.plotWidth-n[3]+n[1]),e.plotWidth)),i=this.height=Math.round(E(q(t.height,e.plotHeight-n[0]+n[2]),e.plotHeight)),o=this.top=Math.round(E(q(t.top,e.plotTop+n[0]),e.plotHeight,e.plotTop));t=this.left=Math.round(E(q(t.left,e.plotLeft+n[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-i-o,this.right=e.chartWidth-r-t,this.len=Math.max(a?r:i,0),this.pos=a?t:o},e.prototype.getExtremes=function(){var e=this.logarithmic;return{min:e?h(e.lin2log(this.min)):this.min,max:e?h(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},e.prototype.getThreshold=function(e){var t=this.logarithmic,n=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===e||-1/0===e?e=n:1/0===e?e=t:n>e?e=n:t<e&&(e=t),this.translate(e,0,1,0,1)},e.prototype.autoLabelAlign=function(e){var t=(q(e,0)-90*this.side+720)%360;return v(this,"autoLabelAlign",e={align:"center"},(function(e){15<t&&165>t?e.align="right":195<t&&345>t&&(e.align="left")})),e.align},e.prototype.tickSize=function(e){var t=this.options,n=q(t["tick"===e?"tickWidth":"minorTickWidth"],"tick"===e&&this.isXAxis&&!this.categories?1:0),a=t["tick"===e?"tickLength":"minorTickLength"];if(n&&a){"inside"===t[e+"Position"]&&(a=-a);var r=[a,n]}return v(this,"afterTickSize",e={tickSize:r}),e.tickSize},e.prototype.labelMetrics=function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},e.prototype.unsquish=function(){var e,t,n=this.options.labels,a=this.horiz,r=this.tickInterval,i=this.len/(((this.categories?1:0)+this.max-this.min)/r),o=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(e){var t=e/(i||1);return(t=1<t?Math.ceil(t):1)*r>l&&1/0!==e&&1/0!==i&&l&&(t=Math.ceil(l/r)),h(t*r)},u=r,p=Number.MAX_VALUE;if(a){if(!n.staggerLines&&!n.step)if(k(o))var m=[o];else i<n.autoRotationLimit&&(m=n.autoRotation);m&&m.forEach((function(n){if(n===o||n&&-90<=n&&90>=n){var a=(t=c(Math.abs(s.h/Math.sin(d*n))))+Math.abs(n/360);a<p&&(p=a,e=n,u=t)}}))}else n.step||(u=c(s.h));return this.autoRotation=m,this.labelRotation=q(e,k(o)?o:0),u},e.prototype.getSlotWidth=function(e){var t=this.chart,n=this.horiz,a=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),i=t.margin[3];if(e&&k(e.slotWidth))return e.slotWidth;if(n&&2>a.step)return a.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(e=a.style.width))return parseInt(String(e),10);if(i)return i-t.spacing[3]}return.33*t.chartWidth},e.prototype.renderUnsquish=function(){var e=this.chart,t=e.renderer,n=this.tickPositions,a=this.ticks,r=this.options.labels,i=r.style,o=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),c={},u=this.labelMetrics(),d=i.textOverflow,p=0;if(A(r.rotation)||(c.rotation=r.rotation||0),n.forEach((function(e){(e=a[e]).movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>p&&(p=e.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>l&&p>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var m=l;if(!d){var b="clip";for(l=n.length;!o&&l--;){var h=n[l];(h=a[h].label)&&(h.styles&&"ellipsis"===h.styles.textOverflow?h.css({textOverflow:"clip"}):h.textPxLength>s&&h.css({width:s+"px"}),h.getBBox().height>this.len/n.length-(u.h-u.f)&&(h.specificTextOverflow="ellipsis"))}}}c.rotation&&(m=p>.5*e.chartHeight?.33*e.chartHeight:p,d||(b="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(e){var t=(e=a[e])&&e.label,n=i.width,r={};t&&(t.attr(c),e.shortenLabel?e.shortenLabel():m&&!n&&"nowrap"!==i.whiteSpace&&(m<t.textPxLength||"SPAN"===t.element.tagName)?(r.width=m+"px",d||(r.textOverflow=t.specificTextOverflow||b),t.css(r)):t.styles&&t.styles.width&&!r.width&&!n&&t.css({width:null}),delete t.specificTextOverflow,e.rotation=c.rotation)}),this),this.tickRotCorr=t.rotCorr(u.b,this.labelRotation||0,0!==this.side)},e.prototype.hasData=function(){return this.series.some((function(e){return e.hasData()}))||this.options.showEmpty&&f(this.min)&&f(this.max)},e.prototype.addTitle=function(e){var t,n=this.chart.renderer,a=this.horiz,r=this.opposite,i=this.options.title,o=this.chart.styledMode;this.axisTitle||((t=i.textAlign)||(t=(a?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[i.align]),this.axisTitle=n.text(i.text||"",0,0,i.useHTML).attr({zIndex:7,rotation:i.rotation,align:t}).addClass("highcharts-axis-title"),o||this.axisTitle.css(x(i.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),o||i.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[e?"show":"hide"](e)},e.prototype.generateTick=function(e){var t=this.ticks;t[e]?t[e].addLabel():t[e]=new o(this,e)},e.prototype.getOffset=function(){var e=this,t=this,n=t.chart,a=t.horiz,r=t.options,i=t.side,o=t.ticks,s=t.tickPositions,l=t.coll,c=t.axisParent,u=n.renderer,d=n.inverted&&!t.isZAxis?[1,0,3,2][i]:i,p=t.hasData(),m=r.title,b=r.labels,h=n.axisOffset;n=n.clipOffset;var g,_=[-1,1,1,-1][i],y=r.className,M=0,z=0,O=0;if(t.showAxis=g=p||r.showEmpty,t.staggerLines=t.horiz&&b.staggerLines||void 0,!t.axisGroup){var k=function(t,n,a){return u.g(t).attr({zIndex:a}).addClass("highcharts-"+l.toLowerCase()+n+" "+(e.isRadial?"highcharts-radial-axis"+n+" ":"")+(y||"")).add(c)};t.gridGroup=k("grid","-grid",r.gridZIndex),t.axisGroup=k("axis","",r.zIndex),t.labelGroup=k("axis-labels","-labels",b.zIndex)}if(p||t.isLinked?(s.forEach((function(e){t.generateTick(e)})),t.renderUnsquish(),t.reserveSpaceDefault=0===i||2===i||{1:"left",3:"right"}[i]===t.labelAlign,q(b.reserveSpace,"center"===t.labelAlign||null,t.reserveSpaceDefault)&&s.forEach((function(e){O=Math.max(o[e].getLabelSize(),O)})),t.staggerLines&&(O*=t.staggerLines),t.labelOffset=O*(t.opposite?-1:1)):N(o,(function(e,t){e.destroy(),delete o[t]})),m&&m.text&&!1!==m.enabled&&(t.addTitle(g),g&&!1!==m.reserveSpace)){t.titleOffset=M=t.axisTitle.getBBox()[a?"height":"width"];var A=m.offset;z=f(A)?0:q(m.margin,a?5:10)}t.renderLine(),t.offset=_*q(r.offset,h[i]?h[i]+(r.margin||0):0),t.tickRotCorr=t.tickRotCorr||{x:0,y:0},m=0===i?-t.labelMetrics().h:2===i?t.tickRotCorr.y:0,p=Math.abs(O)+z,O&&(p=p-m+_*(a?q(b.y,t.tickRotCorr.y+8*_):b.x)),t.axisTitleMargin=q(A,p),t.getMaxLabelDimensions&&(t.maxLabelDimensions=t.getMaxLabelDimensions(o,s)),"colorAxis"!==l&&(a=this.tickSize("tick"),h[i]=Math.max(h[i],(t.axisTitleMargin||0)+M+_*t.offset,p,s&&s.length&&a?a[0]+_*t.offset:0),r=!t.axisLine||r.offset?0:2*Math.floor(t.axisLine.strokeWidth()/2),n[d]=Math.max(n[d],r)),v(this,"afterGetOffset")},e.prototype.getLinePath=function(e){var t=this.chart,n=this.opposite,a=this.offset,r=this.horiz,i=this.left+(n?this.width:0)+a;return a=t.chartHeight-this.bottom-(n?this.height:0)+a,n&&(e*=-1),t.renderer.crispLine([["M",r?this.left:i,r?a:this.top],["L",r?t.chartWidth-this.right:i,r?a:t.chartHeight-this.bottom]],e)},e.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}))},e.prototype.getTitlePosition=function(){var e=this.horiz,t=this.left,n=this.top,a=this.len,r=this.options.title,i=e?t:n,o=this.opposite,s=this.offset,l=r.x,c=r.y,u=this.axisTitle,d=this.chart.renderer.fontMetrics(r.style.fontSize,u);return u=Math.max(u.getBBox(null,0).height-d.h-1,0),a={low:i+(e?0:a),middle:i+a/2,high:i+(e?a:0)}[r.align],t=(e?n+this.height:t)+(e?1:-1)*(o?-1:1)*this.axisTitleMargin+[-u,u,d.f,-u][this.side],e={x:e?a+l:t+(o?this.width:0)+s+l,y:e?t+c-(o?this.height:0)+s:a+c},v(this,"afterGetTitlePosition",{titlePosition:e}),e},e.prototype.renderMinorTick=function(e,t){var n=this.minorTicks;n[e]||(n[e]=new o(this,e,"minor")),t&&n[e].isNew&&n[e].render(null,!0),n[e].render(null,!1,1)},e.prototype.renderTick=function(e,t,n){var a=this.ticks;(!this.isLinked||e>=this.min&&e<=this.max||this.grid&&this.grid.isColumn)&&(a[e]||(a[e]=new o(this,e)),n&&a[e].isNew&&a[e].render(t,!0,-1),a[e].render(t))},e.prototype.render=function(){var e,t,n=this,a=n.chart,r=n.logarithmic,s=n.options,c=n.isLinked,u=n.tickPositions,d=n.axisTitle,p=n.ticks,m=n.minorTicks,b=n.alternateBands,h=s.stackLabels,f=s.alternateGridColor,g=n.tickmarkOffset,_=n.axisLine,y=n.showAxis,M=l(a.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,m,b].forEach((function(e){N(e,(function(e){e.isActive=!1}))})),n.hasData()||c){var z=n.chart.hasRendered&&n.old&&k(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(e){n.renderMinorTick(e,z)})),u.length&&(u.forEach((function(e,t){n.renderTick(e,t,z)})),g&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new o(n,-1,null,!0)),p[-1].render(-1))),f&&u.forEach((function(o,s){t=void 0!==u[s+1]?u[s+1]+g:n.max-g,0==s%2&&o<n.max&&t<=n.max+(a.polar?-g:g)&&(b[o]||(b[o]=new i.PlotLineOrBand(n)),e=o+g,b[o].options={from:r?r.lin2log(e):e,to:r?r.lin2log(t):t,color:f,className:"highcharts-alternate-grid"},b[o].render(),b[o].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(e){n.addPlotBandOrLine(e)})))}[p,m,b].forEach((function(e){var t=[],n=M.duration;N(e,(function(e,n){e.isActive||(e.render(n,!1,0),e.isActive=!1,t.push(n))})),L((function(){for(var n=t.length;n--;)e[t[n]]&&!e[t[n]].isActive&&(e[t[n]].destroy(),delete e[t[n]])}),e!==b&&a.hasRendered&&n?n:0)})),_&&(_[_.isPlaced?"animate":"attr"]({d:this.getLinePath(_.strokeWidth())}),_.isPlaced=!0,_[y?"show":"hide"](y)),d&&y&&(s=n.getTitlePosition(),k(s.y)?(d[d.isNew?"attr":"animate"](s),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),h&&h.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,v(this,"afterRender")},e.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(e){e.render()}))),this.series.forEach((function(e){e.isDirty=!0}))},e.prototype.getKeepProps=function(){return this.keepProps||e.keepProps},e.prototype.destroy=function(e){var t=this,n=t.plotLinesAndBands,a=this.eventOptions;if(v(this,"destroy",{keepEvents:e}),e||j(t),[t.ticks,t.minorTicks,t.alternateBands].forEach((function(e){g(e)})),n)for(e=n.length;e--;)n[e].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),t.plotLinesAndBandsGroups)t.plotLinesAndBandsGroups[r]=t.plotLinesAndBandsGroups[r].destroy();N(t,(function(e,n){-1===t.getKeepProps().indexOf(n)&&delete t[n]})),this.eventOptions=a},e.prototype.drawCrosshair=function(e,t){var a,r=this.crosshair,i=q(r&&r.snap,!0),o=this.chart,s=this.cross;if(v(this,"drawCrosshair",{e:e,point:t}),e||(e=this.cross&&this.cross.e),r&&!1!==(f(t)||!i)){if(i?f(t)&&(a=q("colorAxis"!==this.coll?t.crosshairPos:null,this.isXAxis?t.plotX:this.len-t.plotY)):a=e&&(this.horiz?e.chartX-this.pos:this.len-e.chartY+this.pos),f(a)){var l={value:t&&(this.isXAxis?t.x:q(t.stackY,t.y)),translatedValue:a};o.polar&&M(l,{isCrosshair:!0,chartX:e&&e.chartX,chartY:e&&e.chartY,point:t}),l=this.getPlotLinePath(l)||null}if(!f(l))return void this.hideCrosshair();i=this.categories&&!this.isRadial,s||(this.cross=s=o.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(i?"category ":"thin ")+(r.className||"")).attr({zIndex:q(r.zIndex,2)}).add(),o.styledMode||(s.attr({stroke:r.color||(i?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":q(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:l}),i&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=e}else this.hideCrosshair();v(this,"afterDrawCrosshair",{e:e,point:t})},e.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),v(this,"afterHideCrosshair")},e.prototype.hasVerticalPanning=function(){var e=this.chart.options.chart.panning;return!!(e&&e.enabled&&/y/.test(e.type))},e.prototype.validatePositiveValue=function(e){return k(e)&&0<e},e.prototype.update=function(e,t){var n=this.chart;e=x(this.userOptions,e),this.destroy(!0),this.init(n,e),n.isDirtyBox=!0,q(t,!0)&&n.redraw()},e.prototype.remove=function(e){for(var t=this.chart,n=this.coll,a=this.series,r=a.length;r--;)a[r]&&a[r].remove(!1);_(t.axes,this),_(t[n],this),t[n].forEach((function(e,t){e.options.index=e.userOptions.index=t})),this.destroy(),t.isDirtyBox=!0,q(e,!0)&&t.redraw()},e.prototype.setTitle=function(e,t){this.update({title:e},t)},e.prototype.setCategories=function(e,t){this.update({categories:e},t)},e.defaultOptions=t.defaultXAxisOptions,e.keepProps="extKey hcEvents names series userMax userMin".split(" "),e}()})),t(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,a=e.getMagnitude,r=e.normalizeTickInterval,i=e.timeUnits;return function(e){function t(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function o(e){"datetime"!==e.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];e.compose=function(e){return-1===s.indexOf(e)&&(s.push(e),e.keepProps.push("dateTime"),e.prototype.getTimeTicks=t,n(e,"init",o)),e};var l=function(){function e(e){this.axis=e}return e.prototype.normalizeTimeTickInterval=function(e,t){var n=t||[["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]];t=n[n.length-1];var o,s=i[t[0]],l=t[1];for(o=0;o<n.length&&(t=n[o],s=i[t[0]],l=t[1],!(n[o+1]&&e<=(s*l[l.length-1]+i[n[o+1][0]])/2));o++);return s===i.year&&e<5*s&&(l=[1,2,5]),{unitRange:s,count:e=r(e/s,l,"year"===t[0]?Math.max(a(e/s),1):1),unitName:t[0]}},e.prototype.getXDateFormat=function(e,t){var n=this.axis;return n.closestPointRange?n.chart.time.getDateFormat(n.closestPointRange,e,n.options.startOfWeek,t)||t.year:t.day},e}();e.Additions=l}(t||(t={})),t})),t(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,a=e.getMagnitude,r=e.normalizeTickInterval,i=e.pick;return function(e){function t(e){var t=this.logarithmic;"logarithmic"!==e.userOptions.type?this.logarithmic=void 0:t||(this.logarithmic=new l(this))}function o(){var e=this.logarithmic;e&&(this.lin2val=function(t){return e.lin2log(t)},this.val2lin=function(t){return e.log2lin(t)})}var s=[];e.compose=function(e){return-1===s.indexOf(e)&&(s.push(e),e.keepProps.push("logarithmic"),n(e,"init",t),n(e,"afterInit",o)),e};var l=function(){function e(e){this.axis=e}return e.prototype.getLogTickPositions=function(e,t,n,o){var s=this.axis,l=s.len,c=s.options,u=[];if(o||(this.minorAutoInterval=void 0),.5<=e)e=Math.round(e),u=s.getLinearTickPositions(e,t,n);else if(.08<=e){var d,p=Math.floor(t),m=c=void 0;for(l=.3<e?[1,2,4]:.15<e?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<n+1&&!m;p++){var b=l.length;for(d=0;d<b&&!m;d++){var h=this.log2lin(this.lin2log(p)*l[d]);h>t&&(!o||c<=n)&&void 0!==c&&u.push(c),c>n&&(m=!0),c=h}}}else t=this.lin2log(t),n=this.lin2log(n),e=o?s.getMinorTickInterval():c.tickInterval,e=i("auto"===e?null:e,this.minorAutoInterval,c.tickPixelInterval/(o?5:1)*(n-t)/((o?l/s.tickPositions.length:l)||1)),e=r(e,void 0,a(e)),u=s.getLinearTickPositions(e,t,n).map(this.log2lin),o||(this.minorAutoInterval=e/5);return o||(s.tickInterval=e),u},e.prototype.lin2log=function(e){return Math.pow(10,e)},e.prototype.log2lin=function(e){return Math.log(e)/Math.LN10},e}();e.Additions=l}(t||(t={})),t})),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.erase,a=e.extend,r=e.isNumber;return function(e){var t,i=[];e.compose=function(e,n){return t||(t=e),-1===i.indexOf(n)&&(i.push(n),a(n.prototype,o.prototype)),n};var o=function(){function e(){}return e.prototype.getPlotBandPath=function(e,t,n){void 0===n&&(n=this.options);var a=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),i=[],o=this.horiz;if(t=!r(this.min)||!r(this.max)||e<this.min&&t<this.min||e>this.max&&t>this.max,e=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),n=1,e&&a){if(t){var s=e.toString()===a.toString();n=0}for(t=0;t<e.length;t+=2){var l=e[t],c=e[t+1],u=a[t],d=a[t+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==d[0]&&"L"!==d[0]||(o&&u[1]===l[1]?(u[1]+=n,d[1]+=n):o||u[2]!==l[2]||(u[2]+=n,d[2]+=n),i.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",d[1],d[2]],["L",u[1],u[2]],["Z"])),i.isFlat=s}}return i},e.prototype.addPlotBand=function(e){return this.addPlotBandOrLine(e,"plotBands")},e.prototype.addPlotLine=function(e){return this.addPlotBandOrLine(e,"plotLines")},e.prototype.addPlotBandOrLine=function(e,n){var a=this,r=this.userOptions,i=new t(this,e);if(this.visible&&(i=i.render()),i){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((function(e){a.addPlotBandOrLine(e)}))),n){var o=r[n]||[];o.push(e),r[n]=o}this.plotLinesAndBands.push(i)}return i},e.prototype.removePlotBandOrLine=function(e){var t=this.plotLinesAndBands,a=this.options,r=this.userOptions;if(t){for(var i=t.length;i--;)t[i].id===e&&t[i].destroy();[a.plotLines||[],r.plotLines||[],a.plotBands||[],r.plotBands||[]].forEach((function(t){for(i=t.length;i--;)(t[i]||{}).id===e&&n(t,t[i])}))}},e.prototype.removePlotBand=function(e){this.removePlotBandOrLine(e)},e.prototype.removePlotLine=function(e){this.removePlotBandOrLine(e)},e}()}(t||(t={})),t})),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(e,t){var n=t.arrayMax,a=t.arrayMin,r=t.defined,i=t.destroyObjectProperties,o=t.erase,s=t.fireEvent,l=t.merge,c=t.objectEach,u=t.pick;return t=function(){function t(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)}return t.compose=function(n){return e.compose(t,n)},t.prototype.render=function(){s(this,"render");var e=this,t=e.axis,n=t.horiz,a=t.logarithmic,i=e.options,o=i.color,d=u(i.zIndex,0),p=i.events,m={},b=t.chart.renderer,h=i.label,f=e.label,g=i.to,_=i.from,y=i.value,M=e.svgElem,v=[],z=r(_)&&r(g);v=r(y);var O=!M,k={class:"highcharts-plot-"+(z?"band ":"line ")+(i.className||"")},A=z?"bands":"lines";if(a&&(_=a.log2lin(_),g=a.log2lin(g),y=a.log2lin(y)),t.chart.styledMode||(v?(k.stroke=o||"#999999",k["stroke-width"]=u(i.width,1),i.dashStyle&&(k.dashstyle=i.dashStyle)):z&&(k.fill=o||"#e6ebf5",i.borderWidth&&(k.stroke=i.borderColor,k["stroke-width"]=i.borderWidth))),m.zIndex=d,A+="-"+d,(a=t.plotLinesAndBandsGroups[A])||(t.plotLinesAndBandsGroups[A]=a=b.g("plot-"+A).attr(m).add()),O&&(e.svgElem=M=b.path().attr(k).add(a)),v)v=t.getPlotLinePath({value:y,lineWidth:M.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!z)return;v=t.getPlotBandPath(_,g,i)}return!e.eventsAdded&&p&&(c(p,(function(t,n){M.on(n,(function(t){p[n].apply(e,[t])}))})),e.eventsAdded=!0),(O||!M.d)&&v&&v.length?M.attr({d:v}):M&&(v?(M.show(!0),M.animate({d:v})):M.d&&(M.hide(),f&&(e.label=f=f.destroy()))),h&&(r(h.text)||r(h.formatter))&&v&&v.length&&0<t.width&&0<t.height&&!v.isFlat?(h=l({align:n&&z&&"center",x:n?!z&&4:10,verticalAlign:!n&&z&&"middle",y:n?z?16:10:z?6:-4,rotation:n&&!z&&90},h),this.renderLabel(h,v,z,d)):f&&f.hide(),e},t.prototype.renderLabel=function(e,t,r,i){var o=this.axis,s=o.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(e),0,0,e.useHTML).attr({align:e.textAlign||e.align,rotation:e.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(e.className||""),zIndex:i}).add(),o.chart.styledMode||c.css(l({textOverflow:"ellipsis"},e.style))),i=t.xBounds||[t[0][1],t[1][1],r?t[2][1]:t[0][1]],t=t.yBounds||[t[0][2],t[1][2],r?t[2][2]:t[0][2]],r=a(i),s=a(t),c.align(e,!1,{x:r,y:s,width:n(i)-r,height:n(t)-s}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?o.height-(c.alignAttr.y-o.top):o.width-(c.alignAttr.x-o.left))+"px"}),c.show(!0)},t.prototype.getLabelText=function(e){return r(e.formatter)?e.formatter.call(this):e.text},t.prototype.destroy=function(){o(this.axis.plotLinesAndBands,this),delete this.axis,i(this)},t}()})),t(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=e.format,o=t.doc,s=n.distribute,l=r.addEvent,c=r.clamp,u=r.css,d=r.defined,p=r.discardElement,m=r.extend,b=r.fireEvent,h=r.isArray,f=r.isNumber,g=r.isString,_=r.merge,y=r.pick,M=r.splat,v=r.syncTimeout;return e=function(){function e(e,t){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=e,this.init(e,t)}return e.prototype.applyFilter=function(){var e=this.chart;e.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+e.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"}}]}]})},e.prototype.bodyFormatter=function(e){return e.map((function(e){var t=e.series.tooltipOptions;return(t[(e.point.formatPrefix||"point")+"Formatter"]||e.point.tooltipFormatter).call(e.point,t[(e.point.formatPrefix||"point")+"Format"]||"")}))},e.prototype.cleanSplit=function(e){this.chart.series.forEach((function(t){var n=t&&t.tt;n&&(!n.isActive||e?t.tt=n.destroy():n.isActive=!1)}))},e.prototype.defaultFormatter=function(e){var t=this.points||M(this),n=[e.tooltipFooterHeaderFormatter(t[0])];return(n=n.concat(e.bodyFormatter(t))).push(e.tooltipFooterHeaderFormatter(t[0],!0)),n},e.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)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},e.prototype.getAnchor=function(e,t){var n,a,r=this.chart,i=r.pointer,o=r.inverted,s=r.plotTop,l=r.plotLeft,c=0,u=0;return e=M(e),this.followPointer&&t?(void 0===t.chartX&&(t=i.normalize(t)),i=[t.chartX-l,t.chartY-s]):e[0].tooltipPos?i=e[0].tooltipPos:(e.forEach((function(e){n=e.series.yAxis,a=e.series.xAxis,c+=e.plotX||0,u+=e.plotLow?(e.plotLow+(e.plotHigh||0))/2:e.plotY||0,a&&n&&(o?(c+=s+r.plotHeight-a.len-a.pos,u+=l+r.plotWidth-n.len-n.pos):(c+=a.pos-l,u+=n.pos-s))})),c/=e.length,u/=e.length,i=[o?r.plotWidth-u:c,o?r.plotHeight-c:u],this.shared&&1<e.length&&t&&(o?i[0]=t.chartX-l:i[1]=t.chartY-s)),i.map(Math.round)},e.prototype.getLabel=function(){var e,n=this,r=this.chart.styledMode,i=this.options,o=this.split&&this.allowShared,s="tooltip"+(d(i.className)?" "+i.className:""),c=i.style.pointerEvents||(!this.followPointer&&i.stickOnContact?"auto":"none"),p=function(){n.inContact=!0},m=function(e){var t=n.chart.hoverSeries;n.inContact=n.shouldStickOnContact()&&n.chart.pointer.inClass(e.relatedTarget,"highcharts-tooltip"),!n.inContact&&t&&t.onMouseOut&&t.onMouseOut()},b=this.chart.renderer;if(n.label){var h=!n.label.hasClass("highcharts-label");(o&&!h||!o&&h)&&n.destroy()}if(!this.label){if(this.outside){h=this.chart.options.chart.style;var f=a.getRendererType();this.container=e=t.doc.createElement("div"),e.className="highcharts-tooltip-container",u(e,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(h&&h.zIndex||0)+3)}),l(e,"mouseenter",p),l(e,"mouseleave",m),t.doc.body.appendChild(e),this.renderer=b=new f(e,0,0,h,void 0,void 0,b.styledMode)}if(o?this.label=b.g(s):(this.label=b.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,s).attr({padding:i.padding,r:i.borderRadius}),r||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth}).css(i.style).css({pointerEvents:c}).shadow(i.shadow)),r&&i.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var g=this.label,_=g.xSetter,y=g.ySetter;g.xSetter=function(t){_.call(g,n.distance),e.style.left=t+"px"},g.ySetter=function(t){y.call(g,n.distance),e.style.top=t+"px"}}this.label.on("mouseenter",p).on("mouseleave",m).attr({zIndex:8}).add()}return this.label},e.prototype.getPosition=function(e,t,n){var a,r=this.chart,i=this.distance,s={},l=r.inverted&&n.h||0,c=this.outside,u=c?o.documentElement.clientWidth-2*i:r.chartWidth,d=c?Math.max(o.body.scrollHeight,o.documentElement.scrollHeight,o.body.offsetHeight,o.documentElement.offsetHeight,o.documentElement.clientHeight):r.chartHeight,p=r.pointer.getChartPosition(),m=function(a){var o="x"===a;return[a,o?u:d,o?e:t].concat(c?[o?e*p.scaleX:t*p.scaleY,o?p.left-i+(n.plotX+r.plotLeft)*p.scaleX:p.top-i+(n.plotY+r.plotTop)*p.scaleY,0,o?u:d]:[o?e:t,o?n.plotX+r.plotLeft:n.plotY+r.plotTop,o?r.plotLeft:r.plotTop,o?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},b=m("y"),h=m("x");m=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(m=!m);var f=!this.followPointer&&y(n.ttBelow,!r.inverted===m),g=function(e,t,n,a,r,o,u){var d=c?"y"===e?i*p.scaleY:i*p.scaleX:i,m=(n-a)/2,b=a<r-i,h=r+i+a<t,g=r-d-n+m;if(r=r+d-m,f&&h)s[e]=r;else if(!f&&b)s[e]=g;else if(b)s[e]=Math.min(u-a,0>g-l?g:g-l);else{if(!h)return!1;s[e]=Math.max(o,r+l+n>t?r:r+l)}},_=function(e,t,n,a,r){var o;return r<i||r>t-i?o=!1:s[e]=r<n/2?1:r>t-a/2?t-a-2:r-n/2,o},M=function(e){var t=b;b=h,h=t,a=e},v=function(){!1!==g.apply(0,b)?!1!==_.apply(0,h)||a||(M(!0),v()):a?s.x=s.y=0:(M(!0),v())};return(r.inverted||1<this.len)&&M(),v(),s},e.prototype.hide=function(e){var t=this;r.clearTimeout(this.hideTimer),e=y(e,this.options.hideDelay),this.isHidden||(this.hideTimer=v((function(){t.getLabel().fadeOut(e?void 0:e),t.isHidden=!0}),e))},e.prototype.init=function(e,t){this.chart=e,this.options=t,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=t.split&&!e.inverted&&!e.polar,this.shared=t.shared||this.split,this.outside=y(t.outside,!(!e.scrollablePixelsX&&!e.scrollablePixelsY))},e.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},e.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},e.prototype.move=function(e,t,n,a){var i=this,o=i.now,s=!1!==i.options.animation&&!i.isHidden&&(1<Math.abs(e-o.x)||1<Math.abs(t-o.y)),l=i.followPointer||1<i.len;m(o,{x:s?(2*o.x+e)/3:e,y:s?(o.y+t)/2:t,anchorX:l?void 0:s?(2*o.anchorX+n)/3:n,anchorY:l?void 0:s?(o.anchorY+a)/2:a}),i.getLabel().attr(o),i.drawTracker(),s&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){i&&i.move(e,t,n,a)}),32))},e.prototype.refresh=function(e,t){var n=this.chart,a=this.options,i=M(e),o=i[0],s=[],l=a.formatter||this.defaultFormatter,c=this.shared,u=n.styledMode,d={};if(a.enabled){r.clearTimeout(this.hideTimer),this.allowShared=!(!h(e)&&e.series&&e.series.noSharedTooltip),this.followPointer=!this.split&&o.series.tooltipOptions.followPointer;var p=(e=this.getAnchor(e,t))[0],m=e[1];if(c&&this.allowShared?(n.pointer.applyInactiveState(i),i.forEach((function(e){e.setState("hover"),s.push(e.getLabelConfig())})),(d={x:o.category,y:o.y}).points=s):d=o.getLabelConfig(),this.len=s.length,l=l.call(d,this),c=o.series,this.distance=y(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,i);else{var f=p,g=m;if(t&&n.pointer.isDirectTouch&&(f=t.chartX-n.plotLeft,g=t.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!i.some((function(e){return e.series.shouldShowTooltip(f,g)})))return void this.hide();t=this.getLabel(),a.style.width&&!u||t.css({width:this.chart.spacingBox.width+"px"}),t.attr({text:l&&l.join?l.join(""):l}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(o.colorIndex,c.colorIndex)),u||t.attr({stroke:a.borderColor||o.color||c.color||"#666666"}),this.updatePosition({plotX:p,plotY:m,negative:o.negative,ttBelow:o.ttBelow,h:e[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}b(this,"refresh")}},e.prototype.renderSplit=function(e,t){function n(e,t,n,r,i){return void 0===i&&(i=!0),n?(t=q?0:L,e=c(e-r/2,x.left,x.right-r-(a.outside?E:0))):(t-=j,e=c(e=i?e-r-O:e+O,i?e:x.left,x.right)),{x:e,y:t}}var a=this,r=a.chart,i=a.chart,l=i.chartWidth,u=i.chartHeight,d=i.plotHeight,p=i.plotLeft,b=i.plotTop,h=i.pointer,f=i.scrollablePixelsY;f=void 0===f?0:f;var _=i.scrollablePixelsX,M=i.scrollingContainer,v=(M=void 0===M?{scrollLeft:0,scrollTop:0}:M).scrollLeft;M=M.scrollTop;var z=i.styledMode,O=a.distance,k=a.options,A=a.options.positioner,x=a.outside&&"number"!=typeof _?o.documentElement.getBoundingClientRect():{left:v,right:v+l,top:M,bottom:M+u},w=a.getLabel(),N=this.renderer||r.renderer,q=!(!r.xAxis[0]||!r.xAxis[0].opposite),E=(r=h.getChartPosition()).left;r=r.top;var j=b+M,W=0,L=d-f;g(e)&&(e=[!1,e]),e=e.slice(0,t.length+1).reduce((function(e,r,i){if(!1!==r&&""!==r){var o=(i=t[i-1]||{isHeader:!0,plotX:t[0].plotX,plotY:d,series:{}}).isHeader,s=o?a:i.series;r=r.toString();var l=s.tt,u=i.isHeader,m=i.series,h="highcharts-color-"+y(i.colorIndex,m.colorIndex,"none");if(l||(l={padding:k.padding,r:k.borderRadius},z||(l.fill=k.backgroundColor,l["stroke-width"]=k.borderWidth),l=N.label("",0,0,k[u?"headerShape":"shape"],void 0,void 0,k.useHTML).addClass((u?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+h).attr(l).add(w)),l.isActive=!0,l.attr({text:r}),z||l.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||i.color||m.color||"#333333"}),r=(u=(s=s.tt=l).getBBox()).width+s.strokeWidth(),o&&(W=u.height,L+=W,q&&(j-=W)),m=void 0===(m=i.plotX)?0:m,h=void 0===(h=i.plotY)?0:h,l=i.series,i.isHeader){m=p+m;var f=b+d/2}else{var g=l.xAxis,_=l.yAxis;m=g.pos+c(m,-O,g.len+O),l.shouldShowTooltip(0,_.pos-b+h,{ignoreX:!0})&&(f=_.pos+h)}m=c(m,x.left-O,x.right+O),"number"==typeof f?(u=u.height+1,h=A?A.call(a,r,u,i):n(m,f,o,r),e.push({align:A?0:void 0,anchorX:m,anchorY:f,boxWidth:r,point:i,rank:y(h.rank,o?1:0),size:u,target:h.y,tt:s,x:h.x})):s.isActive=!1}return e}),[]),!A&&e.some((function(e){var t=(a.outside?E:0)+e.anchorX;return t<x.left&&t+e.boxWidth<x.right||t<E-x.left+e.boxWidth&&x.right-t>t}))&&(e=e.map((function(e){var t=n(e.anchorX,e.anchorY,e.point.isHeader,e.boxWidth,!1);return m(e,{target:t.y,x:t.x})}))),a.cleanSplit(),s(e,L);var S=E,T=E;e.forEach((function(e){var t=e.x,n=e.boxWidth;(e=e.isHeader)||(a.outside&&E+t<S&&(S=E+t),!e&&a.outside&&S+n>T&&(T=E+t))})),e.forEach((function(e){var t=e.x,n=e.anchorX,r=e.pos,i=e.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:t,y:r+j,anchorX:n,anchorY:e.anchorY},a.outside&&t<n){var o=E-S;0<o&&(i||(r.x=t+o,r.anchorX=n+o),i&&(r.x=(T-S)/2,r.anchorX=n+o))}e.tt.attr(r)})),e=a.container,f=a.renderer,a.outside&&e&&f&&(i=w.getBBox(),f.setSize(i.width+i.x,i.height+i.y,!1),e.style.left=S+"px",e.style.top=r+"px")},e.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var e=this.chart,t=this.label,n=this.shared?e.hoverPoints:e.hoverPoint;if(t&&n){var a={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var r=t.getBBox();n[0]+=e.plotLeft-t.translateX,n[1]+=e.plotTop-t.translateY,a.x=Math.min(0,n[0]),a.y=Math.min(0,n[1]),a.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),a.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(a):(this.tracker=t.renderer.rect(a).addClass("highcharts-tracker").add(t),e.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},e.prototype.styledModeFormat=function(e){return e.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},e.prototype.tooltipFooterHeaderFormatter=function(e,t){var n=e.series,a=n.tooltipOptions,r=n.xAxis,o=r&&r.dateTime;r={isFooter:t,labelConfig:e};var s=a.xDateFormat,l=a[t?"footerFormat":"headerFormat"];return b(this,"headerFormatter",r,(function(t){o&&!s&&f(e.key)&&(s=o.getXDateFormat(e.key,a.dateTimeLabelFormats)),o&&s&&(e.point&&e.point.tooltipDateKeys||["key"]).forEach((function(e){l=l.replace("{point."+e+"}","{point."+e+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=i(l,{point:e,series:n},this.chart)})),r.text},e.prototype.update=function(e){this.destroy(),_(!0,this.chart.options.tooltip.userOptions,e),this.init(this.chart,_(!0,this.options,e))},e.prototype.updatePosition=function(e){var t=this.chart,n=this.options,a=t.pointer,r=this.getLabel();a=a.getChartPosition();var i=(n.positioner||this.getPosition).call(this,r.width,r.height,e),o=e.plotX+t.plotLeft;e=e.plotY+t.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(r.width+n,r.height+n,!1),1===a.scaleX&&1===a.scaleY||(u(this.container,{transform:"scale("+a.scaleX+", "+a.scaleY+")"}),o*=a.scaleX,e*=a.scaleY),o+=a.left-i.x,e+=a.top-i.y),this.move(Math.round(i.x),Math.round(i.y||0),o,e)},e}()})),t(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=t.animObject,o=n.defaultOptions,s=a.format,l=r.addEvent,c=r.defined,u=r.erase,d=r.extend,p=r.fireEvent,m=r.getNestedProperty,b=r.isArray,h=r.isFunction,f=r.isNumber,g=r.isObject,_=r.merge,y=r.objectEach,M=r.pick,v=r.syncTimeout,z=r.removeEvent,O=r.uniqueKey;return t=function(){function t(){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 t.prototype.animateBeforeDestroy=function(){var e=this,t={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach((function(n){e[n]=e[n].animate("dataLabel"===n?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:t)})),n.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(d({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},t.prototype.applyOptions=function(e,n){var a=this.series,r=a.options.pointValKey||a.pointValKey;return e=t.prototype.optionsToObject.call(this,e),d(this,e),this.options=this.options?d(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,r&&(this.y=t.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=M(this.isValid&&!this.isValid(),null===this.x||!f(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&a.xAxis&&a.xAxis.hasNames&&(this.x=a.xAxis.nameToX(this)),void 0===this.x&&a?this.x=void 0===n?a.autoIncrement():n:f(e.x)&&a.options.relativeXValue&&(this.x=a.autoIncrement(e.x)),this},t.prototype.destroy=function(){function e(){for(r in(t.graphic||t.dataLabel||t.dataLabels)&&(z(t),t.destroyElements()),t)t[r]=null}var t=this,n=t.series,a=n.chart;n=n.options.dataSorting;var r,o=a.hoverPoints,s=i(t.series.chart.renderer.globalAnimation);t.legendItem&&a.legend.destroyItem(t),o&&(t.setState(),u(o,t),o.length||(a.hoverPoints=null)),t===a.hoverPoint&&t.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),v(e,s.duration)):e(),a.pointCount--},t.prototype.destroyElements=function(e){var t=this;(e=t.getGraphicalProps(e)).singular.forEach((function(e){t[e]=t[e].destroy()})),e.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.destroy()})),delete t[e]}))},t.prototype.firePointEvent=function(e,t,n){var a=this,r=this.series.options;(r.point.events[e]||a.options&&a.options.events&&a.options.events[e])&&a.importEvents(),"click"===e&&r.allowPointSelect&&(n=function(e){a.select&&a.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),p(a,e,t,n)},t.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",""):"")},t.prototype.getGraphicalProps=function(e){var t,n=this,a=[],r={singular:[],plural:[]};for((e=e||{graphic:1,dataLabel:1}).graphic&&a.push("graphic","upperGraphic","shadowGroup"),e.dataLabel&&a.push("dataLabel","dataLabelUpper","connector"),t=a.length;t--;){var i=a[t];n[i]&&r.singular.push(i)}return["dataLabel","connector"].forEach((function(t){var a=t+"s";e[t]&&n[a]&&r.plural.push(a)})),r},t.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}},t.prototype.getNestedProperty=function(e){if(e)return 0===e.indexOf("custom.")?m(e,this.options):this[e]},t.prototype.getZone=function(){var e=this.series,t=e.zones;e=e.zoneAxis||"y";var n,a=0;for(n=t[a];this[e]>=n.value;)n=t[++a];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(e,t,n){return this.series=e,this.applyOptions(t,n),this.id=c(this.id)?this.id:O(),this.resolveColor(),e.chart.pointCount++,p(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var n=this.series,a=n.options.keys,r=a||n.pointArrayMap||["y"],i=r.length,o={},s=0,l=0;if(f(e)||null===e)o[r[0]]=e;else if(b(e))for(!a&&e.length>i&&("string"===(n=typeof e[0])?o.name=e[0]:"number"===n&&(o.x=e[0]),s++);l<i;)a&&void 0===e[s]||(0<r[l].indexOf(".")?t.prototype.setNestedProperty(o,e[s],r[l]):o[r[l]]=e[s]),s++,l++;else"object"==typeof e&&(o=e,e.dataLabels&&(n._hasPointLabels=!0),e.marker&&(n._hasPointMarkers=!0));return o},t.prototype.resolveColor=function(){var e=this.series,t=e.chart.styledMode,n=e.chart.options.chart.colorCount;if(delete this.nonZonedColor,e.options.colorByPoint){if(!t){var a=(n=e.options.colors||e.chart.options.colors)[e.colorCounter];n=n.length}t=e.colorCounter,e.colorCounter++,e.colorCounter===n&&(e.colorCounter=0)}else t||(a=e.color),t=e.colorIndex;this.colorIndex=M(this.options.colorIndex,t),this.color=M(this.options.color,a)},t.prototype.setNestedProperty=function(e,t,n){return n.split(".").reduce((function(e,n,a,r){return e[n]=r.length-1===a?t:g(e[n],!0)?e[n]:{},e[n]}),e),e},t.prototype.tooltipFormatter=function(e){var t=this.series,n=t.tooltipOptions,a=M(n.valueDecimals,""),r=n.valuePrefix||"",i=n.valueSuffix||"";return t.chart.styledMode&&(e=t.chart.tooltip.styledModeFormat(e)),(t.pointArrayMap||["y"]).forEach((function(t){t="{point."+t,(r||i)&&(e=e.replace(RegExp(t+"}","g"),r+t+"}"+i)),e=e.replace(RegExp(t+"}","g"),t+":,."+a+"f}")})),s(e,{point:this,series:this.series},t.chart)},t.prototype.update=function(e,t,n,a){function r(){o.applyOptions(e);var a=l&&o.hasDummyGraphic;a=null===o.y?!a:a,l&&a&&(o.graphic=l.destroy(),delete o.hasDummyGraphic),g(e,!0)&&(l&&l.element&&e&&e.marker&&void 0!==e.marker.symbol&&(o.graphic=l.destroy()),e&&e.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy()),o.connector&&(o.connector=o.connector.destroy())),i=o.index,s.updateParallelArrays(o,i),u.data[i]=g(u.data[i],!0)||g(e,!0)?o.options:M(e,u.data[i]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===u.legendType&&(c.isDirtyLegend=!0),t&&c.redraw(n)}var i,o=this,s=o.series,l=o.graphic,c=s.chart,u=s.options;t=M(t,!0),!1===a?r():o.firePointEvent("update",{options:e},r)},t.prototype.remove=function(e,t){this.series.removePoint(this.series.data.indexOf(this),e,t)},t.prototype.select=function(e,t){var n=this,a=n.series,r=a.chart;this.selectedStaging=e=M(e,!n.selected),n.firePointEvent(e?"select":"unselect",{accumulate:t},(function(){n.selected=n.options.selected=e,a.options.data[a.data.indexOf(n)]=n.options,n.setState(e&&"select"),t||r.getSelectedPoints().forEach((function(e){var t=e.series;e.selected&&e!==n&&(e.selected=e.options.selected=!1,t.options.data[t.data.indexOf(e)]=e.options,e.setState(r.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),e.firePointEvent("unselect"))}))})),delete this.selectedStaging},t.prototype.onMouseOver=function(e){var t=this.series.chart,n=t.pointer;e=e?n.normalize(e):n.getChartCoordinatesFromPoint(this,t.inverted),n.runPointActions(e,this)},t.prototype.onMouseOut=function(){var e=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(e.hoverPoints||[]).forEach((function(e){e.setState()})),e.hoverPoints=e.hoverPoint=null},t.prototype.importEvents=function(){if(!this.hasImportedEvents){var e=this,t=_(e.series.options.point,e.options).events;e.events=t,y(t,(function(t,n){h(t)&&l(e,n,t)})),this.hasImportedEvents=!0}},t.prototype.setState=function(t,n){var a,r=this.series,i=this.state,s=r.options.states[t||"normal"]||{},l=o.plotOptions[r.type].marker&&r.options.marker,c=l&&!1===l.enabled,u=l&&l.states&&l.states[t||"normal"]||{},m=!1===u.enabled,b=this.marker||{},h=r.chart,g=l&&r.markerAttribs,_=r.halo,y=r.stateMarkerGraphic;if(!((t=t||"")===this.state&&!n||this.selected&&"select"!==t||!1===s.enabled||t&&(m||c&&!1===u.enabled)||t&&b.states&&b.states[t]&&!1===b.states[t].enabled)){if(this.state=t,g&&(a=r.markerAttribs(this,t)),this.graphic&&!this.hasDummyGraphic){if(i&&this.graphic.removeClass("highcharts-point-"+i),t&&this.graphic.addClass("highcharts-point-"+t),!h.styledMode){var v=r.pointAttribs(this,t),z=M(h.options.chart.animation,s.animation);r.options.inactiveOtherPoints&&f(v.opacity)&&((this.dataLabels||[]).forEach((function(e){e&&e.animate({opacity:v.opacity},z)})),this.connector&&this.connector.animate({opacity:v.opacity},z)),this.graphic.animate(v,z)}a&&this.graphic.animate(a,M(h.options.chart.animation,u.animation,l.animation)),y&&y.hide()}else t&&u&&(i=b.symbol||r.symbol,y&&y.currentSymbol!==i&&(y=y.destroy()),a&&(y?y[n?"animate":"attr"]({x:a.x,y:a.y}):i&&(r.stateMarkerGraphic=y=h.renderer.symbol(i,a.x,a.y,a.width,a.height).add(r.markerGroup),y.currentSymbol=i)),!h.styledMode&&y&&"inactive"!==this.state&&y.attr(r.pointAttribs(this,t))),y&&(y[t&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,a=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==a&&!this.isCluster?(_||(r.halo=_=h.renderer.path().add(y.parentGroup)),_.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),_.attr({class:"highcharts-halo highcharts-color-"+M(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:a,zIndex:-1}),_.point=this,h.styledMode||_.attr(d({fill:this.color||r.color,"fill-opacity":s.opacity},e.filterUserAttributes(s.attributes||{})))):_&&_.point&&_.point.haloPath&&_.animate({d:_.point.haloPath(0)},null,_.hide),p(this,"afterSetState",{state:t})}},t.prototype.haloPath=function(e){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-e,this.plotY-e,2*e,2*e)},t}()})),t(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=e.parse,i=t.charts,o=t.noop,s=a.addEvent,l=a.attr,c=a.css,u=a.defined,d=a.extend,p=a.find,m=a.fireEvent,b=a.isNumber,h=a.isObject,f=a.objectEach,g=a.offset,_=a.pick,y=a.splat;return e=function(){function e(e,t){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=e,this.hasDragged=!1,this.options=t,this.init(e,t)}return e.prototype.applyInactiveState=function(e){var t,n=[];(e||[]).forEach((function(e){t=e.series,n.push(t),t.linkedParent&&n.push(t.linkedParent),t.linkedSeries&&(n=n.concat(t.linkedSeries)),t.navigatorSeries&&n.push(t.navigatorSeries)})),this.chart.series.forEach((function(e){-1===n.indexOf(e)?e.setState("inactive",!0):e.options.inactiveOtherPoints&&e.setAllPointsToState("inactive")}))},e.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(e){return e()})),this.eventsToUnbind=[],t.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),f(n,(function(e,t){n[t]=void 0}))},e.prototype.drag=function(e){var t=this.chart,n=t.options.chart,a=this.zoomHor,i=this.zoomVert,o=t.plotLeft,s=t.plotTop,l=t.plotWidth,c=t.plotHeight,u=this.mouseDownX||0,d=this.mouseDownY||0,p=h(n.panning)?n.panning&&n.panning.enabled:n.panning,m=n.panKey&&e[n.panKey+"Key"],b=e.chartX,f=e.chartY,g=this.selectionMarker;if((!g||!g.touch)&&(b<o?b=o:b>o+l&&(b=o+l),f<s?f=s:f>s+c&&(f=s+c),this.hasDragged=Math.sqrt(Math.pow(u-b,2)+Math.pow(d-f,2)),10<this.hasDragged)){var _=t.isInsidePlot(u-o,d-s,{visiblePlotOnly:!0});!t.hasCartesianSeries&&!t.mapView||!this.zoomX&&!this.zoomY||!_||m||g||(this.selectionMarker=g=t.renderer.rect(o,s,a?1:l,i?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),t.styledMode||g.attr({fill:n.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),g&&a&&(a=b-u,g.attr({width:Math.abs(a),x:(0<a?0:a)+u})),g&&i&&(a=f-d,g.attr({height:Math.abs(a),y:(0<a?0:a)+d})),_&&!g&&p&&t.pan(e,n.panning)}},e.prototype.dragStart=function(e){var t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=this.mouseDownX=e.chartX,t.mouseDownY=this.mouseDownY=e.chartY},e.prototype.drop=function(e){var t=this,n=this.chart,a=this.hasPinched;if(this.selectionMarker){var r=this.selectionMarker,i=r.attr?r.attr("x"):r.x,o=r.attr?r.attr("y"):r.y,s=r.attr?r.attr("width"):r.width,l=r.attr?r.attr("height"):r.height,p={originalEvent:e,xAxis:[],yAxis:[],x:i,y:o,width:s,height:l},h=!!n.mapView;(this.hasDragged||a)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&u(n.min)&&(a||t[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&b(i)&&b(o)){var r=n.horiz,c="touchend"===e.type?n.minPixelPadding:0,d=n.toValue((r?i:o)+c);r=n.toValue((r?i+s:o+l)-c),p[n.coll].push({axis:n,min:Math.min(d,r),max:Math.max(d,r)}),h=!0}})),h&&m(n,"selection",p,(function(e){n.zoom(d(e,a?{animation:!1}:null))}))),b(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),a&&this.scaleGroups()}n&&b(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},e.prototype.findNearestKDPoint=function(e,t,n){var a,r=this.chart,i=r.hoverPoint;return r=r.tooltip,i&&r&&r.isStickyOnContact()?i:(e.forEach((function(e){var r=!(e.noSharedTooltip&&t)&&0>e.options.findNearestPointBy.indexOf("y");if(e=e.searchPoint(n,r),(r=h(e,!0)&&e.series)&&!(r=!h(a,!0))){r=a.distX-e.distX;var i=a.dist-e.dist,o=(e.series.group&&e.series.group.zIndex)-(a.series.group&&a.series.group.zIndex);r=0<(0!==r&&t?r:0!==i?i:0!==o?o:a.series.index>e.series.index?-1:1)}r&&(a=e)})),a)},e.prototype.getChartCoordinatesFromPoint=function(e,t){var n=e.series,a=n.xAxis;n=n.yAxis;var r=e.shapeArgs;if(a&&n){var i=_(e.clientX,e.plotX),o=e.plotY||0;return e.isNode&&r&&b(r.x)&&b(r.y)&&(i=r.x,o=r.y),t?{chartX:n.len+n.pos-o,chartY:a.len+a.pos-i}:{chartX:i+a.pos,chartY:o+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},e.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var e=this.chart.container,t=g(e);this.chartPosition={left:t.left,top:t.top,scaleX:1,scaleY:1};var n=e.offsetWidth;return e=e.offsetHeight,2<n&&2<e&&(this.chartPosition.scaleX=t.width/n,this.chartPosition.scaleY=t.height/e),this.chartPosition},e.prototype.getCoordinates=function(e){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})})),t},e.prototype.getHoverData=function(e,t,n,a,r,i){var o=[];a=!(!a||!e);var s={chartX:i?i.chartX:void 0,chartY:i?i.chartY:void 0,shared:r};m(this,"beforeGetHoverData",s);var l=t&&!t.stickyTracking?[t]:n.filter((function(e){return s.filter?s.filter(e):e.visible&&!(!r&&e.directTouch)&&_(e.options.enableMouseTracking,!0)&&e.stickyTracking})),c=a||!i?e:this.findNearestKDPoint(l,r,i);return t=c&&c.series,c&&(r&&!t.noSharedTooltip?(l=n.filter((function(e){return s.filter?s.filter(e):e.visible&&!(!r&&e.directTouch)&&_(e.options.enableMouseTracking,!0)&&!e.noSharedTooltip}))).forEach((function(e){var t=p(e.points,(function(e){return e.x===c.x&&!e.isNull}));h(t)&&(e.chart.isBoosting&&(t=e.getPoint(t)),o.push(t))})):o.push(c)),m(this,"afterGetHoverData",s={hoverPoint:c}),{hoverPoint:s.hoverPoint,hoverSeries:t,hoverPoints:o}},e.prototype.getPointFromEvent=function(e){e=e.target;for(var t;e&&!t;)t=e.point,e=e.parentNode;return t},e.prototype.onTrackerMouseOut=function(e){e=e.relatedTarget||e.toElement;var t=this.chart.hoverSeries;this.isDirectTouch=!1,!t||!e||t.stickyTracking||this.inClass(e,"highcharts-tooltip")||this.inClass(e,"highcharts-series-"+t.index)&&this.inClass(e,"highcharts-tracker")||t.onMouseOut()},e.prototype.inClass=function(e,t){for(var n;e;){if(n=l(e,"class")){if(-1!==n.indexOf(t))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}e=e.parentNode}},e.prototype.init=function(e,t){this.options=t,this.chart=e,this.runChartClick=!(!t.chart.events||!t.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(e.tooltip=new n(e,t.tooltip),this.followTouchMove=_(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},e.prototype.normalize=function(e,t){var n=e.touches,a=n?n.length?n.item(0):_(n.changedTouches,e.changedTouches)[0]:e;return t||(t=this.getChartPosition()),n=a.pageX-t.left,a=a.pageY-t.top,n/=t.scaleX,a/=t.scaleY,d(e,{chartX:Math.round(n),chartY:Math.round(a)})},e.prototype.onContainerClick=function(e){var t=this.chart,n=t.hoverPoint;e=this.normalize(e);var a=t.plotLeft,r=t.plotTop;t.cancelClick||(n&&this.inClass(e.target,"highcharts-tracker")?(m(n.series,"click",d(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(d(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-a,e.chartY-r,{visiblePlotOnly:!0})&&m(t,"click",e)))},e.prototype.onContainerMouseDown=function(e){var n=1==(1&(e.buttons||e.button));e=this.normalize(e),t.isFirefox&&0!==e.button&&this.onContainerMouseMove(e),(void 0===e.button||n)&&(this.zoomOption(e),n&&e.preventDefault&&e.preventDefault(),this.dragStart(e))},e.prototype.onContainerMouseLeave=function(t){var n=i[_(e.hoverChartIndex,-1)],a=this.chart.tooltip;a&&a.shouldStickOnContact()&&this.inClass(t.relatedTarget,"highcharts-tooltip-container")||(t=this.normalize(t),n&&(t.relatedTarget||t.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),a&&!a.isHidden&&this.reset())},e.prototype.onContainerMouseEnter=function(e){delete this.chartPosition},e.prototype.onContainerMouseMove=function(e){var t=this.chart;e=this.normalize(e),this.setHoverChartIndex(),e.preventDefault||(e.returnValue=!1),("mousedown"===t.mouseIsDown||this.touchSelect(e))&&this.drag(e),t.openMenu||!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||(this.inClass(e.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(e))},e.prototype.onDocumentTouchEnd=function(t){var n=i[_(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.onContainerTouchMove=function(e){this.touchSelect(e)?this.onContainerMouseMove(e):this.touch(e)},e.prototype.onContainerTouchStart=function(e){this.touchSelect(e)?this.onContainerMouseDown(e):(this.zoomOption(e),this.touch(e,!0))},e.prototype.onDocumentMouseMove=function(e){var t=this.chart,n=this.chartPosition;e=this.normalize(e,n);var a=t.tooltip;!n||a&&a.isStickyOnContact()||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||this.inClass(e.target,"highcharts-tracker")||this.reset()},e.prototype.onDocumentMouseUp=function(t){var n=i[_(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.pinch=function(e){var t=this,n=t.chart,a=t.pinchDown,r=e.touches||[],i=r.length,s=t.lastValidTouch,l=t.hasZoom,c={},u=1===i&&(t.inClass(e.target,"highcharts-tracker")&&n.runTrackerClick||t.runChartClick),p={},b=t.selectionMarker;1<i?t.initiated=!0:1===i&&this.followTouchMove&&(t.initiated=!1),l&&t.initiated&&!u&&!1!==e.cancelable&&e.preventDefault(),[].map.call(r,(function(e){return t.normalize(e)})),"touchstart"===e.type?([].forEach.call(r,(function(e,t){a[t]={chartX:e.chartX,chartY:e.chartY}})),s.x=[a[0].chartX,a[1]&&a[1].chartX],s.y=[a[0].chartY,a[1]&&a[1].chartY],n.axes.forEach((function(e){if(e.zoomEnabled){var t=n.bounds[e.horiz?"h":"v"],a=e.minPixelPadding,r=e.toPixels(Math.min(_(e.options.min,e.dataMin),e.dataMin)),i=e.toPixels(Math.max(_(e.options.max,e.dataMax),e.dataMax)),o=Math.max(r,i);t.min=Math.min(e.pos,Math.min(r,i)-a),t.max=Math.max(e.pos+e.len,o+a)}})),t.res=!0):t.followTouchMove&&1===i?this.runPointActions(t.normalize(e)):a.length&&(m(n,"touchpan",{originalEvent:e},(function(){b||(t.selectionMarker=b=d({destroy:o,touch:!0},n.plotBox)),t.pinchTranslate(a,r,c,b,p,s),t.hasPinched=l,t.scaleGroups(c,p)})),t.res&&(t.res=!1,this.reset(!1,0)))},e.prototype.pinchTranslate=function(e,t,n,a,r,i){this.zoomHor&&this.pinchTranslateDirection(!0,e,t,n,a,r,i),this.zoomVert&&this.pinchTranslateDirection(!1,e,t,n,a,r,i)},e.prototype.pinchTranslateDirection=function(e,t,n,a,r,i,o,s){var l=this.chart,c=e?"x":"y",u=e?"X":"Y",d="chart"+u,p=e?"width":"height",m=l["plot"+(e?"Left":"Top")],b=l.inverted,h=l.bounds[e?"h":"v"],f=1===t.length,g=t[0][d],_=!f&&t[1][d];t=function(){"number"==typeof O&&20<Math.abs(g-_)&&(v=s||Math.abs(z-O)/Math.abs(g-_)),M=(m-z)/v+g,y=l["plot"+(e?"Width":"Height")]/v};var y,M,v=s||1,z=n[0][d],O=!f&&n[1][d];if(t(),(n=M)<h.min){n=h.min;var k=!0}else n+y>h.max&&(n=h.max-y,k=!0);k?(z-=.8*(z-o[c][0]),"number"==typeof O&&(O-=.8*(O-o[c][1])),t()):o[c]=[z,O],b||(i[c]=M-m,i[p]=y),i=b?1/v:v,r[p]=y,r[c]=n,a[b?e?"scaleY":"scaleX":"scale"+u]=v,a["translate"+u]=i*m+(z-i*g)},e.prototype.reset=function(e,t){var n=this.chart,a=n.hoverSeries,r=n.hoverPoint,i=n.hoverPoints,o=n.tooltip,s=o&&o.shared?i:r;e&&s&&y(s).forEach((function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)})),e?o&&s&&y(s).length&&(o.refresh(s),o.shared&&i?i.forEach((function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(e){e.crosshair&&r.series[e.coll]===e&&e.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),i&&i.forEach((function(e){e.setState()})),a&&a.onMouseOut(),o&&o.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(e){e.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},e.prototype.runPointActions=function(t,n){var a=this.chart,r=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,o=!!r&&r.shared,l=n||a.hoverPoint,c=l&&l.series||a.hoverSeries;l=(n=this.getHoverData(l,c,a.series,(!t||"touchmove"!==t.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),o,t)).hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;if(n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,o=o&&c&&!c.noSharedTooltip,l&&(l!==a.hoverPoint||r&&r.isHidden)){if((a.hoverPoints||[]).forEach((function(e){-1===u.indexOf(e)&&e.setState()})),a.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(e){e.setState("hover")})),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!l.series)return;a.hoverPoints=u,a.hoverPoint=l,l.firePointEvent("mouseOver"),r&&r.refresh(o?u:l,t)}else n&&r&&!r.isHidden&&(l=r.getAnchor([{}],t),a.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(a.container.ownerDocument,"mousemove",(function(t){var n=i[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),a.axes.forEach((function(e){var n,r=_((e.crosshair||{}).snap,!0);r&&((n=a.hoverPoint)&&n.series[e.coll]===e||(n=p(u,(function(t){return t.series[e.coll]===e})))),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()}))},e.prototype.scaleGroups=function(e,t){var n=this.chart;n.series.forEach((function(a){var r=e||a.getPlotBox();a.group&&(a.xAxis&&a.xAxis.zoomEnabled||n.mapView)&&(a.group.attr(r),a.markerGroup&&(a.markerGroup.attr(r),a.markerGroup.clip(t?n.clipRect:null)),a.dataLabelsGroup&&a.dataLabelsGroup.attr(r))})),n.clipRect.attr(t||n.clipBox)},e.prototype.setDOMEvents=function(){var n=this,a=this.chart.container,r=a.ownerDocument;a.onmousedown=this.onContainerMouseDown.bind(this),a.onmousemove=this.onContainerMouseMove.bind(this),a.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(a,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(a,"mouseleave",this.onContainerMouseLeave.bind(this))),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var i=this.chart.renderTo.parentElement;i&&"BODY"!==i.tagName;)this.eventsToUnbind.push(s(i,"scroll",(function(){delete n.chartPosition}))),i=i.parentElement;t.hasTouch&&(this.eventsToUnbind.push(s(a,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(a,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},e.prototype.setHoverChartIndex=function(){var n=this.chart,a=t.charts[_(e.hoverChartIndex,-1)];a&&a!==n&&a.pointer.onContainerMouseLeave({relatedTarget:!0}),a&&a.mouseIsDown||(e.hoverChartIndex=n.index)},e.prototype.touch=function(e,t){var n=this.chart;if(this.setHoverChartIndex(),1===e.touches.length)if(e=this.normalize(e),n.isInsidePlot(e.chartX-n.plotLeft,e.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(t&&this.runPointActions(e),"touchmove"===e.type)var a=!!(t=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(t[0].chartX-e.chartX,2)+Math.pow(t[0].chartY-e.chartY,2));_(a,!0)&&this.pinch(e)}else t&&this.reset();else 2===e.touches.length&&this.pinch(e)},e.prototype.touchSelect=function(e){return!(!this.chart.options.chart.zoomBySingleTouch||!e.touches||1!==e.touches.length)},e.prototype.zoomOption=function(e){var t=this.chart,n=t.options.chart;t=t.inverted;var a=n.zoomType||"";/touch/.test(e.type)&&(a=_(n.pinchType,a)),this.zoomX=e=/x/.test(a),this.zoomY=n=/y/.test(a),this.zoomHor=e&&!t||n&&t,this.zoomVert=n&&!t||e&&t,this.hasZoom=e||n},e}()})),t(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(e,t,n){function a(){var e=[];return e.item=function(e){return this[e]},p(b,(function(t){e.push({pageX:t.pageX,pageY:t.pageY,target:t.target})})),e}function r(e,n,r,i){var s=o[t.hoverChartIndex||NaN];"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,i(e),s[n]({type:r,target:e.currentTarget,preventDefault:l,touches:a()}))}var i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),o=e.charts,s=e.doc,l=e.noop,c=e.win,u=n.addEvent,d=n.css,p=n.objectEach,m=n.removeEvent,b={},h=!!c.PointerEvent;return function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.isRequired=function(){return!(e.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(e){e(this.chart.container,h?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,h?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(s,h?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(m),t.prototype.destroy.call(this)},n.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this.hasZoom&&d(e.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(e){r(e,"onContainerTouchStart","touchstart",(function(e){b[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}}))},n.prototype.onContainerPointerMove=function(e){r(e,"onContainerTouchMove","touchmove",(function(e){b[e.pointerId]={pageX:e.pageX,pageY:e.pageY},b[e.pointerId].target||(b[e.pointerId].target=e.currentTarget)}))},n.prototype.onDocumentPointerUp=function(e){r(e,"onDocumentTouchEnd","touchend",(function(e){delete b[e.pointerId]}))},n.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},n}(t)})),t(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i){var o=e.animObject,s=e.setAnimation,l=t.format;e=n.isFirefox;var c=n.marginNames;n=n.win;var u=r.distribute,d=i.addEvent,p=i.createElement,m=i.css,b=i.defined,h=i.discardElement,f=i.find,g=i.fireEvent,_=i.isNumber,y=i.merge,M=i.pick,v=i.relativeLength,z=i.stableSort,O=i.syncTimeout;return r=i.wrap,i=function(){function e(e,t){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=e,this.init(e,t)}return e.prototype.init=function(e,t){this.chart=e,this.setOptions(t),t.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())},e.prototype.setOptions=function(e){var t=M(e.padding,8);this.options=e,this.chart.styledMode||(this.itemStyle=e.itemStyle,this.itemHiddenStyle=y(this.itemStyle,e.itemHiddenStyle)),this.itemMarginTop=e.itemMarginTop||0,this.itemMarginBottom=e.itemMarginBottom||0,this.padding=t,this.initialItemY=t-5,this.symbolWidth=M(e.symbolWidth,16),this.pages=[],this.proximate="proximate"===e.layout&&!this.chart.inverted,this.baseline=void 0},e.prototype.update=function(e,t){var n=this.chart;this.setOptions(y(!0,this.options,e)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,M(t,!0)&&n.redraw(),g(this,"afterUpdate")},e.prototype.colorizeItem=function(e,t){if(e.legendGroup[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,a=e.legendItem,r=e.legendLine,i=e.legendSymbol,o=this.itemHiddenStyle.color;n=t?n.itemStyle.color:o;var s=t&&e.color||o,l=e.options&&e.options.marker,c={fill:s};a&&a.css({fill:n,color:n}),r&&r.attr({stroke:s}),i&&(l&&i.isMarker&&(c=e.pointAttribs(),t||(c.stroke=c.fill=o)),i.attr(c))}g(this,"afterColorizeItem",{item:e,visible:t})},e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},e.prototype.positionItem=function(e){var t=this,n=this.options,a=n.symbolPadding,r=!n.rtl,i=e._legendItemPos;n=i[0],i=i[1];var o=e.checkbox,s=e.legendGroup;s&&s.element&&(a={translateX:r?n:this.legendWidth-n-2*a-4,translateY:i},r=function(){g(t,"afterPositionItem",{item:e})},b(s.translateY)?s.animate(a,void 0,r):(s.attr(a),r())),o&&(o.x=n,o.y=i)},e.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),t&&h(e.checkbox)},e.prototype.destroy=function(){function e(e){this[e]&&(this[e]=this[e].destroy())}this.getAllItems().forEach((function(t){["legendItem","legendGroup"].forEach(e,t)})),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},e.prototype.positionCheckboxes=function(){var e=this.group&&this.group.alignAttr,t=this.clipHeight||this.legendHeight,n=this.titleHeight;if(e){var a=e.translateY;this.allItems.forEach((function(r){var i=r.checkbox;if(i){var o=a+n+i.y+(this.scrollOffset||0)+3;m(i,{left:e.translateX+r.checkboxOffset+i.x-20+"px",top:o+"px",display:this.proximate||o>a-6&&o<a+t-6?"":"none"})}}),this)}},e.prototype.renderTitle=function(){var e=this.options,t=this.padding,n=e.title,a=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,t-3,t-4,null,null,null,e.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),a=(e=this.title.getBBox()).height,this.offsetWidth=e.width,this.contentGroup.attr({translateY:a})),this.titleHeight=a},e.prototype.setText=function(e){var t=this.options;e.legendItem.attr({text:t.labelFormat?l(t.labelFormat,e,this.chart):t.labelFormatter.call(e)})},e.prototype.renderItem=function(e){var t=this.chart,n=t.renderer,a=this.options,r=this.symbolWidth,i=a.symbolPadding||0,o=this.itemStyle,s=this.itemHiddenStyle,l="horizontal"===a.layout?M(a.itemDistance,20):0,c=!a.rtl,u=!e.series,d=!u&&e.series.drawLegendSymbol?e.series:e,p=d.options,m=this.createCheckboxForItem&&p&&p.showCheckbox,b=a.useHTML,h=e.options.className,f=e.legendItem;p=r+i+l+(m?20:0),f||(e.legendGroup=n.g("legend-item").addClass("highcharts-"+d.type+"-series highcharts-color-"+e.colorIndex+(h?" "+h:"")+(u?" highcharts-series-"+e.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.legendItem=f=n.text("",c?r+i:-i,this.baseline||0,b),t.styledMode||f.css(y(e.visible?o:s)),f.attr({align:c?"left":"right",zIndex:2}).add(e.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(t.styledMode?12:o.fontSize,f),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,f.attr("y",this.baseline),this.symbolHeight=a.symbolHeight||this.fontMetrics.f,a.squareSymbol&&(this.symbolWidth=M(a.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+i+l+(m?20:0),c&&f.attr("x",this.symbolWidth+i))),d.drawLegendSymbol(this,e),this.setItemEvents&&this.setItemEvents(e,f,b)),m&&!e.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(e),this.colorizeItem(e,e.visible),!t.styledMode&&o.width||f.css({width:(a.itemWidth||this.widthOption||t.spacingBox.width)-p+"px"}),this.setText(e),t=f.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,e.itemWidth=e.checkboxOffset=a.itemWidth||e.legendItemWidth||t.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,e.itemWidth),this.totalItemWidth+=e.itemWidth,this.itemHeight=e.itemHeight=Math.round(e.legendItemHeight||(t.height>1.5*n?t.height:n))},e.prototype.layoutItem=function(e){var t=this.options,n=this.padding,a="horizontal"===t.layout,r=e.itemHeight,i=this.itemMarginBottom,o=this.itemMarginTop,s=a?M(t.itemDistance,20):0,l=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:e.itemWidth,a&&this.itemX-n+t>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+i),this.lastLineHeight=0),this.lastItemY=o+this.itemY+i,this.lastLineHeight=Math.max(r,this.lastLineHeight),e._legendItemPos=[this.itemX,this.itemY],a?this.itemX+=t:(this.itemY+=o+r+i,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((a?this.itemX-n-(e.checkbox?0:s):t)+n,this.offsetWidth)},e.prototype.getAllItems=function(){var e=[];return this.chart.series.forEach((function(t){var n=t&&t.options;t&&M(n.showInLegend,!b(n.linkedTo)&&void 0,!0)&&(e=e.concat(t.legendItems||("point"===n.legendType?t.data:t)))})),g(this,"afterGetAllItems",{allItems:e}),e},e.prototype.getAlignment=function(){var e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)},e.prototype.adjustMargins=function(e,t){var n=this.chart,a=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(i,o){i.test(r)&&!b(e[o])&&(n[c[o]]=Math.max(n[c[o]],n.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*a[o%2?"x":"y"]+M(a.margin,12)+t[o]+(n.titleOffset[o]||0)))}))},e.prototype.proximatePositions=function(){var e=this.chart,t=[],n="left"===this.options.align;this.allItems.forEach((function(a){var r,i=n;if(a.yAxis){a.xAxis.options.reversed&&(i=!i),a.points&&(r=f(i?a.points:a.points.slice(0).reverse(),(function(e){return _(e.plotY)}))),i=this.itemMarginTop+a.legendItem.getBBox().height+this.itemMarginBottom;var o=a.yAxis.top-e.plotTop;a.visible?(r=r?r.plotY:a.yAxis.height,r+=o-.3*i):r=o+a.yAxis.height,t.push({target:r,size:i,item:a})}}),this),u(t,e.plotHeight).forEach((function(t){t.item._legendItemPos&&(t.item._legendItemPos[1]=e.plotTop-e.spacing[0]+t.pos)}))},e.prototype.render=function(){var e=this.chart,t=e.renderer,n=this.options,a=this.padding,r=this.getAllItems(),i=this.group,o=this.box;this.itemX=a,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=v(n.width,e.spacingBox.width-a);var s=e.spacingBox.width-2*a-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=t.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=t.g().attr({zIndex:1}).add(i),this.scrollGroup=t.g().add(this.contentGroup)),this.renderTitle(),z(r,(function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)})),n.reversed&&r.reverse(),this.allItems=r,this.display=s=!!r.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,r.forEach(this.renderItem,this),r.forEach(this.layoutItem,this),r=(this.widthOption||this.offsetWidth)+a;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=a,o||(this.box=o=t.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(i),o.isNew=!0),e.styledMode||o.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<r&&0<l&&(o[o.isNew?"attr":"animate"](o.crisp.call({},{x:0,y:0,width:r,height:l},o.strokeWidth())),o.isNew=!1),o[s?"show":"hide"](),e.styledMode&&"none"===i.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),g(this,"afterRender")},e.prototype.align=function(e){void 0===e&&(e=this.chart.spacingBox);var t=this.chart,n=this.options,a=e.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<t.titleOffset[0]?a+=t.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<t.titleOffset[2]&&(a-=t.titleOffset[2]),a!==e.y&&(e=y(e,{y:a})),this.group.align(y(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,e)},e.prototype.handleOverflow=function(e){var t,n,a=this,r=this.chart,i=r.renderer,o=this.options,s=o.y,l="top"===o.verticalAlign,c=this.padding,u=o.maxHeight,d=o.navigation,p=M(d.animation,!0),m=d.arrowSize||12,b=this.pages,h=this.allItems,f=function(e){"number"==typeof e?y.attr({height:e}):y&&(a.clipRect=y.destroy(),a.contentGroup.clip()),a.contentGroup.div&&(a.contentGroup.div.style.clip=e?"rect("+c+"px,9999px,"+(c+e)+"px,0)":"auto")},g=function(e){return a[e]=i.circle(0,0,1.3*m).translate(m/2,m/2).add(_),r.styledMode||a[e].attr("fill","rgba(0,0,0,0.0001)"),a[e]};s=r.spacingBox.height+(l?-s:s)-c;var _=this.nav,y=this.clipRect;return"horizontal"!==o.layout||"middle"===o.verticalAlign||o.floating||(s/=2),u&&(s=Math.min(s,u)),b.length=0,e&&0<s&&e>s&&!1!==d.enabled?(this.clipHeight=t=Math.max(s-20-this.titleHeight-c,0),this.currentPage=M(this.currentPage,1),this.fullHeight=e,h.forEach((function(e,a){var r=e._legendItemPos[1],i=Math.round(e.legendItem.getBBox().height),o=b.length;(!o||r-b[o-1]>t&&(n||r)!==b[o-1])&&(b.push(n||r),o++),e.pageIx=o-1,n&&(h[a-1].pageIx=o-1),a===h.length-1&&r+i-b[o-1]>t&&i<=t&&(b.push(r),e.pageIx=o),r!==n&&(n=r)})),y||(y=a.clipRect=i.clipRect(0,c,9999,0),a.contentGroup.clip(y)),f(t),_||(this.nav=_=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,m,m).add(_),g("upTracker").on("click",(function(){a.scroll(-1,p)})),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation"),r.styledMode||this.pager.css(d.style),this.pager.add(_),this.down=i.symbol("triangle-down",0,0,m,m).add(_),g("downTracker").on("click",(function(){a.scroll(1,p)}))),a.scroll(0),e=s):_&&(f(),this.nav=_.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},e.prototype.scroll=function(e,t){var n=this,a=this.chart,r=this.pages,i=r.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,d=this.padding,p=this.currentPage+e;p>i&&(p=i),0<p&&(void 0!==t&&s(t,a),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(e){e.attr({class:1===p?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),u.attr({text:p+"/"+i}),[this.down,this.downTracker].forEach((function(e){e.attr({x:18+this.pager.getBBox().width,class:p===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),a.styledMode||(this.up.attr({fill:1===p?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===p?"default":"pointer"}),this.down.attr({fill:p===i?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:p===i?"default":"pointer"})),this.scrollOffset=-r[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),e=o(M(t,a.renderer.globalAnimation,!0)),O((function(){g(n,"afterScroll",{currentPage:p})}),e.duration))},e.prototype.setItemEvents=function(e,t,n){var r=this,i=r.chart.renderer.boxWrapper,o=e instanceof a,s="highcharts-legend-"+(o?"point":"series")+"-active",l=r.chart.styledMode,c=function(t){r.allItems.forEach((function(n){e!==n&&[n].concat(n.linkedSeries||[]).forEach((function(e){e.setState(t,!o)}))}))};(n?[t,e.legendSymbol]:[e.legendGroup]).forEach((function(n){n&&n.on("mouseover",(function(){e.visible&&c("inactive"),e.setState("hover"),e.visible&&i.addClass(s),l||t.css(r.options.itemHoverStyle)})).on("mouseout",(function(){r.chart.styledMode||t.css(y(e.visible?r.itemStyle:r.itemHiddenStyle)),c(""),i.removeClass(s),e.setState()})).on("click",(function(t){var n=function(){e.setVisible&&e.setVisible(),c(e.visible?"inactive":"")};i.removeClass(s),t={browserEvent:t},e.firePointEvent?e.firePointEvent("legendItemClick",t,n):g(e,"legendItemClick",t,n)}))}))},e.prototype.createCheckboxForItem=function(e){e.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),d(e.checkbox,"click",(function(t){g(e.series||e,"checkboxClick",{checked:t.target.checked,item:e},(function(){e.select()}))}))},e}(),(/Trident\/7\.0/.test(n.navigator&&n.navigator.userAgent)||e)&&r(i.prototype,"positionItem",(function(e,t){var n=this,a=function(){t._legendItemPos&&e.call(n,t)};a(),n.bubbleLegend||setTimeout(a)})),i})),t(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r,i=t.defaultOptions,o=a.error,s=a.extendClass,l=a.merge;return function(t){function a(e,a){var r=i.plotOptions||{},o=a.defaultOptions;a.prototype.pointClass||(a.prototype.pointClass=n),a.prototype.type=e,o&&(r[e]=o),t.seriesTypes[e]=a}t.seriesTypes=e.seriesTypes,t.getSeries=function(e,n){void 0===n&&(n={});var a=e.options.chart;a=n.type||a.type||a.defaultSeriesType||"";var r=t.seriesTypes[a];return t||o(17,!0,e,{missingModuleFor:a}),"function"==typeof(a=new r).init&&a.init(e,n),a},t.registerSeriesType=a,t.seriesType=function(e,r,o,c,u){var d=i.plotOptions||{};return r=r||"",d[e]=l(d[r],o),a(e,s(t.seriesTypes[r]||function(){},c)),t.seriesTypes[e].prototype.type=e,u&&(t.seriesTypes[e].prototype.pointClass=s(n,u)),t.seriesTypes[e]}}(r||(r={})),r})),t(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/DefaultOptions.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],(function(e,t,n,a,r,i,o,s,l,c,u,d,p,m,b){var h=e.animate,f=e.animObject,g=e.setAnimation,_=n.numberFormat,y=a.registerEventOptions,M=r.charts,v=r.doc,z=r.marginNames,O=r.svg,k=r.win,A=s.defaultOptions,x=s.defaultTime,w=u.seriesTypes,N=m.addEvent,q=m.attr,E=m.cleanRecursively,j=m.createElement,W=m.css,L=m.defined,S=m.discardElement,T=m.erase,C=m.error,R=m.extend,D=m.find,P=m.fireEvent,B=m.getStyle,I=m.isArray,$=m.isNumber,F=m.isObject,X=m.isString,Y=m.merge,H=m.objectEach,U=m.pick,V=m.pInt,G=m.relativeLength,K=m.removeEvent,J=m.splat,Z=m.syncTimeout,Q=m.uniqueKey;return e=function(){function e(e,t,n){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(e,t,n)}return e.chart=function(t,n,a){return new e(t,n,a)},e.prototype.getArgs=function(e,t,n){X(e)||e.nodeName?(this.renderTo=e,this.init(t,n)):this.init(e,t)},e.prototype.init=function(e,t){var n=e.plotOptions||{};P(this,"init",{args:arguments},(function(){var a=Y(A,e),i=a.chart;H(a.plotOptions,(function(e,t){F(e)&&(e.tooltip=n[t]&&Y(n[t].tooltip)||void 0)})),a.tooltip.userOptions=e.chart&&e.chart.forExport&&e.tooltip.userOptions||e.tooltip,this.userOptions=e,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=t,this.isResizing=0,this.options=a,this.axes=[],this.series=[],this.time=e.time&&Object.keys(e.time).length?new p(e.time):r.time,this.numberFormatter=i.numberFormatter||_,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=M.length,M.push(this),r.chartCount++,y(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,P(this,"afterInit"),this.firstRender()}))},e.prototype.initSeries=function(e){var t=this.options.chart;t=e.type||t.type||t.defaultSeriesType;var n=w[t];return n||C(17,!0,this,{missingModuleFor:t}),"function"==typeof(t=new n).init&&t.init(this,e),t},e.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(e){e.points||e.data||!e.enabledDataSorting||e.setData(e.options.data,!1)}))},e.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(e,t){return e.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-e.linkedSeries.length:0}))},e.prototype.orderSeries=function(e){var t=this.series;e=e||0;for(var n=t.length;e<n;++e)t[e]&&(t[e].index=e,t[e].name=t[e].getName())},e.prototype.isInsidePlot=function(e,t,n){void 0===n&&(n={});var a=this.inverted,r=this.plotBox,i=this.plotLeft,o=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var u=n.series;if(r=n.visiblePlotOnly&&s||r,e={x:s=n.inverted?t:e,y:t=n.inverted?e:t,isInsidePlot:!0},!n.ignoreX){var d=u&&(a?u.yAxis:u.xAxis)||{pos:i,len:1/0};(s=n.paneCoordinates?d.pos+s:i+s)>=Math.max(l+i,d.pos)&&s<=Math.min(l+i+r.width,d.pos+d.len)||(e.isInsidePlot=!1)}return!n.ignoreY&&e.isInsidePlot&&(a=u&&(a?u.xAxis:u.yAxis)||{pos:o,len:1/0},(n=n.paneCoordinates?a.pos+t:o+t)>=Math.max(c+o,a.pos)&&n<=Math.min(c+o+r.height,a.pos+a.len)||(e.isInsidePlot=!1)),P(this,"afterIsInsidePlot",e),e.isInsidePlot},e.prototype.redraw=function(e){P(this,"beforeRedraw");var t=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,a=this.pointer,r=this.legend,i=this.userOptions.legend,o=this.renderer,s=o.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),g(!!this.hasRendered&&e,this),s&&this.temporaryDisplay(),this.layOutTitles(),e=n.length;e--;){var d=n[e];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var m=!0;break}}}if(m)for(e=n.length;e--;)(d=n[e]).options.stacking&&(d.isDirty=!0);n.forEach((function(e){e.isDirty&&("point"===e.options.legendType?("function"==typeof e.updateTotals&&e.updateTotals(),u=!0):i&&(i.labelFormatter||i.labelFormat)&&(u=!0)),e.isDirtyData&&P(e,"updatedData")})),u&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),p&&this.getStacks(),t.forEach((function(e){e.updateNames(),e.setScale()})),this.getMargins(),t.forEach((function(e){e.isDirty&&(c=!0)})),t.forEach((function(e){var t=e.min+","+e.max;e.extKey!==t&&(e.extKey=t,l.push((function(){P(e,"afterSetExtremes",R(e.eventArgs,e.getExtremes())),delete e.eventArgs}))),(c||p)&&e.redraw()})),c&&this.drawChartBox(),P(this,"predraw"),n.forEach((function(e){(c||e.isDirty)&&e.visible&&e.redraw(),e.isDirtyData=!1})),a&&a.reset(!0),o.draw(),P(this,"redraw"),P(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(e){e.call()}))},e.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var n=this.series,a=D(this.axes,t)||D(this.series,t),r=0;!a&&r<n.length;r++)a=D(n[r].points||[],t);return a},e.prototype.getAxes=function(){var e=this,n=this.options,a=n.xAxis=J(n.xAxis||{});n=n.yAxis=J(n.yAxis||{}),P(this,"getAxes"),a.forEach((function(e,t){e.index=t,e.isX=!0})),n.forEach((function(e,t){e.index=t})),a.concat(n).forEach((function(n){new t(e,n)})),P(this,"afterGetAxes")},e.prototype.getSelectedPoints=function(){return this.series.reduce((function(e,t){return t.getPointsCollection().forEach((function(t){U(t.selectedStaging,t.selected)&&e.push(t)})),e}),[])},e.prototype.getSelectedSeries=function(){return this.series.filter((function(e){return e.selected}))},e.prototype.setTitle=function(e,t,n){this.applyDescription("title",e),this.applyDescription("subtitle",t),this.applyDescription("caption",void 0),this.layOutTitles(n)},e.prototype.applyDescription=function(e,t){var n=this,a="title"===e?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};a=this.options[e]=Y(!this.styledMode&&{style:a},this.options[e],t);var r=this[e];r&&t&&(this[e]=r=r.destroy()),a&&!r&&((r=this.renderer.text(a.text,0,0,a.useHTML).attr({align:a.align,class:"highcharts-"+e,zIndex:a.zIndex||4}).add()).update=function(t){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[e]](t)},this.styledMode||r.css(a.style),this[e]=r)},e.prototype.layOutTitles=function(e){var t=[0,0,0],n=this.renderer,a=this.spacingBox;["title","subtitle","caption"].forEach((function(e){var r,i=this[e],o=this.options[e],s=o.verticalAlign||"top";if(e="title"===e?"top"===s?-3:0:"top"===s?t[0]+2:0,i){this.styledMode||(r=o.style&&o.style.fontSize),r=n.fontMetrics(r,i).b,i.css({width:(o.width||a.width+(o.widthAdjust||0))+"px"});var l=Math.round(i.getBBox(o.useHTML).height);i.align(R({y:"bottom"===s?r:e+r,height:l},o),!1,"spacingBox"),o.floating||("top"===s?t[0]=Math.ceil(t[0]+l):"bottom"===s&&(t[2]=Math.ceil(t[2]+l)))}}),this),t[0]&&"top"===(this.options.title.verticalAlign||"top")&&(t[0]+=this.options.title.margin),t[2]&&"bottom"===this.options.caption.verticalAlign&&(t[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t,P(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&U(e,!0)&&this.isDirtyBox&&this.redraw())},e.prototype.getChartSize=function(){var e=this.options.chart,t=e.width;e=e.height;var n=this.renderTo;L(t)||(this.containerWidth=B(n,"width")),L(e)||(this.containerHeight=B(n,"height")),this.chartWidth=Math.max(0,t||this.containerWidth||600),this.chartHeight=Math.max(0,G(e,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},e.prototype.temporaryDisplay=function(e){var t=this.renderTo;if(e)for(;t&&t.style;)t.hcOrigStyle&&(W(t,t.hcOrigStyle),delete t.hcOrigStyle),t.hcOrigDetached&&(v.body.removeChild(t),t.hcOrigDetached=!1),t=t.parentNode;else for(;t&&t.style&&(v.body.contains(t)||t.parentNode||(t.hcOrigDetached=!0,v.body.appendChild(t)),("none"===B(t,"display",!1)||t.hcOricDetached)&&(t.hcOrigStyle={display:t.style.display,height:t.style.height,overflow:t.style.overflow},e={display:"block",overflow:"hidden"},t!==this.renderTo&&(e.height=0),W(t,e),t.offsetWidth||t.style.setProperty("display","block","important")),(t=t.parentNode)!==v.body););},e.prototype.setClassName=function(e){this.container.className="highcharts-container "+(e||"")},e.prototype.getContainer=function(){var e,t=this.options,n=t.chart,a=Q(),r=this.renderTo;r||(this.renderTo=r=n.renderTo),X(r)&&(this.renderTo=r=v.getElementById(r)),r||C(13,!0,this);var i=V(q(r,"data-highcharts-chart"));$(i)&&M[i]&&M[i].hasRendered&&M[i].destroy(),q(r,"data-highcharts-chart",this.index),r.innerHTML=b.emptyHTML,n.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),i=this.chartWidth;var o=this.chartHeight;if(W(r,{overflow:"hidden"}),this.styledMode||(e=R({position:"relative",overflow:"hidden",width:i+"px",height:o+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=a=j("div",{id:a},e,r),this._cursor=a.style.cursor,this.renderer=new(n.renderer||!O?c.getRendererType(n.renderer):d)(a,i,o,void 0,n.forExport,t.exporting&&t.exporting.allowHTML,this.styledMode),g(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in t.defs)this.renderer.definition(t.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,P(this,"afterGetContainer")},e.prototype.getMargins=function(e){var t=this.spacing,n=this.margin,a=this.titleOffset;this.resetMargins(),a[0]&&!L(n[0])&&(this.plotTop=Math.max(this.plotTop,a[0]+t[0])),a[2]&&!L(n[2])&&(this.marginBottom=Math.max(this.marginBottom,a[2]+t[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,t),P(this,"getMargins"),e||this.getAxisMargins()},e.prototype.getAxisMargins=function(){var e=this,t=e.axisOffset=[0,0,0,0],n=e.colorAxis,a=e.margin,r=function(e){e.forEach((function(e){e.visible&&e.getOffset()}))};e.hasCartesianSeries?r(e.axes):n&&n.length&&r(n),z.forEach((function(n,r){L(a[r])||(e[n]+=t[r])})),e.setChartSize()},e.prototype.reflow=function(e){var t=this,n=t.options.chart,a=t.renderTo,r=L(n.width)&&L(n.height),i=n.width||B(a,"width");n=n.height||B(a,"height"),a=e?e.target:k,delete t.pointer.chartPosition,r||t.isPrinting||!i||!n||a!==k&&a!==v||(i===t.containerWidth&&n===t.containerHeight||(m.clearTimeout(t.reflowTimeout),t.reflowTimeout=Z((function(){t.container&&t.setSize(void 0,void 0,!1)}),e?100:0)),t.containerWidth=i,t.containerHeight=n)},e.prototype.setReflow=function(e){var t=this;!1===e||this.unbindReflow?!1===e&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=N(k,"resize",(function(e){t.options&&t.reflow(e)})),N(this,"destroy",this.unbindReflow))},e.prototype.setSize=function(e,t,n){var a=this,r=a.renderer;a.isResizing+=1,g(n,a),n=r.globalAnimation,a.oldChartHeight=a.chartHeight,a.oldChartWidth=a.chartWidth,void 0!==e&&(a.options.chart.width=e),void 0!==t&&(a.options.chart.height=t),a.getChartSize(),a.styledMode||(n?h:W)(a.container,{width:a.chartWidth+"px",height:a.chartHeight+"px"},n),a.setChartSize(!0),r.setSize(a.chartWidth,a.chartHeight,n),a.axes.forEach((function(e){e.isDirty=!0,e.setScale()})),a.isDirtyLegend=!0,a.isDirtyBox=!0,a.layOutTitles(),a.getMargins(),a.redraw(n),a.oldChartHeight=null,P(a,"resize"),Z((function(){a&&P(a,"endResize",null,(function(){--a.isResizing}))}),f(n).duration)},e.prototype.setChartSize=function(e){var t,n,a,r,i=this.inverted,o=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,u=this.spacing,d=this.clipOffset;this.plotLeft=t=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=a=Math.max(0,Math.round(s-t-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=i?r:a,this.plotSizeY=i?a:r,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=o.spacingBox={x:u[3],y:u[0],width:s-u[3]-u[1],height:l-u[0]-u[2]},this.plotBox=o.plotBox={x:t,y:n,width:a,height:r},i=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(i,d[3])/2),l=Math.ceil(Math.max(i,d[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(i,d[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(i,d[2])/2-l))},e||(this.axes.forEach((function(e){e.setAxisSize(),e.setAxisTranslation()})),o.alignElements()),P(this,"afterSetChartSize",{skipAxes:e})},e.prototype.resetMargins=function(){P(this,"resetMargins");var e=this,t=e.options.chart;["margin","spacing"].forEach((function(n){var a=t[n],r=F(a)?a:[a,a,a,a];["Top","Right","Bottom","Left"].forEach((function(a,i){e[n][i]=U(t[n+a],r[i])}))})),z.forEach((function(t,n){e[t]=U(e.margin[n],e.spacing[n])})),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]},e.prototype.drawChartBox=function(){var e,t=this.options.chart,n=this.renderer,a=this.chartWidth,r=this.chartHeight,i=this.styledMode,o=this.plotBGImage,s=t.backgroundColor,l=t.plotBackgroundColor,c=t.plotBackgroundImage,u=this.plotLeft,d=this.plotTop,p=this.plotWidth,m=this.plotHeight,b=this.plotBox,h=this.clipRect,f=this.clipBox,g=this.chartBackground,_=this.plotBackground,y=this.plotBorder,M="animate";if(g||(this.chartBackground=g=n.rect().addClass("highcharts-background").add(),M="attr"),i)var v=e=g.strokeWidth();else e=(v=t.borderWidth||0)+(t.shadow?8:0),s={fill:s||"none"},(v||g["stroke-width"])&&(s.stroke=t.borderColor,s["stroke-width"]=v),g.attr(s).shadow(t.shadow);g[M]({x:e/2,y:e/2,width:a-e-v%2,height:r-e-v%2,r:t.borderRadius}),M="animate",_||(M="attr",this.plotBackground=_=n.rect().addClass("highcharts-plot-background").add()),_[M](b),i||(_.attr({fill:l||"none"}).shadow(t.plotShadow),c&&(o?(c!==o.attr("href")&&o.attr("href",c),o.animate(b)):this.plotBGImage=n.image(c,u,d,p,m).add())),h?h.animate({width:f.width,height:f.height}):this.clipRect=n.clipRect(f),M="animate",y||(M="attr",this.plotBorder=y=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),i||y.attr({stroke:t.plotBorderColor,"stroke-width":t.plotBorderWidth||0,fill:"none"}),y[M](y.crisp({x:u,y:d,width:p,height:m},-y.strokeWidth())),this.isDirtyBox=!1,P(this,"afterDrawChartBox")},e.prototype.propFromSeries=function(){var e,t,n,a=this,r=a.options.chart,i=a.options.series;["inverted","angular","polar"].forEach((function(o){for(t=w[r.type||r.defaultSeriesType],n=r[o]||t&&t.prototype[o],e=i&&i.length;!n&&e--;)(t=w[i[e].type])&&t.prototype[o]&&(n=!0);a[o]=n}))},e.prototype.linkSeries=function(){var e=this,t=e.series;t.forEach((function(e){e.linkedSeries.length=0})),t.forEach((function(t){var n=t.options.linkedTo;X(n)&&(n=":previous"===n?e.series[t.index-1]:e.get(n))&&n.linkedParent!==t&&(n.linkedSeries.push(t),t.linkedParent=n,n.enabledDataSorting&&t.setDataSortingOptions(),t.visible=U(t.options.visible,n.options.visible,t.visible))})),P(this,"afterLinkSeries")},e.prototype.renderSeries=function(){this.series.forEach((function(e){e.translate(),e.render()}))},e.prototype.renderLabels=function(){var e=this,t=e.options.labels;t.items&&t.items.forEach((function(n){var a=R(t.style,n.style),r=V(a.left)+e.plotLeft,i=V(a.top)+e.plotTop+12;delete a.left,delete a.top,e.renderer.text(n.html,r,i).attr({zIndex:2}).css(a).add()}))},e.prototype.render=function(){var e=this.axes,t=this.colorAxis,n=this.renderer,a=this.options,r=function(e){e.forEach((function(e){e.visible&&e.render()}))},o=0;this.setTitle(),this.legend=new i(this,a.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),a=this.plotWidth,e.some((function(e){if(e.horiz&&e.visible&&e.options.labels.enabled&&e.series.length)return o=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-o,0);e.forEach((function(e){e.setScale()})),this.getAxisMargins();var l=1.1<a/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(e.forEach((function(e){(e.horiz&&l||!e.horiz&&c)&&e.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(e):t&&t.length&&r(t),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},e.prototype.addCredits=function(e){var t=this,n=Y(!0,this.options.credits,e);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(k.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),t.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(e){t.credits=t.credits.destroy(),t.addCredits(e)})},e.prototype.destroy=function(){var e,t=this,n=t.axes,a=t.series,i=t.container,o=i&&i.parentNode;for(P(t,"destroy"),t.renderer.forExport?T(M,t):M[t.index]=void 0,r.chartCount--,t.renderTo.removeAttribute("data-highcharts-chart"),K(t),e=n.length;e--;)n[e]=n[e].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),e=a.length;e--;)a[e]=a[e].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(e){var n=t[e];n&&n.destroy&&(t[e]=n.destroy())})),i&&(i.innerHTML=b.emptyHTML,K(i),o&&S(i)),H(t,(function(e,n){delete t[n]}))},e.prototype.firstRender=function(){var e=this,t=e.options;e.isReadyToRender&&!e.isReadyToRender()||(e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),(I(t.series)?t.series:[]).forEach((function(t){e.initSeries(t)})),e.linkSeries(),e.setSeriesData(),P(e,"beforeRender"),l&&(o.isRequired()?e.pointer=new o(e,t):e.pointer=new l(e,t)),e.render(),e.pointer.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0))},e.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(e){e&&void 0!==this.index&&e.apply(this,[this])}),this),P(this,"load"),P(this,"render"),L(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},e.prototype.addSeries=function(e,t,n){var a,r=this;return e&&(t=U(t,!0),P(r,"addSeries",{options:e},(function(){a=r.initSeries(e),r.isDirtyLegend=!0,r.linkSeries(),a.enabledDataSorting&&a.setData(e.data,!1),P(r,"afterAddSeries",{series:a}),t&&r.redraw(n)}))),a},e.prototype.addAxis=function(e,t,n,a){return this.createAxis(t?"xAxis":"yAxis",{axis:e,redraw:n,animation:a})},e.prototype.addColorAxis=function(e,t,n){return this.createAxis("colorAxis",{axis:e,redraw:t,animation:n})},e.prototype.createAxis=function(e,n){return e=new t(this,Y(n.axis,{index:this[e].length,isX:"xAxis"===e})),U(n.redraw,!0)&&this.redraw(n.animation),e},e.prototype.showLoading=function(e){var t=this,n=t.options,a=n.loading,r=function(){i&&W(i,{left:t.plotLeft+"px",top:t.plotTop+"px",width:t.plotWidth+"px",height:t.plotHeight+"px"})},i=t.loadingDiv,o=t.loadingSpan;i||(t.loadingDiv=i=j("div",{className:"highcharts-loading highcharts-loading-hidden"},null,t.container)),o||(t.loadingSpan=o=j("span",{className:"highcharts-loading-inner"},null,i),N(t,"redraw",r)),i.className="highcharts-loading",b.setElementHTML(o,U(e,n.lang.loading,"")),t.styledMode||(W(i,R(a.style,{zIndex:10})),W(o,a.labelStyle),t.loadingShown||(W(i,{opacity:0,display:""}),h(i,{opacity:a.style.opacity||.5},{duration:a.showDuration||0}))),t.loadingShown=!0,r()},e.prototype.hideLoading=function(){var e=this.options,t=this.loadingDiv;t&&(t.className="highcharts-loading highcharts-loading-hidden",this.styledMode||h(t,{opacity:0},{duration:e.loading.hideDuration||100,complete:function(){W(t,{display:"none"})}})),this.loadingShown=!1},e.prototype.update=function(e,t,n,a){var r,i,o=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=e.isResponsiveOptions,c=[];P(o,"update",{options:e}),l||o.setResponsive(!1,!0),e=E(e,o.options),o.userOptions=Y(o.userOptions,e);var u=e.chart;if(u){if(Y(!0,o.options.chart,u),"className"in u&&o.setClassName(u.className),"reflow"in u&&o.setReflow(u.reflow),"inverted"in u||"polar"in u||"type"in u){o.propFromSeries();var d=!0}"alignTicks"in u&&(d=!0),"events"in u&&y(this,u),H(u,(function(e,t){-1!==o.propsRequireUpdateSeries.indexOf("chart."+t)&&(r=!0),-1!==o.propsRequireDirtyBox.indexOf(t)&&(o.isDirtyBox=!0),-1!==o.propsRequireReflow.indexOf(t)&&(l?o.isDirtyBox=!0:i=!0)})),!o.styledMode&&u.style&&o.renderer.setStyle(o.options.chart.style||{})}!o.styledMode&&e.colors&&(this.options.colors=e.colors),e.time&&(this.time===x&&(this.time=new p(e.time)),Y(!0,o.options.time,e.time)),H(e,(function(t,n){o[n]&&"function"==typeof o[n].update?o[n].update(t,!1):"function"==typeof o[s[n]]?o[s[n]](t):"colors"!==n&&-1===o.collectionsWithUpdate.indexOf(n)&&Y(!0,o.options[n],e[n]),"chart"!==n&&-1!==o.propsRequireUpdateSeries.indexOf(n)&&(r=!0)})),this.collectionsWithUpdate.forEach((function(t){if(e[t]){var a=[];o[t].forEach((function(e,t){e.options.isInternal||a.push(U(e.options.index,t))})),J(e[t]).forEach((function(e,r){var i,s=L(e.id);s&&(i=o.get(e.id)),!i&&o[t]&&(i=o[t][a?a[r]:r])&&s&&L(i.options.id)&&(i=void 0),i&&i.coll===t&&(i.update(e,!1),n&&(i.touched=!0)),!i&&n&&o.collectionsWithInit[t]&&(o.collectionsWithInit[t][0].apply(o,[e].concat(o.collectionsWithInit[t][1]||[]).concat([!1])).touched=!0)})),n&&o[t].forEach((function(e){e.touched||e.options.isInternal?delete e.touched:c.push(e)}))}})),c.forEach((function(e){e.chart&&e.remove&&e.remove(!1)})),d&&o.axes.forEach((function(e){e.update({},!1)})),r&&o.getSeriesOrderByLinks().forEach((function(e){e.chart&&e.update({},!1)}),this),d=u&&u.width,u=u&&(X(u.height)?G(u.height,d||o.chartWidth):u.height),i||$(d)&&d!==o.chartWidth||$(u)&&u!==o.chartHeight?o.setSize(d,u,a):U(t,!0)&&o.redraw(a),P(o,"afterUpdate",{options:e,redraw:t,animation:a})},e.prototype.setSubtitle=function(e,t){this.applyDescription("subtitle",e),this.layOutTitles(t)},e.prototype.setCaption=function(e,t){this.applyDescription("caption",e),this.layOutTitles(t)},e.prototype.showResetZoom=function(){function e(){t.zoomOut()}var t=this,n=A.lang,a=t.options.chart.resetZoomButton,r=a.theme,i=r.states,o="chart"===a.relativeTo||"spacingBox"===a.relativeTo?null:"scrollablePlotBox";P(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(n.resetZoom,null,null,e,r,i&&i.hover).attr({align:a.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(a.position,!1,o)})),P(this,"afterShowResetZoom")},e.prototype.zoomOut=function(){P(this,"selection",{resetSelection:!0},this.zoom)},e.prototype.zoom=function(e){var t,n=this,a=n.pointer,r=n.inverted?a.mouseDownX:a.mouseDownY,i=!1;!e||e.resetSelection?(n.axes.forEach((function(e){t=e.zoom()})),a.initiated=!1):e.xAxis.concat(e.yAxis).forEach((function(e){var o=e.axis,s=n.inverted?o.left:o.top,l=n.inverted?s+o.width:s+o.height,c=o.isXAxis,u=!1;(!c&&r>=s&&r<=l||c||!L(r))&&(u=!0),a[c?"zoomX":"zoomY"]&&u&&(t=o.zoom(e.min,e.max),o.displayBtn&&(i=!0))}));var o=n.resetZoomButton;i&&!o?n.showResetZoom():!i&&F(o)&&(n.resetZoomButton=o.destroy()),t&&n.redraw(U(n.options.chart.animation,e&&e.animation,100>n.pointCount))},e.prototype.pan=function(e,t){var n=this,a=n.hoverPoints;t="object"==typeof t?t:{enabled:t,type:"x"};var r=n.options.chart,i=n.options.mapNavigation&&n.options.mapNavigation.enabled;r&&r.panning&&(r.panning=t);var o,s=t.type;P(this,"pan",{originalEvent:e},(function(){a&&a.forEach((function(e){e.setState()}));var t=n.xAxis;"xy"===s?t=t.concat(n.yAxis):"y"===s&&(t=n.yAxis);var r={};t.forEach((function(t){if(t.options.panningEnabled&&!t.options.isInternal){var a=t.horiz,l=e[a?"chartX":"chartY"],c=n[a=a?"mouseDownX":"mouseDownY"],u=t.minPointOffset||0,d=t.reversed&&!n.inverted||!t.reversed&&n.inverted?-1:1,p=t.getExtremes(),m=t.toValue(c-l,!0)+u*d,b=t.toValue(c+t.len-l,!0)-(u*d||t.isXAxis&&t.pointRangePadding||0),h=b<m;d=t.hasVerticalPanning(),c=h?b:m,m=h?m:b;var f=t.panningState;!d||t.isXAxis||f&&!f.isDirty||t.series.forEach((function(e){var t=e.getProcessedData(!0);t=e.getExtremes(t.yData,!0),f||(f={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),$(t.dataMin)&&$(t.dataMax)&&(f.startMin=Math.min(U(e.options.threshold,1/0),t.dataMin,f.startMin),f.startMax=Math.max(U(e.options.threshold,-1/0),t.dataMax,f.startMax))})),d=Math.min(U(f&&f.startMin,p.dataMin),u?p.min:t.toValue(t.toPixels(p.min)-t.minPixelPadding)),b=Math.max(U(f&&f.startMax,p.dataMax),u?p.max:t.toValue(t.toPixels(p.max)+t.minPixelPadding)),t.panningState=f,t.isOrdinal||(0<(u=d-c)&&(m+=u,c=d),0<(u=m-b)&&(m=b,c-=u),t.series.length&&c!==p.min&&m!==p.max&&c>=d&&m<=b&&(t.setExtremes(c,m,!1,!1,{trigger:"pan"}),n.resetZoomButton||i||c===d||m===b||!s.match("y")||(n.showResetZoom(),t.displayBtn=!1),o=!0),r[a]=l)}})),H(r,(function(e,t){n[t]=e})),o&&n.redraw(!1),W(n.container,{cursor:"move"})}))},e}(),R(e.prototype,{callbacks:[],collectionsWithInit:{xAxis:[e.prototype.addAxis,[!0]],yAxis:[e.prototype.addAxis,[!1]],series:[e.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(" ")}),e})),t(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.merge,a=e.pick;return function(e){e.drawLineMarker=function(e){var t=this.options,r=e.symbolWidth,i=e.symbolHeight,o=i/2,s=this.chart.renderer,l=this.legendGroup;e=e.baseline-Math.round(.3*e.fontMetrics.b);var c={},u=t.marker;this.chart.styledMode||(c={"stroke-width":t.lineWidth||0},t.dashStyle&&(c.dashstyle=t.dashStyle)),this.legendLine=s.path([["M",0,e],["L",r,e]]).addClass("highcharts-graph").attr(c).add(l),u&&!1!==u.enabled&&r&&(t=Math.min(a(u.radius,o),o),0===this.symbol.indexOf("url")&&(u=n(u,{width:i,height:i}),t=0),this.legendSymbol=r=s.symbol(this.symbol,r/2-t,e-t,2*t,2*t,u).addClass("highcharts-point").add(l),r.isMarker=!0)},e.drawRectangle=function(e,t){var n=e.symbolHeight,r=e.options.squareSymbol;t.legendSymbol=this.chart.renderer.rect(r?(e.symbolWidth-n)/2:0,e.baseline-n+1,r?n:e.symbolWidth,n,a(e.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.legendGroup)}}(t||(t={})),t})),t(n,"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 e=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":e(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"}})),t(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l,c){var u=e.animObject,d=e.setAnimation,p=t.defaultOptions,m=n.registerEventOptions,b=a.hasTouch,h=a.svg,f=a.win,g=s.seriesTypes,_=c.addEvent,y=c.arrayMax,M=c.arrayMin,v=c.clamp,z=c.cleanRecursively,O=c.correctFloat,k=c.defined,A=c.erase,x=c.error,w=c.extend,N=c.find,q=c.fireEvent,E=c.getNestedProperty,j=c.isArray,W=c.isNumber,L=c.isString,S=c.merge,T=c.objectEach,C=c.pick,R=c.removeEvent,D=c.splat,P=c.syncTimeout;return e=function(){function e(){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 e.prototype.init=function(e,t){q(this,"init",{options:t});var n=this,a=e.series;this.eventsToUnbind=[],n.chart=e,n.options=n.setOptions(t),t=n.options,n.linkedSeries=[],n.bindAxes(),w(n,{name:t.name,state:"",visible:!1!==t.visible,selected:!0===t.selected}),m(this,t);var r,i=t.events;(i&&i.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(e.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(e){n[e+"Data"]||(n[e+"Data"]=[])})),n.isCartesian&&(e.hasCartesianSeries=!0),a.length&&(r=a[a.length-1]),n._i=C(r&&r._i,-1)+1,n.opacity=n.options.opacity,e.orderSeries(this.insert(a)),t.dataSorting&&t.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(t.data,!1),q(this,"afterInit")},e.prototype.is=function(e){return g[e]&&this instanceof g[e]},e.prototype.insert=function(e){var t,n=this.options.index;if(W(n)){for(t=e.length;t--;)if(n>=C(e[t].options.index,e[t]._i)){e.splice(t+1,0,this);break}-1===t&&e.unshift(this),t+=1}else e.push(this);return C(t,e.length-1)},e.prototype.bindAxes=function(){var e,t=this,n=t.options,a=t.chart;q(this,"bindAxes",null,(function(){(t.axisTypes||[]).forEach((function(r){var i=0;a[r].forEach((function(a){e=a.options,(n[r]===i&&!e.isInternal||void 0!==n[r]&&n[r]===e.id||void 0===n[r]&&0===e.index)&&(t.insert(a.series),t[r]=a,a.isDirty=!0),e.isInternal||i++})),t[r]||t.optionalAxis===r||x(18,!0,a)}))})),q(this,"afterBindAxes")},e.prototype.updateParallelArrays=function(e,t){var n=e.series,a=arguments,r=W(t)?function(a){var r="y"===a&&n.toYData?n.toYData(e):e[a];n[a+"Data"][t]=r}:function(e){Array.prototype[t].apply(n[e+"Data"],Array.prototype.slice.call(a,2))};n.parallelArrays.forEach(r)},e.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},e.prototype.autoIncrement=function(e){var t,n=this.options,a=n.pointIntervalUnit,r=n.relativeXValue,i=this.chart.time,o=this.xIncrement;return o=C(o,n.pointStart,0),this.pointInterval=t=C(this.pointInterval,n.pointInterval,1),r&&W(e)&&(t*=e),a&&(n=new i.Date(o),"day"===a?i.set("Date",n,i.get("Date",n)+t):"month"===a?i.set("Month",n,i.get("Month",n)+t):"year"===a&&i.set("FullYear",n,i.get("FullYear",n)+t),t=n.getTime()-o),r&&W(e)?o+t:(this.xIncrement=o+t,o)},e.prototype.setDataSortingOptions=function(){var e=this.options;w(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(e.pointRange)||(e.pointRange=1)},e.prototype.setOptions=function(e){var t=this.chart,n=t.options,a=n.plotOptions,r=t.userOptions||{};e=S(e),t=t.styledMode;var i={plotOptions:a,userOptions:e};q(this,"setOptions",i);var o=i.plotOptions[this.type],s=r.plotOptions||{};return this.userOptions=i.userOptions,r=S(o,a.series,r.plotOptions&&r.plotOptions[this.type],e),this.tooltipOptions=S(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,n.tooltip.userOptions,a.series&&a.series.tooltip,a[this.type].tooltip,e.tooltip),this.stickyTracking=C(e.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===o.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,a=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(n={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},t||(n.color=r.negativeColor,n.fillColor=r.negativeFillColor),a.push(n)),a.length&&k(a[a.length-1].value)&&a.push(t?{}:{color:this.color,fillColor:this.fillColor}),q(this,"afterSetOptions",{options:r}),r},e.prototype.getName=function(){return C(this.options.name,"Series "+(this.index+1))},e.prototype.getCyclic=function(e,t,n){var a=this.chart,r=this.userOptions,i=e+"Index",o=e+"Counter",s=n?n.length:C(a.options.chart[e+"Count"],a[e+"Count"]);if(!t){var l=C(r[i],r["_"+i]);k(l)||(a.series.length||(a[o]=0),r["_"+i]=l=a[o]%s,a[o]+=1),n&&(t=n[l])}void 0!==l&&(this[i]=l),this[e]=t},e.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)},e.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},e.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},e.prototype.findPointIndex=function(e,t){var n,a,r=e.id,o=e.x,s=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof i&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(t){return!t.touched&&t.index===e.index},l&&l.matchByName?n=function(t){return!t.touched&&t.name===e.name}:this.options.relativeXValue&&(n=function(t){return!t.touched&&t.options.x===e.x}),!(n=N(s,n))))return;if(n){var c=n&&n.index;void 0!==c&&(a=!0)}return void 0===c&&W(o)&&(c=this.xData.indexOf(o,t)),-1!==c&&void 0!==c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!a&&W(c)&&s[c]&&s[c].touched&&(c=void 0),c},e.prototype.updateData=function(e,t){var n,a,r,i=this.options,o=i.dataSorting,s=this.points,l=[],c=this.requireSorting,u=e.length===s.length,d=!0;if(this.xIncrement=null,e.forEach((function(e,t){var a=k(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{},d=a.x;a.id||W(d)?(-1===(a=this.findPointIndex(a,r))||void 0===a?l.push(e):s[a]&&e!==i.data[a]?(s[a].update(e,!1,null,!1),s[a].touched=!0,c&&(r=a+1)):s[a]&&(s[a].touched=!0),(!u||t!==a||o&&o.enabled||this.hasDerivedData)&&(n=!0)):l.push(e)}),this),n)for(e=s.length;e--;)(a=s[e])&&!a.touched&&a.remove&&a.remove(!1,t);else!u||o&&o.enabled?d=!1:(e.forEach((function(e,t){e!==s[t].y&&s[t].update&&s[t].update(e,!1,null,!1)})),l.length=0);return s.forEach((function(e){e&&(e.touched=!1)})),!!d&&(l.forEach((function(e){this.addPoint(e,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},e.prototype.setData=function(e,t,n,a){var r=this,i=r.points,o=i&&i.length||0,s=r.options,l=r.chart,c=s.dataSorting,u=r.xAxis,d=s.turboThreshold,p=this.xData,m=this.yData,b=r.pointArrayMap;b=b&&b.length;var h,f=s.keys,g=0,_=1,y=null,M=(e=e||[]).length;if(t=C(t,!0),c&&c.enabled&&(e=this.sortData(e)),!1!==a&&M&&o&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(h=this.updateData(e,n)),!h){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(e){r[e+"Data"].length=0})),d&&M>d)if(y=r.getFirstValidPoint(e),W(y))for(n=0;n<M;n++)p[n]=this.autoIncrement(),m[n]=e[n];else if(j(y))if(b)if(y.length===b)for(n=0;n<M;n++)p[n]=this.autoIncrement(),m[n]=e[n];else for(n=0;n<M;n++)a=e[n],p[n]=a[0],m[n]=a.slice(1,b+1);else if(f&&(g=0<=(g=f.indexOf("x"))?g:0,_=0<=(_=f.indexOf("y"))?_:1),1===y.length&&(_=0),g===_)for(n=0;n<M;n++)p[n]=this.autoIncrement(),m[n]=e[n][_];else for(n=0;n<M;n++)a=e[n],p[n]=a[g],m[n]=a[_];else x(12,!1,l);else for(n=0;n<M;n++)void 0!==e[n]&&(a={series:r},r.pointClass.prototype.applyOptions.apply(a,[e[n]]),r.updateParallelArrays(a,n));for(m&&L(m[0])&&x(14,!0,l),r.data=[],r.options.data=r.userOptions.data=e,n=o;n--;)i[n]&&i[n].destroy&&i[n].destroy();u&&(u.minRange=u.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!i,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),t&&l.redraw(n)},e.prototype.sortData=function(e){var t=this,n=t.options.dataSorting.sortKey||"y",a=function(e,t){return k(t)&&e.pointClass.prototype.optionsToObject.call({series:e},t)||{}};return e.forEach((function(n,r){e[r]=a(t,n),e[r].index=r}),this),e.concat().sort((function(e,t){return e=E(n,e),(t=E(n,t))<e?-1:t>e?1:0})).forEach((function(e,t){e.x=t}),this),t.linkedSeries&&t.linkedSeries.forEach((function(t){var n=t.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,i){r[i]=a(t,n),e[i]&&(r[i].x=e[i].x,r[i].index=i)})),t.setData(r,!1))})),e},e.prototype.getProcessedData=function(e){var t=this.xAxis,n=this.options,a=n.cropThreshold,r=e||this.getExtremesFromAll||n.getExtremesFromAll,i=this.isCartesian;e=t&&t.val2lin,n=!(!t||!t.logarithmic);var o=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,d=s.length;if(t){var p=(u=t.getExtremes()).min,m=u.max;u=t.categories&&!t.names.length}if(i&&this.sorted&&!r&&(!a||d>a||this.forceCrop))if(s[d-1]<p||s[0]>m)s=[],l=[];else if(this.yData&&(s[0]<p||s[d-1]>m)){var b=this.cropData(this.xData,this.yData,p,m);s=b.xData,l=b.yData,o=b.start,b=!0}for(a=s.length||1;--a;)if(0<(t=n?e(s[a])-e(s[a-1]):s[a]-s[a-1])&&(void 0===h||t<h))var h=t;else 0>t&&c&&!u&&(x(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:b,cropStart:o,closestPointRange:h}},e.prototype.processData=function(e){var t=this.xAxis;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!e)return!1;e=this.getProcessedData(),this.cropped=e.cropped,this.cropStart=e.cropStart,this.processedXData=e.xData,this.processedYData=e.yData,this.closestPointRange=this.basePointRange=e.closestPointRange,q(this,"afterProcessData")},e.prototype.cropData=function(e,t,n,a,r){var i,o=e.length,s=0,l=o;for(r=C(r,this.cropShoulder),i=0;i<o;i++)if(e[i]>=n){s=Math.max(0,i-r);break}for(n=i;n<o;n++)if(e[n]>a){l=n+r;break}return{xData:e.slice(s,l),yData:t.slice(s,l),start:s,end:l}},e.prototype.generatePoints=function(){var e=this.options,t=e.data,n=this.processedXData,a=this.processedYData,r=this.pointClass,i=n.length,o=this.cropStart||0,s=this.hasGroupedData,l=e.keys,c=[];e=e.dataGrouping&&e.dataGrouping.groupAll?o:0;var u,d,p=this.data;if(!p&&!s){var m=[];m.length=t.length,p=this.data=m}for(l&&s&&(this.options.keys=!1),d=0;d<i;d++){if(m=o+d,s){var b=(new r).init(this,[n[d]].concat(D(a[d])));b.dataGroup=this.groupMap[e+d],b.dataGroup.options&&(b.options=b.dataGroup.options,w(b,b.dataGroup.options),delete b.dataLabels)}else(b=p[m])||void 0===t[m]||(p[m]=b=(new r).init(this,t[m],n[d]));b&&(b.index=s?e+d:m,c[d]=b)}if(this.options.keys=l,p&&(i!==(u=p.length)||s))for(d=0;d<u;d++)d!==o||s||(d+=i),p[d]&&(p[d].destroyElements(),p[d].plotX=void 0);this.data=p,this.points=c,q(this,"afterGeneratePoints")},e.prototype.getXExtremes=function(e){return{min:M(e),max:y(e)}},e.prototype.getExtremes=function(e,t){var n=this.xAxis,a=this.yAxis,r=this.processedXData||this.xData,i=[],o=this.requireSorting?this.cropShoulder:0;a=!!a&&a.positiveValuesOnly;var s,l=0,c=0,u=0,d=(e=e||this.stackedYData||this.processedYData||[]).length;if(n){var p=n.getExtremes();l=p.min,c=p.max}for(s=0;s<d;s++){var m=r[s];p=e[s];var b=(W(p)||j(p))&&(p.length||0<p||!a);if(m=t||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[s+o]||m)>=l&&(r[s-o]||m)<=c,b&&m)if(b=p.length)for(;b--;)W(p[b])&&(i[u++]=p[b]);else i[u++]=p}return e={activeYData:i,dataMin:M(i),dataMax:y(i)},q(this,"afterGetExtremes",{dataExtremes:e}),e},e.prototype.applyExtremes=function(){var e=this.getExtremes();return this.dataMin=e.dataMin,this.dataMax=e.dataMax,e},e.prototype.getFirstValidPoint=function(e){for(var t=e.length,n=0,a=null;null===a&&n<t;)a=e[n],n++;return a},e.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var e,t,n=this.options,a=n.stacking,r=this.xAxis,i=r.categories,o=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,u=this.pointPlacementToXValue(),d=!!u,p=n.threshold,m=n.startFromThreshold?p:0,b=this.zoneAxis||"y",h=Number.MAX_VALUE;for(e=0;e<c;e++){var f=l[e],g=f.x,_=void 0,y=void 0,M=f.y,z=f.low,A=a&&s.stacking&&s.stacking.stacks[(this.negStacks&&M<(m?0:p)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(M)||r.positiveValuesOnly&&!r.validatePositiveValue(g))&&(f.isNull=!0),f.plotX=t=O(v(r.translate(g,0,0,0,1,u,"flags"===this.type),-1e5,1e5)),a&&this.visible&&A&&A[g]){var x=this.getStackIndicator(x,g,this.index);f.isNull||(y=(_=A[g]).points[x.key])}if(j(y)&&(z=y[0],M=y[1],z===m&&x.key===A[g].base&&(z=C(W(p)&&p,s.min)),s.positiveValuesOnly&&0>=z&&(z=null),f.total=f.stackTotal=_.total,f.percentage=_.total&&f.y/_.total*100,f.stackY=M,this.irregularWidths||_.setOffset(this.pointXOffset||0,this.barW||0)),f.yBottom=k(z)?v(s.translate(z,0,1,0,1),-1e5,1e5):null,this.dataModify&&(M=this.dataModify.modifyValue(M,e)),f.plotY=void 0,W(M)&&(void 0!==(_=s.translate(M,!1,!0,!1,!0))&&(f.plotY=v(_,-1e5,1e5))),f.isInside=this.isPointInside(f),f.clientX=d?O(r.translate(g,0,0,0,1,u)):t,f.negative=f[b]<(n[b+"Threshold"]||p||0),f.category=i&&void 0!==i[f.x]?i[f.x]:f.x,!f.isNull&&!1!==f.visible){void 0!==w&&(h=Math.min(h,Math.abs(t-w)));var w=t}f.zone=this.zones.length?f.getZone():void 0,!f.graphic&&this.group&&o&&(f.isNew=!0)}this.closestPointRangePx=h,q(this,"afterTranslate")},e.prototype.getValidPoints=function(e,t,n){var a=this.chart;return(e||this.points||[]).filter((function(e){return!(t&&!a.isInsidePlot(e.plotX,e.plotY,{inverted:a.inverted}))&&(!1!==e.visible&&(n||!e.isNull))}))},e.prototype.getClipBox=function(){var e=this.chart,t=this.xAxis,n=this.yAxis,a=S(e.clipBox);return t&&t.len!==e.plotSizeX&&(a.width=t.len),n&&n.len!==e.plotSizeY&&(a.height=n.len),a},e.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},e.prototype.setClip=function(){var e=this.chart,t=this.group,n=this.markerGroup,a=e.sharedClips;e=e.renderer;var r=this.getClipBox(),i=this.getSharedClipKey(),o=a[i];o?o.animate(r):a[i]=o=e.clipRect(r),t&&t.clip(!1===this.options.clip?void 0:o),n&&n.clip()},e.prototype.animate=function(e){var t=this.chart,n=this.group,a=this.markerGroup,r=t.inverted,i=u(this.options.animation),o=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(),s=t.sharedClips[o],l=t.sharedClips[o+"m"];if(e&&n)i=this.getClipBox(),s?s.attr("height",i.height):(i.width=0,r&&(i.x=t.plotHeight),s=t.renderer.clipRect(i),t.sharedClips[o]=s,l=t.renderer.clipRect({x:r?(t.plotSizeX||0)+99:-99,y:r?-t.plotLeft:-t.plotTop,width:99,height:r?t.chartWidth:t.chartHeight}),t.sharedClips[o+"m"]=l),n.clip(s),a&&a.clip(l);else if(s&&!s.hasClass("highcharts-animating")){t=this.getClipBox();var c=i.step;a&&a.element.childNodes.length&&(i.step=function(e,t){c&&c.apply(t,arguments),l&&l.element&&l.attr(t.prop,"width"===t.prop?e+99:e)}),s.addClass("highcharts-animating").animate(t,i)}},e.prototype.afterAnimate=function(){var e=this;this.setClip(),T(this.chart.sharedClips,(function(t,n,a){t&&!e.chart.container.querySelector('[clip-path="url(#'+t.id+')"]')&&(t.destroy(),delete a[n])})),this.finishedAnimating=!0,q(this,"afterAnimate")},e.prototype.drawPoints=function(){var e,t,n=this.points,a=this.chart,r=this.options.marker,i=this[this.specialGroup]||this.markerGroup,o=this.xAxis,s=C(r.enabled,!(o&&!o.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(e=0;e<n.length;e++){var l=n[e],c=(t=l.graphic)?"animate":"attr",u=l.marker||{},d=!!l.marker;if((s&&void 0===u.enabled||u.enabled)&&!l.isNull&&!1!==l.visible){var p=C(u.symbol,this.symbol,"rect"),m=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=o.reversed?-(m.width||0):o.width);var b=!1!==l.isInside;t?t[b?"show":"hide"](b).animate(m):b&&(0<(m.width||0)||l.hasImage)&&(l.graphic=t=a.renderer.symbol(p,m.x,m.y,m.width,m.height,d?u:r).add(i),this.enabledDataSorting&&a.hasRendered&&(t.attr({x:l.startXPos}),c="animate")),t&&"animate"===c&&t[b?"show":"hide"](b).animate(m),t&&!a.styledMode&&t[c](this.pointAttribs(l,l.selected&&"select")),t&&t.addClass(l.getClassName(),!0)}else t&&(l.graphic=t.destroy())}},e.prototype.markerAttribs=function(e,t){var n=this.options,a=n.marker,r=e.marker||{},i=r.symbol||a.symbol,o=C(r.radius,a.radius);return t&&(a=a.states[t],t=r.states&&r.states[t],o=C(t&&t.radius,a&&a.radius,o+(a&&a.radiusPlus||0))),e.hasImage=i&&0===i.indexOf("url"),e.hasImage&&(o=0),e={x:n.crisp?Math.floor(e.plotX-o):e.plotX-o,y:e.plotY-o},o&&(e.width=e.height=2*o),e},e.prototype.pointAttribs=function(e,t){var n=this.options.marker,a=e&&e.options,r=a&&a.marker||{},i=a&&a.color,o=e&&e.color,s=e&&e.zone&&e.zone.color,l=this.color;return e=C(r.lineWidth,n.lineWidth),a=1,l=i||s||o||l,i=r.fillColor||n.fillColor||l,o=r.lineColor||n.lineColor||l,t=t||"normal",n=n.states[t]||{},t=r.states&&r.states[t]||{},e=C(t.lineWidth,n.lineWidth,e+C(t.lineWidthPlus,n.lineWidthPlus,0)),i=t.fillColor||n.fillColor||i,{stroke:o=t.lineColor||n.lineColor||o,"stroke-width":e,fill:i,opacity:a=C(t.opacity,n.opacity,a)}},e.prototype.destroy=function(e){var t,n,a,r=this,i=r.chart,o=/AppleWebKit\/533/.test(f.navigator.userAgent),s=r.data||[];for(q(r,"destroy"),this.removeEvents(e),(r.axisTypes||[]).forEach((function(e){(a=r[e])&&a.series&&(A(a.series,r),a.isDirty=a.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),t=s.length;t--;)(n=s[t])&&n.destroy&&n.destroy();r.clips&&r.clips.forEach((function(e){return e.destroy()})),c.clearTimeout(r.animationTimeout),T(r,(function(e,t){e instanceof l&&!e.survive&&e[o&&"group"===t?"hide":"destroy"]()})),i.hoverSeries===r&&(i.hoverSeries=void 0),A(i.series,r),i.orderSeries(),T(r,(function(t,n){e&&"hcEvents"===n||delete r[n]}))},e.prototype.applyZones=function(){var e,t,n,a,r,i,o,s,l=this,c=this.chart,u=c.renderer,d=this.zones,p=this.clips||[],m=this.graph,b=this.area,h=Math.max(c.chartWidth,c.chartHeight),f=this[(this.zoneAxis||"y")+"Axis"],g=c.inverted,_=!1;if(d.length&&(m||b)&&f&&void 0!==f.min){var y=f.reversed,M=f.horiz;m&&!this.showLine&&m.hide(),b&&b.hide();var z=f.getExtremes();d.forEach((function(d,O){e=y?M?c.plotWidth:0:M?0:f.toPixels(z.min)||0,e=v(C(t,e),0,h),t=v(Math.round(f.toPixels(C(d.value,z.max),!0)||0),0,h),_&&(e=t=f.toPixels(z.max)),a=Math.abs(e-t),r=Math.min(e,t),i=Math.max(e,t),f.isXAxis?(n={x:g?i:r,y:0,width:a,height:h},M||(n.x=c.plotHeight-n.x)):(n={x:0,y:g?i:r,width:h,height:a},M&&(n.y=c.plotWidth-n.y)),g&&u.isVML&&(n=f.isXAxis?{x:0,y:y?r:i,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),p[O]?p[O].animate(n):p[O]=u.clipRect(n),o=l["zone-area-"+O],s=l["zone-graph-"+O],m&&s&&s.clip(p[O]),b&&o&&o.clip(p[O]),_=d.value>z.max,l.resetZones&&0===t&&(t=void 0)})),this.clips=p}else l.visible&&(m&&m.show(!0),b&&b.show(!0))},e.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach((function(t){n[t]&&(a.renderer.isVML&&n[t].attr({width:n.yAxis.len,height:n.xAxis.len}),n[t].width=n.yAxis.len,n[t].height=n.xAxis.len,n[t].invert(!n.isRadialSeries&&e))}))}var n=this,a=n.chart;n.xAxis&&(n.eventsToUnbind.push(_(a,"resize",t)),t(),n.invertGroups=t)},e.prototype.plotGroup=function(e,t,n,a,r){var i=this[e],o=!i;return n={visibility:n,zIndex:a||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),o&&(this[e]=i=this.chart.renderer.g().add(r)),i.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(i.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),i.attr(n)[o?"attr":"animate"](this.getPlotBox()),i},e.prototype.getPlotBox=function(){var e=this.chart,t=this.xAxis,n=this.yAxis;return e.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:n?n.top:e.plotTop,scaleX:1,scaleY:1}},e.prototype.removeEvents=function(e){e||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(e){e()})),this.eventsToUnbind.length=0)},e.prototype.render=function(){var e=this,t=e.chart,n=e.options,a=u(n.animation),r=e.visible?"inherit":"hidden",i=n.zIndex,o=e.hasRendered,s=t.seriesGroup,l=t.inverted;t=!e.finishedAnimating&&t.renderer.isSVG?a.duration:0,q(this,"render");var c=e.plotGroup("group","series",r,i,s);e.markerGroup=e.plotGroup("markerGroup","markers",r,i,s),!1!==n.clip&&e.setClip(),e.animate&&t&&e.animate(!0),c.inverted=!!C(e.invertible,e.isCartesian)&&l,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels&&e.drawDataLabels(),e.redrawPoints&&e.redrawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(l),e.animate&&t&&e.animate(),o||(t&&a.defer&&(t+=a.defer),e.animationTimeout=P((function(){e.afterAnimate()}),t||0)),e.isDirty=!1,e.hasRendered=!0,q(e,"afterRender")},e.prototype.redraw=function(){var e=this.chart,t=this.isDirty||this.isDirtyData,n=this.group,a=this.xAxis,r=this.yAxis;n&&(e.inverted&&n.attr({width:e.plotWidth,height:e.plotHeight}),n.animate({translateX:C(a&&a.left,e.plotLeft),translateY:C(r&&r.top,e.plotTop)})),this.translate(),this.render(),t&&delete this.kdTree},e.prototype.searchPoint=function(e,t){var n=this.xAxis,a=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:r?a.len-e.chartX+a.pos:e.chartY-a.pos},t,e)},e.prototype.buildKDTree=function(e){this.buildingKdTree=!0;var t=this,n=-1<t.options.findNearestPointBy.indexOf("y")?2:1;delete t.kdTree,P((function(){t.kdTree=function e(n,a,r){var i=n&&n.length;if(i){var o=t.kdAxisArray[a%r];return n.sort((function(e,t){return e[o]-t[o]})),{point:n[i=Math.floor(i/2)],left:e(n.slice(0,i),a+1,r),right:e(n.slice(i+1),a+1,r)}}}(t.getValidPoints(null,!t.directTouch),n,n),t.buildingKdTree=!1}),t.options.kdNow||e&&"touchstart"===e.type?0:1)},e.prototype.searchKDTree=function(e,t,n){var a=this,r=this.kdAxisArray[0],i=this.kdAxisArray[1],o=t?"distX":"dist";if(t=-1<a.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function e(t,n,s,l){var c=n.point,u=a.kdAxisArray[s%l],d=c,p=k(t[r])&&k(c[r])?Math.pow(t[r]-c[r],2):null,m=k(t[i])&&k(c[i])?Math.pow(t[i]-c[i],2):null;return m=(p||0)+(m||0),c.dist=k(m)?Math.sqrt(m):Number.MAX_VALUE,c.distX=k(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(u=t[u]-c[u])?"right":"left",n[m=0>u?"left":"right"]&&(d=(m=e(t,n[m],s+1,l))[o]<d[o]?m:c),n[p]&&Math.sqrt(u*u)<d[o]&&(d=(t=e(t,n[p],s+1,l))[o]<d[o]?t:d),d}(e,this.kdTree,t,t)},e.prototype.pointPlacementToXValue=function(){var e=this.options,t=e.pointRange,n=this.xAxis;return"between"===(e=e.pointPlacement)&&(e=n.reversed?-.5:.5),W(e)?e*(t||n.pointRange):0},e.prototype.isPointInside=function(e){var t=this.chart,n=this.xAxis,a=this.yAxis;return void 0!==e.plotY&&void 0!==e.plotX&&0<=e.plotY&&e.plotY<=(a?a.len:t.plotHeight)&&0<=e.plotX&&e.plotX<=(n?n.len:t.plotWidth)},e.prototype.drawTracker=function(){var e=this,t=e.options,n=t.trackByArea,a=[].concat(n?e.areaPath:e.graphPath),r=e.chart,i=r.pointer,o=r.renderer,s=r.options.tooltip.snap,l=e.tracker,c=function(t){r.hoverSeries!==e&&e.onMouseOver()},u="rgba(192,192,192,"+(h?1e-4:.002)+")";l?l.attr({d:a}):e.graph&&(e.tracker=o.path(a).attr({visibility:e.visible?"visible":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),r.styledMode||e.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:n?u:"none","stroke-width":e.graph.strokeWidth()+(n?0:2*s)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach((function(e){e&&(e.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(function(e){i.onTrackerMouseOut(e)})),t.cursor&&!r.styledMode&&e.css({cursor:t.cursor}),b)&&e.on("touchstart",c)}))),q(this,"afterDrawTracker")},e.prototype.addPoint=function(e,t,n,a,r){var i=this.options,o=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,u=i.data,d=this.xData;t=C(t,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[e]);var m=p.x,b=d.length;if(this.requireSorting&&m<d[b-1])for(c=!0;b&&d[b-1]>m;)b--;this.updateParallelArrays(p,"splice",b,0,0),this.updateParallelArrays(p,b),l&&p.name&&(l[m]=p.name),u.splice(b,0,e),c&&(this.data.splice(b,0,null),this.processData()),"point"===i.legendType&&this.generatePoints(),n&&(o[0]&&o[0].remove?o[0].remove(!1):(o.shift(),this.updateParallelArrays(p,"shift"),u.shift())),!1!==r&&q(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(a)},e.prototype.removePoint=function(e,t,n){var a=this,r=a.data,i=r[e],o=a.points,s=a.chart,l=function(){o&&o.length===r.length&&o.splice(e,1),r.splice(e,1),a.options.data.splice(e,1),a.updateParallelArrays(i||{series:a},"splice",e,1),i&&i.destroy(),a.isDirty=!0,a.isDirtyData=!0,t&&s.redraw()};d(n,s),t=C(t,!0),i?i.firePointEvent("remove",null,l):l()},e.prototype.remove=function(e,t,n,a){function r(){i.destroy(a),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),C(e,!0)&&o.redraw(t)}var i=this,o=i.chart;!1!==n?q(i,"remove",null,r):r()},e.prototype.update=function(e,t){e=z(e,this.userOptions),q(this,"update",{options:e});var n,a=this,r=a.chart,i=a.userOptions,o=a.initialType||a.type,s=r.options.plotOptions,l=g[o].prototype,c=a.finishedAnimating&&{animation:!1},u={},d=["eventOptions","navigatorSeries","baseSeries"],p=e.type||i.type||r.options.chart.type,m=!(this.hasDerivedData||p&&p!==this.type||void 0!==e.pointStart||void 0!==e.pointInterval||void 0!==e.relativeXValue||a.hasOptionChanged("dataGrouping")||a.hasOptionChanged("pointStart")||a.hasOptionChanged("pointInterval")||a.hasOptionChanged("pointIntervalUnit")||a.hasOptionChanged("keys"));if(p=p||o,m&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&d.push("area","graph"),a.parallelArrays.forEach((function(e){d.push(e+"Data")})),e.data&&(e.dataSorting&&w(a.options.dataSorting,e.dataSorting),this.setData(e.data,!1))),e=S(i,c,{index:void 0===i.index?a.index:i.index,pointStart:C(s&&s.series&&s.series.pointStart,i.pointStart,a.xData[0])},!m&&{data:a.options.data},e),m&&e.data&&(e.data=a.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(e){d[e]=a[e],delete a[e]})),s=!1,g[p]){if(s=p!==a.type,a.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(a,g[p].prototype);else{for(n in c=Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents,l)a[n]=void 0;w(a,g[p].prototype),c?a.hcEvents=c:delete a.hcEvents}}else x(17,!0,r,{missingModuleFor:p});if(d.forEach((function(e){a[e]=d[e]})),a.init(r,e),m&&this.points){var b=a.options;!1===b.visible?(u.graphic=1,u.dataLabel=1):a._hasPointLabels||(e=b.marker,l=b.dataLabels,!e||!1!==e.enabled&&(i.marker&&i.marker.symbol)===e.symbol||(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach((function(e){e&&e.series&&(e.resolveColor(),Object.keys(u).length&&e.destroyElements(u),!1===b.showInLegend&&e.legendItem&&r.legend.destroyItem(e))}),this)}a.initialType=o,r.linkSeries(),s&&a.linkedSeries.length&&(a.isDirtyData=!0),q(this,"afterUpdate"),C(t,!0)&&r.redraw(!!m&&void 0)},e.prototype.setName=function(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0},e.prototype.hasOptionChanged=function(e){var t=this.options[e],n=this.chart.options.plotOptions,a=this.userOptions[e];return a?t!==a:t!==C(n&&n[this.type]&&n[this.type][e],n&&n.series&&n.series[e],t)},e.prototype.onMouseOver=function(){var e=this.chart,t=e.hoverSeries;e.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&q(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this},e.prototype.onMouseOut=function(){var e=this.options,t=this.chart,n=t.tooltip,a=t.hoverPoint;t.hoverSeries=null,a&&a.onMouseOut(),this&&e.events.mouseOut&&q(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),t.series.forEach((function(e){e.setState("",!0)}))},e.prototype.setState=function(e,t){var n=this,a=n.options,r=n.graph,i=a.inactiveOtherPoints,o=a.states,s=C(o[e||"normal"]&&o[e||"normal"].animation,n.chart.options.chart.animation),l=a.lineWidth,c=0,u=a.opacity;if(e=e||"",n.state!==e&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))})),n.state=e,!n.chart.styledMode)){if(o[e]&&!1===o[e].enabled)return;if(e&&(l=o[e].lineWidth||l+(o[e].lineWidthPlus||0),u=C(o[e].opacity,u)),r&&!r.dashstyle)for(a={"stroke-width":l},r.animate(a,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(a,s),c+=1;i||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(e){e&&e.animate({opacity:u},s)}))}t&&i&&n.points&&n.setAllPointsToState(e||void 0)},e.prototype.setAllPointsToState=function(e){this.points.forEach((function(t){t.setState&&t.setState(e)}))},e.prototype.setVisible=function(e,t){var n=this,a=n.chart,r=n.legendItem,i=a.options.chart.ignoreHiddenSeries,o=n.visible,s=(n.visible=e=n.options.visible=n.userOptions.visible=void 0===e?!o:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(e){n[e]&&n[e][s]()})),a.hoverSeries!==n&&(a.hoverPoint&&a.hoverPoint.series)!==n||n.onMouseOut(),r&&a.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&a.series.forEach((function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)})),n.linkedSeries.forEach((function(t){t.setVisible(e,!1)})),i&&(a.isDirtyBox=!0),q(n,s),!1!==t&&a.redraw()},e.prototype.show=function(){this.setVisible(!0)},e.prototype.hide=function(){this.setVisible(!1)},e.prototype.select=function(e){this.selected=e=this.options.selected=void 0===e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),q(this,e?"select":"unselect")},e.prototype.shouldShowTooltip=function(e,t,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,n)},e.defaultOptions=o,e}(),w(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:i,requireSorting:!0,sorted:!0}),s.series=e,e})),t(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i){var o=e.stop,s=i.addEvent,l=i.createElement,c=i.merge,u=i.pick;s(n,"afterSetChartSize",(function(e){var n=this.options.chart.scrollablePlotArea,a=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(a){if(this.scrollablePixelsX=a=Math.max(0,a-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=a,this.inverted?this.clipBox.height+=a:this.clipBox.width+=a;var r={1:{name:"right",value:a}}}}else n&&(this.scrollablePixelsY=a=Math.max(0,n-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=a,this.inverted?this.clipBox.width+=a:this.clipBox.height+=a,r={2:{name:"bottom",value:a}});r&&!e.skipAxes&&this.axes.forEach((function(e){r[e.side]?e.getPlotLinePath=function(){var n=r[e.side].name,a=this[n];this[n]=a-r[e.side].value;var i=t.prototype.getPlotLinePath.apply(this,arguments);return this[n]=a,i}:(e.setAxisSize(),e.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var e=this,t={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(t.overflowX="auto"),this.scrollablePixelsY&&(t.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},t,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){e.pointer&&delete e.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var e,t=this.container,n=this.fixedRenderer,a=".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?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis"),e&&a.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)"),a.forEach((function(e){[].forEach.call(t.querySelectorAll(e),(function(e){(e.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(e),e.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var e=!this.fixedDiv,t=this.options.chart,n=t.scrollablePlotArea,a=r.getRendererType();e?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(t.style&&t.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=t=new a(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":u(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||e)&&(this.scrollableDirty=!1,this.moveFixedElements()),t=this.chartWidth+(this.scrollablePixelsX||0),a=this.chartHeight+(this.scrollablePixelsY||0),o(this.container),this.container.style.width=t+"px",this.container.style.height=a+"px",this.renderer.boxWrapper.attr({width:t,height:a,viewBox:[0,0,t,a].join(" ")}),this.chartBackground.attr({width:t,height:a}),this.scrollingContainer.style.height=this.chartHeight+"px",e&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),a=this.axisOffset,e=this.plotTop-a[0]-1,n=this.plotLeft-a[3]-1,t=this.plotTop+this.plotHeight+a[2]+1,a=this.plotLeft+this.plotWidth+a[1]+1;var i=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);e=this.scrollablePixelsX?[["M",0,e],["L",this.plotLeft-1,e],["L",this.plotLeft-1,t],["L",0,t],["Z"],["M",i,e],["L",this.chartWidth,e],["L",this.chartWidth,t],["L",i,t],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",a,this.plotTop-1],["L",a,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",a,this.chartHeight],["L",a,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})},s(t,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(a,"show",(function(){this.chart.scrollableDirty=!0}))})),t(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=e.getDeferredAnimation,i=n.addEvent,o=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(e){function t(){var e=this.stacking;if(e){var t=e.stacks;c(t,(function(e,n){o(e),t[n]=null})),e&&e.stackTotalGroup&&e.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new u(this))}var a=[];e.compose=function(e){return-1===a.indexOf(e)&&(a.push(e),i(e,"init",n),i(e,"destroy",t)),e};var u=function(){function e(e){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=e}return e.prototype.buildStacks=function(){var e,t=this.axis,n=t.series,a=t.options.reversedStacks,r=n.length;if(!t.isXAxis){for(this.usePercentage=!1,e=r;e--;){var i=n[a?e:r-e-1];i.setStackedPoints(),i.setGroupedPoints()}for(e=0;e<r;e++)n[e].modifyStacks();s(t,"afterBuildStacks")}},e.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var e=this.stacks=this.oldStacks;c(e,(function(e){c(e,(function(e){e.cumulative=e.total}))}))}},e.prototype.resetStacks=function(){var e=this,t=e.stacks;e.axis.isXAxis||c(t,(function(t){c(t,(function(n,a){l(n.touched)&&n.touched<e.stacksTouched?(n.destroy(),delete t[a]):(n.total=null,n.cumulative=null)}))}))},e.prototype.renderStackTotals=function(){var e=this.axis,t=e.chart,n=t.renderer,a=this.stacks;e=r(t,e.options.stackLabels&&e.options.stackLabels.animation||!1);var i=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();i.translate(t.plotLeft,t.plotTop),c(a,(function(e){c(e,(function(e){e.render(i)}))})),i.animate({opacity:1},e)},e}();e.Additions=u}(a||(a={})),a})),t(n,"Extensions/Stacking.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Axis/StackingAxis.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o){var s=n.format,l=o.correctFloat,c=o.defined,u=o.destroyObjectProperties,d=o.isArray,p=o.isNumber,m=o.objectEach,b=o.pick,h=function(){function e(e,t,n,a,r){var i=e.chart.inverted;this.axis=e,this.isNegative=n,this.options=t=t||{},this.x=a,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:t.align||(i?n?"left":"right":"center"),verticalAlign:t.verticalAlign||(i?"middle":n?"bottom":"top"),y:t.y,x:t.x},this.textAlign=t.textAlign||(i?n?"right":"left":"center")}return e.prototype.destroy=function(){u(this,this.axis)},e.prototype.render=function(e){var t=this.axis.chart,n=this.options,a=n.format;a=a?s(a,this,t):n.formatter.call(this),this.label?this.label.attr({text:a,visibility:"hidden"}):(this.label=t.renderer.label(a,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),a={r:n.borderRadius||0,text:a,rotation:n.rotation,padding:b(n.padding,5),visibility:"hidden"},t.styledMode||(a.fill=n.backgroundColor,a.stroke=n.borderColor,a["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(a),this.label.added||this.label.add(e)),this.label.labelrank=t.plotSizeY},e.prototype.setOffset=function(e,t,n,a,i){var o=this.axis,s=o.chart;a=o.translate(o.stacking.usePercentage?100:a||this.total,0,0,0,1),n=o.translate(n||0),n=c(a)&&Math.abs(a-n),e=b(i,s.xAxis[0].translate(this.x))+e,o=c(a)&&this.getStackBox(s,this,e,a,t,n,o),t=this.label,n=this.isNegative,e="justify"===b(this.options.overflow,"justify");var l=this.textAlign;t&&o&&(i=t.getBBox(),a=t.padding,l="left"===l?s.inverted?-a:a:"right"===l?i.width:s.inverted&&"center"===l?i.width/2:s.inverted?n?i.width+a:-a:i.width/2,n=s.inverted?i.height/2:n?-a:i.height,this.alignOptions.x=b(this.options.x,0),this.alignOptions.y=b(this.options.y,0),o.x-=l,o.y-=n,t.align(this.alignOptions,null,o),s.isInsidePlot(t.alignAttr.x+l-this.alignOptions.x,t.alignAttr.y+n-this.alignOptions.y)?t.show():(t.alignAttr.y=-9999,e=!1),e&&r.prototype.justifyDataLabel.call(this.axis,t,this.alignOptions,t.alignAttr,i,o),t.attr({x:t.alignAttr.x,y:t.alignAttr.y}),b(!e&&this.options.crop,!0)&&((s=p(t.x)&&p(t.y)&&s.isInsidePlot(t.x-a+t.width,t.y)&&s.isInsidePlot(t.x+a,t.y))||t.hide()))},e.prototype.getStackBox=function(e,t,n,a,r,i,o){var s=t.axis.reversed,l=e.inverted,c=o.height+o.pos-(l?e.plotLeft:e.plotTop);return t=t.isNegative&&!s||!t.isNegative&&s,{x:l?t?a-o.right:a-i+o.pos-e.plotLeft:n+e.xAxis[0].transB-e.plotLeft,y:l?o.height-n-r:t?c-a-i:c-a,width:l?i:r,height:l?r:i}},e}();return t.prototype.getStacks=function(){var e=this,t=e.inverted;e.yAxis.forEach((function(e){e.stacking&&e.stacking.stacks&&e.hasVisibleSeries&&(e.stacking.oldStacks=e.stacking.stacks)})),e.series.forEach((function(n){var a=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==e.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,b(n.options.stack,""),t?a.top:a.left,t?a.height:a.width].join())}))},i.compose(e),r.prototype.setGroupedPoints=function(){var e=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?r.prototype.setStackedPoints.call(this,"group"):e&&m(e.stacks,(function(t,n){"group"===n.slice(-5)&&(m(t,(function(e){return e.destroy()})),delete e.stacks[n])}))},r.prototype.setStackedPoints=function(e){var t=e||this.options.stacking;if(t&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,a=this.processedYData,r=[],i=a.length,o=this.options,s=o.threshold,u=b(o.startFromThreshold&&s,0);o=o.stack;var p,m,f="-"+(e=e?this.type+","+t:this.stackKey),g=this.negStacks,_=this.yAxis,y=_.stacking.stacks,M=_.stacking.oldStacks;for(_.stacking.stacksTouched+=1,m=0;m<i;m++){var v=n[m],z=a[m],O=this.getStackIndicator(O,v,this.index),k=O.key,A=(p=g&&z<(u?0:s))?f:e;y[A]||(y[A]={}),y[A][v]||(M[A]&&M[A][v]?(y[A][v]=M[A][v],y[A][v].total=null):y[A][v]=new h(_,_.options.stackLabels,p,v,o)),A=y[A][v],null!==z?(A.points[k]=A.points[this.index]=[b(A.cumulative,u)],c(A.cumulative)||(A.base=k),A.touched=_.stacking.stacksTouched,0<O.index&&!1===this.singleStacks&&(A.points[k][0]=A.points[this.index+","+v+",0"][0])):A.points[k]=A.points[this.index]=null,"percent"===t?(p=p?e:f,g&&y[p]&&y[p][v]?(p=y[p][v],A.total=p.total=Math.max(p.total,A.total)+Math.abs(z)||0):A.total=l(A.total+(Math.abs(z)||0))):"group"===t?(d(z)&&(z=z[0]),null!==z&&(A.total=(A.total||0)+1)):A.total=l(A.total+(z||0)),A.cumulative="group"===t?(A.total||1)-1:b(A.cumulative,u)+(z||0),null!==z&&(A.points[k].push(A.cumulative),r[m]=A.cumulative,A.hasValidPoints=!0)}"percent"===t&&(_.stacking.usePercentage=!0),"group"!==t&&(this.stackedYData=r),_.stacking.oldStacks={}}},r.prototype.modifyStacks=function(){var e,t=this,n=t.stackKey,a=t.yAxis.stacking.stacks,r=t.processedXData,i=t.options.stacking;t[i+"Stacker"]&&[n,"-"+n].forEach((function(n){for(var o,s,l=r.length;l--;)o=r[l],e=t.getStackIndicator(e,o,t.index,n),(s=(o=a[n]&&a[n][o])&&o.points[e.key])&&t[i+"Stacker"](s,o,l)}))},r.prototype.percentStacker=function(e,t,n){t=t.total?100/t.total:0,e[0]=l(e[0]*t),e[1]=l(e[1]*t),this.stackedYData[n]=e[1]},r.prototype.getStackIndicator=function(e,t,n,a){return!c(e)||e.x!==t||a&&e.key!==a?e={x:t,index:0,key:a}:e.index++,e.key=[n,t,e.index].join(),e},a.StackItem=h,a.StackItem})),t(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=n.defined,i=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.prototype.drawGraph=function(){var e=this,t=this.options,n=(this.gappedPath||this.getGraphPath).call(this),a=this.chart.styledMode,r=[["graph","highcharts-graph"]];a||r[0].push(t.lineColor||this.color||"#cccccc",t.dashStyle),(r=e.getZonesGraphs(r)).forEach((function(r,i){var o=r[0],s=e[o],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(e[o]=s=e.chart.renderer.path(n).addClass(r[1]).attr({zIndex:1}).add(e.group)),s&&!a&&(o={stroke:r[2],"stroke-width":t.lineWidth,fill:e.fillGraph&&e.color||"none"},r[3]?o.dashstyle=r[3]:"square"!==t.linecap&&(o["stroke-linecap"]=o["stroke-linejoin"]="round"),s[l](o).shadow(2>i&&t.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(e,t,n){var a,i=this,o=i.options,s=[],l=[],c=o.step,u=(e=e||i.points).reversed;return u&&e.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(e=this.getValidPoints(e,!1,!(o.connectNulls&&!t&&!n))).forEach((function(u,d){var p=u.plotX,m=u.plotY,b=e[d-1];(u.leftCliff||b&&b.rightCliff)&&!n&&(a=!0),u.isNull&&!r(t)&&0<d?a=!o.connectNulls:u.isNull&&!t?a=!0:(0===d||a?d=[["M",u.plotX,u.plotY]]:i.getPointSpline?d=[i.getPointSpline(e,u,d)]:c?(d=1===c?[["L",b.plotX,m]]:2===c?[["L",(b.plotX+p)/2,b.plotY],["L",(b.plotX+p)/2,m]]:[["L",p,b.plotY]]).push(["L",p,m]):d=[["L",p,m]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),s.push.apply(s,d),a=!1)})),s.xMap=l,i.graphPath=s},n.prototype.getZonesGraphs=function(e){return this.zones.forEach((function(t,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(t.className||"")],this.chart.styledMode||n.push(t.color||this.color,t.dashStyle||this.options.dashStyle),e.push(n)}),this),e},n.defaultOptions=i(e.defaultOptions,{}),n}(e),t.registerSeriesType("line",n),n})),t(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=e.parse,o=n.seriesTypes.line;e=a.extend;var s=a.merge,l=a.objectEach,c=a.pick;return a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(t,e),t.prototype.drawGraph=function(){this.areaPath=[],e.prototype.drawGraph.apply(this);var t=this,n=this.areaPath,a=this.options,r=[["area","highcharts-area",this.color,a.fillColor]];this.zones.forEach((function(e,n){r.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+e.className,e.color||t.color,e.fillColor||a.fillColor])})),r.forEach((function(e){var r=e[0],o=t[r],s=o?"animate":"attr",l={};o?(o.endX=t.preventGraphAnimation?null:n.xMap,o.animate({d:n})):(l.zIndex=0,(o=t[r]=t.chart.renderer.path(n).addClass(e[1]).add(t.group)).isArea=!0),t.chart.styledMode||(l.fill=c(e[3],i(e[2]).setOpacity(c(a.fillOpacity,.75)).get())),o[s](l),o.startX=n.xMap,o.shiftUnit=a.step?2:1}))},t.prototype.getGraphPath=function(e){var t,n=o.prototype.getGraphPath,a=this.options,r=a.stacking,i=this.yAxis,s=[],l=[],u=this.index,d=i.stacking.stacks[this.stackKey],p=a.threshold,m=Math.round(i.getThreshold(a.threshold));a=c(a.connectNulls,"percent"===r);var b=function(t,n,a){var o=e[t];t=r&&d[o.x].points[u];var c=o[a+"Null"]||0;if(a=o[a+"Cliff"]||0,o=!0,a||c){var b=(c?t[0]:t[1])+a,h=t[0]+a;o=!!c}else!r&&e[n]&&e[n].isNull&&(b=h=p);void 0!==b&&(l.push({plotX:f,plotY:null===b?m:i.getThreshold(b),isNull:o,isCliff:!0}),s.push({plotX:f,plotY:null===h?m:i.getThreshold(h),doCurve:!1}))};for(e=e||this.points,r&&(e=this.getStackPoints(e)),t=0;t<e.length;t++){r||(e[t].leftCliff=e[t].rightCliff=e[t].leftNull=e[t].rightNull=void 0);var h=e[t].isNull,f=c(e[t].rectPlotX,e[t].plotX),g=r?c(e[t].yBottom,m):m;h&&!a||(a||b(t,t-1,"left"),h&&!r&&a||(l.push(e[t]),s.push({x:t,plotX:f,plotY:g})),a||b(t,t+1,"right"))}return t=n.call(this,l,!0,!0),s.reversed=!0,(g=(h=n.call(this,s,!0,!0))[0])&&"M"===g[0]&&(h[0]=["L",g[1],g[2]]),(h=t.concat(h)).length&&h.push(["Z"]),n=n.call(this,l,!1,a),h.xMap=t.xMap,this.areaPath=h,n},t.prototype.getStackPoints=function(e){var t=this,n=[],a=[],r=this.xAxis,i=this.yAxis,o=i.stacking.stacks[this.stackKey],s={},u=i.series,d=u.length,p=i.options.reversedStacks?1:-1,m=u.indexOf(t);if(e=e||this.points,this.options.stacking){for(var b=0;b<e.length;b++)e[b].leftNull=e[b].rightNull=void 0,s[e[b].x]=e[b];l(o,(function(e,t){null!==e.total&&a.push(t)})),a.sort((function(e,t){return e-t}));var h=u.map((function(e){return e.visible}));a.forEach((function(e,l){var b,f,g=0;if(s[e]&&!s[e].isNull)n.push(s[e]),[-1,1].forEach((function(n){var r=1===n?"rightNull":"leftNull",i=0,c=o[a[l+n]];if(c)for(var g=m;0<=g&&g<d;){var _=u[g].index;(b=c.points[_])||(_===t.index?s[e][r]=!0:h[g]&&(f=o[e].points[_])&&(i-=f[1]-f[0])),g+=p}s[e][1===n?"rightCliff":"leftCliff"]=i}));else{for(var _=m;0<=_&&_<d;){if(b=o[e].points[u[_].index]){g=b[1];break}_+=p}g=c(g,0),g=i.translate(g,0,1,0,1),n.push({isNull:!0,plotX:r.translate(e,0,0,0,1),x:e,plotY:g,yBottom:g})}}))}return n},t.defaultOptions=s(o.defaultOptions,{threshold:0}),t}(o),e(a.prototype,{singleStacks:!1,drawLegendSymbol:t.drawRectangle}),n.registerSeriesType("area",a),a})),t(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),a=e.seriesTypes.line,r=t.merge,i=t.pick;return t=function(e){function t(){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(t,e),t.prototype.getPointSpline=function(e,t,n){var a=t.plotX||0,r=t.plotY||0,o=e[n-1];if(n=e[n+1],o&&!o.isNull&&!1!==o.doCurve&&!t.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!t.isCliff){e=o.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,c=(1.5*a+(o.plotX||0))/2.5,u=(1.5*r+e)/2.5,d=(1.5*r+n)/2.5;(s=(1.5*a+s)/2.5)!==c&&(l=(d-u)*(s-a)/(s-c)+r-d),d+=l,(u+=l)>e&&u>r?d=2*r-(u=Math.max(e,r)):u<e&&u<r&&(d=2*r-(u=Math.min(e,r))),d>n&&d>r?u=2*r-(d=Math.max(n,r)):d<n&&d<r&&(u=2*r-(d=Math.min(n,r))),t.rightContX=s,t.rightContY=d}return t=["C",i(o.rightContX,o.plotX,0),i(o.rightContY,o.plotY,0),i(c,a,0),i(u,r,0),a,r],o.rightContX=o.rightContY=void 0,t},t.defaultOptions=r(a.defaultOptions),t}(a),e.registerSeriesType("spline",t),t})),t(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Area/AreaSeries.js"],n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),o=e.prototype,s=r.extend,l=r.merge;return s((r=function(n){function a(){var e=null!==n&&n.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e}return i(a,n),a.defaultOptions=l(t.defaultOptions,e.defaultOptions),a}(t)).prototype,{getGraphPath:o.getGraphPath,getStackPoints:o.getStackPoints,drawGraph:o.drawGraph,drawLegendSymbol:n.drawRectangle}),a.registerSeriesType("areaspline",r),r})),t(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o){var s=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),l=e.animObject,c=t.parse,u=n.hasTouch;e=n.noop;var d=o.clamp,p=o.css,m=o.defined,b=o.extend,h=o.fireEvent,f=o.isArray,g=o.isNumber,_=o.merge,y=o.pick,M=o.objectEach;return o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.borderWidth=void 0,t.data=void 0,t.group=void 0,t.options=void 0,t.points=void 0,t}return s(t,e),t.prototype.animate=function(e){var t=this,n=this.yAxis,a=t.options,r=this.chart.inverted,i={},o=r?"translateX":"translateY";if(e)i.scaleY=.001,e=d(n.toPixels(a.threshold),n.pos,n.pos+n.len),r?i.translateX=e-n.len:i.translateY=e,t.clipBox&&t.setClip(),t.group.attr(i);else{var s=Number(t.group.attr(o));t.group.animate({scaleY:1},b(l(t.options.animation),{step:function(e,a){t.group&&(i[o]=s+a.pos*(n.pos-s),t.group.attr(i))}}))}},t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments);var a=this;(t=a.chart).hasRendered&&t.series.forEach((function(e){e.type===a.type&&(e.isDirty=!0)}))},t.prototype.getColumnMetrics=function(){var e=this,t=e.options,n=e.xAxis,a=e.yAxis,r=n.options.reversedStacks;r=n.reversed&&!r||!n.reversed&&r;var i,o={},s=0;!1===t.grouping?s=1:e.chart.series.forEach((function(t){var n=t.yAxis,r=t.options;if(t.type===e.type&&(t.visible||!e.chart.options.chart.ignoreHiddenSeries)&&a.len===n.len&&a.pos===n.pos){if(r.stacking&&"group"!==r.stacking){i=t.stackKey,void 0===o[i]&&(o[i]=s++);var l=o[i]}else!1!==r.grouping&&(l=s++);t.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||t.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*t.groupPadding,u=(l-2*c)/(s||1);return t=Math.min(t.maxPointWidth||n.len,y(t.pointWidth,u*(1-2*t.pointPadding))),e.columnMetrics={width:t,offset:(u-t)/2+(c+((e.columnIndex||0)+(r?1:0))*u-l/2)*(r?-1:1),paddedWidth:u,columnCount:s},e.columnMetrics},t.prototype.crispCol=function(e,t,n,a){var r=this.chart,i=this.borderWidth,o=-(i%2?.5:0);return i=i%2?.5:1,r.inverted&&r.renderer.isVML&&(i+=1),this.options.crisp&&(n=Math.round(e+n)+o,n-=e=Math.round(e)+o),a=Math.round(t+a)+i,o=.5>=Math.abs(t)&&.5<a,a-=t=Math.round(t)+i,o&&a&&(--t,a+=1),{x:e,y:t,width:n,height:a}},t.prototype.adjustForMissingColumns=function(e,t,n,a){var r=this,i=this.options.stacking;if(!n.isNull&&1<a.columnCount){var o=0,s=0;M(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(e){if("number"==typeof n.x&&(e=e[n.x.toString()])){var t=e.points[r.index],a=e.total;i?(t&&(o=s),e.hasValidPoints&&s++):f(t)&&(o=t[1],s=a||0)}})),e=(n.plotX||0)+((s-1)*a.paddedWidth+t)/2-t-o*a.paddedWidth}return e},t.prototype.translate=function(){var e=this,t=e.chart,n=e.options,a=e.dense=2>e.closestPointRange*e.xAxis.transA;a=e.borderWidth=y(n.borderWidth,a?0:1);var i=e.xAxis,o=e.yAxis,s=n.threshold,l=e.translatedThreshold=o.getThreshold(s),c=y(n.minPointLength,5),u=e.getColumnMetrics(),p=u.width,b=e.pointXOffset=u.offset,h=e.dataMin,f=e.dataMax,_=e.barW=Math.max(p,1+2*a);t.inverted&&(l-=.5),n.pointPadding&&(_=Math.ceil(_)),r.prototype.translate.apply(e),e.points.forEach((function(a){var r=y(a.yBottom,l),M=999+Math.abs(r),v=a.plotX||0;M=d(a.plotY,-M,o.len+M);var z=Math.min(M,r),O=Math.max(M,r)-z,k=p,A=v+b,x=_;c&&Math.abs(O)<c&&(O=c,v=!o.reversed&&!a.negative||o.reversed&&a.negative,g(s)&&g(f)&&a.y===s&&f<=s&&(o.min||0)<s&&(h!==f||(o.max||0)<=s)&&(v=!v),z=Math.abs(z-l)>c?r-c:l-(v?c:0)),m(a.options.pointWidth)&&(k=x=Math.ceil(a.options.pointWidth),A-=Math.round((k-p)/2)),n.centerInCategory&&(A=e.adjustForMissingColumns(A,k,a,u)),a.barX=A,a.pointWidth=k,a.tooltipPos=t.inverted?[d(o.len+o.pos-t.plotLeft-M,o.pos-t.plotLeft,o.len+o.pos-t.plotLeft),i.len+i.pos-t.plotTop-A-x/2,O]:[i.left-t.plotLeft+A+x/2,d(M+o.pos-t.plotTop,o.pos-t.plotTop,o.len+o.pos-t.plotTop),O],a.shapeType=e.pointClass.prototype.shapeType||"rect",a.shapeArgs=e.crispCol.apply(e,a.isNull?[A,l,x,0]:[A,z,x,O])}))},t.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},t.prototype.pointAttribs=function(e,t){var n=this.options,a=this.pointAttrToOptions||{},r=a.stroke||"borderColor",i=a["stroke-width"]||"borderWidth",o=e&&e.color||this.color,s=e&&e[r]||n[r]||o;a=e&&e.options.dashStyle||n.dashStyle;var l=e&&e[i]||n[i]||this[i]||0,u=y(e&&e.opacity,n.opacity,1);if(e&&this.zones.length){var d=e.getZone();o=e.options.color||d&&(d.color||e.nonZonedColor)||this.color,d&&(s=d.borderColor||s,a=d.dashStyle||a,l=d.borderWidth||l)}return t&&e&&(t=(e=_(n.states[t],e.options.states&&e.options.states[t]||{})).brightness,o=e.color||void 0!==t&&c(o).brighten(e.brightness).get()||o,s=e[r]||s,l=e[i]||l,a=e.dashStyle||a,u=y(e.opacity,u)),r={fill:o,stroke:s,"stroke-width":l,opacity:u},a&&(r.dashstyle=a),r},t.prototype.drawPoints=function(){var e,t=this,n=this.chart,a=t.options,r=n.renderer,i=a.animationLimit||250;t.points.forEach((function(o){var s=o.graphic,l=!!s,c=s&&n.pointCount<i?"animate":"attr";g(o.plotY)&&null!==o.y?(e=o.shapeArgs,s&&o.hasNewShapeType()&&(s=s.destroy()),t.enabledDataSorting&&(o.startXPos=t.xAxis.reversed?-(e&&e.width||0):t.xAxis.width),s||(o.graphic=s=r[o.shapeType](e).add(o.group||t.group))&&t.enabledDataSorting&&n.hasRendered&&n.pointCount<i&&(s.attr({x:o.startXPos}),l=!0,c="animate"),s&&l&&s[c](_(e)),a.borderRadius&&s[c]({r:a.borderRadius}),n.styledMode||s[c](t.pointAttribs(o,o.selected&&"select")).shadow(!1!==o.allowShadow&&a.shadow,null,a.stacking&&!a.borderRadius),s&&(s.addClass(o.getClassName(),!0),s.attr({visibility:o.visible?"inherit":"hidden"}))):s&&(o.graphic=s.destroy())}))},t.prototype.drawTracker=function(){var e,t=this,n=t.chart,a=n.pointer,r=function(e){var t=a.getPointFromEvent(e);void 0!==t&&(a.isDirectTouch=!0,t.onMouseOver(e))};t.points.forEach((function(t){e=f(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){e.div?e.div.point=t:e.element.point=t}))})),t._hasTracking||(t.trackerGroups.forEach((function(e){t[e]&&(t[e].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",(function(e){a.onTrackerMouseOut(e)})),u&&t[e].on("touchstart",r),!n.styledMode&&t.options.cursor&&t[e].css(p).css({cursor:t.options.cursor}))})),t._hasTracking=!0),h(this,"afterDrawTracker")},t.prototype.remove=function(){var e=this,t=e.chart;t.hasRendered&&t.series.forEach((function(t){t.type===e.type&&(t.isDirty=!0)})),r.prototype.remove.apply(e,arguments)},t.defaultOptions=_(r.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"}),t}(r),b(o.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:a.drawRectangle,getSymbol:e,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("column",o),o})),t(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=e.getDeferredAnimation,i=t.format,o=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,u=n.merge,d=n.objectEach,p=n.pick,m=n.splat;return function(e){function t(e,t,n,a,r){var i=this,o=this.chart,l=this.isCartesian&&o.inverted,c=this.enabledDataSorting,u=p(e.dlBox&&e.dlBox.centerX,e.plotX,-9999),d=p(e.plotY,-9999),m=t.getBBox(),b=n.rotation,h=n.align,f=o.isInsidePlot(u,Math.round(d),{inverted:l,paneCoordinates:!0,series:i}),g=function(n){c&&i.xAxis&&!_&&i.setDataLabelStartPos(e,t,r,f,n)},_="justify"===p(n.overflow,c?"none":"justify"),y=this.visible&&!1!==e.visible&&(e.series.forceDL||c&&!_||f||p(n.inside,!!this.options.stacking)&&a&&o.isInsidePlot(u,l?a.x+1:a.y+a.height-1,{inverted:l,paneCoordinates:!0,series:i}));if(y){var M=o.renderer.fontMetrics(o.styledMode?void 0:n.style.fontSize,t).b;a=s({x:l?this.yAxis.len-d:u,y:Math.round(l?this.xAxis.len-u:d),width:0,height:0},a),s(n,{width:m.width,height:m.height}),b?(_=!1,u=o.renderer.rotCorr(M,b),g(u={x:a.x+(n.x||0)+a.width/2+u.x,y:a.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*a.height}),t[r?"attr":"animate"](u).attr({align:h}),g=180<(g=(b+720)%360)&&360>g,"left"===h?u.y-=g?m.height:0:"center"===h?(u.x-=m.width/2,u.y-=m.height/2):"right"===h&&(u.x-=m.width,u.y-=g?0:m.height),t.placed=!0,t.alignAttr=u):(g(a),t.align(n,void 0,a),u=t.alignAttr),_&&0<=a.height?this.justifyDataLabel(t,n,u,m,a,r):p(n.crop,!0)&&(y=o.isInsidePlot(u.x,u.y,{paneCoordinates:!0,series:i})&&o.isInsidePlot(u.x+m.width,u.y+m.height,{paneCoordinates:!0,series:i})),n.shape&&!b&&t[r?"attr":"animate"]({anchorX:l?o.plotWidth-e.plotY:e.plotX,anchorY:l?o.plotHeight-e.plotX:e.plotY})}r&&c&&(t.placed=!1),y||c&&!_||(t.hide(!0),t.placed=!1)}function n(){var e=this,t=e.chart,n=e.options,a=e.points,s=e.hasRendered||0,u=t.renderer,h=n.dataLabels,f=h.animation;if(f=h.defer?r(t,f,e):{defer:0,duration:0},h=b(b(t.options.plotOptions&&t.options.plotOptions.series&&t.options.plotOptions.series.dataLabels,t.options.plotOptions&&t.options.plotOptions[e.type]&&t.options.plotOptions[e.type].dataLabels),h),l(this,"drawDataLabels"),c(h)||h.enabled||e._hasPointLabels){var g=e.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",h.zIndex||6);g.attr({opacity:+s}),!s&&(s=e.dataLabelsGroup)&&(e.visible&&g.show(!0),s[n.animation?"animate":"attr"]({opacity:1},f)),a.forEach((function(a){m(b(h,a.dlOptions||a.options&&a.options.dataLabels)).forEach((function(r,s){var l=r.enabled&&(!a.isNull||a.dataLabelOnNull)&&function(e,t){var n=t.filter;return!n||(t=n.operator,e=e[n.property],n=n.value,">"===t&&e>n||"<"===t&&e<n||">="===t&&e>=n||"<="===t&&e<=n||"=="===t&&e==n||"==="===t&&e===n)}(a,r),c=a.connectors?a.connectors[s]:a.connector,m=a.dataLabels?a.dataLabels[s]:a.dataLabel,b=p(r.distance,a.labelDistance),h=!m;if(l){var f=a.getLabelConfig(),_=p(r[a.formatPrefix+"Format"],r.format);f=o(_)?i(_,f,t):(r[a.formatPrefix+"Formatter"]||r.formatter).call(f,r),_=r.style;var y=r.rotation;t.styledMode||(_.color=p(r.color,_.color,e.color,"#000000"),"contrast"===_.color?(a.contrastColor=u.getContrast(a.color||e.color),_.color=!o(b)&&r.inside||0>b||n.stacking?a.contrastColor:"#000000"):delete a.contrastColor,n.cursor&&(_.cursor=n.cursor));var M={r:r.borderRadius||0,rotation:y,padding:r.padding,zIndex:1};t.styledMode||(M.fill=r.backgroundColor,M.stroke=r.borderColor,M["stroke-width"]=r.borderWidth),d(M,(function(e,t){void 0===e&&delete M[t]}))}!m||l&&o(f)&&!!m.div==!!r.useHTML||(a.dataLabel=m=a.dataLabel&&a.dataLabel.destroy(),a.dataLabels&&(1===a.dataLabels.length?delete a.dataLabels:delete a.dataLabels[s]),s||delete a.dataLabel,c&&(a.connector=a.connector.destroy(),a.connectors&&(1===a.connectors.length?delete a.connectors:delete a.connectors[s]))),l&&o(f)&&(m?M.text=f:(a.dataLabels=a.dataLabels||[],m=a.dataLabels[s]=y?u.text(f,0,-9999,r.useHTML).addClass("highcharts-data-label"):u.label(f,0,-9999,r.shape,null,null,r.useHTML,null,"data-label"),s||(a.dataLabel=m),m.addClass(" highcharts-data-label-color-"+a.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),m.options=r,m.attr(M),t.styledMode||m.css(_).shadow(r.shadow),m.added||m.add(g),r.textPath&&!r.useHTML&&(m.setTextPath(a.getDataLabelPath&&a.getDataLabelPath(m)||a.graphic,r.textPath),a.dataLabelPath&&!r.textPath.enabled&&(a.dataLabelPath=a.dataLabelPath.destroy())),e.alignDataLabel(a,m,r,null,h))}))}))}l(this,"afterDrawDataLabels")}function a(e,t,n,a,r,i){var o=this.chart,s=t.align,l=t.verticalAlign,c=e.box?0:e.padding||0,u=t.x;u=void 0===u?0:u;var d=t.y;d=void 0===d?0:d;var p=(n.x||0)+c;if(0>p){"right"===s&&0<=u?(t.align="left",t.inside=!0):u-=p;var m=!0}return(p=(n.x||0)+a.width-c)>o.plotWidth&&("left"===s&&0>=u?(t.align="right",t.inside=!0):u+=o.plotWidth-p,m=!0),0>(p=n.y+c)&&("bottom"===l&&0<=d?(t.verticalAlign="top",t.inside=!0):d-=p,m=!0),(p=(n.y||0)+a.height-c)>o.plotHeight&&("top"===l&&0>=d?(t.verticalAlign="bottom",t.inside=!0):d+=o.plotHeight-p,m=!0),m&&(t.x=u,t.y=d,e.placed=!i,e.align(t,void 0,r)),m}function b(e,t){var n,a=[];if(c(e)&&!c(t))a=e.map((function(e){return u(e,t)}));else if(c(t)&&!c(e))a=t.map((function(t){return u(e,t)}));else if(c(e)||c(t))for(n=Math.max(e.length,t.length);n--;)a[n]=u(e[n],t[n]);else a=u(e,t);return a}function h(e,t,n,a,r){var i=this.chart,o=i.inverted,s=this.xAxis,l=s.reversed,c=o?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,t.startXPos=o?r.x:l?-c-e:s.width-c+e,t.startYPos=o?l?this.yAxis.height-c+e:-c-e:r.y,a?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),i.hasRendered&&(n&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}var f=[];e.compose=function(e){if(-1===f.indexOf(e)){var r=e.prototype;f.push(e),r.alignDataLabel=t,r.drawDataLabels=n,r.justifyDataLabel=a,r.setDataLabelStartPos=h}}}(a||(a={})),a})),t(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=t.series,i=n.merge,o=n.pick;return function(t){function n(e,t,n,a,s){var l=this.chart.inverted,c=e.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var d=e.dlBox||e.shapeArgs,p=o(e.below,e.plotY>o(this.translatedThreshold,c)),m=o(n.inside,!!this.options.stacking);d&&(0>(a=i(d)).y&&(a.height+=a.y,a.y=0),0<(d=a.y+a.height-c)&&d<a.height&&(a.height-=d),l&&(a={x:c-a.y-a.height,y:u-a.x-a.width,width:a.height,height:a.width}),m||(l?(a.x+=p?0:a.width,a.width=0):(a.y+=p?a.height:0,a.height=0))),n.align=o(n.align,!l||m?"center":p?"right":"left"),n.verticalAlign=o(n.verticalAlign,l||m?"middle":p?"top":"bottom"),r.prototype.alignDataLabel.call(this,e,t,n,a,s),n.inside&&e.contrastColor&&t.css({color:e.contrastColor})}var a=[];t.compose=function(t){e.compose(r),-1===a.indexOf(t)&&(a.push(t),t.prototype.alignDataLabel=n)}}(a||(a={})),a})),t(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=n.extend,i=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.defaultOptions=i(e.defaultOptions,{}),n}(e),r(n.prototype,{inverted:!0}),t.registerSeriesType("bar",n),n})),t(n,"Series/Scatter/ScatterSeries.js",[n["Series/Column/ColumnSeries.js"],n["Series/Line/LineSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=a.addEvent,o=a.extend,s=a.merge;return o((a=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.applyJitter=function(){var e=this,t=this.options.jitter,n=this.points.length;t&&this.points.forEach((function(a,r){["x","y"].forEach((function(i,o){var s="plot"+i.toUpperCase();if(t[i]&&!a.isNull){var l=e[i+"Axis"],c=t[i]*l.transA;if(l&&!l.isLog){var u=Math.max(0,a[s]-c);l=Math.min(l.len,a[s]+c),o=1e4*Math.sin(r+o*n),a[s]=u+(l-u)*(o-Math.floor(o)),"x"===i&&(a.clientX=a.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=s(t.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/>"}}),n}(t)).prototype,{drawTracker:e.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),i(a,"afterTranslate",(function(){this.applyJitter()})),n.registerSeriesType("scatter",a),a})),t(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(e,t,n){var a,r=e.deg2rad,i=n.isNumber,o=n.pick,s=n.relativeLength;return function(e){e.getCenter=function(){var e=this.options,n=this.chart,a=2*(e.slicedOffset||0),r=n.plotWidth-2*a,i=n.plotHeight-2*a,l=e.center,c=Math.min(r,i),u=e.size,d=e.innerSize||0;for("string"==typeof u&&(u=parseFloat(u)),"string"==typeof d&&(d=parseFloat(d)),e=[o(l[0],"50%"),o(l[1],"50%"),o(u&&0>u?void 0:e.size,"100%"),o(d&&0>d?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t||(e[3]=0),l=0;4>l;++l)u=e[l],n=2>l||2===l&&/%$/.test(u),e[l]=s(u,[r,i,c,e[2]][l])+(n?a:0);return e[3]>e[2]&&(e[3]=e[2]),e},e.getStartAndEndRadians=function(e,t){return e=i(e)?e:0,t=i(t)&&t>e&&360>t-e?t:e+360,{start:r*(e+-90),end:r*(t+-90)}}}(a||(a={})),a})),t(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=e.setAnimation,i=n.addEvent,o=n.defined;e=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelDistance=void 0,t.options=void 0,t.series=void 0,t}return a(t,e),t.prototype.getConnectorPath=function(){var e=this.labelPosition,t=this.series.options.dataLabels,n=this.connectorShapes,a=t.connectorShape;return n[a]&&(a=n[a]),a.call(this,{x:e.final.x,y:e.final.y,alignment:e.alignment},e.connectorPosition,t)},t.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},t.prototype.haloPath=function(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end})},t.prototype.init=function(){var t=this;e.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(e){t.slice("select"===e.type)};return i(this,"select",n),i(this,"unselect",n),this},t.prototype.isValid=function(){return s(this.y)&&0<=this.y},t.prototype.setVisible=function(e,t){var n=this,a=this.series,r=a.chart,i=a.options.ignoreHiddenPoint;t=l(t,i),e!==this.visible&&(this.visible=this.options.visible=e=void 0===e?!this.visible:e,a.options.data[a.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(t){n[t]&&n[t][e?"show":"hide"](e)})),this.legendItem&&r.legend.colorizeItem(this,e),e||"hover"!==this.state||this.setState(""),i&&(a.isDirty=!0),t&&r.redraw())},t.prototype.slice=function(e,t,n){var a=this.series;r(n,a.chart),l(t,!0),this.sliced=this.options.sliced=o(e)?e:!this.sliced,a.options.data[a.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},t}(t),e(t.prototype,{connectorShapes:{fixedOffset:function(e,t,n){var a=t.breakAt;return t=t.touchingSliceAt,[["M",e.x,e.y],n.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*a.x-t.x,2*a.y-t.y,a.x,a.y]:["L",a.x,a.y],["L",t.x,t.y]]},straight:function(e,t){return t=t.touchingSliceAt,[["M",e.x,e.y],["L",t.x,t.y]]},crookedLine:function(e,t,n){t=t.touchingSliceAt;var a=this.series,r=a.center[0],i=a.chart.plotWidth,o=a.chart.plotLeft;a=e.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",i="left"===a?r+s+(i+o-r-s)*(1-n):o+(r-s)*n,e.y],r=!0,("left"===a?i>e.x||i<t.x:i<e.x||i>t.x)&&(r=!1),e=[["M",e.x,e.y]],r&&e.push(n),e.push(["L",t.x,t.y]),e}}}),t})),t(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l){var c=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),u=e.getStartAndEndRadians;n=n.noop;var d=l.clamp,p=l.extend,m=l.fireEvent,b=l.merge,h=l.pick,f=l.relativeLength;return l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return c(t,e),t.prototype.animate=function(e){var t=this,n=t.points,a=t.startAngleRad;e||n.forEach((function(e){var n=e.graphic,r=e.shapeArgs;n&&r&&(n.attr({r:h(e.startR,t.center&&t.center[3]/2),start:a,end:a}),n.animate({r:r.r,start:r.start,end:r.end},t.options.animation))}))},t.prototype.drawEmpty=function(){var e=this.startAngleRad,t=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var a=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(a,r,this.center[1]/2,0,e,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(a,r,this.center[2]/2,0,{start:e,end:t,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},t.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach((function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)}))},t.prototype.generatePoints=function(){e.prototype.generatePoints.call(this),this.updateTotals()},t.prototype.getX=function(e,t,n){var a=this.center,r=this.radii?this.radii[n.index]||0:a[2]/2;return e=Math.asin(d((e-a[1])/(r+n.labelDistance),-1,1)),a[0]+(t?-1:1)*Math.cos(e)*(r+n.labelDistance)+(0<n.labelDistance?(t?-1:1)*this.options.dataLabels.padding:0)},t.prototype.hasData=function(){return!!this.processedXData.length},t.prototype.redrawPoints=function(){var e,t,n,a,r=this,i=r.chart,o=i.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||i.styledMode||(r.shadowGroup=o.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach((function(l){var c={};if(t=l.graphic,!l.isNull&&t){var u=void 0;a=l.shapeArgs,e=l.getTranslate(),i.styledMode||(u=l.shadowGroup,s&&!u&&(u=l.shadowGroup=o.g("shadow").add(r.shadowGroup)),u&&u.attr(e),n=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(t.setRadialReference(r.center).attr(a).attr(e),i.styledMode||t.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,u),l.delayedRendering=!1):(t.setRadialReference(r.center),i.styledMode||b(!0,c,n),b(!0,c,a,e),t.animate(c)),t.attr({visibility:l.visible?"inherit":"hidden"}),t.addClass(l.getClassName(),!0)}else t&&(l.graphic=t.destroy())}))},t.prototype.sortByAngle=function(e,t){e.sort((function(e,n){return void 0!==e.angle&&(n.angle-e.angle)*t}))},t.prototype.translate=function(e){this.generatePoints();var t=this.options,n=t.slicedOffset,a=n+(t.borderWidth||0),r=u(t.startAngle,t.endAngle),i=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-i;var o=this.points,s=t.dataLabels.distance;t=t.ignoreHiddenPoint;var l,c=o.length,d=0;for(e||(this.center=e=this.getCenter()),l=0;l<c;l++){var p=o[l],b=i+d*r;!p.isValid()||t&&!p.visible||(d+=p.percentage/100);var g=i+d*r,_={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:Math.round(1e3*b)/1e3,end:Math.round(1e3*g)/1e3};p.shapeType="arc",p.shapeArgs=_,p.labelDistance=h(p.options.dataLabels&&p.options.dataLabels.distance,s),p.labelDistance=f(p.labelDistance,_.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(g=(g+b)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},_=Math.cos(g)*e[2]/2;var y=Math.sin(g)*e[2]/2;p.tooltipPos=[e[0]+.7*_,e[1]+.7*y],p.half=g<-Math.PI/2||g>Math.PI/2?1:0,p.angle=g,b=Math.min(a,p.labelDistance/5),p.labelPosition={natural:{x:e[0]+_+Math.cos(g)*p.labelDistance,y:e[1]+y+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+_+Math.cos(g)*b,y:e[1]+y+Math.sin(g)*b},touchingSliceAt:{x:e[0]+_,y:e[1]+y}}}}m(this,"afterTranslate")},t.prototype.updateTotals=function(){var e,t=this.points,n=t.length,a=this.options.ignoreHiddenPoint,r=0;for(e=0;e<n;e++){var i=t[e];!i.isValid()||a&&!i.visible||(r+=i.y)}for(this.total=r,e=0;e<n;e++)(i=t[e]).percentage=0<r&&(i.visible||!a)?i.y/r*100:0,i.total=r},t.defaultOptions=b(i.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}}}),t}(i),p(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:a.drawRectangle,drawTracker:t.prototype.drawTracker,getCenter:e.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:t.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("pie",l),l})),t(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,a,r){var i,o=t.noop,s=n.distribute,l=a.series,c=r.arrayMax,u=r.clamp,d=r.defined,p=r.merge,m=r.pick,b=r.relativeLength;return function(t){function n(){var e,t,n,a,r,i,o,u,b,h,f,g,_=this,y=_.data,M=_.chart,v=_.options.dataLabels||{},z=v.connectorPadding,O=M.plotWidth,k=M.plotHeight,A=M.plotLeft,x=Math.round(M.chartWidth/3),w=_.center,N=w[2]/2,q=w[1],E=[[],[]],j=[0,0,0,0],W=_.dataLabelPositioners;_.visible&&(v.enabled||_._hasPointLabels)&&(y.forEach((function(e){e.dataLabel&&e.visible&&e.dataLabel.shortened&&(e.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),e.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(_),y.forEach((function(e){e.dataLabel&&(e.visible?(E[e.half].push(e),e.dataLabel._pos=null,!d(v.style.width)&&!d(e.options.dataLabels&&e.options.dataLabels.style&&e.options.dataLabels.style.width)&&e.dataLabel.getBBox().width>x&&(e.dataLabel.css({width:Math.round(.7*x)+"px"}),e.dataLabel.shortened=!0)):(e.dataLabel=e.dataLabel.destroy(),e.dataLabels&&1===e.dataLabels.length&&delete e.dataLabels))})),E.forEach((function(t,n){var l,c=t.length,p=[];if(c){if(_.sortByAngle(t,n-.5),0<_.maxLabelDistance){var y=Math.max(0,q-N-_.maxLabelDistance),x=Math.min(q+N+_.maxLabelDistance,M.plotHeight);t.forEach((function(e){0<e.labelDistance&&e.dataLabel&&(e.top=Math.max(0,q-N-e.labelDistance),e.bottom=Math.min(q+N+e.labelDistance,M.plotHeight),l=e.dataLabel.getBBox().height||21,e.distributeBox={target:e.labelPosition.natural.y-e.top+l/2,size:l,rank:e.y},p.push(e.distributeBox))})),s(p,y=x+l-y,y/5)}for(f=0;f<c;f++){if(e=t[f],i=e.labelPosition,a=e.dataLabel,h=!1===e.visible?"hidden":"inherit",b=y=i.natural.y,p&&d(e.distributeBox)&&(void 0===e.distributeBox.pos?h="hidden":(o=e.distributeBox.size,b=W.radialDistributionY(e))),delete e.positionIndex,v.justify)u=W.justify(e,N,w);else switch(v.alignTo){case"connectors":u=W.alignToConnectors(t,n,O,A);break;case"plotEdges":u=W.alignToPlotEdges(a,n,O,A);break;default:u=W.radialDistributionX(_,e,b,y)}a._attr={visibility:h,align:i.alignment},g=e.options.dataLabels||{},a._pos={x:u+m(g.x,v.x)+({left:z,right:-z}[i.alignment]||0),y:b+m(g.y,v.y)-10},i.final.x=u,i.final.y=b,m(v.crop,!0)&&(r=a.getBBox().width,y=null,u-r<z&&1===n?(y=Math.round(r-u+z),j[3]=Math.max(y,j[3])):u+r>O-z&&0===n&&(y=Math.round(u+r-O+z),j[1]=Math.max(y,j[1])),0>b-o/2?j[0]=Math.max(Math.round(o/2-b),j[0]):b+o/2>k&&(j[2]=Math.max(Math.round(b+o/2-k),j[2])),a.sideOverflow=y)}}})),0===c(j)||this.verifyDataLabelOverflow(j))&&(this.placeDataLabels(),this.points.forEach((function(e){var r;(g=p(v,e.options.dataLabels),t=m(g.connectorWidth,1))&&(n=e.connector,(a=e.dataLabel)&&a._pos&&e.visible&&0<e.labelDistance?(h=a._attr.visibility,(r=!n)&&(e.connector=n=M.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(_.dataLabelsGroup),M.styledMode||n.attr({"stroke-width":t,stroke:g.connectorColor||e.color||"#666666"})),n[r?"attr":"animate"]({d:e.getConnectorPath()}),n.attr("visibility",h)):n&&(e.connector=n.destroy()))})))}function a(){this.points.forEach((function(e){var t,n=e.dataLabel;n&&e.visible&&((t=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](t),n.moved=!0):n&&n.attr({y:-9999})),delete e.distributeBox}),this)}function r(e){var t=this.center,n=this.options,a=n.center,r=n.minSize||80,i=null!==n.size;if(!i){if(null!==a[0])var o=Math.max(t[2]-Math.max(e[1],e[3]),r);else o=Math.max(t[2]-e[1]-e[3],r),t[0]+=(e[3]-e[1])/2;null!==a[1]?o=u(o,r,t[2]-Math.max(e[0],e[2])):(o=u(o,r,t[2]-e[0]-e[2]),t[1]+=(e[0]-e[2])/2),o<t[2]?(t[2]=o,t[3]=Math.min(b(n.innerSize||0,o),o),this.translate(t),this.drawDataLabels&&this.drawDataLabels()):i=!0}return i}var i=[],h={radialDistributionY:function(e){return e.top+e.distributeBox.pos},radialDistributionX:function(e,t,n,a){return e.getX(n<t.top+2||n>t.bottom-2?a:n,t.half,t)},justify:function(e,t,n){return n[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,n,a){return e=e.getBBox().width,t?e+a:n-e-a},alignToConnectors:function(e,t,n,a){var r,i=0;return e.forEach((function(e){(r=e.dataLabel.getBBox().width)>i&&(i=r)})),t?i+a:n-i-a}};t.compose=function(t){e.compose(l),-1===i.indexOf(t)&&(i.push(t),(t=t.prototype).dataLabelPositioners=h,t.alignDataLabel=o,t.drawDataLabels=n,t.placeDataLabels=a,t.verifyDataLabelOverflow=r)}}(i||(i={})),i})),t(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(e,t){function n(e,t){var n=!1;if(e){var a=e.newOpacity;e.oldOpacity!==a&&(e.alignAttr&&e.placed?(e[a?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,e.alignAttr.opacity=a,e[e.isOld?"animate":"attr"](e.alignAttr,null,(function(){t.styledMode||e.css({pointerEvents:a?"auto":"none"})})),r(t,"afterHideOverlappingLabel")):e.attr({opacity:a})),e.isOld=!0}return n}var a=t.addEvent,r=t.fireEvent,i=t.isArray,o=t.isNumber,s=t.objectEach,l=t.pick;a(e,"render",(function(){var e=this,t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&s(e.stacking.stacks,(function(e){s(e,(function(e){e.label&&"hidden"!==e.label.visibility&&t.push(e.label)}))}))})),(this.series||[]).forEach((function(a){var r=a.options.dataLabels;a.visible&&(!1!==r.enabled||a._hasPointLabels)&&((r=function(a){return a.forEach((function(a){a.visible&&(i(a.dataLabels)?a.dataLabels:a.dataLabel?[a.dataLabel]:[]).forEach((function(r){var i=r.options;r.labelrank=l(i.labelrank,a.labelrank,a.shapeArgs&&a.shapeArgs.height),i.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,e)):t.push(r)}))}))})(a.nodes||[]),r(a.points))})),this.hideOverlappingLabels(t)})),e.prototype.hideOverlappingLabels=function(e){var t,a,i,s=this,l=e.length,c=s.renderer,u=!1,d=function(e){var t,n,a=e.box?0:e.padding||0,r=t=0;if(e&&(!e.alignAttr||e.placed)){var i=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},s=e.parentGroup;e.width||(t=e.getBBox(),e.width=t.width,e.height=t.height,t=c.fontMetrics(null,e.element).h);var l=e.width-2*a;return(n={left:"0",center:"0.5",right:"1"}[e.alignValue])?r=+n*l:o(e.x)&&Math.round(e.x)!==e.translateX&&(r=e.x-e.translateX),{x:i.x+(s.translateX||0)+a-(r||0),y:i.y+(s.translateY||0)+a-t,width:e.width-2*a,height:e.height-2*a}}};for(a=0;a<l;a++)(t=e[a])&&(t.oldOpacity=t.opacity,t.newOpacity=1,t.absoluteBox=d(t));for(e.sort((function(e,t){return(t.labelrank||0)-(e.labelrank||0)})),a=0;a<l;a++){var p=(d=e[a])&&d.absoluteBox;for(t=a+1;t<l;++t){var m=(i=e[t])&&i.absoluteBox;!p||!m||d===i||0===d.newOpacity||0===i.newOpacity||m.x>=p.x+p.width||m.x+m.width<=p.x||m.y>=p.y+p.height||m.y+m.height<=p.y||((d.labelrank<i.labelrank?d:i).newOpacity=0)}}e.forEach((function(e){n(e,s)&&(u=!0)})),u&&r(s,"afterHideAllOverlappingLabels")}})),t(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.extend,a=e.find,r=e.isArray,i=e.isObject,o=e.merge,s=e.objectEach,l=e.pick,c=e.splat,u=e.uniqueKey;return function(e){var t=[];e.compose=function(e){return-1===t.indexOf(e)&&(t.push(e),n(e.prototype,d.prototype)),e};var d=function(){function e(){}return e.prototype.currentOptions=function(e){var t=this,n={};return function e(n,a,o,l){var u;s(n,(function(n,s){if(!l&&-1<t.collectionsWithUpdate.indexOf(s)&&a[s])for(n=c(n),o[s]=[],u=0;u<Math.max(n.length,a[s].length);u++)a[s][u]&&(void 0===n[u]?o[s][u]=a[s][u]:(o[s][u]={},e(n[u],a[s][u],o[s][u],l+1)));else i(n)?(o[s]=r(n)?[]:{},e(n,a[s]||{},o[s],l+1)):o[s]=void 0===a[s]?null:a[s]}))}(e,this.options,n,0),n},e.prototype.matchResponsiveRule=function(e,t){var n=e.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&t.push(e._id)},e.prototype.setResponsive=function(e,t){var n=this,r=this.options.responsive,i=this.currentResponsive,s=[];!t&&r&&r.rules&&r.rules.forEach((function(e){void 0===e._id&&(e._id=u()),n.matchResponsiveRule(e,s)}),this),(t=o.apply(void 0,s.map((function(e){return a((r||{}).rules||[],(function(t){return t._id===e}))})).map((function(e){return e&&e.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(i&&i.ruleIds)&&(i&&this.update(i.undoOptions,e,!0),s?((i=this.currentOptions(t)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:t,undoOptions:i},this.update(t,e,!0)):this.currentResponsive=void 0)},e}()}(t||(t={})),t})),t(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(e,t,n,a,r,i,o,s,l,c,u,d,p,m,b,h,f,g,_,y,M,v,z,O,k,A,x,w,N,q,E,j,W){return e.animate=r.animate,e.animObject=r.animObject,e.getDeferredAnimation=r.getDeferredAnimation,e.setAnimation=r.setAnimation,e.stop=r.stop,e.timers=a.timers,e.AST=i,e.Axis=p,e.Chart=z,e.chart=z.chart,e.Fx=a,e.Legend=v,e.PlotLineOrBand=h,e.Point=_,e.Pointer=M.isRequired()?M:y,e.Series=O,e.SVGElement=l,e.SVGRenderer=c,e.Tick=f,e.Time=W,e.Tooltip=g,e.Color=j,e.color=j.parse,d.compose(c),u.compose(l),e.defaultOptions=n.defaultOptions,e.getOptions=n.getOptions,e.time=n.defaultTime,e.setOptions=n.setOptions,e.dateFormat=o.dateFormat,e.format=o.format,e.numberFormat=o.numberFormat,e.addEvent=t.addEvent,e.arrayMax=t.arrayMax,e.arrayMin=t.arrayMin,e.attr=t.attr,e.clearTimeout=t.clearTimeout,e.correctFloat=t.correctFloat,e.createElement=t.createElement,e.css=t.css,e.defined=t.defined,e.destroyObjectProperties=t.destroyObjectProperties,e.discardElement=t.discardElement,e.distribute=s.distribute,e.erase=t.erase,e.error=t.error,e.extend=t.extend,e.extendClass=t.extendClass,e.find=t.find,e.fireEvent=t.fireEvent,e.getMagnitude=t.getMagnitude,e.getStyle=t.getStyle,e.inArray=t.inArray,e.isArray=t.isArray,e.isClass=t.isClass,e.isDOMElement=t.isDOMElement,e.isFunction=t.isFunction,e.isNumber=t.isNumber,e.isObject=t.isObject,e.isString=t.isString,e.keys=t.keys,e.merge=t.merge,e.normalizeTickInterval=t.normalizeTickInterval,e.objectEach=t.objectEach,e.offset=t.offset,e.pad=t.pad,e.pick=t.pick,e.pInt=t.pInt,e.relativeLength=t.relativeLength,e.removeEvent=t.removeEvent,e.seriesType=k.seriesType,e.splat=t.splat,e.stableSort=t.stableSort,e.syncTimeout=t.syncTimeout,e.timeUnits=t.timeUnits,e.uniqueKey=t.uniqueKey,e.useSerialIds=t.useSerialIds,e.wrap=t.wrap,x.compose(A),q.compose(O),m.compose(p),b.compose(p),N.compose(w),h.compose(p),E.compose(z),e})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return B})),n.d(t,"c",(function(){return ae})),n.d(t,"d",(function(){return J})),n.d(t,"e",(function(){return K})),n.d(t,"f",(function(){return ie})),n.d(t,"g",(function(){return Z})),n.d(t,"h",(function(){return re})),n.d(t,"i",(function(){return oe})),n.d(t,"j",(function(){return F})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return N})),n.d(t,"m",(function(){return ee})),n.d(t,"n",(function(){return x})),n.d(t,"o",(function(){return S})),n.d(t,"p",(function(){return le})),n.d(t,"q",(function(){return ce})),n.d(t,"r",(function(){return ue})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return fe})),n.d(t,"u",(function(){return ge})),n.d(t,"v",(function(){return _e})),n.d(t,"w",(function(){return I})),n.d(t,"x",(function(){return Me})),n.d(t,"y",(function(){return P})),n.d(t,"z",(function(){return ye}));var a=n(56),r=n(21),i=n(44),o=n(34),s=n(35),l=n(36),c=n(37),u=n(38),d=n(4),p=n(6),m=n(0),b=n(20),h=n(28),f=n(14),g=n.n(f),_=n(49),y=n(29),M=n(61),v=n(97),z=n(98),O=n.n(z);function k(e){var t=e.maxHeight,n=e.menuEl,a=e.minHeight,r=e.placement,i=e.shouldScroll,o=e.isFixedPosition,s=e.theme.spacing,l=Object(y.a)(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=l.getBoundingClientRect().height,d=n.getBoundingClientRect(),p=d.bottom,m=d.height,b=d.top,h=n.offsetParent.getBoundingClientRect().top,f=window.innerHeight,g=Object(y.b)(l),_=parseInt(getComputedStyle(n).marginBottom,10),M=parseInt(getComputedStyle(n).marginTop,10),v=h-M,z=f-b,O=v+g,k=u-g-b,A=p-f+g+_,x=g+b-M;switch(r){case"auto":case"bottom":if(z>=m)return{placement:"bottom",maxHeight:t};if(k>=m&&!o)return i&&Object(y.c)(l,A,160),{placement:"bottom",maxHeight:t};if(!o&&k>=a||o&&z>=a)return i&&Object(y.c)(l,A,160),{placement:"bottom",maxHeight:o?z-_:k-_};if("auto"===r||o){var w=t,N=o?v:O;return N>=a&&(w=Math.min(N-_-s.controlHeight,t)),{placement:"top",maxHeight:w}}if("bottom"===r)return Object(y.m)(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(v>=m)return{placement:"top",maxHeight:t};if(O>=m&&!o)return i&&Object(y.c)(l,x,160),{placement:"top",maxHeight:t};if(!o&&O>=a||o&&v>=a){var q=t;return(!o&&O>=a||o&&v>=a)&&(q=o?v-M:O-M),i&&Object(y.c)(l,x,160),{placement:"top",maxHeight:q}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var A=function(e){return"auto"===e?"bottom":e},x=function(e){var t,n=e.placement,a=e.theme,r=a.borderRadius,i=a.spacing,o=a.colors;return t={label:"menu"},Object(p.a)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),Object(p.a)(t,"backgroundColor",o.neutral0),Object(p.a)(t,"borderRadius",r),Object(p.a)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Object(p.a)(t,"marginBottom",i.menuGutter),Object(p.a)(t,"marginTop",i.menuGutter),Object(p.a)(t,"position","absolute"),Object(p.a)(t,"width","100%"),Object(p.a)(t,"zIndex",1),t},w=function(e){function t(){var e,n;Object(o.a)(this,t);for(var a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];return n=Object(l.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r))),Object(p.a)(Object(d.a)(Object(d.a)(n)),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),Object(p.a)(Object(d.a)(Object(d.a)(n)),"getPlacement",(function(e){var t=n.props,a=t.minMenuHeight,r=t.maxMenuHeight,i=t.menuPlacement,o=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,c=n.context.getPortalPlacement;if(e){var u="fixed"===o,d=k({maxHeight:r,menuEl:e,minHeight:a,placement:i,shouldScroll:s&&!u,isFixedPosition:u,theme:l});c&&c(d),n.setState(d)}})),Object(p.a)(Object(d.a)(Object(d.a)(n)),"getUpdatedProps",(function(){var e=n.props.menuPlacement,t=n.state.placement||A(e);return Object(i.a)({},n.props,{placement:t,maxHeight:n.state.maxHeight})})),n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(m.Component);Object(p.a)(w,"contextTypes",{getPortalPlacement:g.a.func});var N=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},q=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},E=q,j=q,W=function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},o),t)};W.defaultProps={children:"No options"};var L=function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},o),t)};L.defaultProps={children:"Loading..."};var S=function(e){var t=e.rect,n=e.offset,a=e.position;return{left:t.left,position:a,top:n,width:t.width,zIndex:1}},T=function(e){function t(){var e,n;Object(o.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(l.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r))),Object(p.a)(Object(d.a)(Object(d.a)(n)),"state",{placement:null}),Object(p.a)(Object(d.a)(Object(d.a)(n)),"getPortalPlacement",(function(e){var t=e.placement;t!==A(n.props.menuPlacement)&&n.setState({placement:t})})),n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,a=e.controlElement,r=e.menuPlacement,i=e.menuPosition,o=e.getStyles,s="fixed"===i;if(!t&&!s||!a)return null;var l=this.state.placement||A(r),c=Object(y.g)(a),u=s?0:window.pageYOffset,d={offset:c[l]+u,position:i,rect:c},p=Object(b.c)("div",{css:o("menuPortal",d)},n);return t?Object(h.createPortal)(p,t):p}}]),t}(m.Component);Object(p.a)(T,"childContextTypes",{getPortalPlacement:g.a.func});var C=Array.isArray,R=Object.keys,D=Object.prototype.hasOwnProperty;function P(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==Object(_.a)(t)&&"object"==Object(_.a)(n)){var a,r,i,o=C(t),s=C(n);if(o&&s){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(o!=s)return!1;var l=t instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,d=n instanceof RegExp;if(u!=d)return!1;if(u&&d)return t.toString()==n.toString();var p=R(t);if((r=p.length)!==R(n).length)return!1;for(a=r;0!=a--;)if(!D.call(n,p[a]))return!1;for(a=r;0!=a--;)if(!("_owner"===(i=p[a])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}var B=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},I=function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},$=function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,a=e.cx,r=e.isMulti,i=e.getStyles,o=e.hasValue;return Object(b.c)("div",{css:i("valueContainer",this.props),className:a({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o},n)},t)}}]),t}(m.Component),F=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};function X(){var e=Object(v.a)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return X=function(){return e},e}var Y={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},H=function(e){var t=e.size,n=Object(a.a)(e,["size"]);return Object(b.c)("svg",Object(r.a)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Y},n))},U=function(e){return Object(b.c)(H,Object(r.a)({size:20},e),Object(b.c)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},V=function(e){return Object(b.c)(H,Object(r.a)({size:20},e),Object(b.c)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},G=function(e){var t=e.isFocused,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*a,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},K=G,J=G,Z=function(e){var t=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*a,marginTop:2*a,width:1}},Q=Object(b.d)(X()),ee=function(e){var t=e.isFocused,n=e.size,a=e.theme,r=a.colors,i=a.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},te=function(e){var t=e.delay,n=e.offset;return Object(b.c)("span",{css:Object(M.a)({animation:"".concat(Q," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},ne=function(e){var t=e.className,n=e.cx,a=e.getStyles,i=e.innerProps,o=e.isRtl;return Object(b.c)("div",Object(r.a)({},i,{css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),Object(b.c)(te,{delay:0,offset:o}),Object(b.c)(te,{delay:160,offset:!0}),Object(b.c)(te,{delay:320,offset:!o}))};ne.defaultProps={size:4};var ae=function(e){var t=e.isDisabled,n=e.isFocused,a=e.theme,r=a.colors,i=a.borderRadius,o=a.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(r.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},re=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},ie=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},oe=function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:r.neutral80}},se=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},le=function(e){var t=e.theme,n=t.spacing,a=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},ce=function(e){var t=e.theme,n=t.borderRadius,a=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},ue=function(e){var t=e.theme,n=t.spacing,a=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:a/2,backgroundColor:e.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},de=function(e){var t=e.children,n=e.innerProps;return Object(b.c)("div",n,t)},pe=de,me=de,be=function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.innerProps;return Object(b.c)("div",n,t||Object(b.c)(U,{size:14}))}}]),t}(m.Component),he=function(e){function t(){return Object(o.a)(this,t),Object(l.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.children,a=t.className,r=t.components,o=t.cx,s=t.data,l=t.getStyles,c=t.innerProps,u=t.isDisabled,d=t.removeProps,p=t.selectProps,m=r.Container,h=r.Label,f=r.Remove;return Object(b.c)(b.b,null,(function(t){var r=t.css,g=t.cx;return Object(b.c)(m,{data:s,innerProps:Object(i.a)({},c,{className:g(r(l("multiValue",e.props)),o({"multi-value":!0,"multi-value--is-disabled":u},a))}),selectProps:p},Object(b.c)(h,{data:s,innerProps:{className:g(r(l("multiValueLabel",e.props)),o({"multi-value__label":!0},a))},selectProps:p},n),Object(b.c)(f,{data:s,innerProps:Object(i.a)({className:g(r(l("multiValueRemove",e.props)),o({"multi-value__remove":!0},a))},d),selectProps:p}))}))}}]),t}(m.Component);Object(p.a)(he,"defaultProps",{cropWithEllipsis:!0});var fe=function(e){var t=e.isDisabled,n=e.isFocused,a=e.isSelected,r=e.theme,i=r.spacing,o=r.colors;return{label:"option",backgroundColor:a?o.primary:n?o.primary25:"transparent",color:t?o.neutral20:a?o.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(a?o.primary:o.primary50)}}},ge=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},_e=function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"calc(100% - ".concat(2*a.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},ye={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({},o,{css:i("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)}),t||Object(b.c)(U,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,i=e.className,o=e.isDisabled,s=e.isFocused,l=e.innerRef,c=e.innerProps,u=e.menuIsOpen;return Object(b.c)("div",Object(r.a)({ref:l,css:a("control",e),className:n({control:!0,"control--is-disabled":o,"control--is-focused":s,"control--menu-is-open":u},i)},c),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({},o,{css:i("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)}),t||Object(b.c)(V,null))},DownChevron:V,CrossIcon:U,Group:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.Heading,s=e.headingProps,l=e.label,c=e.theme,u=e.selectProps;return Object(b.c)("div",{css:i("group",e),className:a({group:!0},n)},Object(b.c)(o,Object(r.a)({},s,{selectProps:u,theme:c,getStyles:i,cx:a}),l),Object(b.c)("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,o=e.getStyles,s=e.theme,l=(e.selectProps,Object(a.a)(e,["className","cx","getStyles","theme","selectProps"]));return Object(b.c)("div",Object(r.a)({css:o("groupHeading",Object(i.a)({theme:s},l)),className:n({"group-heading":!0},t)},l))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles;return Object(b.c)("div",{css:r("indicatorsContainer",e),className:a({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,i=e.innerProps;return Object(b.c)("span",Object(r.a)({},i,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,o=e.getStyles,s=e.innerRef,l=e.isHidden,c=e.isDisabled,u=e.theme,d=(e.selectProps,Object(a.a)(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return Object(b.c)("div",{css:o("input",Object(i.a)({theme:u},d))},Object(b.c)(O.a,Object(r.a)({className:n({input:!0},t),inputRef:s,inputStyle:se(l),disabled:c},d)))},LoadingIndicator:ne,Menu:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerRef,s=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("menu",e),className:a({menu:!0},n)},s,{ref:o}),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,i=e.isMulti,o=e.innerRef;return Object(b.c)("div",{css:r("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":i},n),ref:o},t)},MenuPortal:T,LoadingMessage:L,NoOptionsMessage:W,MultiValue:he,MultiValueContainer:pe,MultiValueLabel:me,MultiValueRemove:be,Option:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.isDisabled,s=e.isFocused,l=e.isSelected,c=e.innerRef,u=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("option",e),className:a({option:!0,"option--is-disabled":o,"option--is-focused":s,"option--is-selected":l},n),ref:c},u),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("placeholder",e),className:a({placeholder:!0},n)},o),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.innerProps,s=e.isDisabled,l=e.isRtl;return Object(b.c)("div",Object(r.a)({css:i("container",e),className:a({"--is-disabled":s,"--is-rtl":l},n)},o),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,i=e.getStyles,o=e.isDisabled,s=e.innerProps;return Object(b.c)("div",Object(r.a)({css:i("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":o},n)},s),t)},ValueContainer:$},Me=function(e){return Object(i.a)({},ye,e.components)}},function(e,n){e.exports=t},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return g})),n.d(t,"j",(function(){return o})),n.d(t,"k",(function(){return l})),n.d(t,"l",(function(){return r})),n.d(t,"m",(function(){return d}));var a=n(49),r=function(){};function i(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function o(e,t,n){var a=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&a.push("".concat(i(e,r)));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var s=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===Object(a.a)(e)&&null!==e?[e]:[]};function l(e,t,n){if(n){var a=n(e,t);if("string"==typeof a)return a}return e}function c(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function u(e){return c(e)?window.pageYOffset:e.scrollTop}function d(e,t){c(e)?window.scrollTo(0,t):e.scrollTop=t}function p(e){var t=getComputedStyle(e),n="absolute"===t.position,a=/(auto|scroll)/,r=document.documentElement;if("fixed"===t.position)return r;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&a.test(t.overflow+t.overflowY+t.overflowX))return i;return r}function m(e,t,n,a){return n*((e=e/a-1)*e*e+1)+t}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r,i=u(e),o=t-i,s=10,l=0;function c(){var t=m(l+=s,i,o,n);d(e,t),l<n?window.requestAnimationFrame(c):a(e)}c()}function h(e,t){var n=e.getBoundingClientRect(),a=t.getBoundingClientRect(),r=t.offsetHeight/3;a.bottom+r>n.bottom?d(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r<n.top&&d(e,Math.max(t.offsetTop-r,0))}function f(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function g(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function _(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(53),l=n(2),c=n(5),u=n(17);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,d=e.className,p=e.dark,m=void 0!==p&&p,b=e.data,h=void 0===b?{}:b,f=e.text,g=e.timestamp,_=e.timezone,y=e.showDate,M=void 0===y||y,v=e.showUser,z=void 0!==v&&v,O=e.hideUpdated,k=void 0!==O&&O,A=e.showTimezone,x=void 0!==A&&A,w=e.variant,N=void 0===w?"default":w,q=Object(l.a)(i),E=Object(l.c)(h),j=o()(Object(l.b)("pb_timestamp_kit",n,{dark:m,variant:N}),Object(c.c)(e),d),W=(new Date).getFullYear().toString(),L=new s.a({value:g,zone:_}),S="".concat(L.toMonth()," ").concat(L.toDay()),T=1==z&&f.length>0,C=1==x&&_.length>0,R=k?"":"Last updated",D=T?" by ".concat(f):"",P="".concat(L.toHour(),":").concat(L.toMinute()).concat(L.toMeridian()),B=function(){return C&&(P="".concat(P," ").concat(L.toTimezone())),P};return r.a.createElement("div",Object.assign({},q,E,{className:j}),r.a.createElement("div",{className:"pb_timestamp_kit"},r.a.createElement(u.a,{dark:m,size:"xs",text:function(){switch(N){case"updated":return"Last updated ".concat(D," on ").concat(S," at ").concat(P);case"elapsed":return"".concat(R," ").concat(D," ").concat(L.value.fromNow());default:return M?g?(e="".concat(L.toMonth()," ").concat(L.toDay()),L.toYear()!==W&&(e="".concat(e,", ").concat(L.toYear())),"".concat(e," "," · "," ").concat(B())):f:B()}var e}()})))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=function(e){var t,n=e.aria,a=void 0===n?{}:n,i=e.children,c=e.className,u=e.collapse,d=void 0===u?"md":u,p=e.dark,m=void 0!==p&&p,b=e.data,h=void 0===b?{}:b,f=e.full,g=void 0!==f&&f,_=e.position,y=void 0===_?"left":_,M=e.responsive,v=void 0!==M&&M,z=e.size,O=void 0===z?"md":z,k=e.layout,A=void 0===k?"sidebar":k,x=e.variant,w=void 0===x?"light":x,N=e.transparent,q=void 0!==N&&N,E=v?"_responsive":"",j=Object(s.a)(a),W=Object(s.c)(h),L="collection"==A?"pb_layout_kit_".concat(A):"kanban"==A?"pb_layout_kit_".concat(A).concat(E):Object(s.b)("pb_layout_kit_".concat(A),"size_".concat(O),y,w,{dark:m,transparent:q,full:g}),S="collection"==A||"kanban"==A?"":Object(s.b)("layout",y,"collapse",d),T=r.a.Children.toArray(i),C=T.filter((function(e){var t;return"Side"!==(null===(t=e.type)||void 0===t?void 0:t.displayName)})),R=Object.assign({},e);return null==R||delete R.position,r.a.createElement("div",Object.assign({},j,W,{className:o()(L,S,c,Object(l.c)(R))}),(t="Side",T.filter((function(e){var n;return(null===(n=e.type)||void 0===n?void 0:n.displayName)===t})).map((function(e,n){return r.a.cloneElement(e,{key:"".concat(t.toLowerCase(),"-").concat(n)})}))),C)};c.Side=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_sidebar",Object(l.c)(e),n)},t)},c.Body=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_body",Object(l.c)(e),n)},t)},c.Item=function(e){var t=e.children,n=e.className,a=e.size,i="size_".concat(void 0===a?"sm":a);return r.a.createElement("div",{className:o()("layout_item",i,Object(l.c)(e),n)},t)},c.Header=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_header",Object(l.c)(e),n)},t)},c.Footer=function(e){var t=e.children,n=e.className;return r.a.createElement("div",{className:o()("layout_footer",Object(l.c)(e),n)},t)},t.a=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));var a=Math.max,r=Math.min,i=Math.round},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(42),u=n(122);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.className,p=e.data,m=void 0===p?{}:p,b=e.name,h=void 0===b?null:b,f=e.id,g=void 0===f?"":f,_=e.imageAlt,y=void 0===_?"":_,M=e.imageUrl,v=e.size,z=void 0===v?"md":v,O=e.status,k=void 0===O?null:O,A=e.dark,x=void 0!==A&&A,w=Object(s.c)(m),N=Object(s.a)(n),q=o()(Object(s.b)("pb_avatar_kit","size_".concat(z)),Object(l.c)(e),i),E=h&&function(e){return e.split(/\s/).map((function(e){return e[0]})).join("").substring(0,2)}(h);w["data-initials"]=E;var j=d(Object(a.useState)(!1),2),W=j[0],L=j[1],S=M&&!W;return r.a.createElement("div",Object.assign({},N,w,{className:q,id:g}),r.a.createElement("div",{className:"avatar_wrapper","data-initials":E},S&&r.a.createElement(c.a,{alt:y||h,onError:function(){return L(!0)},url:M})),k&&r.a.createElement(u.a,{className:"size_".concat(z),dark:x,status:k}))}},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(145);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Object(a.a)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(49),r=n(4);function i(e,t){if(t&&("object"===Object(a.a)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(r.a)(e)}},function(e,t,n){"use strict";function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(143);function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(a.a)(e,t)}},function(e,t,n){"use strict";function a(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(157),u=n(8),d=n(17),p=n(13);t.a=function(e){e.plugins&&Object(l.a)("Date Picker",["plugins"]);var t=e.allowInput,n=void 0!==t&&t,i=e.aria,m=void 0===i?{}:i,b=e.className,h=e.dark,f=void 0!==h&&h,g=e.data,_=void 0===g?{}:g,y=e.defaultDate,M=void 0===y?"":y,v=e.disableDate,z=void 0===v?null:v,O=e.disableInput,k=e.disableRange,A=void 0===k?null:k,x=e.disableWeekdays,w=void 0===x?null:x,N=e.enableTime,q=void 0!==N&&N,E=e.error,j=e.format,W=void 0===j?"m/d/Y":j,L=e.hideIcon,S=void 0!==L&&L,T=e.hideLabel,C=void 0!==T&&T,R=e.id,D=e.inLine,P=void 0!==D&&D,B=e.inputAria,I=void 0===B?{}:B,$=e.inputData,F=void 0===$?{}:$,X=e.inputOnChange,Y=e.inputValue,H=e.label,U=void 0===H?"Date Picker":H,V=e.maxDate,G=e.minDate,K=e.mode,J=void 0===K?"single":K,Z=e.name,Q=e.onChange,ee=void 0===Q?function(){}:Q,te=e.onClose,ne=e.pickerId,ae=e.placeholder,re=void 0===ae?"Select Date":ae,ie=e.plugins,oe=void 0!==ie&&ie,se=e.position,le=e.positionElement,ce=e.scrollContainer,ue=e.selectionType,de=void 0===ue?"":ue,pe=e.showTimezone,me=void 0!==pe&&pe,be=e.staticPosition,he=void 0===be||be,fe=e.yearRange,ge=void 0===fe?[1900,2100]:fe,_e=Object(s.a)(m),ye=Object(s.c)(_),Me=Object(s.a)(I),ve=Object(s.c)(F),ze=Object.assign({},e);null==ze||delete ze.position;var Oe=o()(Object(s.b)("pb_date_picker_kit"),Object(l.c)(ze),E?"error":null,b);Object(a.useEffect)((function(){Object(c.a)({allowInput:n,defaultDate:M,disableDate:z,disableRange:A,disableWeekdays:w,enableTime:q,format:W,hideIcon:S,inLine:P,maxDate:V,minDate:G,mode:J,onChange:ee,onClose:te,pickerId:ne,plugins:oe,position:se,positionElement:le,selectionType:de,showTimezone:me,staticPosition:he,yearRange:ge,required:!1},ce)}));var ke=function(){var e="cal_icon_wrapper";return f&&(e+=" dark"),C&&(e+=" no_label_shift"),E&&(e+=" error"),e};return r.a.createElement("div",Object.assign({},_e,ye,{className:Oe,id:R}),r.a.createElement("div",Object.assign({},Me,ve,{className:"input_wrapper"}),r.a.createElement(d.a,{className:"pb_date_picker_kit_label",text:C?null:U}),r.a.createElement("div",{className:"date_picker_input_wrapper"},r.a.createElement("input",{autoComplete:"off",className:"date_picker_input",disabled:O,id:ne,name:Z,onChange:X,placeholder:re,value:Y}),E&&r.a.createElement(p.a,{status:"negative",text:E,variant:null})),!S&&r.a.createElement("div",{className:ke(),id:"cal-icon-".concat(ne)},r.a.createElement(u.a,{className:"cal_icon",icon:"calendar-alt"})),S&&P?r.a.createElement("div",null,r.a.createElement("div",{className:ke(),id:"".concat(ne,"-icon-plus")},r.a.createElement(u.a,{className:"date-picker-plus-icon",icon:"plus"})),r.a.createElement("div",{className:ke(),id:"".concat(ne,"-angle-down")},r.a.createElement(u.a,{className:"angle_down_icon",icon:"angle-down"}))):null))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(11),u=n(18),d=n(17),p=n(13),m=n(8),b=function(e,t){var n=e.addOn,a=void 0===n?{icon:null,alignment:"right",border:!0}:n,i=e.aria,b=void 0===i?{}:i,h=e.className,f=e.dark,g=void 0!==f&&f,_=e.data,y=void 0===_?{}:_,M=e.disabled,v=e.error,z=e.id,O=e.inline,k=void 0!==O&&O,A=e.name,x=e.label,w=e.onChange,N=void 0===w?function(){}:w,q=e.placeholder,E=e.required,j=e.type,W=void 0===j?"text":j,L=e.value,S=void 0===L?"":L,T=e.children,C=void 0===T?null:T,R=Object(l.a)(b),D=Object(l.c)(y),P=a.alignment,B=a.border,I=a.icon,$="left"===P?"left":"right",F=!1===B?"off":"on",X="border_".concat("left"===$?"right":"left","_").concat(F),Y=null!==I,H=Y?"text_input_wrapper_add_on":"",U=Y&&g?"add-on-card-dark":"",V=o()(["pb_text_input_kit",k?"inline":"",v?"error":"",Object(s.c)(e),h]),G=r.a.createElement(m.a,{className:"add-on-icon",dark:g,fixedWidth:!1,icon:I}),K=r.a.createElement("input",Object.assign({},Object(s.b)(e),{className:"text_input",disabled:M,id:z,key:z,name:A,onChange:N,placeholder:q,ref:t,required:E,type:W,value:S})),J=r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{className:"add-on-".concat($," ").concat(X),vertical:"center"},"left"==$&&r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{className:"".concat(U," add-on-card card-left-aligned"),dark:g},G),K),"left"!=$&&r.a.createElement(r.a.Fragment,null,K,r.a.createElement(u.a,{className:"".concat(U," add-on-card card-right-aligned"),dark:g},G)))),Z=C||(Y?J:K);return r.a.createElement("div",Object.assign({},R,D,{className:V}),x&&r.a.createElement(d.a,{className:"pb_text_input_kit_label",text:x}),r.a.createElement("div",{className:"".concat(H," text_input_wrapper")},Z,v&&r.a.createElement(p.a,{status:"negative",text:v,variant:null})))};t.a=Object(a.forwardRef)(b)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2);t.a=function(e){var t=e.alt,n=void 0===t?"":t,a=e.aria,i=void 0===a?{}:a,c=e.className,u=e.data,d=void 0===u?{}:u,p=e.id,m=e.onError,b=void 0===m?null:m,h=e.rounded,f=void 0!==h&&h,g=e.size,_=void 0===g?"":g,y=e.transition,M=void 0===y?"fade":y,v=e.url,z=void 0===v?"":v,O=Object(l.a)(i),k=o()(Object(l.b)("pb_image_kit",_?"size_".concat(_):null),"lazyload",M,{rounded:f},Object(s.c)(e),c),A=Object(l.c)(d);return r.a.createElement("img",Object.assign({},O,A,{alt:n,className:k,"data-src":z,id:p,onError:b,src:z}))}},function(e,t,n){"use strict";function a(e){return e.split("-")[0]}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(6);function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Object(a.a)(e,t,n[t])}))}return e}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(154);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.children,u=e.className,d=e.collapse,p=void 0===d?"sm":d,m=e.container,b=void 0===m||m,h=e.dark,f=e.data,g=void 0===f?{}:f,_=e.dataTable,y=void 0!==_&&_,M=e.disableHover,v=void 0!==M&&M,z=e.id,O=e.responsive,k=void 0===O?"collapse":O,A=e.singleLine,x=void 0!==A&&A,w=e.size,N=void 0===w?"sm":w,q=e.sticky,E=void 0!==q&&q,j=e.verticalBorder,W=void 0!==j&&j,L=Object(s.a)(n),S=Object(s.c)(g),T="none"!==k?"table-collapse-".concat(p):"",C=W?"vertical-border":"";return Object(a.useEffect)((function(){(new c.a).connect()}),[]),r.a.createElement("table",Object.assign({},L,S,{className:o()("pb_table","table-".concat(N),"table-responsive-".concat(k),{"table-card":b,"table-dark":h,data_table:y,"single-line":x,"no-hover":v,"sticky-header":E},Object(l.c)(e),T,C,u),id:z}),i)}},function(e,t,n){"use strict";function a(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.children,i=e.className,c=e.data,u=void 0===c?{}:c,d=e.id,p=e.tabIndex,m=Object(s.a)(n),b=Object(s.c)(u),h=o()(Object(s.b)("pb_item_kit"),Object(l.c)(e),i);return r.a.createElement(r.a.Fragment,null,r.a.createElement("li",Object.assign({},m,b,{className:h,id:d,tabIndex:p}),a))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(25),u=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.dark,d=e.data,p=void 0===d?{}:d,m=e.disabled,b=e.icon,h=e.id,f=e.onClick,g=void 0===f?s.d:f,_=e.type,y=e.link,M=e.newWindow,v=e.variant,z=Object(s.a)(n),O=Object(s.c)(p),k=o()(Object(s.b)("pb_circle_icon_button_kit"),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},z,O,{className:k,id:h}),r.a.createElement(c.a,{dark:i,disabled:m,htmlType:_,link:y,newWindow:M,onClick:g,text:null,variant:v},r.a.createElement(u.a,{fixedWidth:!0,icon:b})))}},function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(17);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.borderless,i=void 0!==a&&a,u=e.children,d=e.className,p=e.data,m=void 0===p?{}:p,b=e.dark,h=void 0!==b&&b,f=e.highlight,g=void 0===f||f,_=e.id,y=e.link,M=void 0===y?"#":y,v=e.onClick,z=void 0===v?function(){}:v,O=e.orientation,k=void 0===O?"vertical":O,A=e.title,x=void 0===A?"":A,w=e.variant,N=void 0===w?"normal":w,q=Object(s.a)(n),E=Object(s.c)(m),j=o()(Object(s.b)("pb_nav_list",N,k,{highlight:g,borderless:i}),Object(l.c)(e),d);return r.a.createElement("nav",Object.assign({},q,E,{className:j,id:_}),x&&r.a.createElement("div",{className:"pb_nav_list_title"},r.a.createElement("a",{className:"pb_nav_list_item_link_text",href:M,onClick:z},r.a.createElement(c.a,{dark:h,size:"md",text:"".concat(x)}))),r.a.createElement("ul",null,u))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(23);function r(e){return((Object(a.a)(e)?e.ownerDocument:e.document)||window.document).documentElement}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(7),r=n.n(a),i=n(9),o=n.n(i),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_lt_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_3}},subtitle:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_light,fontWeight:o.a.regular,fontSize:o.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_light,tickColor:r.a.border_light,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{color:r.a.text_lt_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_light,minorGridLineColor:r.a.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:o.a.font_family_base,color:r.a.text_lt_light,fontWeight:o.a.regular,fontSize:o.a.text_smaller},itemHoverStyle:{color:r.a.text_lt_default},itemHiddenStyle:{color:r.a.text_lt_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.bg_dark],[1,r.a.bg_dark]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_default,fontWeight:o.a.regular,fontSize:o.a.text_smaller}},pane:{background:{borderColor:r.a.border_light}},plotOptions:{series:{type:"area",nullColor:r.a.text_lt_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:o.a.font_family_base,fontSize:o.a.text_smaller,color:r.a.text_lt_light,fontWeight:o.a.regular}}},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:o.a.font_family_base,fontWeight:o.a.bold,fontSize:o.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(o.a.text_small),fontWeight:o.a.bold,fontFamily:"".concat(o.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(10),r=n.n(a);n(384),n(385);function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?i:String(i)),a)}var r,i}var o=["SU","M","T","W","TH","F","S"],s=function(){function e(t){var n=t.value,a=t.zone,r=void 0===a?"America/New_York":a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.value=this.convertToTimestampZone(n,r)}var t,n,a;return t=e,(n=[{key:"convertToTimestampZone",value:function(e,t){return r()(e).tz(t)}},{key:"convertToTimezone",value:function(){return this.value.strftime("%Z")}},{key:"toCustomFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%-m/%-d";return this.value.strftime(e)}},{key:"toYear",value:function(){return this.value.strftime("%Y")}},{key:"toMonth",value:function(){return this.value.strftime("%b")}},{key:"toMonthNum",value:function(){return this.value.strftime("%-m")}},{key:"toMonthFull",value:function(){return this.value.strftime("%B")}},{key:"toDay",value:function(){return this.value.strftime("%e")}},{key:"toDayAbbr",value:function(){return o[this.value.day()]}},{key:"toWeekday",value:function(){return this.value.strftime("%a")}},{key:"toHour",value:function(){return this.value.strftime("%l")}},{key:"toMinute",value:function(){return this.value.strftime("%M")}},{key:"toMeridian",value:function(){return this.value.strftime("%P")[0]}},{key:"toIso",value:function(){return this.value.toISOString()}},{key:"toTime",value:function(){var e=this.value.strftime("%I:%M");return"0"===e.charAt()?e.slice(1):e}},{key:"toTimezone",value:function(){return this.value.strftime("%Z")}},{key:"toTimeWithMeridian",value:function(){return this.toTime()+this.toMeridian()}}])&&i(t.prototype,n),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var a=n(22),r=function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()},i=function(e){return Object(a.isEmpty)(e)?e:e.split(" ").map(r).join(" ")},o=function(e){return!Object(a.isEmpty)(e)},s=function(e,t){return Object(a.filter)(e,o).join(t)},l=function(e){return e.split(/([A-Z])/g).map((function(e,t){var n=t>0?"_":"";return e===e.toLowerCase()?e:n+e.toLowerCase()})).join("")}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(17);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,u=void 0===i?{}:i,d=e.id,p=e.orientation,m=void 0===p?"horizontal":p,b=e.text,h=e.dark,f=void 0!==h&&h,g=e.variant,_=void 0===g?"card":g,y=Object(s.a)(n),M=Object(s.c)(u),v=o()(Object(s.b)("pb_section_separator_kit",_,m),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},y,M,{className:v,id:d}),b&&r.a.createElement("span",null,r.a.createElement(c.a,{text:b,dark:f})))}},function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(39);function r(e){return Object(a.a)(e).getComputedStyle(e)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.closeProps,u=void 0===i?{}:i,d=e.data,p=void 0===d?{}:d,m=e.id,b=e.removeIcon,h=void 0!==b&&b,f=e.removeOnClick,g=e.rounded,_=void 0!==g&&g,y=e.text,M=e.variant,v=void 0===M?"neutral":M,z=Object(l.a)(n),O=Object(l.c)(p),k=o()(Object(l.b)("pb_badge_kit","success"===v?"success_sm":v,_?"rounded":null),Object(s.c)(e),a);return r.a.createElement("div",Object.assign({},z,O,{className:k,id:m}),r.a.createElement("span",null,y,h&&r.a.createElement("span",Object.assign({onClick:f,style:{cursor:"pointer"}},u),r.a.createElement(c.a,{fixedWidth:!0,icon:"times"}))))}},function(e,t,n){"use strict";function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}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 o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?i:String(i)),a)}var r,i}n.d(t,"a",(function(){return d}));var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;i(this,e),this.matchDelegate=t,this.target=n}var t,n,r;return t=e,(n=[{key:"mutationObserver",get:function(){var e=this;return this._mutationObserver=this._mutationObserver||new MutationObserver((function(t){return e.processMutationList(t)}))}},{key:"start",value:function(){this.mutationObserver.observe(this.target,{attributes:!0,childList:!0,subtree:!0}),this.catchup()}},{key:"stop",value:function(){this.mutationObserverdisconnect()}},{key:"catchup",value:function(){this.handleAdditions(this.matchDelegate.matches(this.target))}},{key:"processMutationList",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;"attributes"==r.type?this.processAttributeChange(r.target):"childList"==r.type&&(this.processRemovedNodes(Array.from(r.removedNodes)),this.processAddedNodes(Array.from(r.addedNodes)))}}catch(e){n.e(e)}finally{n.f()}}},{key:"processAttributeChange",value:function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=this.matchDelegate.matches(e);if(0===t.length)return this.matchDelegate.removeMatch(e);this.handleAdditions(t)}}},{key:"processRemovedNodes",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.nodeType===Node.ELEMENT_NODE&&this.handleRemovals(this.matchDelegate.matches(r))}}catch(e){n.e(e)}finally{n.f()}}},{key:"processAddedNodes",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.nodeType===Node.ELEMENT_NODE&&this.handleAdditions(this.matchDelegate.matches(r))}}catch(e){n.e(e)}finally{n.f()}}},{key:"handleRemovals",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.matchDelegate.removeMatch(r)}}catch(e){n.e(e)}finally{n.f()}}},{key:"handleAdditions",value:function(e){var t,n=a(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.matchDelegate.addMatch(r)}}catch(e){n.e(e)}finally{n.f()}}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function u(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,i=void 0,"symbol"==typeof(i=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?i:String(i)),a)}var r,i}var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t}var t,n,a;return t=e,a=[{key:"elements",get:function(){return this._elements=this._elements||new Map}},{key:"observer",get:function(){return this._observer=this._observer||new s(this)}},{key:"selector",get:function(){return console.warn("Define a static property for selector or redefine the matches function in a subclass.",this),null}},{key:"matches",value:function(e){if(!this.selector)return[];var t=[];return e.nodeType===Node.ELEMENT_NODE&&e.matches(this.selector)&&t.push(e),t.push.apply(t,l(e.querySelectorAll(this.selector))),t}},{key:"addMatch",value:function(e){if(!e._pbEnhanced&&!this.elements.has(e)){var t=new this(e);t.connect(),this.elements.set(e,t),e._pbEnhanced=t}}},{key:"removeMatch",value:function(e){this.elements.has(e)&&(this.elements.get(e).disconnect(),this.elements.delete(e))}},{key:"start",value:function(){this.observer.start()}},{key:"stop",value:function(){this.mutationObserver.stop()}}],(n=[{key:"connect",value:function(){console.warn("Redefine the connect function in a subclass.",this)}},{key:"disconnect",value:function(){}}])&&u(t.prototype,n),a&&u(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}()},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(13),u=n(17),d=n(15);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var b={lg:1,md:3,sm:4};t.a=function(e){var t,n=e.abbreviate,a=void 0!==n&&n,i=e.align,m=void 0===i?"left":i,h=e.aria,f=void 0===h?{}:h,g=e.amount,_=e.data,y=void 0===_?{}:_,M=e.decimals,v=void 0===M?"default":M,z=e.emphasized,O=void 0===z||z,k=e.id,A=e.unit,x=e.className,w=e.label,N=void 0===w?"":w,q=e.size,E=void 0===q?"sm":q,j=e.symbol,W=void 0===j?"$":j,L=e.variant,S=void 0===L?"default":L,T=e.dark,C=void 0!==T&&T,R=O?"":"_deemphasized";"sm"===E&&("light"===S?t="_light":"bold"===S&&(t="_bold"));var D=p(g.split("."),2),P=D[0],B=D[1],I=void 0===B?"00":B,$=Object(l.a)(f),F=Object(l.c)(y),X=o()(Object(l.b)("pb_currency_kit",m,E),Object(s.c)(e),x),Y=function(e){var t,n="".concat((t=P.split(",").join(""),new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(t))),a="unit"===e;return"amount"===e?n.slice(0,-1):a?n.slice(-1):""},H="matching"===v?g:P,U="matching"===v?"":".".concat(I),V=a?Y("amount"):H,G=a?Y("unit"):null,K=a?"":U;return r.a.createElement("div",Object.assign({},$,F,{className:X,id:k}),r.a.createElement(u.a,null,N),r.a.createElement("div",{className:"pb_currency_wrapper".concat(t||R)},r.a.createElement(c.a,{className:"dollar_sign",color:"light",dark:C},W),r.a.createElement(d.a,{className:"pb_currency_value",dark:C,size:b[E]},V),r.a.createElement(c.a,{className:"unit",color:"light",dark:C},G,A?r.a.createElement(r.a.Fragment,null,A):r.a.createElement(r.a.Fragment,null,K))))}},function(e,t,n){"use strict";var a=n(85);t.a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(a.a)(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return J}));var a=n(56),r=n(21),i=n(80),o=n(44),s=n(34),l=n(35),c=n(36),u=n(37),d=n(38),p=n(4),m=n(6),b=n(0),h=n.n(b),f=n(89),g=n(20),_=n(28),y=n(29),M=n(27),v=n(61),z=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],O=function(e){for(var t=0;t<z.length;t++)e=e.replace(z[t].letters,z[t].base);return e},k=function(e){return e.replace(/^\s+|\s+$/g,"")},A=function(e){return"".concat(e.label," ").concat(e.value)},x={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},w=function(e){return Object(g.c)("span",Object(r.a)({css:x},e))},N=function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),n=(e.emotion,Object(a.a)(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Object(g.c)("input",Object(r.a)({ref:t},n,{css:Object(v.a)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}}]),t}(b.Component),q=function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(_.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(b.Component),E=["boxSizing","height","overflow","paddingRight","position"],j={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function W(e){e.preventDefault()}function L(e){e.stopPropagation()}function S(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function T(){return"ontouchstart"in window||navigator.maxTouchPoints}var C=!(!window.document||!window.document.createElement),R=0,D=function(e){function t(){var e,n;Object(s.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(r))),Object(m.a)(Object(p.a)(Object(p.a)(n)),"originalStyles",{}),Object(m.a)(Object(p.a)(Object(p.a)(n)),"listenerOptions",{capture:!1,passive:!1}),n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){var e=this;if(C){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;if(n&&E.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&R<1){var o=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,l=window.innerWidth-s+o||0;Object.keys(j).forEach((function(e){var t=j[e];i&&(i[e]=t)})),i&&(i.paddingRight="".concat(l,"px"))}r&&T()&&(r.addEventListener("touchmove",W,this.listenerOptions),a&&(a.addEventListener("touchstart",S,this.listenerOptions),a.addEventListener("touchmove",L,this.listenerOptions))),R+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(C){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,i=r&&r.style;R=Math.max(R-1,0),n&&R<1&&E.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),r&&T()&&(r.removeEventListener("touchmove",W,this.listenerOptions),a&&(a.removeEventListener("touchstart",S,this.listenerOptions),a.removeEventListener("touchmove",L,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(b.Component);Object(m.a)(D,"defaultProps",{accountForScrollbars:!0});var P={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},B=function(e){function t(){var e,n;Object(s.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(r))),Object(m.a)(Object(p.a)(Object(p.a)(n)),"state",{touchScrollTarget:null}),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(e){e!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:e})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"blurSelectInput",(function(){document.activeElement&&document.activeElement.blur()})),n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,a=this.state.touchScrollTarget;return n?Object(g.c)("div",null,Object(g.c)("div",{onClick:this.blurSelectInput,css:P}),Object(g.c)(q,{innerRef:this.getScrollTarget},t),a?Object(g.c)(D,{touchScrollTarget:a}):null):t}}]),t}(b.PureComponent),I=function(e){function t(){var e,n;Object(s.a)(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return n=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(r))),Object(m.a)(Object(p.a)(Object(p.a)(n)),"isBottom",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"isTop",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"scrollTarget",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"touchStart",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"cancelScroll",(function(e){e.preventDefault(),e.stopPropagation()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"handleEventDelta",(function(e,t){var a=n.props,r=a.onBottomArrive,i=a.onBottomLeave,o=a.onTopArrive,s=a.onTopLeave,l=n.scrollTarget,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,p=n.scrollTarget,m=t>0,b=u-d-c,h=!1;b>t&&n.isBottom&&(i&&i(e),n.isBottom=!1),m&&n.isTop&&(s&&s(e),n.isTop=!1),m&&t>b?(r&&!n.isBottom&&r(e),p.scrollTop=u,h=!0,n.isBottom=!0):!m&&-t>c&&(o&&!n.isTop&&o(e),p.scrollTop=0,h=!0,n.isTop=!0),h&&n.cancelScroll(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onWheel",(function(e){n.handleEventDelta(e,e.deltaY)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(e){n.touchStart=e.changedTouches[0].clientY})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(e){var t=n.touchStart-e.changedTouches[0].clientY;n.handleEventDelta(e,t)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getScrollTarget",(function(e){n.scrollTarget=e})),n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)}},{key:"render",value:function(){return h.a.createElement(q,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(b.Component),$=function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,n=Object(a.a)(e,["isEnabled"]);return t?h.a.createElement(I,n):this.props.children}}]),t}(b.Component);Object(m.a)($,"defaultProps",{isEnabled:!0});var F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isSearchable,a=t.isMulti,r=t.label,i=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(r||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},X=function(e,t){var n=t.value,a=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,a?" is disabled. Select another option.":", selected.")}},Y=function(e){return!!e.isDisabled},H={clearIndicator:M.d,container:M.b,control:M.c,dropdownIndicator:M.e,group:M.h,groupHeading:M.f,indicatorsContainer:M.j,indicatorSeparator:M.g,input:M.i,loadingIndicator:M.m,loadingMessage:M.k,menu:M.n,menuList:M.l,menuPortal:M.o,multiValue:M.p,multiValueLabel:M.q,multiValueRemove:M.r,noOptionsMessage:M.s,option:M.t,placeholder:M.u,singleValue:M.v,valueContainer:M.w};var U,V={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},G={backspaceRemovesValue:!0,blurInputOnSelect:Object(y.i)(),captureMenuScroll:!Object(y.i)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=Object(o.a)({ignoreCase:!0,ignoreAccents:!0,stringify:A,trim:!0,matchFrom:"any"},U),a=n.ignoreCase,r=n.ignoreAccents,i=n.stringify,s=n.trim,l=n.matchFrom,c=s?k(t):t,u=s?k(i(e)):i(e);return a&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=O(c),u=O(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Y,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Object(y.d)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},K=1,J=function(e){function t(e){var n;Object(s.a)(this,t),n=Object(c.a)(this,Object(u.a)(t).call(this,e)),Object(m.a)(Object(p.a)(Object(p.a)(n)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),Object(m.a)(Object(p.a)(Object(p.a)(n)),"blockOptionHover",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"isComposing",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"clearFocusValueOnUpdate",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"commonProps",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"components",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"hasGroups",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"initialTouchX",0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"initialTouchY",0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"inputIsHiddenAfterUpdate",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"instancePrefix",""),Object(m.a)(Object(p.a)(Object(p.a)(n)),"openAfterFocus",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"scrollToFocusedOptionOnUpdate",!1),Object(m.a)(Object(p.a)(Object(p.a)(n)),"userIsDragging",void 0),Object(m.a)(Object(p.a)(Object(p.a)(n)),"controlRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getControlRef",(function(e){n.controlRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"focusedOptionRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getFocusedOptionRef",(function(e){n.focusedOptionRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"menuListRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getMenuListRef",(function(e){n.menuListRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"inputRef",null),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getInputRef",(function(e){n.inputRef=e})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"cacheComponents",(function(e){n.components=Object(M.x)({components:e})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"focus",n.focusInput),Object(m.a)(Object(p.a)(Object(p.a)(n)),"blur",n.blurInput),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onChange",(function(e,t){var a=n.props,r=a.onChange,i=a.name;r(e,Object(o.a)({},t,{name:i}))})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",a=arguments.length>2?arguments[2]:void 0,r=n.props,i=r.closeMenuOnSelect,o=r.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!o,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:a})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"selectOption",(function(e){var t=n.props,a=t.blurInputOnSelect,r=t.isMulti,o=n.state.selectValue;if(r)if(n.isOptionSelected(e,o)){var s=n.getOptionValue(e);n.setValue(o.filter((function(e){return n.getOptionValue(e)!==s})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(Object(i.a)(o),[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));a&&n.blurInput()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"removeValue",(function(e){var t=n.state.selectValue,a=n.getOptionValue(e),r=t.filter((function(e){return n.getOptionValue(e)!==a}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"clearValue",(function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"popValue",(function(){var e=n.state.selectValue,t=e[e.length-1],a=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(a.length?a:null,{action:"pop-value",removedValue:t})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getOptionLabel",(function(e){return n.props.getOptionLabel(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getOptionValue",(function(e){return n.props.getOptionValue(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getStyles",(function(e,t){var a=H[e](t);a.boxSizing="border-box";var r=n.props.styles[e];return r?r(a,t):a})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getElementId",(function(e){return"".concat(n.instancePrefix,"-").concat(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"getActiveDescendentId",(function(){var e=n.props.menuIsOpen,t=n.state,a=t.menuOptions,r=t.focusedOption;if(r&&e){var i=a.focusable.indexOf(r),o=a.render[i];return o&&o.key}})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveSelection",(function(e){var t=e.event,a=e.context;n.setState({ariaLiveSelection:X(t,a)})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"announceAriaLiveContext",(function(e){var t=e.event,a=e.context;n.setState({ariaLiveContext:F(t,Object(o.a)({},a,{label:n.props["aria-label"]}))})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onMenuMouseMove",(function(e){n.blockOptionHover=!1})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onControlMouseDown",(function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorMouseDown",(function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,a=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onScroll",(function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Object(y.e)(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onCompositionStart",(function(){n.isComposing=!0})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onCompositionEnd",(function(){n.isComposing=!1})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchStart",(function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchMove",(function(e){var t=e.touches.item(0);if(t){var a=Math.abs(t.clientX-n.initialTouchX),r=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=a>5||r>5}})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onTouchEnd",(function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onControlTouchEnd",(function(e){n.userIsDragging||n.onControlMouseDown(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onClearIndicatorTouchEnd",(function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onDropdownIndicatorTouchEnd",(function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"handleInputChange",(function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onInputFocus",(function(e){var t=n.props,a=t.isSearchable,r=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onInputBlur",(function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onOptionHover",(function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"shouldHideSelectedOptions",(function(){var e=n.props,t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t})),Object(m.a)(Object(p.a)(Object(p.a)(n)),"onKeyDown",(function(e){var t=n.props,a=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,o=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=n.state,b=m.focusedOption,h=m.focusedValue,f=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!a||o)return;n.focusValue("previous");break;case"ArrowRight":if(!a||o)return;n.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(h)n.removeValue(h);else{if(!r)return;a?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!d||!b||p&&n.isOptionSelected(b,f))return;n.selectOption(b);break;case"Enter":if(229===e.keyCode)break;if(c){if(!b)return;if(n.isComposing)return;n.selectOption(b);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):s&&i&&n.clearValue();break;case" ":if(o)return;if(!c){n.openMenu("first");break}if(!b)return;n.selectOption(b);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}}));var a=e.value;n.cacheComponents=Object(f.a)(n.cacheComponents,M.y).bind(Object(p.a)(Object(p.a)(n))),n.cacheComponents(e.components),n.instancePrefix="react-select-"+(n.props.instanceId||++K);var r=Object(y.f)(a),l=e.menuIsOpen?n.buildMenuOptions(e,r):{render:[],focusable:[]};return n.state.menuOptions=l,n.state.selectValue=r,n}return Object(d.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,a=t.value,r=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==a||e.options!==n||e.menuIsOpen!==r||e.inputValue!==i){var o=Object(y.f)(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,o):{render:[],focusable:[]},l=this.getNextFocusedValue(o),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:o,focusedOption:c,focusedValue:l})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,a=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&a&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&Object(y.h)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,n=t.menuOptions,a=t.selectValue,r=t.isFocused,i=this.props.isMulti,o="first"===e?0:n.focusable.length-1;if(!i){var s=n.focusable.indexOf(a[0]);s>-1&&(o=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[o]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,a=t.isSearchable,r=this.state,i=r.selectValue,o=r.focusedValue;if(n){this.setState({focusedOption:null});var s=i.indexOf(o);o||(s=-1,this.announceAriaLiveContext({event:"value"}));var l=i.length-1,c=-1;if(i.length){switch(e){case"previous":c=0===s?0:-1===s?l:s-1;break;case"next":s>-1&&s<l&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state,a=n.focusedOption,r=n.menuOptions,i=r.focusable;if(i.length){var o=0,s=i.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?o=s>0?s-1:i.length-1:"down"===e?o=(s+1)%i.length:"pageup"===e?(o=s-t)<0&&(o=0):"pagedown"===e?(o=s+t)>i.length-1&&(o=i.length-1):"last"===e&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Y(i[o])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(V):Object(o.a)({},V,this.props.theme):V}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,a=this.selectOption,r=this.props,i=r.classNamePrefix,o=r.isMulti,s=r.isRtl,l=r.options,c=this.state.selectValue,u=this.hasValue();return{cx:y.j.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:u,isMulti:o,isRtl:s,options:l,selectOption:a,setValue:n,selectProps:r,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,a=t.selectValue.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var a=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===a}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:a})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var n=this,a=e.inputValue,r=void 0===a?"":a,i=e.options,o=function(e,a){var i=n.isOptionDisabled(e,t),o=n.isOptionSelected(e,t),s=n.getOptionLabel(e),l=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&o||!n.filterOption({label:s,value:l,data:e},r))){var c=i?void 0:function(){return n.onOptionHover(e)},u=i?void 0:function(){return n.selectOption(e)},d="".concat(n.getElementId("option"),"-").concat(a);return{innerProps:{id:d,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:i,isSelected:o,key:d,label:s,type:"option",value:l}}};return i.reduce((function(e,t,a){if(t.options){n.hasGroups||(n.hasGroups=!0);var r=t.options.map((function(t,n){var r=o(t,"".concat(a,"-").concat(n));return r&&e.focusable.push(t),r})).filter(Boolean);if(r.length){var i="".concat(n.getElementId("group"),"-").concat(a);e.render.push({type:"group",key:i,data:t,options:r})}}else{var s=o(t,"".concat(a));s&&(e.render.push(s),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,a=e.focusedValue,r=e.focusedOption,i=this.props,o=i.options,s=i.menuIsOpen,l=i.inputValue,c=i.screenReaderStatus,u=a?function(e){var t=e.focusedValue,n=e.getOptionLabel,a=e.selectValue;return"value ".concat(n(t)," focused, ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedValue:a,getOptionLabel:this.getOptionLabel,selectValue:n}):"",d=r&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,a=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:o}):"",p=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:l,screenReaderMessage:c({count:this.countOptions()})});return"".concat(u," ").concat(d," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,i=e.inputValue,o=e.tabIndex,s=this.components.Input,l=this.state.inputIsHidden,c=a||this.getElementId("input");if(!n)return h.a.createElement(N,{id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:y.l,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:o,value:""});var u={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},d=this.commonProps,p=d.cx,m=d.theme,b=d.selectProps;return h.a.createElement(s,Object(r.a)({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:b,spellCheck:"false",tabIndex:o,theme:m,type:"text",value:i},u))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,a=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,b=u.inputValue,f=u.placeholder,g=this.state,_=g.selectValue,y=g.focusedValue,M=g.isFocused;if(!this.hasValue()||!d)return b?null:h.a.createElement(l,Object(r.a)({},c,{key:"placeholder",isDisabled:p,isFocused:M}),f);if(m)return _.map((function(t,s){var l=t===y;return h.a.createElement(n,Object(r.a)({},c,{components:{Container:a,Label:i,Remove:o},isFocused:l,isDisabled:p,key:e.getOptionValue(t),index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(b)return null;var v=_[0];return h.a.createElement(s,Object(r.a)({},c,{data:v,isDisabled:p}),this.formatOptionLabel(v,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return h.a.createElement(e,Object(r.a)({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!e||!i)return null;return h.a.createElement(e,Object(r.a)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return h.a.createElement(n,Object(r.a)({},a,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return h.a.createElement(e,Object(r.a)({},t,{innerProps:i,isDisabled:n,isFocused:a}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,i=t.GroupHeading,o=t.Menu,s=t.MenuList,l=t.MenuPortal,c=t.LoadingMessage,u=t.NoOptionsMessage,d=t.Option,p=this.commonProps,m=this.state,b=m.focusedOption,f=m.menuOptions,g=this.props,_=g.captureMenuScroll,y=g.inputValue,v=g.isLoading,z=g.loadingMessage,O=g.minMenuHeight,k=g.maxMenuHeight,A=g.menuIsOpen,x=g.menuPlacement,w=g.menuPosition,N=g.menuPortalTarget,q=g.menuShouldBlockScroll,E=g.menuShouldScrollIntoView,j=g.noOptionsMessage,W=g.onMenuScrollToTop,L=g.onMenuScrollToBottom;if(!A)return null;var S,T=function(t){var n=b===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,h.a.createElement(d,Object(r.a)({},p,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())S=f.render.map((function(t){if("group"===t.type){t.type;var o=Object(a.a)(t,["type"]),s="".concat(t.key,"-heading");return h.a.createElement(n,Object(r.a)({},p,o,{Heading:i,headingProps:{id:s},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e)})))}if("option"===t.type)return T(t)}));else if(v){var C=z({inputValue:y});if(null===C)return null;S=h.a.createElement(c,p,C)}else{var R=j({inputValue:y});if(null===R)return null;S=h.a.createElement(u,p,R)}var D={minMenuHeight:O,maxMenuHeight:k,menuPlacement:x,menuPosition:w,menuShouldScrollIntoView:E},P=h.a.createElement(M.a,Object(r.a)({},p,D),(function(t){var n=t.ref,a=t.placerProps,i=a.placement,l=a.maxHeight;return h.a.createElement(o,Object(r.a)({},p,D,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:i}),h.a.createElement($,{isEnabled:_,onTopArrive:W,onBottomArrive:L},h.a.createElement(B,{isEnabled:q},h.a.createElement(s,Object(r.a)({},p,{innerRef:e.getMenuListRef,isLoading:v,maxHeight:l}),S))))}));return N||"fixed"===w?h.a.createElement(l,Object(r.a)({},p,{appendTo:N,controlElement:this.controlRef,menuPlacement:x,menuPosition:w}),P):P}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,a=t.isDisabled,r=t.isMulti,i=t.name,o=this.state.selectValue;if(i&&!a){if(r){if(n){var s=o.map((function(t){return e.getOptionValue(t)})).join(n);return h.a.createElement("input",{name:i,type:"hidden",value:s})}var l=o.length>0?o.map((function(t,n){return h.a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):h.a.createElement("input",{name:i,type:"hidden"});return h.a.createElement("div",null,l)}var c=o[0]?this.getOptionValue(o[0]):"";return h.a.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?h.a.createElement(w,{"aria-live":"polite"},h.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),h.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,i=e.ValueContainer,o=this.props,s=o.className,l=o.id,c=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return h.a.createElement(a,Object(r.a)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),h.a.createElement(t,Object(r.a)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),h.a.createElement(i,Object(r.a)({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),h.a.createElement(n,Object(r.a)({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(b.Component);Object(m.a)(J,"defaultProps",G)},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var a=n(12),r=n(39),i=n(51),o=n(101),s=n(141);var l=n(57),c=n(102),u=n(32);var d=n(108),p=n(79),m=n(23),b=n(73),h=n(83),f=n(142),g=n(46);function _(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function y(e,t,n){return t===a.o?_(function(e,t){var n=Object(r.a)(e),a=Object(i.a)(e),l=n.visualViewport,c=a.clientWidth,u=a.clientHeight,d=0,p=0;if(l){c=l.width,u=l.height;var m=Object(s.a)();(m||!m&&"fixed"===t)&&(d=l.offsetLeft,p=l.offsetTop)}return{width:c,height:u,x:d+Object(o.a)(e),y:p}}(e,n)):Object(m.a)(t)?function(e,t){var n=Object(b.a)(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):_(function(e){var t,n=Object(i.a)(e),a=Object(c.a)(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=Object(u.a)(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),d=Object(u.a)(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),p=-a.scrollLeft+Object(o.a)(e),m=-a.scrollTop;return"rtl"===Object(l.a)(r||n).direction&&(p+=Object(u.a)(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:d,x:p,y:m}}(Object(i.a)(e)))}function M(e,t,n,a){var r="clippingParents"===t?function(e){var t=Object(d.a)(Object(h.a)(e)),n=["absolute","fixed"].indexOf(Object(l.a)(e).position)>=0&&Object(m.b)(e)?Object(p.a)(e):e;return Object(m.a)(n)?t.filter((function(e){return Object(m.a)(e)&&Object(f.a)(e,n)&&"body"!==Object(g.a)(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],s=i.reduce((function(t,n){var r=y(e,n,a);return t.top=Object(u.a)(r.top,t.top),t.right=Object(u.b)(r.right,t.right),t.bottom=Object(u.b)(r.bottom,t.bottom),t.left=Object(u.a)(r.left,t.left),t}),y(e,o,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var v=n(135),z=n(138),O=n(140);function k(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,s=n.strategy,l=void 0===s?e.strategy:s,c=n.boundary,u=void 0===c?a.d:c,d=n.rootBoundary,p=void 0===d?a.o:d,h=n.elementContext,f=void 0===h?a.i:h,g=n.altBoundary,y=void 0!==g&&g,k=n.padding,A=void 0===k?0:k,x=Object(z.a)("number"!=typeof A?A:Object(O.a)(A,a.b)),w=f===a.i?a.j:a.i,N=e.rects.popper,q=e.elements[y?w:f],E=M(Object(m.a)(q)?q:q.contextElement||Object(i.a)(e.elements.popper),u,p,l),j=Object(b.a)(e.elements.reference),W=Object(v.a)({reference:j,element:N,strategy:"absolute",placement:o}),L=_(Object.assign({},N,W)),S=f===a.i?L:j,T={top:E.top-S.top+x.top,bottom:S.bottom-E.bottom+x.bottom,left:E.left-S.left+x.left,right:S.right-E.right+x.right},C=e.modifiersData.offset;if(f===a.i&&C){var R=C[o];Object.keys(T).forEach((function(e){var t=[a.k,a.c].indexOf(e)>=0?1:-1,n=[a.m,a.c].indexOf(e)>=0?"y":"x";T[e]+=R[n]*t}))}return T}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(53),l=n(2),c=n(5),u=n(13),d=n(17),p=n(8);t.a=function(e){var t=e.align,n=e.className,a=e.date,i=e.showIcon,m=e.size,b=e.timeZone,h=e.unstyled,f=void 0!==h&&h,g=e.showTimezone,_=void 0===g||g,y=o()(Object(l.b)("pb_time_kit",t,m),Object(c.c)(e),n),M=new s.a({value:a,zone:b});return r.a.createElement("div",{className:y},i&&(f?r.a.createElement("span",null,r.a.createElement(p.a,{fixedWidth:!0,icon:"clock"})," "):r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{color:"light",tag:"span"},r.a.createElement(p.a,{fixedWidth:!0,icon:"clock",size:"md"===m?"":"sm"})," "))),r.a.createElement("time",{dateTime:a},r.a.createElement("span",null,f?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",null,M.toTimeWithMeridian())," ",_&&r.a.createElement("span",null,M.toTimezone())):"md"===m?r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{className:"pb_time",tag:"span",text:M.toTimeWithMeridian()})," ",_&&r.a.createElement(u.a,{color:"light",tag:"span",text:M.toTimezone()})):r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{color:"light",tag:"span",text:M.toTimeWithMeridian()})," ",_&&r.a.createElement(d.a,{color:"light",tag:"span",text:M.toTimezone()})))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(8),u=n(82),d=n(11),p=n(95),m=n(18);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.checked,b=void 0!==i&&i,h=e.className,f=e.customIcon,g=e.dark,_=void 0!==g&&g,y=e.data,M=void 0===y?{}:y,v=e.disabled,z=void 0!==v&&v,O=e.error,k=void 0!==O&&O,A=e.icon,x=void 0!==A&&A,w=e.inputId,N=void 0===w?null:w,q=e.multi,E=void 0===q||q,j=e.name,W=e.onChange,L=void 0===W?l.d:W,S=e.text,T=e.value,C=e.variant,R=void 0===C?"default":C,D=Object(l.a)(n),P=Object(l.c)(M),B=o()(Object(l.b)("pb_selectable_card_kit",{checked:b,disabled:z,enabled:!z}),{error:k},_?"dark":"",h),I=Object(a.useRef)(null),$=E?"checkbox":"radio",F=null!==N?N:j,X=E?u.a:p.a,Y=Object.assign({},e);null==Y||delete Y.inputId,null==Y||delete Y.children,null==Y||delete Y.icon,null==Y||delete Y.error,null==Y||delete Y.dark,null==Y||delete Y.multi,null==Y||delete Y.customIcon;var H="displayInput"===R?Object.assign(Object.assign({},Y),{padding:"none"}):Object.assign({},Y);return r.a.createElement("div",Object.assign({},D,P,{className:B}),r.a.createElement("input",Object.assign({checked:b,disabled:z,id:F,name:j,onChange:L,ref:I,type:$,value:T},Y)),r.a.createElement("label",{className:Object(s.c)(H),htmlFor:F},r.a.createElement("div",{className:"buffer"},"displayInput"===R?r.a.createElement(d.a,{vertical:"center"},r.a.createElement(d.a,{orientation:"column",padding:"sm",paddingRight:"xs",vertical:"center"},r.a.createElement(X,{dark:_},r.a.createElement("input",{checked:b,disabled:z,onClick:function(){I.current.click()},readOnly:!0,type:$}))),r.a.createElement("div",{className:"separator"}),r.a.createElement("div",{className:"psuedo_separator"}),r.a.createElement(m.a,{borderNone:!0,dark:_,padding:"sm",status:k?"negative":null},S||e.children)):S||e.children,function(){if(!0===x)return r.a.createElement("div",{className:"pb_selectable_card_circle"},r.a.createElement(c.a,{customIcon:f,fixedWidth:!0,icon:"check"}))}())))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(53),l=n(2),c=n(5),u=n(17),d=n(15),p={sm:4,md:3};t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.bold,i=void 0!==a&&a,m=e.reverse,b=void 0!==m&&m,h=e.className,f=e.dark,g=void 0!==f&&f,_=e.date,y=e.data,M=void 0===y?{}:y,v=e.size,z=void 0===v?"sm":v,O=o()(Object(l.b)("pb_date_stacked_kit",n,z,{dark:g,reverse:b}),Object(c.c)(e),h),k=(new Date).getFullYear().toString(),A=new s.a({value:_}),x=A.toYear().toString(),w=Object(l.c)(M);return r.a.createElement(r.a.Fragment,null,0==i?r.a.createElement("div",Object.assign({},w,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(u.a,{text:A.toMonth().toUpperCase()}),r.a.createElement(d.a,{dark:g,size:p[z],text:A.toDay()})),k!=x&&r.a.createElement(u.a,{size:"xs"},x)):r.a.createElement("div",Object.assign({},w,{className:O}),r.a.createElement("div",{className:"pb_date_stacked_day_month"},r.a.createElement(d.a,{bold:!0,dark:g,size:"4",text:A.toMonth()}),r.a.createElement(d.a,{bold:!0,dark:g,size:"4",text:A.toDay()}),k!=x&&r.a.createElement(d.a,{size:"4"},x))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(8);t.a=function(e){var t=e.className,n=e.data,a=void 0===n?{}:n,i=e.status,c=void 0===i?"inactive":i,u=e.children,d=e.icon,p=void 0===d?"check":d,m=Object(s.b)("pb_progress_step_item",c),b=Object(s.c)(a);return r.a.createElement("li",Object.assign({},b,{className:o()(m,t)}),r.a.createElement("div",{className:"box"},r.a.createElement("div",{className:"circle"},r.a.createElement(l.a,{icon:p})),r.a.createElement("div",{className:"content"},u)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(66),c=n(74),u=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.children,l=e.data,c=void 0===l?{}:l,u=e.id,d=e.orientation,p=void 0===d?"horizontal":d,m=e.showDate,b=void 0!==m&&m,h=Object(s.a)(n),f=Object(s.c)(c),g=!0===b?"_with_date":"",_=Object(s.b)("pb_timeline_kit","_".concat(p),g);return r.a.createElement("div",Object.assign({},h,f,{className:o()(_,a),id:u}),i)};u.Item=function(e){var t=e.className,n=e.children,a=e.date,i=e.icon,u=void 0===i?"user":i,d=e.iconColor,p=void 0===d?"default":d,m=e.lineStyle,b=void 0===m?"solid":m,h=Object(s.b)("pb_timeline_item_kit",b);return r.a.createElement("div",{className:o()(h,t)},r.a.createElement("div",{className:"pb_timeline_item_left_block"},a&&r.a.createElement(l.a,{align:"center",date:a,size:"sm"})),r.a.createElement("div",{className:"pb_timeline_item_step"},r.a.createElement(c.a,{icon:u,size:"xs",variant:p}),r.a.createElement("div",{className:"pb_timeline_item_connector"})),r.a.createElement("div",{className:"pb_timeline_item_right_block"},n))};t.a=u},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(70),l=n.n(s),c=n(113),u=n.n(c),d=n(26),p=n.n(d),m=n(52),b=n(78),h=n(71),f=n(5),g=n(2);function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var M=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},v=function(e){var t=document.querySelector("#wrapper-circle-chart-".concat(e.target.renderTo.id," .pb-circle-chart-block")),n=document.querySelector("#".concat(e.target.renderTo.id));null!==t&&(t.style.height="".concat(e.target.chartHeight,"px"),t.style.width="".concat(e.target.chartWidth,"px"),n.firstChild.before(t))};t.a=function(e){var t=e.align,n=void 0===t?"center":t,i=e.aria,s=void 0===i?{}:i,c=e.rounded,d=void 0!==c&&c,y=e.borderColor,z=void 0===y?d?null:"":y,O=e.borderWidth,k=void 0===O?d?20:null:O,A=e.chartData,x=e.children,w=(e.className,e.colors),N=void 0===w?[]:w,q=e.dark,E=void 0!==q&&q,j=e.data,W=void 0===j?{}:j,L=e.dataLabelHtml,S=void 0===L?"<div>{point.name}</div>":L,T=e.dataLabels,C=void 0!==T&&T,R=e.height,D=e.id,P=e.innerSize,B=void 0===P?"md":P,I=e.legend,$=void 0!==I&&I,F=e.maxPointSize,X=void 0===F?null:F,Y=e.minPointSize,H=void 0===Y?null:Y,U=e.startAngle,V=void 0===U?null:U,G=e.style,K=void 0===G?"pie":G,J=e.title,Z=e.tooltipHtml,Q=e.useHtml,ee=void 0!==Q&&Q,te=e.zMin,ne=void 0===te?null:te,ae=e.layout,re=void 0===ae?"horizontal":ae,ie=e.verticalAlign,oe=void 0===ie?"bottom":ie,se=e.x,le=void 0===se?0:se,ce=e.y,ue=void 0===ce?0:ce,de=M(e,["align","aria","rounded","borderColor","borderWidth","chartData","children","className","colors","dark","data","dataLabelHtml","dataLabels","height","id","innerSize","legend","maxPointSize","minPointSize","startAngle","style","title","tooltipHtml","useHtml","zMin","layout","verticalAlign","x","y"]),pe=Object(g.a)(s),me=Object(g.c)(W);u()(p.a);E?p.a.setOptions(b.a):p.a.setOptions(m.a),p.a.setOptions({tooltip:{headerFormat:null,pointFormat:Z||'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:ee}});var be={sm:"35%",md:"50%",lg:"85%",none:"0%"},he=_(Object(a.useState)({}),2),fe=he[0],ge=he[1];return Object(a.useEffect)((function(){var e,t=A.map((function(e){return e.y=e.value,delete e.value,e})),a={title:{text:J},chart:{height:R,type:K,events:{render:function(e){return v(e)},redraw:function(e){return v(e)}}},legend:{align:n,verticalAlign:oe,layout:re,x:le,y:ue},plotOptions:{pie:{colors:N.length>0?Object(h.a)(N):m.a.colors,dataLabels:{enabled:C,connectorShape:"straight",connectorWidth:3,format:S},showInLegend:$}},series:[{minPointSize:H,maxPointSize:X,innerSize:20==k?"100%":(e=B,be[e]),data:t,zMin:ne,startAngle:V,borderWidth:k,borderColor:z}],credits:!1};ge(Object.assign({},a))}),[A]),r.a.createElement(r.a.Fragment,null,x?r.a.createElement("div",{id:"wrapper-circle-chart-".concat(D)},r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:o()("pb_circle_chart",Object(f.c)(de)),id:D},pe),me),highcharts:p.a,options:fe}),r.a.createElement("div",{className:"pb-circle-chart-block"},x)):r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:o()("pb_circle_chart",Object(f.c)(de)),id:D},pe),me),highcharts:p.a,options:fe}))}},function(e,t,n){var a;"undefined"!=typeof self&&self,e.exports=(a=n(0),function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"HighchartsReact",(function(){return u}));var s=n(1),l=n.n(s),c="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,u=Object(s.memo)(Object(s.forwardRef)((function(e,t){var n=Object(s.useRef)(),i=Object(s.useRef)(),u=Object(s.useRef)(e.constructorType),d=Object(s.useRef)(e.highcharts);return c((function(){function t(){var t=e.highcharts||"object"===("undefined"==typeof window?"undefined":o(window))&&window.Highcharts,a=e.constructorType||"chart";t?t[a]?e.options?i.current=t[a](n.current,e.options,e.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(i.current){if(!1!==e.allowChartUpdate)if(e.constructorType!==u.current||e.highcharts!==d.current)u.current=e.constructorType,d.current=e.highcharts,t();else if(!e.immutable&&i.current){var a;(a=i.current).update.apply(a,[e.options].concat(r(e.updateArgs||[!0,!0])))}else t()}else t()}),[e.options,e.allowChartUpdate,e.updateArgs,e.containerProps,e.highcharts,e.constructorType]),c((function(){return function(){i.current&&(i.current.destroy(),i.current=null)}}),[]),Object(s.useImperativeHandle)(t,(function(){return{get chart(){return i.current},container:n}}),[]),l.a.createElement("div",a({},e.containerProps,{ref:n}))})));t.default=u},function(e,t){e.exports=a}]))},function(e,t,n){"use strict";var a=n(7),r=n.n(a);t.a=function(e){var t=/(data)\-[1-8]/;return e.map((function(e){return t.test(e)?"".concat(r.a["data_".concat(e[e.length-1])]):e}))}},function(e,t,n){"use strict";function a(e){return e.split("-")[1]}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(23),r=n(32),i=n(39),o=n(141);function s(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var s=e.getBoundingClientRect(),l=1,c=1;t&&Object(a.b)(e)&&(l=e.offsetWidth>0&&Object(r.c)(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&Object(r.c)(s.height)/e.offsetHeight||1);var u=(Object(a.a)(e)?Object(i.a)(e):window).visualViewport,d=!Object(o.a)()&&n,p=(s.left+(d&&u?u.offsetLeft:0))/l,m=(s.top+(d&&u?u.offsetTop:0))/c,b=s.width/l,h=s.height/c;return{width:b,height:h,top:m,right:p+b,bottom:m+h,left:p,x:p,y:m}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(8);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.dark,u=void 0!==i&&i,d=e.data,p=void 0===d?{}:d,m=e.icon,b=e.id,h=e.size,f=void 0===h?"md":h,g=e.variant,_=void 0===g?"default":g,y=Object(s.a)(n),M=Object(s.c)(p),v=o()(Object(s.b)("pb_icon_circle_kit",f,_),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},y,M,{className:v,id:b}),r.a.createElement(c.a,{dark:u,icon:m}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(15),l=n(8),c=n(33),u=n(5);t.a=function(e){var t=e.className,n=e.id,a=e.text,i=e.name,d=e.onClick,p=void 0===d?function(){}:d,m=e.avatarUrl,b=e.closeProps,h=void 0===b?{}:b,f=e.size,g=void 0===f?"":f,_=e.textTransform,y=void 0===_?"none":_,M=o()("pb_form_pill_kit_".concat("primary"),Object(u.c)(e),t,"small"===g?"small":null,y);return r.a.createElement("div",{className:M,id:n},i&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{imageUrl:m,name:i,size:"xs",status:null}),r.a.createElement(s.a,{className:"pb_form_pill_text",size:4,text:i})),a&&r.a.createElement(s.a,{className:"pb_form_pill_tag",size:4,text:a}),r.a.createElement("div",Object.assign({className:"pb_form_pill_close",onClick:p},h),r.a.createElement(l.a,{fixedWidth:!0,icon:"times"})))}},function(e,t,n){"use strict";n(56),n(21),n(80),n(44);var a=n(34),r=n(35),i=n(36),o=n(37),s=n(38),l=n(4),c=n(6),u=n(0),d=n.n(u),p=n(89),m=n(20),b=(n(28),n(49),n(62)),h=(n(61),n(97),n(98),n(84)),f=n(114),g=(u.Component,Object(h.a)(b.a));t.a=g},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(28),o=n.n(i),s=a.createContext(),l=a.createContext();function c(e){var t=e.children,n=a.useState(null),r=n[0],i=n[1],o=a.useRef(!1);a.useEffect((function(){return function(){o.current=!0}}),[]);var c=a.useCallback((function(e){o.current||i(e)}),[]);return a.createElement(s.Provider,{value:r},a.createElement(l.Provider,{value:c},t))}var u=function(e){return Array.isArray(e)?e[0]:e},d=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e.apply(void 0,n)}},p=function(e,t){if("function"==typeof e)return d(e,t);null!=e&&(e.current=t)},m=function(e){return e.reduce((function(e,t){var n=t[0],a=t[1];return e[n]=a,e}),{})},b="undefined"!=typeof window&&window.document&&window.document.createElement?a.useLayoutEffect:a.useEffect,h=n(378),f=n(203),g=n.n(f),_=[],y=function(){},M=function(){return Promise.resolve(null)},v=[];function z(e){var t=e.placement,n=void 0===t?"bottom":t,r=e.strategy,o=void 0===r?"absolute":r,l=e.modifiers,c=void 0===l?v:l,d=e.referenceElement,f=e.onFirstUpdate,z=e.innerRef,O=e.children,k=a.useContext(s),A=a.useState(null),x=A[0],w=A[1],N=a.useState(null),q=N[0],E=N[1];a.useEffect((function(){p(z,x)}),[z,x]);var j=a.useMemo((function(){return{placement:n,strategy:o,onFirstUpdate:f,modifiers:[].concat(c,[{name:"arrow",enabled:null!=q,options:{element:q}}])}}),[n,o,f,c,q]),W=function(e,t,n){void 0===n&&(n={});var r=a.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||_},s=a.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],c=s[1],u=a.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);i.flushSync((function(){c({styles:m(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:m(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=a.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[u,{name:"applyStyles",enabled:!1}])};return g()(r.current,e)?r.current||e:(r.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,u]),p=a.useRef();return b((function(){p.current&&p.current.setOptions(d)}),[d]),b((function(){if(null!=e&&null!=t){var a=(n.createPopper||h.a)(e,t,d);return p.current=a,function(){a.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}(d||k,x,j),L=W.state,S=W.styles,T=W.forceUpdate,C=W.update,R=a.useMemo((function(){return{ref:w,style:S.popper,placement:L?L.placement:n,hasPopperEscaped:L&&L.modifiersData.hide?L.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:L&&L.modifiersData.hide?L.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:S.arrow,ref:E},forceUpdate:T||y,update:C||M}}),[w,E,n,L,S,C,T]);return u(O)(R)}var O=n(162),k=n.n(O);function A(e){var t=e.children,n=e.innerRef,r=a.useContext(l),i=a.useCallback((function(e){p(n,e),d(r,e)}),[n,r]);return a.useEffect((function(){return function(){return p(n,null)}}),[]),a.useEffect((function(){k()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),u(t)({ref:i})}var x=n(2),w=n(3),N=n.n(w),q=n(5),E={offset:{enabled:!0,name:"offset",options:{offset:[0,20]},phase:"main"}},j=function(e){var t=e.modifiers;return e.offset?t.concat([E.offset]):t},W=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.children,o=e.data,s=void 0===o?{}:o,l=e.id,c=e.modifiers,u=e.offset,d=e.placement,p=e.referenceElement,m=e.zIndex,b=e.maxHeight,h=e.maxWidth,f=e.minHeight,g=e.minWidth,_=Object(q.c)(e).includes("dark")||!Object(q.c)(e)?"p_sm":Object(q.c)(e),y=b||h?"overflow_handling":"",M=m?{zIndex:m}:{},v=Object(x.a)(n),O=Object(x.c)(s),k=N()(Object(x.b)("pb_popover_kit"),Object(q.c)(e),a);return r.a.createElement(z,{modifiers:j({modifiers:c,offset:u}),placement:d,referenceElement:p},(function(e){var t=e.placement,n=e.ref,a=e.style;return r.a.createElement("div",Object.assign({},v,O,{className:k,"data-placement":t,id:l,ref:n,style:Object.assign({},a,M)}),r.a.createElement("div",{className:N()("".concat(Object(x.b)("pb_popover_tooltip")," show"))},r.a.createElement("div",{className:N()("pb_popover_body",_,y),style:Object.assign({},b?{maxHeight:b}:{},h?{maxWidth:h}:{},f?{minHeight:f}:{},g?{minWidth:g}:{})},i)))}))};t.a=function(e){var t=e.className,n=e.children,i=e.modifiers,s=void 0===i?[]:i,l=e.offset,u=void 0!==l&&l,d=e.placement,p=void 0===d?"left":d,m=e.portal,b=void 0===m?"body":m,h=e.reference,f=e.referenceElement,g=e.show,_=void 0!==g&&g,y=e.usePortal,M=void 0===y||y,v=e.zIndex,z=e.maxHeight,O=e.maxWidth,k=e.minHeight,w=e.minWidth;Object(a.useEffect)((function(){var t=e.closeOnClick,n=e.shouldClosePopover,a=void 0===n?x.d:n;t&&document.body.addEventListener("click",(function(e){var n=e.target,r=null!==n.closest("[class^=pb_popover_tooltip]"),i=null!==n.closest(".pb_popover_reference_wrapper");switch(t){case"outside":r&&!i||a(!0);break;case"inside":(r||i)&&a(!0);break;case"any":a(!0)}}),{capture:!0})}),[]);var N=r.a.createElement(W,Object.assign({className:t,maxHeight:z,maxWidth:O,minHeight:k,minWidth:w,modifiers:s,offset:u,placement:p,referenceElement:f,zIndex:v},e),n);return r.a.createElement(c,null,r.a.createElement(r.a.Fragment,null,h&&!f&&r.a.createElement(A,null,(function(e){var t=e.ref;return r.a.createElement("span",{className:"pb_popover_reference_wrapper",ref:t},r.a.createElement(h.type,Object.assign({},h.props)))})),_&&(M?r.a.createElement(r.a.Fragment,null,o.a.createPortal(N,document.querySelector(b))):{popoverComponent:N})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(7),r=n.n(a),i=n(9),o=n.n(i),s=n(26),l=n.n(s),c={lang:{thousandsSep:","},colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],chart:{borderWidth:0,borderRadius:0,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_dk_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_3}},subtitle:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_light,fontWeight:o.a.regular,fontSize:o.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_dark,tickColor:r.a.border_dark,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{color:r.a.text_dk_default,fontFamily:o.a.font_family_base,fontWeight:o.a.regular,fontSize:o.a.heading_4}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:r.a.border_dark,minorGridLineColor:r.a.border_dark,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}},title:{style:{fontFamily:o.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:o.a.bold,fontSize:o.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:o.a.font_family_base,color:r.a.text_dk_light,fontWeight:o.a.regular,fontSize:o.a.text_smaller},itemHoverStyle:{color:r.a.text_dk_default},itemHiddenStyle:{color:r.a.text_dk_lighter}},labels:{style:{color:r.a.primary}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,r.a.card_light],[1,r.a.card_light]]},shadow:!1,borderWidth:0,borderRadius:10,style:{fontFamily:o.a.font_family_base,color:r.a.text_lt_default,fontWeight:o.a.regular,fontSize:o.a.text_smaller}},pane:{background:{borderColor:r.a.border_dark}},plotOptions:{series:{borderColor:r.a.bg_dark_card,borderWidth:2,type:"area",nullColor:r.a.text_dk_lighter,fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,l.a.getOptions().colors[0]],[1,"white"]]},threshold:null},pie:{colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7],dataLabels:{style:{fontFamily:o.a.font_family_base,fontSize:o.a.text_smaller,color:r.a.text_dk_light,fontWeight:o.a.regular}}},line:{dataLabels:{color:r.a.text_dk_light},marker:{lineColor:r.a.border_dark},area:{shadow:!1,states:{hover:{lineWidth:1}},threshold:null}},treemap:{layoutAlgorithm:"squarified",allowTraversingTree:!1,animationLimit:1e3,colors:[r.a.data_1,r.a.data_2,r.a.data_3,r.a.data_4,r.a.data_5,r.a.data_6,r.a.data_7,r.a.data_8],colorByPoint:!0,dataLabels:{enabled:!0,style:{fontFamily:o.a.font_family_base,fontWeight:o.a.bold,fontSize:o.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50},text:"< Back",theme:{r:4,states:{hover:{style:{fill:"#004ebb"}}},style:{fill:r.a.royal,color:r.a.white,fontSize:"".concat(o.a.text_small),fontWeight:o.a.bold,fontFamily:"".concat(o.a.font_family_base)},stroke:r.a.royal,height:24,width:90}}}},credits:{enabled:!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(39),r=n(46),i=n(57),o=n(23);function s(e){return["table","td","th"].indexOf(Object(r.a)(e))>=0}var l=n(83),c=n(120);function u(e){return Object(o.b)(e)&&"fixed"!==Object(i.a)(e).position?e.offsetParent:null}function d(e){for(var t=Object(a.a)(e),n=u(e);n&&s(n)&&"static"===Object(i.a)(n).position;)n=u(n);return n&&("html"===Object(r.a)(n)||"body"===Object(r.a)(n)&&"static"===Object(i.a)(n).position)?t:n||function(e){var t=/firefox/i.test(Object(c.a)());if(/Trident/i.test(Object(c.a)())&&Object(o.b)(e)&&"fixed"===Object(i.a)(e).position)return null;var n=Object(l.a)(e);for(Object(o.c)(n)&&(n=n.host);Object(o.b)(n)&&["html","body"].indexOf(Object(r.a)(n))<0;){var a=Object(i.a)(n);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return n;n=n.parentNode}return null}(e)||t}},function(e,t,n){"use strict";function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.borderless,i=void 0!==a&&a,c=e.children,u=e.className,d=e.dark,p=void 0!==d&&d,m=e.data,b=void 0===m?{}:m,h=e.id,f=e.layout,g=void 0===f?"":f,_=e.ordered,y=void 0!==_&&_,M=e.role,v=e.size,z=void 0===v?"":v,O=e.tabIndex,k=e.xpadding,A=void 0!==k&&k,x=e.variant,w=e.text,N=r.a.Children.map(c,(function(e){return r.a.cloneElement(e,{text:w,variant:x})})),q=Object(s.a)(n),E=Object(s.c)(b),j=o()(Object(s.b)("pb_list_kit",{left:"layout_left",right:"layout_right",default:""}[g],z,{dark:p,borderless:i,ordered:y,xpadding:A}),Object(l.c)(e),u);return r.a.createElement("div",{className:j},y?r.a.createElement("ol",Object.assign({},q,E,{className:u,id:h,role:M,tabIndex:O}),N):r.a.createElement("ul",Object.assign({},q,E,{className:u,id:h,role:M,tabIndex:O}),N))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(13),o=n(8),s=n(2),l=n(3),c=n.n(l),u=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,l=e.checked,d=void 0!==l&&l,p=e.children,m=e.className,b=e.dark,h=void 0!==b&&b,f=e.data,g=void 0===f?{}:f,_=e.error,y=void 0!==_&&_,M=e.id,v=e.indeterminate,z=void 0!==v&&v,O=e.name,k=void 0===O?"":O,A=e.onChange,x=void 0===A?function(){}:A,w=e.tabIndex,N=e.text,q=void 0===N?"":N,E=e.value,j=void 0===E?"":E,W=Object(a.useRef)(null),L=Object(s.c)(g),S=Object(s.a)(n),T=c()(Object(s.b)("pb_checkbox_kit",d?"checked":null,y?"error":null,z?"indeterminate":null),Object(u.c)(e),m);Object(a.useEffect)((function(){W.current&&(W.current.checked=d,W.current.indeterminate=z)}),[z,d]);return r.a.createElement("label",Object.assign({},S,L,{className:T,id:M}),r.a.createElement(r.a.Fragment,null,p||r.a.createElement("input",{defaultChecked:d,name:k,onChange:x,ref:W,tabIndex:w,type:"checkbox",value:j})),!z&&r.a.createElement("span",{className:"pb_checkbox_checkmark"},r.a.createElement(o.a,{className:"check_icon",fixedWidth:!0,icon:"check"})),z&&r.a.createElement("span",{className:"pb_checkbox_indeterminate"},r.a.createElement(o.a,{className:"indeterminate_icon",fixedWidth:!0,icon:"minus"})),r.a.createElement(i.a,{className:"pb_checkbox_label",dark:h,status:y?"negative":null,variant:null},q))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(46),r=n(51),i=n(23);function o(e){return"html"===Object(a.a)(e)?e:e.assignedSlot||e.parentNode||(Object(i.c)(e)?e.host:null)||Object(r.a)(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(56),r=n(21),i=n(34),o=n(35),s=n(36),l=n(37),c=n(38),u=n(4),d=n(6),p=n(0),m=n.n(p),b={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},h=function(e){var t,n;return n=t=function(t){function n(){var e,t;Object(i.a)(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return t=Object(s.a)(this,(e=Object(l.a)(n)).call.apply(e,[this].concat(r))),Object(d.a)(Object(u.a)(Object(u.a)(t)),"select",void 0),Object(d.a)(Object(u.a)(Object(u.a)(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onChange",(function(e,n){t.callProp("onChange",e,n),t.setState({value:e})})),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onInputChange",(function(e,n){var a=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==a?a:e})})),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onMenuOpen",(function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})})),Object(d.a)(Object(u.a)(Object(u.a)(t)),"onMenuClose",(function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})})),t}return Object(c.a)(n,t),Object(o.a)(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return(t=this.props)[e].apply(t,a)}}},{key:"render",value:function(){var t=this,n=this.props,i=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,Object(a.a)(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return m.a.createElement(e,Object(r.a)({},i,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(p.Component),Object(d.a)(t,"defaultProps",b),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var a=function(e){for(var t,n=0,a=0,r=e.length;r>=4;++a,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},r={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var i=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n,a){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var a="";if(Array.isArray(n))for(var r=0;r<n.length;r++)a+=d(e,t,n[r],!1);else for(var i in n){var o=n[i];if("object"!=typeof o)null!=t&&void 0!==t[o]?a+=i+"{"+t[o]+"}":l(o)&&(a+=c(i)+":"+u(i,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var s=d(e,t,o,!1);switch(i){case"animation":case"animationName":a+=c(i)+":"+s+";";break;default:a+=i+"{"+s+"}"}}else for(var p=0;p<o.length;p++)l(o[p])&&(a+=c(i)+":"+u(i,o[p])+";")}return a}(e,t,n);case"function":if(void 0!==e){var i=p,o=n(e);return p=i,d(e,t,o,a)}break;case"string":}if(null==t)return n;var s=t[n];return void 0===s||a?n:s}var p,m=/label:\s*([^\s;\n{]+)\s*;/g;var b=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";p=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=d(n,t,o,!1)):i+=o[0];for(var s=1;s<e.length;s++)i+=d(n,t,e[s],46===i.charCodeAt(i.length-1)),r&&(i+=o[s]);m.lastIndex=0;for(var l,c="";null!==(l=m.exec(i));)c+="-"+l[1];return{name:a(i)+c,styles:i,next:p}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(17),d=n(8),p=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},m=function(e,t){var n=e.aria,a=void 0===n?{}:n,i=e.blankSelection,m=e.children,b=e.className,h=e.compact,f=void 0!==h&&h,g=e.data,_=void 0===g?{}:g,y=e.disabled,M=void 0!==y&&y,v=e.error,z=e.label,O=e.inline,k=void 0!==O&&O,A=e.multiple,x=void 0!==A&&A,w=e.name,N=e.onChange,q=void 0===N?function(){}:N,E=e.options,j=void 0===E?[]:E,W=e.required,L=void 0!==W&&W,S=e.value,T=p(e,["aria","blankSelection","children","className","compact","data","disabled","error","label","inline","multiple","name","onChange","options","required","value"]),C=Object(s.a)(a),R=Object(s.c)(_),D=function(e){return e.map((function(e,t){return r.a.createElement("option",{disabled:e.disabled,key:t,value:e.value},e.text||e.value)}))}(j),P=k?"inline":null,B=f?"compact":null,I=o()(Object(s.b)("pb_select"),Object(l.c)(Object.assign(Object.assign({},T),{marginBottom:T.marginBottom||T.margin||"sm"})),b,P,B),$=o()(Object(s.b)("pb_select_kit_wrapper"),{error:v},b),F=m||r.a.createElement("select",Object.assign({},Object(l.b)(T),{disabled:M,id:w,multiple:x,name:w,onChange:q,ref:t,required:L,value:S}),i&&r.a.createElement("option",{value:""},i),D);return r.a.createElement("div",Object.assign({},C,R,{className:I}),z&&r.a.createElement("label",{className:"pb_select_kit_label",htmlFor:w},r.a.createElement(u.a,{text:z})),r.a.createElement("label",{className:$,htmlFor:w},F,r.a.createElement(d.a,{className:"pb_select_kit_caret",fixedWidth:!0,icon:"angle-down"}),v&&r.a.createElement(c.a,{status:"negative",text:v})))};t.a=Object(a.forwardRef)(m)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(13),u=n(15);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,d=e.className,p=e.data,m=void 0===p?{}:p,b=e.detail,h=e.id,f=e.title,g=Object(l.a)(i),_=Object(l.c)(m),y=Object(l.b)("pb_title_detail_kit",n);return r.a.createElement("div",Object.assign({},g,_,{className:o()(y,Object(s.c)(e),d),id:h}),r.a.createElement(u.a,{size:4,text:f}),r.a.createElement(c.a,{color:"light",text:b}))}},function(e,t,n){"use strict";var a=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var a={};return n.isMergeableObject(e)&&s(e).forEach((function(t){a[t]=i(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?a[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):a[r]=i(t[r],n))})),a}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||a,n.cloneUnlessOtherwiseSpecified=i;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var d=u;e.exports=d},function(e,t,n){"use strict";var a=function(e,t){return e===t};t.a=function(e,t){var n;void 0===t&&(t=a);var r,i=[],o=!1,s=function(e,n){return t(e,i[n],n)};return function(){for(var t=arguments.length,a=new Array(t),l=0;l<t;l++)a[l]=arguments[l];return o&&n===this&&a.length===i.length&&a.every(s)||(r=e.apply(this,a),o=!0,n=this,i=a),r}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(155),l=n(2),c=n(5),u=n(13),d=n(17),p=n(11),m=n(16),b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},h=function(e,t){var n=e.aria,i=void 0===n?{}:n,h=e.characterCount,f=e.className,g=e.children,_=e.data,y=void 0===_?{}:_,M=e.disabled,v=e.inline,z=void 0!==v&&v,O=e.resize,k=void 0===O?"none":O,A=e.error,x=e.label,w=e.maxCharacters,N=e.name,q=e.onChange,E=void 0===q?function(){}:q,j=e.placeholder,W=e.required,L=e.rows,S=void 0===L?4:L,T=e.value,C=b(e,["aria","characterCount","className","children","data","disabled","inline","resize","error","label","maxCharacters","name","onChange","placeholder","required","rows","value"]);t=Object(a.useRef)(null),Object(a.useEffect)((function(){t.current&&"auto"===k&&s.a.addMatch(t.current)}));var R=A?"error":null,D=z?"inline":"",P="resize_".concat(k),B=o()("pb_textarea_kit",R,D,P,Object(c.c)(C),f),I=void 0!==h,$=Object(l.a)(i),F=Object(l.c)(y),X=function(){return w&&h?"".concat(Y(h)," / ").concat(w):"".concat(Y(h))},Y=function(e){return 0==e?e.toString():e};return r.a.createElement("div",Object.assign({},$,F,{className:B}),r.a.createElement(d.a,{text:x}),g||r.a.createElement("textarea",Object.assign({className:"pb_textarea_kit",disabled:M,name:N,onChange:E,placeholder:j,ref:t,required:W,rows:S,value:T},C)),A?r.a.createElement(r.a.Fragment,null,h?r.a.createElement(p.a,{spacing:"between",vertical:"center"},r.a.createElement(m.a,null,r.a.createElement(u.a,{margin:"none",status:"negative",text:A})),r.a.createElement(m.a,null,r.a.createElement(d.a,{margin:"none",size:"xs",text:X()}))):r.a.createElement(u.a,{status:"negative",text:A})):I&&r.a.createElement(d.a,{margin:"none",size:"xs",text:X()}))};t.a=Object(a.forwardRef)(h)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(11),u=n(64),d=n(180);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,p=e.className,m=e.data,b=void 0===m?{}:m,h=e.showDayOfWeek,f=void 0!==h&&h,g=e.datetime,_=e.id,y=e.showIcon,M=void 0!==y&&y,v=e.size,z=void 0===v?"md":v,O=e.timeZone,k=void 0===O?"America/New_York":O,A=Object(s.a)(i),x=Object(s.c)(b),w=o()(Object(s.b)("pb_date_time",z),Object(l.c)(e),p);return r.a.createElement("div",Object.assign({},A,x,{className:w,id:_}),r.a.createElement(c.a,{horizontal:n,vertical:"baseline"},r.a.createElement(d.a,{showDayOfWeek:f,size:z,value:g}),r.a.createElement(u.a,{date:g,marginLeft:"sm",showIcon:M,size:z,timeZone:k})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a=n(32);function r(e,t,n){return Object(a.a)(e,Object(a.b)(t,n))}function i(e,t,n){var a=r(e,t,n);return a>n?n:a}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(54),c=n(33),u=n(13),d=n(17),p=n(74),m=n(15);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,b=void 0===i?{}:i,h=e.hideIcon,f=void 0!==h&&h,g=e.id,_=e.source,y=e.type,M=void 0===y?"inbound":y,v=e.user,z=void 0===v?{}:v,O=Object(s.c)(b),k=Object(s.a)(n),A=o()(["pb_source_kit",a]),x=function(){if(("user"===M||"referral"===M)&&void 0!==z.name){var e=Object.assign({},z);return e.size="sm",delete e.userId,e}},w=function(){return"user"!==M&&void 0===x()};return r.a.createElement("div",Object.assign({},k,O,{className:A,id:g}),r.a.createElement("div",{className:"pb__source_layout"},!1===f&&r.a.createElement(r.a.Fragment,null,w()&&r.a.createElement(p.a,{icon:{events:"calendar-alt",outbound:"sign-out",prospecting:"binoculars",referral:"handshake",retail:"shopping-bag",inbound:"sign-in"}[M],size:"sm"}),!w()&&r.a.createElement(c.a,Object.assign({},x()))),r.a.createElement("div",{className:"pb__source_content"},r.a.createElement(m.a,{size:4,tag:"h4",text:_}),r.a.createElement("div",{className:"pb__source_value"},r.a.createElement(u.a,{color:"light",text:"user"===M||"referral"===M&&void 0!==z.name?z.name:Object(l.c)(M)}),z.userId&&r.a.createElement(d.a,{text:z.userId})))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,c=void 0===i?{}:i,u=e.fullWidth,d=void 0!==u&&u,p=e.id,m=e.children,b=Object(s.a)(n),h=Object(s.c)(c),f=o()(Object(s.b)("pb_form_group_kit",{full:d}),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},b,h,{className:f,id:p}),m)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(13),o=n(3),s=n.n(o),l=n(2),c=n(5),u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},d=function(e,t){var n=e.aria,a=void 0===n?{}:n,o=e.alignment,d=e.children,p=e.className,m=e.dark,b=void 0!==m&&m,h=e.data,f=void 0===h?{}:h,g=e.error,_=void 0!==g&&g,y=e.id,M=e.label,v=e.name,z=void 0===v?"radio_name":v,O=e.text,k=void 0===O?"Radio Text":O,A=e.value,x=void 0===A?"radio_text":A,w=e.onChange,N=void 0===w?function(){}:w,q=u(e,["aria","alignment","children","className","dark","data","error","id","label","name","text","value","onChange"]),E=Object(l.a)(a),j=Object(l.c)(f),W=s()(Object(l.b)("pb_radio_kit",o),b?"dark":null,_?"error":null,Object(c.c)(q),p);return r.a.createElement("label",Object.assign({},E,j,{className:W,htmlFor:y}),r.a.createElement(r.a.Fragment,null,function(e){return d||r.a.createElement("input",Object.assign({id:y,name:z,onChange:N,ref:t,text:k,type:"radio",value:x},e))}(q)),r.a.createElement("span",{className:"pb_radio_button"}),r.a.createElement(i.a,{dark:b,status:_?"negative":null,text:M,variant:null}))};t.a=Object(a.forwardRef)(d)},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(17),d=n(48),p=n(11),m=n(8),b=n(77),h=n(41);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.className,g=e.confirmation,_=void 0!==g&&g,y=e.data,M=void 0===y?{}:y,v=e.dark,z=void 0!==v&&v,O=e.id,k=e.inputProps,A=void 0===k?{}:k,x=e.label,w=void 0===x?_?"Confirm Passphrase":"Passphrase":x,N=e.onChange,q=void 0===N?function(){}:N,E=e.showTipsBelow,j=void 0===E?"always":E,W=e.tips,L=void 0===W?[]:W,S=e.uncontrolled,T=void 0!==S&&S,C=e.value,R=void 0===C?"":C,D=f(Object(a.useState)(""),2),P=D[0],B=D[1],I=f(Object(a.useState)(!1),2),$=I[0],F=I[1],X=f(Object(a.useState)(!1),2),Y=X[0],H=X[1],U=Object(a.useCallback)((function(e){return T?B(e.target.value):q(e)}),[T,q]),V=Object(a.useMemo)((function(){return T?P:R}),[R,P,T]),G=o()("passphrase-popover","always"===j?null:"show-below-".concat(j)),K=Object(s.a)(n),J=o()(Object(s.b)("pb_passphrase"),Object(l.c)(e),i),Z=Object(s.c)(M),Q=r.a.createElement(d.a,{className:G,dark:z,icon:"info-circle",onClick:function(){return F(!$)},variant:"link"});return r.a.createElement("div",Object.assign({},K,Z,{className:J,id:O}),r.a.createElement("label",null,r.a.createElement(p.a,{align:"baseline"},r.a.createElement(u.a,{className:"passphrase-label",text:w}),L.length>0&&!_&&r.a.createElement(b.a,{className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:Q,shouldClosePopover:function(e){F(!e)},show:$},r.a.createElement(p.a,{align:"center",orientation:"column"},r.a.createElement(u.a,{marginBottom:"xs",text:"Tips for a good passphrase"}),r.a.createElement("div",null,L.map((function(e,t){return r.a.createElement(u.a,{key:t,marginBottom:"xs",size:"xs"},r.a.createElement(m.a,{icon:"shield-check",marginRight:"xs"}),e)})))))),r.a.createElement("div",{className:"passphrase-text-input-wrapper"},r.a.createElement(h.a,Object.assign({className:"passphrase-text-input",dark:z,marginBottom:"xs",onChange:U,placeholder:"Enter a passphrase...",type:Y?"text":"password",value:V},A)),r.a.createElement("span",{className:"show-passphrase-icon",onClick:function(e){e.preventDefault(),H(!Y)}},r.a.createElement(c.a,{className:Y?"hide-icon":"",color:"light",dark:z},r.a.createElement(m.a,{icon:"eye-slash"})),r.a.createElement(c.a,{className:Y?"":"hide-icon",color:"light",dark:z},r.a.createElement(m.a,{icon:"eye"}))))))}},function(e,t,n){"use strict";function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=n(0),o=l(i),s=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},u=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],d=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},p=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),m=function(){return p?"_"+Math.random().toString(36).substr(2,12):void 0},b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||m()},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||m()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(d(e,this.sizer),this.placeHolderSizer&&d(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return p&&e?o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=a({},this.props.style);t.display||(t.display="inline-block");var n=a({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),r=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(this.props,[]);return function(e){u.forEach((function(t){return delete e[t]}))}(r),r.className=this.props.inputClassName,r.id=this.state.inputId,r.style=n,o.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),o.default.createElement("input",a({},r,{ref:this.inputRef})),o.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?o.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(i.Component);b.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},b.defaultProps={minWidth:1,injectStyles:!0},t.default=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return M}));var a=n(73),r=n(102),i=n(39),o=n(23);var s=n(46),l=n(101),c=n(51),u=n(103),d=n(32);function p(e,t,n){void 0===n&&(n=!1);var p,m,b=Object(o.b)(t),h=Object(o.b)(t)&&function(e){var t=e.getBoundingClientRect(),n=Object(d.c)(t.width)/e.offsetWidth||1,a=Object(d.c)(t.height)/e.offsetHeight||1;return 1!==n||1!==a}(t),f=Object(c.a)(t),g=Object(a.a)(e,h,n),_={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(b||!b&&!n)&&(("body"!==Object(s.a)(t)||Object(u.a)(f))&&(_=(p=t)!==Object(i.a)(p)&&Object(o.b)(p)?{scrollLeft:(m=p).scrollLeft,scrollTop:m.scrollTop}:Object(r.a)(p)),Object(o.b)(t)?((y=Object(a.a)(t,!0)).x+=t.clientLeft,y.y+=t.clientTop):f&&(y.x=Object(l.a)(f))),{x:g.left+_.scrollLeft-y.x,y:g.top+_.scrollTop-y.y,width:g.width,height:g.height}}var m=n(104),b=n(108),h=n(79),f=n(12);function g(e){var t=new Map,n=new Set,a=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(a){if(!n.has(a)){var r=t.get(a);r&&e(r)}})),a.push(r)}(e)})),a}var _={placement:"bottom",modifiers:[],strategy:"absolute"};function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function M(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,a=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?_:r;return function(e,t,n){void 0===n&&(n=i);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},_,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;M(),l.options=Object.assign({},i,l.options,r),l.scrollParents={reference:Object(o.a)(e)?Object(b.a)(e):e.contextElement?Object(b.a)(e.contextElement):[],popper:Object(b.a)(t)};var s=function(e){var t=g(e);return f.g.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(a,l.options.modifiers)));return l.orderedModifiers=s.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,a=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:l,name:t,instance:d,options:a});c.push(i||function(){})}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(y(t,n)){l.rects={reference:p(t,Object(h.a)(n),"fixed"===l.options.strategy),popper:Object(m.a)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<l.orderedModifiers.length;a++)if(!0!==l.reset){var r=l.orderedModifiers[a],i=r.fn,o=r.options,s=void 0===o?{}:o,c=r.name;"function"==typeof i&&(l=i({state:l,options:s,name:c,instance:d})||l)}else l.reset=!1,a=-1}}},update:(r=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){M(),u=!0}};if(!y(e,t))return d;function M(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}},function(e,t,n){"use strict";function a(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(73),r=n(51),i=n(102);function o(e){return Object(a.a)(Object(r.a)(e)).left+Object(i.a)(e).scrollLeft}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(39);function r(e){var t=Object(a.a)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(57);function r(e){var t=Object(a.a)(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(73);function r(e){var t=Object(a.a)(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(8),c=n(15);function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var m={success:"check",error:"exclamation-triangle",neutral:"info-circle",tip:"info-circle"};t.a=function(e){var t=d(Object(a.useState)(!0),2),n=t[0],i=t[1],p=e.autoClose,b=void 0===p?0:p,h=e.className,f=e.closeable,g=void 0!==f&&f,_=e.horizontal,y=e.multiLine,M=void 0!==y&&y,v=e.onClose,z=void 0===v?function(){}:v,O=e.open,k=void 0===O||O,A=e.status,x=void 0===A?"neutral":A,w=e.text,N=e.vertical,q=o()("pb_fixed_confirmation_toast_kit_".concat(x),{_multi_line:M},u({},"positioned_toast ".concat(N," ").concat(_),N&&_),Object(s.c)(e),h),E=m[x];Object(a.useEffect)((function(){i(k),b&&k&&setTimeout((function(){i(!1),z()}),b)}),[k]);return r.a.createElement(r.a.Fragment,null,n&&r.a.createElement("div",{className:q,onClick:function(){i(!g),z()}},E&&r.a.createElement(l.a,{className:"pb_icon",fixedWidth:!0,icon:E}),r.a.createElement(c.a,{className:"pb_fixed_confirmation_toast_text",size:4,text:w}),g&&r.a.createElement(l.a,{className:"pb_icon",fixedWidth:!1,icon:"times"})))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(15),l=n(2),c=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,u=void 0===i?{}:i,d=e.id,p=e.text,m=e.variant,b=void 0===m?"neutral":m,h=e.textTransform,f=void 0===h?"lowercase":h,g=Object(l.a)(n),_=Object(l.c)(u),y=o()(Object(l.b)("pb_pill_kit",b,f),Object(c.c)(e),a);return r.a.createElement("div",Object.assign({},g,_,{className:y,id:d}),r.a.createElement(s.a,{className:"pb_pill_text",size:4,tag:"div",text:p}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(13),u=n(65),d=n(119);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.checkmark,i=void 0!==a&&a,p=e.checked,m=void 0!==p&&p,b=e.className,h=e.customIcon,f=e.dark,g=void 0!==f&&f,_=e.data,y=void 0===_?{}:_,M=e.disabled,v=void 0!==M&&M,z=e.icon,O=e.inputId,k=e.multi,A=void 0===k||k,x=e.name,w=e.titleText,N=e.bodyText,q=e.value,E=e.onChange,j=Object(l.a)(n),W=Object(l.c)(y),L=o()(Object(l.b)("pb_selectable_card_icon_kit",{checked:m,disabled:v,enabled:!v}),Object(s.c)(e),b);return r.a.createElement("div",Object.assign({},j,W,{className:L}),r.a.createElement(u.a,{checked:m,customIcon:h,dark:g,disabled:v,icon:i,inputId:O,multi:A,name:x,onChange:E,value:q},r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{customIcon:h,icon:z,inputId:"",inputs:"disabled",name:"",text:w}),r.a.createElement(c.a,{color:"light",dark:g,text:N}))))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(83),r=n(103),i=n(46),o=n(23);var s=n(39);function l(e,t){var n;void 0===t&&(t=[]);var c=function e(t){return["html","body","#document"].indexOf(Object(i.a)(t))>=0?t.ownerDocument.body:Object(o.b)(t)&&Object(r.a)(t)?t:e(Object(a.a)(t))}(e),u=c===(null==(n=e.ownerDocument)?void 0:n.body),d=Object(s.a)(c),p=u?[d].concat(d.visualViewport||[],Object(r.a)(c)?c:[]):c,m=t.concat(p);return u?m:m.concat(l(Object(a.a)(p)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(70),u=n.n(c),d=n(26),p=n.n(d),m=n(52),b=n(78),h=n(71),f=n(207),g=n.n(f);function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var M=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.data,c=void 0===i?{}:i,d=e.chartData,f=e.colors,y=e.dark,v=void 0!==y&&y,z=e.drillable,O=void 0!==z&&z,k=e.grouped,A=void 0!==k&&k,x=e.height,w=e.id,N=e.title,q=void 0===N?"":N,E=e.tooltipHtml,j=void 0===E?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.value}</b>':E,W=e.type,L=void 0===W?"treemap":W,S=M(e,["aria","data","chartData","colors","dark","drillable","grouped","height","id","title","tooltipHtml","type"]),T=Object(l.a)(n),C=Object(l.c)(c);g()(p.a),v?p.a.setOptions(b.a):p.a.setOptions(m.a);var R={title:{text:q},chart:{height:x,type:L},credits:!1,series:[{data:d}],plotOptions:{treemap:{tooltip:{pointFormat:j},allowTraversingTree:O,colorByPoint:!A,colors:void 0!==f&&f.length>0?Object(h.a)(f):m.a.colors}}},D=_(Object(a.useState)({}),2),P=D[0],B=D[1];return Object(a.useEffect)((function(){B(Object.assign({},R))}),[d]),r.a.createElement(u.a,{containerProps:Object.assign(Object.assign({className:o()(Object(s.c)(S),"pb_treemap_chart"),id:w},T),C),highcharts:p.a,options:P})}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(76),o=n(56),s=n(21),l=n(80),c=n(44),u=n(34),d=n(35),p=n(36),m=n(37),b=n(38),h=n(4),f=n(6),g=(n(20),n(28),n(49),n(29)),_=n(62),y=(n(61),n(97),n(98),n(84)),M={cacheOptions:!1,defaultOptions:!1,filterOption:null},v=function(e){var t,n;return n=t=function(t){function n(e){var t;return Object(u.a)(this,n),t=Object(p.a)(this,Object(m.a)(n).call(this)),Object(f.a)(Object(h.a)(Object(h.a)(t)),"select",void 0),Object(f.a)(Object(h.a)(Object(h.a)(t)),"lastRequest",void 0),Object(f.a)(Object(h.a)(Object(h.a)(t)),"mounted",!1),Object(f.a)(Object(h.a)(Object(h.a)(t)),"optionsCache",{}),Object(f.a)(Object(h.a)(Object(h.a)(t)),"handleInputChange",(function(e,n){var a=t.props,r=a.cacheOptions,i=a.onInputChange,o=Object(g.k)(e,n,i);if(!o)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(r&&t.optionsCache[o])t.setState({inputValue:o,loadedInputValue:o,loadedOptions:t.optionsCache[o],isLoading:!1,passEmptyOptions:!1});else{var s=t.lastRequest={};t.setState({inputValue:o,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},(function(){t.loadOptions(o,(function(e){t.mounted&&(e&&(t.optionsCache[o]=e),s===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:o,loadedOptions:e||[],passEmptyOptions:!1})))}))}))}return o})),t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:void 0!==e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return Object(b.a)(n,t),Object(d.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,(function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var n=this.props.loadOptions;if(!n)return t();var a=n(e,t);a&&"function"==typeof a.then&&a.then(t,(function(){return t()}))}},{key:"render",value:function(){var t=this,n=this.props,a=(n.loadOptions,Object(o.a)(n,["loadOptions"])),i=this.state,l=i.defaultOptions,c=i.inputValue,u=i.isLoading,d=i.loadedInputValue,p=i.loadedOptions,m=i.passEmptyOptions?[]:c&&d?p:l||[];return r.a.createElement(e,Object(s.a)({},a,{ref:function(e){t.select=e},options:m,isLoading:u,onInputChange:this.handleInputChange}))}}]),n}(a.Component),Object(f.a)(t,"defaultProps",M),n},z=v(Object(y.a)(_.a)),O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),a=String(t.value).toLowerCase(),r=String(t.label).toLowerCase();return a===n||r===n},k={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return O(e,t)}))||n.some((function(t){return O(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},A=Object(c.a)({allowCreateWhileLoading:!1,createOptionPosition:"last"},k),x=function(e){var t,n;return n=t=function(t){function n(e){var t;Object(u.a)(this,n),t=Object(p.a)(this,Object(m.a)(n).call(this,e)),Object(f.a)(Object(h.a)(Object(h.a)(t)),"select",void 0),Object(f.a)(Object(h.a)(Object(h.a)(t)),"onChange",(function(e,n){var a=t.props,r=a.getNewOptionData,i=a.inputValue,o=a.isMulti,s=a.onChange,c=a.onCreateOption,u=a.value,d=a.name;if("select-option"!==n.action)return s(e,n);var p=t.state.newOption,m=Array.isArray(e)?e:[e];if(m[m.length-1]!==p)s(e,n);else if(c)c(i);else{var b=r(i,i),h={action:"create-option",name:d};s(o?[].concat(Object(l.a)(Object(g.f)(u)),[b]):b,h)}}));var a=e.options||[];return t.state={newOption:void 0,options:a},t}return Object(b.a)(n,t),Object(d.a)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,a=e.formatCreateLabel,r=e.getNewOptionData,i=e.inputValue,o=e.isLoading,s=e.isValidNewOption,c=e.value,u=e.options||[],d=this.state.newOption;d=s(i,Object(g.f)(c),u)?r(i,a(i)):void 0,this.setState({newOption:d,options:!t&&o||!d?u:"first"===n?[d].concat(Object(l.a)(u)):[].concat(Object(l.a)(u),[d])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,n=this.state.options;return r.a.createElement(e,Object(s.a)({},this.props,{ref:function(e){t.select=e},options:n,onChange:this.onChange}))}}]),n}(a.Component),Object(f.a)(t,"defaultProps",A),n},w=x(_.a),N=Object(y.a)(w),q=x(_.a),E=v(Object(y.a)(q)),j=n(22),W=n(5),L=n(3),S=n.n(L),T=n(27),C=n(11),R=n(41),D=function(e){return r.a.createElement("div",{className:"pb_typeahead_wrapper"},r.a.createElement(R.a,{dark:e.selectProps.dark,error:e.selectProps.error,label:e.selectProps.label},r.a.createElement(C.a,null,r.a.createElement(T.z.Control,Object.assign({className:"text_input"},e)))))},P=function(e){var t=e.selectProps,n=e.clearValue;return Object(a.useEffect)((function(){document.addEventListener("pb-typeahead-kit-".concat(t.id,":clear"),n)}),[!0]),r.a.createElement(T.z.ClearIndicator,Object.assign({className:"clear_indicator"},e))},B=function(e){return r.a.createElement(T.z.IndicatorsContainer,Object.assign({className:"text_input_indicators"},e))},I=function(e){return r.a.createElement(T.z.MenuList,Object.assign({},e),e.children)},$=n(58),F=n(75),X=function(e){var t=e.removeProps,n=e.data,a=n.imageUrl,i=n.label,o=e.selectProps.multiKit;return"string"==typeof a&&({marginRight:"xs",name:i,avatarUrl:""}.avatarUrl=a),r.a.createElement(T.z.MultiValueContainer,Object.assign({className:"text_input_multivalue_container"},e),"badge"===o&&r.a.createElement($.a,{closeProps:t,removeIcon:!0,text:i,variant:"primary"}),"badge"!==o&&a&&r.a.createElement(F.a,{avatarUrl:a,closeProps:t,marginRight:"xs",name:i,size:"smallPill"===o?"small":"",text:""}),"badge"!==o&&!a&&r.a.createElement(F.a,{closeProps:t,marginRight:"xs",name:"",size:"smallPill"===o?"small":"",text:i}))},Y=n(115),H=function(e){var t=e.data.imageUrl,n=e.selectProps.valueComponent;return r.a.createElement(T.z.Option,Object.assign({},e),r.a.createElement(r.a.Fragment,null,!n&&t&&r.a.createElement(Y.a,{align:"left",avatarUrl:t,dark:e.selectProps.dark,name:e.label,orientation:"horizontal"}),n&&n(e.data),!n&&!t&&e.label))},U=n(8),V=function(e){return r.a.createElement(r.a.Fragment,null,r.a.createElement(C.a,{align:"center",className:"placeholder"},r.a.createElement(T.z.IndicatorsContainer,Object.assign({},e)),e.selectProps.plusIcon&&r.a.createElement(U.a,{className:"typeahead-plus-icon",icon:"plus"})))},G=function(e){return r.a.createElement(T.z.ValueContainer,Object.assign({className:"text_input_value_container"},e))},K=n(2),J=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.async,n=e.className,a=e.components,o=void 0===a?{}:a,s=e.createable,l=e.error,c=void 0===l?"":l,u=e.data,d=void 0===u?{}:u,p=e.getOptionLabel,m=e.getOptionValue,b=e.id,h=e.loadOptions,f=void 0===h?K.d:h,g=J(e,["async","className","components","createable","error","data","getOptionLabel","getOptionValue","id","loadOptions"]),_=Object.assign({cacheOptions:!0,components:Object.assign({Control:D,ClearIndicator:P,IndicatorsContainer:B,IndicatorSeparator:null,MenuList:I,MultiValue:X,Option:H,Placeholder:V,ValueContainer:G},o),loadOptions:Object(j.isString)(f)?Object(j.get)(window,f):f,getOptionLabel:Object(j.isString)(p)?Object(j.get)(window,p):p,getOptionValue:Object(j.isString)(m)?Object(j.get)(window,m):m,defaultOptions:!0,id:b||Object(j.uniqueId)(),inline:!1,isClearable:!0,isSearchable:!0,name:name,multiKit:"",onCreateOption:null,plusIcon:!1,onMultiValueClick:function(e){}},g),y=s?t?E:N:t?z:i.a,M=Object(K.c)(d),v=S()("pb_typeahead_kit react-select",Object(W.c)(g),n),O=_.inline?"inline":null;return r.a.createElement("div",Object.assign({},M,{className:S()(v,O)}),r.a.createElement(y,Object.assign({classNamePrefix:"typeahead-kit-select",error:c,onChange:function(e,t){var n=t.action,a=t.option,r=t.removedValue;if("select-option"===n){_.onMultiValueClick&&_.onMultiValueClick(a);var i=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-select"),{detail:a||e});document.dispatchEvent(i)}if("remove-value"===n||"pop-value"===n){var o=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-remove"),{detail:r});document.dispatchEvent(o)}if("clear"===n){var s=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-clear"));document.dispatchEvent(s)}}},_)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.children,i=e.className,c=e.data,u=void 0===c?{}:c,d=e.id,p=e.sideHighlightColor,m=void 0===p?"windows":p,b=Object(s.a)(n),h=Object(s.c)(u),f=""!=m?"side_highlight_".concat(m):null,g=o()(Object(s.b)("pb_table_row_kit",f),Object(l.c)(e),i);return r.a.createElement("tr",Object.assign({},b,h,{className:g,id:d}),a)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(5),o=n(2),s=n(70),l=n.n(s),c=n(26),u=n.n(c),d=n(52),p=n(78),m=n(71),b=n(3),h=n.n(b);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,s=e.data,c=void 0===s?{}:s,b=e.align,g=void 0===b?"center":b,y=e.axisTitle,M=e.dark,v=void 0!==M&&M,z=e.chartData,O=e.className,k=void 0===O?"pb_bar_graph":O,A=e.colors,x=e.id,w=e.pointStart,N=e.subTitle,q=e.type,E=void 0===q?"column":q,j=e.title,W=void 0===j?"Title":j,L=e.xAxisCategories,S=e.yAxisMin,T=e.yAxisMax,C=e.legend,R=void 0!==C&&C,D=e.toggleLegendClick,P=void 0===D||D,B=e.height,I=e.layout,$=void 0===I?"horizontal":I,F=e.verticalAlign,X=void 0===F?"bottom":F,Y=e.x,H=void 0===Y?0:Y,U=e.y,V=void 0===U?0:U,G=_(e,["aria","data","align","axisTitle","dark","chartData","className","colors","id","pointStart","subTitle","type","title","xAxisCategories","yAxisMin","yAxisMax","legend","toggleLegendClick","height","layout","verticalAlign","x","y"]),K=Object(o.a)(n),J=Object(o.c)(c);v?u.a.setOptions(p.a):u.a.setOptions(d.a);var Z={title:{text:W},chart:{height:B,type:E},subtitle:{text:N},yAxis:{min:S,max:T,title:{text:y}},xAxis:{categories:L},legend:{enabled:R,align:g,verticalAlign:X,layout:$,x:H,y:V},colors:void 0!==A&&A.length>0?Object(m.a)(A):d.a.colors,plotOptions:{series:{pointStart:w,events:{},dataLabels:{enabled:!1}}},series:z,credits:!1};P||(Z.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=f(Object(a.useState)({}),2),ee=Q[0],te=Q[1];return Object(a.useEffect)((function(){te(Object.assign({},Z))}),[z]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign({className:h()(Object(i.c)(G),k),id:x},K),J),highcharts:u.a,options:ee})}},function(e,t,n){"use strict";var a,r;!function(i){e.exports?(i.default=i,e.exports=i):(a=[n(26)],void 0===(r=function(e){return i(e),i.Highcharts=e,i}.apply(t,a))||(e.exports=r))}((function(e){function t(e,t,n,a){e.hasOwnProperty(t)||(e[t]=a.apply(null,n))}t(e=e?e._modules:{},"Extensions/Pane.js",[e["Core/Chart/Chart.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r){function i(e,t,n){return Math.sqrt(Math.pow(e-n[0],2)+Math.pow(t-n[1],2))<=n[2]/2}var o=r.addEvent,s=r.extend,l=r.merge,c=r.pick,u=r.splat;return e.prototype.collectionsWithUpdate.push("pane"),r=function(){function e(e,t){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(e,t)}return e.prototype.init=function(e,t){this.chart=t,this.background=[],t.pane.push(this),this.setOptions(e)},e.prototype.setOptions=function(e){this.options=l(this.defaultOptions,this.chart.angular?{background:{}}:void 0,e)},e.prototype.render=function(){var e=this.options,t=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:e.zIndex||0}).add()),this.updateCenter(),t)for(t=u(t),e=Math.max(t.length,this.background.length||0),n=0;n<e;n++)t[n]&&this.axis?this.renderBackground(l(this.defaultBackgroundOptions,t[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},e.prototype.renderBackground=function(e,t){var n="animate",a={class:"highcharts-pane "+(e.className||"")};this.chart.styledMode||s(a,{fill:e.backgroundColor,stroke:e.borderColor,"stroke-width":e.borderWidth}),this.background[t]||(this.background[t]=this.chart.renderer.path().add(this.group),n="attr"),this.background[t][n]({d:this.axis.getPlotBandPath(e.from,e.to,e)}).attr(a)},e.prototype.updateCenter=function(e){this.center=(e||this.axis||{}).center=t.getCenter.call(this)},e.prototype.update=function(e,t){l(!0,this.options,e),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(e){e.pane===this&&(e.pane=null,e.update({},t))}),this)},e}(),e.prototype.getHoverPane=function(e){var t,n=this;return e&&n.pane.forEach((function(a){var r=e.chartX-n.plotLeft,o=e.chartY-n.plotTop;i(n.inverted?o:r,n.inverted?r:o,a.center)&&(t=a)})),t},o(e,"afterIsInsidePlot",(function(e){this.polar&&(e.isInsidePlot=this.pane.some((function(t){return i(e.x,e.y,t.center)})))})),o(a,"beforeGetHoverData",(function(e){var t=this.chart;t.polar?(t.hoverPane=t.getHoverPane(e),e.filter=function(n){return n.visible&&!(!e.shared&&n.directTouch)&&c(n.options.enableMouseTracking,!0)&&(!t.hoverPane||n.xAxis.pane===t.hoverPane)}):t.hoverPane=void 0})),o(a,"afterGetHoverData",(function(e){var t=this.chart;e.hoverPoint&&e.hoverPoint.plotX&&e.hoverPoint.plotY&&t.hoverPane&&!i(e.hoverPoint.plotX,e.hoverPoint.plotY,t.hoverPane.center)&&(e.hoverPoint=void 0)})),n.Pane=r,n.Pane})),t(e,"Core/Axis/RadialAxis.js",[e["Core/Axis/AxisDefaults.js"],e["Core/DefaultOptions.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r,i=t.defaultOptions,o=n.noop,s=a.addEvent,l=a.correctFloat,c=a.defined,u=a.extend,d=a.fireEvent,p=a.merge,m=a.pick,b=a.relativeLength,h=a.wrap;return function(t){function n(){this.autoConnect=this.isCircular&&void 0===m(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function a(){var e=this;return function(){if(e.isRadial&&e.tickPositions&&e.options.labels&&!0!==e.options.labels.allowOverlap)return e.tickPositions.map((function(t){return e.ticks[t]&&e.ticks[t].label})).filter((function(e){return!!e}))}}function r(){return o}function f(e,t,n){var a=this.pane.center,r=e.value;if(this.isCircular){if(c(r))e.point&&((i=e.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(e.point.rectPlotY,!0):e.point.x));else{var i=e.chartX||0,o=e.chartY||0;r=this.translate(Math.atan2(o-n,i-t)-this.startAngleRad,!0)}i=(e=this.getPosition(r)).x,o=e.y}else c(r)||(i=e.chartX,o=e.chartY),c(i)&&c(o)&&(n=a[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(i-t,2)+Math.pow(o-n,2)),a[2]/2)-a[3]/2,!0));return[r,i||0,o||0]}function g(e,t,n){e=this.pane.center;var a=this.chart,r=this.left||0,i=this.top||0,o=m(t,e[2]/2-this.offset);return void 0===n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(o+=n),this.isCircular||void 0!==t?((t=this.chart.renderer.symbols.arc(r+e[0],i+e[1],o,o,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+e[0]],t.yBounds=[i+e[1]-o]):(t=this.postTranslate(this.angleRad,o),t=[["M",this.center[0]+a.plotLeft,this.center[1]+a.plotTop],["L",t.x,t.y]]),t}function _(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function y(e,t,n){var a=this.chart,r=function(e){if("string"==typeof e){var t=parseInt(e,10);return d.test(e)&&(t=t*s/100),t}return e},i=this.center,o=this.startAngleRad,s=i[2]/2,l=Math.min(this.offset,0),c=this.left||0,u=this.top||0,d=/%$/,p=this.isCircular,b=m(r(n.outerRadius),s),h=r(n.innerRadius);if(r=m(r(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:e}).concat(this.getPlotLinePath({value:t,reverse:!0}));else{if(e=Math.max(e,this.min),t=Math.min(t,this.max),e=this.translate(e),t=this.translate(t),p||(b=e||0,h=t||0),"circle"!==n.shape&&p)n=o+(e||0),o+=t||0;else{n=-Math.PI/2,o=1.5*Math.PI;var f=!0}b-=l,l=a.renderer.symbols.arc(c+i[0],u+i[1],b,b,{start:Math.min(n,o),end:Math.max(n,o),innerR:m(h,b-(r-l)),open:f}),p&&(p=(o+n)/2,c=c+i[0]+i[2]/2*Math.cos(p),l.xBounds=p>-Math.PI/2&&p<Math.PI/2?[c,a.plotWidth]:[0,c],l.yBounds=[u+i[1]+i[2]/2*Math.sin(p)],l.yBounds[0]+=p>-Math.PI&&0>p||p>Math.PI?-10:10)}return l}function M(e){var t=this,n=this.pane.center,a=this.chart,r=a.inverted,i=e.reverse,o=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=o.innerRadius||"0%",l=o.outerRadius||"100%",c=n[0]+a.plotLeft,u=n[1]+a.plotTop,d=this.height,p=e.isCrosshair;o=n[3]/2;var m,h=e.value,f=this.getPosition(h),g=f.x;if(f=f.y,p&&(h=(f=this.getCrosshairPosition(e,c,u))[0],g=f[1],f=f[2]),this.isCircular)h=Math.sqrt(Math.pow(g-c,2)+Math.pow(f-u,2)),i="string"==typeof s?b(s,1):s/h,a="string"==typeof l?b(l,1):l/h,n&&o&&(i<(o/=h)&&(i=o),a<o&&(a=o)),n=[["M",c+i*(g-c),u-i*(u-f)],["L",g-(1-a)*(g-c),f+(1-a)*(u-f)]];else if((h=this.translate(h))&&(0>h||h>d)&&(h=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,h,o);else if(n=[],a[r?"yAxis":"xAxis"].forEach((function(e){e.pane===t.pane&&(m=e)})),m)for(c=m.tickPositions,m.autoConnect&&(c=c.concat([c[0]])),i&&(c=c.slice().reverse()),h&&(h+=o),u=0;u<c.length;u++)o=m.getPosition(c[u],h),n.push(u?["L",o.x,o.y]:["M",o.x,o.y]);return n}function v(e,t){return e=this.translate(e),this.postTranslate(this.isCircular?e:this.angleRad,m(this.isCircular?t:0>e?0:e,this.center[2]/2)-this.offset)}function z(){var e=this.center,t=this.chart,n=this.options.title;return{x:t.plotLeft+e[0]+(n.x||0),y:t.plotTop+e[1]-{high:.5,middle:.25,low:0}[n.align]*e[2]+(n.y||0)}}function O(e){e.beforeSetTickPositions=n,e.createLabelCollector=a,e.getCrosshairPosition=f,e.getLinePath=g,e.getOffset=_,e.getPlotBandPath=y,e.getPlotLinePath=M,e.getPosition=v,e.getTitlePosition=z,e.postTranslate=j,e.setAxisSize=L,e.setAxisTranslation=S,e.setOptions=T}function k(){var e=this.chart,t=this.options,n=this.pane,a=n&&n.options;e.angular&&this.isXAxis||!n||!e.angular&&!e.polar||(this.angleRad=(t.angle||0)*Math.PI/180,this.startAngleRad=(a.startAngle-90)*Math.PI/180,this.endAngleRad=(m(a.endAngle,a.startAngle+360)-90)*Math.PI/180,this.offset=t.offset||0)}function A(e){this.isRadial&&(e.align=void 0,e.preventDefault())}function x(){if(this.chart&&this.chart.labelCollectors){var e=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=e&&this.chart.labelCollectors.splice(e,1)}}function w(t){var n,a=this.chart,i=a.inverted,s=a.angular,l=a.polar,c=this.isXAxis,u=this.coll,d=s&&c,m=a.options;t=t.userOptions.pane||0,t=this.pane=a.pane&&a.pane[t],"colorAxis"===u?this.isRadial=!1:(s?(d?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=o,this.render=this.redraw=W,this.setTitle=this.setCategories=this.setScale=o):O(this),(n=!c)&&(this.defaultPolarOptions=P)):l&&(O(this),this.defaultPolarOptions=(n=this.horiz)?D:p("xAxis"===u?e.defaultXAxisOptions:e.defaultYAxisOptions,B),i&&"yAxis"===u&&(this.defaultPolarOptions.stackLabels=e.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,m.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&a.labelCollectors.push(this.labelCollector)):this.isRadial=!1,t&&n&&(t.axis=this),this.isCircular=n)}function N(){this.isRadial&&this.beforeSetTickPositions()}function q(e){var t=this.label;if(t){var n=this.axis,a=t.getBBox(),r=n.options.labels,i=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,o=Math.round(i),s=c(r.y)?0:.3*-a.height,l=r.y,u=20,d=r.align,p="end",h=0>o?o+360:o,f=h,g=0,_=0;if(n.isRadial){var y=n.getPosition(this.pos,n.center[2]/2+b(m(r.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===r.rotation?t.attr({rotation:i}):c(l)||(l=n.chart.renderer.fontMetrics(t.styles&&t.styles.fontSize).b-a.height/2),c(d)||(n.isCircular?(a.width>n.len*n.tickInterval/(n.max-n.min)&&(u=0),d=i>u&&i<180-u?"left":i>180+u&&i<360-u?"right":"center"):d="center",t.attr({align:d})),"auto"===d&&2===n.tickPositions.length&&n.isCircular&&(90<h&&180>h?h=180-h:270<h&&360>=h&&(h=540-h),180<f&&360>=f&&(f=360-f),n.pane.options.startAngle!==o&&n.pane.options.startAngle!==o+360&&n.pane.options.startAngle!==o-360||(p="start"),d=-90<=o&&90>=o||-360<=o&&-270>=o||270<=o&&360>=o?"start"===p?"right":"left":"start"===p?"left":"right",70<f&&110>f&&(d="center"),15>h||180<=h&&195>h?g=.3*a.height:15<=h&&35>=h?g="start"===p?0:.75*a.height:195<=h&&215>=h?g="start"===p?.75*a.height:0:35<h&&90>=h?g="start"===p?.25*-a.height:a.height:215<h&&270>=h&&(g="start"===p?a.height:.25*-a.height),15>f?_="start"===p?.15*-a.height:.15*a.height:165<f&&180>=f&&(_="start"===p?.15*a.height:.15*-a.height),t.attr({align:d}),t.translate(_,g+s)),e.pos.x=y.x+(r.x||0),e.pos.y=y.y+(l||0)}}}function E(e){this.axis.getPosition&&u(e.pos,this.axis.getPosition(this.pos))}function j(e,t){var n=this.chart,a=this.center;return e=this.startAngleRad+e,{x:n.plotLeft+a[0]+Math.cos(e)*t,y:n.plotTop+a[1]+Math.sin(e)*t}}function W(){this.isDirty=!1}function L(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var e=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var t=this.postTranslate(this.angleRad,e[3]/2);e[0]=t.x-this.chart.plotLeft,e[1]=t.y-this.chart.plotTop}this.len=this.width=this.height=(e[2]-e[3])*m(this.sector,1)/2}}function S(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function T(e){(e=this.options=p(this.constructor.defaultOptions,this.defaultPolarOptions,i[this.coll],e)).plotBands||(e.plotBands=[]),d(this,"afterSetOptions")}function C(e,t,n,a,r,i,o){var s=this.axis;return s.isRadial?t=["M",t,n,"L",(e=s.getPosition(this.pos,s.center[2]/2+a)).x,e.y]:t=e.call(this,t,n,a,r,i,o),t}var R=[],D={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},P={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},B={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};t.compose=function(e,t){return-1===R.indexOf(e)&&(R.push(e),s(e,"afterInit",k),s(e,"autoLabelAlign",A),s(e,"destroy",x),s(e,"init",w),s(e,"initialAxisTranslation",N)),-1===R.indexOf(t)&&(R.push(t),s(t,"afterGetLabelPosition",q),s(t,"afterGetPosition",E),h(t.prototype,"getMarkPath",C)),e}}(r||(r={})),r})),t(e,"Series/AreaRange/AreaRangePoint.js",[e["Series/Area/AreaSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=t.prototype,i=n.defined,o=n.isNumber;return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.high=void 0,t.low=void 0,t.options=void 0,t.plotHigh=void 0,t.plotLow=void 0,t.plotHighX=void 0,t.plotLowX=void 0,t.plotX=void 0,t.series=void 0,t}return a(t,e),t.prototype.setState=function(){var e=this.state,t=this.series,n=t.chart.polar;i(this.plotHigh)||(this.plotHigh=t.yAxis.toPixels(this.high,!0)),i(this.plotLow)||(this.plotLow=this.plotY=t.yAxis.toPixels(this.low,!0)),t.stateMarkerGraphic&&(t.lowerStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.upperStateMarkerGraphic),this.graphic=this.upperGraphic,this.plotY=this.plotHigh,n&&(this.plotX=this.plotHighX),r.setState.apply(this,arguments),this.state=e,this.plotY=this.plotLow,this.graphic=this.lowerGraphic,n&&(this.plotX=this.plotLowX),t.stateMarkerGraphic&&(t.upperStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.lowerStateMarkerGraphic,t.lowerStateMarkerGraphic=void 0),r.setState.apply(this,arguments)},t.prototype.haloPath=function(){var e=this.series.chart.polar,t=[];return this.plotY=this.plotLow,e&&(this.plotX=this.plotLowX),this.isInside&&(t=r.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,e&&(this.plotX=this.plotHighX),this.isTopInside&&(t=t.concat(r.haloPath.apply(this,arguments))),t},t.prototype.isValid=function(){return o(this.low)&&o(this.high)},t}(e.prototype.pointClass)})),t(e,"Series/AreaRange/AreaRangeSeries.js",[e["Series/AreaRange/AreaRangePoint.js"],e["Series/Area/AreaSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r,i,o){var s=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),l=t.prototype,c=n.prototype;n=a.noop;var u=r.prototype,d=o.defined,p=o.extend,m=o.isArray,b=o.pick,h=o.merge;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.lowerStateMarkerGraphic=void 0,t.xAxis=void 0,t}return s(n,e),n.prototype.toYData=function(e){return[e.low,e.high]},n.prototype.highToXY=function(e){var t=this.chart,n=this.xAxis.postTranslate(e.rectPlotX||0,this.yAxis.len-e.plotHigh);e.plotHighX=n.x-t.plotLeft,e.plotHigh=n.y-t.plotTop,e.plotLowX=e.plotX},n.prototype.translate=function(){var e=this,t=e.yAxis;l.translate.apply(e),e.points.forEach((function(n){var a=n.high,r=n.plotY;n.isNull?n.plotY=null:(n.plotLow=r,n.plotHigh=t.translate(e.dataModify?e.dataModify.modifyValue(a):a,0,1,0,1),e.dataModify&&(n.yBottom=n.plotHigh))})),this.chart.polar&&this.points.forEach((function(t){e.highToXY(t),t.tooltipPos=[(t.plotHighX+t.plotLowX)/2,(t.plotHigh+t.plotLow)/2]}))},n.prototype.getGraphPath=function(e){var t,n=[],a=[],r=l.getGraphPath,i=this.options,o=this.chart.polar,s=o&&!1!==i.connectEnds,c=i.connectNulls,u=i.step;for(t=(e=e||this.points).length;t--;){var d=e[t],p=o?{plotX:d.rectPlotX,plotY:d.yBottom,doCurve:!1}:{plotX:d.plotX,plotY:d.plotY,doCurve:!1};d.isNull||s||c||e[t+1]&&!e[t+1].isNull||a.push(p);var m={polarPlotY:d.polarPlotY,rectPlotX:d.rectPlotX,yBottom:d.yBottom,plotX:b(d.plotHighX,d.plotX),plotY:d.plotHigh,isNull:d.isNull};a.push(m),n.push(m),d.isNull||s||c||e[t-1]&&!e[t-1].isNull||a.push(p)}return e=r.call(this,e),u&&(!0===u&&(u="left"),i.step={left:"right",center:"center",right:"left"}[u]),n=r.call(this,n),a=r.call(this,a),i.step=u,i=[].concat(e,n),!this.chart.polar&&a[0]&&"M"===a[0][0]&&(a[0]=["L",a[0][1],a[0][2]]),this.graphPath=i,this.areaPath=e.concat(a),i.isArea=!0,i.xMap=e.xMap,this.areaPath.xMap=e.xMap,i},n.prototype.drawDataLabels=function(){var e,t,n=this.points,a=n.length,r=[],i=this.options.dataLabels,o=this.chart.inverted;if(i){if(m(i))var s=i[0]||{enabled:!1},l=i[1]||{enabled:!1};else(s=p({},i)).x=i.xHigh,s.y=i.yHigh,(l=p({},i)).x=i.xLow,l.y=i.yLow;if(s.enabled||this._hasPointLabels){for(e=a;e--;)if(t=n[e]){var c=s.inside?t.plotHigh<t.plotLow:t.plotHigh>t.plotLow;t.y=t.high,t._plotY=t.plotY,t.plotY=t.plotHigh,r[e]=t.dataLabel,t.dataLabel=t.dataLabelUpper,t.below=c,o?s.align||(s.align=c?"right":"left"):s.verticalAlign||(s.verticalAlign=c?"top":"bottom")}for(this.options.dataLabels=s,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments),e=a;e--;)(t=n[e])&&(t.dataLabelUpper=t.dataLabel,t.dataLabel=r[e],delete t.dataLabels,t.y=t.low,t.plotY=t._plotY)}if(l.enabled||this._hasPointLabels){for(e=a;e--;)(t=n[e])&&(c=l.inside?t.plotHigh<t.plotLow:t.plotHigh>t.plotLow,t.below=!c,o?l.align||(l.align=c?"left":"right"):l.verticalAlign||(l.verticalAlign=c?"bottom":"top"));this.options.dataLabels=l,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments)}if(s.enabled)for(e=a;e--;)(t=n[e])&&(t.dataLabels=[t.dataLabelUpper,t.dataLabel].filter((function(e){return!!e})));this.options.dataLabels=i}},n.prototype.alignDataLabel=function(){c.alignDataLabel.apply(this,arguments)},n.prototype.drawPoints=function(){var e,t=this.points.length;for(u.drawPoints.apply(this,arguments),e=0;e<t;){var n=this.points[e];n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,d(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=b(n.high,n.origProps.y),n.negative=n.y<(this.options.threshold||0),this.zones.length&&(n.zone=n.getZone()),this.chart.polar||(n.isInside=n.isTopInside=void 0!==n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),e++}for(u.drawPoints.apply(this,arguments),e=0;e<t;)(n=this.points[e]).upperGraphic=n.graphic,n.graphic=n.lowerGraphic,n.origProps&&(p(n,n.origProps),delete n.origProps),e++},n.defaultOptions=h(t.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),n}(t),p(r.prototype,{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,pointClass:e,setStackedPoints:n}),i.registerSeriesType("arearange",r),r})),t(e,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e["Series/AreaRange/AreaRangeSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=t.seriesTypes.spline,i=n.merge;n=n.extend;var o=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.data=void 0,e.points=void 0,e}return a(n,t),n.defaultOptions=i(e.defaultOptions),n}(e);return n(o.prototype,{getPointSpline:r.prototype.getPointSpline}),t.registerSeriesType("areasplinerange",o),o})),t(e,"Series/BoxPlot/BoxPlotSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();t=t.noop;var i=a.extend,o=a.merge,s=a.pick;return i((a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.pointAttribs=function(){return{}},n.prototype.translate=function(){var e=this.yAxis,n=this.pointArrayMap;t.prototype.translate.apply(this),this.points.forEach((function(t){n.forEach((function(n){null!==t[n]&&(t[n+"Plot"]=e.translate(t[n],0,1,0,1))})),t.plotHigh=t.highPlot}))},n.prototype.drawPoints=function(){var e,t,n,a,r,i,o,l,c,u,d,p=this,m=p.options,b=p.chart,h=b.renderer,f=0,g=!1!==p.doQuartiles,_=p.options.whiskerLength;p.points.forEach((function(y){var M=y.graphic,v=M?"animate":"attr",z=y.shapeArgs,O={},k={},A={},x={},w=y.color||p.color;void 0!==y.plotY&&(o=Math.round(z.width),l=Math.floor(z.x),c=l+o,u=Math.round(o/2),e=Math.floor(g?y.q1Plot:y.lowPlot),t=Math.floor(g?y.q3Plot:y.lowPlot),n=Math.floor(y.highPlot),a=Math.floor(y.lowPlot),M||(y.graphic=M=h.g("point").add(p.group),y.stem=h.path().addClass("highcharts-boxplot-stem").add(M),_&&(y.whiskers=h.path().addClass("highcharts-boxplot-whisker").add(M)),g&&(y.box=h.path(void 0).addClass("highcharts-boxplot-box").add(M)),y.medianShape=h.path(void 0).addClass("highcharts-boxplot-median").add(M)),b.styledMode||(k.stroke=y.stemColor||m.stemColor||w,k["stroke-width"]=s(y.stemWidth,m.stemWidth,m.lineWidth),k.dashstyle=y.stemDashStyle||m.stemDashStyle||m.dashStyle,y.stem.attr(k),_&&(A.stroke=y.whiskerColor||m.whiskerColor||w,A["stroke-width"]=s(y.whiskerWidth,m.whiskerWidth,m.lineWidth),A.dashstyle=y.whiskerDashStyle||m.whiskerDashStyle||m.dashStyle,y.whiskers.attr(A)),g&&(O.fill=y.fillColor||m.fillColor||w,O.stroke=m.lineColor||w,O["stroke-width"]=m.lineWidth||0,O.dashstyle=y.boxDashStyle||m.boxDashStyle||m.dashStyle,y.box.attr(O)),x.stroke=y.medianColor||m.medianColor||w,x["stroke-width"]=s(y.medianWidth,m.medianWidth,m.lineWidth),x.dashstyle=y.medianDashStyle||m.medianDashStyle||m.dashStyle,y.medianShape.attr(x)),i=y.stem.strokeWidth()%2/2,M=[["M",f=l+u+i,t],["L",f,n],["M",f,e],["L",f,a]],y.stem[v]({d:M}),g&&(i=y.box.strokeWidth()%2/2,e=Math.floor(e)+i,t=Math.floor(t)+i,M=[["M",l+=i,t],["L",l,e],["L",c+=i,e],["L",c,t],["L",l,t],["Z"]],y.box[v]({d:M})),_&&(i=y.whiskers.strokeWidth()%2/2,n+=i,a+=i,d=/%$/.test(_)?u*parseFloat(_)/100:_/2,M=[["M",f-d,n],["L",f+d,n],["M",f-d,a],["L",f+d,a]],y.whiskers[v]({d:M})),r=Math.round(y.medianPlot),i=y.medianShape.strokeWidth()%2/2,M=[["M",l,r+=i],["L",c,r]],y.medianShape[v]({d:M}))}))},n.prototype.toYData=function(e){return[e.low,e.q1,e.median,e.q3,e.high]},n.defaultOptions=o(e.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n}(e)).prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:t,setStackedPoints:t}),n.registerSeriesType("boxplot",a),a})),t(e,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}})),t(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=e.parse,i=n.noop,o=a.arrayMax,s=a.arrayMin,l=a.isNumber,c=a.merge,u=a.pick,d=a.stableSort;return function(){function e(e,t){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=i,this.init(e,t)}return e.prototype.init=function(e,t){this.options=e,this.visible=!0,this.chart=t.chart,this.legend=t},e.prototype.addToLegend=function(e){e.splice(this.options.legendIndex,0,this)},e.prototype.drawLegendSymbol=function(e){var t=this.chart,n=this.options,a=u(e.options.itemDistance,20),r=n.ranges,i=n.connectorDistance;this.fontMetrics=t.renderer.fontMetrics(n.labels.style.fontSize),r&&r.length&&l(r[0].value)?(d(r,(function(e,t){return t.value-e.value})),this.ranges=r,this.setOptions(),this.render(),e=this.getMaxLabelSize(),t=2*(r=this.ranges[0].radius),i=0<(i=i-r+e.width)?i:0,this.maxLabel=e,this.movementX="left"===n.labels.align?i:0,this.legendItemWidth=t+i+a,this.legendItemHeight=t+this.fontMetrics.h/2):e.options.bubbleLegend.autoRanges=!0},e.prototype.setOptions=function(){var e=this.ranges,t=this.options,n=this.chart.series[t.seriesIndex],a=this.legend.baseline,i={zIndex:t.zIndex,"stroke-width":t.borderWidth},o={zIndex:t.zIndex,"stroke-width":t.connectorWidth},s={align:this.legend.options.rtl||"left"===t.labels.align?"right":"left",zIndex:t.zIndex},l=n.options.marker.fillOpacity,d=this.chart.styledMode;e.forEach((function(p,m){d||(i.stroke=u(p.borderColor,t.borderColor,n.color),i.fill=u(p.color,t.color,1!==l?r(n.color).setOpacity(l).get("rgba"):n.color),o.stroke=u(p.connectorColor,t.connectorColor,n.color)),e[m].radius=this.getRangeRadius(p.value),e[m]=c(e[m],{center:e[0].radius-e[m].radius+a}),d||c(!0,e[m],{bubbleAttribs:c(i),connectorAttribs:c(o),labelAttribs:s})}),this)},e.prototype.getRangeRadius=function(e){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,e)},e.prototype.render=function(){var e=this.chart.renderer,t=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=e.g("bubble-legend"),this.legendItem=e.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach((function(e){e.value>=t&&this.renderRange(e)}),this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},e.prototype.renderRange=function(e){var t=this.options,n=t.labels,a=this.chart,r=a.series[t.seriesIndex],i=a.renderer,o=this.symbols;a=o.labels;var s=e.center,l=Math.abs(e.radius),c=t.connectorDistance||0,u=n.align,d=t.connectorWidth,p=this.ranges[0].radius||0,m=s-l-t.borderWidth/2+d/2,b=this.fontMetrics;b=b.f/2-(b.h-b.f)/2;var h=i.styledMode;c=this.legend.options.rtl||"left"===u?-c:c,"center"===u&&(c=0,t.connectorDistance=0,e.labelAttribs.align="center"),u=m+t.labels.y;var f=p+c+t.labels.x;o.bubbleItems.push(i.circle(p,s+((m%1?1:.5)-(d%2?0:.5)),l).attr(h?{}:e.bubbleAttribs).addClass((h?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendSymbol)),o.connectors.push(i.path(i.crispLine([["M",p,m],["L",p+c,m]],t.connectorWidth)).attr(h?{}:e.connectorAttribs).addClass((h?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendSymbol)),e=i.text(this.formatLabel(e),f,u+b).attr(h?{}:e.labelAttribs).css(h?{}:n.style).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendSymbol),a.push(e),e.placed=!0,e.alignAttr={x:f,y:u+b}},e.prototype.getMaxLabelSize=function(){var e,t;return this.symbols.labels.forEach((function(n){t=n.getBBox(!0),e=e?t.width>e.width?t:e:t})),e||{}},e.prototype.formatLabel=function(e){var n=this.options,a=n.labels.formatter;n=n.labels.format;var r=this.chart.numberFormatter;return n?t.format(n,e):a?a.call(e):r(e.value,1)},e.prototype.hideOverlappingLabels=function(){var e=this.chart,t=this.symbols;!this.options.labels.allowOverlap&&t&&(e.hideOverlappingLabels(t.labels),t.labels.forEach((function(e,n){e.newOpacity?e.newOpacity!==e.oldOpacity&&t.connectors[n].show():t.connectors[n].hide()})))},e.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,n=t.options.ranges,a=Number.MAX_VALUE,r=-Number.MAX_VALUE;t.chart.series.forEach((function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(l)).length&&(a=u(t.options.zMin,Math.min(a,Math.max(s(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),r=u(t.options.zMax,Math.max(r,o(e)))))}));var i=a===r?[{value:r}]:[{value:a},{value:(a+r)/2},{value:r,autoRanges:!0}];return n.length&&n[0].radius&&i.reverse(),i.forEach((function(e,t){n&&n[t]&&(i[t]=c(n[t],e))})),i},e.prototype.predictBubbleSizes=function(){var e=this.chart,t=this.fontMetrics,n=e.legend.options,a=n.floating,r=(n="horizontal"===n.layout)?e.legend.lastLineHeight:0,i=e.plotSizeX,o=e.plotSizeY,s=e.series[this.options.seriesIndex],l=s.getPxExtremes();e=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var c=Math.min(o,i);return s=s.options.maxSize,a||!/%$/.test(s)?t=l:(s=parseFloat(s),t=(c+r-t.h/2)*s/100/(s/100+1),(n&&o-t>=i||!n&&i-t>=o)&&(t=l)),[e,Math.ceil(t)]},e.prototype.updateRanges=function(e,t){var n=this.legend.options.bubbleLegend;n.minSize=e,n.maxSize=t,n.ranges=this.getRanges()},e.prototype.correctSizes=function(){var e=this.legend,t=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(t.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,t.maxPxSize),e.render())},e}()})),t(e,"Series/Bubble/BubbleLegendComposition.js",[e["Series/Bubble/BubbleLegendDefaults.js"],e["Series/Bubble/BubbleLegendItem.js"],e["Core/DefaultOptions.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r,i=n.setOptions,o=a.addEvent,s=a.objectEach,l=a.wrap;return function(n){function a(e,t,n){var a=this.legend,i=0<=r(this);if(a&&a.options.enabled&&a.bubbleLegend&&a.options.bubbleLegend.autoRanges&&i){var o=a.bubbleLegend.options;i=a.bubbleLegend.predictBubbleSizes(),a.bubbleLegend.updateRanges(i[0],i[1]),o.placed||(a.group.placed=!1,a.allItems.forEach((function(e){e.legendGroup.translateY=null}))),a.render(),this.getMargins(),this.axes.forEach((function(e){e.visible&&e.render(),o.placed||(e.setScale(),e.updateNames(),s(e.ticks,(function(e){e.isNew=!0,e.isNewLabel=!0})))})),o.placed=!0,this.getMargins(),e.call(this,t,n),a.bubbleLegend.correctSizes(),p(a,c(a))}else e.call(this,t,n),a&&a.options.enabled&&a.bubbleLegend&&(a.render(),p(a,c(a)))}function r(e){e=e.series;for(var t=0;t<e.length;){if(e[t]&&e[t].isBubble&&e[t].visible&&e[t].zData.length)return t;t++}return-1}function c(e){var t,n=[],a=(e=e.allItems).length,r=0;for(t=0;t<a;t++)if(e[t].legendItemHeight&&(e[t].itemHeight=e[t].legendItemHeight),e[t]===e[a-1]||e[t+1]&&e[t]._legendItemPos[1]!==e[t+1]._legendItemPos[1]){n.push({height:0});for(var i=n[n.length-1];r<=t;r++)e[r].itemHeight>i.height&&(i.height=e[r].itemHeight);i.step=t}return n}function u(e){var n=this.bubbleLegend,a=this.options,i=a.bubbleLegend,o=r(this.chart);n&&n.ranges&&n.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(n)),0<=o&&a.enabled&&i.enabled&&(i.seriesIndex=o,this.bubbleLegend=new t(i,this),this.bubbleLegend.addToLegend(e.allItems))}function d(){var e=this.chart,t=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!t,this.ignoreSeries=t,e=0<=r(e),n.bubbleLegend.visible!==e&&(n.update({bubbleLegend:{enabled:e}}),n.bubbleLegend.visible=e),this.visible=t)}function p(e,t){var n,a,r,i=e.options.rtl,o=0;e.allItems.forEach((function(e,s){n=e.legendGroup.translateX,a=e._legendItemPos[1],((r=e.movementX)||i&&e.ranges)&&(r=i?n-e.options.maxSize/2:n+r,e.legendGroup.attr({translateX:r})),s>t[o].step&&o++,e.legendGroup.attr({translateY:Math.round(a+t[o].height/2)}),e._legendItemPos[1]=a+t[o].height/2}))}var m=[];n.compose=function(t,n,r){-1===m.indexOf(t)&&(m.push(t),i({legend:{bubbleLegend:e}}),l(t.prototype,"drawChartBox",a)),-1===m.indexOf(n)&&(m.push(n),o(n,"afterGetAllItems",u)),-1===m.indexOf(r)&&(m.push(r),o(r,"legendItemClick",d))}}(r||(r={})),r})),t(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();return(n=n.extend)((t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return a(n,t),n.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},n}(t.seriesTypes.scatter.prototype.pointClass)).prototype,{ttBelow:!1}),t})),t(e,"Series/Bubble/BubbleSeries.js",[e["Core/Axis/Axis.js"],e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s){var l=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),c=a.parse;a=r.noop;var u=o.seriesTypes;r=u.column;var d=u.scatter;u=s.addEvent;var p=s.arrayMax,m=s.arrayMin,b=s.clamp,h=s.extend,f=s.isNumber,g=s.merge,_=s.pick;return s=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.maxPxSize=void 0,t.minPxSize=void 0,t.options=void 0,t.points=void 0,t.radii=void 0,t.yData=void 0,t.zData=void 0,t}return l(n,e),n.prototype.animate=function(e){!e&&this.points.length<this.options.animationLimit&&this.points.forEach((function(e){var t=e.graphic;t&&t.width&&(this.hasRendered||t.attr({x:e.plotX,y:e.plotY,width:1,height:1}),t.animate(this.markerAttribs(e),this.options.animation))}),this)},n.prototype.getRadii=function(){var e=this,t=this.zData,n=this.yData,a=[],r=this.chart.bubbleZExtremes,i=this.getPxExtremes(),o=i.minPxSize,s=i.maxPxSize;if(!r){var l,c=Number.MAX_VALUE,u=-Number.MAX_VALUE;this.chart.series.forEach((function(t){t.bubblePadding&&(t.visible||!e.chart.options.chart.ignoreHiddenSeries)&&(t=t.getZExtremes())&&(c=Math.min(c||t.zMin,t.zMin),u=Math.max(u||t.zMax,t.zMax),l=!0)})),l?(r={zMin:c,zMax:u},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}var d=0;for(i=t.length;d<i;d++){var p=t[d];a.push(this.getRadius(r.zMin,r.zMax,o,s,p,n[d]))}this.radii=a},n.prototype.getRadius=function(e,t,n,a,r,i){var o=this.options,s="width"!==o.sizeBy,l=o.zThreshold,c=t-e,u=.5;if(null===i||null===r)return null;if(f(r)){if(o.sizeByAbsoluteValue&&(r=Math.abs(r-l),c=Math.max(t-l,Math.abs(e-l)),e=0),r<e)return n/2-1;0<c&&(u=(r-e)/c)}return s&&0<=u&&(u=Math.sqrt(u)),Math.ceil(n+u*(a-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(e,t){var n=this.options.marker.fillOpacity;return e=i.prototype.pointAttribs.call(this,e,t),1!==n&&(e.fill=c(e.fill).setOpacity(n).get("rgba")),e},n.prototype.translate=function(){e.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var e=this.data,t=this.radii,n=this.getPxExtremes().minPxSize,a=e.length;a--;){var r=e[a],i=t?t[a]:0;f(i)&&i>=n/2?(r.marker=h(r.marker,{radius:i,width:2*i,height:2*i}),r.dlBox={x:r.plotX-i,y:r.plotY-i,width:2*i,height:2*i}):r.shapeArgs=r.plotY=r.dlBox=void 0}},n.prototype.getPxExtremes=function(){var e=Math.min(this.chart.plotWidth,this.chart.plotHeight),t=function(t){if("string"==typeof t){var n=/%$/.test(t);t=parseInt(t,10)}return n?e*t/100:t},n=t(_(this.options.minSize,8));return{minPxSize:n,maxPxSize:t=Math.max(t(_(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var e=this.options,t=(this.zData||[]).filter(f);if(t.length){var n=_(e.zMin,b(m(t),!1===e.displayNegative?e.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(e=_(e.zMax,p(t)),f(n)&&f(e))return{zMin:n,zMax:e}}},n.compose=t.compose,n.defaultOptions=g(d.defaultOptions,{dataLabels:{formatter:function(){var e=this.series.chart.numberFormatter,t=this.point.z;return f(t)?e(t,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),n}(d),h(s.prototype,{alignDataLabel:r.prototype.alignDataLabel,applyZones:a,bubblePadding:!0,buildKDTree:a,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),u(s,"updatedData",(function(e){delete e.target.chart.bubbleZExtremes})),e.prototype.beforePadding=function(){var e,t=this,n=this.len,a=this.chart,r=0,i=n,o=this.isXAxis,s=o?"xData":"yData",l=this.min,c=this.max-l,u=n/c;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!a.options.chart.ignoreHiddenSeries)){e=t.allowZoomOutside=!0;var d=n[s];if(o&&n.getRadii(0,0,n),0<c)for(var p=d.length;p--;)if(f(d[p])&&t.dataMin<=d[p]&&d[p]<=t.max){var m=n.radii&&n.radii[p]||0;r=Math.min((d[p]-l)*u-m,r),i=Math.max((d[p]-l)*u+m,i)}}})),e&&0<c&&!this.logarithmic&&(i-=n,u*=(n+Math.max(0,r)-Math.min(i,n))/n,[["min","userMin",r],["max","userMax",i]].forEach((function(e){void 0===_(t.options[e[0]],t[e[1]])&&(t[e[0]]+=e[2]/u)})))},o.registerSeriesType("bubble",s),s})),t(e,"Series/ColumnRange/ColumnRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),a=e.seriesTypes;e=a.column.prototype.pointClass;var r=t.extend,i=t.isNumber;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.series=void 0,t.options=void 0,t.barX=void 0,t.pointWidth=void 0,t.shapeType=void 0,t}return n(t,e),t.prototype.isValid=function(){return i(this.low)},t}(a.arearange.prototype.pointClass),r(t.prototype,{setState:e.prototype.setState}),t})),t(e,"Series/ColumnRange/ColumnRangeSeries.js",[e["Series/ColumnRange/ColumnRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();t=t.noop;var i=n.seriesTypes,o=i.arearange,s=i.column,l=s.prototype,c=o.prototype,u=a.clamp,d=a.merge,p=a.pick;a=a.extend;var m={pointRange:null,marker:null,states:{hover:{halo:!1}}};return i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return r(t,e),t.prototype.setOptions=function(){return d(!0,arguments[0],{stacking:void 0}),c.setOptions.apply(this,arguments)},t.prototype.translate=function(){var e,t,n=this,a=n.yAxis,r=n.xAxis,i=r.startAngleRad,o=n.chart,s=n.xAxis.isRadial,c=Math.max(o.chartWidth,o.chartHeight)+999;l.translate.apply(n),n.points.forEach((function(l){var d=l.shapeArgs||{},m=n.options.minPointLength;l.plotHigh=t=u(a.translate(l.high,0,1,0,1),-c,c),l.plotLow=u(l.plotY,-c,c);var b=t,h=p(l.rectPlotY,l.plotY)-t;Math.abs(h)<m?(h+=m-=h,b-=m/2):0>h&&(b-=h*=-1),s?(e=l.barX+i,l.shapeType="arc",l.shapeArgs=n.polarArc(b+h,b,e,e+l.pointWidth)):(d.height=h,d.y=b,m=void 0===(m=d.x)?0:m,d=void 0===(d=d.width)?0:d,l.tooltipPos=o.inverted?[a.len+a.pos-o.plotLeft-b-h/2,r.len+r.pos-o.plotTop-m-d/2,h]:[r.left-o.plotLeft+m+d/2,a.pos-o.plotTop+b+h/2,h])}))},t.prototype.crispCol=function(){return l.crispCol.apply(this,arguments)},t.prototype.drawPoints=function(){return l.drawPoints.apply(this,arguments)},t.prototype.drawTracker=function(){return l.drawTracker.apply(this,arguments)},t.prototype.getColumnMetrics=function(){return l.getColumnMetrics.apply(this,arguments)},t.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},t.prototype.adjustForMissingColumns=function(){return l.adjustForMissingColumns.apply(this,arguments)},t.prototype.animate=function(){return l.animate.apply(this,arguments)},t.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},t.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},t.defaultOptions=d(s.defaultOptions,o.defaultOptions,m),t}(o),a(i.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:t,getSymbol:t,polarArc:function(){return l.polarArc.apply(this,arguments)},pointClass:e}),n.registerSeriesType("columnrange",i),i})),t(e,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=e.prototype,i=n.clamp,o=n.merge,s=n.pick;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.prototype.translate=function(){var e=this,t=e.chart,n=e.options,a=e.dense=2>e.closestPointRange*e.xAxis.transA;a=e.borderWidth=s(n.borderWidth,a?0:1);var o=e.yAxis,l=n.threshold,c=e.translatedThreshold=o.getThreshold(l),u=s(n.minPointLength,5),d=e.getColumnMetrics(),p=d.width,m=e.barW=Math.max(p,1+2*a),b=e.pointXOffset=d.offset;t.inverted&&(c-=.5),n.pointPadding&&(m=Math.ceil(m)),r.translate.apply(e),e.points.forEach((function(a){var r=s(a.yBottom,c),d=999+Math.abs(r),h=i(a.plotY,-d,o.len+d);d=a.plotX+b;var f,g=m/2,_=Math.min(h,r);r=Math.max(h,r)-_,a.barX=d,a.pointWidth=p,a.tooltipPos=t.inverted?[o.len+o.pos-t.plotLeft-h,e.xAxis.len-d-g,r]:[d+g,h+o.pos-t.plotTop,r],h=l+(a.total||a.y),"percent"===n.stacking&&(h=l+(0>a.y)?-100:100),h=o.toPixels(h,!0);var y=(f=t.plotHeight-h-(t.plotHeight-c))?g*(_-h)/f:0,M=f?g*(_+r-h)/f:0;f=d-y+g,y=d+y+g;var v=d+M+g;M=d-M+g;var z=_-u,O=_+r;0>a.y&&(z=_,O=_+r+u),t.inverted&&(M=g*(h-((v=o.width-_)-r))/(f=h-(o.width-c)),y=(f=d+g+(y=g*(h-v)/f))-2*y,v=d-M+g,M=d+M+g,z=_,O=_+r-u,0>a.y&&(O=_+r+u)),a.shapeType="path",a.shapeArgs={x:f,y:z,width:y-f,height:r,d:[["M",f,z],["L",y,z],["L",v,O],["L",M,O],["Z"]]}}))},n.defaultOptions=o(e.defaultOptions,{}),n}(e),t.registerSeriesType("columnpyramid",n),n})),t(e,"Series/ErrorBar/ErrorBarSeries.js",[e["Series/BoxPlot/BoxPlotSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=n.seriesTypes.arearange,o=a.merge;a=a.extend;var s=function(n){function a(){var e=null!==n&&n.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(a,n),a.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||t.prototype.getColumnMetrics.call(this)},a.prototype.drawDataLabels=function(){var e=this.pointValKey;i&&(i.prototype.drawDataLabels.call(this),this.data.forEach((function(t){t.y=t[e]})))},a.prototype.toYData=function(e){return[e.low,e.high]},a.defaultOptions=o(e.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),a}(e);return a(s.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),n.registerSeriesType("errorbar",s),s})),t(e,"Series/Gauge/GaugePoint.js",[e["Core/Series/SeriesRegistry.js"]],(function(e){var t=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.shapeArgs=void 0,t}return t(n,e),n.prototype.setState=function(e){this.state=e},n}(e.series.prototype.pointClass)})),t(e,"Series/Gauge/GaugeSeries.js",[e["Series/Gauge/GaugePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();t=t.noop;var i=n.series,o=n.seriesTypes.column,s=a.clamp,l=a.isNumber,c=a.extend,u=a.merge,d=a.pick,p=a.pInt;return c((a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.yAxis=void 0,t}return r(t,e),t.prototype.translate=function(){var e=this.yAxis,t=this.options,n=e.center;this.generatePoints(),this.points.forEach((function(a){var r=u(t.dial,a.dial),i=p(d(r.radius,"80%"))*n[2]/200,o=p(d(r.baseLength,"70%"))*i/100,c=p(d(r.rearLength,"10%"))*i/100,m=r.baseWidth||3,b=r.topWidth||1,h=t.overshoot,f=e.startAngleRad+e.translate(a.y,null,null,null,!0);(l(h)||!1===t.wrap)&&(h=l(h)?h/180*Math.PI:0,f=s(f,e.startAngleRad-h,e.endAngleRad+h)),f=180*f/Math.PI,a.shapeType="path",a.shapeArgs={d:r.path||[["M",-c,-m/2],["L",o,-m/2],["L",i,-b/2],["L",i,b/2],["L",o,m/2],["L",-c,m/2],["Z"]],translateX:n[0],translateY:n[1],rotation:f},a.plotX=n[0],a.plotY=n[1]}))},t.prototype.drawPoints=function(){var e=this,t=e.chart,n=e.yAxis.center,a=e.pivot,r=e.options,i=r.pivot,o=t.renderer;e.points.forEach((function(n){var a=n.graphic,i=n.shapeArgs,s=i.d,l=u(r.dial,n.dial);a?(a.animate(i),i.d=s):n.graphic=o[n.shapeType](i).attr({rotation:i.rotation,zIndex:1}).addClass("highcharts-dial").add(e.group),t.styledMode||n.graphic[a?"animate":"attr"]({stroke:l.borderColor||"none","stroke-width":l.borderWidth||0,fill:l.backgroundColor||"#000000"})})),a?a.animate({translateX:n[0],translateY:n[1]}):(e.pivot=o.circle(0,0,d(i.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(e.group),t.styledMode||e.pivot.attr({"stroke-width":i.borderWidth||0,stroke:i.borderColor||"#cccccc",fill:i.backgroundColor||"#000000"}))},t.prototype.animate=function(e){var t=this;e||t.points.forEach((function(e){var n=e.graphic;n&&(n.attr({rotation:180*t.yAxis.startAngleRad/Math.PI}),n.animate({rotation:e.shapeArgs.rotation},t.options.animation))}))},t.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup),i.prototype.render.call(this),this.group.clip(this.chart.clipRect)},t.prototype.setData=function(e,t){i.prototype.setData.call(this,e,!1),this.processData(),this.generatePoints(),d(t,!0)&&this.chart.redraw()},t.prototype.hasData=function(){return!!this.points.length},t.defaultOptions=u(i.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1}),t}(i)).prototype,{angular:!0,directTouch:!0,drawGraph:t,drawTracker:o.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:e,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",a),a})),t(e,"Series/PackedBubble/PackedBubblePoint.js",[e["Core/Chart/Chart.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();return function(n){function r(){var e=null!==n&&n.apply(this,arguments)||this;return e.degree=NaN,e.mass=NaN,e.radius=NaN,e.options=void 0,e.series=void 0,e.value=null,e}return a(r,n),r.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),t.prototype.destroy.apply(this,arguments)},r.prototype.firePointEvent=function(){var e=this.series.options;if(this.isParentNode&&e.parentNode){var n=e.allowPointSelect;e.allowPointSelect=e.parentNode.allowPointSelect,t.prototype.firePointEvent.apply(this,arguments),e.allowPointSelect=n}else t.prototype.firePointEvent.apply(this,arguments)},r.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,t.prototype.select.apply(this,arguments),n.getSelectedPoints=e.prototype.getSelectedPoints):t.prototype.select.apply(this,arguments)},r}(n.seriesTypes.bubble.prototype.pointClass)})),t(e,"Series/Networkgraph/DraggableNodes.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=n.addEvent;t.dragNodesMixin={onMouseDown:function(e,t){t=this.chart.pointer.normalize(t),e.fixedPosition={chartX:t.chartX,chartY:t.chartY,plotX:e.plotX,plotY:e.plotY},e.inDragMode=!0},onMouseMove:function(e,t){if(e.fixedPosition&&e.inDragMode){var n=this.chart,a=n.pointer.normalize(t);t=e.fixedPosition.chartX-a.chartX,a=e.fixedPosition.chartY-a.chartY;var r=void 0,i=void 0,o=n.graphLayoutsLookup;(5<Math.abs(t)||5<Math.abs(a))&&(r=e.fixedPosition.plotX-t,i=e.fixedPosition.plotY-a,n.isInsidePlot(r,i)&&(e.plotX=r,e.plotY=i,e.hasDragged=!0,this.redrawHalo(e),o.forEach((function(e){e.restartSimulation()}))))}},onMouseUp:function(e,t){e.fixedPosition&&(e.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),e.inDragMode=e.hasDragged=!1,this.options.fixedDraggable||delete e.fixedPosition)},redrawHalo:function(e){e&&this.halo&&this.halo.attr({d:e.haloPath(this.options.states.hover.halo.size)})}},a(e,"load",(function(){var e,t,n,r=this;r.container&&(e=a(r.container,"mousedown",(function(e){var i=r.hoverPoint;i&&i.series&&i.series.hasDraggableNodes&&i.series.options.draggable&&(i.series.onMouseDown(i,e),t=a(r.container,"mousemove",(function(e){return i&&i.series&&i.series.onMouseMove(i,e)})),n=a(r.container.ownerDocument,"mouseup",(function(e){return t(),n(),i&&i.series&&i.series.onMouseUp(i,e)})))}))),a(r,"destroy",(function(){e()}))}))})),t(e,"Series/Networkgraph/Integrations.js",[e["Core/Globals.js"]],(function(e){e.networkgraphIntegrations={verlet:{attractiveForceFunction:function(e,t){return(t-e)/e},repulsiveForceFunction:function(e,t){return(t-e)/e*(t>e?1:0)},barycenter:function(){var e=this.options.gravitationalConstant,t=this.barycenter.xFactor,n=this.barycenter.yFactor;t=(t-(this.box.left+this.box.width)/2)*e,n=(n-(this.box.top+this.box.height)/2)*e,this.nodes.forEach((function(e){e.fixedPosition||(e.plotX-=t/e.mass/e.degree,e.plotY-=n/e.mass/e.degree)}))},repulsive:function(e,t,n){t=t*this.diffTemperature/e.mass/e.degree,e.fixedPosition||(e.plotX+=n.x*t,e.plotY+=n.y*t)},attractive:function(e,t,n){var a=e.getMass(),r=-n.x*t*this.diffTemperature;t=-n.y*t*this.diffTemperature,e.fromNode.fixedPosition||(e.fromNode.plotX-=r*a.fromNode/e.fromNode.degree,e.fromNode.plotY-=t*a.fromNode/e.fromNode.degree),e.toNode.fixedPosition||(e.toNode.plotX+=r*a.toNode/e.toNode.degree,e.toNode.plotY+=t*a.toNode/e.toNode.degree)},integrate:function(e,t){var n=-e.options.friction,a=e.options.maxSpeed,r=(t.plotX+t.dispX-t.prevX)*n;n*=t.plotY+t.dispY-t.prevY;var i=Math.abs,o=i(r)/(r||1);i=i(n)/(n||1),r=o*Math.min(a,Math.abs(r)),n=i*Math.min(a,Math.abs(n)),t.prevX=t.plotX+t.dispX,t.prevY=t.plotY+t.dispY,t.plotX+=r,t.plotY+=n,t.temperature=e.vectorLength({x:r,y:n})},getK:function(e){return Math.pow(e.box.width*e.box.height/e.nodes.length,.5)}},euler:{attractiveForceFunction:function(e,t){return e*e/t},repulsiveForceFunction:function(e,t){return t*t/e},barycenter:function(){var e=this.options.gravitationalConstant,t=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach((function(a){if(!a.fixedPosition){var r=a.getDegree();r*=1+r/2,a.dispX+=(t-a.plotX)*e*r/a.degree,a.dispY+=(n-a.plotY)*e*r/a.degree}}))},repulsive:function(e,t,n,a){e.dispX+=n.x/a*t/e.degree,e.dispY+=n.y/a*t/e.degree},attractive:function(e,t,n,a){var r=e.getMass(),i=n.x/a*t;t*=n.y/a,e.fromNode.fixedPosition||(e.fromNode.dispX-=i*r.fromNode/e.fromNode.degree,e.fromNode.dispY-=t*r.fromNode/e.fromNode.degree),e.toNode.fixedPosition||(e.toNode.dispX+=i*r.toNode/e.toNode.degree,e.toNode.dispY+=t*r.toNode/e.toNode.degree)},integrate:function(e,t){t.dispX+=t.dispX*e.options.friction,t.dispY+=t.dispY*e.options.friction;var n=t.temperature=e.vectorLength({x:t.dispX,y:t.dispY});0!==n&&(t.plotX+=t.dispX/n*Math.min(Math.abs(t.dispX),e.temperature),t.plotY+=t.dispY/n*Math.min(Math.abs(t.dispY),e.temperature))},getK:function(e){return Math.pow(e.box.width*e.box.height/e.nodes.length,.3)}}}})),t(e,"Series/Networkgraph/QuadTree.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t){t=t.extend;var n=e.QuadTreeNode=function(e){this.box=e,this.boxSize=Math.min(e.width,e.height),this.nodes=[],this.body=this.isInternal=!1,this.isEmpty=!0};t(n.prototype,{insert:function(e,t){this.isInternal?this.nodes[this.getBoxPosition(e)].insert(e,t-1):(this.isEmpty=!1,this.body?t?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,t-1),this.body=!0),this.nodes[this.getBoxPosition(e)].insert(e,t-1)):((t=new n({top:e.plotX,left:e.plotY,width:.1,height:.1})).body=e,t.isInternal=!1,this.nodes.push(t)):(this.isInternal=!1,this.body=e))},updateMassAndCenter:function(){var e=0,t=0,n=0;this.isInternal?(this.nodes.forEach((function(a){a.isEmpty||(e+=a.mass,t+=a.plotX*a.mass,n+=a.plotY*a.mass)})),t/=e,n/=e):this.body&&(e=this.body.mass,t=this.body.plotX,n=this.body.plotY),this.mass=e,this.plotX=t,this.plotY=n},divideBox:function(){var e=this.box.width/2,t=this.box.height/2;this.nodes[0]=new n({left:this.box.left,top:this.box.top,width:e,height:t}),this.nodes[1]=new n({left:this.box.left+e,top:this.box.top,width:e,height:t}),this.nodes[2]=new n({left:this.box.left+e,top:this.box.top+t,width:e,height:t}),this.nodes[3]=new n({left:this.box.left,top:this.box.top+t,width:e,height:t})},getBoxPosition:function(e){var t=e.plotY<this.box.top+this.box.height/2;return e.plotX<this.box.left+this.box.width/2?t?0:3:t?1:2}}),t((e=e.QuadTree=function(e,t,a,r){this.box={left:e,top:t,width:a,height:r},this.maxDepth=25,this.root=new n(this.box,"0"),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}).prototype,{insertNodes:function(e){e.forEach((function(e){this.root.insert(e,this.maxDepth)}),this)},visitNodeRecursive:function(e,t,n){var a;e||(e=this.root),e===this.root&&t&&(a=t(e)),!1!==a&&(e.nodes.forEach((function(e){if(e.isInternal){if(t&&(a=t(e)),!1===a)return;this.visitNodeRecursive(e,t,n)}else e.body&&t&&t(e.body);n&&n(e)}),this),e===this.root&&n&&n(e))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,(function(e){e.updateMassAndCenter()}))}})})),t(e,"Series/Networkgraph/Layouts.js",[e["Core/Chart/Chart.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=t.setAnimation;t=a.addEvent;var i=a.clamp,o=a.defined,s=a.extend,l=a.isFunction,c=a.pick;n.layouts={"reingold-fruchterman":function(){}},s(n.layouts["reingold-fruchterman"].prototype,{init:function(e){this.options=e,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.networkgraphIntegrations[e.integration],this.enableSimulation=e.enableSimulation,this.attractiveForce=c(e.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(e.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=e.approximation},updateSimulation:function(e){this.enableSimulation=c(e,this.options.enableSimulation)},start:function(){var e=this.series,t=this.options;this.currentStep=0,this.forces=e[0]&&e[0].forces||[],this.chart=e[0]&&e[0].chart,this.initialRendering&&(this.initPositions(),e.forEach((function(e){e.finishedAnimating=!0,e.render()}))),this.setK(),this.resetSimulation(t),this.enableSimulation&&this.step()},step:function(){var e=this,t=this.series;e.currentStep++,"barnes-hut"===e.approximation&&(e.createQuadTree(),e.quadTree.calculateMassAndCenter()),e.forces.forEach((function(t){e[t+"Forces"](e.temperature)})),e.applyLimits(e.temperature),e.temperature=e.coolDown(e.startTemperature,e.diffTemperature,e.currentStep),e.prevSystemTemperature=e.systemTemperature,e.systemTemperature=e.getSystemTemperature(),e.enableSimulation&&(t.forEach((function(e){e.chart&&e.render()})),e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()?(e.simulation&&n.win.cancelAnimationFrame(e.simulation),e.simulation=n.win.requestAnimationFrame((function(){e.step()}))):e.simulation=!1)},stop:function(){this.simulation&&n.win.cancelAnimationFrame(this.simulation)},setArea:function(e,t,n,a){this.box={left:e,top:t,width:n,height:a}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(e,t){e.forEach((function(e){-1===t.indexOf(e)&&t.push(e)}))},removeElementFromCollection:function(e,t){-1!==(e=t.indexOf(e))&&t.splice(e,1)},clear:function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(e){this.maxIterations=c(e,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(e){this.initialRendering=e},createQuadTree:function(){this.quadTree=new n.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},initPositions:function(){var e=this.options.initialPositions;l(e)?(e.call(this),this.nodes.forEach((function(e){o(e.prevX)||(e.prevX=e.plotX),o(e.prevY)||(e.prevY=e.plotY),e.dispX=0,e.dispY=0}))):"circle"===e?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){var e=this.box,t=this.nodes,n=2*Math.PI/(t.length+1),a=t.filter((function(e){return 0===e.linksTo.length})),r=[],i={},o=this.options.initialPositionRadius;a.forEach((function(e){r.push(e),function e(t){t.linksFrom.forEach((function(t){i[t.toNode.id]||(i[t.toNode.id]=!0,r.push(t.toNode),e(t.toNode))}))}(e)})),r.length?t.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})):r=t,r.forEach((function(t,a){t.plotX=t.prevX=c(t.plotX,e.width/2+o*Math.cos(a*n)),t.plotY=t.prevY=c(t.plotY,e.height/2+o*Math.sin(a*n)),t.dispX=0,t.dispY=0}))},setRandomPositions:function(){function e(e){return(e=e*e/Math.PI)-Math.floor(e)}var t=this.box,n=this.nodes,a=n.length+1;n.forEach((function(n,r){n.plotX=n.prevX=c(n.plotX,t.width*e(r)),n.plotY=n.prevY=c(n.plotY,t.height*e(a+r)),n.dispX=0,n.dispY=0}))},force:function(e){this.integration[e].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter(),this.force("barycenter")},getBarycenter:function(){var e=0,t=0,n=0;return this.nodes.forEach((function(a){t+=a.plotX*a.mass,n+=a.plotY*a.mass,e+=a.mass})),this.barycenter={x:t,y:n,xFactor:t/e,yFactor:n/e}},barnesHutApproximation:function(e,t){var n=this.getDistXY(e,t),a=this.vectorLength(n);if(e!==t&&0!==a)if(t.isInternal)if(t.boxSize/a<this.options.theta&&0!==a){var r=this.repulsiveForce(a,this.k);this.force("repulsive",e,r*t.mass,n,a);var i=!1}else i=!0;else r=this.repulsiveForce(a,this.k),this.force("repulsive",e,r*t.mass,n,a);return i},repulsiveForces:function(){var e=this;"barnes-hut"===e.approximation?e.nodes.forEach((function(t){e.quadTree.visitNodeRecursive(null,(function(n){return e.barnesHutApproximation(t,n)}))})):e.nodes.forEach((function(t){e.nodes.forEach((function(n){if(t!==n&&!t.fixedPosition){var a=e.getDistXY(t,n),r=e.vectorLength(a);if(0!==r){var i=e.repulsiveForce(r,e.k);e.force("repulsive",t,i*n.mass,a,r)}}}))}))},attractiveForces:function(){var e,t,n,a=this;a.links.forEach((function(r){r.fromNode&&r.toNode&&(e=a.getDistXY(r.fromNode,r.toNode),0!==(t=a.vectorLength(e))&&(n=a.attractiveForce(t,a.k),a.force("attractive",r,n,e,t)))}))},applyLimits:function(){var e=this;e.nodes.forEach((function(t){t.fixedPosition||(e.integration.integrate(e,t),e.applyLimitBox(t,e.box),t.dispX=0,t.dispY=0)}))},applyLimitBox:function(e,t){var n=e.radius;e.plotX=i(e.plotX,t.left+n,t.width-n),e.plotY=i(e.plotY,t.top+n,t.height-n)},coolDown:function(e,t,n){return e-t*n},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce((function(e,t){return e+t.temperature}),0)},vectorLength:function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},getDistR:function(e,t){return e=this.getDistXY(e,t),this.vectorLength(e)},getDistXY:function(e,t){var n=e.plotX-t.plotX;return{x:n,y:e=e.plotY-t.plotY,absX:Math.abs(n),absY:Math.abs(e)}}}),t(e,"predraw",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(e){e.stop()}))})),t(e,"render",(function(){function e(e){e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()&&!e.enableSimulation&&(e.beforeStep&&e.beforeStep(),e.step(),n=!1,t=!0)}var t=!1;if(this.graphLayoutsLookup){for(r(!1,this),this.graphLayoutsLookup.forEach((function(e){e.start()}));!n;){var n=!0;this.graphLayoutsLookup.forEach(e)}t&&this.series.forEach((function(e){e&&e.layout&&e.render()}))}})),t(e,"beforePrint",(function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(e){e.updateSimulation(!1)})),this.redraw())})),t(e,"afterPrint",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(e){e.updateSimulation()})),this.redraw()}))})),t(e,"Series/PackedBubble/PackedBubbleComposition.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=t.layouts["reingold-fruchterman"],r=n.addEvent,i=n.extendClass,o=n.pick;e.prototype.getSelectedParentNodes=function(){var e=[];return this.series.forEach((function(t){t.parentNode&&t.parentNode.selected&&e.push(t.parentNode)})),e},t.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(e,t,n,a){return Math.min(e,(n.marker.radius+a.marker.radius)/2)},barycenter:function(){var e,t,n=this,a=n.options.gravitationalConstant,r=n.box,i=n.nodes;i.forEach((function(o){n.options.splitSeries&&!o.isParentNode?(e=o.series.parentNode.plotX,t=o.series.parentNode.plotY):(e=r.width/2,t=r.height/2),o.fixedPosition||(o.plotX-=(o.plotX-e)*a/(o.mass*Math.sqrt(i.length)),o.plotY-=(o.plotY-t)*a/(o.mass*Math.sqrt(i.length)))}))},repulsive:function(e,t,n,a){var r=t*this.diffTemperature/e.mass/e.degree;t=n.x*r,n=n.y*r,e.fixedPosition||(e.plotX+=t,e.plotY+=n),a.fixedPosition||(a.plotX-=t,a.plotY-=n)},integrate:t.networkgraphIntegrations.verlet.integrate,getK:t.noop},t.layouts.packedbubble=i(a,{beforeStep:function(){this.options.marker&&this.series.forEach((function(e){e&&e.calculateParentRadius()}))},isStable:function(){var e=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>e||0>=this.temperature},setCircularPositions:function(){var e,t,n=this,a=n.box,r=n.nodes,i=2*Math.PI/(r.length+1),s=n.options.initialPositionRadius;r.forEach((function(r,l){n.options.splitSeries&&!r.isParentNode?(e=r.series.parentNode.plotX,t=r.series.parentNode.plotY):(e=a.width/2,t=a.height/2),r.plotX=r.prevX=o(r.plotX,e+s*Math.cos(r.index||l*i)),r.plotY=r.prevY=o(r.plotY,t+s*Math.sin(r.index||l*i)),r.dispX=0,r.dispY=0}))},repulsiveForces:function(){var e,t,n,a=this,r=a.options.bubblePadding;a.nodes.forEach((function(i){i.degree=i.mass,i.neighbours=0,a.nodes.forEach((function(o){e=0,i===o||i.fixedPosition||!a.options.seriesInteraction&&i.series!==o.series||(n=a.getDistXY(i,o),0>(t=a.vectorLength(n)-(i.marker.radius+o.marker.radius+r))&&(i.degree+=.01,i.neighbours++,e=a.repulsiveForce(-t/Math.sqrt(i.neighbours),a.k,i,o)),a.force("repulsive",i,e*o.mass,n,o,t))}))}))},applyLimitBox:function(e){if(this.options.splitSeries&&!e.isParentNode&&this.options.parentNodeLimit){var t=this.getDistXY(e,e.series.parentNode),n=e.series.parentNodeRadius-e.marker.radius-this.vectorLength(t);0>n&&n>-2*e.marker.radius&&(e.plotX-=.01*t.x,e.plotY-=.01*t.y)}a.prototype.applyLimitBox.apply(this,arguments)}}),r(e,"beforeRedraw",(function(){this.allDataPoints&&delete this.allDataPoints}))})),t(e,"Series/PackedBubble/PackedBubbleSeries.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Series/PackedBubble/PackedBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r){var i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),o=e.parse,s=a.series,l=a.seriesTypes.bubble,c=r.addEvent,u=r.clamp,d=r.defined,p=r.extend,m=r.fireEvent,b=r.isArray,h=r.isNumber,f=r.merge,g=r.pick,_=t.dragNodesMixin;return e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.layout=void 0,t.options=void 0,t.points=void 0,t.xData=void 0,t}return i(n,e),n.prototype.accumulateAllPoints=function(e){var t,n,a=e.chart,r=[];for(t=0;t<a.series.length;t++)if((e=a.series[t]).is("packedbubble")&&e.visible||!a.options.chart.ignoreHiddenSeries)for(n=0;n<e.yData.length;n++)r.push([null,null,e.yData[n],e.index,n,{id:n,marker:{radius:0}}]);return r},n.prototype.addLayout=function(){var e=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,a=this.chart.graphLayoutsLookup,r=this.chart.options.chart;n||(this.chart.graphLayoutsStorage=n={},this.chart.graphLayoutsLookup=a=[]);var i=n[e.type];i||(e.enableSimulation=d(r.forExport)?!r.forExport:e.enableSimulation,n[e.type]=i=new t.layouts[e.type],i.init(e),a.splice(i.index,0,i)),this.layout=i,this.points.forEach((function(e){e.mass=2,e.degree=1,e.collisionNmb=1})),i.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),i.addElementsToCollection([this],i.series),i.addElementsToCollection(this.points,i.nodes)},n.prototype.addSeriesLayout=function(){var e=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,a=this.chart.graphLayoutsLookup,r=f(e,e.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),i=n[e.type+"-series"];i||(n[e.type+"-series"]=i=new t.layouts[e.type],i.init(r),a.splice(i.index,0,i)),this.parentNodeLayout=i,this.createParentNodes()},n.prototype.calculateParentRadius=function(){var e=this.seriesBox();this.parentNodeRadius=u(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,e?Math.max(Math.sqrt(Math.pow(e.width,2)+Math.pow(e.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},n.prototype.calculateZExtremes=function(){var e=this.options.zMin,t=this.options.zMax,n=1/0,a=-1/0;return e&&t?[e,t]:(this.chart.series.forEach((function(e){e.yData.forEach((function(e){d(e)&&(e>a&&(a=e),e<n&&(n=e))}))})),[e=g(e,n),t=g(t,a)])},n.prototype.checkOverlap=function(e,t){var n=e[0]-t[0],a=e[1]-t[1];return-.001>Math.sqrt(n*n+a*a)-Math.abs(e[2]+t[2])},n.prototype.createParentNodes=function(){var e,t=this,n=t.chart,a=t.parentNodeLayout,r=t.parentNode,i=t.pointClass,s=t.layout.options,l={radius:t.parentNodeRadius,lineColor:t.color,fillColor:o(t.color).brighten(.4).get()};s.parentNodeOptions&&(l=f(s.parentNodeOptions.marker||{},l)),t.parentNodeMass=0,t.points.forEach((function(e){t.parentNodeMass+=Math.PI*Math.pow(e.marker.radius,2)})),t.calculateParentRadius(),a.nodes.forEach((function(n){n.seriesIndex===t.index&&(e=!0)})),a.setArea(0,0,n.plotWidth,n.plotHeight),e||(r||(r=(new i).init(this,{mass:t.parentNodeRadius/2,marker:l,dataLabels:{inside:!1},states:{normal:{marker:l},hover:{marker:l}},dataLabelOnNull:!0,degree:t.parentNodeRadius,isParentNode:!0,seriesIndex:t.index})),t.parentNode&&(r.plotX=t.parentNode.plotX,r.plotY=t.parentNode.plotY),t.parentNode=r,a.addElementsToCollection([t],a.series),a.addElementsToCollection([r],a.nodes))},n.prototype.deferLayout=function(){var e=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),e.splitSeries&&this.addSeriesLayout())},n.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(e){e.removeElementFromCollection(this,e.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),s.prototype.destroy.apply(this,arguments)},n.prototype.drawDataLabels=function(){var e=this.options.dataLabels.textPath,t=this.points;s.prototype.drawDataLabels.apply(this,arguments),this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,s.prototype.drawDataLabels.apply(this,arguments),this.points=t,this.options.dataLabels.textPath=e)},n.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var e=this.chart,t=this.layout.options.parentNodeOptions.marker,n={fill:t.fillColor||o(this.color).brighten(.4).get(),opacity:t.fillOpacity,stroke:t.lineColor||this.color,"stroke-width":g(t.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,e.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),t=f({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},n),this.parentNode.graphic||(this.graph=this.parentNode.graphic=e.renderer.symbol(n.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(t)}},n.prototype.drawTracker=function(){var t=this.parentNode;if(e.prototype.drawTracker.call(this),t){var n=b(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[];t.graphic&&(t.graphic.element.point=t),n.forEach((function(e){e.div?e.div.point=t:e.element.point=t}))}},n.prototype.getPointRadius=function(){var e,t,n,a,r=this,i=r.chart,o=r.options,s=o.useSimulation,l=Math.min(i.plotWidth,i.plotHeight),c={},d=[],p=i.allDataPoints;["minSize","maxSize"].forEach((function(e){var t=parseInt(o[e],10),n=/%$/.test(o[e]);c[e]=n?l*t/100:t*Math.sqrt(p.length)})),i.minRadius=e=c.minSize/Math.sqrt(p.length),i.maxRadius=t=c.maxSize/Math.sqrt(p.length);var m=s?r.calculateZExtremes():[e,t];(p||[]).forEach((function(i,o){n=s?u(i[2],m[0],m[1]):i[2],0===(a=r.getRadius(m[0],m[1],e,t,n))&&(a=null),p[o][2]=a,d.push(a)})),r.radii=d},n.prototype.init=function(){return s.prototype.init.apply(this,arguments),this.eventsToUnbind.push(c(this,"updatedData",(function(){this.chart.series.forEach((function(e){e.type===this.type&&(e.isDirty=!0)}),this)}))),this},n.prototype.onMouseUp=function(e){if(e.fixedPosition&&!e.removed){var t,n=this.layout,a=this.parentNodeLayout;a&&n.options.dragBetweenSeries&&a.nodes.forEach((function(a){e&&e.marker&&a!==e.series.parentNode&&(t=n.getDistXY(e,a),0>n.vectorLength(t)-a.marker.radius-e.marker.radius&&(a.series.addPoint(f(e.options,{plotX:e.plotX,plotY:e.plotY}),!1),n.removeElementFromCollection(e,n.nodes),e.remove()))})),_.onMouseUp.apply(this,arguments)}},n.prototype.placeBubbles=function(e){var t,n=this.checkOverlap,a=this.positionBubble,r=[],i=1,o=0,s=0,l=[];if((e=e.sort((function(e,t){return t[2]-e[2]}))).length){if(r.push([[0,0,e[0][2],e[0][3],e[0][4]]]),1<e.length)for(r.push([[0,0-e[1][2]-e[0][2],e[1][2],e[1][3],e[1][4]]]),t=2;t<e.length;t++)e[t][2]=e[t][2]||1,n(l=a(r[i][o],r[i-1][s],e[t]),r[i][0])?(r.push([]),s=0,r[i+1].push(a(r[i][o],r[i][0],e[t])),i++,o=0):1<i&&r[i-1][s+1]&&n(l,r[i-1][s+1])?(s++,r[i].push(a(r[i][o],r[i-1][s],e[t])),o++):(o++,r[i].push(l));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),l=this.chart.rawPositions}return l},n.prototype.pointAttribs=function(e,t){var n=this.options,a=n.marker;return e&&e.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(a=n.layoutAlgorithm.parentNodeOptions.marker),n=a.fillOpacity,e=s.prototype.pointAttribs.call(this,e,t),1!==n&&(e["fill-opacity"]=n),e},n.prototype.positionBubble=function(e,t,n){var a=Math.sqrt,r=Math.asin,i=Math.acos,o=Math.pow,s=Math.abs;return a=a(o(e[0]-t[0],2)+o(e[1]-t[1],2)),i=i((o(a,2)+o(n[2]+t[2],2)-o(n[2]+e[2],2))/(2*(n[2]+t[2])*a)),r=r(s(e[0]-t[0])/a),e=(0>e[1]-t[1]?0:Math.PI)+i+r*(0>(e[0]-t[0])*(e[1]-t[1])?1:-1),[t[0]+(t[2]+n[2])*Math.sin(e),t[1]-(t[2]+n[2])*Math.cos(e),n[2],n[3],n[4]]},n.prototype.render=function(){var e=[];s.prototype.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(t){b(t.dataLabels)&&t.dataLabels.forEach((function(t){e.push(t)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(e))},n.prototype.resizeRadius=function(){var e,t,n,a=this.chart,r=a.rawPositions,i=Math.min,o=Math.max,s=a.plotLeft,l=a.plotTop,c=a.plotHeight,u=a.plotWidth,d=e=Number.POSITIVE_INFINITY,p=t=Number.NEGATIVE_INFINITY;for(n=0;n<r.length;n++){var m=r[n][2];d=i(d,r[n][0]-m),p=o(p,r[n][0]+m),e=i(e,r[n][1]-m),t=o(t,r[n][1]+m)}if(n=[p-d,t-e],i=i.apply([],[(u-s)/n[0],(c-l)/n[1]]),1e-10<Math.abs(i-1)){for(n=0;n<r.length;n++)r[n][2]*=i;this.placeBubbles(r)}else a.diffY=c/2+l-e-(t-e)/2,a.diffX=u/2+s-d-(p-d)/2},n.prototype.seriesBox=function(){var e,t=this.chart,n=Math.max,a=Math.min,r=[t.plotLeft,t.plotLeft+t.plotWidth,t.plotTop,t.plotTop+t.plotHeight];return this.data.forEach((function(t){d(t.plotX)&&d(t.plotY)&&t.marker.radius&&(e=t.marker.radius,r[0]=a(r[0],t.plotX-e),r[1]=n(r[1],t.plotX+e),r[2]=a(r[2],t.plotY-e),r[3]=n(r[3],t.plotY+e))})),h(r.width/r.height)?r:null},n.prototype.setVisible=function(){var e=this;s.prototype.setVisible.apply(e,arguments),e.parentNodeLayout&&e.graph?e.visible?(e.graph.show(),e.parentNode.dataLabel&&e.parentNode.dataLabel.show()):(e.graph.hide(),e.parentNodeLayout.removeElementFromCollection(e.parentNode,e.parentNodeLayout.nodes),e.parentNode.dataLabel&&e.parentNode.dataLabel.hide()):e.layout&&(e.visible?e.layout.addElementsToCollection(e.points,e.layout.nodes):e.points.forEach((function(t){e.layout.removeElementFromCollection(t,e.layout.nodes)})))},n.prototype.translate=function(){var e,t=this.chart,n=this.data,a=this.index,r=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),d(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),r)var i=t.allDataPoints;else i=this.placeBubbles(t.allDataPoints),this.options.draggable=!1;for(e=0;e<i.length;e++)if(i[e][3]===a){var o=n[i[e][4]],s=g(i[e][2],void 0);r||(o.plotX=i[e][0]-t.plotLeft+t.diffX,o.plotY=i[e][1]-t.plotTop+t.diffY),h(s)&&(o.marker=p(o.marker,{radius:s,width:2*s,height:2*s}),o.radius=s)}r&&this.deferLayout(),m(this,"afterTranslate")},n.defaultOptions=f(l.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var e=this.series.chart.numberFormatter,t=this.point.value;return h(t)?e(t,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}),n}(l),p(e.prototype,{alignDataLabel:s.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:_.onMouseDown,onMouseMove:_.onMouseMove,pointArrayMap:["value"],pointClass:n,pointValKey:"value",redrawHalo:_.redrawHalo,requireSorting:!1,searchPoint:t.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]}),a.registerSeriesType("packedbubble",e),e})),t(e,"Series/Polygon/PolygonSeries.js",[e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,a){var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();e=e.noop;var i=n.series,o=n.seriesTypes,s=o.area,l=o.line,c=o.scatter;o=a.extend;var u=a.merge;return o((a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(t,e),t.prototype.getGraphPath=function(){for(var e=l.prototype.getGraphPath.call(this),t=e.length+1;t--;)(t===e.length||"M"===e[t][0])&&0<t&&e.splice(t,0,["Z"]);return this.areaPath=e},t.prototype.drawGraph=function(){this.options.fillColor=this.color,s.prototype.drawGraph.call(this)},t.defaultOptions=u(c.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),t}(c)).prototype,{type:"polygon",drawLegendSymbol:t.drawRectangle,drawTracker:i.prototype.drawTracker,setStackedPoints:e}),n.registerSeriesType("polygon",a),a})),t(e,"Core/Axis/WaterfallAxis.js",[e["Extensions/Stacking.js"],e["Core/Utilities.js"]],(function(e,t){var n,a=t.addEvent,r=t.objectEach;return function(t){function n(){var e=this.waterfall.stacks;e&&(e.changed=!1,delete e.alreadyChanged)}function i(){var e=this.options.stackLabels;e&&e.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function o(){for(var e=this.axes,t=this.series,n=t.length;n--;)t[n].options.stacking&&(e.forEach((function(e){e.isXAxis||(e.waterfall.stacks.changed=!0)})),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function t(e){this.axis=e,this.stacks={changed:!1}}return t.prototype.renderStackTotals=function(){var t=this.axis,n=t.waterfall.stacks,a=t.stacking&&t.stacking.stackTotalGroup,i=new e(t,t.options.stackLabels,!1,0,void 0);this.dummyStackItem=i,r(n,(function(t){r(t,(function(t){i.total=t.stackTotal,t.label&&(i.label=t.label),e.prototype.render.call(i,a),t.label=i.label,delete i.label}))})),i.total=null},t}();t.Composition=l,t.compose=function(e,t){a(e,"init",s),a(e,"afterBuildStacks",n),a(e,"afterRender",i),a(t,"beforeRedraw",o)}}(n||(n={})),n})),t(e,"Series/Waterfall/WaterfallPoint.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(e,t,n){var a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=n.isNumber;return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return a(n,e),n.prototype.getClassName=function(){var e=t.prototype.getClassName.call(this);return this.isSum?e+=" highcharts-sum":this.isIntermediateSum&&(e+=" highcharts-intermediate-sum"),e},n.prototype.isValid=function(){return r(this.y)||this.isSum||!!this.isIntermediateSum},n}(e.prototype.pointClass)})),t(e,"Series/Waterfall/WaterfallSeries.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Axis/WaterfallAxis.js"],e["Series/Waterfall/WaterfallPoint.js"]],(function(e,t,n,a,r,i){var o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),s=n.seriesTypes,l=s.column,c=s.line,u=a.arrayMax,d=a.arrayMin,p=a.correctFloat;s=a.extend;var m=a.isNumber,b=a.merge,h=a.objectEach,f=a.pick;return a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t.stackedYNeg=void 0,t.stackedYPos=void 0,t.stackKey=void 0,t.xData=void 0,t.yAxis=void 0,t.yData=void 0,t}return o(t,e),t.prototype.generatePoints=function(){var e;l.prototype.generatePoints.apply(this);var t=0;for(e=this.points.length;t<e;t++){var n=this.points[t],a=this.processedYData[t];(n.isIntermediateSum||n.isSum)&&(n.y=p(a))}},t.prototype.translate=function(){var e=this.options,t=this.yAxis,n=f(e.minPointLength,5),a=n/2,r=e.threshold||0,i=r,o=r;e=e.stacking;var s=t.waterfall.stacks[this.stackKey];l.prototype.translate.apply(this);for(var c=this.points,u=0;u<c.length;u++){var d=c[u],p=this.processedYData[u],b=d.shapeArgs;if(b&&m(p)){var h=[0,p],g=d.y;if(e){if(s){if(h=s[u],"overlap"===e){var _=h.stackState[h.stateIndex--];_=0<=g?_:_-g,Object.hasOwnProperty.call(h,"absolutePos")&&delete h.absolutePos,Object.hasOwnProperty.call(h,"absoluteNeg")&&delete h.absoluteNeg}else 0<=g?(_=h.threshold+h.posTotal,h.posTotal-=g):(_=h.threshold+h.negTotal,h.negTotal-=g,_-=g),!h.posTotal&&Object.hasOwnProperty.call(h,"absolutePos")&&(h.posTotal=h.absolutePos,delete h.absolutePos),!h.negTotal&&Object.hasOwnProperty.call(h,"absoluteNeg")&&(h.negTotal=h.absoluteNeg,delete h.absoluteNeg);d.isSum||(h.connectorThreshold=h.threshold+h.stackTotal),t.reversed?(p=0<=g?_-g:_+g,g=_):(p=_,g=_-g),d.below=p<=r,b.y=t.translate(p,!1,!0,!1,!0)||0,b.height=Math.abs(b.y-(t.translate(g,!1,!0,!1,!0)||0)),(g=t.waterfall.dummyStackItem)&&(g.x=u,g.label=s[u].label,g.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[u],this.stackedYPos[u]))}}else _=Math.max(i,i+g)+h[0],b.y=t.translate(_,!1,!0,!1,!0)||0,d.isSum?(b.y=t.translate(h[1],!1,!0,!1,!0)||0,b.height=Math.min(t.translate(h[0],!1,!0,!1,!0)||0,t.len)-b.y,d.below=h[1]<=r):d.isIntermediateSum?(0<=g?(p=h[1]+o,g=o):(p=o,g=h[1]+o),t.reversed&&(p^=g,p^=g^=p),b.y=t.translate(p,!1,!0,!1,!0)||0,b.height=Math.abs(b.y-Math.min(t.translate(g,!1,!0,!1,!0)||0,t.len)),o+=h[1],d.below=p<=r):(b.height=0<p?(t.translate(i,!1,!0,!1,!0)||0)-b.y:(t.translate(i,!1,!0,!1,!0)||0)-(t.translate(i-p,!1,!0,!1,!0)||0),i+=p,d.below=i<r),0>b.height&&(b.y+=b.height,b.height*=-1);d.plotY=b.y=Math.round(b.y||0)-this.borderWidth%2/2,b.height=Math.max(Math.round(b.height||0),.001),d.yBottom=b.y+b.height,b.height<=n&&!d.isNull?(b.height=n,b.y-=a,d.plotY=b.y,d.minPointLengthOffset=0>d.y?-a:a):(d.isNull&&(b.width=0),d.minPointLengthOffset=0),g=d.plotY+(d.negative?b.height:0),d.below&&(d.plotY+=b.height),d.tooltipPos&&(this.chart.inverted?d.tooltipPos[0]=t.len-g:d.tooltipPos[1]=g)}}},t.prototype.processData=function(t){var n,a,r,i,o,s=this.options,l=this.yData,c=s.data,u=l.length,d=s.threshold||0;for(o=a=n=r=i=0;o<u;o++){var m=l[o],b=c&&c[o]?c[o]:{};"sum"===m||b.isSum?l[o]=p(a):"intermediateSum"===m||b.isIntermediateSum?(l[o]=p(n),n=0):(a+=m,n+=m),r=Math.min(a,r),i=Math.max(a,i)}e.prototype.processData.call(this,t),s.stacking||(this.dataMin=r+d,this.dataMax=i)},t.prototype.toYData=function(e){return e.isSum?"sum":e.isIntermediateSum?"intermediateSum":e.y},t.prototype.updateParallelArrays=function(t,n){e.prototype.updateParallelArrays.call(this,t,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},t.prototype.pointAttribs=function(e,t){var n=this.options.upColor;return n&&!e.options.color&&(e.color=0<e.y?n:null),delete(e=l.prototype.pointAttribs.call(this,e,t)).dashstyle,e},t.prototype.getGraphPath=function(){return[["M",0,0]]},t.prototype.getCrispPath=function(){var e,t=this.data,n=this.yAxis,a=t.length,r=Math.round(this.graph.strokeWidth())%2/2,i=Math.round(this.borderWidth)%2/2,o=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,c=[];for(e=1;e<a;e++){var u=t[e].shapeArgs,d=t[e-1],p=t[e-1].shapeArgs,m=n.waterfall.stacks[this.stackKey],b=0<d.y?-p.height:0;m&&p&&u&&(m=m[e-1],l?(m=m.connectorThreshold,b=Math.round(n.translate(m,0,1,0,1)+(s?b:0))-r):b=p.y+d.minPointLengthOffset+i-r,c.push(["M",(p.x||0)+(o?0:p.width||0),b],["L",(u.x||0)+(o&&u.width||0),b])),p&&c.length&&(!l&&0>d.y&&!s||0<d.y&&s)&&((d=c[c.length-2])&&"number"==typeof d[2]&&(d[2]+=p.height||0),(d=c[c.length-1])&&"number"==typeof d[2]&&(d[2]+=p.height||0))}return c},t.prototype.drawGraph=function(){c.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},t.prototype.setStackedPoints=function(){function e(e,t,n,a){if(M)for(;n<M;n++)f.stackState[n]+=a;else f.stackState[0]=e,M=f.stackState.length;f.stackState.push(f.stackState[M-1]+t)}var t,n,a,r=this.options,i=this.yAxis.waterfall.stacks,o=r.threshold,s=o||0,l=s,c=this.stackKey,u=this.xData,d=u.length;this.yAxis.stacking.usePercentage=!1;var p=n=a=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var m=i.changed;(t=i.alreadyChanged)&&0>t.indexOf(c)&&(m=!0),i[c]||(i[c]={}),t=i[c];for(var b=0;b<d;b++){var h=u[b];t[h]&&!m||(t[h]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:m&&t[h]?t[h].label:void 0});var f=t[h],g=this.yData[b];0<=g?f.posTotal+=g:f.negTotal+=g;var _=r.data[b];h=f.absolutePos=f.posTotal;var y=f.absoluteNeg=f.negTotal;f.stackTotal=h+y;var M=f.stackState.length;_&&_.isIntermediateSum?(e(a,n,0,a),a=n,n=o,s^=l,s^=l^=s):_&&_.isSum?(e(o,p,M),s=o):(e(s,g,0,p),_&&(p+=g,n+=g)),f.stateIndex++,f.threshold=s,s+=f.stackTotal}i.changed=!1,i.alreadyChanged||(i.alreadyChanged=[]),i.alreadyChanged.push(c)}},t.prototype.getExtremes=function(){var e=this.options.stacking;if(e){var t=this.yAxis;t=t.waterfall.stacks;var n=this.stackedYNeg=[],a=this.stackedYPos=[];return h(t[this.stackKey],"overlap"===e?function(e){n.push(d(e.stackState)),a.push(u(e.stackState))}:function(e){n.push(e.negTotal+e.threshold),a.push(e.posTotal+e.threshold)}),{dataMin:d(n),dataMax:u(a)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},t.defaultOptions=b(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),t}(l),s(a.prototype,{getZonesGraphs:c.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:i}),n.registerSeriesType("waterfall",a),r.compose(e,t),a})),t(e,"Extensions/Polar.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Extensions/Pane.js"],e["Core/Pointer.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],(function(e,t,n,a,r,i,o,s,l){var c=e.animObject;o=o.seriesTypes;var u=l.addEvent,d=l.defined,p=l.find,m=l.isNumber,b=l.pick,h=l.splat,f=l.uniqueKey;e=l.wrap;var g=i.prototype;r=r.prototype,g.searchPointByAngle=function(e){var t=this.chart,n=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(e.chartX-n[0]-t.plotLeft,e.chartY-n[1]-t.plotTop)})},g.getConnectors=function(e,t,n,a){var r=a?1:0,i=0<=t&&t<=e.length-1?t:0>t?e.length-1+t:0;t=0>i-1?e.length-(1+r):i-1,r=i+1>e.length-1?r:i+1;var o=e[t];r=e[r];var s=o.plotX;o=o.plotY;var l=r.plotX,c=r.plotY;s=(1.5*(r=e[i].plotX)+s)/2.5,o=(1.5*(i=e[i].plotY)+o)/2.5,l=(1.5*r+l)/2.5;var u=(1.5*i+c)/2.5;c=Math.sqrt(Math.pow(s-r,2)+Math.pow(o-i,2));var d=Math.sqrt(Math.pow(l-r,2)+Math.pow(u-i,2));return s=Math.atan2(o-i,s-r),u=Math.PI/2+(s+Math.atan2(u-i,l-r))/2,Math.abs(s-u)>Math.PI/2&&(u-=Math.PI),s=r+Math.cos(u)*c,o=i+Math.sin(u)*c,r={rightContX:l=r+Math.cos(Math.PI+u)*d,rightContY:u=i+Math.sin(Math.PI+u)*d,leftContX:s,leftContY:o,plotX:r,plotY:i},n&&(r.prevPointCont=this.getConnectors(e,t,!1,a)),r},g.toXY=function(e){var t=this.chart,n=this.xAxis,a=this.yAxis,r=e.plotX,i=e.plotY,o=e.series,s=t.inverted,l=e.y,c=s?r:a.len-i;s&&o&&!o.isRadialBar&&(e.plotY=i="number"==typeof l&&a.translate(l)||0),e.rectPlotX=r,e.rectPlotY=i,a.center&&(c+=a.center[3]/2),m(i)&&(a=s?a.postTranslate(i,c):n.postTranslate(r,c),e.plotX=e.polarPlotX=a.x-t.plotLeft,e.plotY=e.polarPlotY=a.y-t.plotTop),this.kdByAngle?(0>(t=(r/Math.PI*180+n.pane.options.startAngle)%360)&&(t+=360),e.clientX=t):e.clientX=e.plotX},o.spline&&(e(o.spline.prototype,"getPointSpline",(function(e,t,n,a){return this.chart.polar?a?(t=(e=this.getConnectors(t,a,!0,this.connectEnds)).prevPointCont&&e.prevPointCont.rightContX,n=e.prevPointCont&&e.prevPointCont.rightContY,e=["C",m(t)?t:e.plotX,m(n)?n:e.plotY,m(e.leftContX)?e.leftContX:e.plotX,m(e.leftContY)?e.leftContY:e.plotY,e.plotX,e.plotY]):e=["M",n.plotX,n.plotY]:e=e.call(this,t,n,a),e})),o.areasplinerange&&(o.areasplinerange.prototype.getPointSpline=o.spline.prototype.getPointSpline)),u(i,"afterTranslate",(function(){var e=this.chart;if(e.polar&&this.xAxis){if((this.kdByAngle=e.tooltip&&e.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(var t=this.points,a=t.length;a--;)this.toXY(t[a]),!e.hasParallelCoordinates&&!this.yAxis.reversed&&t[a].y<this.yAxis.min&&(t[a].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(u(this,"afterRender",(function(){if(e.polar){var t=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2}):this.clipCircle=e.renderer.clipCircle(t[0],t[1],t[2]/2,t[3]/2),this.group.clip(this.clipCircle),this.setClip=n.noop}}))))}}),{order:2}),e(o.line.prototype,"getGraphPath",(function(e,t){var n,a=this;if(this.chart.polar){for(t=t||this.points,n=0;n<t.length;n++)if(!t[n].isNull){var r=n;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,t.splice(t.length,0,t[r]);var i=!0}t.forEach((function(e){void 0===e.polarPlotY&&a.toXY(e)}))}return n=e.apply(this,[].slice.call(arguments,1)),i&&t.pop(),n}));var _=function(e,t){var a,r,i,o,s=this,l=this.chart,u=this.options.animation,d=this.group,p=this.markerGroup,m=this.xAxis&&this.xAxis.center,h=l.plotLeft,f=l.plotTop;if(l.polar){if(s.isRadialBar)t||(s.startAngleRad=b(s.translatedThreshold,s.xAxis.startAngleRad),n.seriesTypes.pie.prototype.animate.call(s,t));else if(l.renderer.isSVG)if(u=c(u),s.is("column")){if(!t){var g=m[3]/2;s.points.forEach((function(e){a=e.graphic,i=(r=e.shapeArgs)&&r.r,o=r&&r.innerR,a&&r&&(a.attr({r:g,innerR:g}),a.animate({r:i,innerR:o},s.options.animation))}))}}else t?(e={translateX:m[0]+h,translateY:m[1]+f,scaleX:.001,scaleY:.001},d.attr(e),p&&p.attr(e)):(e={translateX:h,translateY:f,scaleX:1,scaleY:1},d.animate(e,u),p&&p.animate(e,u))}else e.call(this,t)};if(e(g,"animate",_),o.column){var y=o.arearange.prototype;(o=o.column.prototype).polarArc=function(e,t,n,a){var r=this.xAxis.center,i=this.yAxis.len,o=r[3]/2;return t=i-t+o,e=i-b(e,i)+o,this.yAxis.reversed&&(0>t&&(t=o),0>e&&(e=o)),{x:r[0],y:r[1],r:t,innerR:e,start:n,end:a}},e(o,"animate",_),e(o,"translate",(function(e){var t=this.options,n=t.stacking,a=this.chart,r=this.xAxis,i=this.yAxis,o=i.reversed,s=i.center,c=r.startAngleRad,u=r.endAngleRad-c;if(this.preventPostTranslate=!0,e.call(this),r.isRadial){r=(e=this.points).length;var p=i.translate(i.min),b=i.translate(i.max);if(t=t.threshold||0,a.inverted&&m(t)){var h=i.translate(t);d(h)&&(0>h?h=0:h>u&&(h=u),this.translatedThreshold=h+c)}for(;r--;){var f=(t=e[r]).barX,g=t.x,_=t.y;if(t.shapeType="arc",a.inverted){if(t.plotY=i.translate(_),n&&i.stacking){if(_=i.stacking.stacks[(0>_?"-":"")+this.stackKey],this.visible&&_&&_[g]&&!t.isNull){var y=_[g].points[this.getStackIndicator(void 0,g,this.index).key],M=i.translate(y[0]);y=i.translate(y[1]),d(M)&&(M=l.clamp(M,0,u))}}else M=h,y=t.plotY;M>y&&(y=[M,M=y][0]),o?y>p?y=p:M<b?M=b:(M>p||y<b)&&(M=y=u):M<p?M=p:y>b?y=b:(y<p||M>b)&&(M=y=0),i.min>i.max&&(M=y=o?u:0),M+=c,y+=c,s&&(t.barX=f+=s[3]/2),g=Math.max(f,0),_=Math.max(f+t.pointWidth,0),t.shapeArgs={x:s&&s[0],y:s&&s[1],r:_,innerR:g,start:M,end:y},t.opacity=M===y?0:void 0,t.plotY=(d(this.translatedThreshold)&&(M<this.translatedThreshold?M:y))-c}else M=f+c,t.shapeArgs=this.polarArc(t.yBottom,t.plotY,M,M+t.pointWidth);this.toXY(t),a.inverted?(f=i.postTranslate(t.rectPlotY,f+t.pointWidth/2),t.tooltipPos=[f.x-a.plotLeft,f.y-a.plotTop]):t.tooltipPos=[t.plotX,t.plotY],s&&(t.ttBelow=t.plotY>s[1])}}})),o.findAlignments=function(e,t){return null===t.align&&(t.align=20<e&&160>e?"left":200<e&&340>e?"right":"center"),null===t.verticalAlign&&(t.verticalAlign=45>e||315<e?"bottom":135<e&&225>e?"top":"middle"),t},y&&(y.findAlignments=o.findAlignments),e(o,"alignDataLabel",(function(e,t,n,a,r,i){var o=this.chart,s=b(a.inside,!!this.options.stacking);o.polar?(e=t.rectPlotX/Math.PI*180,o.inverted?(this.forceDL=o.isInsidePlot(t.plotX,Math.round(t.plotY)),s&&t.shapeArgs?(r=t.shapeArgs,r={x:(r=this.yAxis.postTranslate(((r.start||0)+(r.end||0))/2-this.xAxis.startAngleRad,t.barX+t.pointWidth/2)).x-o.plotLeft,y:r.y-o.plotTop}):t.tooltipPos&&(r={x:t.tooltipPos[0],y:t.tooltipPos[1]}),a.align=b(a.align,"center"),a.verticalAlign=b(a.verticalAlign,"middle")):this.findAlignments&&(a=this.findAlignments(e,a)),g.alignDataLabel.call(this,t,n,a,r,i),this.isRadialBar&&t.shapeArgs&&t.shapeArgs.start===t.shapeArgs.end&&n.hide(!0)):e.call(this,t,n,a,r,i)}))}e(r,"getCoordinates",(function(e,t){var n=this.chart,a={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach((function(e){var r=e.isXAxis,i=e.center;if("colorAxis"!==e.coll){var o=t.chartX-i[0]-n.plotLeft;i=t.chartY-i[1]-n.plotTop,a[r?"xAxis":"yAxis"].push({axis:e,value:e.translate(r?Math.PI-Math.atan2(o,i):Math.sqrt(Math.pow(o,2)+Math.pow(i,2)),!0)})}})):a=e.call(this,t),a})),s.prototype.clipCircle=function(e,t,n,a){var r=f(),i=this.createElement("clipPath").attr({id:r}).add(this.defs);return(e=a?this.arc(e,t,n,a,0,2*Math.PI).add(i):this.circle(e,t,n).add(i)).id=r,e.clipPath=i,e},u(t,"getAxes",(function(){this.pane||(this.pane=[]),this.options.pane=h(this.options.pane),this.options.pane.forEach((function(e){new a(e,this)}),this)})),u(t,"afterDrawChartBox",(function(){this.pane.forEach((function(e){e.render()}))})),u(i,"afterInit",(function(){var e=this.chart;e.inverted&&e.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))})),e(t.prototype,"get",(function(e,t){return p(this.pane||[],(function(e){return e.options.id===t}))||e.call(this,t)}))})),t(e,"masters/highcharts-more.src.js",[e["Core/Globals.js"],e["Core/Axis/RadialAxis.js"],e["Series/Bubble/BubbleSeries.js"]],(function(e,t,n){t.compose(e.Axis,e.Tick),n.compose(e.Chart,e.Legend,e.Series)}))}))},function(e,t,n){"use strict";var a=n(144);var r=function(e){function t(e,t,a){var r=t.trim().split(b);t=r;var i=r.length,o=e.length;switch(o){case 0:case 1:var s=0;for(e=0===o?"":e[0]+" ";s<i;++s)t[s]=n(e,t[s],a).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var c=0;c<o;++c)t[l++]=n(e[c]+" ",r[s],a).trim()}return t}function n(e,t,n){var a=t.charCodeAt(0);switch(33>a&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(h,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,i){var o=e+";",s=2*t+3*n+4*i;if(944===s){e=o.indexOf(":",9)+1;var l=o.substring(e,o.length-1).trim();return l=o.substring(0,e).trim()+l+";",1===q||2===q&&r(l,1)?"-webkit-"+l+l:l}if(0===q||2===q&&!r(o,1))return o;switch(s){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(A,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(l=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+l+o;case 1005:return p.test(o)?o.replace(d,":-webkit-")+o.replace(d,":-moz-")+o:o;case 1e3:switch(t=(l=o.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=o.replace(y,"tb");break;case 232:l=o.replace(y,"tb-rl");break;case 220:l=o.replace(y,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+l+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,s=(l=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+o.replace(l,"-webkit-"+l)+";"+o.replace(l,"-ms-"+l+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return l=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+l+"-ms-flex-"+l+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(z,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(z,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):o.replace(l,"-webkit-"+l)+o.replace(l,"-moz-"+l.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+i&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+o}return o}function r(e,t){var n=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),L(2!==t?a:a.replace(O,"$1"),n,t)}function i(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(v," or ($1)").substring(4):"("+t+")"}function o(e,t,n,a,r,i,o,s,c,u){for(var d,p=0,m=t;p<W;++p)switch(d=j[p].call(l,e,m,n,a,r,i,o,s,c,u)){case void 0:case!1:case!0:case null:break;default:m=d}if(m!==t)return m}function s(e){return void 0!==(e=e.prefix)&&(L=null,e?"function"!=typeof e?q=1:(q=2,L=e):q=0),s}function l(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<W){var l=o(-1,n,s,s,w,x,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var d=function e(n,s,l,d,p){for(var m,b,h,y,v,z=0,O=0,k=0,A=0,j=0,L=0,T=h=m=0,C=0,R=0,D=0,P=0,B=l.length,I=B-1,$="",F="",X="",Y="";C<B;){if(b=l.charCodeAt(C),C===I&&0!==O+A+k+z&&(0!==O&&(b=47===O?10:47),A=k=z=0,B++,I++),0===O+A+k+z){if(C===I&&(0<R&&($=$.replace(u,"")),0<$.trim().length)){switch(b){case 32:case 9:case 59:case 13:case 10:break;default:$+=l.charAt(C)}b=59}switch(b){case 123:for(m=($=$.trim()).charCodeAt(0),h=1,P=++C;C<B;){switch(b=l.charCodeAt(C)){case 123:h++;break;case 125:h--;break;case 47:switch(b=l.charCodeAt(C+1)){case 42:case 47:e:{for(T=C+1;T<I;++T)switch(l.charCodeAt(T)){case 47:if(42===b&&42===l.charCodeAt(T-1)&&C+2!==T){C=T+1;break e}break;case 10:if(47===b){C=T+1;break e}}C=T}}break;case 91:b++;case 40:b++;case 34:case 39:for(;C++<I&&l.charCodeAt(C)!==b;);}if(0===h)break;C++}switch(h=l.substring(P,C),0===m&&(m=($=$.replace(c,"").trim()).charCodeAt(0)),m){case 64:switch(0<R&&($=$.replace(u,"")),b=$.charCodeAt(1)){case 100:case 109:case 115:case 45:R=s;break;default:R=E}if(P=(h=e(s,R,h,b,p+1)).length,0<W&&(v=o(3,h,R=t(E,$,D),s,w,x,P,b,p,d),$=R.join(""),void 0!==v&&0===(P=(h=v.trim()).length)&&(b=0,h="")),0<P)switch(b){case 115:$=$.replace(M,i);case 100:case 109:case 45:h=$+"{"+h+"}";break;case 107:h=($=$.replace(f,"$1 $2"))+"{"+h+"}",h=1===q||2===q&&r("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=$+h,112===d&&(F+=h,h="")}else h="";break;default:h=e(s,t(s,$,D),h,d,p+1)}X+=h,h=D=R=T=m=0,$="",b=l.charCodeAt(++C);break;case 125:case 59:if(1<(P=($=(0<R?$.replace(u,""):$).trim()).length))switch(0===T&&(m=$.charCodeAt(0),45===m||96<m&&123>m)&&(P=($=$.replace(" ",":")).length),0<W&&void 0!==(v=o(1,$,s,n,w,x,F.length,d,p,d))&&0===(P=($=v.trim()).length)&&($="\0\0"),m=$.charCodeAt(0),b=$.charCodeAt(1),m){case 0:break;case 64:if(105===b||99===b){Y+=$+l.charAt(C);break}default:58!==$.charCodeAt(P-1)&&(F+=a($,m,b,$.charCodeAt(2)))}D=R=T=m=0,$="",b=l.charCodeAt(++C)}}switch(b){case 13:case 10:47===O?O=0:0===1+m&&107!==d&&0<$.length&&(R=1,$+="\0"),0<W*S&&o(0,$,s,n,w,x,F.length,d,p,d),x=1,w++;break;case 59:case 125:if(0===O+A+k+z){x++;break}default:switch(x++,y=l.charAt(C),b){case 9:case 32:if(0===A+z+O)switch(j){case 44:case 58:case 9:case 32:y="";break;default:32!==b&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===A+O+z&&(R=D=1,y="\f"+y);break;case 108:if(0===A+O+z+N&&0<T)switch(C-T){case 2:112===j&&58===l.charCodeAt(C-3)&&(N=j);case 8:111===L&&(N=L)}break;case 58:0===A+O+z&&(T=C);break;case 44:0===O+k+A+z&&(R=1,y+="\r");break;case 34:case 39:0===O&&(A=A===b?0:0===A?b:A);break;case 91:0===A+O+k&&z++;break;case 93:0===A+O+k&&z--;break;case 41:0===A+O+z&&k--;break;case 40:if(0===A+O+z){if(0===m)switch(2*j+3*L){case 533:break;default:m=1}k++}break;case 64:0===O+k+A+z+T+h&&(h=1);break;case 42:case 47:if(!(0<A+z+k))switch(O){case 0:switch(2*b+3*l.charCodeAt(C+1)){case 235:O=47;break;case 220:P=C,O=42}break;case 42:47===b&&42===j&&P+2!==C&&(33===l.charCodeAt(P+2)&&(F+=l.substring(P,C+1)),y="",O=0)}}0===O&&($+=y)}L=j,j=b,C++}if(0<(P=F.length)){if(R=s,0<W&&(void 0!==(v=o(2,F,R,n,w,x,P,d,p,d))&&0===(F=v).length))return Y+F+X;if(F=R.join(",")+"{"+F+"}",0!=q*N){switch(2!==q||r(F,2)||(N=0),N){case 111:F=F.replace(_,":-moz-$1")+F;break;case 112:F=F.replace(g,"::-webkit-input-$1")+F.replace(g,"::-moz-$1")+F.replace(g,":-ms-input-$1")+F}N=0}}return Y+F+X}(E,s,n,0,0);return 0<W&&(void 0!==(l=o(-2,d,s,s,w,x,d.length,0,0,0))&&(d=l)),"",N=0,x=w=1,d}var c=/^\0+/g,u=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,m=/([,: ])(transform)/g,b=/,\r+?/g,h=/([\t\r\n ])*\f?&/g,f=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,_=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,M=/\(\s*(.*)\s*\)/g,v=/([\s\S]*?);/g,z=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,x=1,w=1,N=0,q=1,E=[],j=[],W=0,L=null,S=0;return l.use=function e(t){switch(t){case void 0:case null:W=j.length=0;break;default:if("function"==typeof t)j[W++]=t;else if("object"==typeof t)for(var n=0,a=t.length;n<a;++n)e(t[n]);else S=0|!!t}return e},l.set=s,void 0!==e&&s(e),l};function i(e){e&&o.current.insert(e+"}")}var o={current:null},s=function(e,t,n,a,r,s,l,c,u,d){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return o.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===c)return t+"/*|*/";break;case 3:switch(c){case 102:case 112:return o.current.insert(n[0]+t),"";default:return t+(0===d?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(i)}};t.a=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new r(t);var l,c={};l=e.container||document.head;var u,d=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(d,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){c[e]=!0})),e.parentNode!==l&&l.appendChild(e)})),i.use(e.stylisPlugins)(s),u=function(e,t,n,a){var r=t.name;o.current=n,i(e,t.styles),a&&(p.inserted[r]=!0)};var p={key:n,sheet:new a.a({key:n,container:l,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:c,registered:{},insert:u};return p}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(33),u=n(13),d=n(15);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,p=e.avatar,m=void 0!==p&&p,b=e.avatarUrl,h=e.className,f=e.dark,g=void 0!==f&&f,_=e.data,y=void 0===_?{}:_,M=e.id,v=e.name,z=e.orientation,O=void 0===z?"horizontal":z,k=e.size,A=void 0===k?"sm":k,x=e.subtitle,w=e.territory,N=void 0===w?"":w,q=e.title,E=void 0===q?"":q,j=Object(s.c)(y),W=Object(s.a)(i),L=o()(Object(s.b)("pb_user_kit",n,O,A),Object(l.c)(e),h),S=m||b;return r.a.createElement("div",Object.assign({},W,j,{className:L,id:M}),S&&r.a.createElement(c.a,{imageUrl:b,name:v,size:A,status:null}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(d.a,{dark:g,size:"lg"==A?3:4,text:v}),r.a.createElement(u.a,{color:"light",dark:g,variant:null},""===N?E:"".concat(N," • ").concat(E)),"string"==typeof x&&r.a.createElement(u.a,{color:"light",dark:g,text:x,variant:null}),"string"!=typeof x&&r.a.createElement(r.a.Fragment,null,x)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(33),u=n(8);t.a=function(e){var t=e.action,n=void 0===t?"add":t,a=e.aria,i=void 0===a?{}:a,d=e.linkAriaLabel,p=e.className,m=e.dark,b=void 0!==m&&m,h=e.data,f=void 0===h?{}:h,g=e.id,_=e.imageAlt,y=void 0===_?"":_,M=e.imageUrl,v=e.linkUrl,z=e.name,O=e.onClick,k=e.placement,A=void 0===k?"bottom left":k,x=e.size,w=void 0===x?"md":x,N=Object(s.a)(i),q=Object(s.c)(f),E=o()(Object(s.b)("pb_avatar_action_button_kit",n,A,w),Object(l.c)(e),p);return r.a.createElement("div",Object.assign({},N,q,{className:E,id:g}),r.a.createElement("a",{"aria-label":d,href:v,onClick:O},r.a.createElement(c.a,{imageAlt:y,imageUrl:M,name:z,size:w}),r.a.createElement("div",{className:"icon ".concat(b?"dark":"")},r.a.createElement(u.a,{dark:b,icon:{add:"plus-circle",remove:"times-circle"}[n]}))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(15);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,d=e.className,p=e.dark,m=void 0!==p&&p,b=e.data,h=void 0===b?{}:b,f=e.count,g=e.id,_=e.title,y=e.size,M=void 0===y?"sm":y,v=Object(s.a)(i),z=Object(s.c)(h),O=o()(Object(s.b)("pb_title_count_kit",n,M),Object(l.c)(e),d),k=f.toLocaleString();return r.a.createElement("div",Object.assign({},v,z,{className:O,id:g}),r.a.createElement(u.a,{className:void 0!==_?"pb_title_count_text":"",dark:m,size:"lg"===M?3:4,text:_}),r.a.createElement(c.a,{color:"light",dark:m},f&&k))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.children,c=e.color,u=e.data,d=void 0===u?{}:u,p=e.orientation,m=void 0===p?"horizontal":p,b=e.icon,h=void 0!==b&&b,f=e.showIcon,g=void 0!==f&&f,_=e.variant,y=Object(s.a)(n),M=Object(s.c)(d),v=!0===h||!0===g?"icon":"",z=Object(s.b)("pb_progress_step_kit",m,v,_,c);return r.a.createElement("ul",Object.assign({},y,M,{className:o()(z,Object(l.c)(e),a)}),i)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(8),u=n(15),d=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.checked,p=void 0!==i&&i,m=e.customIcon,b=e.data,h=void 0===b?{}:b,f=e.disabled,g=void 0!==f&&f,_=e.icon,y=e.inputId,M=e.inputs,v=void 0===M?"enabled":M,z=e.multi,O=void 0===z||z,k=e.name,A=e.text,x=e.value,w=d(e,["aria","className","checked","customIcon","data","disabled","icon","inputId","inputs","multi","name","text","value"]),N=Object(l.a)(n),q=Object(l.c)(h),E=o()(Object(l.b)("pb_selectable_icon_kit",{checked:p,disabled:g,enabled:!g}),Object(s.c)(w),a),j=!1===O?"radio":"checkbox",W=null!==y?y:k;return r.a.createElement("div",Object.assign({},N,q,{className:E}),"disabled"===v&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{customIcon:m,icon:_,size:"2x"}),r.a.createElement(u.a,{size:4,tag:"h4",text:A})),"enabled"===v&&r.a.createElement(r.a.Fragment,null,r.a.createElement("input",Object.assign({},w,{checked:p,disabled:g,id:W,name:k,type:j,value:x})),r.a.createElement("label",{htmlFor:W},r.a.createElement(c.a,{customIcon:m,icon:_,size:"2x"}),r.a.createElement(u.a,{size:4,tag:"h4",text:A}))))}},function(e,t,n){"use strict";function a(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(17),u=n(15),d=n(53),p=function(e,t){var n=new d.a({value:e});if("day_only"===t)return n.toDay();var a="expanded"===t?"%b %-d":"%-m/%-d";return n.toCustomFormat(a)};t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,m=e.className,b=e.dark,h=void 0!==b&&b,f=e.data,g=void 0===f?{}:f,_=e.date,y=void 0===_?new Date:_,M=e.id,v=e.variant,z=void 0===v?"month_day":v,O=e.compact,k=void 0!==O&&O,A=Object(l.a)(i),x=Object(l.c)(g),w=o()(Object(l.b)("pb_weekday_stacked_kit",n),Object(s.c)(e),m);return r.a.createElement("div",Object.assign({},A,x,{className:w,id:M}),r.a.createElement(c.a,{dark:h},function(e,t){var n=new d.a({value:e});return t?n.toDayAbbr():n.toWeekday()}(y,k)),r.a.createElement(u.a,{dark:h,size:4,tag:"span",text:p(y,z)}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.data,c=void 0===i?{}:i,u=e.id,d=e.status,p=void 0===d?"offline":d;n.label=p;var m=Object(l.a)(n),b=Object(l.c)(c),h=o()(Object(l.b)("pb_online_status_kit",p),Object(s.c)(e),a);return r.a.createElement("div",Object.assign({},m,b,{className:h,id:u}))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5);t.a=function(e){var t=e.alt,n=void 0===t?"":t,a=e.aria,i=void 0===a?{}:a,c=e.backgroundColor,u=void 0===c?"light":c,d=e.backgroundRepeat,p=void 0===d?"initial":d,m=e.backgroundSize,b=void 0===m?"cover":m,h=e.children,f=e.className,g=e.customColor,_=e.data,y=void 0===_?{}:_,M=e.id,v=e.imageUrl,z=void 0===v?"":v,O=e.tag,k=void 0===O?"div":O,A=e.transition,x=void 0===A?"":A,w=Object(s.a)(i),N=Object(s.c)(y),q={backgroundImage:"url(".concat(z,")"),backgroundRepeat:"".concat(p),backgroundSize:"".concat(b)},E=g?"pb_background_custom_color":"pb_background_color_".concat(u),j=o()(Object(s.b)("pb_background_kit"),"lazyload",q,x,Object(l.c)(e),E,f),W="".concat(k);return r.a.createElement(r.a.Fragment,null,z?r.a.createElement(W,Object.assign({alt:n,style:q},w,N,{className:j,id:M}),h):r.a.createElement(W,Object.assign({},w,N,{className:j,id:M,style:g?{backgroundColor:g}:null}),h))}},function(e,t,n){"use strict";var a=n(199),r=n.n(a),i=n(0),o=n.n(i),s=n(3),l=n.n(s),c=n(5);t.a=function(e){var t=e.children,n=e.className,a=void 0===n?"pb_highlight_kit":n,i=e.data,s=void 0===i?{}:i,u=e.highlightedText,d=void 0===u?["highlight"]:u,p=e.id,m=void 0===p?"":p,b=e.text,h=(void 0===b?"":b)||t;return o.a.createElement(r.a,{autoEscape:!0,data:s,highlightClassName:l()(Object(c.c)(e),a),highlightTag:"mark",id:m,searchWords:d,textToHighlight:h})}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(70),u=n.n(c),d=n(26),p=n.n(d),m=n(52),b=n(78),h=n(71);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.data,c=void 0===i?{}:i,d=e.align,g=void 0===d?"center":d,y=e.className,M=void 0===y?"pb_bar_graph":y,v=e.dark,z=void 0!==v&&v,O=(e.gradient,e.type),k=void 0===O?"line":O,A=e.id,x=e.legend,w=void 0!==x&&x,N=e.toggleLegendClick,q=void 0===N||N,E=e.layout,j=void 0===E?"horizontal":E,W=e.verticalAlign,L=void 0===W?"bottom":W,S=e.x,T=void 0===S?0:S,C=e.y,R=void 0===C?0:C,D=e.axisTitle,P=e.xAxisCategories,B=e.yAxisMin,I=e.yAxisMax,$=e.chartData,F=e.pointStart,X=e.subTitle,Y=e.title,H=e.height,U=e.colors,V=void 0===U?[]:U,G=_(e,["aria","data","align","className","dark","gradient","type","id","legend","toggleLegendClick","layout","verticalAlign","x","y","axisTitle","xAxisCategories","yAxisMin","yAxisMax","chartData","pointStart","subTitle","title","height","colors"]),K=Object(l.a)(n),J=Object(l.c)(c);z?p.a.setOptions(b.a):p.a.setOptions(m.a);var Z={title:{text:Y},chart:{height:H,type:k},subtitle:{text:X},yAxis:{min:B,max:I,title:{text:D}},xAxis:{categories:P},legend:{enabled:w,align:g,verticalAlign:L,layout:j,x:T,y:R},colors:void 0!==V&&V.length>0?Object(h.a)(V):m.a.colors,plotOptions:{series:{pointStart:F,events:{},dataLabels:{enabled:!1}}},series:$,credits:!1};q||(Z.plotOptions.series.events={legendItemClick:function(){return!1}});var Q=f(Object(a.useState)({}),2),ee=Q[0],te=Q[1];return Object(a.useEffect)((function(){te(Object.assign({},Z))}),[$]),r.a.createElement(u.a,{containerProps:Object.assign(Object.assign({className:o()(Object(s.c)(G),M),id:A},K),J),highcharts:p.a,options:ee})}},function(e,t,n){"use strict";var a=n(0),r=n.n(a);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var s=n(3),l=n.n(s),c=n(2),u=n(5),d=r.a.createContext({}),p=n(48),m=n(17),b=n(11),h=n(16),f=n(15),g=n(25),_=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.children,o=e.className,s=e.data,_=void 0===s?{}:s,y=e.onClickRight,M=e.spacing,v=void 0===M?"between":M,z=e.text,O=e.navRight,k=e.title,A=e.closeable,x=void 0===A||A,w=e.icon,N=void 0===w?"times":w,q=Object(c.a)(n),E=Object(c.c)(_),j=Object(a.useContext)(d),W=Object(c.b)("lightbox_header"),L=Object(u.c)(e,{paddingY:"sm"}),S=function(){return j.onClose()},T=function(){return r.a.createElement(r.a.Fragment,null,r.a.createElement(h.a,{flex:"1",marginLeft:"sm"},r.a.createElement(p.a,{onClick:S,dark:!0,variant:"link",icon:N})),k&&z&&r.a.createElement(h.a,{flex:"5"},r.a.createElement(b.a,{justify:"center"},r.a.createElement(b.a,{align:"center",orientation:"column"},"string"==typeof k?r.a.createElement(f.a,{dark:!0,paddingBottom:"xxs",size:4,text:k}):r.a.createElement(b.a,{justify:"center",className:"custom-header"},k),"string"==typeof z?r.a.createElement(m.a,{dark:!0},z):r.a.createElement(b.a,{justify:"center",className:"custom-header"},z)))),r.a.createElement(h.a,{flex:"1"},r.a.createElement(b.a,{justify:"end"},r.a.createElement(g.a,{className:"nav-right-btn",htmlType:"button",onClick:y,dark:!0,variant:"link",text:O}))))};return r.a.createElement("div",{className:"carousel-header"},r.a.createElement(b.a,Object.assign({},q,E,{className:l()(W,L,o),spacing:v}),x&&r.a.createElement(T,null),i))},y=n(22),M=function(e,t){return Number(e.toFixed(t))},v=function(e,t,n){n&&"function"==typeof n&&n(e,t)},z={easeOut:function(e){return-Math.cos(e*Math.PI)/2+.5},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},O=function(e){"number"==typeof e&&cancelAnimationFrame(e)},k=function(e){e.mounted&&(O(e.animation),e.animate=!1,e.animation=null,e.velocity=null)};function A(e,t,n,a){if(e.mounted){var r=(new Date).getTime();k(e),e.animation=function(){if(!e.mounted)return O(e.animation);var i=(new Date).getTime()-r,o=(0,z[t])(i/n);i>=n?(a(1),e.animation=null):e.animation&&(a(o),requestAnimationFrame(e.animation))},requestAnimationFrame(e.animation)}}function x(e,t,n,a){var r=function(e){var t=e.scale,n=e.positionX,a=e.positionY;return!(Number.isNaN(t)||Number.isNaN(n)||Number.isNaN(a))}(t);if(e.mounted&&r){var i=e.setTransformState,o=e.transformState,s=o.scale,l=o.positionX,c=o.positionY,u=t.scale-s,d=t.positionX-l,p=t.positionY-c;0===n?i(t.scale,t.positionX,t.positionY):A(e,a,n,(function(e){i(s+u*e,l+d*e,c+p*e)}))}}var w=function(e,t){var n=e.wrapperComponent,a=e.contentComponent,r=e.setup.centerZoomedOut;if(!n||!a)throw new Error("Components are not mounted");var i=function(e,t,n){var a=e.offsetWidth,r=e.offsetHeight,i=t.offsetWidth*n,o=t.offsetHeight*n;return{wrapperWidth:a,wrapperHeight:r,newContentWidth:i,newDiffWidth:a-i,newContentHeight:o,newDiffHeight:r-o}}(n,a,t),o=i.wrapperWidth,s=i.wrapperHeight;return function(e,t,n,a,r,i,o){var s=e>t?n*(o?1:.5):0,l=a>r?i*(o?1:.5):0;return{minPositionX:e-t-s,maxPositionX:s,minPositionY:a-r-l,maxPositionY:l}}(o,i.newContentWidth,i.newDiffWidth,s,i.newContentHeight,i.newDiffHeight,Boolean(r))},N=function(e,t,n,a){return M(a?e<t?t:e>n?n:e:e,2)},q=function(e,t){var n=w(e,t);return e.bounds=n,n};function E(e,t,n,a,r,i,o){var s=n.minPositionX,l=n.minPositionY,c=n.maxPositionX,u=n.maxPositionY,d=0,p=0;return o&&(d=r,p=i),{x:N(e,s-d,c+d,a),y:N(t,l-p,u+p,a)}}function j(e,t,n,a,r,i){var o=e.transformState,s=o.scale,l=o.positionX,c=o.positionY,u=a-s;return"number"!=typeof t||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:l,y:c}):E(l-t*u,c-n*u,r,i,0,0,null)}function W(e,t,n,a,r){var i=t-(r?a:0);return!Number.isNaN(n)&&e>=n?n:!Number.isNaN(t)&&e<=i?i:e}var L=function(e,t){var n=e.setup.panning.excluded,a=e.isInitialized,r=e.wrapperComponent,i=t.target,o=null==r?void 0:r.contains(i);return!!(a&&i&&o)&&!ce(i,n)},S=function(e){var t=e.isInitialized,n=e.isPanning,a=e.setup.panning.disabled;return!(!t||!n||a)};var T=function(e,t){var n=e.setup,a=e.transformState.scale,r=n.minScale,i=n.disablePadding;return t>0&&a>=r&&!i?t:0};function C(e,t,n,a,r,i,o,s,l,c){if(r){var u;if(t>o&&n>o)return(u=o+(e-o)*c)>l?l:u<o?o:u;if(t<i&&n<i)return(u=i+(e-i)*c)<s?s:u>i?i:u}return a?t:N(e,i,o,r)}function R(e,t){if(function(e){var t=e.mounted,n=e.setup,a=n.disabled,r=n.velocityAnimation,i=e.transformState.scale;return!(r.disabled&&!(i>1)&&a&&!t)}(e)){var n=e.lastMousePosition,a=e.velocityTime,r=e.setup,i=e.wrapperComponent,o=r.velocityAnimation.equalToMove,s=Date.now();if(n&&a&&i){var l=function(e,t){return t?Math.min(1,e.offsetWidth/window.innerWidth):1}(i,o),c=t.x-n.x,u=t.y-n.y,d=c/l,p=u/l,m=s-a,b=c*c+u*u,h=Math.sqrt(b)/m;e.velocity={velocityX:d,velocityY:p,total:h}}e.lastMousePosition=t,e.velocityTime=s}}function D(e,t){var n=e.transformState.scale;k(e),q(e,n),void 0!==window.TouchEvent&&t instanceof TouchEvent?function(e,t){var n=t.touches,a=e.transformState,r=a.positionX,i=a.positionY;if(e.isPanning=!0,1===n.length){var o=n[0].clientX,s=n[0].clientY;e.startCoords={x:o-r,y:s-i}}}(e,t):function(e,t){var n=e.transformState,a=n.positionX,r=n.positionY;e.isPanning=!0;var i=t.clientX,o=t.clientY;e.startCoords={x:i-a,y:o-r}}(e,t)}function P(e){var t=e.transformState.scale,n=e.setup,a=n.minScale,r=n.alignmentAnimation,i=r.disabled,o=r.sizeX,s=r.sizeY,l=r.animationTime,c=r.animationType;if(!(i||t<a||!o&&!s)){var u=function(e){var t=e.transformState,n=t.positionX,a=t.positionY,r=t.scale,i=e.setup,o=i.disabled,s=i.limitToBounds,l=i.centerZoomedOut,c=e.wrapperComponent;if(!o&&c&&e.bounds){var u=e.bounds,d=u.maxPositionX,p=u.minPositionX,m=u.maxPositionY,b=u.minPositionY,h=n>d||n<p,f=a>m||a<b,g=j(e,n>d?c.offsetWidth:e.setup.minPositionX||0,a>m?c.offsetHeight:e.setup.minPositionY||0,r,e.bounds,s||l),_=g.x,y=g.y;return{scale:r,positionX:h?_:n,positionY:f?y:a}}}(e);u&&x(e,u,l,c)}}function B(e,t,n){var a=e.startCoords,r=e.setup.alignmentAnimation,i=r.sizeX,o=r.sizeY;if(a){var s=function(e,t,n){var a=e.startCoords,r=e.transformState,i=e.setup.panning,o=i.lockAxisX,s=i.lockAxisY,l=r.positionX,c=r.positionY;if(!a)return{x:l,y:c};var u=t-a.x,d=n-a.y;return{x:o?l:u,y:s?c:d}}(e,t,n),l=s.x,c=s.y,u=T(e,i),d=T(e,o);R(e,{x:l,y:c}),function(e,t,n,a,r){var i=e.setup.limitToBounds,o=e.wrapperComponent,s=e.bounds,l=e.transformState,c=l.scale,u=l.positionX,d=l.positionY;if(null!==o&&null!==s&&(t!==u||n!==d)){var p=E(t,n,s,i,a,r,o),m=p.x,b=p.y;e.setTransformState(c,m,b)}}(e,l,c,u,d)}}function I(e){if(e.isPanning){var t=e.setup.panning.velocityDisabled,n=e.velocity,a=e.wrapperComponent,r=e.contentComponent;e.isPanning=!1,e.animate=!1,e.animation=null;var i=null==a?void 0:a.getBoundingClientRect(),o=null==r?void 0:r.getBoundingClientRect(),s=(null==i?void 0:i.width)||0,l=(null==i?void 0:i.height)||0,c=(null==o?void 0:o.width)||0,u=(null==o?void 0:o.height)||0,d=s<c||l<u;!t&&n&&(null==n?void 0:n.total)>.1&&d?function(e){var t=e.velocity,n=e.bounds,a=e.setup,r=e.wrapperComponent;if(function(e){var t=e.mounted,n=e.velocity,a=e.bounds,r=e.setup,i=r.disabled,o=r.velocityAnimation,s=e.transformState.scale;return!(o.disabled&&!(s>1)&&i&&!t)&&!(!n||!a)}(e)&&t&&n&&r){var i=t.velocityX,o=t.velocityY,s=t.total,l=n.maxPositionX,c=n.minPositionX,u=n.maxPositionY,d=n.minPositionY,p=a.limitToBounds,m=a.alignmentAnimation,b=a.zoomAnimation,h=a.panning,f=h.lockAxisY,g=h.lockAxisX,_=b.animationType,y=m.sizeX,M=m.sizeY,v=m.velocityAlignmentTime,O=function(e,t){var n=e.setup.velocityAnimation,a=n.equalToMove,r=n.animationTime,i=n.sensitivity;return a?r*t*i:r}(e,s),k=Math.max(O,v),x=T(e,y),w=T(e,M),N=x*r.offsetWidth/100,q=w*r.offsetHeight/100,E=l+N,j=c-N,W=u+q,L=d-q,S=e.transformState,R=(new Date).getTime();A(e,_,k,(function(t){var n=e.transformState,a=n.scale,r=n.positionX,s=n.positionY,b=((new Date).getTime()-R)/v,h=1-(0,z[m.animationType])(Math.min(1,b)),_=1-t,y=r+i*_,M=s+o*_,O=C(y,S.positionX,r,g,p,c,l,j,E,h),k=C(M,S.positionY,s,f,p,d,u,L,W,h);r===y&&s===M||e.setTransformState(a,O,k)}))}}(e):P(e)}}function $(e,t,n,a){var r=e.setup,i=r.minScale,o=r.maxScale,s=r.limitToBounds,l=W(M(t,2),i,o,0,!1),c=j(e,n,a,l,q(e,l),s);return{scale:l,positionX:c.x,positionY:c.y}}function F(e,t,n){var a=e.transformState.scale,r=e.wrapperComponent,i=e.setup,o=i.minScale,s=i.limitToBounds,l=i.zoomAnimation,c=l.disabled,u=l.animationTime,d=l.animationType,p=c||a>=o;if((a>=1||s)&&P(e),!p&&r&&e.mounted){var m=$(e,o,t||r.offsetWidth/2,n||r.offsetHeight/2);m&&x(e,m,u,d)}}var X=function(){return(X=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Y(e,t,n){if(n||2===arguments.length)for(var a,r=0,i=t.length;r<i;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var H=1,U=0,V=0,G={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,wheel:{step:.2,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},alignmentAnimation:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivity:1,animationTime:400,animationType:"easeOut",equalToMove:!0}},K=function(e){var t,n,a,r;return{previousScale:null!==(t=e.initialScale)&&void 0!==t?t:H,scale:null!==(n=e.initialScale)&&void 0!==n?n:H,positionX:null!==(a=e.initialPositionX)&&void 0!==a?a:U,positionY:null!==(r=e.initialPositionY)&&void 0!==r?r:V}},J=function(e){var t=X({},G);return Object.keys(e).forEach((function(n){var a=void 0!==e[n];if(void 0!==G[n]&&a){var r=Object.prototype.toString.call(G[n]),i="[object Object]"===r,o="[object Array]"===r;t[n]=i?X(X({},G[n]),e[n]):o?Y(Y([],G[n],!0),e[n],!0):e[n]}})),t},Z=function(e,t,n){var a=e.transformState.scale,r=e.wrapperComponent,i=e.setup,o=i.maxScale,s=i.minScale,l=i.zoomAnimation.size;if(!r)throw new Error("Wrapper is not mounted");var c=a*Math.exp(t*n);return W(M(c,3),s,o,l,!1)};function Q(e,t,n,a,r){var i=e.wrapperComponent,o=e.transformState,s=o.scale,l=o.positionX,c=o.positionY;if(!i)return console.error("No WrapperComponent found");var u=(i.offsetWidth/2-l)/s,d=(i.offsetHeight/2-c)/s,p=$(e,Z(e,t,n),u,d);if(!p)return console.error("Error during zoom event. New transformation state was not calculated.");x(e,p,a,r)}function ee(e,t,n,a){var r=e.setup,i=e.wrapperComponent,o=r.limitToBounds,s=K(e.props),l=e.transformState,c=l.scale,u=l.positionX,d=l.positionY;if(i){var p=w(e,s.scale),m=E(s.positionX,s.positionY,p,o,0,0,i),b={scale:s.scale,positionX:m.x,positionY:m.y};c===s.scale&&u===s.positionX&&d===s.positionY||(null==a||a(),x(e,b,t,n))}}var te=function(e){return function(t,n,a){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===a&&(a="easeOut"),Q(e,1,t,n,a)}},ne=function(e){return function(t,n,a){void 0===t&&(t=.5),void 0===n&&(n=300),void 0===a&&(a="easeOut"),Q(e,-1,t,n,a)}},ae=function(e){return function(t,n,a,r,i){void 0===r&&(r=300),void 0===i&&(i="easeOut");var o=e.transformState,s=o.positionX,l=o.positionY,c=o.scale,u=e.wrapperComponent,d=e.contentComponent;if(!e.setup.disabled&&u&&d){var p={positionX:Number.isNaN(t)?s:t,positionY:Number.isNaN(n)?l:n,scale:Number.isNaN(a)?c:a};x(e,p,r,i)}}},re=function(e){return function(t,n){void 0===t&&(t=200),void 0===n&&(n="easeOut"),ee(e,t,n)}},ie=function(e){return function(t,n,a){void 0===n&&(n=200),void 0===a&&(a="easeOut");var r=e.transformState,i=e.wrapperComponent,o=e.contentComponent;if(i&&o){var s=de(t||r.scale,i,o);x(e,s,n,a)}}},oe=function(e){return function(t,n,a,r){void 0===a&&(a=600),void 0===r&&(r="easeOut"),k(e);var i=e.wrapperComponent,o="string"==typeof t?document.getElementById(t):t;if(i&&o&&i.contains(o)){var s=function(e,t,n){var a=e.wrapperComponent,r=e.contentComponent,i=e.transformState,o=e.setup,s=o.limitToBounds,l=o.minScale,c=o.maxScale;if(!a||!r)return i;var u,d,p,m,b,h,f,g,_=a.getBoundingClientRect(),y=t.getBoundingClientRect(),M=(u=a,d=r,p=i,m=t.getBoundingClientRect(),b=u.getBoundingClientRect(),h=d.getBoundingClientRect(),f=b.x*p.scale,g=b.y*p.scale,{x:(m.x-h.x+f)/p.scale,y:(m.y-h.y+g)/p.scale}),v=M.x,z=M.y,O=y.width/i.scale,k=y.height/i.scale,A=a.offsetWidth/O,x=a.offsetHeight/k,N=W(n||Math.min(A,x),l,c,0,!1),q=(_.width-O*N)/2,j=(_.height-k*N)/2,L=E((_.left-v)*N+q,(_.top-z)*N+j,w(e,N),s,0,0,a);return{positionX:L.x,positionY:L.y,scale:N}}(e,o,n);x(e,s,a,r)}}},se=function(e){return{instance:e,state:e.transformState,zoomIn:te(e),zoomOut:ne(e),setTransform:ae(e),resetTransform:re(e),centerView:ie(e),zoomToElement:oe(e)}};function le(){try{return{get passive(){return!0,!1}}}catch(e){return!1}}var ce=function(e,t){var n=e.tagName.toUpperCase();return!!t.find((function(e){return e.toUpperCase()===n}))||!!t.find((function(t){return e.classList.contains(t)}))},ue=function(e){e&&clearTimeout(e)},de=function(e,t,n){var a=n.offsetWidth*e,r=n.offsetHeight*e;return{scale:e,positionX:(t.offsetWidth-a)/2,positionY:(t.offsetHeight-r)/2}};function pe(e,t,n){var a=t.getBoundingClientRect(),r=0,i=0;if("clientX"in e)r=(e.clientX-a.left)/n,i=(e.clientY-a.top)/n;else{var o=e.touches[0];r=(o.clientX-a.left)/n,i=(o.clientY-a.top)/n}return(Number.isNaN(r)||Number.isNaN(i))&&console.error("No mouse or touch offset found"),{x:r,y:i}}var me=function(e){return Math.sqrt(Math.pow(e.touches[0].pageX-e.touches[1].pageX,2)+Math.pow(e.touches[0].pageY-e.touches[1].pageY,2))},be=function(e,t){var n=e.props,a=n.onWheel,r=n.onZoom,i=e.contentComponent,o=e.setup,s=e.transformState.scale,l=o.limitToBounds,c=o.centerZoomedOut,u=o.zoomAnimation,d=o.wheel,p=o.disablePadding,m=u.size,b=u.disabled,h=d.step;if(!i)throw new Error("Component not mounted");t.preventDefault(),t.stopPropagation();var f=function(e,t,n,a,r){var i=e.transformState.scale,o=e.wrapperComponent,s=e.setup,l=s.maxScale,c=s.minScale,u=s.zoomAnimation,d=s.disablePadding,p=u.size,m=u.disabled;if(!o)throw new Error("Wrapper is not mounted");var b=i+t*(i-i*n)*n;if(r)return b;var h=!a&&!m;return W(M(b,3),c,l,p,h&&!d)}(e,function(e,t){var n,a,r=function(e){return e?e.deltaY<0?1:-1:0}(e);return a=r,"number"==typeof(n=t)?n:a}(t,null),h,!t.ctrlKey);if(s!==f){var g=q(e,f),_=pe(t,i,s),y=l&&(b||0===m||c||p),z=j(e,_.x,_.y,f,g,y),O=z.x,k=z.y;e.previousWheelEvent=t,e.setTransformState(f,O,k),v(se(e),t,a),v(se(e),t,r)}},he=function(e,t){var n=e.props,a=n.onWheelStop,r=n.onZoomStop;ue(e.wheelAnimationTimer),e.wheelAnimationTimer=setTimeout((function(){e.mounted&&(F(e,t.x,t.y),e.wheelAnimationTimer=null)}),100),function(e,t){var n=e.previousWheelEvent,a=e.transformState.scale,r=e.setup,i=r.maxScale,o=r.minScale;return!!n&&(a<i||a>o||(Math.sign(n.deltaY)!==Math.sign(t.deltaY)||(n.deltaY>0&&n.deltaY<t.deltaY||(n.deltaY<0&&n.deltaY>t.deltaY||Math.sign(n.deltaY)!==Math.sign(t.deltaY)))))}(e,t)&&(ue(e.wheelStopEventTimer),e.wheelStopEventTimer=setTimeout((function(){e.mounted&&(e.wheelStopEventTimer=null,v(se(e),t,a),v(se(e),t,r))}),160))},fe=function(e,t){var n=e.contentComponent,a=e.pinchStartDistance,r=e.transformState.scale,i=e.setup,o=i.limitToBounds,s=i.centerZoomedOut,l=i.zoomAnimation,c=l.disabled,u=l.size;if(null!==a&&n){var d=function(e,t,n){var a=n.getBoundingClientRect(),r=e.touches,i=M(r[0].clientX-a.left,5),o=M(r[0].clientY-a.top,5);return{x:(i+M(r[1].clientX-a.left,5))/2/t,y:(o+M(r[1].clientY-a.top,5))/2/t}}(t,r,n);if(Number.isFinite(d.x)&&Number.isFinite(d.y)){var p=me(t),m=function(e,t){var n=e.pinchStartScale,a=e.pinchStartDistance,r=e.setup,i=r.maxScale,o=r.minScale,s=r.zoomAnimation,l=r.disablePadding,c=s.size,u=s.disabled;if(!n||null===a||!t)throw new Error("Pinch touches distance was not provided");return t<0?e.transformState.scale:W(M(t/a*n,2),o,i,c,!u&&!l)}(e,p);if(m!==r){var b=q(e,m),h=o&&(c||0===u||s),f=j(e,d.x,d.y,m,b,h),g=f.x,_=f.y;e.pinchMidpoint=d,e.lastDistance=p,e.setTransformState(m,g,_)}}}},ge=function(e,t){var n=e.props.onZoomStop,a=e.setup.doubleClick.animationTime;ue(e.doubleClickStopEventTimer),e.doubleClickStopEventTimer=setTimeout((function(){e.doubleClickStopEventTimer=null,v(se(e),t,n)}),a)};function _e(e,t){var n=e.setup,a=e.doubleClickStopEventTimer,r=e.transformState,i=e.contentComponent,o=r.scale,s=e.props,l=s.onZoomStart,c=s.onZoom,u=n.doubleClick,d=u.disabled,p=u.mode,m=u.step,b=u.animationTime,h=u.animationType;if(!d&&!a){if("reset"===p)return function(e,t){var n=e.props,a=n.onZoomStart,r=n.onZoom,i=e.setup.doubleClick,o=i.animationTime,s=i.animationType;v(se(e),t,a),ee(e,o,s,(function(){return v(se(e),t,r)})),ge(e,t)}(e,t);if(!i)return console.error("No ContentComponent found");var f=Z(e,"zoomOut"===p?-1:1,m);if(o!==f){v(se(e),t,l);var g=pe(t,i,o),_=$(e,f,g.x,g.y);if(!_)return console.error("Error during zoom event. New transformation state was not calculated.");v(se(e),t,c),x(e,_,b,h),ge(e,t)}}}var ye=function(e){var t=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.startCoords=null,this.lastTouch=null,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.animate=!1,this.animation=null,this.maxBounds=null,this.pressedKeys={},this.mount=function(){t.initializeWindowEvents()},this.unmount=function(){t.cleanupWindowEvents()},this.update=function(e){q(t,t.transformState.scale),t.setup=J(e)},this.initializeWindowEvents=function(){var e,n=le(),a=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,r=null==a?void 0:a.defaultView;null==r||r.addEventListener("mousedown",t.onPanningStart,n),null==r||r.addEventListener("mousemove",t.onPanning,n),null==r||r.addEventListener("mouseup",t.onPanningStop,n),null==a||a.addEventListener("mouseleave",t.clearPanning,n),null==r||r.addEventListener("keyup",t.setKeyUnPressed,n),null==r||r.addEventListener("keydown",t.setKeyPressed,n)},this.cleanupWindowEvents=function(){var e,n,a=le(),r=null===(e=t.wrapperComponent)||void 0===e?void 0:e.ownerDocument,i=null==r?void 0:r.defaultView;null==i||i.removeEventListener("mousedown",t.onPanningStart,a),null==i||i.removeEventListener("mousemove",t.onPanning,a),null==i||i.removeEventListener("mouseup",t.onPanningStop,a),null==r||r.removeEventListener("mouseleave",t.clearPanning,a),null==i||i.removeEventListener("keyup",t.setKeyUnPressed,a),null==i||i.removeEventListener("keydown",t.setKeyPressed,a),document.removeEventListener("mouseleave",t.clearPanning,a),k(t),null===(n=t.observer)||void 0===n||n.disconnect()},this.handleInitializeWrapperEvents=function(e){var n=le();e.addEventListener("wheel",t.onWheelZoom,n),e.addEventListener("dblclick",t.onDoubleClick,n),e.addEventListener("touchstart",t.onTouchPanningStart,n),e.addEventListener("touchmove",t.onTouchPanning,n),e.addEventListener("touchend",t.onTouchPanningStop,n)},this.handleInitialize=function(e){var n=t.setup.centerOnInit;t.applyTransformation(),n&&(t.setCenter(),t.observer=new ResizeObserver((function(){var e;t.setCenter(),null===(e=t.observer)||void 0===e||e.disconnect()})),t.observer.observe(e))},this.onWheelZoom=function(e){t.setup.disabled||function(e,t){var n=e.setup.wheel,a=n.disabled,r=n.wheelDisabled,i=n.touchPadDisabled,o=n.excluded,s=e.isInitialized,l=e.isPanning,c=t.target;return!(!s||l||a||!c||r&&!t.ctrlKey||i&&t.ctrlKey||ce(c,o))}(t,e)&&t.isPressingKeys(t.setup.wheel.activationKeys)&&(function(e,t){var n=e.props,a=n.onWheelStart,r=n.onZoomStart;e.wheelStopEventTimer||(k(e),v(se(e),t,a),v(se(e),t,r))}(t,e),be(t,e),he(t,e))},this.onPanningStart=function(e){var n=t.setup.disabled,a=t.props.onPanningStart;n||L(t,e)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),k(t),D(t,e),v(se(t),e,a))},this.onPanning=function(e){var n=t.setup.disabled,a=t.props.onPanning;n||S(t)&&t.isPressingKeys(t.setup.panning.activationKeys)&&(e.preventDefault(),e.stopPropagation(),B(t,e.clientX,e.clientY),v(se(t),e,a))},this.onPanningStop=function(e){var n=t.props.onPanningStop;t.isPanning&&(I(t),v(se(t),e,n))},this.onPinchStart=function(e){var n=t.setup.disabled,a=t.props,r=a.onPinchingStart,i=a.onZoomStart;n||function(e,t){var n=e.setup.pinch,a=n.disabled,r=n.excluded,i=e.isInitialized,o=t.target;return!(!i||a||!o||ce(o,r))}(t,e)&&(function(e,t){var n=me(t);e.pinchStartDistance=n,e.lastDistance=n,e.pinchStartScale=e.transformState.scale,e.isPanning=!1,k(e)}(t,e),k(t),v(se(t),e,r),v(se(t),e,i))},this.onPinch=function(e){var n=t.setup.disabled,a=t.props,r=a.onPinching,i=a.onZoom;n||function(e){var t=e.setup.pinch.disabled,n=e.isInitialized,a=e.pinchStartDistance;return!(!n||t||!a)}(t)&&(e.preventDefault(),e.stopPropagation(),fe(t,e),v(se(t),e,r),v(se(t),e,i))},this.onPinchStop=function(e){var n,a,r=t.props,i=r.onPinchingStop,o=r.onZoomStop;t.pinchStartScale&&(a=(n=t).pinchMidpoint,n.velocity=null,n.lastDistance=null,n.pinchMidpoint=null,n.pinchStartScale=null,n.pinchStartDistance=null,F(n,null==a?void 0:a.x,null==a?void 0:a.y),v(se(t),e,i),v(se(t),e,o))},this.onTouchPanningStart=function(e){var n=t.setup.disabled,a=t.props.onPanningStart;if(!n&&L(t,e))if(t.lastTouch&&+new Date-t.lastTouch<200&&1===e.touches.length)t.onDoubleClick(e);else{t.lastTouch=+new Date,k(t);var r=e.touches,i=1===r.length,o=2===r.length;i&&(k(t),D(t,e),v(se(t),e,a)),o&&t.onPinchStart(e)}},this.onTouchPanning=function(e){var n=t.setup.disabled,a=t.props.onPanning;if(t.isPanning&&1===e.touches.length){if(n)return;if(!S(t))return;e.preventDefault(),e.stopPropagation();var r=e.touches[0];B(t,r.clientX,r.clientY),v(se(t),e,a)}else e.touches.length>1&&t.onPinch(e)},this.onTouchPanningStop=function(e){t.onPanningStop(e),t.onPinchStop(e)},this.onDoubleClick=function(e){t.setup.disabled||function(e,t){var n=e.isInitialized,a=e.setup,r=e.wrapperComponent,i=a.doubleClick,o=i.disabled,s=i.excluded,l=t.target,c=null==r?void 0:r.contains(l);return!(!(n&&l&&c)||o||ce(l,s))}(t,e)&&_e(t,e)},this.clearPanning=function(e){t.isPanning&&t.onPanningStop(e)},this.setKeyPressed=function(e){t.pressedKeys[e.key]=!0},this.setKeyUnPressed=function(e){t.pressedKeys[e.key]=!1},this.isPressingKeys=function(e){return!e.length||Boolean(e.find((function(e){return t.pressedKeys[e]})))},this.setTransformState=function(e,n,a){var r=t.props.onTransformed;if(Number.isNaN(e)||Number.isNaN(n)||Number.isNaN(a))console.error("Detected NaN set state values");else{e!==t.transformState.scale&&(t.transformState.previousScale=t.transformState.scale,t.transformState.scale=e),t.transformState.positionX=n,t.transformState.positionY=a;var i=se(t);t.onChangeCallbacks.forEach((function(e){return e(i)})),v(i,{scale:e,positionX:n,positionY:a},r),t.applyTransformation()}},this.setCenter=function(){if(t.wrapperComponent&&t.contentComponent){var e=de(t.transformState.scale,t.wrapperComponent,t.contentComponent);t.setTransformState(e.scale,e.positionX,e.positionY)}},this.handleTransformStyles=function(e,n,a){return t.props.customTransform?t.props.customTransform(e,n,a):function(e,t,n){return"translate(".concat(e,"px, ").concat(t,"px) scale(").concat(n,")")}(e,n,a)},this.applyTransformation=function(){if(t.mounted&&t.contentComponent){var e=t.transformState,n=e.scale,a=e.positionX,r=e.positionY,i=t.handleTransformStyles(a,r,n);t.contentComponent.style.transform=i}},this.getContext=function(){return se(t)},this.onChange=function(e){return t.onChangeCallbacks.has(e)||t.onChangeCallbacks.add(e),function(){t.onChangeCallbacks.delete(e)}},this.init=function(e,n){t.cleanupWindowEvents(),t.wrapperComponent=e,t.contentComponent=n,q(t,t.transformState.scale),t.handleInitializeWrapperEvents(e),t.handleInitialize(n),t.initializeWindowEvents(),t.isInitialized=!0,v(se(t),void 0,t.props.onInit)},this.props=e,this.setup=J(this.props),this.transformState=K(this.props)},Me=r.a.createContext(null),ve=r.a.forwardRef((function(e,t){var n=Object(a.useState)(0)[1],i=e.children,o=Object(a.useRef)(new ye(e)).current,s=function(e,t){return"function"==typeof e?e(t):e}(e.children,se(o)),l=Object(a.useCallback)((function(){"function"==typeof i&&n((function(e){return e+1}))}),[i]);return Object(a.useImperativeHandle)(t,(function(){return se(o)}),[o]),Object(a.useEffect)((function(){o.update(e)}),[o,e]),Object(a.useEffect)((function(){return o.onChange(l)}),[o,e,l]),r.a.createElement(Me.Provider,{value:o},s)}));var ze="transform-component-module_wrapper__7HFJe",Oe="transform-component-module_content__uCDPE";!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".transform-component-module_wrapper__7HFJe {\n position: relative;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n overflow: hidden;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n margin: 0;\n padding: 0;\n}\n.transform-component-module_content__uCDPE {\n display: flex;\n flex-wrap: wrap;\n width: -moz-fit-content;\n width: fit-content;\n height: -moz-fit-content;\n height: fit-content;\n margin: 0;\n padding: 0;\n transform-origin: 0% 0%;\n}\n.transform-component-module_content__uCDPE img {\n pointer-events: none;\n}\n");var ke=function(e){var t=e.children,n=e.wrapperClass,i=void 0===n?"":n,o=e.contentClass,s=void 0===o?"":o,l=e.wrapperStyle,c=e.contentStyle,u=e.wrapperProps,d=void 0===u?{}:u,p=e.contentProps,m=void 0===p?{}:p,b=Object(a.useContext)(Me).init,h=Object(a.useRef)(null),f=Object(a.useRef)(null);return Object(a.useEffect)((function(){var e=h.current,t=f.current;null!==e&&null!==t&&b&&b(e,t)}),[]),r.a.createElement("div",X({},d,{ref:h,className:"react-transform-wrapper ".concat(ze," ").concat(i),style:l}),r.a.createElement("div",X({},m,{ref:f,className:"react-transform-component ".concat(Oe," ").concat(s),style:c}),t))},Ae=(r.a.forwardRef((function(e,t){var n,i=Object(a.useRef)(null),o=Object(a.useContext)(Me);return Object(a.useEffect)((function(){return o.onChange((function(e){if(i.current){i.current.style.transform=o.handleTransformStyles(0,0,1/e.state.scale)}}))}),[o]),r.a.createElement("div",X({},e,{ref:(n=[i,t],function(e){n.forEach((function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)}))})}))})),n(42));function xe(e){var t=e.alt,n=e.onClick,a=void 0===n?y.noop:n,i=e.onZoom,o=void 0===i?y.noop:i,s=e.url,l=e.zooming,c=void 0!==l&&l;return r.a.createElement(ve,{doubleClick:{mode:"reset"},initialScale:1,onPinchingStop:function(e){var t=e.state.scale>1;o(t)},panning:{disabled:!c}},r.a.createElement("button",{className:"Slide",onClick:a,onDoubleClick:function(){return o(!1)},tabIndex:-1},r.a.createElement(ke,{wrapperClass:"TransformComponent"},r.a.createElement(Ae.a,{alt:t,url:s,zIndex:3}))))}function we(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ne(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function qe(e){var t=e.urls,n=void 0===t?[]:t,i=e.current,o=void 0===i?0:i,s=e.onChange,l=void 0===s?y.noop:s,c=e.setIndex,u=we(Object(a.useState)(!1),2),d=u[0],m=u[1],b=we(Object(a.useState)(null),2),h=b[0],f=b[1],g=we(Object(a.useState)(null),2),_=g[0],M=g[1];return r.a.createElement("div",{className:"Slides",onTouchStart:function(e){M(null),f(e.targetTouches[0].clientX)},onTouchMove:function(e){return M(e.targetTouches[0].clientX)},onTouchEnd:function(){if(h&&_){var e=h-_,t=e<-40;e>40?c(o<n.length-1?o+1:n.length-1):t&&c(o>0?o-1:0)}}},n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-left",dark:!0,icon:"chevron-left",onClick:function(){return c(o>0?o-1:0)},variant:"link"}),r.a.createElement(xe,{onClick:function(){return l(o)},onZoom:function(e){return m(e)},url:n[o],zooming:d}),n.length>1&&r.a.createElement(p.a,{className:"carousel-arrow-right",dark:!0,icon:"chevron-right",onClick:function(){return c(o<n.length-1?o+1:n.length-1)},variant:"link"}))}function Ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return je(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function We(e){var t=e.active,n=void 0!==t&&t,a=e.alt,i=e.width,o=e.url,s=e.onClick,c=void 0===s?function(){}:s,u=e.buttonRef,d=l()("Thumbnail",{active:n});return r.a.createElement("button",{className:l()(d),onClick:c,ref:u,style:{width:i},type:"button"},r.a.createElement(Ae.a,{alt:a,size:"sm",url:o}))}function Le(e){var t,n,i,o=e.current,s=void 0===o?0:o,c=e.onChange,u=void 0===c?y.noop:c,d=e.urls,p=void 0===d?[]:d,m=(t=Ee(Object(a.useState)({width:window.innerWidth,height:window.innerHeight}),2),n=t[0],i=t[1],Object(a.useEffect)((function(){var e=function(){i({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n),b=m.width/8*p.length<.9*m.width,h=l()("Thumbnails",{centered:b}),f={},g=r.a.createRef();return Object(a.useLayoutEffect)((function(){var e,t,n;if(!b){var a=f.buttonRef.current.clientWidth,r=a*s,i=g.current.querySelector(".Thumbnail:first-child"),o=g.current.querySelector(".Thumbnail:last-child");i.style.marginLeft="".concat((null===(e=g.current)||void 0===e?void 0:e.clientWidth)/2-a/2,"px"),o.style.marginRight="".concat((null===(t=g.current)||void 0===t?void 0:t.clientWidth)/2-a/2,"px"),null===(n=g.current)||void 0===n||n.scrollTo(r,0)}})),r.a.createElement("div",{className:h,ref:g},p.map((function(e,t){var n=t===s;return n&&(f.buttonRef=r.a.createRef()),r.a.createElement(We,Object.assign({active:n,alt:t.toString(),key:t,onClick:function(){return u(t)},url:e},f))})))}function Se(e){var t=e.currentIndex,n=e.photos,i=e.onClick,o=void 0===i?function(){}:i,s=e.onChange,l=void 0===s?function(){}:s,c=e.setIndex;Object(a.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="initial"}}),[]);var u=function(e){l(e)};return r.a.createElement("div",{className:"Lightbox"},r.a.createElement(qe,{setIndex:c,current:t,onChange:u,onClick:o,urls:n.map((function(e){return e.url}))}),n.length>1?r.a.createElement(Le,{current:t,onChange:u,urls:n.map((function(e){return e.thumbnail}))}):null)}function Te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ce(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Re=function e(t){var n=t.aria,o=void 0===n?{}:n,s=t.children,p=t.className,m=t.currentPhotoIndex,b=t.data,h=void 0===b?{}:b,f=t.description,g=t.id,_=void 0===g?"":g,y=t.initialPhoto,M=void 0===y?0:y,v=t.photos,z=t.onChange,O=void 0===z?function(){}:z,k=t.onClose,A=t.onClickRight,x=t.icon,w=void 0===x?"times":x,N=t.navRight,q=t.title,E=Te(Object(a.useState)(M),2),j=E[0],W=E[1];Object(a.useEffect)((function(){O(j)}),[j]),Object(a.useEffect)((function(){null!=m&&W(m)}),[m]);var L=Object(c.a)(o),S=Object(c.c)(h),T=l()(Object(c.b)("pb_lightbox_kit"),Object(u.c)(t),p),C=Object(a.useMemo)((function(){return v.map((function(e){return{url:e,thumbnail:e}}))}),[v]),R={onClose:k,onArrowLeft:function(){W(j>0?j-1:0)},onArrowRight:function(){var e=j<v.length-1?j+1:v.length-1;W(e)}};!function(e){var t=i(Object(a.useState)(""),2),n=t[0],r=t[1];Object(a.useEffect)((function(){var t=function(t){var n=t.key.toLowerCase();switch(r(n),n){case"escape":e.onClose();break;case"arrowleft":e.onArrowLeft();break;case"arrowright":e.onArrowRight()}};return window.addEventListener("keydown",t),function(){window.removeEventListener("keydown",t)}}),[e])}(R);var D=Object(a.useRef)();return r.a.createElement(a.Fragment,null,r.a.createElement(d.Provider,{value:R},r.a.createElement("div",Object.assign({},L,S,{className:T,id:_,ref:D}),r.a.createElement("div",{className:"carousel"},r.a.createElement(e.Header,{icon:w,onClose:k,onClickRight:A,text:f,navRight:N,title:q}),s,r.a.createElement(Se,{setIndex:W,currentIndex:j,onChange:function(e){W(e)},photos:C})))))};Re.Header=_;t.a=Re},function(e,t,n){"use strict";function a(e){return function(t){return typeof t===e}}n.d(t,"a",(function(){return M}));var r=a("function"),i=function(e){return"RegExp"===Object.prototype.toString.call(e).slice(8,-1)},o=function(e){return!s(e)&&!function(e){return null===e}(e)&&(r(e)||"object"==typeof e)},s=a("undefined"),l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function c(e,t){if(e===t)return!0;if(e&&o(e)&&t&&o(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return function(e,t){var n=e.length;if(n!==t.length)return!1;for(var a=n;0!=a--;)if(!c(e[a],t[a]))return!1;return!0}(e,t);if(e instanceof Map&&t instanceof Map)return function(e,t){var n,a,r,i;if(e.size!==t.size)return!1;try{for(var o=l(e.entries()),s=o.next();!s.done;s=o.next()){var u=s.value;if(!t.has(u[0]))return!1}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}try{for(var d=l(e.entries()),p=d.next();!p.done;p=d.next()){if(!c((u=p.value)[1],t.get(u[0])))return!1}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}return!0}(e,t);if(e instanceof Set&&t instanceof Set)return function(e,t){var n,a;if(e.size!==t.size)return!1;try{for(var r=l(e.entries()),i=r.next();!i.done;i=r.next()){var o=i.value;if(!t.has(o[0]))return!1}}catch(e){n={error:e}}finally{try{i&&!i.done&&(a=r.return)&&a.call(r)}finally{if(n)throw n.error}}return!0}(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),a=new DataView(t.buffer),r=e.byteLength;r--;)if(n.getUint8(r)!==a.getUint8(r))return!1;return!0}(e,t);if(i(e)&&i(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=n.length;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,n[r]))return!1;for(r=n.length;0!=r--;){var s=n[r];if(("_owner"!==s||!e.$$typeof)&&!c(e[s],t[s]))return!1}return!0}return!(!Number.isNaN(e)||!Number.isNaN(t))||e===t}var u=n(19);function d(e,t,n){var a=n.actual,r=n.key,i=n.previous,o=n.type,s=y(e,r),l=y(t,r),c=[s,l].every(u.a.number)&&("increased"===o?s<l:s>l);return u.a.undefined(a)||(c=c&&l===a),u.a.undefined(i)||(c=c&&s===i),c}function p(e,t,n){var a=n.key,r=n.type,i=n.value,o=y(e,a),s=y(t,a),l="added"===r?o:s,d="added"===r?s:o;return u.a.nullOrUndefined(i)?[o,s].every(u.a.array)?!d.every(g(l)):[o,s].every(u.a.plainObject)?function(e,t){return t.some((function(t){return!e.includes(t)}))}(Object.keys(l),Object.keys(d)):![o,s].every((function(e){return u.a.primitive(e)&&u.a.defined(e)}))&&("added"===r?!u.a.defined(o)&&u.a.defined(s):u.a.defined(o)&&!u.a.defined(s)):u.a.defined(l)?!(!u.a.array(l)&&!u.a.plainObject(l))&&function(e,t,n){return!!_(e,t)&&([e,t].every(u.a.array)?!e.some(h(n))&&t.some(h(n)):[e,t].every(u.a.plainObject)?!Object.entries(e).some(b(n))&&Object.entries(t).some(b(n)):t===n)}(l,d,i):c(d,i)}function m(e,t,n){var a=(void 0===n?{}:n).key,r=y(e,a),i=y(t,a);if(!_(r,i))throw new TypeError("Inputs have different types");if(!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return u.a.string(e)||u.a.array(e)||u.a.plainObject(e)}))}(r,i))throw new TypeError("Inputs don't have length");return[r,i].every(u.a.plainObject)&&(r=Object.keys(r),i=Object.keys(i)),[r,i]}function b(e){return function(t){var n=t[0],a=t[1];return u.a.array(e)?c(e,a)||e.some((function(e){return c(e,a)||u.a.array(a)&&g(a)(e)})):u.a.plainObject(e)&&e[n]?!!e[n]&&c(e[n],a):c(e,a)}}function h(e){return function(t){return u.a.array(e)?e.some((function(e){return c(e,t)||u.a.array(t)&&g(t)(e)})):c(e,t)}}function f(e,t){return u.a.array(e)?e.some((function(e){return c(e,t)})):c(e,t)}function g(e){return function(t){return e.some((function(e){return c(e,t)}))}}function _(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(u.a.array)||e.every(u.a.number)||e.every(u.a.plainObject)||e.every(u.a.string)}function y(e,t){return u.a.plainObject(e)||u.a.array(e)?u.a.string(t)?t.split(".").reduce((function(e,t){return e&&e[t]}),e):u.a.number(t)?e[t]:e:e}function M(e,t){if([e,t].some(u.a.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every((function(e){return u.a.plainObject(e)||u.a.array(e)})))throw new Error("Expected plain objects or array");var n=function(n,a,r){try{var i=y(e,n),o=y(t,n),s=u.a.defined(a),l=u.a.defined(r);if(s||l){var d=l?f(r,i):!f(a,i),p=f(a,o);return d&&p}return[i,o].every(u.a.array)||[i,o].every(u.a.plainObject)?!c(i,o):i!==o}catch(e){return!1}};return{added:function(n,a){try{return p(e,t,{key:n,type:"added",value:a})}catch(e){return!1}},changed:n,changedFrom:function(n,a,r){if(!u.a.defined(n))return!1;try{var i=y(e,n),o=y(t,n),s=u.a.defined(r);return f(a,i)&&(s?f(r,o):!s)}catch(e){return!1}},changedTo:function(e,t){return!!u.a.defined(e)&&n(e,t)},decreased:function(n,a,r){if(!u.a.defined(n))return!1;try{return d(e,t,{key:n,actual:a,previous:r,type:"decreased"})}catch(e){return!1}},emptied:function(n){try{var a=m(e,t,{key:n}),r=a[0],i=a[1];return!!r.length&&!i.length}catch(e){return!1}},filled:function(n){try{var a=m(e,t,{key:n}),r=a[0],i=a[1];return!r.length&&!!i.length}catch(e){return!1}},increased:function(n,a,r){if(!u.a.defined(n))return!1;try{return d(e,t,{key:n,actual:a,previous:r,type:"increased"})}catch(e){return!1}},removed:function(n,a){try{return p(e,t,{key:n,type:"removed",value:a})}catch(e){return!1}}}}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(2),c=n(82),u=n(8),d=n(75),p=n(48),m=n(22);function b(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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 i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function f(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=function(e,t){var n=[];return function e(t,a){var r,i=h(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.id.toLowerCase()===a.toLowerCase())return void n.push(o);o.children&&o.children.length>0&&e(o.children,a)}}catch(e){i.e(e)}finally{i.f()}}(e,t),n},y=function e(t){var n=[];if(Array.isArray(t))return t.forEach((function(t){if(t.checked&&n.push(t),t.children&&t.children.length>0){var a=e(t.children);n.push.apply(n,b(a))}})),n},M=function(e){var t=[];return function e(n){Array.isArray(n)&&n.forEach((function(a){if(a.checked)if(a.children&&a.children.length>0){if(0===a.children.filter((function(e){return!e.checked})).length)return void t.push(a)}else{var r=n.find((function(e){return e.id===a.parentId}));r&&r.checked||t.push(a)}a.children&&a.children.length>0&&e(a.children)}))}(e),t};function v(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||O(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(s.push(a.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||O(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}t.a=function(e){var t=e.aria,n=void 0===t?{}:t,i=e.className,b=e.data,f=void 0===b?{}:b,g=e.id,O=e.name,k=e.returnAllSelected,A=void 0!==k&&k,x=e.returnCompleteData,w=void 0!==x&&x,N=e.treeData,q=e.onSelect,E=void 0===q?function(){}:q,j=Object(l.a)(n),W=Object(l.c)(f),L=o()(Object(l.b)("pb_multi_level_select"),Object(s.c)(e),i),S=Object(a.useRef)(null),T=z(Object(a.useState)([]),2),C=T[0],R=T[1],D=z(Object(a.useState)(!0),2),P=D[0],B=D[1],I=z(Object(a.useState)(""),2),$=I[0],F=I[1],X=z(Object(a.useState)([]),2),Y=X[0],H=X[1],U=z(Object(a.useState)([]),2),V=U[0],G=U[1],K=z(Object(a.useState)([]),2),J=K[0],Z=K[1],Q=z(Object(a.useState)([]),2),ee=Q[0],te=Q[1],ne=function(e){return e.map((function(e){return e.id}))};Object(a.useEffect)((function(){!function(){if(w)return te(A?Y:J);te(ne(A?Y:J))}()}),[Y,J]),Object(a.useEffect)((function(){E(ee)}),[ee]),Object(a.useEffect)((function(){G(le(N))}),[N]),Object(a.useEffect)((function(){A?H(y(V)):Z(M(V))}),[V]),Object(a.useEffect)((function(){var e=function(e){S.current&&!S.current.contains(e.target)&&B(!0)};return window.addEventListener("click",e),function(){window.removeEventListener("click",e)}}),[]);var ae=function e(t,n){if(Array.isArray(t))return t.map((function(t){return t.checked=n,t.children=e(t.children,n),t}))},re=function e(t,n,a){if(Array.isArray(n))return n.map((function(n){return n.id!=t?n.children=e(t,n.children,a):(n.checked=a,n.children=ae(n.children,a)),n}))},ie=function(e){var t=Object(m.cloneDeep)(V);return A?re(e.id,t,!0):function e(t,n){if(null!==t.parent_id){var a=_(n,t.parent_id);if(a[0].children.every((function(e){return e.checked})))a[0].checked=!0,null!==a[0].parent_id&&e(a[0],n)}return n}(e,re(e.id,t,!0))},oe=function(e){var t=Object(m.cloneDeep)(V);return A?re(e.id,t,!1):function e(t,n){if(n.parent_id){var a=_(t,n.parent_id);a[0].checked=!1,a[0].parent_id&&e(t,a[0])}return t}(re(e.id,t,!1),e)},se=function(e,t){var n=t?ie(e):oe(e);return G(n),n},le=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(t))return t.map((function(t){var r=Object.assign(Object.assign({},t),{parent_id:n,depth:a});if(r.children&&r.children.length>0){var i=t.checked&&!A?ae(t.children,!0):t.children;r.children=e(i,r.id,a+1)}return r}))},ce=function(e,t){e.stopPropagation();var n=se(t,!1);E(A?y(n):M(n))},ue=function(e){return C.indexOf(e.id)>-1};return r.a.createElement("div",Object.assign({},j,W,{className:L,id:g}),r.a.createElement("div",{ref:S,className:"wrapper"},r.a.createElement("div",{className:"input_wrapper",onClick:function(e){e.stopPropagation(),"multiselect_input"===e.target.id||e.target.classList.contains("pb_form_pill_tag")||B(!P)}},r.a.createElement("div",{className:"input_inner_container"},Y.map((function(e){return r.a.createElement("input",{type:"hidden",name:"".concat(O,"[]"),value:e.id})})),0!==Y.length&&A?Y.map((function(e,t){return r.a.createElement(d.a,{key:t,text:e.label,size:"small",onClick:function(t){return ce(t,e)}})})):null,!A&&0!==J.length&&J.map((function(e,t){return r.a.createElement(d.a,{key:t,text:e.label,size:"small",onClick:function(t){return ce(t,e)}})})),0!==Y.length&&A&&r.a.createElement("br",null),0!==J.length&&!A&&r.a.createElement("br",null),r.a.createElement("input",{id:"multiselect_input",onChange:function(e){F(e.target.value)},placeholder:"Start typing...",value:$,onClick:function(){return B(!1)}})),P?r.a.createElement("div",{key:"chevron-down"},r.a.createElement(u.a,{icon:"chevron-down"})):r.a.createElement("div",{key:"chevron-up"},r.a.createElement(u.a,{icon:"chevron-up"}))),r.a.createElement("div",{className:"dropdown_menu ".concat(P?"close":"open")},function e(t){return r.a.createElement("ul",null,Array.isArray(t)&&t.map((function(t){return r.a.createElement(r.a.Fragment,null,r.a.createElement("li",{key:t.id,className:"dropdown_item","data-name":t.id},r.a.createElement("div",{className:"dropdown_item_checkbox_row"},r.a.createElement("div",{key:ue(t)?"chevron-down":"chevron-right"},r.a.createElement(p.a,{icon:ue(t)?"chevron-down":"chevron-right",className:t.children&&t.children.length>0?"":"toggle_icon",onClick:function(e){return function(e,t){t.stopPropagation();var n=_(V,e);if(n){var a=v(C);ue(n[0])?a=a.filter((function(e){return e!=n[0].id})):a.push(n[0].id),R(a)}}(t.id,e)},variant:"link"})),r.a.createElement(c.a,{text:t.label,id:t.id},r.a.createElement("input",{checked:t.checked,type:"checkbox",name:t.label,value:t.label,onChange:function(e){!function(e,t){var n=e.target.parentNode.id;F("");var a=_(V,n),r=se(a[0],t);E(A?y(r):M(r))}(e,!t.checked)}}))),ue(t)&&t.children&&t.children.length>0&&!$&&r.a.createElement("div",null,e(t.children))))})))}($?function(e,t){var n=[];return function e(t,a){var r,i=h(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.label.toLowerCase().includes(a.toLowerCase())&&n.push(o),o.children&&e(o.children,a)}}catch(e){i.e(e)}finally{i.f()}}(e,t),n}(V,$):V))))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(5),l=n(15);t.a=function(e){var t=e.className,n=e.id,a=e.unit,i=e.value,c=void 0===i?0:i;return r.a.createElement("div",{className:o()("pb_stat_value_kit",Object(s.c)(e),t),id:n},r.a.createElement("div",{className:"pb_stat_value_wrapper"},function(e){if(e||0===e)return r.a.createElement(l.a,{size:1,tag:"span",text:"".concat(e)})}(c)," ",function(e){if(e)return r.a.createElement(l.a,{size:3,tag:"span",text:e})}(a)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(54),l=n(5),c=n(13),u=n(181),d=n(15),p=n(2);t.a=function(e){var t=e.address,n=e.addressCont,a=e.aria,i=void 0===a?{}:a,m=e.city,b=e.className,h=e.data,f=void 0===h?{}:h,g=e.dark,_=void 0!==g&&g,y=e.emphasis,M=void 0===y?"street":y,v=e.homeId,z=e.homeUrl,O=e.newWindow,k=e.houseStyle,A=e.state,x=e.zipcode,w=e.territory,N=Object(p.c)(f),q=Object(p.a)(i);return r.a.createElement("div",Object.assign({className:function(t,n){return o()({pb_home_address_street:!n,pb_home_address_street_dark:n},Object(l.c)(e),t)}(b,_)},q,N),"street"==M&&r.a.createElement("div",null,r.a.createElement(d.a,{className:"pb_home_address_street_address",dark:_,size:4},Object(s.b)([Object(s.c)(t),k]," · ")),r.a.createElement(d.a,{className:"pb_home_address_street_address",dark:_,size:4},Object(s.c)(n)),r.a.createElement(c.a,{color:"light"},"".concat(Object(s.c)(m),", ").concat(A," ").concat(x))),"city"==M&&r.a.createElement("div",null,r.a.createElement(c.a,{color:"light"},Object(s.b)([Object(s.c)(t),k]," · ")),r.a.createElement(c.a,{color:"light"},Object(s.c)(n)),r.a.createElement("div",null,r.a.createElement(d.a,{className:"pb_home_address_street_address",dark:_,size:4,tag:"span"},"".concat(Object(s.c)(m),", ").concat(A)),r.a.createElement(c.a,{color:"light",tag:"span"}," ".concat(x)))),v&&r.a.createElement(u.a,{classname:"home-hashtag",dark:_,marginRight:"xxs",newWindow:O,text:v,type:"home",url:z||"#"}),r.a.createElement(c.a,{color:"light",tag:"span"},r.a.createElement("small",null,w)))}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(17),u=n(165),d=n(163);t.a=function(e){var t=e.aria,n=void 0===t?{}:t,a=e.className,i=e.contacts,p=void 0===i?[]:i,m=e.data,b=void 0===m?{}:m,h=e.firstName,f=e.id,g=e.lastName,_=Object(s.a)(n),y=Object(s.c)(b),M=o()(Object(s.b)("pb_person_contact_kit"),Object(l.c)(e),a);return r.a.createElement("div",Object.assign({},_,y,{className:M,id:f}),r.a.createElement(d.a,{firstName:h,lastName:g}),p.filter((function(e){return"wrong-phone"!==e.contactType})).map((function(e,t){return r.a.createElement(u.a,{contactDetail:e.contactDetail,contactType:e.contactType,contactValue:e.contactValue,key:"valid-contact-".concat(t)})})),p.filter((function(e){return"wrong-phone"===e.contactType})).map((function(e,t){return r.a.createElement("div",{key:"wrong-contact-caption-wrapper-".concat(t)},r.a.createElement(c.a,{className:"wrong_numbers",key:"wrong-contact-caption-".concat(t),text:"wrong number"}),r.a.createElement(u.a,{contactType:e.contactType,contactValue:e.contactValue,key:"wrong-contact-".concat(t)}))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),r=n.n(a).a.createContext(null)},function(e,t,n){"use strict";var a=n(39),r={passive:!0};t.a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,s=void 0===o||o,l=i.resize,c=void 0===l||l,u=Object(a.a)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach((function(e){e.addEventListener("scroll",n.update,r)})),c&&u.addEventListener("resize",n.update,r),function(){s&&d.forEach((function(e){e.removeEventListener("scroll",n.update,r)})),c&&u.removeEventListener("resize",n.update,r)}},data:{}}},function(e,t,n){"use strict";var a=n(135);t.a={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Object(a.a)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(43),r=n(72),i=n(100),o=n(12);function s(e){var t,n=e.reference,s=e.element,l=e.placement,c=l?Object(a.a)(l):null,u=l?Object(r.a)(l):null,d=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2;switch(c){case o.m:t={x:d,y:n.y-s.height};break;case o.c:t={x:d,y:n.y+n.height};break;case o.k:t={x:n.x+n.width,y:p};break;case o.f:t={x:n.x-s.width,y:p};break;default:t={x:n.x,y:n.y}}var m=c?Object(i.a)(c):null;if(null!=m){var b="y"===m?"height":"width";switch(u){case o.l:t[m]=t[m]-(n[b]/2-s[b]/2);break;case o.e:t[m]=t[m]+(n[b]/2-s[b]/2)}}return t}},function(e,t,n){"use strict";var a=n(12),r=n(79),i=n(39),o=n(51),s=n(57),l=n(43),c=n(72),u=n(32),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,n=e.popper,l=e.popperRect,c=e.placement,p=e.variation,m=e.offsets,b=e.position,h=e.gpuAcceleration,f=e.adaptive,g=e.roundOffsets,_=e.isFixed,y=m.x,M=void 0===y?0:y,v=m.y,z=void 0===v?0:v,O="function"==typeof g?g({x:M,y:z}):{x:M,y:z};M=O.x,z=O.y;var k=m.hasOwnProperty("x"),A=m.hasOwnProperty("y"),x=a.f,w=a.m,N=window;if(f){var q=Object(r.a)(n),E="clientHeight",j="clientWidth";if(q===Object(i.a)(n)&&(q=Object(o.a)(n),"static"!==Object(s.a)(q).position&&"absolute"===b&&(E="scrollHeight",j="scrollWidth")),q=q,c===a.m||(c===a.f||c===a.k)&&p===a.e)w=a.c,z-=(_&&q===N&&N.visualViewport?N.visualViewport.height:q[E])-l.height,z*=h?1:-1;if(c===a.f||(c===a.m||c===a.c)&&p===a.e)x=a.k,M-=(_&&q===N&&N.visualViewport?N.visualViewport.width:q[j])-l.width,M*=h?1:-1}var W,L=Object.assign({position:b},f&&d),S=!0===g?function(e){var t=e.x,n=e.y,a=window.devicePixelRatio||1;return{x:Object(u.c)(t*a)/a||0,y:Object(u.c)(n*a)/a||0}}({x:M,y:z}):{x:M,y:z};return M=S.x,z=S.y,h?Object.assign({},L,((W={})[w]=A?"0":"",W[x]=k?"0":"",W.transform=(N.devicePixelRatio||1)<=1?"translate("+M+"px, "+z+"px)":"translate3d("+M+"px, "+z+"px, 0)",W)):Object.assign({},L,((t={})[w]=A?z+"px":"",t[x]=k?M+"px":"",t.transform="",t))}t.a={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,a=n.gpuAcceleration,r=void 0===a||a,i=n.adaptive,o=void 0===i||i,s=n.roundOffsets,u=void 0===s||s,d={placement:Object(l.a)(t.placement),variation:Object(c.a)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},function(e,t,n){"use strict";var a=n(46),r=n(23);t.a={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];Object(r.b)(o)&&Object(a.a)(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Object(r.b)(i)&&Object(a.a)(i)&&(Object.assign(i.style,s),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(139);function r(e){return Object.assign({},Object(a.a)(),e)}},function(e,t,n){"use strict";function a(){return{top:0,right:0,bottom:0,left:0}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function a(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(120);function r(){return!/^((?!chrome|android).)*safari/i.test(Object(a.a)())}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(23);function r(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Object(a.c)(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},function(e,t,n){"use strict";function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(a);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);r.insertRule(e,i?0:r.cssRules.length)}catch(e){0}}else a.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(49);function r(e){var t=function(e,t){if("object"!==Object(a.a)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Object(a.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(a.a)(t)?t:String(t)}},function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(3),o=n.n(i),s=n(2),l=n(5),c=n(13),u=n(179),d=n(129);t.a=function(e){var t=e.align,n=void 0===t?"left":t,a=e.aria,i=void 0===a?{}:a,p=e.className,m=e.data,b=void 0===m?{}:m,h=e.id,f=e.statChange,g=void 0===f?{}:f,_=e.statLabel,y=e.statValue,M=void 0===y?{}:y,v=Object(s.a)(i),z=Object(s.c)(b),O=o()(Object(s.b)("pb_dashboard_value_kit",n),Object(l.c)(e),p);return r.a.createElement("div",Object.assign({},v,z,{className:O,id:h}),_&&r.a.createElement(c.a,{color:"light"},_),M&&r.a.createElement(d.a,{unit:M.unit,value:M.value}),g&&r.a.createElement(u.a,{change:g.change,value:g.value}))}},function(e,t,n){var a;
17
17
  /*!
18
18
  Copyright (c) 2015 Jed Watson.
19
19
  Based on code that is Copyright 2013-2015, Facebook, Inc.