playbook_ui 13.31.0.pre.alpha.PLAY882formpillprimaryandneutral3201 → 13.31.0.pre.alpha.PLAY10863202

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +5 -108
  3. data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +2 -11
  4. data/app/pb_kits/playbook/pb_form_pill/form_pill.html.erb +1 -1
  5. data/app/pb_kits/playbook/pb_form_pill/form_pill.rb +1 -5
  6. data/app/pb_kits/playbook/pb_table/_table.tsx +1 -1
  7. data/app/pb_kits/playbook/pb_table/index.ts +4 -4
  8. data/app/pb_kits/playbook/pb_table/subcomponents/_table_body.tsx +1 -1
  9. data/app/pb_kits/playbook/pb_table/subcomponents/_table_cell.tsx +1 -1
  10. data/app/pb_kits/playbook/pb_table/subcomponents/_table_head.tsx +1 -1
  11. data/app/pb_kits/playbook/pb_table/subcomponents/_table_header.tsx +1 -1
  12. data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +1 -1
  13. data/app/pb_kits/playbook/pb_table/table.test.js +2 -0
  14. data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +1 -1
  15. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +1 -1
  16. data/app/pb_kits/playbook/pb_textarea/_textarea.tsx +45 -27
  17. data/app/pb_kits/playbook/pb_textarea/index.tsx +3 -3
  18. data/app/pb_kits/playbook/pb_time/_time.tsx +3 -3
  19. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.tsx +1 -1
  20. data/app/pb_kits/playbook/pb_timeline/_item.tsx +1 -1
  21. data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
  22. data/app/pb_kits/playbook/pb_title/_title.tsx +2 -1
  23. data/app/pb_kits/playbook/pb_title_detail/_title_detail.tsx +10 -10
  24. data/app/pb_kits/playbook/pb_toggle/_toggle.tsx +1 -1
  25. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +3 -3
  26. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +3 -4
  27. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +2 -0
  28. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +5 -4
  29. data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.tsx +12 -4
  30. data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +11 -7
  31. data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.tsx +8 -3
  32. data/app/pb_kits/playbook/pb_typeahead/components/MenuList.tsx +6 -1
  33. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +26 -21
  34. data/app/pb_kits/playbook/pb_typeahead/components/Option.tsx +21 -6
  35. data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx +13 -6
  36. data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.tsx +7 -3
  37. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_menu_list.jsx +2 -0
  38. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx +7 -1
  39. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +2 -2
  40. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +1 -1
  41. data/app/pb_kits/playbook/pb_typeahead/index.ts +33 -33
  42. data/app/pb_kits/playbook/pb_user/_user.tsx +1 -1
  43. data/app/pb_kits/playbook/pb_user_badge/_user_badge.tsx +6 -6
  44. data/app/pb_kits/playbook/pb_user_badge/badges/million-dollar.tsx +236 -235
  45. data/app/pb_kits/playbook/pb_user_badge/badges/veteran.tsx +1 -1
  46. data/app/pb_kits/playbook/pb_walkthrough/_walkthrough.tsx +68 -63
  47. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.tsx +2 -2
  48. data/dist/playbook-rails.js +2 -2
  49. data/lib/playbook/version.rb +1 -1
  50. metadata +1 -2
  51. data/app/pb_kits/playbook/pb_form_pill/_form_pill.test.jsx +0 -53
@@ -11,7 +11,7 @@
11
11
  * Released under MIT license <https://lodash.com/license>
12
12
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
13
13
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
14
- */(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",d="[object Array]",c="[object Boolean]",u="[object Date]",h="[object Error]",p="[object Function]",f="[object GeneratorFunction]",g="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",y="[object Set]",x="[object String]",_="[object Symbol]",w="[object WeakMap]",O="[object ArrayBuffer]",$="[object DataView]",C="[object Float32Array]",k="[object Float64Array]",S="[object Int8Array]",j="[object Int16Array]",E="[object Int32Array]",M="[object Uint8Array]",A="[object Uint16Array]",P="[object Uint32Array]",T=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,D=/(__e\(.*?\)|\b__t\)) \+\n'';/g,I=/&(?:amp|lt|gt|quot|#39);/g,N=/[&<>"']/g,R=RegExp(I.source),F=RegExp(N.source),B=/<%-([\s\S]+?)%>/g,z=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,V=RegExp(G.source),X=/^\s+/,q=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,dt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,ut=/['\n\r\u2028\u2029\\]/g,ht="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pt="\\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",ft="[\\ud800-\\udfff]",gt="["+pt+"]",mt="["+ht+"]",vt="\\d+",bt="[\\u2700-\\u27bf]",yt="[a-z\\xdf-\\xf6\\xf8-\\xff]",xt="[^\\ud800-\\udfff"+pt+vt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",wt="[^\\ud800-\\udfff]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",$t="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",kt="(?:"+yt+"|"+xt+")",St="(?:"+Ct+"|"+xt+")",jt="(?:"+mt+"|"+_t+")"+"?",Et="[\\ufe0e\\ufe0f]?"+jt+("(?:\\u200d(?:"+[wt,Ot,$t].join("|")+")[\\ufe0e\\ufe0f]?"+jt+")*"),Mt="(?:"+[bt,Ot,$t].join("|")+")"+Et,At="(?:"+[wt+mt+"?",mt,Ot,$t,ft].join("|")+")",Pt=RegExp("['’]","g"),Tt=RegExp(mt,"g"),Lt=RegExp(_t+"(?="+_t+")|"+At+Et,"g"),Dt=RegExp([Ct+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[gt,Ct,"$"].join("|")+")",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[gt,Ct+kt,"$"].join("|")+")",Ct+"?"+kt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['’](?: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_])",vt,Mt].join("|"),"g"),It=RegExp("[\\u200d\\ud800-\\udfff"+ht+"\\ufe0e\\ufe0f]"),Nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=["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"],Ft=-1,Bt={};Bt[C]=Bt[k]=Bt[S]=Bt[j]=Bt[E]=Bt[M]=Bt["[object Uint8ClampedArray]"]=Bt[A]=Bt[P]=!0,Bt[l]=Bt[d]=Bt[O]=Bt[c]=Bt[$]=Bt[u]=Bt[h]=Bt[p]=Bt[g]=Bt[m]=Bt[v]=Bt[b]=Bt[y]=Bt[x]=Bt[w]=!1;var zt={};zt[l]=zt[d]=zt[O]=zt[$]=zt[c]=zt[u]=zt[C]=zt[k]=zt[S]=zt[j]=zt[E]=zt[g]=zt[m]=zt[v]=zt[b]=zt[y]=zt[x]=zt[_]=zt[M]=zt["[object Uint8ClampedArray]"]=zt[A]=zt[P]=!0,zt[h]=zt[p]=zt[w]=!1;var Ht={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Wt=parseFloat,Ut=parseInt,Yt="object"==typeof t&&t&&t.Object===Object&&t,Gt="object"==typeof self&&self&&self.Object===Object&&self,Vt=Yt||Gt||Function("return this")(),Xt=e&&!e.nodeType&&e,qt=Xt&&"object"==typeof i&&i&&!i.nodeType&&i,Kt=qt&&qt.exports===Xt,Zt=Kt&&Yt.process,Jt=function(){try{var t=qt&&qt.require&&qt.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),Qt=Jt&&Jt.isArrayBuffer,te=Jt&&Jt.isDate,ee=Jt&&Jt.isMap,ne=Jt&&Jt.isRegExp,ie=Jt&&Jt.isSet,re=Jt&&Jt.isTypedArray;function oe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function se(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function de(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function ce(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function ue(t,e){return!!(null==t?0:t.length)&&_e(t,e,0)>-1}function he(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function pe(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function fe(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function ge(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function me(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function ve(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var be=Ce("length");function ye(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function xe(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function _e(t,e,n){return e==e?function(t,e,n){var i=n-1,r=t.length;for(;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):xe(t,Oe,n)}function we(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function Oe(t){return t!=t}function $e(t,e){var n=null==t?0:t.length;return n?je(t,e)/n:NaN}function Ce(t){return function(e){return null==e?void 0:e[t]}}function ke(t){return function(e){return null==t?void 0:t[e]}}function Se(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function je(t,e){for(var n,i=-1,r=t.length;++i<r;){var o=e(t[i]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Ee(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Me(t){return t?t.slice(0,Xe(t)+1).replace(X,""):t}function Ae(t){return function(e){return t(e)}}function Pe(t,e){return pe(e,(function(e){return t[e]}))}function Te(t,e){return t.has(e)}function Le(t,e){for(var n=-1,i=t.length;++n<i&&_e(e,t[n],0)>-1;);return n}function De(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Ie(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}var Ne=ke({"À":"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"}),Re=ke({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Fe(t){return"\\"+Ht[t]}function Be(t){return It.test(t)}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function He(t,e){return function(n){return t(e(n))}}function We(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function Ye(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Ge(t){return Be(t)?function(t){var e=Lt.lastIndex=0;for(;Lt.test(t);)++e;return e}(t):be(t)}function Ve(t){return Be(t)?function(t){return t.match(Lt)||[]}(t):function(t){return t.split("")}(t)}function Xe(t){for(var e=t.length;e--&&q.test(t.charAt(e)););return e}var qe=ke({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Ke=function t(e){var n,i=(e=null==e?Vt:Ke.defaults(Vt.Object(),e,Ke.pick(Vt,Rt))).Array,r=e.Date,q=e.Error,ht=e.Function,pt=e.Math,ft=e.Object,gt=e.RegExp,mt=e.String,vt=e.TypeError,bt=i.prototype,yt=ht.prototype,xt=ft.prototype,_t=e["__core-js_shared__"],wt=yt.toString,Ot=xt.hasOwnProperty,$t=0,Ct=(n=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",kt=xt.toString,St=wt.call(ft),jt=Vt._,Et=gt("^"+wt.call(Ot).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mt=Kt?e.Buffer:void 0,At=e.Symbol,Lt=e.Uint8Array,It=Mt?Mt.allocUnsafe:void 0,Ht=He(ft.getPrototypeOf,ft),Yt=ft.create,Gt=xt.propertyIsEnumerable,Xt=bt.splice,qt=At?At.isConcatSpreadable:void 0,Zt=At?At.iterator:void 0,Jt=At?At.toStringTag:void 0,be=function(){try{var t=to(ft,"defineProperty");return t({},"",{}),t}catch(t){}}(),ke=e.clearTimeout!==Vt.clearTimeout&&e.clearTimeout,Ze=r&&r.now!==Vt.Date.now&&r.now,Je=e.setTimeout!==Vt.setTimeout&&e.setTimeout,Qe=pt.ceil,tn=pt.floor,en=ft.getOwnPropertySymbols,nn=Mt?Mt.isBuffer:void 0,rn=e.isFinite,on=bt.join,an=He(ft.keys,ft),sn=pt.max,ln=pt.min,dn=r.now,cn=e.parseInt,un=pt.random,hn=bt.reverse,pn=to(e,"DataView"),fn=to(e,"Map"),gn=to(e,"Promise"),mn=to(e,"Set"),vn=to(e,"WeakMap"),bn=to(ft,"create"),yn=vn&&new vn,xn={},_n=jo(pn),wn=jo(fn),On=jo(gn),$n=jo(mn),Cn=jo(vn),kn=At?At.prototype:void 0,Sn=kn?kn.valueOf:void 0,jn=kn?kn.toString:void 0;function En(t){if(Ya(t)&&!La(t)&&!(t instanceof Tn)){if(t instanceof Pn)return t;if(Ot.call(t,"__wrapped__"))return Eo(t)}return new Pn(t)}var Mn=function(){function t(){}return function(e){if(!Ua(e))return{};if(Yt)return Yt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function An(){}function Pn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Tn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Dn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function In(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Nn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new In;++e<n;)this.add(t[e])}function Rn(t){var e=this.__data__=new Dn(t);this.size=e.size}function Fn(t,e){var n=La(t),i=!n&&Ta(t),r=!n&&!i&&Ra(t),o=!n&&!i&&!r&&Qa(t),a=n||i||r||o,s=a?Ee(t.length,mt):[],l=s.length;for(var d in t)!e&&!Ot.call(t,d)||a&&("length"==d||r&&("offset"==d||"parent"==d)||o&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||so(d,l))||s.push(d);return s}function Bn(t){var e=t.length;return e?t[Ni(0,e-1)]:void 0}function zn(t,e){return Co(br(t),Kn(e,0,t.length))}function Hn(t){return Co(br(t))}function Wn(t,e,n){(void 0!==n&&!Ma(t[e],n)||void 0===n&&!(e in t))&&Xn(t,e,n)}function Un(t,e,n){var i=t[e];Ot.call(t,e)&&Ma(i,n)&&(void 0!==n||e in t)||Xn(t,e,n)}function Yn(t,e){for(var n=t.length;n--;)if(Ma(t[n][0],e))return n;return-1}function Gn(t,e,n,i){return ei(t,(function(t,r,o){e(i,t,n(t),o)})),i}function Vn(t,e){return t&&yr(e,_s(e),t)}function Xn(t,e,n){"__proto__"==e&&be?be(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function qn(t,e){for(var n=-1,r=e.length,o=i(r),a=null==t;++n<r;)o[n]=a?void 0:ms(t,e[n]);return o}function Kn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Zn(t,e,n,i,r,o){var a,s=1&e,d=2&e,h=4&e;if(n&&(a=r?n(t,i,r,o):n(t)),void 0!==a)return a;if(!Ua(t))return t;var w=La(t);if(w){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Ot.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return br(t,a)}else{var T=io(t),L=T==p||T==f;if(Ra(t))return hr(t,s);if(T==v||T==l||L&&!r){if(a=d||L?{}:oo(t),!s)return d?function(t,e){return yr(t,no(t),e)}(t,function(t,e){return t&&yr(e,ws(e),t)}(a,t)):function(t,e){return yr(t,eo(t),e)}(t,Vn(a,t))}else{if(!zt[T])return r?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case O:return pr(t);case c:case u:return new i(+t);case $:return function(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case C:case k:case S:case j:case E:case M:case"[object Uint8ClampedArray]":case A:case P:return fr(t,n);case g:return new i;case m:case x:return new i(t);case b:return function(t){var e=new t.constructor(t.source,it.exec(t));return e.lastIndex=t.lastIndex,e}(t);case y:return new i;case _:return r=t,Sn?ft(Sn.call(r)):{}}var r}(t,T,s)}}o||(o=new Rn);var D=o.get(t);if(D)return D;o.set(t,a),Ka(t)?t.forEach((function(i){a.add(Zn(i,e,n,i,t,o))})):Ga(t)&&t.forEach((function(i,r){a.set(r,Zn(i,e,n,r,t,o))}));var I=w?void 0:(h?d?Vr:Gr:d?ws:_s)(t);return se(I||t,(function(i,r){I&&(i=t[r=i]),Un(a,r,Zn(i,e,n,r,t,o))})),a}function Jn(t,e,n){var i=n.length;if(null==t)return!i;for(t=ft(t);i--;){var r=n[i],o=e[r],a=t[r];if(void 0===a&&!(r in t)||!o(a))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new vt(o);return _o((function(){t.apply(void 0,n)}),e)}function ti(t,e,n,i){var r=-1,o=ue,a=!0,s=t.length,l=[],d=e.length;if(!s)return l;n&&(e=pe(e,Ae(n))),i?(o=he,a=!1):e.length>=200&&(o=Te,a=!1,e=new Nn(e));t:for(;++r<s;){var c=t[r],u=null==n?c:n(c);if(c=i||0!==c?c:0,a&&u==u){for(var h=d;h--;)if(e[h]===u)continue t;l.push(c)}else o(e,u,i)||l.push(c)}return l}En.templateSettings={escape:B,evaluate:z,interpolate:H,variable:"",imports:{_:En}},En.prototype=An.prototype,En.prototype.constructor=En,Pn.prototype=Mn(An.prototype),Pn.prototype.constructor=Pn,Tn.prototype=Mn(An.prototype),Tn.prototype.constructor=Tn,Ln.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},Ln.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ln.prototype.get=function(t){var e=this.__data__;if(bn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ot.call(e,t)?e[t]:void 0},Ln.prototype.has=function(t){var e=this.__data__;return bn?void 0!==e[t]:Ot.call(e,t)},Ln.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=bn&&void 0===e?"__lodash_hash_undefined__":e,this},Dn.prototype.clear=function(){this.__data__=[],this.size=0},Dn.prototype.delete=function(t){var e=this.__data__,n=Yn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Xt.call(e,n,1),--this.size,!0)},Dn.prototype.get=function(t){var e=this.__data__,n=Yn(e,t);return n<0?void 0:e[n][1]},Dn.prototype.has=function(t){return Yn(this.__data__,t)>-1},Dn.prototype.set=function(t,e){var n=this.__data__,i=Yn(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},In.prototype.clear=function(){this.size=0,this.__data__={hash:new Ln,map:new(fn||Dn),string:new Ln}},In.prototype.delete=function(t){var e=Jr(this,t).delete(t);return this.size-=e?1:0,e},In.prototype.get=function(t){return Jr(this,t).get(t)},In.prototype.has=function(t){return Jr(this,t).has(t)},In.prototype.set=function(t,e){var n=Jr(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Nn.prototype.add=Nn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Nn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.clear=function(){this.__data__=new Dn,this.size=0},Rn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Rn.prototype.get=function(t){return this.__data__.get(t)},Rn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Dn){var i=n.__data__;if(!fn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new In(i)}return n.set(t,e),this.size=n.size,this};var ei=wr(di),ni=wr(ci,!0);function ii(t,e){var n=!0;return ei(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function ri(t,e,n){for(var i=-1,r=t.length;++i<r;){var o=t[i],a=e(o);if(null!=a&&(void 0===s?a==a&&!Ja(a):n(a,s)))var s=a,l=o}return l}function oi(t,e){var n=[];return ei(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function ai(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=ao),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?ai(s,e-1,n,i,r):fe(r,s):i||(r[r.length]=s)}return r}var si=Or(),li=Or(!0);function di(t,e){return t&&si(t,e,_s)}function ci(t,e){return t&&li(t,e,_s)}function ui(t,e){return ce(e,(function(e){return za(t[e])}))}function hi(t,e){for(var n=0,i=(e=lr(e,t)).length;null!=t&&n<i;)t=t[So(e[n++])];return n&&n==i?t:void 0}function pi(t,e,n){var i=e(t);return La(t)?i:fe(i,n(t))}function fi(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Jt&&Jt in ft(t)?function(t){var e=Ot.call(t,Jt),n=t[Jt];try{t[Jt]=void 0;var i=!0}catch(t){}var r=kt.call(t);i&&(e?t[Jt]=n:delete t[Jt]);return r}(t):function(t){return kt.call(t)}(t)}function gi(t,e){return t>e}function mi(t,e){return null!=t&&Ot.call(t,e)}function vi(t,e){return null!=t&&e in ft(t)}function bi(t,e,n){for(var r=n?he:ue,o=t[0].length,a=t.length,s=a,l=i(a),d=1/0,c=[];s--;){var u=t[s];s&&e&&(u=pe(u,Ae(e))),d=ln(u.length,d),l[s]=!n&&(e||o>=120&&u.length>=120)?new Nn(s&&u):void 0}u=t[0];var h=-1,p=l[0];t:for(;++h<o&&c.length<d;){var f=u[h],g=e?e(f):f;if(f=n||0!==f?f:0,!(p?Te(p,g):r(c,g,n))){for(s=a;--s;){var m=l[s];if(!(m?Te(m,g):r(t[s],g,n)))continue t}p&&p.push(g),c.push(f)}}return c}function yi(t,e,n){var i=null==(t=vo(t,e=lr(e,t)))?t:t[So(Bo(e))];return null==i?void 0:oe(i,t,n)}function xi(t){return Ya(t)&&fi(t)==l}function _i(t,e,n,i,r){return t===e||(null==t||null==e||!Ya(t)&&!Ya(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var a=La(t),s=La(e),p=a?d:io(t),f=s?d:io(e),w=(p=p==l?v:p)==v,C=(f=f==l?v:f)==v,k=p==f;if(k&&Ra(t)){if(!Ra(e))return!1;a=!0,w=!1}if(k&&!w)return o||(o=new Rn),a||Qa(t)?Ur(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case $:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case O:return!(t.byteLength!=e.byteLength||!o(new Lt(t),new Lt(e)));case c:case u:case m:return Ma(+t,+e);case h:return t.name==e.name&&t.message==e.message;case b:case x:return t==e+"";case g:var s=ze;case y:var l=1&i;if(s||(s=Ue),t.size!=e.size&&!l)return!1;var d=a.get(t);if(d)return d==e;i|=2,a.set(t,e);var p=Ur(s(t),s(e),i,r,o,a);return a.delete(t),p;case _:if(Sn)return Sn.call(t)==Sn.call(e)}return!1}(t,e,p,n,i,r,o);if(!(1&n)){var S=w&&Ot.call(t,"__wrapped__"),j=C&&Ot.call(e,"__wrapped__");if(S||j){var E=S?t.value():t,M=j?e.value():e;return o||(o=new Rn),r(E,M,n,i,o)}}if(!k)return!1;return o||(o=new Rn),function(t,e,n,i,r,o){var a=1&n,s=Gr(t),l=s.length,d=Gr(e).length;if(l!=d&&!a)return!1;var c=l;for(;c--;){var u=s[c];if(!(a?u in e:Ot.call(e,u)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var f=!0;o.set(t,e),o.set(e,t);var g=a;for(;++c<l;){u=s[c];var m=t[u],v=e[u];if(i)var b=a?i(v,m,u,e,t,o):i(m,v,u,t,e,o);if(!(void 0===b?m===v||r(m,v,n,i,o):b)){f=!1;break}g||(g="constructor"==u)}if(f&&!g){var y=t.constructor,x=e.constructor;y==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(f=!1)}return o.delete(t),o.delete(e),f}(t,e,n,i,r,o)}(t,e,n,i,_i,r))}function wi(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=ft(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],d=t[l],c=s[1];if(a&&s[2]){if(void 0===d&&!(l in t))return!1}else{var u=new Rn;if(i)var h=i(d,c,l,t,e,u);if(!(void 0===h?_i(c,d,3,i,u):h))return!1}}return!0}function Oi(t){return!(!Ua(t)||(e=t,Ct&&Ct in e))&&(za(t)?Et:at).test(jo(t));var e}function $i(t){return"function"==typeof t?t:null==t?Vs:"object"==typeof t?La(t)?Mi(t[0],t[1]):Ei(t):nl(t)}function Ci(t){if(!po(t))return an(t);var e=[];for(var n in ft(t))Ot.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ki(t){if(!Ua(t))return function(t){var e=[];if(null!=t)for(var n in ft(t))e.push(n);return e}(t);var e=po(t),n=[];for(var i in t)("constructor"!=i||!e&&Ot.call(t,i))&&n.push(i);return n}function Si(t,e){return t<e}function ji(t,e){var n=-1,r=Ia(t)?i(t.length):[];return ei(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function Ei(t){var e=Qr(t);return 1==e.length&&e[0][2]?go(e[0][0],e[0][1]):function(n){return n===t||wi(n,t,e)}}function Mi(t,e){return co(t)&&fo(e)?go(So(t),e):function(n){var i=ms(n,t);return void 0===i&&i===e?vs(n,t):_i(e,i,3)}}function Ai(t,e,n,i,r){t!==e&&si(e,(function(o,a){if(r||(r=new Rn),Ua(o))!function(t,e,n,i,r,o,a){var s=yo(t,n),l=yo(e,n),d=a.get(l);if(d)return void Wn(t,n,d);var c=o?o(s,l,n+"",t,e,a):void 0,u=void 0===c;if(u){var h=La(l),p=!h&&Ra(l),f=!h&&!p&&Qa(l);c=l,h||p||f?La(s)?c=s:Na(s)?c=br(s):p?(u=!1,c=hr(l,!0)):f?(u=!1,c=fr(l,!0)):c=[]:Xa(l)||Ta(l)?(c=s,Ta(s)?c=ss(s):Ua(s)&&!za(s)||(c=oo(l))):u=!1}u&&(a.set(l,c),r(c,l,i,o,a),a.delete(l));Wn(t,n,c)}(t,e,a,n,Ai,i,r);else{var s=i?i(yo(t,a),o,a+"",t,e,r):void 0;void 0===s&&(s=o),Wn(t,a,s)}}),ws)}function Pi(t,e){var n=t.length;if(n)return so(e+=e<0?n:0,n)?t[e]:void 0}function Ti(t,e,n){e=e.length?pe(e,(function(t){return La(t)?function(e){return hi(e,1===t.length?t[0]:t)}:t})):[Vs];var i=-1;return e=pe(e,Ae(Zr())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(ji(t,(function(t,n,r){return{criteria:pe(e,(function(e){return e(t)})),index:++i,value:t}})),(function(t,e){return function(t,e,n){var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;for(;++i<a;){var l=gr(r[i],o[i]);if(l){if(i>=s)return l;var d=n[i];return l*("desc"==d?-1:1)}}return t.index-e.index}(t,e,n)}))}function Li(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=hi(t,a);n(s,a)&&Hi(o,lr(a,t),s)}return o}function Di(t,e,n,i){var r=i?we:_e,o=-1,a=e.length,s=t;for(t===e&&(e=br(e)),n&&(s=pe(t,Ae(n)));++o<a;)for(var l=0,d=e[o],c=n?n(d):d;(l=r(s,c,l,i))>-1;)s!==t&&Xt.call(s,l,1),Xt.call(t,l,1);return t}function Ii(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;so(r)?Xt.call(t,r,1):tr(t,r)}}return t}function Ni(t,e){return t+tn(un()*(e-t+1))}function Ri(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Fi(t,e){return wo(mo(t,e,Vs),t+"")}function Bi(t){return Bn(Ms(t))}function zi(t,e){var n=Ms(t);return Co(n,Kn(e,0,n.length))}function Hi(t,e,n,i){if(!Ua(t))return t;for(var r=-1,o=(e=lr(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=So(e[r]),d=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=a){var c=s[l];void 0===(d=i?i(c,l,s):void 0)&&(d=Ua(c)?c:so(e[r+1])?[]:{})}Un(s,l,d),s=s[l]}return t}var Wi=yn?function(t,e){return yn.set(t,e),t}:Vs,Ui=be?function(t,e){return be(t,"toString",{configurable:!0,enumerable:!1,value:Us(e),writable:!0})}:Vs;function Yi(t){return Co(Ms(t))}function Gi(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=i(o);++r<o;)a[r]=t[r+e];return a}function Vi(t,e){var n;return ei(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function Xi(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!Ja(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return qi(t,e,Vs,n)}function qi(t,e,n,i){var r=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=n(e))!=e,s=null===e,l=Ja(e),d=void 0===e;r<o;){var c=tn((r+o)/2),u=n(t[c]),h=void 0!==u,p=null===u,f=u==u,g=Ja(u);if(a)var m=i||f;else m=d?f&&(i||h):s?f&&h&&(i||!p):l?f&&h&&!p&&(i||!g):!p&&!g&&(i?u<=e:u<e);m?r=c+1:o=c}return ln(o,4294967294)}function Ki(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!Ma(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Zi(t){return"number"==typeof t?t:Ja(t)?NaN:+t}function Ji(t){if("string"==typeof t)return t;if(La(t))return pe(t,Ji)+"";if(Ja(t))return jn?jn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qi(t,e,n){var i=-1,r=ue,o=t.length,a=!0,s=[],l=s;if(n)a=!1,r=he;else if(o>=200){var d=e?null:Rr(t);if(d)return Ue(d);a=!1,r=Te,l=new Nn}else l=e?[]:s;t:for(;++i<o;){var c=t[i],u=e?e(c):c;if(c=n||0!==c?c:0,a&&u==u){for(var h=l.length;h--;)if(l[h]===u)continue t;e&&l.push(u),s.push(c)}else r(l,u,n)||(l!==s&&l.push(u),s.push(c))}return s}function tr(t,e){return null==(t=vo(t,e=lr(e,t)))||delete t[So(Bo(e))]}function er(t,e,n,i){return Hi(t,e,n(hi(t,e)),i)}function nr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?Gi(t,i?0:o,i?o+1:r):Gi(t,i?o+1:0,i?r:o)}function ir(t,e){var n=t;return n instanceof Tn&&(n=n.value()),ge(e,(function(t,e){return e.func.apply(e.thisArg,fe([t],e.args))}),n)}function rr(t,e,n){var r=t.length;if(r<2)return r?Qi(t[0]):[];for(var o=-1,a=i(r);++o<r;)for(var s=t[o],l=-1;++l<r;)l!=o&&(a[o]=ti(a[o]||s,t[l],e,n));return Qi(ai(a,1),e,n)}function or(t,e,n){for(var i=-1,r=t.length,o=e.length,a={};++i<r;){var s=i<o?e[i]:void 0;n(a,t[i],s)}return a}function ar(t){return Na(t)?t:[]}function sr(t){return"function"==typeof t?t:Vs}function lr(t,e){return La(t)?t:co(t,e)?[t]:ko(ls(t))}var dr=Fi;function cr(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:Gi(t,e,n)}var ur=ke||function(t){return Vt.clearTimeout(t)};function hr(t,e){if(e)return t.slice();var n=t.length,i=It?It(n):new t.constructor(n);return t.copy(i),i}function pr(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function fr(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function gr(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,o=Ja(t),a=void 0!==e,s=null===e,l=e==e,d=Ja(e);if(!s&&!d&&!o&&t>e||o&&a&&l&&!s&&!d||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!d&&t<e||d&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}function mr(t,e,n,r){for(var o=-1,a=t.length,s=n.length,l=-1,d=e.length,c=sn(a-s,0),u=i(d+c),h=!r;++l<d;)u[l]=e[l];for(;++o<s;)(h||o<a)&&(u[n[o]]=t[o]);for(;c--;)u[l++]=t[o++];return u}function vr(t,e,n,r){for(var o=-1,a=t.length,s=-1,l=n.length,d=-1,c=e.length,u=sn(a-l,0),h=i(u+c),p=!r;++o<u;)h[o]=t[o];for(var f=o;++d<c;)h[f+d]=e[d];for(;++s<l;)(p||o<a)&&(h[f+n[s]]=t[o++]);return h}function br(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function yr(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),r?Xn(n,s,l):Un(n,s,l)}return n}function xr(t,e){return function(n,i){var r=La(n)?ae:Gn,o=e?e():{};return r(n,t,Zr(i,2),o)}}function _r(t){return Fi((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,a&&lo(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),e=ft(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e}))}function wr(t,e){return function(n,i){if(null==n)return n;if(!Ia(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=ft(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Or(t){return function(e,n,i){for(var r=-1,o=ft(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function $r(t){return function(e){var n=Be(e=ls(e))?Ve(e):void 0,i=n?n[0]:e.charAt(0),r=n?cr(n,1).join(""):e.slice(1);return i[t]()+r}}function Cr(t){return function(e){return ge(zs(Ts(e).replace(Pt,"")),t,"")}}function kr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Mn(t.prototype),i=t.apply(n,e);return Ua(i)?i:n}}function Sr(t){return function(e,n,i){var r=ft(e);if(!Ia(e)){var o=Zr(n,3);e=_s(e),n=function(t){return o(r[t],t,r)}}var a=t(e,n,i);return a>-1?r[o?e[a]:a]:void 0}}function jr(t){return Yr((function(e){var n=e.length,i=n,r=Pn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new vt(o);if(r&&!s&&"wrapper"==qr(a))var s=new Pn([],!0)}for(i=s?i:n;++i<n;){var l=qr(a=e[i]),d="wrapper"==l?Xr(a):void 0;s=d&&uo(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?s[qr(d[0])].apply(s,d[3]):1==a.length&&uo(a)?s[l]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&La(i))return s.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}}))}function Er(t,e,n,r,o,a,s,l,d,c){var u=128&e,h=1&e,p=2&e,f=24&e,g=512&e,m=p?void 0:kr(t);return function v(){for(var b=arguments.length,y=i(b),x=b;x--;)y[x]=arguments[x];if(f)var _=Kr(v),w=Ie(y,_);if(r&&(y=mr(y,r,o,f)),a&&(y=vr(y,a,s,f)),b-=w,f&&b<c){var O=We(y,_);return Ir(t,e,Er,v.placeholder,n,y,O,l,d,c-b)}var $=h?n:this,C=p?$[t]:t;return b=y.length,l?y=bo(y,l):g&&b>1&&y.reverse(),u&&d<b&&(y.length=d),this&&this!==Vt&&this instanceof v&&(C=m||kr(C)),C.apply($,y)}}function Mr(t,e){return function(n,i){return function(t,e,n,i){return di(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Ar(t,e){return function(n,i){var r;if(void 0===n&&void 0===i)return e;if(void 0!==n&&(r=n),void 0!==i){if(void 0===r)return i;"string"==typeof n||"string"==typeof i?(n=Ji(n),i=Ji(i)):(n=Zi(n),i=Zi(i)),r=t(n,i)}return r}}function Pr(t){return Yr((function(e){return e=pe(e,Ae(Zr())),Fi((function(n){var i=this;return t(e,(function(t){return oe(t,i,n)}))}))}))}function Tr(t,e){var n=(e=void 0===e?" ":Ji(e)).length;if(n<2)return n?Ri(e,t):e;var i=Ri(e,Qe(t/Ge(e)));return Be(e)?cr(Ve(i),0,t).join(""):i.slice(0,t)}function Lr(t){return function(e,n,r){return r&&"number"!=typeof r&&lo(e,n,r)&&(n=r=void 0),e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n,r){for(var o=-1,a=sn(Qe((e-t)/(n||1)),0),s=i(a);a--;)s[r?a:++o]=t,t+=n;return s}(e,n,r=void 0===r?e<n?1:-1:is(r),t)}}function Dr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=as(e),n=as(n)),t(e,n)}}function Ir(t,e,n,i,r,o,a,s,l,d){var c=8&e;e|=c?32:64,4&(e&=~(c?64:32))||(e&=-4);var u=[t,e,r,c?o:void 0,c?a:void 0,c?void 0:o,c?void 0:a,s,l,d],h=n.apply(void 0,u);return uo(t)&&xo(h,u),h.placeholder=i,Oo(h,t,e)}function Nr(t){var e=pt[t];return function(t,n){if(t=as(t),(n=null==n?0:ln(rs(n),292))&&rn(t)){var i=(ls(t)+"e").split("e");return+((i=(ls(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Rr=mn&&1/Ue(new mn([,-0]))[1]==1/0?function(t){return new mn(t)}:Js;function Fr(t){return function(e){var n=io(e);return n==g?ze(e):n==y?Ye(e):function(t,e){return pe(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Br(t,e,n,r,s,l,d,c){var u=2&e;if(!u&&"function"!=typeof t)throw new vt(o);var h=r?r.length:0;if(h||(e&=-97,r=s=void 0),d=void 0===d?d:sn(rs(d),0),c=void 0===c?c:rs(c),h-=s?s.length:0,64&e){var p=r,f=s;r=s=void 0}var g=u?void 0:Xr(t),m=[t,e,n,r,s,p,f,l,d,c];if(g&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=128==i&&8==n||128==i&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var d=t[3];t[3]=d?mr(d,l,e[4]):l,t[4]=d?We(t[3],a):e[4]}(l=e[5])&&(d=t[5],t[5]=d?vr(d,l,e[6]):l,t[6]=d?We(t[5],a):e[6]);(l=e[7])&&(t[7]=l);128&i&&(t[8]=null==t[8]?e[8]:ln(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=r}(m,g),t=m[0],e=m[1],n=m[2],r=m[3],s=m[4],!(c=m[9]=void 0===m[9]?u?0:t.length:sn(m[9]-h,0))&&24&e&&(e&=-25),e&&1!=e)v=8==e||16==e?function(t,e,n){var r=kr(t);return function o(){for(var a=arguments.length,s=i(a),l=a,d=Kr(o);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==d&&s[a-1]!==d?[]:We(s,d);if((a-=c.length)<n)return Ir(t,e,Er,o.placeholder,void 0,s,c,void 0,void 0,n-a);var u=this&&this!==Vt&&this instanceof o?r:t;return oe(u,this,s)}}(t,e,c):32!=e&&33!=e||s.length?Er.apply(void 0,m):function(t,e,n,r){var o=1&e,a=kr(t);return function e(){for(var s=-1,l=arguments.length,d=-1,c=r.length,u=i(c+l),h=this&&this!==Vt&&this instanceof e?a:t;++d<c;)u[d]=r[d];for(;l--;)u[d++]=arguments[++s];return oe(h,o?n:this,u)}}(t,e,n,r);else var v=function(t,e,n){var i=1&e,r=kr(t);return function e(){var o=this&&this!==Vt&&this instanceof e?r:t;return o.apply(i?n:this,arguments)}}(t,e,n);return Oo((g?Wi:xo)(v,m),t,e)}function zr(t,e,n,i){return void 0===t||Ma(t,xt[n])&&!Ot.call(i,n)?e:t}function Hr(t,e,n,i,r,o){return Ua(t)&&Ua(e)&&(o.set(e,t),Ai(t,e,void 0,Hr,o),o.delete(e)),t}function Wr(t){return Xa(t)?void 0:t}function Ur(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var d=o.get(t),c=o.get(e);if(d&&c)return d==e&&c==t;var u=-1,h=!0,p=2&n?new Nn:void 0;for(o.set(t,e),o.set(e,t);++u<s;){var f=t[u],g=e[u];if(i)var m=a?i(g,f,u,e,t,o):i(f,g,u,t,e,o);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!ve(e,(function(t,e){if(!Te(p,e)&&(f===t||r(f,t,n,i,o)))return p.push(e)}))){h=!1;break}}else if(f!==g&&!r(f,g,n,i,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function Yr(t){return wo(mo(t,void 0,Do),t+"")}function Gr(t){return pi(t,_s,eo)}function Vr(t){return pi(t,ws,no)}var Xr=yn?function(t){return yn.get(t)}:Js;function qr(t){for(var e=t.name+"",n=xn[e],i=Ot.call(xn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Kr(t){return(Ot.call(En,"placeholder")?En:t).placeholder}function Zr(){var t=En.iteratee||Xs;return t=t===Xs?$i:t,arguments.length?t(arguments[0],arguments[1]):t}function Jr(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Qr(t){for(var e=_s(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,fo(r)]}return e}function to(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Oi(n)?n:void 0}var eo=en?function(t){return null==t?[]:(t=ft(t),ce(en(t),(function(e){return Gt.call(t,e)})))}:ol,no=en?function(t){for(var e=[];t;)fe(e,eo(t)),t=Ht(t);return e}:ol,io=fi;function ro(t,e,n){for(var i=-1,r=(e=lr(e,t)).length,o=!1;++i<r;){var a=So(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Wa(r)&&so(a,r)&&(La(t)||Ta(t))}function oo(t){return"function"!=typeof t.constructor||po(t)?{}:Mn(Ht(t))}function ao(t){return La(t)||Ta(t)||!!(qt&&t&&t[qt])}function so(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&lt.test(t))&&t>-1&&t%1==0&&t<e}function lo(t,e,n){if(!Ua(n))return!1;var i=typeof e;return!!("number"==i?Ia(n)&&so(e,n.length):"string"==i&&e in n)&&Ma(n[e],t)}function co(t,e){if(La(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ja(t))||(U.test(t)||!W.test(t)||null!=e&&t in ft(e))}function uo(t){var e=qr(t),n=En[e];if("function"!=typeof n||!(e in Tn.prototype))return!1;if(t===n)return!0;var i=Xr(n);return!!i&&t===i[0]}(pn&&io(new pn(new ArrayBuffer(1)))!=$||fn&&io(new fn)!=g||gn&&"[object Promise]"!=io(gn.resolve())||mn&&io(new mn)!=y||vn&&io(new vn)!=w)&&(io=function(t){var e=fi(t),n=e==v?t.constructor:void 0,i=n?jo(n):"";if(i)switch(i){case _n:return $;case wn:return g;case On:return"[object Promise]";case $n:return y;case Cn:return w}return e});var ho=_t?za:al;function po(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||xt)}function fo(t){return t==t&&!Ua(t)}function go(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in ft(n)))}}function mo(t,e,n){return e=sn(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,a=sn(r.length-e,0),s=i(a);++o<a;)s[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(s),oe(t,this,l)}}function vo(t,e){return e.length<2?t:hi(t,Gi(e,0,-1))}function bo(t,e){for(var n=t.length,i=ln(e.length,n),r=br(t);i--;){var o=e[i];t[i]=so(o,n)?r[o]:void 0}return t}function yo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var xo=$o(Wi),_o=Je||function(t,e){return Vt.setTimeout(t,e)},wo=$o(Ui);function Oo(t,e,n){var i=e+"";return wo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(K,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return se(s,(function(n){var i="_."+n[0];e&n[1]&&!ue(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(Z);return e?e[1].split(J):[]}(i),n)))}function $o(t){var e=0,n=0;return function(){var i=dn(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Co(t,e){var n=-1,i=t.length,r=i-1;for(e=void 0===e?i:e;++n<e;){var o=Ni(n,r),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}var ko=function(t){var e=$a(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Y,(function(t,n,i,r){e.push(i?r.replace(et,"$1"):n||t)})),e}));function So(t){if("string"==typeof t||Ja(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function jo(t){if(null!=t){try{return wt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Eo(t){if(t instanceof Tn)return t.clone();var e=new Pn(t.__wrapped__,t.__chain__);return e.__actions__=br(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Mo=Fi((function(t,e){return Na(t)?ti(t,ai(e,1,Na,!0)):[]})),Ao=Fi((function(t,e){var n=Bo(e);return Na(n)&&(n=void 0),Na(t)?ti(t,ai(e,1,Na,!0),Zr(n,2)):[]})),Po=Fi((function(t,e){var n=Bo(e);return Na(n)&&(n=void 0),Na(t)?ti(t,ai(e,1,Na,!0),void 0,n):[]}));function To(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),xe(t,Zr(e,3),r)}function Lo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return void 0!==n&&(r=rs(n),r=n<0?sn(i+r,0):ln(r,i-1)),xe(t,Zr(e,3),r,!0)}function Do(t){return(null==t?0:t.length)?ai(t,1):[]}function Io(t){return t&&t.length?t[0]:void 0}var No=Fi((function(t){var e=pe(t,ar);return e.length&&e[0]===t[0]?bi(e):[]})),Ro=Fi((function(t){var e=Bo(t),n=pe(t,ar);return e===Bo(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?bi(n,Zr(e,2)):[]})),Fo=Fi((function(t){var e=Bo(t),n=pe(t,ar);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?bi(n,void 0,e):[]}));function Bo(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var zo=Fi(Ho);function Ho(t,e){return t&&t.length&&e&&e.length?Di(t,e):t}var Wo=Yr((function(t,e){var n=null==t?0:t.length,i=qn(t,e);return Ii(t,pe(e,(function(t){return so(t,n)?+t:t})).sort(gr)),i}));function Uo(t){return null==t?t:hn.call(t)}var Yo=Fi((function(t){return Qi(ai(t,1,Na,!0))})),Go=Fi((function(t){var e=Bo(t);return Na(e)&&(e=void 0),Qi(ai(t,1,Na,!0),Zr(e,2))})),Vo=Fi((function(t){var e=Bo(t);return e="function"==typeof e?e:void 0,Qi(ai(t,1,Na,!0),void 0,e)}));function Xo(t){if(!t||!t.length)return[];var e=0;return t=ce(t,(function(t){if(Na(t))return e=sn(t.length,e),!0})),Ee(e,(function(e){return pe(t,Ce(e))}))}function qo(t,e){if(!t||!t.length)return[];var n=Xo(t);return null==e?n:pe(n,(function(t){return oe(e,void 0,t)}))}var Ko=Fi((function(t,e){return Na(t)?ti(t,e):[]})),Zo=Fi((function(t){return rr(ce(t,Na))})),Jo=Fi((function(t){var e=Bo(t);return Na(e)&&(e=void 0),rr(ce(t,Na),Zr(e,2))})),Qo=Fi((function(t){var e=Bo(t);return e="function"==typeof e?e:void 0,rr(ce(t,Na),void 0,e)})),ta=Fi(Xo);var ea=Fi((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,qo(t,n)}));function na(t){var e=En(t);return e.__chain__=!0,e}function ia(t,e){return e(t)}var ra=Yr((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return qn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Tn&&so(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ia,args:[r],thisArg:void 0}),new Pn(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(r)}));var oa=xr((function(t,e,n){Ot.call(t,n)?++t[n]:Xn(t,n,1)}));var aa=Sr(To),sa=Sr(Lo);function la(t,e){return(La(t)?se:ei)(t,Zr(e,3))}function da(t,e){return(La(t)?le:ni)(t,Zr(e,3))}var ca=xr((function(t,e,n){Ot.call(t,n)?t[n].push(e):Xn(t,n,[e])}));var ua=Fi((function(t,e,n){var r=-1,o="function"==typeof e,a=Ia(t)?i(t.length):[];return ei(t,(function(t){a[++r]=o?oe(e,t,n):yi(t,e,n)})),a})),ha=xr((function(t,e,n){Xn(t,n,e)}));function pa(t,e){return(La(t)?pe:ji)(t,Zr(e,3))}var fa=xr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var ga=Fi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&lo(t,e[0],e[1])?e=[]:n>2&&lo(e[0],e[1],e[2])&&(e=[e[0]]),Ti(t,ai(e,1),[])})),ma=Ze||function(){return Vt.Date.now()};function va(t,e,n){return e=n?void 0:e,Br(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function ba(t,e){var n;if("function"!=typeof e)throw new vt(o);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ya=Fi((function(t,e,n){var i=1;if(n.length){var r=We(n,Kr(ya));i|=32}return Br(t,i,e,n,r)})),xa=Fi((function(t,e,n){var i=3;if(n.length){var r=We(n,Kr(xa));i|=32}return Br(e,i,t,n,r)}));function _a(t,e,n){var i,r,a,s,l,d,c=0,u=!1,h=!1,p=!0;if("function"!=typeof t)throw new vt(o);function f(e){var n=i,o=r;return i=r=void 0,c=e,s=t.apply(o,n)}function g(t){return c=t,l=_o(v,e),u?f(t):s}function m(t){var n=t-d;return void 0===d||n>=e||n<0||h&&t-c>=a}function v(){var t=ma();if(m(t))return b(t);l=_o(v,function(t){var n=e-(t-d);return h?ln(n,a-(t-c)):n}(t))}function b(t){return l=void 0,p&&i?f(t):(i=r=void 0,s)}function y(){var t=ma(),n=m(t);if(i=arguments,r=this,d=t,n){if(void 0===l)return g(d);if(h)return ur(l),l=_o(v,e),f(d)}return void 0===l&&(l=_o(v,e)),s}return e=as(e)||0,Ua(n)&&(u=!!n.leading,a=(h="maxWait"in n)?sn(as(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==l&&ur(l),c=0,i=d=r=l=void 0},y.flush=function(){return void 0===l?s:b(ma())},y}var wa=Fi((function(t,e){return Qn(t,1,e)})),Oa=Fi((function(t,e,n){return Qn(t,as(e)||0,n)}));function $a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new vt(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new($a.Cache||In),n}function Ca(t){if("function"!=typeof t)throw new vt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}$a.Cache=In;var ka=dr((function(t,e){var n=(e=1==e.length&&La(e[0])?pe(e[0],Ae(Zr())):pe(ai(e,1),Ae(Zr()))).length;return Fi((function(i){for(var r=-1,o=ln(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return oe(t,this,i)}))})),Sa=Fi((function(t,e){return Br(t,32,void 0,e,We(e,Kr(Sa)))})),ja=Fi((function(t,e){return Br(t,64,void 0,e,We(e,Kr(ja)))})),Ea=Yr((function(t,e){return Br(t,256,void 0,void 0,void 0,e)}));function Ma(t,e){return t===e||t!=t&&e!=e}var Aa=Dr(gi),Pa=Dr((function(t,e){return t>=e})),Ta=xi(function(){return arguments}())?xi:function(t){return Ya(t)&&Ot.call(t,"callee")&&!Gt.call(t,"callee")},La=i.isArray,Da=Qt?Ae(Qt):function(t){return Ya(t)&&fi(t)==O};function Ia(t){return null!=t&&Wa(t.length)&&!za(t)}function Na(t){return Ya(t)&&Ia(t)}var Ra=nn||al,Fa=te?Ae(te):function(t){return Ya(t)&&fi(t)==u};function Ba(t){if(!Ya(t))return!1;var e=fi(t);return e==h||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Xa(t)}function za(t){if(!Ua(t))return!1;var e=fi(t);return e==p||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Ha(t){return"number"==typeof t&&t==rs(t)}function Wa(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ua(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ya(t){return null!=t&&"object"==typeof t}var Ga=ee?Ae(ee):function(t){return Ya(t)&&io(t)==g};function Va(t){return"number"==typeof t||Ya(t)&&fi(t)==m}function Xa(t){if(!Ya(t)||fi(t)!=v)return!1;var e=Ht(t);if(null===e)return!0;var n=Ot.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&wt.call(n)==St}var qa=ne?Ae(ne):function(t){return Ya(t)&&fi(t)==b};var Ka=ie?Ae(ie):function(t){return Ya(t)&&io(t)==y};function Za(t){return"string"==typeof t||!La(t)&&Ya(t)&&fi(t)==x}function Ja(t){return"symbol"==typeof t||Ya(t)&&fi(t)==_}var Qa=re?Ae(re):function(t){return Ya(t)&&Wa(t.length)&&!!Bt[fi(t)]};var ts=Dr(Si),es=Dr((function(t,e){return t<=e}));function ns(t){if(!t)return[];if(Ia(t))return Za(t)?Ve(t):br(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=io(t);return(e==g?ze:e==y?Ue:Ms)(t)}function is(t){return t?(t=as(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=is(t),n=e%1;return e==e?n?e-n:e:0}function os(t){return t?Kn(rs(t),0,4294967295):0}function as(t){if("number"==typeof t)return t;if(Ja(t))return NaN;if(Ua(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ua(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Me(t);var n=ot.test(t);return n||st.test(t)?Ut(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function ss(t){return yr(t,ws(t))}function ls(t){return null==t?"":Ji(t)}var ds=_r((function(t,e){if(po(e)||Ia(e))yr(e,_s(e),t);else for(var n in e)Ot.call(e,n)&&Un(t,n,e[n])})),cs=_r((function(t,e){yr(e,ws(e),t)})),us=_r((function(t,e,n,i){yr(e,ws(e),t,i)})),hs=_r((function(t,e,n,i){yr(e,_s(e),t,i)})),ps=Yr(qn);var fs=Fi((function(t,e){t=ft(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&lo(e[0],e[1],r)&&(i=1);++n<i;)for(var o=e[n],a=ws(o),s=-1,l=a.length;++s<l;){var d=a[s],c=t[d];(void 0===c||Ma(c,xt[d])&&!Ot.call(t,d))&&(t[d]=o[d])}return t})),gs=Fi((function(t){return t.push(void 0,Hr),oe($s,void 0,t)}));function ms(t,e,n){var i=null==t?void 0:hi(t,e);return void 0===i?n:i}function vs(t,e){return null!=t&&ro(t,e,vi)}var bs=Mr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),t[e]=n}),Us(Vs)),ys=Mr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),Ot.call(t,e)?t[e].push(n):t[e]=[n]}),Zr),xs=Fi(yi);function _s(t){return Ia(t)?Fn(t):Ci(t)}function ws(t){return Ia(t)?Fn(t,!0):ki(t)}var Os=_r((function(t,e,n){Ai(t,e,n)})),$s=_r((function(t,e,n,i){Ai(t,e,n,i)})),Cs=Yr((function(t,e){var n={};if(null==t)return n;var i=!1;e=pe(e,(function(e){return e=lr(e,t),i||(i=e.length>1),e})),yr(t,Vr(t),n),i&&(n=Zn(n,7,Wr));for(var r=e.length;r--;)tr(n,e[r]);return n}));var ks=Yr((function(t,e){return null==t?{}:function(t,e){return Li(t,e,(function(e,n){return vs(t,n)}))}(t,e)}));function Ss(t,e){if(null==t)return{};var n=pe(Vr(t),(function(t){return[t]}));return e=Zr(e),Li(t,n,(function(t,n){return e(t,n[0])}))}var js=Fr(_s),Es=Fr(ws);function Ms(t){return null==t?[]:Pe(t,_s(t))}var As=Cr((function(t,e,n){return e=e.toLowerCase(),t+(n?Ps(e):e)}));function Ps(t){return Bs(ls(t).toLowerCase())}function Ts(t){return(t=ls(t))&&t.replace(dt,Ne).replace(Tt,"")}var Ls=Cr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ds=Cr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Is=$r("toLowerCase");var Ns=Cr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Rs=Cr((function(t,e,n){return t+(n?" ":"")+Bs(e)}));var Fs=Cr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Bs=$r("toUpperCase");function zs(t,e,n){return t=ls(t),void 0===(e=n?void 0:e)?function(t){return Nt.test(t)}(t)?function(t){return t.match(Dt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var Hs=Fi((function(t,e){try{return oe(t,void 0,e)}catch(t){return Ba(t)?t:new q(t)}})),Ws=Yr((function(t,e){return se(e,(function(e){e=So(e),Xn(t,e,ya(t[e],t))})),t}));function Us(t){return function(){return t}}var Ys=jr(),Gs=jr(!0);function Vs(t){return t}function Xs(t){return $i("function"==typeof t?t:Zn(t,1))}var qs=Fi((function(t,e){return function(n){return yi(n,t,e)}})),Ks=Fi((function(t,e){return function(n){return yi(t,n,e)}}));function Zs(t,e,n){var i=_s(e),r=ui(e,i);null!=n||Ua(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=ui(e,_s(e)));var o=!(Ua(n)&&"chain"in n&&!n.chain),a=za(t);return se(r,(function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=br(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,fe([this.value()],arguments))})})),t}function Js(){}var Qs=Pr(pe),tl=Pr(de),el=Pr(ve);function nl(t){return co(t)?Ce(So(t)):function(t){return function(e){return hi(e,t)}}(t)}var il=Lr(),rl=Lr(!0);function ol(){return[]}function al(){return!1}var sl=Ar((function(t,e){return t+e}),0),ll=Nr("ceil"),dl=Ar((function(t,e){return t/e}),1),cl=Nr("floor");var ul,hl=Ar((function(t,e){return t*e}),1),pl=Nr("round"),fl=Ar((function(t,e){return t-e}),0);return En.after=function(t,e){if("function"!=typeof e)throw new vt(o);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},En.ary=va,En.assign=ds,En.assignIn=cs,En.assignInWith=us,En.assignWith=hs,En.at=ps,En.before=ba,En.bind=ya,En.bindAll=Ws,En.bindKey=xa,En.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return La(t)?t:[t]},En.chain=na,En.chunk=function(t,e,n){e=(n?lo(t,e,n):void 0===e)?1:sn(rs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,a=0,s=i(Qe(r/e));o<r;)s[a++]=Gi(t,o,o+=e);return s},En.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},En.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return fe(La(n)?br(n):[n],ai(e,1))},En.cond=function(t){var e=null==t?0:t.length,n=Zr();return t=e?pe(t,(function(t){if("function"!=typeof t[1])throw new vt(o);return[n(t[0]),t[1]]})):[],Fi((function(n){for(var i=-1;++i<e;){var r=t[i];if(oe(r[0],this,n))return oe(r[1],this,n)}}))},En.conforms=function(t){return function(t){var e=_s(t);return function(n){return Jn(n,t,e)}}(Zn(t,1))},En.constant=Us,En.countBy=oa,En.create=function(t,e){var n=Mn(t);return null==e?n:Vn(n,e)},En.curry=function t(e,n,i){var r=Br(e,8,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},En.curryRight=function t(e,n,i){var r=Br(e,16,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},En.debounce=_a,En.defaults=fs,En.defaultsDeep=gs,En.defer=wa,En.delay=Oa,En.difference=Mo,En.differenceBy=Ao,En.differenceWith=Po,En.drop=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=n||void 0===e?1:rs(e))<0?0:e,i):[]},En.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,0,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e):[]},En.dropRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0,!0):[]},En.dropWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0):[]},En.fill=function(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&lo(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=rs(n))<0&&(n=-n>r?0:r+n),(i=void 0===i||i>r?r:rs(i))<0&&(i+=r),i=n>i?0:os(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},En.filter=function(t,e){return(La(t)?ce:oi)(t,Zr(e,3))},En.flatMap=function(t,e){return ai(pa(t,e),1)},En.flatMapDeep=function(t,e){return ai(pa(t,e),1/0)},En.flatMapDepth=function(t,e,n){return n=void 0===n?1:rs(n),ai(pa(t,e),n)},En.flatten=Do,En.flattenDeep=function(t){return(null==t?0:t.length)?ai(t,1/0):[]},En.flattenDepth=function(t,e){return(null==t?0:t.length)?ai(t,e=void 0===e?1:rs(e)):[]},En.flip=function(t){return Br(t,512)},En.flow=Ys,En.flowRight=Gs,En.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},En.functions=function(t){return null==t?[]:ui(t,_s(t))},En.functionsIn=function(t){return null==t?[]:ui(t,ws(t))},En.groupBy=ca,En.initial=function(t){return(null==t?0:t.length)?Gi(t,0,-1):[]},En.intersection=No,En.intersectionBy=Ro,En.intersectionWith=Fo,En.invert=bs,En.invertBy=ys,En.invokeMap=ua,En.iteratee=Xs,En.keyBy=ha,En.keys=_s,En.keysIn=ws,En.map=pa,En.mapKeys=function(t,e){var n={};return e=Zr(e,3),di(t,(function(t,i,r){Xn(n,e(t,i,r),t)})),n},En.mapValues=function(t,e){var n={};return e=Zr(e,3),di(t,(function(t,i,r){Xn(n,i,e(t,i,r))})),n},En.matches=function(t){return Ei(Zn(t,1))},En.matchesProperty=function(t,e){return Mi(t,Zn(e,1))},En.memoize=$a,En.merge=Os,En.mergeWith=$s,En.method=qs,En.methodOf=Ks,En.mixin=Zs,En.negate=Ca,En.nthArg=function(t){return t=rs(t),Fi((function(e){return Pi(e,t)}))},En.omit=Cs,En.omitBy=function(t,e){return Ss(t,Ca(Zr(e)))},En.once=function(t){return ba(2,t)},En.orderBy=function(t,e,n,i){return null==t?[]:(La(e)||(e=null==e?[]:[e]),La(n=i?void 0:n)||(n=null==n?[]:[n]),Ti(t,e,n))},En.over=Qs,En.overArgs=ka,En.overEvery=tl,En.overSome=el,En.partial=Sa,En.partialRight=ja,En.partition=fa,En.pick=ks,En.pickBy=Ss,En.property=nl,En.propertyOf=function(t){return function(e){return null==t?void 0:hi(t,e)}},En.pull=zo,En.pullAll=Ho,En.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Di(t,e,Zr(n,2)):t},En.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Di(t,e,void 0,n):t},En.pullAt=Wo,En.range=il,En.rangeRight=rl,En.rearg=Ea,En.reject=function(t,e){return(La(t)?ce:oi)(t,Ca(Zr(e,3)))},En.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=Zr(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return Ii(t,r),n},En.rest=function(t,e){if("function"!=typeof t)throw new vt(o);return Fi(t,e=void 0===e?e:rs(e))},En.reverse=Uo,En.sampleSize=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),(La(t)?zn:zi)(t,e)},En.set=function(t,e,n){return null==t?t:Hi(t,e,n)},En.setWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:Hi(t,e,n,i)},En.shuffle=function(t){return(La(t)?Hn:Yi)(t)},En.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&lo(t,e,n)?(e=0,n=i):(e=null==e?0:rs(e),n=void 0===n?i:rs(n)),Gi(t,e,n)):[]},En.sortBy=ga,En.sortedUniq=function(t){return t&&t.length?Ki(t):[]},En.sortedUniqBy=function(t,e){return t&&t.length?Ki(t,Zr(e,2)):[]},En.split=function(t,e,n){return n&&"number"!=typeof n&&lo(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=ls(t))&&("string"==typeof e||null!=e&&!qa(e))&&!(e=Ji(e))&&Be(t)?cr(Ve(t),0,n):t.split(e,n):[]},En.spread=function(t,e){if("function"!=typeof t)throw new vt(o);return e=null==e?0:sn(rs(e),0),Fi((function(n){var i=n[e],r=cr(n,0,e);return i&&fe(r,i),oe(t,this,r)}))},En.tail=function(t){var e=null==t?0:t.length;return e?Gi(t,1,e):[]},En.take=function(t,e,n){return t&&t.length?Gi(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},En.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e,i):[]},En.takeRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!1,!0):[]},En.takeWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3)):[]},En.tap=function(t,e){return e(t),t},En.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new vt(o);return Ua(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),_a(t,e,{leading:i,maxWait:e,trailing:r})},En.thru=ia,En.toArray=ns,En.toPairs=js,En.toPairsIn=Es,En.toPath=function(t){return La(t)?pe(t,So):Ja(t)?[t]:br(ko(ls(t)))},En.toPlainObject=ss,En.transform=function(t,e,n){var i=La(t),r=i||Ra(t)||Qa(t);if(e=Zr(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Ua(t)&&za(o)?Mn(Ht(t)):{}}return(r?se:di)(t,(function(t,i,r){return e(n,t,i,r)})),n},En.unary=function(t){return va(t,1)},En.union=Yo,En.unionBy=Go,En.unionWith=Vo,En.uniq=function(t){return t&&t.length?Qi(t):[]},En.uniqBy=function(t,e){return t&&t.length?Qi(t,Zr(e,2)):[]},En.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qi(t,void 0,e):[]},En.unset=function(t,e){return null==t||tr(t,e)},En.unzip=Xo,En.unzipWith=qo,En.update=function(t,e,n){return null==t?t:er(t,e,sr(n))},En.updateWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:er(t,e,sr(n),i)},En.values=Ms,En.valuesIn=function(t){return null==t?[]:Pe(t,ws(t))},En.without=Ko,En.words=zs,En.wrap=function(t,e){return Sa(sr(e),t)},En.xor=Zo,En.xorBy=Jo,En.xorWith=Qo,En.zip=ta,En.zipObject=function(t,e){return or(t||[],e||[],Un)},En.zipObjectDeep=function(t,e){return or(t||[],e||[],Hi)},En.zipWith=ea,En.entries=js,En.entriesIn=Es,En.extend=cs,En.extendWith=us,Zs(En,En),En.add=sl,En.attempt=Hs,En.camelCase=As,En.capitalize=Ps,En.ceil=ll,En.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==e&&(e=(e=as(e))==e?e:0),Kn(as(t),e,n)},En.clone=function(t){return Zn(t,4)},En.cloneDeep=function(t){return Zn(t,5)},En.cloneDeepWith=function(t,e){return Zn(t,5,e="function"==typeof e?e:void 0)},En.cloneWith=function(t,e){return Zn(t,4,e="function"==typeof e?e:void 0)},En.conformsTo=function(t,e){return null==e||Jn(t,e,_s(e))},En.deburr=Ts,En.defaultTo=function(t,e){return null==t||t!=t?e:t},En.divide=dl,En.endsWith=function(t,e,n){t=ls(t),e=Ji(e);var i=t.length,r=n=void 0===n?i:Kn(rs(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},En.eq=Ma,En.escape=function(t){return(t=ls(t))&&F.test(t)?t.replace(N,Re):t},En.escapeRegExp=function(t){return(t=ls(t))&&V.test(t)?t.replace(G,"\\$&"):t},En.every=function(t,e,n){var i=La(t)?de:ii;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},En.find=aa,En.findIndex=To,En.findKey=function(t,e){return ye(t,Zr(e,3),di)},En.findLast=sa,En.findLastIndex=Lo,En.findLastKey=function(t,e){return ye(t,Zr(e,3),ci)},En.floor=cl,En.forEach=la,En.forEachRight=da,En.forIn=function(t,e){return null==t?t:si(t,Zr(e,3),ws)},En.forInRight=function(t,e){return null==t?t:li(t,Zr(e,3),ws)},En.forOwn=function(t,e){return t&&di(t,Zr(e,3))},En.forOwnRight=function(t,e){return t&&ci(t,Zr(e,3))},En.get=ms,En.gt=Aa,En.gte=Pa,En.has=function(t,e){return null!=t&&ro(t,e,mi)},En.hasIn=vs,En.head=Io,En.identity=Vs,En.includes=function(t,e,n,i){t=Ia(t)?t:Ms(t),n=n&&!i?rs(n):0;var r=t.length;return n<0&&(n=sn(r+n,0)),Za(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&_e(t,e,n)>-1},En.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),_e(t,e,r)},En.inRange=function(t,e,n){return e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n){return t>=ln(e,n)&&t<sn(e,n)}(t=as(t),e,n)},En.invoke=xs,En.isArguments=Ta,En.isArray=La,En.isArrayBuffer=Da,En.isArrayLike=Ia,En.isArrayLikeObject=Na,En.isBoolean=function(t){return!0===t||!1===t||Ya(t)&&fi(t)==c},En.isBuffer=Ra,En.isDate=Fa,En.isElement=function(t){return Ya(t)&&1===t.nodeType&&!Xa(t)},En.isEmpty=function(t){if(null==t)return!0;if(Ia(t)&&(La(t)||"string"==typeof t||"function"==typeof t.splice||Ra(t)||Qa(t)||Ta(t)))return!t.length;var e=io(t);if(e==g||e==y)return!t.size;if(po(t))return!Ci(t).length;for(var n in t)if(Ot.call(t,n))return!1;return!0},En.isEqual=function(t,e){return _i(t,e)},En.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===i?_i(t,e,void 0,n):!!i},En.isError=Ba,En.isFinite=function(t){return"number"==typeof t&&rn(t)},En.isFunction=za,En.isInteger=Ha,En.isLength=Wa,En.isMap=Ga,En.isMatch=function(t,e){return t===e||wi(t,e,Qr(e))},En.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,wi(t,e,Qr(e),n)},En.isNaN=function(t){return Va(t)&&t!=+t},En.isNative=function(t){if(ho(t))throw new q("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Oi(t)},En.isNil=function(t){return null==t},En.isNull=function(t){return null===t},En.isNumber=Va,En.isObject=Ua,En.isObjectLike=Ya,En.isPlainObject=Xa,En.isRegExp=qa,En.isSafeInteger=function(t){return Ha(t)&&t>=-9007199254740991&&t<=9007199254740991},En.isSet=Ka,En.isString=Za,En.isSymbol=Ja,En.isTypedArray=Qa,En.isUndefined=function(t){return void 0===t},En.isWeakMap=function(t){return Ya(t)&&io(t)==w},En.isWeakSet=function(t){return Ya(t)&&"[object WeakSet]"==fi(t)},En.join=function(t,e){return null==t?"":on.call(t,e)},En.kebabCase=Ls,En.last=Bo,En.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return void 0!==n&&(r=(r=rs(n))<0?sn(i+r,0):ln(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):xe(t,Oe,r,!0)},En.lowerCase=Ds,En.lowerFirst=Is,En.lt=ts,En.lte=es,En.max=function(t){return t&&t.length?ri(t,Vs,gi):void 0},En.maxBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),gi):void 0},En.mean=function(t){return $e(t,Vs)},En.meanBy=function(t,e){return $e(t,Zr(e,2))},En.min=function(t){return t&&t.length?ri(t,Vs,Si):void 0},En.minBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),Si):void 0},En.stubArray=ol,En.stubFalse=al,En.stubObject=function(){return{}},En.stubString=function(){return""},En.stubTrue=function(){return!0},En.multiply=hl,En.nth=function(t,e){return t&&t.length?Pi(t,rs(e)):void 0},En.noConflict=function(){return Vt._===this&&(Vt._=jt),this},En.noop=Js,En.now=ma,En.pad=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Tr(tn(r),n)+t+Tr(Qe(r),n)},En.padEnd=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?t+Tr(e-i,n):t},En.padStart=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?Tr(e-i,n)+t:t},En.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),cn(ls(t).replace(X,""),e||0)},En.random=function(t,e,n){if(n&&"boolean"!=typeof n&&lo(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=is(t),void 0===e?(e=t,t=0):e=is(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=un();return ln(t+r*(e-t+Wt("1e-"+((r+"").length-1))),e)}return Ni(t,e)},En.reduce=function(t,e,n){var i=La(t)?ge:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ei)},En.reduceRight=function(t,e,n){var i=La(t)?me:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ni)},En.repeat=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),Ri(ls(t),e)},En.replace=function(){var t=arguments,e=ls(t[0]);return t.length<3?e:e.replace(t[1],t[2])},En.result=function(t,e,n){var i=-1,r=(e=lr(e,t)).length;for(r||(r=1,t=void 0);++i<r;){var o=null==t?void 0:t[So(e[i])];void 0===o&&(i=r,o=n),t=za(o)?o.call(t):o}return t},En.round=pl,En.runInContext=t,En.sample=function(t){return(La(t)?Bn:Bi)(t)},En.size=function(t){if(null==t)return 0;if(Ia(t))return Za(t)?Ge(t):t.length;var e=io(t);return e==g||e==y?t.size:Ci(t).length},En.snakeCase=Ns,En.some=function(t,e,n){var i=La(t)?ve:Vi;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},En.sortedIndex=function(t,e){return Xi(t,e)},En.sortedIndexBy=function(t,e,n){return qi(t,e,Zr(n,2))},En.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=Xi(t,e);if(i<n&&Ma(t[i],e))return i}return-1},En.sortedLastIndex=function(t,e){return Xi(t,e,!0)},En.sortedLastIndexBy=function(t,e,n){return qi(t,e,Zr(n,2),!0)},En.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Xi(t,e,!0)-1;if(Ma(t[n],e))return n}return-1},En.startCase=Rs,En.startsWith=function(t,e,n){return t=ls(t),n=null==n?0:Kn(rs(n),0,t.length),e=Ji(e),t.slice(n,n+e.length)==e},En.subtract=fl,En.sum=function(t){return t&&t.length?je(t,Vs):0},En.sumBy=function(t,e){return t&&t.length?je(t,Zr(e,2)):0},En.template=function(t,e,n){var i=En.templateSettings;n&&lo(t,e,n)&&(e=void 0),t=ls(t),e=us({},e,i,zr);var r,o,a=us({},e.imports,i.imports,zr),s=_s(a),l=Pe(a,s),d=0,c=e.interpolate||ct,u="__p += '",h=gt((e.escape||ct).source+"|"+c.source+"|"+(c===H?nt:ct).source+"|"+(e.evaluate||ct).source+"|$","g"),p="//# sourceURL="+(Ot.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ft+"]")+"\n";t.replace(h,(function(e,n,i,a,s,l){return i||(i=a),u+=t.slice(d,l).replace(ut,Fe),n&&(r=!0,u+="' +\n__e("+n+") +\n'"),s&&(o=!0,u+="';\n"+s+";\n__p += '"),i&&(u+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=l+e.length,e})),u+="';\n";var f=Ot.call(e,"variable")&&e.variable;if(f){if(tt.test(f))throw new q("Invalid `variable` option passed into `_.template`")}else u="with (obj) {\n"+u+"\n}\n";u=(o?u.replace(T,""):u).replace(L,"$1").replace(D,"$1;"),u="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+u+"return __p\n}";var g=Hs((function(){return ht(s,p+"return "+u).apply(void 0,l)}));if(g.source=u,Ba(g))throw g;return g},En.times=function(t,e){if((t=rs(t))<1||t>9007199254740991)return[];var n=4294967295,i=ln(t,4294967295);t-=4294967295;for(var r=Ee(i,e=Zr(e));++n<t;)e(n);return r},En.toFinite=is,En.toInteger=rs,En.toLength=os,En.toLower=function(t){return ls(t).toLowerCase()},En.toNumber=as,En.toSafeInteger=function(t){return t?Kn(rs(t),-9007199254740991,9007199254740991):0===t?t:0},En.toString=ls,En.toUpper=function(t){return ls(t).toUpperCase()},En.trim=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return Me(t);if(!t||!(e=Ji(e)))return t;var i=Ve(t),r=Ve(e);return cr(i,Le(i,r),De(i,r)+1).join("")},En.trimEnd=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.slice(0,Xe(t)+1);if(!t||!(e=Ji(e)))return t;var i=Ve(t);return cr(i,0,De(i,Ve(e))+1).join("")},En.trimStart=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.replace(X,"");if(!t||!(e=Ji(e)))return t;var i=Ve(t);return cr(i,Le(i,Ve(e))).join("")},En.truncate=function(t,e){var n=30,i="...";if(Ua(e)){var r="separator"in e?e.separator:r;n="length"in e?rs(e.length):n,i="omission"in e?Ji(e.omission):i}var o=(t=ls(t)).length;if(Be(t)){var a=Ve(t);o=a.length}if(n>=o)return t;var s=n-Ge(i);if(s<1)return i;var l=a?cr(a,0,s).join(""):t.slice(0,s);if(void 0===r)return l+i;if(a&&(s+=l.length-s),qa(r)){if(t.slice(s).search(r)){var d,c=l;for(r.global||(r=gt(r.source,ls(it.exec(r))+"g")),r.lastIndex=0;d=r.exec(c);)var u=d.index;l=l.slice(0,void 0===u?s:u)}}else if(t.indexOf(Ji(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i},En.unescape=function(t){return(t=ls(t))&&R.test(t)?t.replace(I,qe):t},En.uniqueId=function(t){var e=++$t;return ls(t)+e},En.upperCase=Fs,En.upperFirst=Bs,En.each=la,En.eachRight=da,En.first=Io,Zs(En,(ul={},di(En,(function(t,e){Ot.call(En.prototype,e)||(ul[e]=t)})),ul),{chain:!1}),En.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){En[t].placeholder=En})),se(["drop","take"],(function(t,e){Tn.prototype[t]=function(n){n=void 0===n?1:sn(rs(n),0);var i=this.__filtered__&&!e?new Tn(this):this.clone();return i.__filtered__?i.__takeCount__=ln(n,i.__takeCount__):i.__views__.push({size:ln(n,4294967295),type:t+(i.__dir__<0?"Right":"")}),i},Tn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Tn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Zr(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Tn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Tn.prototype[t]=function(){return this.__filtered__?new Tn(this):this[n](1)}})),Tn.prototype.compact=function(){return this.filter(Vs)},Tn.prototype.find=function(t){return this.filter(t).head()},Tn.prototype.findLast=function(t){return this.reverse().find(t)},Tn.prototype.invokeMap=Fi((function(t,e){return"function"==typeof t?new Tn(this):this.map((function(n){return yi(n,t,e)}))})),Tn.prototype.reject=function(t){return this.filter(Ca(Zr(t)))},Tn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Tn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Tn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Tn.prototype.toArray=function(){return this.take(4294967295)},di(Tn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=En[i?"take"+("last"==e?"Right":""):e],o=i||/^find/.test(e);r&&(En.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,s=e instanceof Tn,l=a[0],d=s||La(e),c=function(t){var e=r.apply(En,fe([t],a));return i&&u?e[0]:e};d&&n&&"function"==typeof l&&1!=l.length&&(s=d=!1);var u=this.__chain__,h=!!this.__actions__.length,p=o&&!u,f=s&&!h;if(!o&&d){e=f?e:new Tn(this);var g=t.apply(e,a);return g.__actions__.push({func:ia,args:[c],thisArg:void 0}),new Pn(g,u)}return p&&f?t.apply(this,a):(g=this.thru(c),p?i?g.value()[0]:g.value():g)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=bt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);En.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(La(r)?r:[],t)}return this[n]((function(n){return e.apply(La(n)?n:[],t)}))}})),di(Tn.prototype,(function(t,e){var n=En[e];if(n){var i=n.name+"";Ot.call(xn,i)||(xn[i]=[]),xn[i].push({name:e,func:n})}})),xn[Er(void 0,2).name]=[{name:"wrapper",func:void 0}],Tn.prototype.clone=function(){var t=new Tn(this.__wrapped__);return t.__actions__=br(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=br(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=br(this.__views__),t},Tn.prototype.reverse=function(){if(this.__filtered__){var t=new Tn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Tn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=La(t),i=e<0,r=n?t.length:0,o=function(t,e,n){var i=-1,r=n.length;for(;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=ln(e,t+a);break;case"takeRight":t=sn(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,d=i?s:a-1,c=this.__iteratees__,u=c.length,h=0,p=ln(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return ir(t,this.__actions__);var f=[];t:for(;l--&&h<p;){for(var g=-1,m=t[d+=e];++g<u;){var v=c[g],b=v.iteratee,y=v.type,x=b(m);if(2==y)m=x;else if(!x){if(1==y)continue t;break t}}f[h++]=m}return f},En.prototype.at=ra,En.prototype.chain=function(){return na(this)},En.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},En.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},En.prototype.plant=function(t){for(var e,n=this;n instanceof An;){var i=Eo(n);i.__index__=0,i.__values__=void 0,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},En.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Tn){var e=t;return this.__actions__.length&&(e=new Tn(this)),(e=e.reverse()).__actions__.push({func:ia,args:[Uo],thisArg:void 0}),new Pn(e,this.__chain__)}return this.thru(Uo)},En.prototype.toJSON=En.prototype.valueOf=En.prototype.value=function(){return ir(this.__wrapped__,this.__actions__)},En.prototype.first=En.prototype.head,Zt&&(En.prototype[Zt]=function(){return this}),En}();Vt._=Ke,void 0===(r=function(){return Ke}.call(e,n,e,i))||(i.exports=r)}).call(this)}).call(this,n(166),n(242)(t))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(111),c=n(5),u=n(16),h=n(6);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,p=t.count,f=t.data,g=void 0===f?{}:f,m=t.disabled,v=t.htmlOptions,b=void 0===v?{}:v,y=t.icon,x=void 0===y?null:y,_=t.iconRight,w=void 0!==_&&_,O=t.id,$=t.loading,C=void 0!==$&&$,k=t.onClick,S=t.tabIndex,j=t.link,E=void 0===j?null:j,M=t.newWindow,A=void 0!==M&&M,P=t.target,T=void 0===P?"":P,L=t.text,D=t.htmlType,I=void 0===D?"button":D,N=t.value,R=t.variant,F=t.form,B=void 0===F?null:F,z=Object(s.a)(n),H=Object(s.c)(g),W=Object(s.d)(b),U=a()(function(t){var e=t.disabled,n=void 0!==e&&e,i=t.fullWidth,r=void 0!==i&&i,o=t.highlight,a=t.icon,s=t.loading,l=void 0!==s&&s,c=t.type,u=void 0===c?"inline":c,h=t.variant,p=void 0===h?"primary":h,f=t.size,g=void 0===f?null:f,m="pb_button_kit";return m+="".concat(null!==p?"_".concat(p):""),m+="".concat(null!==u?"_".concat(u):""),m+="".concat(r?"_block":""),m+=n?"_disabled":"_enabled",m+=l?"_loading":"",m+="".concat(null!==g?" size_".concat(g):""),m+="".concat("reaction"!==p||Object(d.a)(a)?"":" reaction_default"),m+="".concat("reaction"===p&&o?" active":"")}(t),Object(l.c)(t),o),Y=r.a.createElement("div",{className:"loading-icon"},r.a.createElement(c.a,{fixedWidth:!0,icon:"spinner",pulse:!0})),G=r.a.createElement("span",{className:"pb_button_content"},x&&!w&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(x," fa-fw button_with_icon")}),r.a.createElement("span",null,L||i),x&&w&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(x," fa-fw button_with_icon_right")})),V=function(){return C?r.a.createElement(r.a.Fragment,null,Y):G};return r.a.createElement(r.a.Fragment,null,E?r.a.createElement("a",Object.assign({},z,H,W,{className:U,href:E,id:O,rel:"child"!==T?"noreferrer":null,role:"link",tabIndex:S,target:T&&E?T:A?"_blank":null}),V()):"reaction"===R?r.a.createElement("button",Object.assign({},z,H,W,{className:U,disabled:m,form:B,id:O,onClick:k,role:"button",tabIndex:S,type:I,value:N}),x&&Object(d.a)(x)&&r.a.createElement(h.a,{align:"center"},r.a.createElement(c.a,{icon:x}),p&&r.a.createElement(u.a,{paddingLeft:"xxs",size:"xs"},p)),!Object(d.a)(x)&&r.a.createElement(c.a,{icon:x||"face-smile-plus"})):r.a.createElement("button",Object.assign({},z,H,W,{className:U,disabled:m,form:B,id:O,onClick:k,role:"button",tabIndex:S,type:I,value:N}),V()))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(5),c=n(38),u=n(121);function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.active,n=void 0!==e&&e,i=t.highlighted_border,o=void 0===i||i,p=t.aria,f=void 0===p?{}:p,g=t.orientation,m=t.variant,v=t.fontWeight,b=void 0===v?function(t,e){return"horizontal"===t&&"subtle"===e?"regular":"horizontal"===t&&"normal"===e?"bold":"regular"}(g,m):v,y=t.children,x=t.className,_=t.collapsible,w=t.data,O=void 0===w?{}:w,$=t.dark,C=void 0!==$&&$,k=t.fontSize,S=void 0===k?"normal":k,j=t.htmlOptions,E=void 0===j?{}:j,M=t.iconLeft,A=t.iconRight,P=t.onIconRightClick,T=t.onIconLeftClick,L=t.id,D=t.imageUrl,I=t.link,N=t.onClick,R=t.target,F=void 0===R?"_self":R,B=t.text,z=void 0===B?"":B,H=t.collapsibleTrail,W=t.collapsed,U=t.itemSpacing,Y={margin:t.margin,marginBottom:t.marginBottom,marginTop:t.marginTop,marginRight:t.marginRight,marginLeft:t.marginLeft,marginX:t.marginX,marginY:t.marginY},G=function(t){var e={},n={};for(var i in t)i.startsWith("padding")?e[i]=t[i]:i.startsWith("margin")&&(n[i]=t[i]);return{filteredPadding:e,filteredMargin:n}}(U),V=G.filteredPadding,X=G.filteredMargin,q=Object.assign(Object.assign({},X||{}),Object.entries(Y).reduce((function(t,e){var n=h(e,2),i=n[0],r=n[1];return r&&(t[i]=r),t}),{})),K=Object.assign({},t);null==K||delete K.margin,null==K||delete K.marginX,null==K||delete K.marginY,null==K||delete K.marginBottom,null==K||delete K.marginTop,null==K||delete K.marginRight,null==K||delete K.marginLeft;var Z=I?"a":"div",J=!0===n?"active":"",Q=!0===n&&!1===o?"highlighted_border_none":"",tt=_&&H?"collapsible_trail":"",et={small:"font_size_small",normal:"font_size_normal"}[S],nt={bold:"font_bold",bolder:"font_bolder",regular:"font_regular"}[b],it=Object(s.a)(f),rt=Object(s.c)(O),ot=Object(s.d)(E),at=a()(_?"pb_nav_list_item_link_collapsible":"pb_nav_list_item_link"),st=a()(Object(s.b)("pb_nav_list_kit_item",J,Q),_?Object(s.b)("pb_collapsible_nav_item",J,Q):"",et,nt,at,_?Object(l.c)(K,Object.assign({},V)):Object(l.c)(t,Object.assign({},U)),x),lt=function(t){T&&(t.stopPropagation(),T())},dt=r.a.Children.map(y,(function(t){if(r.a.isValidElement(t)){var e={itemSpacing:U};return r.a.cloneElement(t,e)}return t})),ct=Object(s.b)("collapsible_nav_wrapper",J,Q,tt);return r.a.createElement(r.a.Fragment,null,_?r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{className:ct,collapsed:W,icon:A&&A,iconSize:"xs",id:L,onClick:N,onIconClick:P},r.a.createElement(u.a.Main,{className:Object(l.c)(Object.assign({},q)),dark:C},r.a.createElement(Z,Object.assign({},it,rt,ot,{className:st,href:I,id:L,target:F}),D&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:D,onClick:function(t){return lt(t)}},r.a.createElement(c.a,{className:"pb_nav_img_wrapper",url:D})),M&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:M,onClick:function(t){return lt(t)}},r.a.createElement(d.a,{className:"pb_nav_list_item_icon_left_collapsible",fixedWidth:!0,icon:M})),r.a.createElement("span",{className:"pb_nav_list_item_text_collapsible"},z))),r.a.createElement(u.a.Content,null,dt))):r.a.createElement(Z,Object.assign({},it,rt,ot,{className:st,href:I,id:L,onClick:N,target:F}),D&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:D},r.a.createElement(c.a,{className:"pb_nav_img_wrapper",url:D})),M&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:M},r.a.createElement(d.a,{className:"pb_nav_list_item_icon_left",fixedWidth:!0,icon:M})),r.a.createElement("span",{className:"pb_nav_list_item_text"},z||y),A&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:A},r.a.createElement(d.a,{className:"pb_nav_list_item_icon_right",fixedWidth:!0,icon:A}))))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var i=n(37);function r(t){return t instanceof Object(i.a)(t).Element||t instanceof Element}function o(t){return t instanceof Object(i.a)(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Object(i.a)(t).ShadowRoot||t instanceof ShadowRoot)}},function(t,e,n){var i;!function(r,o){t.exports?(o.default=o,t.exports=r.document?o(r):o):void 0===(i=function(){return o(r)}.call(e,n,e,t))||(t.exports=i)}("undefined"!=typeof window?window:this,(function(t){function e(e,n,i,r){e.hasOwnProperty(n)||(e[n]=r.apply(null,i),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}var n={};return e(n,"Core/Globals.js",[],(function(){var e;return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.3.3",e.win=void 0!==t?t:{},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}(e||(e={})),e})),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(t){function e(n,i,r,o){var a=i?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),d=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==o){var c="";s&&(d+="?"),m(o,(function(t,e){c+="\n - ".concat(e,": ").concat(t),s&&(d+=encodeURI(e)+"="+encodeURI(t))})),d+=c}b(t,"displayError",{chart:r,code:n,message:d,params:o},(function(){if(i)throw Error(d);_.console&&-1===e.messages.indexOf(d)&&console.warn(d)})),e.messages.push(d)}function n(t,e){return parseInt(t,e||10)}function i(t){return"string"==typeof t}function r(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!(!t||"object"!=typeof t||e&&r(t))}function a(t){return o(t)&&"number"==typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function d(t){return null!=t}function c(t,e,n){var r,o=i(e)&&!d(n),a=function(e,n){d(e)?t.setAttribute(n,e):o?(r=t.getAttribute(n))||"class"!==n||(r=t.getAttribute(n+"Name")):t.removeAttribute(n)};return i(e)?a(n,e):m(e,a),r}function u(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t}function h(){for(var t=arguments,e=t.length,n=0;n<e;n++){var i=t[n];if(null!=i)return i}}function p(e,n){t.isMS&&!t.svg&&n&&d(n.opacity)&&(n.filter="alpha(opacity=".concat(100*n.opacity,")")),u(e.style,n)}function f(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function g(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,n){for(var i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function v(e,n,i){function r(n,i){var r=e.removeEventListener||t.removeEventListenerPolyfill;r&&r.call(e,n,i,!1)}function o(t){var i;if(e.nodeName){if(n){var o={};o[n]=!0}else o=t;m(o,(function(e,n){if(t[n])for(i=t[n].length;i--;)r(n,t[n][i].fn)}))}}var a="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;n?(a=s[n]||[],i?(s[n]=a.filter((function(t){return i!==t.fn})),r(n,i)):(o(s),s[n]=[])):(o(s),delete a.hcEvents)}}function b(e,n,i,r){if(i=i||{},x.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=x.createEvent("Events");o.initEvent(n,!0,!0),i=u(o,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i)}else if(e.hcEvents){i.target||u(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:n}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[n]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[n])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,i)&&i.preventDefault()}))}r&&!i.defaultPrevented&&r.call(e,i)}var y=t.charts,x=t.doc,_=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var w=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,i){t[i]=function(t){var r;return e(32,!1,void 0,((r={})["Highcharts.".concat(i)]="use Array.".concat(n),r)),Array.prototype[n].apply(t,[].slice.call(arguments,1))}}));var O,$=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(O?"":t)+e++}}();return _.jQuery&&(_.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[i(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):y[c(this[0],"data-highcharts-chart")]}),w={addEvent:function(e,n,i,r){void 0===r&&(r={});var o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),o[n]||(o[n]=[]),o[n].push({fn:i,order:"number"==typeof r.order?r.order:1/0}),o[n].sort((function(t,e){return t.order-e.order})),function(){v(e,n,i)}},arrayMax:function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},attr:c,clamp:function(t,e,n){return t>e?t<n?t:n:e},cleanRecursively:function t(e,n){var i={};return m(e,(function(r,a){o(e[a],!0)&&!e.nodeType&&n[a]?(r=t(e[a],n[a]),Object.keys(r).length&&(i[a]=r)):(o(e[a])||e[a]!==n[a]||a in e&&!(a in n))&&(i[a]=e[a])})),i},clearTimeout:function(t){d(t)&&clearTimeout(t)},correctFloat:g,createElement:function(t,e,n,i,r){return t=x.createElement(t),e&&u(t,e),r&&p(t,{padding:"0",border:"none",margin:"0"}),n&&p(t,n),i&&i.appendChild(t),t},css:p,defined:d,destroyObjectProperties:function(t,e){m(t,(function(n,i){n&&n!==e&&n.destroy&&n.destroy(),delete t[i]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},error:e,extend:u,extendClass:function(t,e){var n=function(){};return u(n.prototype=new t,e),n},find:w,fireEvent:b,getMagnitude:f,getNestedProperty:function(t,e){for(t=t.split(".");t.length&&d(e);){var n=t.shift();if(void 0===n||"__proto__"===n)return;if(!d(e=e[n])||"function"==typeof e||"number"==typeof e.nodeType||e===_)return}return e},getStyle:function i(r,o,a){var s=t.getStyle||i;if("width"===o)return o=Math.min(r.offsetWidth,r.scrollWidth),(a=r.getBoundingClientRect&&r.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(_.getComputedStyle||e(27,!0),r=_.getComputedStyle(r,void 0)){var l=r.getPropertyValue(o);h(a,"opacity"!==o)&&(l=n(l))}return l},inArray:function(t,n,i){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,i)},isArray:r,isClass:s,isDOMElement:a,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:o,isString:i,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),m(e,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!o(n,!0)||s(n)||a(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){var o=t,a=t/(n=h(n,f(t)));for(e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter((function(t){return 0==t%1})):.1>=n&&(e=[1/n]))),i=0;i<e.length&&(o=e[i],!(r&&o*n>=t||!r&&a<=(e[i]+(e[i+1]||e[i]))/2));i++);return g(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(_.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(_.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:h,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:v,splat:function(t){return r(t)?t:[t]},stableSort:function(t,e){var n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort((function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n})),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return 0<e?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:$,useSerialIds:function(t){return O=h(t,O)},wrap:function(t,e,n){var i=t[e];t[e]=function(){var t=arguments,e=this;return n.apply(this,[function(){return i.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}})),e(n,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.isNumber,i=e.merge,r=e.pInt;return e=function(){function e(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var i=t.Color;return i&&i!==e?new i(n):this instanceof e?void this.init(n):new e(n)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var n;if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var i=t.length,r=parseInt(t.substr(1),16);7===i?n=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===i&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=e.parsers.length;r--&&!n;){var o=e.parsers[r];(i=o.regex.exec(t))&&(n=o.parse(i))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){var o=i(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,n){o.stops[n]=[o.stops[n][0],e.get(t)]})),o}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?"".concat(r[3]):"rgba("+r.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(var i=0;3>i;i++)e[i]+=r(255*t),0>e[i]&&(e[i]=0),255<e[i]&&(e[i]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,r=t.rgba;return n(i[0])&&n(r[0])?((t=1!==r[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(t?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],e.None=new e(""),e}()})),e(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.win,i=e.defined,r=e.error,o=e.extend,a=e.isObject,s=e.merge,l=e.objectEach,d=e.pad,c=e.pick,u=e.splat,h=e.timeUnits,p=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),i=n-this.getTimezoneOffset(e);return e.setTime(i),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](n);var i=this.getTimezoneOffset(e);return i=e.getTime()-i,e.setTime(i),e["setUTC"+t](n),t=this.getTimezoneOffset(e),i=e.getTime()+t,e.setTime(i)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){void 0===t&&(t={});var e=c(t.useUTC,!0);this.options=t=s(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,n,i,r,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var l=this.getTimezoneOffset(a);s!==l?a+=l-s:s-36e5!==this.getTimezoneOffset(a-36e5)||f||(a-=36e5)}else a=new this.Date(t,e,c(n,1),c(i,0),c(r,0),c(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,i=e.getTimezoneOffset,o=e.moment||n.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};r(25)}return this.useUTC&&i?function(t){return 6e4*i(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(n),u=this.get("Hours",s),h=this.get("Day",s),p=this.get("Date",s),f=this.get("Month",s),g=this.get("FullYear",s),m=t.defaultOptions.lang,v=m&&m.weekdays,b=m&&m.shortWeekdays;return s=o({a:b?b[h]:v[h].substr(0,3),A:v[h],d:d(p),e:d(p,2," "),w:h,b:m.shortMonths[f],B:m.months[f],m:d(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:d(u),k:u,I:d(u%12||12),l:u%12||12,M:d(this.get("Minutes",s)),p:12>u?"AM":"PM",P:12>u?"am":"pm",S:d(s.getSeconds()),L:d(Math.floor(n%1e3),3)},t.dateFormats),l(s,(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(a,n):t)})),r?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=u(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,r){var a,s=this,l=[],d={},u=new s.Date(e),p=t.unitRange,f=t.count||1;if(r=c(r,1),i(e)){if(s.set("Milliseconds",u,p>=h.second?0:f*Math.floor(s.get("Milliseconds",u)/f)),p>=h.second&&s.set("Seconds",u,p>=h.minute?0:f*Math.floor(s.get("Seconds",u)/f)),p>=h.minute&&s.set("Minutes",u,p>=h.hour?0:f*Math.floor(s.get("Minutes",u)/f)),p>=h.hour&&s.set("Hours",u,p>=h.day?0:f*Math.floor(s.get("Hours",u)/f)),p>=h.day&&s.set("Date",u,p>=h.month?1:Math.max(1,f*Math.floor(s.get("Date",u)/f))),p>=h.month){s.set("Month",u,p>=h.year?0:f*Math.floor(s.get("Month",u)/f));var g=s.get("FullYear",u)}p>=h.year&&s.set("FullYear",u,g-g%f),p===h.week&&(g=s.get("Day",u),s.set("Date",u,s.get("Date",u)-g+r+(g<r?-7:0))),g=s.get("FullYear",u),r=s.get("Month",u);var m=s.get("Date",u),v=s.get("Hours",u);for(e=u.getTime(),!s.variableTimezone&&s.useUTC||!i(n)||(a=n-e>4*h.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=u.getTime(),u=1;e<n;)l.push(e),e=p===h.year?s.makeTime(g+u*f,0):p===h.month?s.makeTime(g,r+u*f):!a||p!==h.day&&p!==h.week?a&&p===h.hour&&1<f?s.makeTime(g,r,m,v+u*f):e+p*f:s.makeTime(g,r,m+u*f*(p===h.day?1:7)),u++;l.push(e),p<=h.hour&&1e4>l.length&&l.forEach((function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(d[t]="day")}))}return l.info=o(t,{higherRanks:d,totalRange:p*f}),l},e.prototype.getDateFormat=function(t,e,n,i){var r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in h){if(t===h.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(h[s]>t){s=a;break}if(o[s]&&r.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}return this.resolveDTLFormat(i[s]).main},e}()})),e(n,"Core/Defaults.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(t,e,n,i,r,o){e=e.parse;var a=o.merge,s={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation: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:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new r(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}})),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=t.parse,r=e.win,o=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,i=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var r=0;r<t.length;r++){for(var a=e[r],s=t[r],l=[],d=0;d<s.length;d++){var c=a[d],u=s[d];o(c)&&o(u)&&("A"!==s[0]||4!==d&&5!==d)?l[d]=c+n*(u-c):l[d]=u}i.push(l)}else i=t;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)},t.prototype.run=function(e,n,i){var o=this,a=o.options,s=function(t){return!s.stopped&&o.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},d=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(d)};e!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=n,this.unit=i,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&l(d)):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,n=this.options,i=this.elem,r=n.complete,o=n.duration,s=n.curAnim;if(i.attr&&!i.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(t){!0!==t&&(l=!1)})),l&&r&&r.call(i),t=!1}else this.pos=n.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function i(t,e){for(;t.length<h;){var n=t[0],i=e[h-t.length];i&&"M"===n[0]&&(t[0]="C"===i[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),t.unshift(n),l&&(n=t.pop(),t.push(t[t.length-1],n))}}function r(t,e){for(;t.length<h;)if("C"===(e=t[Math.floor(t.length/d)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var n=t[Math.floor(t.length/d)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}var a=t.startX,s=t.endX;n=n.slice();var l=t.isArea,d=l?2:1;if(!(e=e&&e.slice()))return[n,n];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var c=t;break}if(a[0]===s[s.length-a.length+t]){c=t;var u=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){c=a.length-t;break}}void 0===c&&(e=[])}if(e.length&&o(c)){var h=n.length+c*d;u?(i(e,n),r(n,e)):(i(n,e),r(e,n))}return[e,n]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(t,e){function n(t){return l(t)?d({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function i(e,n){for(var i=t.timers.length;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}var r=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,l=e.isObject,d=e.merge,c=e.objectEach,u=e.pick;return{animate:function(e,n,r){var u,h,p,f="";if(!l(r)){var g=arguments;r={duration:g[2],easing:g[3],complete:g[4]}}s(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=d(n),c(n,(function(s,l){i(e,l),p=new t(e,r,l),h=void 0,"d"===l&&a(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,u=0,h=1):e.attr?u=e.attr(l):(u=parseFloat(o(e,l))||0,"opacity"!==l&&(f="px")),h||(h=s),"string"==typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),p.run(u,h,f)}))},animObject:n,getDeferredAnimation:function(t,e,i){var o=n(e),a=0,s=0;return(i?[i]:t.series).forEach((function(t){t=n(t.options.animation),a=e&&r(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=u(t,e.options.chart.animation,!0)},stop:i}})),e(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.SVG_NS,i=e.attr,r=e.createElement,o=e.css,a=e.error,s=e.isFunction,l=e.isString,d=e.objectEach,c=e.splat,u=(e=t.win.trustedTypes)&&s(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),h=u?u.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(h,"text/html")}catch(t){p=!1}return s=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return d(t,(function(n,i){var r=!0;-1===e.allowedAttributes.indexOf(i)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(r=l(n)&&e.allowedReferences.some((function(t){return 0===n.indexOf(t)}))),r||(a(33,!1,void 0,{"Invalid attribute in config":"".concat(i)}),delete t[i]),l(n)&&t[i]&&(t[i]=n.replace(/</g,"&lt;"))})),t},e.parseStyle=function(t){return t.split(";").reduce((function(t,e){var n=(e=e.split(":").map((function(t){return t.trim()}))).shift();return n&&e.length&&(t[n.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))]=e.join(":")),t}),{})},e.setElementHTML=function(t,n){t.innerHTML=e.emptyHTML,n&&new e(n).addToDOM(t)},e.prototype.addToDOM=function(r){return function r(s,l){var u;return c(s).forEach((function(s){var c=s.tagName,h=s.textContent?t.doc.createTextNode(s.textContent):void 0,p=e.bypassHTMLFiltering;if(c)if("#text"===c)var f=h;else if(-1!==e.allowedTags.indexOf(c)||p){c=t.doc.createElementNS("svg"===c?n:l.namespaceURI||n,c);var g=s.attributes||{};d(s,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(g[e]=t)})),i(c,p?g:e.filterUserAttributes(g)),s.style&&o(c,s.style),h&&c.appendChild(h),r(s.children||[],c),f=c}else a(33,!1,void 0,{"Invalid tagName in config":c});f&&l.appendChild(f),u=f})),u}(this.nodes,r)},e.prototype.parseMarkup=function(t){var n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),p)t=(new DOMParser).parseFromString(u?u.createHTML(t):t,"text/html");else{var i=r("div");i.innerHTML=t,t={body:i}}var o=function(t,n){var i=t.nodeName.toLowerCase(),r={tagName:i};if("#text"===i&&(r.textContent=t.textContent||""),i=t.attributes){var a={};[].forEach.call(i,(function(t){"data-style"===t.name?r.style=e.parseStyle(t.value):a[t.name]=t.value})),r.attributes=a}if(t.childNodes.length){var s=[];[].forEach.call(t.childNodes,(function(t){o(t,s)})),s.length&&(r.children=s)}n.push(r)};return[].forEach.call(t.body.childNodes,(function(t){return o(t,n)})),n},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text textPath thead title tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=h,e.bypassHTMLFiltering=!1,e}()})),e(n,"Core/FormatUtilities.js",[n["Core/Defaults.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e,n,r){t=+t||0,e=+e;var o=i.lang,d=(t.toString().split(".")[1]||"").split("e")[0].length,c=t.toString().split("e"),u=e;if(-1===e)e=Math.min(d,20);else if(a(e)){if(e&&c[1]&&0>c[1]){var h=e+ +c[1];0<=h?(c[0]=(+c[0]).toExponential(h).split("e")[0],e=h):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;h=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,d)-1)).toFixed(e);var p=3<(d=String(l(h))).length?d.length%3:0;return n=s(n,o.decimalPoint),r=s(r,o.thousandsSep),t=(0>t?"-":"")+(p?d.substr(0,p)+r:""),t=0>+c[1]&&!u?"0":t+d.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+r),e&&(t+=n+h.slice(-e)),c[1]&&0!=+t&&(t+="e"+c[1]),t}var i=t.defaultOptions,r=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return r.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,d=/f$/,c=/\.([0-9])/,u=i.lang,h=a&&a.time||r;a=a&&a.numberFormatter||n;for(var p=[];t;){var f=t.indexOf(s);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),s=o(g.shift()||"",e),g.length&&"number"==typeof s)if(g=g.join(":"),d.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==s&&(s=a(s,m,u.decimalPoint,-1<g.indexOf(",")?u.thousandsSep:""))}else s=h.dateFormat(g,s);p.push(s)}else p.push(g);t=t.slice(f+1),s=(l=!l)?"}":"{"}return p.push(t),p.join("")},numberFormat:n}})),e(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.clamp,i=t.pick,r=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,l=e,d=l.reducedLen||o,c=function(t,e){return(e.rank||0)-(t.rank||0)},u=function(t,e){return t.target-e.target},h=!0,p=[],f=0;for(s=e.length;s--;)f+=e[s].size;if(f>d){for(r(e,c),f=s=0;f<=d;)f+=e[s].size,s++;p=e.splice(s-1,e.length)}for(r(e,u),e=e.map((function(t){return{size:t.size,targets:[t.target],align:i(t.align,.5)}}));h;){for(s=e.length;s--;)d=e[s],c=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/2,d.pos=n(c-d.size*d.align,0,o-d.size);for(s=e.length,h=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),h=!0)}return l.push.apply(l,p),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,void 0!==a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,a),!0):(n+=l[s].size,s++,!1)}))})),r(l,u),l}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=t.animate,o=t.animObject,a=t.stop,s=n.deg2rad,l=n.doc,d=n.svg,c=n.SVG_NS,u=n.win,h=i.addEvent,p=i.attr,f=i.createElement,g=i.css,m=i.defined,v=i.erase,b=i.extend,y=i.fireEvent,x=i.isArray,_=i.isFunction,w=i.isString,O=i.merge,$=i.objectEach,C=i.pick,k=i.pInt,S=i.syncTimeout,j=i.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=c,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var i=this.zIndexSetter();return i||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var i,r,o,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||w(n))&&(this.alignTo=i=n||"renderer",v(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=C(n,s[i],"scrollablePlotBox"===i?s.plotBox:void 0,s),i=t.align;var d=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===i?r=1:"center"===i&&(r=2),r&&(s+=(n.width-(t.width||0))/r),a[e?"translateX":"x"]=Math.round(s),"bottom"===d?o=1:"middle"===d&&(o=2),o&&(l+=(n.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var i=this,a=o(C(e,this.renderer.globalAnimation,!0));return e=a.defer,C(l.hidden,l.msHidden,l.webkitHidden,!1)&&(a.duration=0),0!==a.duration?(n&&(a.complete=n),S((function(){i.element&&r(i,t,a)}),e)):(this.attr(t,void 0,n||a.complete),$(t,(function(t,e){a.step&&a.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&n.svg){this.fakeTS=!0,i=i.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();var r=l.createElementNS(c,"tspan");p(r,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),t=e.querySelector("textPath")||e,[].forEach.call(t.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),r.appendChild(e)}));var o=0;[].forEach.call(t.querySelectorAll("text tspan"),(function(t){o+=Number(t.getAttribute("dy"))})),(i=l.createElementNS(c,"tspan")).textContent="​",p(i,{x:Number(e.getAttribute("x")),dy:-o}),r.appendChild(i),t.insertBefore(r,t.firstChild)}},t.prototype.attr=function(t,e,n,i){var r,o,s,l=this.element,d=this.symbolCustomAttribs,c=this;if("string"==typeof t&&void 0!==e){var u=t;(t={})[u]=e}return"string"==typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):($(t,(function(e,n){o=!1,i||a(this,n),this.symbolName&&-1!==d.indexOf(n)&&(r||(this.symbolAttr(t),r=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||((s=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,s))}),this),this.afterSetters()),n&&n.call(this),c},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),m(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,n,i){var r,o,a,s,l,d,c,u,h,p,f,g=this.renderer,v=[];y(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],l=g.gradients,d=t.stops,h=i.radialReference,x(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!m(a.gradientUnits)&&(s=a,a=O(a,g.getRadialAttr(h,s),{gradientUnits:"userSpaceOnUse"})),$(a,(function(t,e){"id"!==e&&v.push(e,t)})),$(d,(function(t){v.push(t)})),v=v.join(","),l[v])p=l[v].attr("id");else{a.id=p=j();var b=l[v]=g.createElement(o).attr(a).add(g.defs);b.radAttr=s,b.stops=[],d.forEach((function(t){0===t[1].indexOf("rgba")?(r=e.parse(t[1]),c=r.get("rgb"),u=r.get("a")):(c=t[1],u=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":u}).add(b),b.stops.push(t)}))}f="url("+g.url+"#"+p+")",i.setAttribute(n,f),i.gradient=v,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,n={},i=this.element,r=!e;if(t.color&&(t.fill=t.color),e&&$(t,(function(t,i){e&&e[i]!==t&&(n[i]=t,r=!0)})),r){if(e&&(t=b(e,n)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===i.nodeName.toLowerCase()&&t.width)var o=this.textWidth=k(t.width);this.styles=t,o&&!d&&this.renderer.forExport&&delete t.width;var a=O(t);i.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(t){return a&&delete a[t]})),g(i,a),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+k(n[t])*C(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,i=e.ownerSVGElement,r=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,a(t),t.clipPath&&i){var o=t.clipPath;[].forEach.call(i.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(i=0;i<t.stops.length;i++)t.stops[i].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),n.styledMode||t.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)e=r.parentGroup,t.safeRemoveChild(r.div),delete r.div,r=e;t.alignTo&&v(n.alignedObjects,t),$(t,(function(e,n){t[n]&&t[n].parentGroup===t&&t[n].destroy&&t[n].destroy(),delete t[n]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.dSetter=function(t,e,n){x(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,n){return e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:C(t,150),complete:function(){e.hide()}})},t.prototype.fillSetter=function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)},t.prototype.getBBox=function(e,n){var i=this.alignValue,r=this.element,o=this.renderer,a=this.styles,l=this.textStr,d=o.cache,c=o.cacheKeys,u=r.namespaceURI===this.SVG_NS;n=C(n,this.rotation,0);var h,p=o.styledMode?r&&t.prototype.getStyle.call(r,"font-size"):a&&a.fontSize;if(m(l)){var f=l.toString();-1===f.indexOf("<")&&(f=f.replace(/[0-9]/g,"0")),f+=["",n,p,this.textWidth,i,a&&a.textOverflow,a&&a.fontWeight].join()}if(f&&!e&&(h=d[f]),!h){if(u||o.forExport){try{var v=this.fakeTS&&function(t){var e=r.querySelector(".highcharts-text-outline");e&&g(e,{display:t})};_(v)&&v("none"),h=r.getBBox?b({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight,x:0,y:0},_(v)&&v("")}catch(t){}(!h||0>h.width)&&(h={x:0,y:0,width:0,height:0})}else h=this.htmlGetBBox();if(o.isSVG&&(o=h.width,e=h.height,u&&(h.height=e={"11px,17":14,"13px,20":16}[""+(p||"")+",".concat(Math.round(e))]||e),n)){u=Number(r.getAttribute("y")||0)-h.y,i={right:1,center:.5}[i||0]||0,a=n*s,p=(n-90)*s;var y=o*Math.cos(a);n=o*Math.sin(a),v=Math.cos(p),a=Math.sin(p),y=(v=(p=(o=h.x+i*(o-y)+u*v)+y)-e*v)-y,n=(e=(i=(u=h.y+u-i*n+u*a)+n)-e*a)-n,h.x=Math.min(o,p,v,y),h.y=Math.min(u,i,e,n),h.width=Math.max(o,p,v,y)-h.x,h.height=Math.max(u,i,e,n)-h.y}if(f&&(""===l||0<h.height)){for(;250<c.length;)delete d[c.shift()];d[f]||c.push(f),d[f]=h}}return h},t.prototype.getStyle=function(t){return u.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(){return this.attr({visibility:"hidden"})},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,y(this,"afterInit")},t.prototype.on=function(t,e){var n=this.onEvents;return n[t]&&n[t](),n[t]=h(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,n){this.opacity=t=Number(Number(t).toFixed(3)),n.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(w(t)?new RegExp("(^| )".concat(t,"( |$)")):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,e){var n=this;e=O(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);var i=this.renderer.url,r=this.text||this,o=r.textPath,a=e.attributes,s=e.enabled;return t=t||o&&o.path,o&&o.undo(),t&&s?(e=h(r,"afterModifyTree",(function(e){if(t&&s){var o=t.attr("id");o||t.attr("id",o=j());var l={x:0,y:0};m(a.dx)&&(l.dx=a.dx,delete a.dx),m(a.dy)&&(l.dy=a.dy,delete a.dy),r.attr(l),n.attr({transform:""}),n.box&&(n.box=n.box.destroy()),l=e.nodes.slice(0),e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:b(a,{"text-anchor":a.textAnchor,href:""+i+"#".concat(o)}),children:l}}})),r.textPath={path:t,undo:e}):(r.attr({dx:0,dy:0}),delete r.textPath),this.added&&(r.textCache="",this.renderer.buildText(r)),this},t.prototype.shadow=function(t,e,n){var i=[],r=this.element,o=this.oldShadowOptions,a=this.parentGroup,s=a&&90===a.rotation;a={color:"#000000",offsetX:s?-1:1,offsetY:s?-1:1,opacity:.15,width:3};var l,d=!1;if(!0===t?l=a:"object"==typeof t&&(l=b(a,t)),l&&(l&&o&&$(l,(function(t,e){t!==o[e]&&(d=!0)})),d&&this.destroyShadows(),this.oldShadowOptions=l),l){if(!this.shadows){a=l.opacity/l.width;var c=s?"translate(".concat(l.offsetY,", ").concat(l.offsetX,")"):"translate(".concat(l.offsetX,", ").concat(l.offsetY,")");for(s=1;s<=l.width;s++){var u=r.cloneNode(!1),h=2*l.width+1-2*s;p(u,{stroke:t.color||"#000000","stroke-opacity":a*s,"stroke-width":h,transform:c,fill:"none"}),u.setAttribute("class",(u.getAttribute("class")||"")+" highcharts-shadow"),n&&(p(u,"height",Math.max(p(u,"height")-h,0)),u.cutHeight=h),e?e.element.appendChild(u):r.parentNode&&r.parentNode.insertBefore(u,r),i.push(u)}this.shadows=i}}else this.destroyShadows();return this},t.prototype.show=function(t){return void 0===t&&(t=!0),this.attr({visibility:t?"inherit":"visible"})},t.prototype["stroke-widthSetter"]=function(t,e,n){this[e]=t,n.setAttribute(e,t)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=k(t);else if(""!==t){var n=l.createElementNS(c,"rect");p(n,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(n),e=n.getBBox().width,n.parentNode.removeChild(n)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){e[n]=C(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=String(C(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var i=this.shadows;if(i)for(var r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},t.prototype.updateTransform=function(){var t=this.element,e=this.matrix,n=this.rotation;n=void 0===n?0:n;var i=this.scaleX,r=this.scaleY,o=this.translateX,a=this.translateY;o=["translate("+(void 0===o?0:o)+","+(void 0===a?0:a)+")"],m(e)&&o.push("matrix("+e.join(",")+")"),n&&o.push("rotate("+n+" "+C(this.rotationOriginX,t.getAttribute("x"),0)+" "+C(this.rotationOriginY,t.getAttribute("y")||0)+")"),(m(i)||m(r))&&o.push("scale("+C(i,1)+" "+C(r,1)+")"),o.length&&!(this.text||this).textPath&&t.setAttribute("transform",o.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,i=this.parentGroup,r=(i||n).element||n.box,o=this.element;n=r===n.box;var a,s=!1,l=this.added;if(m(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):m(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&i&&(i.handleZ=!0),a=(e=r.childNodes).length-1;0<=a&&!s;a--){l=(i=e[a]).getAttribute("data-z-index");var d=!m(l);i!==o&&(0>t&&d&&!n&&!a?(r.insertBefore(o,e[a]),s=!0):(k(l)<=t||d&&(!m(t)||0<=t))&&(r.insertBefore(o,e[a+1]||null),s=!0))}s||(r.insertBefore(o,e[n?3:0]||null),s=!0)}return s},t}()).prototype.strokeSetter=t.prototype.fillSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(i,r,o){e.rendererTypes[i]=r,n&&!o||(n=i,t.Renderer=r)}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e.defined,r=e.extend,o=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function d(t,n,i,r,o,a,s,l,c,u){var h,p=e.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=n,p.x=i,p.y=r,p.anchorX=a,p.anchorY=s,p.baseline=c,p.className=u,p.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&p.addClass("highcharts-"+u),p.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof o&&((h=/^url\((.*?)\)$/.test(o))||p.renderer.symbols[o])&&(p.symbolKey=o),p.bBox=d.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||h,p.deferredAttr={},p.alignFactor=0,p}return n(d,e),d.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},d.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},d.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},d.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},d.prototype.css=function(e){if(e){var n={};e=a(e),d.textProps.forEach((function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n),"fontSize"in n||"fontWeight"in n?this.updateTextPadding():("width"in n||"textOverflow"in n)&&this.updateBoxSize()}return t.prototype.css.call(this,e)},d.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},d.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},d.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},d.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},d.prototype.heightSetter=function(t){this.heightSetting=t},d.prototype.onAdd=function(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},d.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},d.prototype.rSetter=function(t,e){this.boxAttr(e,t)},d.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},d.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},d.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},d.prototype["text-alignSetter"]=function(t){this.textAlign=t},d.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},d.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,n={},a=this.padding,s=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!i(t.textStr)?d.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*a,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=a+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=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":"")),t.add(this)),t=this.getCrispAdjust(),n.x=t,n.y=(this.baseline?-this.baselineOffset:0)+t,n.width=Math.round(this.width),n.height=Math.round(this.height),this.box.attr(r(n,this.deferredAttr)),this.deferredAttr={})},d.prototype.updateTextPadding=function(){var t=this.text;if(!t.textPath){this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e}},d.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},d.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},d.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},d.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},d.emptyBBox={width:0,height:0,x:0,y:0},d.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),d}(t)})),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(t){function e(t,e,n,i,o){var s=[];if(o){var l=o.start||0,d=a(o.r,n);n=a(o.r,i||n);var c=(o.end||0)-.001;i=o.innerR;var u=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),h=Math.cos(l),p=Math.sin(l),f=Math.cos(c),g=Math.sin(c);l=a(o.longArc,.001>c-l-Math.PI?0:1),s.push(["M",t+d*h,e+n*p],["A",d,n,0,l,a(o.clockwise,1),t+d*f,e+n*g]),r(i)&&s.push(u?["M",t+i*f,e+i*g]:["L",t+i*f,e+i*g],["A",i,i,0,l,r(o.clockwise)?1-o.clockwise:0,t+i*h,e+i*p]),u||s.push(["Z"])}return s}function n(t,e,n,r,o){return o&&o.r?i(t,e,n,r,o):[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]}function i(t,e,n,i,r){return[["M",t+(r=r&&r.r||0),e],["L",t+n-r,e],["C",t+n,e,t+n,e,t+n,e+r],["L",t+n,e+i-r],["C",t+n,e+i,t+n,e+i,t+n-r,e+i],["L",t+r,e+i],["C",t,e+i,t,e+i,t,e+i-r],["L",t,e+r],["C",t,e,t,e,t+r,e]]}var r=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,r,a){var s=Math.min(a&&a.r||0,n,r),l=s+6,d=a&&a.anchorX;a=a&&a.anchorY||0;var c=i(t,e,n,r,{r:s});return o(d)?(t+d>=n?a>e+l&&a<e+r-l?c.splice(3,1,["L",t+n,a-6],["L",t+n+6,a],["L",t+n,a+6],["L",t+n,e+r-s]):c.splice(3,1,["L",t+n,r/2],["L",d,a],["L",t+n,r/2],["L",t+n,e+r-s]):0>=t+d?a>e+l&&a<e+r-l?c.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):c.splice(7,1,["L",t,r/2],["L",d,a],["L",t,r/2],["L",t,e+s]):a&&a>r&&d>t+l&&d<t+n-l?c.splice(5,1,["L",d+6,e+r],["L",d,e+r+6],["L",d-6,e+r],["L",t+s,e+r]):a&&0>a&&d>t+l&&d<t+n-l&&c.splice(1,1,["L",d-6,e],["L",d,e-6],["L",d+6,e],["L",n-s,e]),c):c},circle:function(t,n,i,r){return e(t+i/2,n+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:n,roundedRect:i,square:n,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}})),e(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.doc,r=e.SVG_NS,o=e.win,a=n.attr,s=n.extend,l=n.fireEvent,d=n.isString,c=n.objectEach,u=n.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,n=e.element,r=e.renderer,o=u(e.textStr,"").toString(),a=-1!==o.indexOf("<"),s=n.childNodes;r=this.width&&!e.added&&r.box;var l=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==e.textCache){for(e.textCache=l,delete e.actualWidth,l=s.length;l--;)n.removeChild(s[l]);a||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(r&&r.appendChild(n),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(n)):n.appendChild(i.createTextNode(this.unescapeEntities(o))),d(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(t,i){t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var l=this.width||0;if(l){var d=function(t,o){var d=t.textContent||"",c=d.replace(/([^\^])-/g,"$1- ").split(" "),u=!e.noWrap&&(1<c.length||1<n.element.childNodes.length),h=e.getLineHeight(o),p=0,f=n.actualWidth;if(e.ellipsis)d&&e.truncate(t,d,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(u){for(d=[],u=[];o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!e.noWrap&&0<p&&(d.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,c,0===p&&f||0,l,(function(t,e){return c.slice(0,e).join(" ").replace(/- /g,"-")})),f=n.actualWidth,p++;u.forEach((function(e){o.insertBefore(e,t)})),d.forEach((function(e){o.insertBefore(i.createTextNode(e),t),(e=i.createElementNS(r,"tspan")).textContent="​",a(e,{dy:h,x:s}),o.insertBefore(e,t)}))}},c=function(t){[].slice.call(t.childNodes).forEach((function(e){e.nodeType===o.Node.TEXT_NODE?d(e,t):(-1!==e.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),c(e))}))};c(n.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,n=function(i,r){var o=i.attributes;o=void 0===o?{}:o;var a=i.children,l=i.style;l=void 0===l?{}:l;var d=i.tagName,c=e.renderer.styledMode;"b"===d||"strong"===d?c?o.class="highcharts-strong":l.fontWeight="bold":"i"!==d&&"em"!==d||(c?o.class="highcharts-emphasized":l.fontStyle="italic"),l&&l.color&&(l.fill=l.color),"br"===d?(o.class="highcharts-br",i.textContent="​",(r=t[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===d&&a&&a.some((function(t){return"#text"===t.tagName}))&&(i.children=[{children:a,tagName:"tspan"}]),"#text"!==d&&"a"!==d&&(i.tagName="tspan"),s(i,{attributes:o,style:l}),a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(n)};t.forEach(n),l(this.svgElement,"afterModifyTree",{nodes:t})},e.prototype.truncate=function(t,e,n,i,r,o){var a,s=this.svgElement,l=s.renderer,d=s.rotation,c=[],u=n?1:0,h=(e||n||"").length,p=h,f=function(r,a){a=a||r;var d=t.parentNode;if(d&&void 0===c[a])if(d.getSubStringLength)try{c[a]=i+d.getSubStringLength(0,n?a+1:a)}catch(t){}else l.getSpanWidth&&(t.textContent=o(e||n,r),c[a]=i+l.getSpanWidth(s,t));return c[a]};s.rotation=0;var g=f(t.textContent.length);if(i+g>r){for(;u<=h;)p=Math.ceil((u+h)/2),n&&(a=o(n,p)),g=f(p,a&&a.length-1),u===h?u=h+1:g>r?h=p-1:u=p;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=a||o(e||n,p))}n&&n.splice(0,p),s.actualWidth=g,s.rotation=d},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),i))})),t},e}()})),e(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(t,e,n,i,r,o,a,s,l){var d,c=n.charts,u=n.deg2rad,h=n.doc,p=n.isFirefox,f=n.isMS,g=n.isWebKit,m=n.noop,v=n.SVG_NS,b=n.symbolSizes,y=n.win,x=l.addEvent,_=l.attr,w=l.createElement,O=l.css,$=l.defined,C=l.destroyObjectProperties,k=l.extend,S=l.isArray,j=l.isNumber,E=l.isObject,M=l.isString,A=l.merge,P=l.pick,T=l.pInt,L=l.uniqueKey;return n=function(){function n(t,e,n,i,r,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,i,r,o,a)}return n.prototype.init=function(t,e,n,i,r,o,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d=l.element;a||l.css(this.getStyle(i)),t.appendChild(d),_(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&_(d,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=d,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 10.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),p&&t.getBoundingClientRect&&((e=function(){O(t,{left:0,top:0}),s=t.getBoundingClientRect(),O(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=x(y,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((p||g)&&h.getElementsByTagName("base").length){if(!$(d)){var e=L();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(h.body),O(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=h.elementFromPoint(6,6);d="hitme"===(n&&n.id),h.body.removeChild(e)}if(d)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=k({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return 1.05/((t=.2126*(t=e.parse(t).rgba.map((function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)})))[0]+.7152*t[1]+.0722*t[2])+.05)>(t+.05)/.05?"#FFFFFF":"#000000"},n.prototype.button=function(e,n,i,r,o,a,s,l,d,c){void 0===o&&(o={});var u=this.label(e,n,i,d,void 0,void 0,c,void 0,"button"),h=this.styledMode;e=o.states||{};var p=0;delete(o=A(o)).states;var g=A({color:"#333333",cursor:"pointer",fontWeight:"normal"},o.style);delete o.style;var m=t.filterUserAttributes(o);if(u.attr(A({padding:8,r:2},m)),!h){m=A({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},m);var v=(a=A(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||e.hover||{}))).style;delete a.style;var b=(s=A(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||e.select||{}))).style;delete s.style;var y=(l=A(m,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}))).style;delete l.style}return x(u.element,f?"mouseover":"mouseenter",(function(){3!==p&&u.setState(1)})),x(u.element,f?"mouseout":"mouseleave",(function(){3!==p&&u.setState(p)})),u.setState=function(t){1!==t&&(u.state=p=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),h||(u.attr([m,a,s,l][t||0]),E(t=[g,v,b,y][t||0])&&u.css(t))},h||(u.attr(m).css(k({cursor:"default"},g)),c&&u.text.css({pointerEvents:"none"})),u.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==p&&r.call(u,t)}))},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var i=t[0],r=t[1];return $(i[1])&&i[1]===r[1]&&(i[1]=r[1]=Math[n](i[1])-e%2/2),$(i[2])&&i[2]===r[2]&&(i[2]=r[2]=Math[n](i[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return S(t)?e.d=t:E(t)&&k(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=E(t)?t:void 0===t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,i,r,o){return E(t)?(e=(i=t).y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},(t=this.symbol("arc",t,e,n,n,i)).r=n,t},n.prototype.rect=function(t,e,n,i,r,o){r=E(t)?t.r:r;var a=this.createElement("rect");return t=E(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},this.styledMode||(void 0!==o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),r&&(t.r=r),a.rSetter=function(t,e,n){a.r=t,_(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,i,r,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};j(e)&&(a.x=e),j(n)&&(a.y=n),j(i)&&(a.width=i),j(r)&&(a.height=r);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),o.call(l,e)},o?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new y.Image,x(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,i,r,o){var a,s=this,l=/^url\((.*?)\)$/,d=l.test(t),u=!d&&(this.symbols[t]?t:"circle"),p=u&&this.symbols[u];if(p){"number"==typeof e&&(a=p.call(this.symbols,Math.round(e||0),Math.round(n||0),i||0,r||0,o));var f=this.path(a);s.styledMode||f.attr("fill","none"),k(f,{symbolName:u||void 0,x:e,y:n,width:i,height:r}),o&&k(f,o)}else if(d){var g=t.match(l)[1],m=f=this.image(g);m.imgwidth=P(b[g]&&b[g].width,o&&o.width),m.imgheight=P(b[g]&&b[g].height,o&&o.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){m[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var n=this.element,i=this.width,r=this.height,a=this.imgwidth,s=this.imgheight,l=this["img"+e];if($(l)){var d=1;o&&"within"===o.backgroundSize&&i&&r?(d=Math.min(i/a,r/s),l=Math.round(l*d),_(n,{width:Math.round(a*d),height:Math.round(s*d)})):n&&n.setAttribute(e,l),t||this.translate(((i||0)-l*d)/2,((r||0)-l*d)/2)}}})),$(e)&&m.attr({x:e,y:n}),m.isImg=!0,$(m.imgwidth)&&$(m.imgheight)?v(m):(m.attr({width:0,height:0}),w("img",{onload:function(){var t=c[s.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this)),b[g]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&v(m),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:g}),this.imgCount++)}return f},n.prototype.clipRect=function(t,e,n,i){var r=L()+"-",o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,n,i,0).add(o)).id=r,t.clipPath=o,t.count=0,t},n.prototype.text=function(t,e,n,i){var r={};return!i||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),n&&(r.y=Math.round(n)),$(t)&&(r.text=t),t=this.createElement("text").attr(r),(!i||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var i,r=n.getElementsByTagName("tspan"),o=n.getAttribute(e),a=0;a<r.length;a++)(i=r[a]).getAttribute(e)===o&&i.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},n.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&r.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?T(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*u),4)),{x:-t/3*Math.sin(e*u),y:i}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<t.length;r++)M(n[0])&&j(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e},n.prototype.label=function(t,e,n,i,r,a,s,l,d){return new o(this,t,e,n,i,r,a,s,l,d)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},n}(),k(n.prototype,{Element:r,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:m}),i.registerRendererType("svg",n,!0),n})),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,l=n.css,d=n.defined,c=n.extend,u=n.pick,h=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,i=t.prototype;i.getSpanCorrection=n.getSpanCorrection,i.htmlCss=n.htmlCss,i.htmlGetBBox=n.htmlGetBBox,i.htmlUpdateTransform=n.htmlUpdateTransform,i.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=u(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var i=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),l(this.element,t),i&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,i=this.translateY||0,r=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],c=this.styles;if(c=c&&c.whiteSpace,l(e,{marginLeft:n,marginTop:i}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:n+1,marginTop:i+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){var u=this.rotation,p=this.textWidth&&h(this.textWidth),f=[u,a,e.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;if(g=!1,p!==this.oldTextWidth){if(this.textPxLength)var m=this.textPxLength;else l(e,{width:"",whiteSpace:c||"nowrap"}),m=e.offsetWidth;(p>this.oldTextWidth||m>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:m>p||u?p+"px":"auto",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=p,g=!0)}this.hasBoxWidthChanged=g,f!==this.cTT&&(g=t.fontMetrics(e.style.fontSize,e).b,!d(u)||u===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(u,s,g),this.getSpanCorrection(!d(u)&&this.textPxLength||e.offsetWidth,g,s,u,a)),l(e,{left:r+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=u,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var i={},d=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;d&&(i[d]=i.transform="rotate("+t+"deg)",i[d+(r?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",l(this.element,i))},e.composedClasses=[],e}(e)})),e(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(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=i.attr,a=i.createElement,s=i.extend,l=i.pick;return function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.compose=function(t){return-1===i.composedClasses.indexOf(t)&&(i.composedClasses.push(t),t.prototype.html=i.prototype.html),t},i.prototype.html=function(n,i,r){var d=this.createElement("span"),c=d.element,u=d.renderer,h=u.isSVG,p=function(t,n){["opacity","visibility"].forEach((function(i){t[i+"Setter"]=function(r,o,a){var s=t.div?t.div.style:n;e.prototype[i+"Setter"].call(this,r,o,a),s&&(s[o]=r)}})),t.addedSetters=!0};return d.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,d.doTransform=!0)},h&&p(d,d.element.style),d.xSetter=d.ySetter=d.alignSetter=d.rotationSetter=function(t,e){"align"===e?d.alignValue=d.textAlign=t:d[e]=t,d.doTransform=!0},d.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},d.attr({text:n,x:Math.round(i),y:Math.round(r)}).css({position:"absolute"}),u.styledMode||d.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",d.css=d.htmlCss,h&&(d.add=function(t){var e=u.box.parentNode,n=[];if(this.parentGroup=t){var i=t.div;if(!i){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function r(e,n){t[n]=e,"translateX"===n?u.left=e+"px":u.top=e+"px",t.doTransform=!0}var l=o(t.element,"class"),c=t.styles||{},u=(i=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents,visibility:t.visibility},i||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(i),on:function(){return n[0].div&&d.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:r,translateYSetter:r}),t.addedSetters||p(t)}))}}else i=e;return i.appendChild(c),d.added=!0,d.alignOnAdd&&d.htmlUpdateTransform(),d}),d},i.composedClasses=[],i}(n)})),e(n,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.isFunction,r=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,(function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e)))}))}}(e||(e={})),e})),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.deg2rad,r=n.clamp,o=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,d=n.fireEvent,c=n.isNumber,u=n.merge,h=n.objectEach,p=n.pick;return e=function(){function e(t,e,n,i,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,d(this,"init"),n||i||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,i=n.options,r=n.chart,s=n.categories,u=n.logarithmic,h=n.names,f=e.pos,g=p(e.options&&e.options.labels,i.labels),m=n.tickPositions,v=f===m[0],b=f===m[m.length-1],y=(!g.step||1===g.step)&&1===n.tickInterval;m=m.info;var x,_=e.label;if(s=this.parameters.category||(s?p(s[f],h[f],f):f),u&&c(s)&&(s=o(u.lin2log(s))),n.dateTime)if(m)var w=r.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&m.higherRanks[f]||m.unitName]),O=w.main;else c(s)&&(O=n.dateTime.getXDateFormat(s,i.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=b;var $={axis:n,chart:r,dateTimeLabelFormat:O,isFirst:v,isLast:b,pos:f,tick:e,tickPositionInfo:m,value:s};d(this,"labelFormat",$);var C=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=n.defaultLabelFormatter.call(e,e),t.format(g.format,e,r)):n.defaultLabelFormatter.call(e,e)};i=C.call($,$);var k=w&&w.list;e.shortenLabel=k?function(){for(x=0;x<k.length;x++)if(l($,{dateTimeLabelFormat:k[x]}),_.attr({text:C.call($,$)}),_.getBBox().width<n.getSlotWidth(e)-2*g.padding)return;_.attr({text:""})}:void 0,y&&n._addedPlotLB&&e.moveLabel(i,g),a(_)||e.movedLabel?_&&_.textStr!==i&&!y&&(!_.textWidth||g.style.width||_.styles.width||_.css({width:null}),_.attr({text:i}),_.textPxLength=_.getBBox().width):(e.label=_=e.createLabel({x:0,y:0},i,g),e.rotation=0)},e.prototype.createLabel=function(t,e,n){var i=this.axis,r=i.chart;return(t=a(e)&&n.enabled?r.renderer.text(e,t.x,t.y,n.useHTML).add(i.labelGroup):null)&&(r.styledMode||t.css(u(n.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,n,i){var a=this.axis,s=a.chart,l=i&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+n,void 0,void 0,i)+a.transB):a.left+a.offset+(a.opposite?(i&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?l-a.bottom+a.offset-(a.opposite?a.height:0):o(l-a.translate(e+n,void 0,void 0,i)-a.transB)}).y=r(t.y,-1e5,1e5),d(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,n,r,o,s,l,c){var u=this.axis,h=u.transA,p=u.isLinked&&u.linkedParent?u.linkedParent.reversed:u.reversed,f=u.staggerLines,g=u.tickRotCorr||{x:0,y:0},m=r||u.reserveSpaceDefault?0:-u.labelOffset*("center"===u.labelAlign?.5:1),v={};return n=0===u.side?n.rotation?-8:-n.getBBox().height:2===u.side?g.y+8:Math.cos(n.rotation*i)*(g.y-n.getBBox(!1,0).height/2),a(o.y)&&(n=0===u.side&&u.horiz?o.y+n:o.y),t=t+o.x+m+g.x-(s&&r?s*h*(p?-1:1):0),e=e+n-(s&&!r?s*h*(p?1:-1):0),f&&(r=l/(c||1)%f,u.opposite&&(r=f-r-1),e+=u.labelOffset/f*r),v.x=t,v.y=Math.round(e),d(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:l}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,n,i,r,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)},e.prototype.handleOverflow=function(t){var e=this.axis,n=e.options.labels,r=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=p(e.labelLeft,Math.min(e.pos,a[3]));a=p(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var l,d=this.label,c=this.rotation,u={left:0,center:.5,right:1}[e.labelAlign||d.attr("align")],h=d.getBBox().width,f=e.getSlotWidth(this),g={},m=f,v=1;c||"justify"!==n.overflow?0>c&&r-u*h<s?l=Math.round(r/Math.cos(c*i)-s):0<c&&r+u*h>a&&(l=Math.round((o-r)/Math.cos(c*i))):(o=r+(1-u)*h,r-u*h<s?m=t.x+m*(1-u)-s:o>a&&(m=a-t.x+m*u,v=-1),(m=Math.min(f,m))<f&&"center"===e.labelAlign&&(t.x+=v*(f-m-u*(f-Math.min(h,m)))),(h>m||e.autoRotation&&(d.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(g.textOverflow="ellipsis"),d.css(g)))},e.prototype.moveLabel=function(t,e){var n=this,i=n.label,r=n.axis,o=r.reversed,a=!1;if(i&&i.textStr===t?(n.movedLabel=i,a=!0,delete n.label):h(r.ticks,(function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!a&&(n.labelPos||i)){var s=n.labelPos||i.xy;i=r.horiz?o?0:r.width+r.left:s.x,r=r.horiz?s.y:o?r.width+r.left:0,n.movedLabel=n.createLabel({x:i,y:r},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var i=this.axis,r=i.horiz,o=this.pos,a=p(this.tickmarkOffset,i.tickmarkOffset);a=(o=this.getPosition(r,o,a,e)).x;var s=o.y;i=r&&a===i.pos+i.len||!r&&s===i.pos?-1:1,r=p(n,this.label&&this.label.newOpacity,1),n=p(n,1),this.isActive=!0,this.renderGridLine(e,n,i),this.renderMark(o,n,i),this.renderLabel(o,e,r,t),this.isNew=!1,d(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var i=this.axis,r=i.options,o={},a=this.pos,s=this.type,l=p(this.tickmarkOffset,i.tickmarkOffset),d=i.chart.renderer,c=this.gridLine,u=r.gridLineWidth,h=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(u=r.minorGridLineWidth,h=r.minorGridLineColor,f=r.minorGridLineDashStyle),c||(i.chart.styledMode||(o.stroke=h,o["stroke-width"]=u||0,o.dashstyle=f),s||(o.zIndex=1),t&&(e=0),this.gridLine=c=d.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(i.gridGroup)),c&&(n=i.getPlotLinePath({value:a+l,lineWidth:c.strokeWidth()*n,force:"pass",old:t,acrossPanes:!1}))&&c[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,a=this.type,s=i.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var d=p(r["minor"!==a?"tickWidth":"minorTickWidth"],!a&&i.isXAxis?1:0);r=r["minor"!==a?"tickColor":"minorTickColor"];var c=this.mark,u=!c;s&&(i.opposite&&(s[0]=-s[0]),c||(this.mark=c=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||c.attr({stroke:r,"stroke-width":d})),c[u?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],c.strokeWidth()*n,i.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,l=a.labels,d=l.step;r=p(this.tickmarkOffset,r.tickmarkOffset);var u=t.x;t=t.y;var h=!0;s&&c(u)&&(s.xy=t=this.getLabelPosition(u,t,s,o,l,r,i,d),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?h=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),d&&i%d&&(h=!1),h&&c(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var i=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:i,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s){var l=t.animObject,d=i.defaultOptions,c=r.registerEventOptions,u=o.deg2rad,h=s.arrayMax,p=s.arrayMin,f=s.clamp,g=s.correctFloat,m=s.defined,v=s.destroyObjectProperties,b=s.erase,y=s.error,x=s.extend,_=s.fireEvent,w=s.isArray,O=s.isNumber,$=s.isString,C=s.merge,k=s.normalizeTickInterval,S=s.objectEach,j=s.pick,E=s.relativeLength,M=s.removeEvent,A=s.splat,P=s.syncTimeout,T=function(t,e){return k(e,void 0,void 0,j(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),_(this,"init",{userOptions:e}),this.opposite=j(e.opposite,this.opposite),this.side=j(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var i=this.options,r=i.labels,o=i.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=j(i.reversed,this.reversed),this.visible=i.visible,this.zoomEnabled=i.zoomEnabled,this.hasNames="category"===o||!0===i.categories,this.categories=i.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=m(i.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=i.minRange||i.maxZoom,this.range=i.range,this.offset=i.offset||0,this.min=this.max=null,e=j(i.crosshair,A(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=O(r.rotation)?r.rotation:void 0,c(this,i),_(this,"afterInit")},t.prototype.setOptions=function(t){this.options=C(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],C(d[this.coll],t)),_(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=O(this.value)?this.value:NaN,i=e.chart.time,r=this.dateTimeLabelFormat,o=d.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var c="".concat(this.value);else if(r)c=i.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===c;)s>=(e=Math.pow(o,l+1))&&0==10*n%e&&null!==a[l]&&0!==n&&(c=t(n/e,-1)+a[l]);return void 0===c&&(c=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),c},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;_(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.series.forEach((function(i){if(i.visible||!n.options.chart.ignoreHiddenSeries){var r=i.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((r=i.xData).length){r=e.logarithmic?r.filter(e.validatePositiveValue):r;var a=(t=i.getXExtremes(r)).min,s=t.max;O(a)||a instanceof Date||(r=r.filter(O),a=(t=i.getXExtremes(r)).min,s=t.max),r.length&&(e.dataMin=Math.min(j(e.dataMin,a),a),e.dataMax=Math.max(j(e.dataMax,s),s))}}else i=i.applyExtremes(),O(i.dataMin)&&(a=i.dataMin,e.dataMin=Math.min(j(e.dataMin,a),a)),O(i.dataMax)&&(s=i.dataMax,e.dataMax=Math.max(j(e.dataMax,s),s)),m(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),_(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,i,r,o){var a=this.linkedParent||this,s=i&&a.old?a.old.min:a.min;if(!O(s))return NaN;var l=a.minPixelPadding;r=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&r)&&a.lin2val;var d=1,c=0;return(i=i&&a.old?a.old.transA:a.transA)||(i=a.transA),n&&(d*=-1,c=a.len),a.reversed&&(c-=(d*=-1)*(a.sector||a.len)),e?(o=(t*d+c-l)/i+s,r&&(o=a.lin2val(o))):(r&&(t=a.val2lin(t)),t=d*(t-s)*i,o=(a.isRadial?t:g(t))+c+d*l+(O(o)?i*o:0)),o},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return"pass"!==y&&(t<e||t>n)&&(y?t=f(t,e,n):a=!0),t}var n,i,r,o,a,s=this,l=s.chart,d=s.left,c=s.top,u=t.old,h=t.value,p=t.lineWidth,g=u&&l.oldChartHeight||l.chartHeight,m=u&&l.oldChartWidth||l.chartWidth,v=s.transB,b=t.translatedValue,y=t.force;return t={value:h,lineWidth:p,old:u,force:y,acrossPanes:t.acrossPanes,translatedValue:b},_(this,"getPlotLinePath",t,(function(t){b=j(b,s.translate(h,void 0,void 0,u)),b=f(b,-1e5,1e5),n=r=Math.round(b+v),i=o=Math.round(g-b-v),O(b)?s.horiz?(i=c,o=g-s.bottom,n=r=e(n,d,d+s.width)):(n=d,r=m-s.right,i=o=e(i,c,c+s.height)):(a=!0,y=!1),t.path=a&&!y?null:l.renderer.crispLine([["M",n,i],["L",r,o]],p||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var i=g(Math.floor(e/t)*t);n=g(Math.ceil(n/t)*t);var r,o=[];if(g(i+t)===i&&(r=20),this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=g(e+t,r))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?j(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,i=this.pointRangePadding||0,r=this.min-i,o=(i=this.max+i)-r,a=[];if(o&&o/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,i){e&&a.push.apply(a,s.getLogTickPositions(n,i[e-1],i[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),r,i,t.startOfWeek));else for(t=r+(e[0]-r)%n;t<=i&&t!==a[0];t+=n)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,n,i,r=this.options,o=this.logarithmic,a=this.min,s=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!o&&(m(r.min)||m(r.max)||m(r.floor)||m(r.ceiling)?this.minRange=null:(this.series.forEach((function(r){if(n=r.xData,i=r.xIncrement?1:n.length-1,1<n.length)for(t=i;0<t;t--)e=n[t]-n[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-a<this.minRange){var d=this.dataMax-this.dataMin>=this.minRange,c=this.minRange,u=(c-s+a)/2;u=[a-u,j(r.min,a-u)],d&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=h(u))+c,j(r.max,a+c)],d&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=p(s))-a<c&&(u[0]=s-c,u[1]=j(r.min,s-c),a=h(u))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var n=e.closestPointRange,i=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&m(n)&&i&&(t=m(t)?Math.min(t,n):n)})),t},t.prototype.nameToX=function(t){var e=w(this.options.categories),n=e?this.categories:this.names,i=t.options.x;if(t.series.requireSorting=!1,m(i)||(i=this.options.uniqueNames&&n?e?n.indexOf(t.name):j(n.keys[t.name],-1):t.series.autoIncrement()),-1===i){if(!e&&n)var r=n.length}else r=i;return void 0!==r?(this.names[r]=t.name,this.names.keys[t.name]=r):t.x&&(r=t.x),r},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,i){if(n&&n.options&&void 0!==n.name){var r=t.nameToX(n);void 0!==r&&r!==n.x&&(n.x=r,e.xData[i]=r)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,n=t.linkedParent,i=!!t.categories,r=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,l=t.transA;if(r||i||o){var d=t.getClosest();n?(a=n.minPointOffset,s=n.pointRangePadding):t.series.forEach((function(e){var n=i?1:r?j(e.options.pointRange,d,0):t.axisPointRange||0,l=e.options.pointPlacement;o=Math.max(o,n),t.single&&!i||(e=e.is("xrange")?!r:r,a=Math.max(a,e&&$(l)?0:n/2),s=Math.max(s,e&&"on"===l?0:n))})),n=t.ordinal&&t.ordinal.slope&&d?t.ordinal.slope/d:1,t.minPointOffset=a*=n,t.pointRangePadding=s*=n,t.pointRange=Math.min(o,t.single&&i?1:e),r&&(t.closestPointRange=d)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*a,_(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,n=this.logarithmic,i=this.options,r=this.isXAxis,o=this.isLinked,a=i.tickPixelInterval,s=this.categories,l=this.softThreshold,d=i.maxPadding,c=i.minPadding,u=O(i.tickInterval)&&0<=i.tickInterval?i.tickInterval:void 0,h=O(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var p=j(this.userMin,i.min),f=j(this.userMax,i.max);if(o){this.linkedParent=e[this.coll][i.linkedTo];var v=this.linkedParent.getExtremes();this.min=j(v.min,v.dataMin),this.max=j(v.max,v.dataMax),i.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(l&&m(h))if(this.dataMin>=h)v=h,c=0;else if(this.dataMax<=h){var b=h;d=0}this.min=j(p,v,this.dataMin),this.max=j(f,b,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,j(this.dataMin,this.min))&&y(10,1,e),this.min=g(n.log2lin(this.min),16),this.max=g(n.log2lin(this.max),16)),this.range&&m(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),_(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&m(this.min)&&m(this.max)&&(e=this.max-this.min)&&(!m(p)&&c&&(this.min-=e*c),!m(f)&&d&&(this.max+=e*d)),O(this.userMin)||(O(i.softMin)&&i.softMin<this.min&&(this.min=p=i.softMin),O(i.floor)&&(this.min=Math.max(this.min,i.floor))),O(this.userMax)||(O(i.softMax)&&i.softMax>this.max&&(this.max=f=i.softMax),O(i.ceiling)&&(this.max=Math.min(this.max,i.ceiling))),l&&m(this.dataMin)&&(h=h||0,!m(p)&&this.min<h&&this.dataMin>=h?this.min=this.options.minRange?Math.min(h,this.max-this.minRange):h:!m(f)&&this.max>h&&this.dataMax<=h&&(this.max=this.options.minRange?Math.max(h,this.min+this.minRange):h)),O(this.min)&&O(this.max)&&!this.chart.polar&&this.min>this.max&&(m(this.options.min)?this.max=this.min:m(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!u&&a===this.linkedParent.options.tickPixelInterval?u=this.linkedParent.tickInterval:j(u,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),r&&!t){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(x)})),_(this,"postProcessData",{hasExtremesChanged:x})}this.setAxisTranslation(),_(this,"initialAxisTranslation"),this.pointRange&&!u&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=j(i.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!u&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||u||(this.tickInterval=T(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t,e=this.options,n=e.tickPositions,i=e.tickPositioner,r=this.getMinorTickInterval(),o=this.hasVerticalPanning(),a="colorAxis"===this.coll,s=(a||!o)&&e.startOnTick;if(o=(a||!o)&&e.endOnTick,a=[],this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&m(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),n)a=n.slice();else if(O(this.min)&&O(this.max)){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)a=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)a=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(r=e=this.tickInterval;r<=2*e&&(a=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a.length>this.tickAmount);)this.tickInterval=T(this,r*=1.1);else a=[this.min,this.max],y(19,!1,this.chart);a.length>this.len&&((a=[a[0],a[a.length-1]])[0]===a[1]&&(a.length=1)),i&&(this.tickPositions=a,(t=i.apply(this,[this.min,this.max]))&&(a=t))}this.tickPositions=a,this.paddedTicks=a.slice(0),this.trimTicks(a,s,o),!this.isLinked&&O(this.min)&&O(this.max)&&(this.single&&2>a.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),n||t||this.adjustTickAmount()),_(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(_(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&m(i)&&!this.options.tickPositions&&t.push((r+i)/2)}},t.prototype.alignToOthers=function(){var t,e=this,n=[this],i=e.options,r="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,o=[];if(e.thresholdAlignment=void 0,(!1!==this.chart.options.chart.alignTicks&&i.alignTicks||r)&&!1!==i.startOnTick&&!1!==i.endOnTick&&!e.logarithmic){var a=function(t){var e=t.options;return[t.horiz?e.left:e.top,e.width,e.height,e.pane].join()},s=a(this);this.chart[this.coll].forEach((function(i){var r=i.series;r.length&&r.some((function(t){return t.visible}))&&i!==e&&a(i)===s&&(t=!0,n.push(i))}))}if(t&&r){n.forEach((function(t){t=t.getThresholdAlignment(e),O(t)&&o.push(t)}));var l=1<o.length?o.reduce((function(t,e){return t+e}),0)/o.length:void 0;n.forEach((function(t){t.thresholdAlignment=l}))}return t},t.prototype.getThresholdAlignment=function(t){if((!O(this.dataMin)||this!==t&&this.series.some((function(t){return t.isDirty||t.isDirtyData})))&&this.getSeriesExtremes(),O(this.threshold))return t=f((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(t=1-t),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,n=t.tickAmount;!m(t.tickInterval)&&!n&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this,e=t.finalTickAmt,n=t.max,i=t.min,r=t.options,o=t.tickPositions,a=t.tickAmount,s=t.thresholdAlignment,l=o&&o.length,d=j(t.threshold,t.softThreshold?0:null),c=t.tickInterval;if(O(s)){var u=.5>s?Math.ceil(s*(a-1)):Math.floor(s*(a-1));r.reversed&&(u=a-1-u)}if(t.hasData()&&O(i)&&O(n)){if(s=function(){t.transA*=(l-1)/(a-1),t.min=r.startOnTick?o[0]:Math.min(i,o[0]),t.max=r.endOnTick?o[o.length-1]:Math.max(n,o[o.length-1])},O(u)&&O(t.threshold)){for(;o[u]!==d||o.length!==a||o[0]>i||o[o.length-1]<n;){for(o.length=0,o.push(t.threshold);o.length<a;)void 0===o[u]||o[u]>t.threshold?o.unshift(g(o[0]-c)):o.push(g(o[o.length-1]+c));if(c>8*t.tickInterval)break;c*=2}s()}else if(l<a){for(;o.length<a;)o.length%2||i===d?o.push(g(o[o.length-1]+c)):o.unshift(g(o[0]-c));s()}if(m(e)){for(c=d=o.length;c--;)(3===e&&1==c%2||2>=e&&0<c&&c<d-1)&&o.splice(c,1);t.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(n){t=t||n.isDirtyData||n.isDirty,e=e||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&(this.stacking.resetStacks(),this.stacking.buildStacks()),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(),t&&this.panningState&&(this.panningState.isDirty=!0),_(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,n,i,r){var o=this,a=o.chart;n=j(n,!0),o.series.forEach((function(t){delete t.kdTree})),r=x(r,{min:t,max:e}),_(o,"setExtremes",r,(function(){o.userMin=t,o.userMax=e,o.eventArgs=r,n&&a.redraw(i)}))},t.prototype.zoom=function(t,e){var n=this,i=this.dataMin,r=this.dataMax,o=this.options,a=Math.min(i,j(o.min,i)),s=Math.max(r,j(o.max,r));return _(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===n.min&&o===n.max||(n.allowZoomOutside||(m(i)&&(e<a&&(e=a),e>s&&(e=s)),m(r)&&(o<a&&(o=a),o>s&&(o=s))),n.displayBtn=void 0!==e||void 0!==o,n.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(E(j(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(E(j(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(E(j(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(E(j(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-r-e,this.len=Math.max(i?r:o,0),this.pos=i?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?g(t.lin2log(this.min)):this.min,max:t?g(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(j(t,0)-90*this.side+720)%360;return _(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,n=j(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),i=e["tick"===t?"tickLength":"minorTickLength"];if(n&&i){"inside"===e[t+"Position"]&&(i=-i);var r=[i,n]}return _(this,"afterTickSize",t={tickSize:r}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t=this.options.labels,e=this.horiz,n=this.tickInterval,i=this.len/(((this.categories?1:0)+this.max-this.min)/n),r=t.rotation,o=this.labelMetrics(),a=Math.max(this.max-this.min,0),s=function(t){var e=t/(i||1);return(e=1<e?Math.ceil(e):1)*n>a&&1/0!==t&&1/0!==i&&a&&(e=Math.ceil(a/n)),g(e*n)},l=n,d=Number.MAX_VALUE;if(e){if(!t.staggerLines)if(O(r))var c=[r];else i<t.autoRotationLimit&&(c=t.autoRotation);if(c)for(var h=e=void 0,p=0,f=c;p<f.length;p++){var m=f[p];if((m===r||m&&-90<=m&&90>=m)&&(h=(e=s(Math.abs(o.h/Math.sin(u*m))))+Math.abs(m/360))<d){d=h;var v=m;l=e}}}else l=s(o.h);return this.autoRotation=c,this.labelRotation=j(v,O(r)?r:0),t.step?n:l},t.prototype.getSlotWidth=function(t){var e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&O(t.slotWidth))return t.slotWidth;if(n&&2>i.step)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(t=i.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,i=this.ticks,r=this.options.labels,o=r.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),d={},c=this.labelMetrics(),u=o.textOverflow,h=0;if($(r.rotation)||(d.rotation=r.rotation||0),n.forEach((function(t){(t=i[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>h&&(h=t.label.textPxLength)})),this.maxLabelLength=h,this.autoRotation)h>l&&h>c.h?d.rotation=this.labelRotation:this.labelRotation=0;else if(s){var p=l;if(!u){var f="clip";for(l=n.length;!a&&l--;){var g=n[l];(g=i[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>s&&g.css({width:s+"px"}),g.getBBox().height>this.len/n.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}d.rotation&&(p=h>.5*t.chartHeight?.33*t.chartHeight:h,u||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(d.align=this.labelAlign),n.forEach((function(t){var e=(t=i[t])&&t.label,n=o.width,r={};e&&(e.attr(d),t.shortenLabel?t.shortenLabel():p&&!n&&"nowrap"!==o.whiteSpace&&(p<e.textPxLength||"SPAN"===e.element.tagName)?(r.width=p+"px",u||(r.textOverflow=e.specificTextOverflow||f),e.css(r)):e.styles&&e.styles.width&&!r.width&&!n&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=d.rotation)}),this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&m(this.min)&&m(this.max)},t.prototype.addTitle=function(t){var e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(C(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,n=e.chart,i=e.horiz,r=e.options,o=e.side,a=e.ticks,s=e.tickPositions,l=e.coll,d=e.axisParent,c=n.renderer,u=n.inverted&&!e.isZAxis?[1,0,3,2][o]:o,h=e.hasData(),p=r.title,f=r.labels,g=n.axisOffset;n=n.clipOffset;var v,b=[-1,1,1,-1][o],y=r.className,x=0,w=0,O=0;if(e.showAxis=v=h||r.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var $=function(e,n,i){return c.g(e).attr({zIndex:i}).addClass("highcharts-".concat(l.toLowerCase()).concat(n," ")+(t.isRadial?"highcharts-radial-axis".concat(n," "):"")+(y||"")).add(d)};e.gridGroup=$("grid","-grid",r.gridZIndex),e.axisGroup=$("axis","",r.zIndex),e.labelGroup=$("axis-labels","-labels",f.zIndex)}if(h||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,j(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){O=Math.max(a[t].getLabelSize(),O)})),e.staggerLines&&(O*=e.staggerLines),e.labelOffset=O*(e.opposite?-1:1)):S(a,(function(t,e){t.destroy(),delete a[e]})),p&&p.text&&!1!==p.enabled&&(e.addTitle(v),v&&!1!==p.reserveSpace)){e.titleOffset=x=e.axisTitle.getBBox()[i?"height":"width"];var C=p.offset;w=m(C)?0:j(p.margin,i?5:10)}e.renderLine(),e.offset=b*j(r.offset,g[o]?g[o]+(r.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},p=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,h=Math.abs(O)+w,O&&(h=h-p+b*(i?j(f.y,e.tickRotCorr.y+8*b):f.x)),e.axisTitleMargin=j(C,h),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==l&&(i=this.tickSize("tick"),g[o]=Math.max(g[o],(e.axisTitleMargin||0)+x+b*e.offset,h,s&&s.length&&i?i[0]+b*e.offset:0),r=!e.axisLine||r.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),n[u]=Math.max(n[u],r)),_(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i;return i=e.chartHeight-this.bottom-(n?this.height:0)+i,n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?i:this.top],["L",r?e.chartWidth-this.right:o,r?i:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,n=this.top,i=this.len,r=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=r.x,d=r.y,c=this.axisTitle,u=this.chart.renderer.fontMetrics(r.style.fontSize,c);return c=c?Math.max(c.getBBox(!1,0).height-u.h-1,0):0,i={low:o+(t?0:i),middle:o+i/2,high:o+(t?i:0)}[r.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-c,c,u.f,-c][this.side],t={x:t?i+l:e+(a?this.width:0)+s+l,y:t?e+d-(a?this.height:0)+s:i+d},_(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var n=this.minorTicks;n[t]||(n[t]=new a(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,n){var i=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new a(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))},t.prototype.render=function(){var t,e,n=this,i=n.chart,r=n.logarithmic,s=n.options,d=n.isLinked,c=n.tickPositions,u=n.axisTitle,h=n.ticks,p=n.minorTicks,f=n.alternateBands,g=s.stackLabels,m=s.alternateGridColor,v=n.tickmarkOffset,b=n.axisLine,y=n.showAxis,x=l(i.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[h,p,f].forEach((function(t){S(t,(function(t){t.isActive=!1}))})),n.hasData()||d){var w=n.chart.hasRendered&&n.old&&O(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,w)})),c.length&&(c.forEach((function(t,e){n.renderTick(t,e,w)})),v&&(0===n.min||n.single)&&(h[-1]||(h[-1]=new a(n,-1,null,!0)),h[-1].render(-1))),m&&c.forEach((function(a,s){e=void 0!==c[s+1]?c[s+1]+v:n.max-v,0==s%2&&a<n.max&&e<=n.max+(i.polar?-v:v)&&(f[a]||(f[a]=new o.PlotLineOrBand(n)),t=a+v,f[a].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:m,className:"highcharts-alternate-grid"},f[a].render(),f[a].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[h,p,f].forEach((function(t){var e=[],n=x.duration;S(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),P((function(){for(var n=e.length;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==f&&i.hasRendered&&n?n:0)})),b&&(b[b.isPlaced?"animate":"attr"]({d:this.getLinePath(b.strokeWidth())}),b.isPlaced=!0,b[y?"show":"hide"](y)),u&&y&&(s=n.getTitlePosition(),u[u.isNew?"attr":"animate"](s),u.isNew=!1),g&&g.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,_(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(_(this,"destroy",{keepEvents:t}),t||M(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){v(t)})),n)for(t=n.length;t--;)n[t].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[r]=e.plotLinesAndBandsGroups[r].destroy();S(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=i},t.prototype.drawCrosshair=function(t,e){var i,r=this.crosshair,o=j(r&&r.snap,!0),a=this.chart,s=this.cross;if(_(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),r&&!1!==(m(e)||!o)){if(o?m(e)&&(i=j("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),m(i)){var l={value:e&&(this.isXAxis?e.x:j(e.stackY,e.y)),translatedValue:i};a.polar&&x(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!m(l))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(r.className||"")).attr({zIndex:j(r.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:r.color||(o?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":j(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:l}),o&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();_(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),_(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return O(t)&&0<t},t.prototype.update=function(t,e){var n=this.chart;t=C(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,j(e,!0)&&n.redraw()},t.prototype.remove=function(t){for(var e=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);b(e.axes,this),b(e[n],this),e[n].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,j(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.getMagnitude,r=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"init",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var a,s=o[e[0]],l=e[1];for(a=0;a<n.length&&(e=n[a],s=o[e[0]],l=e[1],!(n[a+1]&&t<=(s*l[l.length-1]+o[n[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(l=[1,2,5]),{unitRange:s,count:t=r(t/s,l,"year"===e[0]?Math.max(i(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var n=this.axis,i=n.chart.time;return n.closestPointRange?i.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||i.resolveDTLFormat(e.year).main:i.resolveDTLFormat(e.day).main},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.normalizeTickInterval,r=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))}function o(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};var s=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,n,o){var a=this.axis,s=a.len,l=a.options,d=[];if(o||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),d=a.getLinearTickPositions(t,e,n);else if(.08<=t){var c,u=Math.floor(e),h=l=void 0;for(s=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];u<n+1&&!h;u++){var p=s.length;for(c=0;c<p&&!h;c++){var f=this.log2lin(this.lin2log(u)*s[c]);f>e&&(!o||l<=n)&&void 0!==l&&d.push(l),l>n&&(h=!0),l=f}}}else e=this.lin2log(e),n=this.lin2log(n),t=o?a.getMinorTickInterval():l.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(o?5:1)*(n-e)/((o?s/a.tickPositions.length:s)||1)),t=i(t),d=a.getLinearTickPositions(t,e,n).map(this.log2lin),o||(this.minorAutoInterval=t/5);return o||(a.tickInterval=t),d},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=s}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.erase,i=t.extend,r=t.isNumber;return function(t){var e,o=[];t.compose=function(t,n){return e||(e=t),-1===o.indexOf(n)&&(o.push(n),i(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var i=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),o=[],a=this.horiz;if(e=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&i){if(e){var s=t.toString()===i.toString();n=0}for(e=0;e<t.length;e+=2){var l=t[e],d=t[e+1],c=i[e],u=i[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==d[0]&&"L"!==d[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||(a&&c[1]===l[1]?(c[1]+=n,u[1]+=n):a||c[2]!==l[2]||(c[2]+=n,u[2]+=n),o.push(["M",l[1],l[2]],["L",d[1],d[2]],["L",u[1],u[2]],["L",c[1],c[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,n){var i=this,r=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)}))),n){var a=r[n]||[];a.push(t),r[n]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.arrayMax,i=e.arrayMin,r=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,l=e.merge,d=e.objectEach,c=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(n){return t.compose(e,n)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,n=e.horiz,i=e.logarithmic,o=t.options,a=o.color,u=c(o.zIndex,0),h=o.events,p={},f=e.chart.renderer,g=o.label,m=t.label,v=o.to,b=o.from,y=o.value,x=t.svgElem,_=[],w=r(b)&&r(v);_=r(y);var O=!x,$={class:"highcharts-plot-"+(w?"band ":"line ")+(o.className||"")},C=w?"bands":"lines";if(i&&(b=i.log2lin(b),v=i.log2lin(v),y=i.log2lin(y)),e.chart.styledMode||(_?($.stroke=a||"#999999",$["stroke-width"]=c(o.width,1),o.dashStyle&&($.dashstyle=o.dashStyle)):w&&($.fill=a||"#e6ebf5",o.borderWidth&&($.stroke=o.borderColor,$["stroke-width"]=o.borderWidth))),p.zIndex=u,C+="-"+u,(i=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=i=f.g("plot-"+C).attr(p).add()),O&&(t.svgElem=x=f.path().attr($).add(i)),_)_=e.getPlotLinePath({value:y,lineWidth:x.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!w)return;_=e.getPlotBandPath(b,v,o)}return!t.eventsAdded&&h&&(d(h,(function(e,n){x.on(n,(function(e){h[n].apply(t,[e])}))})),t.eventsAdded=!0),(O||!x.d)&&_&&_.length?x.attr({d:_}):x&&(_?(x.show(),x.animate({d:_})):x.d&&(x.hide(),m&&(t.label=m=m.destroy()))),g&&(r(g.text)||r(g.formatter))&&_&&_.length&&0<e.width&&0<e.height&&!_.isFlat?(g=l({align:n&&w&&"center",x:n?!w&&4:10,verticalAlign:!n&&w&&"middle",y:n?w?16:10:w?6:-4,rotation:n&&!w&&90},g),this.renderLabel(g,_,w,u)):m&&m.hide(),t},e.prototype.renderLabel=function(t,e,r,o){var a=this.axis,s=a.chart.renderer,d=this.label;d||(this.label=d=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||d.css(l({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],r=i(o),s=i(e),d.align(t,!1,{x:r,y:s,width:n(o)-r,height:n(e)-s}),d.alignValue&&"left"!==d.alignValue||(t=t.clip?a.width:a.chart.chartWidth,d.css({width:(90===d.rotation?a.height-(d.alignAttr.y-a.top):t-(d.alignAttr.x-a.left))+"px"})),d.show(!0)},e.prototype.getLabelText=function(t){return r(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(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(t,e,n,i,r){var o=t.format,a=e.doc,s=n.distribute,l=r.clamp,d=r.css,c=r.discardElement,u=r.extend,h=r.fireEvent,p=r.isArray,f=r.isNumber,g=r.isString,m=r.merge,v=r.pick,b=r.splat,y=r.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||b(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),c(this.container)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var n=this.chart,i=n.pointer,r=n.inverted,o=n.plotTop;if(n=n.plotLeft,(t=b(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=i.normalize(e)),t=[e.chartX-n,e.chartY-o];else if(t[0].tooltipPos)t=t[0].tooltipPos;else{var a=0,s=0;t.forEach((function(t){(t=t.pos(!0))&&(a+=t[0],s+=t[1])})),a/=t.length,s/=t.length,this.shared&&1<t.length&&e&&(r?a=e.chartX:s=e.chartY),t=[a-n,s-o]}return t.map(Math.round)},t.prototype.getClassName=function(t,e,n){var i=t.series,r=i.options;return[this.options.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+v(t.colorIndex,i.colorIndex),r&&r.className].filter(g).join(" ")},t.prototype.getLabel=function(){var t,n=this,r=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s=o.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),l=this.chart.renderer;if(n.label){var c=!n.label.hasClass("highcharts-label");(a&&!c||!a&&c)&&n.destroy()}if(!this.label){if(this.outside){c=this.chart.options.chart.style;var u=i.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",d(t,{position:"absolute",top:"1px",pointerEvents:s,zIndex:Math.max(this.options.style.zIndex||0,(c&&c.zIndex||0)+3)}),e.doc.body.appendChild(t),this.renderer=l=new u(t,0,0,c,void 0,void 0,l.styledMode)}if(a?this.label=l.g("tooltip"):(this.label=l.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,"tooltip").attr({padding:o.padding,r:o.borderRadius}),r||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:s}).shadow(o.shadow)),r&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var h=this.label,p=h.xSetter,f=h.ySetter;h.xSetter=function(e){p.call(h,n.distance),t.style.left=e+"px"},h.ySetter=function(e){f.call(h,n.distance),t.style.top=e+"px"}}this.label.attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,n){var i,r=this.chart,o=this.distance,s={},l=r.inverted&&n.h||0,d=this.outside,c=d?a.documentElement.clientWidth-2*o:r.chartWidth,u=d?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):r.chartHeight,h=r.pointer.getChartPosition(),p=function(i){var a="x"===i;return[i,a?c:u,a?t:e].concat(d?[a?t*h.scaleX:e*h.scaleY,a?h.left-o+(n.plotX+r.plotLeft)*h.scaleX:h.top-o+(n.plotY+r.plotTop)*h.scaleY,0,a?c:u]:[a?t:e,a?n.plotX+r.plotLeft:n.plotY+r.plotTop,a?r.plotLeft:r.plotTop,a?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},f=p("y"),g=p("x");p=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(p=!p);var m=!this.followPointer&&v(n.ttBelow,!r.inverted===p),b=function(t,e,n,i,r,a,c){var u=d?"y"===t?o*h.scaleY:o*h.scaleX:o,p=(n-i)/2,f=i<r-o,g=r+o+i<e,v=r-u-n+p;if(r=r+u-p,m&&g)s[t]=r;else if(!m&&f)s[t]=v;else if(f)s[t]=Math.min(c-i,0>v-l?v:v-l);else{if(!g)return!1;s[t]=Math.max(a,r+l+n>e?r:r+l)}},y=function(t,e,n,i,r){var a;return r<o||r>e-o?a=!1:s[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2,a},x=function(t){var e=f;f=g,g=e,i=t},_=function(){!1!==b.apply(0,f)?!1!==y.apply(0,g)||i||(x(!0),_()):i?s.x=s.y=0:(x(!0),_())};return(r.inverted||1<this.len)&&x(),_(),s},t.prototype.hide=function(t){var e=this;r.clearTimeout(this.hideTimer),t=v(t,this.options.hideDelay),this.isHidden||(this.hideTimer=y((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=v(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.chart.pointer.inClass(t.target,"highcharts-tooltip"))},t.prototype.move=function(t,e,n,i){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),l=o.followPointer||1<o.len;u(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:l?void 0:s?(2*a.anchorX+n)/3:n,anchorY:l?void 0:s?(a.anchorY+i)/2:i}),o.getLabel().attr(a),o.drawTracker(),s&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,n,i)}),32))},t.prototype.refresh=function(t,e){var n=this.chart,i=this.options,o=n.pointer,a=b(t),s=a[0],l=[],d=i.formatter||this.defaultFormatter,c=this.shared,u=n.styledMode,f={};if(i.enabled&&s.series){r.clearTimeout(this.hideTimer),this.allowShared=!(!p(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&s.series.tooltipOptions.followPointer;var g=(t=this.getAnchor(t,e))[0],m=t[1];if(c&&this.allowShared?(o.applyInactiveState(a),a.forEach((function(t){t.setState("hover"),l.push(t.getLabelConfig())})),(f={x:s.category,y:s.y}).points=l):f=s.getLabelConfig(),this.len=l.length,d=d.call(f,this),c=s.series,this.distance=v(c.tooltipOptions.distance,16),!1===d)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(d,a);else{var y=g,x=m;if(e&&o.isDirectTouch&&(y=e.chartX-n.plotLeft,x=e.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!a.some((function(t){return o.isDirectTouch||t.series.shouldShowTooltip(y,x)})))return void this.hide();e=this.getLabel(),i.style.width&&!u||e.css({width:n.spacingBox.width+"px"}),e.attr({text:d&&d.join?d.join(""):d}),e.addClass(this.getClassName(s),!0),u||e.attr({stroke:i.borderColor||s.color||c.color||"#666666"}),this.updatePosition({plotX:g,plotY:m,negative:s.negative,ttBelow:s.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}h(this,"refresh")}},t.prototype.renderSplit=function(t,e){function n(t,e,n,r,o){return void 0===o&&(o=!0),n?(e=E?0:T,t=l(t-r/2,k.left,k.right-r-(i.outside?M:0))):(e-=A,t=l(t=o?t-r-O:t+O,o?t:k.left,k.right)),{x:t,y:e}}var i=this,r=i.chart,o=i.chart,d=o.chartWidth,c=o.chartHeight,h=o.plotHeight,p=o.plotLeft,f=o.plotTop,m=o.pointer,b=o.scrollablePixelsY;b=void 0===b?0:b;var y=o.scrollablePixelsX,x=o.scrollingContainer,_=(x=void 0===x?{scrollLeft:0,scrollTop:0}:x).scrollLeft;x=x.scrollTop;var w=o.styledMode,O=i.distance,$=i.options,C=i.options.positioner,k=i.outside&&"number"!=typeof y?a.documentElement.getBoundingClientRect():{left:_,right:_+d,top:x,bottom:x+c},S=i.getLabel(),j=this.renderer||r.renderer,E=!(!r.xAxis[0]||!r.xAxis[0].opposite),M=(r=m.getChartPosition()).left;r=r.top;var A=f+x,P=0,T=h-b;g(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,r,o){if(!1!==r&&""!==r){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:h,series:{}}).isHeader,s=a?i:o.series;r=r.toString();var d=s.tt,c=o.isHeader,u=o.series;d||(d={padding:$.padding,r:$.borderRadius},w||(d.fill=$.backgroundColor,d["stroke-width"]=$.borderWidth),d=j.label("",0,0,$[c?"headerShape":"shape"],void 0,void 0,$.useHTML).addClass(i.getClassName(o,!0,c)).attr(d).add(S)),d.isActive=!0,d.attr({text:r}),w||d.css($.style).shadow($.shadow).attr({stroke:$.borderColor||o.color||u.color||"#333333"}),r=(c=(s=s.tt=d).getBBox()).width+s.strokeWidth(),a&&(P=c.height,T+=P,E&&(A-=P)),u=void 0===(u=o.plotX)?0:u,d=void 0===(d=o.plotY)?0:d;var g=o.series;if(o.isHeader){u=p+u;var m=f+h/2}else{var b=g.xAxis,y=g.yAxis;u=b.pos+l(u,-O,b.len+O),g.shouldShowTooltip(0,y.pos-f+d,{ignoreX:!0})&&(m=y.pos+d)}u=l(u,k.left-O,k.right+O),"number"==typeof m?(c=c.height+1,d=C?C.call(i,r,c,o):n(u,m,a,r),t.push({align:C?0:void 0,anchorX:u,anchorY:m,boxWidth:r,point:o,rank:v(d.rank,a?1:0),size:c,target:d.y,tt:s,x:d.x})):s.isActive=!1}return t}),[]),!C&&t.some((function(t){var e=(i.outside?M:0)+t.anchorX;return e<k.left&&e+t.boxWidth<k.right||e<M-k.left+t.boxWidth&&k.right-e>e}))&&(t=t.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return u(t,{target:e.y,x:e.x})}))),i.cleanSplit(),s(t,T);var L=M,D=M;t.forEach((function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(i.outside&&M+e<L&&(L=M+e),!t&&i.outside&&L+n>D&&(D=M+e))})),t.forEach((function(t){var e=t.x,n=t.anchorX,r=t.pos,o=t.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:e,y:(r||0)+A,anchorX:n,anchorY:t.anchorY},i.outside&&e<n){var a=M-L;0<a&&(o||(r.x=e+a,r.anchorX=n+a),o&&(r.x=(D-L)/2,r.anchorX=n+a))}t.tt.attr(r)})),t=i.container,b=i.renderer,i.outside&&t&&b&&(o=S.getBBox(),b.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=L+"px",t.style.top=r+"px")},t.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(e&&n){var i={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var r=e.getBBox();n[0]+=t.plotLeft-e.translateX,n[1]+=t.plotTop-e.translateY,i.x=Math.min(0,n[0]),i.y=Math.min(0,n[1]),i.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),i.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(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,i=n.tooltipOptions,r=n.xAxis,a=r&&r.dateTime;r={isFooter:e,labelConfig:t};var s=i.xDateFormat,l=i[e?"footerFormat":"headerFormat"];return h(this,"headerFormatter",r,(function(e){a&&!s&&f(t.key)&&(s=a.getXDateFormat(t.key,i.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:n},this.chart)})),r.text},t.prototype.update=function(t){this.destroy(),m(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,m(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.distance,i=this.options,r=e.pointer,o=this.getLabel(),a=r.getChartPosition();r=a.left;var s=a.top,l=a.scaleX;a=a.scaleY;var c=(i.positioner||this.getPosition).call(this,o.width,o.height,t),u=(t.plotX||0)+e.plotLeft;t=(t.plotY||0)+e.plotTop,this.outside&&(i.positioner&&(c.x+=r-n,c.y+=s-n),n=i.borderWidth+2*n,this.renderer.setSize(o.width+n,o.height+n,!1),1===l&&1===a||(d(this.container,{transform:"scale(".concat(l,", ").concat(a,")")}),u*=l,t*=a),u+=r-c.x,t+=s-c.y),this.move(Math.round(c.x),Math.round(c.y||0),u,t)},t}()})),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=e.animObject,a=n.defaultOptions,s=i.format,l=r.addEvent,d=r.defined,c=r.erase,u=r.extend,h=r.fireEvent,p=r.getNestedProperty,f=r.isArray,g=r.isFunction,m=r.isNumber,v=r.isObject,b=r.merge,y=r.objectEach,x=r.pick,_=r.syncTimeout,w=r.removeEvent,O=r.uniqueKey;return e=function(){function e(){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.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(u({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,n){var i=this.series,r=i.options.pointValKey||i.pointValKey;return t=e.prototype.optionsToObject.call(this,t),u(this,t),this.options=this.options?u(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=void 0===n?i.autoIncrement():n:m(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(r in(e.graphic||e.graphics||e.dataLabel||e.dataLabels)&&(w(e),e.destroyElements()),e)e[r]=null}var e=this,n=e.series,i=n.chart;n=n.options.dataSorting;var r,a=i.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&i.legend.destroyItem(e),a&&(e.setState(),c(a,e),a.length||(i.hoverPoints=null)),e===i.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),_(t,s.duration)):t(),i.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,n){var i=this,r=this.series.options;(r.point.events[t]||i.options&&i.options.events&&i.options.events[t])&&i.importEvents(),"click"===t&&r.allowPointSelect&&(n=function(t){i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(i,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,i=[],r={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","shadowGroup"),t.dataLabel&&i.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),e=i.length;e--;){var o=i[e];n[o]&&r.singular.push(o)}return["graphic","dataLabel","connector"].forEach((function(e){var i=e+"s";t[e]&&n[i]&&r.plural.push(i)})),r},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?p(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,i=0;for(n=e[i];this[t]>=n.value;)n=e[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=d(this.id)?this.id:O(),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit"),this},e.prototype.isValid=function(){return null!==this.x&&m(this.y)},e.prototype.optionsToObject=function(t){var n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a={},s=0,l=0;if(m(t)||null===t)a[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"===(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);l<o;)i&&void 0===t[s]||(0<r[l].indexOf(".")?e.prototype.setNestedProperty(a,t[s],r[l]):a[r[l]]=t[s]),s++,l++;else"object"==typeof t&&(a=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return a},e.prototype.pos=function(t,e){void 0===e&&(e=this.plotY);var n=this.plotX,i=this.series,r=i.chart,o=i.xAxis;i=i.yAxis;var a=0,s=0;if(m(n)&&m(e))return t&&(a=o?o.pos:r.plotLeft,s=i?i.pos:r.plotTop),r.inverted&&o&&i?[i.len-e+s,o.len-n+a]:[n+a,e+s]},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,n=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var i=(n=t.options.colors||t.chart.options.colors)[t.colorCounter];n=n.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===n&&(t.colorCounter=0)}else e||(i=t.color),e=t.colorIndex;this.colorIndex=x(this.options.colorIndex,e),this.color=x(this.options.color,i)},e.prototype.setNestedProperty=function(t,e,n){return n.split(".").reduce((function(t,n,i,r){return t[n]=r.length-1===i?e:v(t[n],!0)?t[n]:{},t[n]}),t),t},e.prototype.shouldDraw=function(){return!this.isNull},e.prototype.tooltipFormatter=function(t){var e=this.series,n=e.tooltipOptions,i=x(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,n,i){function r(){a.applyOptions(t);var i=l&&a.hasMockGraphic;i=null===a.y?!i:i,l&&i&&(a.graphic=l.destroy(),delete a.hasMockGraphic),v(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),c.data[o]=v(c.data[o],!0)||v(t,!0)?a.options:x(t,c.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(d.isDirtyBox=!0),"point"===c.legendType&&(d.isDirtyLegend=!0),e&&d.redraw(n)}var o,a=this,s=a.series,l=a.graphic,d=s.chart,c=s.options;e=x(e,!0),!1===i?r():a.firePointEvent("update",{options:t},r)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var n=this,i=n.series,r=i.chart;this.selectedStaging=t=x(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=b(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,n){g(e)&&l(t,n,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,n){var i,r=this.series,o=this.state,s=r.options.states[e||"normal"]||{},l=a.plotOptions[r.type].marker&&r.options.marker,d=l&&!1===l.enabled,c=l&&l.states&&l.states[e||"normal"]||{},p=!1===c.enabled,f=this.marker||{},g=r.chart,v=l&&r.markerAttribs,b=r.halo,y=r.stateMarkerGraphic;if(!((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===s.enabled||e&&(p||d&&!1===c.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,v&&(i=r.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!g.styledMode){o=r.pointAttribs(this,e);var _=x(g.options.chart.animation,s.animation),w=o.opacity;r.options.inactiveOtherPoints&&m(w)&&((this.dataLabels||[]).forEach((function(t){t&&!t.hasClass("highcharts-data-label-hidden")&&t.animate({opacity:w},_)})),this.connector&&this.connector.animate({opacity:w},_)),this.graphic.animate(o,_)}i&&this.graphic.animate(i,x(g.options.chart.animation,c.animation,l.animation)),y&&y.hide()}else e&&c&&(l=f.symbol||r.symbol,y&&y.currentSymbol!==l&&(y=y.destroy()),i&&(y?y[n?"animate":"attr"]({x:i.x,y:i.y}):l&&(r.stateMarkerGraphic=y=g.renderer.symbol(l,i.x,i.y,i.width,i.height).add(r.markerGroup),y.currentSymbol=l)),!g.styledMode&&y&&"inactive"!==this.state&&y.attr(r.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,i=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==i&&!this.isCluster?(b||(r.halo=b=g.renderer.path().add(y.parentGroup)),b.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),b.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:i,zIndex:-1}),b.point=this,g.styledMode||b.attr(u({fill:this.color||r.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):b&&b.point&&b.point.haloPath&&b.animate({d:b.point.haloPath(0)},null,b.hide),h(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){var e=this.pos();return e?this.series.chart.renderer.symbols.circle(Math.floor(e[0])-t,e[1]-t,2*t,2*t):[]},e}()})),e(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=e.charts,a=e.noop,s=i.addEvent,l=i.attr,d=i.css,c=i.defined,u=i.extend,h=i.find,p=i.fireEvent,f=i.isNumber,g=i.isObject,m=i.objectEach,v=i.offset,b=i.pick,y=i.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),m(n,(function(t,e){n[e]=void 0}))},t.prototype.getSelectionMarkerAttrs=function(t,e){var n=this,i={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return p(this,"getSelectionMarkerAttrs",i,(function(i){var r=n.chart,o=n.mouseDownX;o=void 0===o?0:o;var a=n.mouseDownY;a=void 0===a?0:a;var s=n.zoomHor,l=n.zoomVert;(i=i.attrs).x=r.plotLeft,i.y=r.plotTop,i.width=s?1:r.plotWidth,i.height=l?1:r.plotHeight,s&&(r=t-o,i.width=Math.abs(r),i.x=(0<r?0:r)+o),l&&(r=e-a,i.height=Math.abs(r),i.y=(0<r?0:r)+a)})),i},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,i=e.plotLeft,o=e.plotTop,a=e.plotWidth,s=e.plotHeight,l=this.mouseDownX||0,d=this.mouseDownY||0,c=g(n.panning)?n.panning&&n.panning.enabled:n.panning,u=n.panKey&&t[n.panKey+"Key"],h=t.chartX,p=t.chartY,f=this.selectionMarker;f&&f.touch||(h<i?h=i:h>i+a&&(h=i+a),p<o?p=o:p>o+s&&(p=o+s),this.hasDragged=Math.sqrt(Math.pow(l-h,2)+Math.pow(d-p,2)),10<this.hasDragged&&(i=e.isInsidePlot(l-i,d-o,{visiblePlotOnly:!0}),h=(p=this.getSelectionMarkerAttrs(h,p)).shapeType,p=p.attrs,!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!i||u||f||(this.selectionMarker=f=e.renderer[h](),f.attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||f.attr({fill:n.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),f&&f.attr(p),i&&!f&&c&&e.pan(t,n.panning)))},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.getSelectionBox=function(t){var e={args:{marker:t},result:{}};return p(this,"getSelectionBox",e,(function(e){e.result={x:t.attr?+t.attr("x"):t.x,y:t.attr?+t.attr("y"):t.y,width:t.attr?t.attr("width"):t.width,height:t.attr?t.attr("height"):t.height}})),e.result},t.prototype.drop=function(t){var e=this,n=this.chart,i=this.hasPinched;if(this.selectionMarker){var r=this.getSelectionBox(this.selectionMarker),o=r.x,a=r.y,s=r.width,l=r.height,h={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:l},g=!!n.mapView;(this.hasDragged||i)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&c(n.min)&&(i||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&f(o)&&f(a)&&f(s)&&f(l)){var r=n.horiz,d="touchend"===t.type?n.minPixelPadding:0,u=n.toValue((r?o:a)+d);r=n.toValue((r?o+s:a+l)-d),h[n.coll].push({axis:n,min:Math.min(u,r),max:Math.max(u,r)}),g=!0}})),g&&p(n,"selection",h,(function(t){n.zoom(u(t,i?{animation:!1}:null))}))),f(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),i&&this.scaleGroups()}n&&f(n.index)&&(d(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,n){var i;return t.forEach((function(t){var r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,r),(r=g(t,!0)&&t.series)&&!(r=!g(i,!0))){r=i.distX-t.distX;var o=i.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(i.series.group&&i.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==a?a:i.series.index>t.series.index?-1:1)}r&&(i=t)})),i},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,i=n.xAxis;n=n.yAxis;var r=t.shapeArgs;if(i&&n){var o=b(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,a=r.y),e?{chartX:n.len+n.pos-a,chartY:i.len+i.pos-o}:{chartX:o+i.pos,chartY:a+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2<n&&2<t&&(this.chartPosition.scaleX=e.width/n,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,n,i,r,o){var a=[];i=!(!i||!t);var s=function(t){return t.visible&&!(!r&&t.directTouch)&&b(t.options.enableMouseTracking,!0)},l={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};p(this,"beforeGetHoverData",l);var d=e&&!e.stickyTracking?[e]:n.filter((function(t){return t.stickyTracking&&(l.filter||s)(t)})),c=i||!o?t:this.findNearestKDPoint(d,r,o);return e=c&&c.series,c&&(r&&!e.noSharedTooltip?(d=n.filter((function(t){return l.filter?l.filter(t):s(t)&&!t.noSharedTooltip}))).forEach((function(t){var e=h(t.points,(function(t){return t.x===c.x&&!t.isNull}));g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))})):a.push(c)),p(this,"afterGetHoverData",l={hoverPoint:c}),{hoverPoint:l.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=l(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentElement}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,i=n?n.length?n.item(0):b(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=i.pageX-e.left,i=i.pageY-e.top,n/=e.scaleX,i/=e.scaleY,u(t,{chartX:Math.round(n),chartY:Math.round(i)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var i=e.plotLeft,r=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(p(n.series,"click",u(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(u(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r,{visiblePlotOnly:!0})&&p(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var n=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||n)&&(this.zoomOption(t),n&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var n=o[b(t.hoverChartIndex,-1)],i=this.chart.tooltip;e=this.normalize(e),n&&(e.relatedTarget||e.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),i&&!i.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart,n=e.tooltip;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(t)||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var n=o[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=e.tooltip,i=this.chartPosition;t=this.normalize(t,i),!i||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(t)||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var n=o[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,n=e.chart,i=e.pinchDown,r=t.touches||[],o=r.length,s=e.lastValidTouch,l=e.hasZoom,d={},c=1===o&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),h={},f=e.chart.tooltip;f=1===o&&b(f&&f.options.followTouchMove,!0);var g=e.selectionMarker;1<o?e.initiated=!0:f&&(e.initiated=!1),l&&e.initiated&&!c&&!1!==t.cancelable&&t.preventDefault(),[].map.call(r,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(r,(function(t,e){i[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[i[0].chartX,i[1]&&i[1].chartX],s.y=[i[0].chartY,i[1]&&i[1].chartY],n.axes.forEach((function(t){if(t.zoomEnabled){var e=n.bounds[t.horiz?"h":"v"],i=t.minPixelPadding,r=t.toPixels(Math.min(b(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(b(t.options.max,t.dataMax),t.dataMax)),a=Math.max(r,o);e.min=Math.min(t.pos,Math.min(r,o)-i),e.max=Math.max(t.pos+t.len,a+i)}})),e.res=!0):f?this.runPointActions(e.normalize(t)):i.length&&(p(n,"touchpan",{originalEvent:t},(function(){g||(e.selectionMarker=g=u({destroy:a,touch:!0},n.plotBox)),e.pinchTranslate(i,r,d,g,h,s),e.hasPinched=l,e.scaleGroups(d,h)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,n,i,r,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,i,r,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,i,r,o)},t.prototype.pinchTranslateDirection=function(t,e,n,i,r,o,a,s){var l=this.chart,d=t?"x":"y",c=t?"X":"Y",u="chart"+c,h=t?"width":"height",p=l["plot"+(t?"Left":"Top")],f=l.inverted,g=l.bounds[t?"h":"v"],m=1===e.length,v=e[0][u],b=!m&&e[1][u];e=function(){"number"==typeof O&&20<Math.abs(v-b)&&(_=s||Math.abs(w-O)/Math.abs(v-b)),x=(p-w)/_+v,y=l["plot"+(t?"Width":"Height")]/_};var y,x,_=s||1,w=n[0][u],O=!m&&n[1][u];if(e(),(n=x)<g.min){n=g.min;var $=!0}else n+y>g.max&&(n=g.max-y,$=!0);$?(w-=.8*(w-a[d][0]),"number"==typeof O&&(O-=.8*(O-a[d][1])),e()):a[d]=[w,O],f||(o[d]=x-p,o[h]=y),o=f?1/_:_,r[h]=y,r[d]=n,i[f?t?"scaleY":"scaleX":"scale"+c]=_,i["translate"+c]=o*p+(w-o*v)},t.prototype.reset=function(t,e){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),o&&o.forEach((function(t){t.setState()})),i&&i.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n,i){var r=this.chart,a=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,l=!!a&&a.shared,d=n||r.hoverPoint,c=d&&d.series||r.hoverSeries;n=this.getHoverData(d,c,r.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),l,e),d=n.hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var p=l&&c&&!c.noSharedTooltip;if(d&&(i||d!==r.hoverPoint||a&&a.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===u.indexOf(t)&&t.setState()})),r.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!d.series)return;r.hoverPoints=u,r.hoverPoint=d,d.firePointEvent("mouseOver",void 0,(function(){a&&d&&a.refresh(p?u:d,e)}))}else n&&a&&!a.isHidden&&(i=a.getAnchor([{}],e),r.isInsidePlot(i[0],i[1],{visiblePlotOnly:!0})&&a.updatePosition({plotX:i[0],plotY:i[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(r.container.ownerDocument,"mousemove",(function(e){var n=o[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(t){var n,i=b((t.crosshair||{}).snap,!0);i&&((n=r.hoverPoint)&&n.series[t.coll]===t||(n=h(u,(function(e){return e.series&&e.series[t.coll]===t})))),n||!i?t.drawCrosshair(e,n):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach((function(i){var r=t||i.getPlotBox();i.group&&(i.xAxis&&i.xAxis.zoomEnabled||n.mapView)&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(e?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,i=this.chart.container,r=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(i,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete n.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,i=e.charts[b(t.hoverChartIndex,-1)];i&&i!==n&&i.pointer.onContainerMouseLeave({relatedTarget:n.container}),i&&i.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));b(i,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var i=n.zooming.type||"";/touch/.test(t.type)&&(i=b(n.zooming.pinchType,i)),this.zoomX=t=/x/.test(i),this.zoomY=n=/y/.test(i),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}()})),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(t,e,n){function i(){var t=[];return t.item=function(t){return this[t]},h(g,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function r(t,n,r,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[n]({type:r,target:t.currentTarget,preventDefault:l,touches:i()}))}var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.charts,s=t.doc,l=t.noop,d=t.win,c=n.addEvent,u=n.css,h=n.objectEach,p=n.pick,f=n.removeEvent,g={},m=!!d.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.isRequired=function(){return!(t.hasTouch||!d.PointerEvent&&!d.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(f),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&u(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",(function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},n.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",(function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY},g[t.pointerId].target||(g[t.pointerId].target=t.currentTarget)}))},n.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",(function(t){delete g[t.pointerId]}))},n.prototype.setDOMEvents=function(){var t=this.chart.tooltip;e.prototype.setDOMEvents.call(this),(this.hasZoom||p(t&&t.options.followTouchMove,!0))&&this.batchMSEvents(c)},n}(e)})),e(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(t,e,n,i,r,o){var a=t.animObject,s=t.setAnimation,l=e.format,d=n.marginNames,c=r.distribute,u=o.addEvent,h=o.createElement,p=o.css,f=o.defined,g=o.discardElement,m=o.find,v=o.fireEvent,b=o.isNumber,y=o.merge,x=o.pick,_=o.relativeLength,w=o.stableSort,O=o.syncTimeout;return t=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),u(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=u(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=x(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=x(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,x(e,!0)&&n.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){var n=t.legendItem||{},i=n.group,r=n.label,o=n.line;if(n=n.symbol,i&&i[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var a=this.options;i=this.itemHiddenStyle.color,a=e?a.itemStyle.color:i;var s=e&&t.color||i,l=t.options&&t.options.marker,d={fill:s};r&&r.css({fill:a,color:a}),o&&o.attr({stroke:s}),n&&(l&&n.isMarker&&(d=t.pointAttribs(),e||(d.stroke=d.fill=i)),n.attr(d))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=t.legendItem||{},i=n.group,r=n.x;r=void 0===r?0:r,n=void 0===(n=n.y)?0:n;var o=this.options,a=o.symbolPadding,s=!o.rtl;o=t.checkbox,i&&i.element&&(a={translateX:s?r:this.legendWidth-r-2*a-4,translateY:n},i[f(i.translateY)?"animate":"attr"](a,void 0,(function(){v(e,"afterPositionItem",{item:t})}))),o&&(o.x=r,o.y=n)},t.prototype.destroyItem=function(t){for(var e=t.checkbox,n=t.legendItem||{},i=0,r=["group","label","line","symbol"];i<r.length;i++){var o=r[i];n[o]&&(n[o]=n[o].destroy())}e&&g(e),t.legendItem=void 0},t.prototype.destroy=function(){for(var t=0,e=this.getAllItems();t<e.length;t++)this.destroyItem(e[t]);for(t=0,e="clipRect up down pager nav box title group".split(" ");t<e.length;t++){var n=e[t];this[n]&&(this[n]=this[n].destroy())}this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var i=t.translateY;this.allItems.forEach((function(r){var o=r.checkbox;if(o){var a=i+n+o.y+(this.scrollOffset||0)+3;p(o,{left:t.translateX+r.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>i-6&&a<i+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,n=t.title,i=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,void 0,void 0,void 0,t.useHTML,void 0,"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"}),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},t.prototype.setText=function(t){var e=this.options;t.legendItem.label.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=t.legendItem=t.legendItem||{},n=this.chart,i=n.renderer,r=this.options,o=this.symbolWidth,a=r.symbolPadding||0,s=this.itemStyle,l=this.itemHiddenStyle,d="horizontal"===r.layout?x(r.itemDistance,20):0,c=!r.rtl,u=!t.series,h=!u&&t.series.drawLegendSymbol?t.series:t,p=h.options,f=this.createCheckboxForItem&&p&&p.showCheckbox,g=r.useHTML,m=t.options.className,v=e.label;p=o+a+d+(f?20:0),v||(e.group=i.g("legend-item").addClass("highcharts-"+h.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(u?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=v=i.text("",c?o+a:-a,this.baseline||0,g),n.styledMode||v.css(y(t.visible?s:l)),v.attr({align:c?"left":"right",zIndex:2}).add(e.group),this.baseline||(this.fontMetrics=i.fontMetrics(n.styledMode?12:s.fontSize,v),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,v.attr("y",this.baseline),this.symbolHeight=r.symbolHeight||this.fontMetrics.f,r.squareSymbol&&(this.symbolWidth=x(r.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+a+d+(f?20:0),c&&v.attr("x",this.symbolWidth+a))),h.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,v,g)),f&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!n.styledMode&&s.width||v.css({width:(r.itemWidth||this.widthOption||n.spacingBox.width)-p+"px"}),this.setText(t),n=v.getBBox(),i=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=r.itemWidth||e.labelWidth||n.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(n.height>1.5*i?n.height:i))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=i?x(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth;var d=t.legendItem||{};i&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),d.x=this.itemX,d.y=this.itemY,i?this.itemX+=e:(this.itemY+=a+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&x(n.showInLegend,!f(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))})),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(r)&&!f(t[a])&&(n[d[a]]=Math.max(n[d[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*i[a%2?"x":"y"]+x(i.margin,12)+e[a]+(n.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(i){var r,o=n;if(i.yAxis){i.xAxis.options.reversed&&(o=!o),i.points&&(r=m(o?i.points:i.points.slice(0).reverse(),(function(t){return b(t.plotY)}))),o=this.itemMarginTop+i.legendItem.label.getBBox().height+this.itemMarginBottom;var a=i.yAxis.top-t.plotTop;i.visible?(r=r?r.plotY:i.yAxis.height,r+=a-.3*o):r=a+i.yAxis.height,e.push({target:r,size:o,item:i})}}),this);for(var i,r=0,o=c(e,t.plotHeight);r<o.length;r++){var a=o[r];i=a.item.legendItem||{},b(a.pos)&&(i.y=t.plotTop-t.spacing[0]+a.pos)}},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.options,i=this.padding,r=this.getAllItems(),o=this.group,a=this.box;this.itemX=i,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=_(n.width,t.spacingBox.width-i);var s=t.spacingBox.width-2*i-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),w(r,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.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)+i;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=i,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(o)),t.styledMode||a.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<r&&0<l&&a[a.placed?"animate":"attr"](a.crisp.call({},{x:0,y:0,width:r,height:l},a.strokeWidth())),o[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(i-=e.titleOffset[2]),i!==t.y&&(t=y(t,{y:i})),e.hasRendered||(this.group.placed=!1),this.group.align(y(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,n,i,r=this,o=this.chart,a=o.renderer,s=this.options,l=s.y,d="top"===s.verticalAlign,c=this.padding,u=s.maxHeight,h=s.navigation,p=x(h.animation,!0),f=h.arrowSize||12,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?_.attr({height:t}):_&&(r.clipRect=_.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},b=function(t){return r[t]=a.circle(0,0,1.3*f).translate(f/2,f/2).add(y),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]};l=o.spacingBox.height+(d?-l:l)-c;var y=this.nav,_=this.clipRect;return"horizontal"!==s.layout||"middle"===s.verticalAlign||s.floating||(l/=2),u&&(l=Math.min(l,u)),g.length=0,t&&0<l&&t>l&&!1!==h.enabled?(this.clipHeight=e=Math.max(l-20-this.titleHeight-c,0),this.currentPage=x(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,r){t=(i=t.legendItem||{}).y||0;var o=Math.round(i.label.getBBox().height),a=g.length;(!a||t-g[a-1]>e&&(n||t)!==g[a-1])&&(g.push(n||t),a++),i.pageIx=a-1,n&&((m[r-1].legendItem||{}).pageIx=a-1),r===m.length-1&&t+o-g[a-1]>e&&o<=e&&(g.push(t),i.pageIx=a),t!==n&&(n=t)})),_||(_=r.clipRect=a.clipRect(0,c,9999,0),r.contentGroup.clip(_)),v(e),y||(this.nav=y=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,f,f).add(y),b("upTracker").on("click",(function(){r.scroll(-1,p)})),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&h.style&&this.pager.css(h.style),this.pager.add(y),this.down=a.symbol("triangle-down",0,0,f,f).add(y),b("downTracker").on("click",(function(){r.scroll(1,p)}))),r.scroll(0),t=l):y&&(v(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,i=this.chart,r=this.pages,o=r.length,l=this.clipHeight,d=this.options.navigation,c=this.pager,u=this.padding,h=this.currentPage+t;h>o&&(h=o),0<h&&(void 0!==e&&s(e,i),this.nav.attr({translateX:u,translateY:l+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),c.attr({text:h+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i.styledMode||(this.up.attr({fill:1===h?d.inactiveColor:d.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===o?d.inactiveColor:d.activeColor}),this.downTracker.css({cursor:h===o?"default":"pointer"})),this.scrollOffset=-r[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),t=a(x(e,i.renderer.globalAnimation,!0)),O((function(){v(n,"afterScroll",{currentPage:h})}),t.duration))},t.prototype.setItemEvents=function(t,e,n){var r=this,o=t.legendItem||{},a=r.chart.renderer.boxWrapper,s=t instanceof i,l="highcharts-legend-"+(s?"point":"series")+"-active",d=r.chart.styledMode,c=function(e){r.allItems.forEach((function(n){t!==n&&[n].concat(n.linkedSeries||[]).forEach((function(t){t.setState(e,!s)}))}))},u=0;for(n=n?[e,o.symbol]:[o.group];u<n.length;u++)(o=n[u])&&o.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&a.addClass(l),d||e.css(r.options.itemHoverStyle)})).on("mouseout",(function(){r.chart.styledMode||e.css(y(t.visible?r.itemStyle:r.itemHiddenStyle)),c(""),a.removeClass(l),t.setState()})).on("click",(function(e){var n=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};a.removeClass(l),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):v(t,"legendItemClick",e,n)}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=h("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),u(t.checkbox,"click",(function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}()})),e(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/Defaults.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=i.extendClass,s=i.merge;return function(e){function i(t,i){var r=o.plotOptions||{},a=i.defaultOptions,s=i.prototype;s.type=t,s.pointClass||(s.pointClass=n),a&&(r[t]=a),e.seriesTypes[t]=i}e.seriesTypes=t.seriesTypes,e.registerSeriesType=i,e.seriesType=function(t,r,l,d,c){var u=o.plotOptions||{};return r=r||"",u[t]=s(u[r],l),i(t,a(e.seriesTypes[r]||function(){},d)),e.seriesTypes[t].prototype.type=t,c&&(e.seriesTypes[t].prototype.pointClass=a(n,c)),e.seriesTypes[t]}}(r||(r={})),r})),e(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.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(t,e,n,i,r,o,a,s,l,d,c,u,h,p,f){var g=t.animate,m=t.animObject,v=t.setAnimation,b=n.defaultOptions,y=n.defaultTime,x=i.numberFormat,_=r.registerEventOptions,w=o.charts,O=o.doc,$=o.marginNames,C=o.svg,k=o.win,S=c.seriesTypes,j=p.addEvent,E=p.attr,M=p.cleanRecursively,A=p.createElement,P=p.css,T=p.defined,L=p.discardElement,D=p.erase,I=p.error,N=p.extend,R=p.find,F=p.fireEvent,B=p.getStyle,z=p.isArray,H=p.isNumber,W=p.isObject,U=p.isString,Y=p.merge,G=p.objectEach,V=p.pick,X=p.pInt,q=p.relativeLength,K=p.removeEvent,Z=p.splat,J=p.syncTimeout,Q=p.uniqueKey;return t=function(){function t(t,e,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(t,e,n)}return t.chart=function(e,n,i){return new t(e,n,i)},t.prototype.getArgs=function(t,e,n){U(t)||t.nodeName?(this.renderTo=t,this.init(e,n)):this.init(t,e)},t.prototype.init=function(t,e){var n=t.plotOptions||{};F(this,"init",{args:arguments},(function(){var i=Y(b,t),r=i.chart;G(i.plotOptions,(function(t,e){W(t)&&(t.tooltip=n[e]&&Y(n[e].tooltip)||void 0)})),i.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0;var a=r.zooming=r.zooming||{};t.chart&&!t.chart.zooming&&(a.resetButton=r.resetZoomButton),a.key=V(a.key,r.zoomKey),a.pinchType=V(a.pinchType,r.pinchType),a.singleTouch=V(a.singleTouch,r.zoomBySingleTouch),a.type=V(a.type,r.zoomType),this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):o.time,this.numberFormatter=r.numberFormatter||x,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=w.length,w.push(this),o.chartCount++,_(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,F(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var n=S[e];return n||I(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new n).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var n=e.length;t<n;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,n){void 0===n&&(n={});var i=this.inverted,r=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,l=0,d=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(d=this.scrollingContainer).scrollLeft,d=d.scrollTop);var c=n.series;if(r=n.visiblePlotOnly&&s||r,t={x:s=n.inverted?e:t,y:e=n.inverted?t:e,isInsidePlot:!0,options:n},!n.ignoreX){var u=c&&(i&&!this.polar?c.yAxis:c.xAxis)||{pos:o,len:1/0};(s=n.paneCoordinates?u.pos+s:o+s)>=Math.max(l+o,u.pos)&&s<=Math.min(l+o+r.width,u.pos+u.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(i=n.axis&&!n.axis.isXAxis&&n.axis||c&&(i?c.xAxis:c.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?i.pos+e:a+e)>=Math.max(d+a,i.pos)&&n<=Math.min(d+a+r.height,i.pos+i.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,i=this.pointer,r=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],d=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var u=n[t];if(u.options.stacking||u.options.centerInCategory){var h=!0;if(u.isDirty){var p=!0;break}}}if(p)for(t=n.length;t--;)(u=n[t]).options.stacking&&(u.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):o&&(o.labelFormatter||o.labelFormat)&&(c=!0)),t.isDirtyData&&F(t,"updatedData")})),c&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),h&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(d=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){F(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(d||h)&&t.redraw()})),d&&this.drawChartBox(),F(this,"predraw"),n.forEach((function(t){(d||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),i&&i.reset(!0),a.draw(),F(this,"redraw"),F(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,i=R(this.axes,e)||R(this.series,e),r=0;!i&&r<n.length;r++)i=R(n[r].points||[],e);return i},t.prototype.getAxes=function(){var t=this,n=this.options,i=n.xAxis=Z(n.xAxis||{});n=n.yAxis=Z(n.yAxis||{}),F(this,"getAxes"),i.forEach((function(t,e){t.index=e,t.isX=!0})),n.forEach((function(t,e){t.index=e})),i.concat(n).forEach((function(n){new e(t,n)})),F(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){V(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)},t.prototype.applyDescription=function(t,e){var n=this,i="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};i=this.options[t]=Y(!this.styledMode&&{style:i},this.options[t],e);var r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||r.css(i.style),this[t]=r)},t.prototype.layOutTitles=function(t){var e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var r,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(r=a.style&&a.style.fontSize),r=n.fontMetrics(r,o).b,o.css({width:(a.width||i.width+(a.widthAdjust||0))+"px"});var l=Math.round(o.getBBox(a.useHTML).height);o.align(N({y:"bottom"===s?r:t+r,height:l},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,F(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&V(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var n=this.renderTo;T(e)||(this.containerWidth=B(n,"width")),T(t)||(this.containerHeight=B(n,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,q(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(O.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(O.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,O.body.appendChild(e)),("none"===B(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==O.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,n=e.chart,i=Q(),r=this.renderTo;r||(this.renderTo=r=n.renderTo),U(r)&&(this.renderTo=r=O.getElementById(r)),r||I(13,!0,this);var o=X(E(r,"data-highcharts-chart"));H(o)&&w[o]&&w[o].hasRendered&&w[o].destroy(),E(r,"data-highcharts-chart",this.index),r.innerHTML=f.emptyHTML,n.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(r,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:o+"px",height:a+"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=i=A("div",{id:i},t,r),this._cursor=i.style.cursor,this.renderer=new(n.renderer||!C?d.getRendererType(n.renderer):u)(i,o,a,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i[0]&&!T(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!T(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),F(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),$.forEach((function(n,r){T(i[r])||(t[n]+=e[r])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,n=e.options.chart,i=e.renderTo,r=T(n.width)&&T(n.height),o=n.width||B(i,"width");n=n.height||B(i,"height"),i=t?t.target:k,delete e.pointer.chartPosition,r||e.isPrinting||!o||!n||i!==k&&i!==O||(o===e.containerWidth&&n===e.containerHeight||(p.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=n)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=j(k,"resize",(function(t){e.options&&e.reflow(t)})),j(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,n){var i=this,r=i.renderer;i.isResizing+=1,v(n,i),n=r.globalAnimation,i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize(),i.styledMode||(n?g:P)(i.container,{width:i.chartWidth+"px",height:i.chartHeight+"px"},n),i.setChartSize(!0),r.setSize(i.chartWidth,i.chartHeight,n),i.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=null,F(i,"resize"),J((function(){i&&F(i,"endResize",null,(function(){--i.isResizing}))}),m(n).duration)},t.prototype.setChartSize=function(t){var e,n,i,r,o=this.inverted,a=this.renderer,s=this.chartWidth,l=this.chartHeight,d=this.options.chart,c=this.spacing,u=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=o?r:i,this.plotSizeY=o?i:r,this.plotBorderWidth=d.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:c[3],y:c[0],width:s-c[3]-c[1],height:l-c[0]-c[2]},this.plotBox=a.plotBox={x:e,y:n,width:i,height:r},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,u[3])/2),l=Math.ceil(Math.max(o,u[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(o,u[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,u[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),F(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){F(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(n){var i=e[n],r=W(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach((function(i,o){t[n][o]=V(e[n+i],r[o])}))})),$.forEach((function(e,n){t[e]=V(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,n=this.renderer,i=this.chartWidth,r=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,l=e.plotBackgroundColor,d=e.plotBackgroundImage,c=this.plotLeft,u=this.plotTop,h=this.plotWidth,p=this.plotHeight,f=this.plotBox,g=this.clipRect,m=this.clipBox,v=this.chartBackground,b=this.plotBackground,y=this.plotBorder,x="animate";if(v||(this.chartBackground=v=n.rect().addClass("highcharts-background").add(),x="attr"),o)var _=t=v.strokeWidth();else t=(_=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(_||v["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=_),v.attr(s).shadow(e.shadow);v[x]({x:t/2,y:t/2,width:i-t-_%2,height:r-t-_%2,r:e.borderRadius}),x="animate",b||(x="attr",this.plotBackground=b=n.rect().addClass("highcharts-plot-background").add()),b[x](f),o||(b.attr({fill:l||"none"}).shadow(e.plotShadow),d&&(a?(d!==a.attr("href")&&a.attr("href",d),a.animate(f)):this.plotBGImage=n.image(d,c,u,h,p).add())),g?g.animate({width:m.width,height:m.height}):this.clipRect=n.clipRect(m),x="animate",y||(x="attr",this.plotBorder=y=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[x](y.crisp({x:c,y:u,width:h,height:p},-y.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach((function(a){for(e=S[r.type||r.defaultSeriesType],n=r[a]||e&&e.prototype[a],t=o&&o.length;!n&&t--;)(e=S[o[t].type])&&e.prototype[a]&&(n=!0);i[a]=n}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var n=e.options.linkedTo;U(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=V(e.options.visible,n.options.visible,e.visible))})),F(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(n){var i=N(e.style,n.style),r=X(i.left)+t.plotLeft,o=X(i.top)+t.plotTop+12;delete i.left,delete i.top,t.renderer.text(n.html,r,o).attr({zIndex:2}).css(i).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,n=this.renderer,i=this.options,r=function(t){t.forEach((function(t){t.visible&&t.render()}))},o=0;this.setTitle(),this.legend=new a(this,i.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),i=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return o=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-o,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<i/this.plotWidth,d=1.05<s/this.plotHeight;(l||d)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&d)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(t):e&&e.length&&r(e),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},t.prototype.addCredits=function(t){var e=this,n=Y(!0,this.options.credits,t);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}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,n=e.axes,i=e.series,r=e.container,a=r&&r.parentNode;for(F(e,"destroy"),e.renderer.forExport?D(w,e):w[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),r&&(r.innerHTML=f.emptyHTML,K(r),a&&L(r)),G(e,(function(t,n){delete e[n]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(z(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),F(t,"beforeRender"),l&&(s.isRequired()?t.pointer=new s(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),F(this,"load"),F(this,"render"),T(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},t.prototype.warnIfA11yModuleNotLoaded=function(){var t=this.options,e=this.title;t&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"&lt;")}),t.accessibility&&!1===t.accessibility.enabled||I('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},t.prototype.addSeries=function(t,e,n){var i,r=this;return t&&(e=V(e,!0),F(r,"addSeries",{options:t},(function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),F(r,"afterAddSeries",{series:i}),e&&r.redraw(n)}))),i},t.prototype.addAxis=function(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})},t.prototype.addColorAxis=function(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})},t.prototype.createAxis=function(t,n){return t=new e(this,Y(n.axis,{index:this[t].length,isX:"xAxis"===t})),V(n.redraw,!0)&&this.redraw(n.animation),t},t.prototype.showLoading=function(t){var e=this,n=e.options,i=n.loading,r=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=A("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=A("span",{className:"highcharts-loading-inner"},null,o),j(e,"redraw",r)),o.className="highcharts-loading",f.setElementHTML(a,V(t,n.lang.loading,"")),e.styledMode||(P(o,N(i.style,{zIndex:10})),P(a,i.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),g(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,n,i){var r,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,d=[];F(a,"update",{options:t}),l||a.setResponsive(!1,!0),t=M(t,a.options),a.userOptions=Y(a.userOptions,t);var c=t.chart;if(c){if(Y(!0,a.options.chart,c),"className"in c&&a.setClassName(c.className),"reflow"in c&&a.setReflow(c.reflow),"inverted"in c||"polar"in c||"type"in c){a.propFromSeries();var u=!0}"alignTicks"in c&&(u=!0),"events"in c&&_(this,c),G(c,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(r=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(l?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&c.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===y&&(this.time=new h(t.time)),Y(!0,a.options.time,t.time)),G(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[s[n]]?a[s[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&Y(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(r=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var i=[];a[e].forEach((function(t,e){t.options.isInternal||i.push(V(t.options.index,e))})),Z(t[e]).forEach((function(t,r){var o,s=T(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][i?i[r]:r])&&s&&T(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),n&&(o.touched=!0)),!o&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:d.push(t)}))}})),d.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),u&&a.axes.forEach((function(t){t.update({},!1)})),r&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),u=c&&c.width,c=c&&(U(c.height)?q(c.height,u||a.chartWidth):c.height),o||H(u)&&u!==a.chartWidth||H(c)&&c!==a.chartHeight?a.setSize(u,c,i):V(e,!0)&&a.redraw(i),F(a,"afterUpdate",{options:t,redraw:e,animation:i})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,n=b.lang,i=e.options.chart.zooming.resetButton,r=i.theme,o="chart"===i.relativeTo||"spacingBox"===i.relativeTo?null:"scrollablePlotBox";F(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(n.resetZoom,null,null,t,r).attr({align:i.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i.position,!1,o)})),F(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){F(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,n=this,i=n.pointer,r=!1;!t||t.resetSelection?(n.axes.forEach((function(t){e=t.zoom()})),i.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var o=t.axis;(i[o.isXAxis?"zoomX":"zoomY"]&&T(i.mouseDownX)&&T(i.mouseDownY)&&n.isInsidePlot(i.mouseDownX-n.plotLeft,i.mouseDownY-n.plotTop,{axis:o})||!T(n.inverted?i.mouseDownX:i.mouseDownY))&&(e=o.zoom(t.min,t.max),o.displayBtn&&(r=!0))}));var o=n.resetZoomButton;r&&!o?n.showResetZoom():!r&&W(o)&&(n.resetZoomButton=o.destroy()),e&&n.redraw(V(n.options.chart.animation,t&&t.animation,100>n.pointCount))},t.prototype.pan=function(t,e){var n=this,i=n.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var r=n.options.chart;r&&r.panning&&(r.panning=e);var o,a=e.type;F(this,"pan",{originalEvent:t},(function(){i&&i.forEach((function(t){t.setState()}));var e=n.xAxis;"xy"===a?e=e.concat(n.yAxis):"y"===a&&(e=n.yAxis);var r={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var i=e.horiz,s=t[i?"chartX":"chartY"],l=n[i=i?"mouseDownX":"mouseDownY"],d=e.minPointOffset||0,c=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,u=e.getExtremes(),h=e.toValue(l-s,!0)+d*c,p=e.toValue(l+e.len-s,!0)-(d*c||e.isXAxis&&e.pointRangePadding||0),f=p<h;c=e.hasVerticalPanning(),l=f?p:h,h=f?h:p;var g=e.panningState;!c||e.isXAxis||g&&!g.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),g||(g={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),H(e.dataMin)&&H(e.dataMax)&&(g.startMin=Math.min(V(t.options.threshold,1/0),e.dataMin,g.startMin),g.startMax=Math.max(V(t.options.threshold,-1/0),e.dataMax,g.startMax))})),c=Math.min(V(g&&g.startMin,u.dataMin),d?u.min:e.toValue(e.toPixels(u.min)-e.minPixelPadding)),p=Math.max(V(g&&g.startMax,u.dataMax),d?u.max:e.toValue(e.toPixels(u.max)+e.minPixelPadding)),e.panningState=g,e.isOrdinal||(0<(d=c-l)&&(h+=d,l=c),0<(d=h-p)&&(h=p,l-=d),e.series.length&&l!==u.min&&h!==u.max&&l>=c&&h<=p&&(e.setExtremes(l,h,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==c&&h!==p&&a.match("y")&&(n.showResetZoom(),e.displayBtn=!1),o=!0),r[i]=s)}})),G(r,(function(t,e){n[e]=t})),o&&n.redraw(!1),P(n.container,{cursor:"move"})}))},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,i=t.merge,r=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.legendItem=this.legendItem||{},o=this.options,a=t.symbolWidth,s=t.symbolHeight,l=s/2,d=this.chart.renderer,c=e.group;t=t.baseline-Math.round(.3*t.fontMetrics.b);var u={},h=o.marker,p=0;this.chart.styledMode||(u={"stroke-width":Math.min(o.lineWidth||0,24)},o.dashStyle?u.dashstyle=o.dashStyle:"square"!==o.linecap&&(u["stroke-linecap"]="round")),e.line=d.path().addClass("highcharts-graph").attr(u).add(c),u["stroke-linecap"]&&(p=Math.min(e.line.strokeWidth(),a)/2),e.line.attr({d:[["M",p,t],["L",a-p,t]]}),h&&!1!==h.enabled&&a&&(o=Math.min(r(h.radius,l),l),0===this.symbol.indexOf("url")&&(h=i(h,{width:s,height:s}),o=0),e.symbol=e=d.symbol(this.symbol,a/2-o,t-o,2*o,2*o,n({context:"legend"},h)).addClass("highcharts-point").add(c),e.isMarker=!0)},t.drawRectangle=function(t,e){e=e.legendItem||{};var n=t.symbolHeight,i=t.options.squareSymbol;e.symbol=this.chart.renderer.rect(i?(t.symbolWidth-n)/2:0,t.baseline-n+1,i?n:t.symbolWidth,n,r(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.group)}}(e||(e={})),e})),e(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",borderWidth:0,defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.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(t,e,n,i,r,o,a,s,l,d){var c=t.animObject,u=t.setAnimation,h=e.defaultOptions,p=n.registerEventOptions,f=i.hasTouch,g=i.svg,m=i.win,v=s.seriesTypes,b=d.arrayMax,y=d.arrayMin,x=d.clamp,_=d.cleanRecursively,w=d.correctFloat,O=d.defined,$=d.erase,C=d.error,k=d.extend,S=d.find,j=d.fireEvent,E=d.getNestedProperty,M=d.isArray,A=d.isNumber,P=d.isString,T=d.merge,L=d.objectEach,D=d.pick,I=d.removeEvent,N=d.splat,R=d.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){j(this,"init",{options:e});var n=this,i=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),k(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var r,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),i.length&&(r=i[i.length-1]),n._i=D(r&&r._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(i)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),j(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(A(n)){for(e=t.length;e--;)if(n>=D(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return D(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,i=e.chart;j(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){var o=0;i[r].forEach((function(i){t=i.options,(n[r]===o&&!t.isInternal||void 0!==n[r]&&n[r]===t.id||void 0===n[r]&&0===t.index)&&(e.insert(i.series),e[r]=i,i.isDirty=!0),t.isInternal||o++})),e[r]||e.optionalAxis===r||C(18,!0,i)}))})),j(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,i=arguments,r=A(e)?function(i){var r="y"===i&&n.toYData?n.toYData(t):t[i];n[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(i,2))};n.parallelArrays.forEach(r)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,n=this.options,i=n.pointIntervalUnit,r=n.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=D(a,n.pointStart,0),this.pointInterval=e=D(this.pointInterval,n.pointInterval,1),r&&A(t)&&(e*=t),i&&(n=new o.Date(a),"day"===i?o.set("Date",n,o.get("Date",n)+e):"month"===i?o.set("Month",n,o.get("Month",n)+e):"year"===i&&o.set("FullYear",n,o.get("FullYear",n)+e),e=n.getTime()-a),r&&A(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;k(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),O(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,n=e.options,i=n.plotOptions,r=e.userOptions||{};t=T(t),e=e.styledMode;var o={plotOptions:i,userOptions:t};j(this,"setOptions",o);var a=o.plotOptions[this.type],s=r.plotOptions||{};return this.userOptions=o.userOptions,r=T(a,i.series,r.plotOptions&&r.plotOptions[this.type],t),this.tooltipOptions=T(h.tooltip,h.plotOptions.series&&h.plotOptions.series.tooltip,h.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,t.tooltip),this.stickyTracking=D(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===a.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,i=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(n={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},e||(n.color=r.negativeColor,n.fillColor=r.negativeFillColor),i.push(n)),i.length&&O(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),j(this,"afterSetOptions",{options:r}),r},t.prototype.getName=function(){return D(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,n){var i=this.chart,r=this.userOptions,o=t+"Index",a=t+"Counter",s=n?n.length:D(i.options.chart[t+"Count"],i[t+"Count"]);if(!e){var l=D(r[o],r["_"+o]);O(l)||(i.series.length||(i[a]=0),r["_"+o]=l=i[a]%s,i[a]+=1),n&&(e=n[l])}void 0!==l&&(this[o]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var n,i,r=t.id,a=t.x,s=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof o&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?n=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(n=function(e){return!e.touched&&e.options.x===t.x}),!(n=S(s,n))))return;if(n){var d=n&&n.index;void 0!==d&&(i=!0)}return void 0===d&&A(a)&&(d=this.xData.indexOf(a,e)),-1!==d&&void 0!==d&&this.cropped&&(d=d>=this.cropStart?d-this.cropStart:d),!i&&A(d)&&s[d]&&s[d].touched&&(d=void 0),d},t.prototype.updateData=function(t,e){var n,i,r,o=this.options,a=o.dataSorting,s=this.points,l=[],d=this.requireSorting,c=t.length===s.length,u=!0;if(this.xIncrement=null,t.forEach((function(t,e){var i=O(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},u=i.x;i.id||A(u)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):s[i]&&t!==o.data[i]?(s[i].update(t,!1,null,!1),s[i].touched=!0,d&&(r=i+1)):s[i]&&(s[i].touched=!0),(!c||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)}),this),n)for(t=s.length;t--;)(i=s[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!c||a&&a.enabled?u=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),l.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!u&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,i){void 0===e&&(e=!0);var r=this,o=r.points,a=o&&o.length||0,s=r.options,l=r.chart,d=s.dataSorting,c=r.xAxis,u=s.turboThreshold,h=this.xData,p=this.yData,f=r.pointArrayMap;f=f&&f.length;var g,m=s.keys,v=0,b=1,y=null;if(!l.options.chart.allowMutatingData){s.data&&delete r.options.data,r.userOptions.data&&delete r.userOptions.data;var x=T(!0,t)}if(x=(t=x||t||[]).length,d&&d.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==i&&x&&a&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.boosted&&(g=this.updateData(t,n)),!g){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(t){r[t+"Data"].length=0})),u&&x>u)if(y=r.getFirstValidPoint(t),A(y))for(n=0;n<x;n++)h[n]=this.autoIncrement(),p[n]=t[n];else if(M(y))if(f)if(y.length===f)for(n=0;n<x;n++)h[n]=this.autoIncrement(),p[n]=t[n];else for(n=0;n<x;n++)i=t[n],h[n]=i[0],p[n]=i.slice(1,f+1);else if(m&&(v=0<=(v=m.indexOf("x"))?v:0,b=0<=(b=m.indexOf("y"))?b:1),1===y.length&&(b=0),v===b)for(n=0;n<x;n++)h[n]=this.autoIncrement(),p[n]=t[n][b];else for(n=0;n<x;n++)i=t[n],h[n]=i[v],p[n]=i[b];else C(12,!1,l);else for(n=0;n<x;n++)void 0!==t[n]&&(i={series:r},r.pointClass.prototype.applyOptions.apply(i,[t[n]]),r.updateParallelArrays(i,n));for(p&&P(p[0])&&C(14,!0,l),r.data=[],r.options.data=r.userOptions.data=t,n=a;n--;)o[n]&&o[n].destroy&&o[n].destroy();c&&(c.minRange=c.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!o,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(n)},t.prototype.sortData=function(t){var e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return O(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,r){t[r]=i(e,n),t[r].index=r}),this),t.concat().sort((function(t,e){return t=E(n,t),(e=E(n,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)})),e.setData(r,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,i=n.cropThreshold,r=t||this.getExtremesFromAll||n.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,d=this.requireSorting,c=!1,u=s.length;if(e){var h=(c=e.getExtremes()).min,p=c.max;c=!(!e.categories||e.names.length)}if(o&&this.sorted&&!r&&(!i||u>i||this.forceCrop))if(s[u-1]<h||s[0]>p)s=[],l=[];else if(this.yData&&(s[0]<h||s[u-1]>p)){var f=this.cropData(this.xData,this.yData,h,p);s=f.xData,l=f.yData,a=f.start,f=!0}for(i=s.length||1;--i;)if(0<(e=n?t(s[i])-t(s[i-1]):s[i]-s[i-1])&&(void 0===g||e<g))var g=e;else 0>e&&d&&!c&&(C(15,!1,this.chart),d=!1);return{xData:s,yData:l,cropped:f,cropStart:a,closestPointRange:g}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,j(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,i,r){var o,a=t.length,s=0,l=a;for(r=D(r,this.cropShoulder),o=0;o<a;o++)if(t[o]>=n){s=Math.max(0,o-r);break}for(n=o;n<a;n++)if(t[n]>i){l=n+r;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=this.processedData||t.data,n=this.processedXData,i=this.processedYData,r=this.pointClass,o=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,d=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var c,u,h=this.data;if(!h&&!s){var p=[];p.length=e.length,h=this.data=p}for(l&&s&&(this.options.keys=!1),u=0;u<o;u++){if(p=a+u,s){var f=(new r).init(this,[n[u]].concat(N(i[u])));f.dataGroup=this.groupMap[t+u],f.dataGroup.options&&(f.options=f.dataGroup.options,k(f,f.dataGroup.options),delete f.dataLabels)}else(f=h[p])||void 0===e[p]||(h[p]=f=(new r).init(this,e[p],n[u]));f&&(f.index=s?t+u:p,d[u]=f)}if(this.options.keys=l,h&&(o!==(c=h.length)||s))for(u=0;u<c;u++)u!==a||s||(u+=o),h[u]&&(h[u].destroyElements(),h[u].plotX=void 0);this.data=h,this.points=d,j(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:y(t),max:b(t)}},t.prototype.getExtremes=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;i=!!i&&i.positiveValuesOnly;var s,l=0,d=0,c=0,u=(t=t||this.stackedYData||this.processedYData||[]).length;if(n){var h=n.getExtremes();l=h.min,d=h.max}for(s=0;s<u;s++){var p=r[s];h=t[s];var f=(A(h)||M(h))&&(h.length||0<h||!i);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[s+a]||p)>=l&&(r[s-a]||p)<=d,f&&p)if(f=h.length)for(;f--;)A(h[f])&&(o[c++]=h[f]);else o[c++]=h}return t={activeYData:o,dataMin:y(o),dataMax:b(o)},j(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,i=null;null===i&&n<e;)i=t[n],n++;return i},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n=this.options,i=n.stacking,r=this.xAxis,o=r.categories,a=this.enabledDataSorting,s=this.yAxis,l=this.points,d=l.length,c=this.pointPlacementToXValue(),u=!!c,h=n.threshold,p=n.startFromThreshold?h:0,f=this.zoneAxis||"y",g=Number.MAX_VALUE;for(t=0;t<d;t++){var m=l[t],v=m.x,b=void 0,y=void 0,_=m.y,$=m.low,C=i&&s.stacking&&s.stacking.stacks[(this.negStacks&&_<(p?0:h)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(_)||r.positiveValuesOnly&&!r.validatePositiveValue(v))&&(m.isNull=!0),m.plotX=e=w(x(r.translate(v,0,0,0,1,c,"flags"===this.type),-1e5,1e5)),i&&this.visible&&C&&C[v]){var k=this.getStackIndicator(k,v,this.index);!m.isNull&&k.key&&(y=(b=C[v]).points[k.key]),b&&M(y)&&($=y[0],_=y[1],$===p&&k.key===C[v].base&&($=D(A(h)?h:s.min)),s.positiveValuesOnly&&O($)&&0>=$&&($=void 0),m.total=m.stackTotal=D(b.total),m.percentage=O(m.y)&&b.total?m.y/b.total*100:void 0,m.stackY=_,this.irregularWidths||b.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))}if(m.yBottom=O($)?x(s.translate($,0,1,0,1),-1e5,1e5):void 0,this.dataModify&&(_=this.dataModify.modifyValue(_,t)),m.plotY=void 0,A(_)&&(void 0!==(b=s.translate(_,!1,!0,!1,!0))&&(m.plotY=x(b,-1e5,1e5))),m.isInside=this.isPointInside(m),m.clientX=u?w(r.translate(v,0,0,0,1,c)):e,m.negative=m[f]<(n[f+"Threshold"]||h||0),m.category=D(o&&o[m.x],m.x),!m.isNull&&!1!==m.visible){void 0!==S&&(g=Math.min(g,Math.abs(e-S)));var S=e}m.zone=this.zones.length?m.getZone():void 0,!m.graphic&&this.group&&a&&(m.isNew=!0)}this.closestPointRangePx=g,j(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var i=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!i.isInsidePlot(t.plotX,t.plotY,{inverted:i.inverted}))&&(!1!==t.visible&&(n||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,i=T(t.clipBox);return e&&e.len!==t.plotSizeX&&(i.width=e.len),n&&n.len!==t.plotSizeY&&(i.height=n.len),i},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,i=t.sharedClips;t=t.renderer;var r=this.getClipBox(),o=this.getSharedClipKey(),a=i[o];a?a.animate(r):i[o]=a=t.clipRect(r),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,i=this.markerGroup,r=e.inverted,o=c(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,r&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,l=e.renderer.clipRect({x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199}),e.sharedClips[a+"m"]=l),n.clip(s),i&&i.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var d=o.step;i&&i.element.childNodes.length&&(o.step=function(t,e){d&&d.apply(e,arguments),"width"===e.prop&&l&&l.element&&l.attr(r?"height":"width",t+99)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,n,i){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete i[n])})),this.finishedAnimating=!0,j(this,"afterAnimate")},t.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,n,i=this.chart,r=i.styledMode,o=this.colorAxis,a=this.options.marker,s=this[this.specialGroup||"markerGroup"],l=this.xAxis,d=D(a.enabled,!(l&&!l.isRadial)||null,this.closestPointRangePx>=a.enabledThreshold*a.radius);if(!1!==a.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++){var c=t[e],u=(n=c.graphic)?"animate":"attr",h=c.marker||{},p=!!c.marker;if((d&&void 0===h.enabled||h.enabled)&&!c.isNull&&!1!==c.visible){var f=D(h.symbol,this.symbol,"rect"),g=this.markerAttribs(c,c.selected&&"select");this.enabledDataSorting&&(c.startXPos=l.reversed?-(g.width||0):l.width);var m=!1!==c.isInside;!n&&m&&(0<(g.width||0)||c.hasImage)&&(c.graphic=n=i.renderer.symbol(f,g.x,g.y,g.width,g.height,p?h:a).add(s),this.enabledDataSorting&&i.hasRendered&&(n.attr({x:c.startXPos}),u="animate")),n&&"animate"===u&&n[m?"show":"hide"](m).animate(g),n&&(h=this.pointAttribs(c,r||!c.selected?void 0:"select"),r?o&&n.css({fill:h.fill}):n[u](h)),n&&n.addClass(c.getClassName(),!0)}else n&&(c.graphic=n.destroy())}},t.prototype.markerAttribs=function(t,e){var n=this.options,i=n.marker,r=t.marker||{},o=r.symbol||i.symbol,a={},s=D(r.radius,i&&i.radius);return e&&(i=i.states[e],e=r.states&&r.states[e],s=D(e&&e.radius,i&&i.radius,s&&s+(i&&i.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(s=0),t=t.pos(),A(s)&&t&&(a.x=t[0]-s,a.y=t[1]-s,n.crisp&&(a.x=Math.floor(a.x))),s&&(a.width=a.height=2*s),a},t.prototype.pointAttribs=function(t,e){var n=this.options.marker,i=t&&t.options,r=i&&i.marker||{},o=i&&i.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,l=this.color;return t=D(r.lineWidth,n.lineWidth),i=1,l=o||s||a||l,o=r.fillColor||n.fillColor||l,a=r.lineColor||n.lineColor||l,e=e||"normal",n=n.states[e]||{},e=r.states&&r.states[e]||{},t=D(e.lineWidth,n.lineWidth,t+D(e.lineWidthPlus,n.lineWidthPlus,0)),o=e.fillColor||n.fillColor||o,{stroke:a=e.lineColor||n.lineColor||a,"stroke-width":t,fill:o,opacity:i=D(e.opacity,n.opacity,i)}},t.prototype.destroy=function(t){var e,n,i,r=this,o=r.chart,a=/AppleWebKit\/533/.test(m.navigator.userAgent),s=r.data||[];for(j(r,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(r.axisTypes||[]).forEach((function(t){(i=r[t])&&i.series&&($(i.series,r),i.isDirty=i.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),e=s.length;e--;)(n=s[e])&&n.destroy&&n.destroy();r.clips&&r.clips.forEach((function(t){return t.destroy()})),d.clearTimeout(r.animationTimeout),L(r,(function(t,e){t instanceof l&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===r&&(o.hoverSeries=void 0),$(o.series,r),o.orderSeries(),L(r,(function(e,n){t&&"hcEvents"===n||delete r[n]}))},t.prototype.applyZones=function(){var t,e,n,i,r,o,a,s,l=this,d=this.chart,c=d.renderer,u=this.zones,h=this.clips||[],p=this.graph,f=this.area,g=Math.max(d.plotWidth,d.plotHeight),m=this[(this.zoneAxis||"y")+"Axis"],v=d.inverted,b=!1;if(u.length&&(p||f)&&m&&void 0!==m.min){var y=m.reversed,_=m.horiz;p&&!this.showLine&&p.hide(),f&&f.hide();var w=m.getExtremes();u.forEach((function(u,O){t=y?_?d.plotWidth:0:_?0:m.toPixels(w.min)||0,t=x(D(e,t),0,g),e=x(Math.round(m.toPixels(D(u.value,w.max),!0)||0),0,g),b&&(t=e=m.toPixels(w.max)),i=Math.abs(t-e),r=Math.min(t,e),o=Math.max(t,e),m.isXAxis?(n={x:v?o:r,y:0,width:i,height:g},_||(n.x=d.plotHeight-n.x)):(n={x:0,y:v?o:r,width:g,height:i},_&&(n.y=d.plotWidth-n.y)),v&&c.isVML&&(n=m.isXAxis?{x:0,y:y?r:o,height:n.width,width:d.chartWidth}:{x:n.y-d.plotLeft-d.spacingBox.x,y:0,width:n.height,height:d.chartHeight}),h[O]?h[O].animate(n):h[O]=c.clipRect(n),a=l["zone-area-"+O],s=l["zone-graph-"+O],p&&s&&s.clip(h[O]),f&&a&&a.clip(h[O]),b=u.value>w.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=h}else l.visible&&(p&&p.show(),f&&f.show())},t.prototype.plotGroup=function(t,e,n,i,r){var o=this[t],a=!o;return n={visibility:n,zIndex:i||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(O(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox(e)),o},t.prototype.getPlotBox=function(t){var e=this.xAxis,n=this.yAxis,i=this.chart;return t=i.inverted&&!i.polar&&e&&!1!==this.invertible&&"series"===t,i.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:i.plotLeft,translateY:n?n.top:i.plotTop,rotation:t?90:0,rotationOriginX:t?(e.len-n.len)/2:0,rotationOriginY:t?(e.len+n.len)/2:0,scaleX:t?-1:1,scaleY:1}},t.prototype.removeEvents=function(t){t||I(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,i=c(n.animation),r=t.visible?"inherit":"hidden",o=n.zIndex,a=t.hasRendered,s=e.seriesGroup;e=!t.finishedAnimating&&e.renderer.isSVG?i.duration:0,j(this,"render"),t.plotGroup("group","series",r,o,s),t.markerGroup=t.plotGroup("markerGroup","markers",r,o,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.animate&&e&&t.animate(),a||(e&&i.defer&&(e+=i.defer),t.animationTimeout=R((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,j(t,"afterRender")},t.prototype.redraw=function(){var t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,n=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,R((function(){e.kdTree=function t(n,i,r){var o=n&&n.length;if(o){var a=e.kdAxisArray[i%r];return n.sort((function(t,e){return t[a]-e[a]})),{point:n[o=Math.floor(o/2)],left:t(n.slice(0,o),i+1,r),right:t(n.slice(o+1),i+1,r)}}}(e.getValidPoints(null,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,n){var i=this,r=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<i.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,s,l){var d=n.point,c=i.kdAxisArray[s%l],u=d,h=O(e[r])&&O(d[r])?Math.pow(e[r]-d[r],2):null,p=O(e[o])&&O(d[o])?Math.pow(e[o]-d[o],2):null;return p=(h||0)+(p||0),d.dist=O(p)?Math.sqrt(p):Number.MAX_VALUE,d.distX=O(h)?Math.sqrt(h):Number.MAX_VALUE,h=0>(c=e[c]-d[c])?"right":"left",n[p=0>c?"left":"right"]&&(u=(p=t(e,n[p],s+1,l))[a]<u[a]?p:d),n[h]&&Math.sqrt(c*c)<u[a]&&(u=(e=t(e,n[h],s+1,l))[a]<u[a]?e:u),u}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,n=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=n.reversed?-.5:.5),A(t)?t*(e||n.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,n=this.xAxis,i=this.yAxis;return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=(i?i.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(n?n.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,n=e.trackByArea,i=[].concat(n?t.areaPath:t.graphPath),r=t.chart,o=r.pointer,a=r.renderer,s=r.options.tooltip.snap,l=t.tracker,d=function(e){r.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(g?1e-4:.002)+")";l?l.attr({d:i}):t.graph&&(t.tracker=a.path(i).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),r.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:n?c:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",d).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!r.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",d)}))),j(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,n,i,r){var o=this.options,a=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var d,c=o.data,u=this.xData;e=D(e,!0);var h={series:this};this.pointClass.prototype.applyOptions.apply(h,[t]);var p=h.x,f=u.length;if(this.requireSorting&&p<u[f-1])for(d=!0;f&&u[f-1]>p;)f--;this.updateParallelArrays(h,"splice",f,0,0),this.updateParallelArrays(h,f),l&&h.name&&(l[p]=h.name),c.splice(f,0,t),(d||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(h,"shift"),c.shift())),!1!==r&&j(this,"addPoint",{point:h}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(i)},t.prototype.removePoint=function(t,e,n){var i=this,r=i.data,o=r[t],a=i.points,s=i.chart,l=function(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",t,1),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&s.redraw()};u(n,s),e=D(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,i){function r(){o.destroy(i),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),D(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==n?j(o,"remove",null,r):r()},t.prototype.update=function(t,e){t=_(t,this.userOptions),j(this,"update",{options:t});var n=this,i=n.chart,r=n.userOptions,o=n.initialType||n.type,a=i.options.plotOptions,s=v[o].prototype,l=n.finishedAnimating&&{animation:!1},d={},c=["eventOptions","navigatorSeries","baseSeries"],u=t.type||r.type||i.options.chart.type,h=!(this.hasDerivedData||u&&u!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(u=u||o,h&&(c.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&c.push("area","graph"),n.parallelArrays.forEach((function(t){c.push(t+"Data")})),t.data&&(t.dataSorting&&k(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=T(r,l,{index:void 0===r.index?n.index:r.index,pointStart:D(a&&a.series&&a.series.pointStart,r.pointStart,n.xData[0])},!h&&{data:n.options.data},t),h&&t.data&&(t.data=n.options.data),(c=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(c)).forEach((function(t){c[t]=n[t],delete n[t]})),a=!1,v[u]){if(a=u!==n.type,n.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[u].prototype);else{for(p in l=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,s)n[p]=void 0;k(n,v[u].prototype),l?n.hcEvents=l:delete n.hcEvents}}else C(17,!0,i,{missingModuleFor:u});if(c.forEach((function(t){n[t]=c[t]})),n.init(i,t),h&&this.points){if(!1===(t=n.options).visible)d.graphic=1,d.dataLabel=1;else if(!n._hasPointLabels){s=t.marker;var p=t.dataLabels;r=r.marker||{},!s||!1!==s.enabled&&r.symbol===s.symbol&&r.height===s.height&&r.width===s.width||(d.graphic=1),p&&!1===p.enabled&&(d.dataLabel=1)}for(r=0,s=this.points;r<s.length;r++)(p=s[r])&&p.series&&(p.resolveColor(),Object.keys(d).length&&p.destroyElements(d),!1===t.showInLegend&&p.legendItem&&i.legend.destroyItem(p))}n.initialType=o,i.linkSeries(),a&&n.linkedSeries.length&&(n.isDirtyData=!0),j(this,"afterUpdate"),D(e,!0)&&i.redraw(!!h&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],n=this.chart.options.plotOptions,i=this.userOptions[t];return i?e!==i:e!==D(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&j(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&j(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,a=i.states,s=D(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,d=0,c=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(l=a[t].lineWidth||l+(a[t].lineWidthPlus||0),c=D(a[t].opacity,c)),r&&!r.dashstyle&&A(l))for(i={"stroke-width":l},r.animate(i,s);n["zone-graph-"+d];)n["zone-graph-"+d].animate(i,s),d+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},s)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var n=this,i=n.chart,r=i.options.chart.ignoreHiddenSeries,o=n.visible,a=(n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!o:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){n[t]&&n[t][a]()})),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),n.legendItem&&i.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&i.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),r&&(i.isDirtyBox=!0),j(n,a),!1!==e&&i.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),j(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)},t.defaultOptions=a,t.types=s.seriesTypes,t.registerType=s.registerSeriesType,t}(),k(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(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(t,e,n,i,r,o){var a=t.stop,s=o.addEvent,l=o.createElement,d=o.defined,c=o.merge,u=o.pick;s(n,"afterSetChartSize",(function(t){var n=this.options.chart.scrollablePlotArea,i=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var r={1:{name:"right",value:i}}}}else n&&(this.scrollablePixelsY=i=Math.max(0,n-this.chartHeight),d(i)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,r={2:{name:"bottom",value:i}}));r&&!t.skipAxes&&this.axes.forEach((function(t){r[t.side]?t.getPlotLinePath=function(){var n=r[t.side].name,i=this[n];this[n]=i-r[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[n]=i,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var t,e=this,n={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(n.overflowX="auto"),this.scrollablePixelsY&&(n.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},n,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){e.pointer&&(delete e.pointer.chartPosition,e.hoverPoint&&(t=e.hoverPoint),e.pointer.runPointActions(void 0,t,!0))})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,i=".highcharts-breadcrumbs-group .highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&i.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),i.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,n=e.scrollablePlotArea,i=r.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new i(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.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,"afterApplyDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),i=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=i+"px",this.renderer.boxWrapper.attr({width:e,height:i,viewBox:[0,0,e,i].join(" ")}),this.chartBackground.attr({width:e,height:i}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),i=this.axisOffset,t=this.plotTop-i[0]-1,n=this.plotLeft-i[3]-1,e=this.plotTop+this.plotHeight+i[2]+1,i=this.plotLeft+this.plotWidth+i[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),d=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",i,this.plotTop-1],["L",i,0],["Z"],["M",n,d],["L",n,this.chartHeight],["L",i,this.chartHeight],["L",i,d],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(i,"show",(function(){this.chart.scrollableDirty=!0}))})),e(n,"Core/Axis/Stacking/StackItem.js",[n["Core/FormatUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=t.format,r=e.series,o=n.destroyObjectProperties,a=n.pick,s=n.isNumber;return t=function(){function t(t,e,n,i,r){var o=t.chart.inverted,a=t.reversed;this.axis=t,t=this.isNegative=!!n!=!!a,this.options=e=e||{},this.x=i,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?t?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":t?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?t?"right":"left":"center")}return t.prototype.destroy=function(){o(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,n=this.options,r=n.format;r=r?i(r,this,e):n.formatter.call(this),this.label?this.label.attr({text:r,visibility:"hidden"}):(this.label=e.renderer.label(r,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels"),r={r:n.borderRadius||0,text:r,padding:a(n.padding,5),visibility:"hidden"},e.styledMode||(r.fill=n.backgroundColor,r.stroke=n.borderColor,r["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(r),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,n,i,o,l){var d=this.alignOptions,c=this.axis,u=this.label,h=this.options,p=this.textAlign,f=c.chart;t=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:i,defaultX:o,xAxis:l}),o=d.verticalAlign,u&&t&&(e=u.getBBox(),n=u.padding,i="justify"===a(h.overflow,"justify"),d.x=h.x||0,d.y=h.y||0,p=(o=this.adjustStackPosition({labelBox:e,verticalAlign:o,textAlign:p})).x,o=o.y,t.x-=p,t.y-=o,u.align(d,!1,t),(p=f.isInsidePlot(u.alignAttr.x+d.x+p,u.alignAttr.y+d.y+o))||(i=!1),i&&r.prototype.justifyDataLabel.call(c,u,d,u.alignAttr,e,t),u.attr({x:u.alignAttr.x,y:u.alignAttr.y,rotation:h.rotation,rotationOriginX:e.width/2,rotationOriginY:e.height/2}),a(!i&&h.crop,!0)&&(p=s(u.x)&&s(u.y)&&f.isInsidePlot(u.x-n+u.width,u.y)&&f.isInsidePlot(u.x+n,u.y)),u[p?"show":"hide"]())},t.prototype.adjustStackPosition=function(t){var e=t.labelBox,n={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:e.width/2+e.width/2*n[t.textAlign],y:e.height/2*n[t.verticalAlign]}},t.prototype.getStackBox=function(t){var e=this.axis,n=e.chart,i=t.boxTop,r=t.defaultX,o=t.xOffset,s=t.width,l=t.boxBottom;return i=e.stacking.usePercentage?100:a(i,this.total,0),i=e.toPixels(i),t=a(r,(t.xAxis||n.xAxis[0]).toPixels(this.x))+o,e=e.toPixels(l||0),e=Math.abs(i-e),l=this.isNegative,n.inverted?{x:(l?i:i-e)-n.plotLeft,y:t-n.plotTop,width:e,height:s}:{x:t-n.plotLeft,y:(l?i-e:i)-n.plotTop,width:s,height:e}},t}()})),e(n,"Core/Axis/Stacking/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){function o(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(n){var i=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==t.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,$(n.options.stack,""),e?i.top:i.left,e?i.height:i.width].join())}))}function a(){var t=this.stacking;if(t){var e=t.stacks;O(e,(function(t,n){y(t),e[n]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function s(){"yAxis"!==this.coll||this.stacking||(this.stacking=new C(this))}function l(t,e,n,i){return!b(t)||t.x!==e||i&&t.stackKey!==i?t={x:e,index:0,key:i,stackKey:i}:t.index++,t.key=[n,e,t.index].join(),t}function d(){var t,e=this,n=e.stackKey,i=e.yAxis.stacking.stacks,r=e.processedXData,o=e[e.options.stacking+"Stacker"];o&&[n,"-"+n].forEach((function(n){for(var a,s,l=r.length;l--;)a=r[l],t=e.getStackIndicator(t,a,e.index,n),(s=(a=i[n]&&i[n][a])&&a.points[t.key])&&o.call(e,s,a,l)}))}function c(t,e,n){e=e.total?100/e.total:0,t[0]=v(t[0]*e),t[1]=v(t[1]*e),this.stackedYData[n]=t[1]}function u(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?g.setStackedPoints.call(this,"group"):t&&O(t.stacks,(function(e,n){"group"===n.slice(-5)&&(O(e,(function(t){return t.destroy()})),delete t.stacks[n])}))}function h(t){var e=this.chart,n=t||this.options.stacking;if(n&&(!0===this.visible||!1===e.options.chart.ignoreHiddenSeries)){var r=this.processedXData,o=this.processedYData,a=[],s=o.length,l=this.options,d=l.threshold,c=$(l.startFromThreshold&&d,0);l=l.stack;var u,h,p="-"+(t=t?""+this.type+",".concat(n):this.stackKey),f=this.negStacks,g=(e="group"===n?e.yAxis[0]:this.yAxis).stacking.stacks,m=e.stacking.oldStacks;for(e.stacking.stacksTouched+=1,h=0;h<s;h++){var y=r[h],x=o[h],w=this.getStackIndicator(w,y,this.index),O=w.key,C=(u=f&&x<(c?0:d))?p:t;g[C]||(g[C]={}),g[C][y]||(m[C]&&m[C][y]?(g[C][y]=m[C][y],g[C][y].total=null):g[C][y]=new i(e,e.options.stackLabels,!!u,y,l)),C=g[C][y],null!==x?(C.points[O]=C.points[this.index]=[$(C.cumulative,c)],b(C.cumulative)||(C.base=O),C.touched=e.stacking.stacksTouched,0<w.index&&!1===this.singleStacks&&(C.points[O][0]=C.points[this.index+","+y+",0"][0])):C.points[O]=C.points[this.index]=null,"percent"===n?(u=u?t:p,f&&g[u]&&g[u][y]?(u=g[u][y],C.total=u.total=Math.max(u.total,C.total)+Math.abs(x)||0):C.total=v(C.total+(Math.abs(x)||0))):"group"===n?(_(x)&&(x=x[0]),null!==x&&(C.total=(C.total||0)+1)):C.total=v(C.total+(x||0)),C.cumulative="group"===n?(C.total||1)-1:$(C.cumulative,c)+(x||0),null!==x&&(C.points[O].push(C.cumulative),a[h]=C.cumulative,C.hasValidPoints=!0)}"percent"===n&&(e.stacking.usePercentage=!0),"group"!==n&&(this.stackedYData=a),e.stacking.oldStacks={}}}var p,f=t.getDeferredAnimation,g=n.series.prototype,m=r.addEvent,v=r.correctFloat,b=r.defined,y=r.destroyObjectProperties,x=r.fireEvent,_=r.isArray,w=r.isNumber,O=r.objectEach,$=r.pick,C=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,i=e.options.reversedStacks,r=n.length;for(this.usePercentage=!1,t=r;t--;){var o=n[i?t:r-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<r;t++)n[t].modifyStacks();x(e,"afterBuildStacks")},t.prototype.cleanStacks=function(){if(this.oldStacks)var t=this.stacks=this.oldStacks;O(t,(function(t){O(t,(function(t){t.cumulative=t.total}))}))},t.prototype.resetStacks=function(){var t=this;O(this.stacks,(function(e){O(e,(function(n,i){w(n.touched)&&n.touched<t.stacksTouched?(n.destroy(),delete e[i]):(n.total=null,n.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,n=e.renderer,i=this.stacks;t=f(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var r=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({zIndex:6,opacity:0}).add();r.translate(e.plotLeft,e.plotTop),O(i,(function(t){O(t,(function(t){t.render(r)}))})),r.animate({opacity:1},t)},t}();return function(t){var e=[];t.compose=function(t,n,i){-1===e.indexOf(t)&&(e.push(t),m(t,"init",s),m(t,"destroy",a)),-1===e.indexOf(n)&&(e.push(n),n.prototype.getStacks=o),-1===e.indexOf(i)&&(e.push(i),(t=i.prototype).getStackIndicator=l,t.modifyStacks=d,t.percentStacker=c,t.setGroupedPoints=u,t.setStackedPoints=h)}}(p||(p={})),p})),e(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.defined,o=n.merge;return n=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 i(n,e),n.prototype.drawGraph=function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode,r=[["graph","highcharts-graph"]];i||r[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(r=t.getZonesGraphs(r)).forEach((function(r,o){var a=r[0],s=t[a],l=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(t[a]=s=t.chart.renderer.path(n).addClass(r[1]).attr({zIndex:1}).add(t.group)),s&&!i&&(a={stroke:r[2],"stroke-width":e.lineWidth||0,fill:t.fillGraph&&t.color||"none"},r[3]?a.dashstyle=r[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[l](a).shadow(2>o&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,n){var i,o=this,a=o.options,s=[],l=[],d=a.step,c=(t=t||o.points).reversed;return c&&t.reverse(),(d={right:1,center:2}[d]||d&&3)&&c&&(d=4-d),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(c,u){var h=c.plotX,p=c.plotY,f=t[u-1];(c.leftCliff||f&&f.rightCliff)&&!n&&(i=!0),c.isNull&&!r(e)&&0<u?i=!a.connectNulls:c.isNull&&!e?i=!0:(0===u||i?u=[["M",c.plotX,c.plotY]]:o.getPointSpline?u=[o.getPointSpline(t,c,u)]:d?(u=1===d?[["L",f.plotX,p]]:2===d?[["L",(f.plotX+h)/2,f.plotY],["L",(f.plotX+h)/2,p]]:[["L",h,f.plotY]]).push(["L",h,p]):u=[["L",h,p]],l.push(c.x),d&&(l.push(c.x),2===d&&l.push(c.x)),s.push.apply(s,u),i=!1)})),s.xMap=l,o.graphPath=s},n.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)}),this),t},n.defaultOptions=o(t.defaultOptions,{}),n}(t),e.registerSeriesType("line",n),n})),e(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(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=t.parse,a=n.seriesTypes.line;t=i.extend;var s=i.merge,l=i.objectEach,d=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,n=this.areaPath,i=this.options,r=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach((function(t,n){r.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+t.className,t.color||e.color,t.fillColor||i.fillColor])})),r.forEach((function(t){var r=t[0],a={},s=e[r],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):(a.zIndex=0,(s=e[r]=e.chart.renderer.path(n).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(a.fill=d(t[3],o(t[2]).setOpacity(d(i.fillOpacity,.75)).get())),s[l](a),s.startX=n.xMap,s.shiftUnit=i.step?2:1}))},e.prototype.getGraphPath=function(t){var e=a.prototype.getGraphPath,n=this.options,i=n.stacking,r=this.yAxis,o=[],s=[],l=this.index,c=r.stacking.stacks[this.stackKey],u=n.threshold,h=Math.round(r.getThreshold(n.threshold));n=d(n.connectNulls,"percent"===i);var p=function(e,n,a){var d=t[e];e=i&&c[d.x].points[l];var p=d[a+"Null"]||0;if(a=d[a+"Cliff"]||0,d=!0,a||p){var f=(p?e[0]:e[1])+a,g=e[0]+a;d=!!p}else!i&&t[n]&&t[n].isNull&&(f=g=u);void 0!==f&&(s.push({plotX:v,plotY:null===f?h:r.getThreshold(f),isNull:d,isCliff:!0}),o.push({plotX:v,plotY:null===g?h:r.getThreshold(g),doCurve:!1}))};t=t||this.points,i&&(t=this.getStackPoints(t));for(var f=0,g=t.length;f<g;++f){i||(t[f].leftCliff=t[f].rightCliff=t[f].leftNull=t[f].rightNull=void 0);var m=t[f].isNull,v=d(t[f].rectPlotX,t[f].plotX),b=i?d(t[f].yBottom,h):h;m&&!n||(n||p(f,f-1,"left"),m&&!i&&n||(s.push(t[f]),o.push({x:f,plotX:v,plotY:b})),n||p(f,f+1,"right"))}return p=e.call(this,s,!0,!0),o.reversed=!0,(b=(m=e.call(this,o,!0,!0))[0])&&"M"===b[0]&&(m[0]=["L",b[1],b[2]]),(m=p.concat(m)).length&&m.push(["Z"]),e=e.call(this,s,!1,n),m.xMap=p.xMap,this.areaPath=m,e},e.prototype.getStackPoints=function(t){var e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},c=o.series,u=c.length,h=o.options.reversedStacks?1:-1,p=c.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,s[t[f].x]=t[f];l(a,(function(t,e){null!==t.total&&i.push(e)})),i.sort((function(t,e){return t-e}));var g=c.map((function(t){return t.visible}));i.forEach((function(t,l){var f,m,v=0;if(s[t]&&!s[t].isNull)n.push(s[t]),[-1,1].forEach((function(n){var r=1===n?"rightNull":"leftNull",o=a[i[l+n]],d=0;if(o)for(var v=p;0<=v&&v<u;){var b=c[v].index;(f=o.points[b])||(b===e.index?s[t][r]=!0:g[v]&&(m=a[t].points[b])&&(d-=m[1]-m[0])),v+=h}s[t][1===n?"rightCliff":"leftCliff"]=d}));else{for(var b=p;0<=b&&b<u;){if(f=a[t].points[c[b].index]){v=f[1];break}b+=h}v=d(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return n},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(i.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("area",i),i})),e(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes.line,r=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointSpline=function(t,e,n){var i=e.plotX||0,r=e.plotY||0,a=t[n-1];if(n=t[n+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!e.isCliff){t=a.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,d=(1.5*i+(a.plotX||0))/2.5,c=(1.5*r+t)/2.5,u=(1.5*r+n)/2.5;(s=(1.5*i+s)/2.5)!==d&&(l=(u-c)*(s-i)/(s-d)+r-u),u+=l,(c+=l)>t&&c>r?u=2*r-(c=Math.max(t,r)):c<t&&c<r&&(u=2*r-(c=Math.min(t,r))),u>n&&u>r?c=2*r-(u=Math.max(n,r)):u<n&&u<r&&(c=2*r-(u=Math.min(n,r))),e.rightContX=s,e.rightContY=u}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(d,i,0),o(c,r,0),i,r],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=r(i.defaultOptions),e}(i),t.registerSeriesType("spline",e),e})),e(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=n.seriesTypes,a=o.area;o=o.area.prototype;var s=i.extend,l=i.merge;return s((i=function(e){function n(){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(n,e),n.defaultOptions=l(t.defaultOptions,a.defaultOptions),n}(t)).prototype,{getGraphPath:o.getGraphPath,getStackPoints:o.getStackPoints,drawGraph:o.drawGraph,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("areaspline",i),i})),e(n,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),e(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Series/Column/ColumnSeriesDefaults.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(t,e,n,i,r,o,a,s){var l=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=t.animObject,c=e.parse,u=i.hasTouch;t=i.noop;var h=s.clamp,p=s.defined,f=s.extend,g=s.fireEvent,m=s.isArray,v=s.isNumber,b=s.merge,y=s.pick,x=s.objectEach;return s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return l(e,t),e.prototype.animate=function(t){var e=this,n=this.yAxis,i=e.options,r=this.chart.inverted,o={},a=r?"translateX":"translateY";if(t)o.scaleY=.001,t=h(n.toPixels(i.threshold),n.pos,n.pos+n.len),r?o.translateX=t-n.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},f(d(e.options.animation),{step:function(t,i){e.group&&(o[a]=s+i.pos*(n.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments);var i=this;(e=i.chart).hasRendered&&e.series.forEach((function(t){t.type===i.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,n=t.xAxis,i=t.yAxis,r=n.options.reversedStacks;r=n.reversed&&!r||!n.reversed&&r;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var n=e.yAxis,r=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&i.len===n.len&&i.pos===n.pos){if(r.stacking&&"group"!==r.stacking){o=e.stackKey,void 0===a[o]&&(a[o]=s++);var l=a[o]}else!1!==r.grouping&&(l=s++);e.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||e.pointRange||n.closestPointRange||n.tickInterval||1),n.len),d=l*e.groupPadding,c=(l-2*d)/(s||1);return e=Math.min(e.maxPointWidth||n.len,y(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(d+((t.columnIndex||0)+(r?1:0))*c-l/2)*(r?-1:1),paddedWidth:c,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,n,i){var r=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,r.inverted&&r.renderer.isVML&&(o+=1),this.options.crisp&&(n=Math.round(t+n)+a,n-=t=Math.round(t)+a),i=Math.round(e+i)+o,a=.5>=Math.abs(e)&&.5<i,i-=e=Math.round(e)+o,a&&i&&(--e,i+=1),{x:t,y:e,width:n,height:i}},e.prototype.adjustForMissingColumns=function(t,e,n,i){var r=this,o=this.options.stacking;if(!n.isNull&&1<i.columnCount){var a=this.yAxis.options.reversedStacks,s=0,l=a?0:-i.columnCount;x(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof n.x){var e=t[n.x.toString()];e&&(t=e.points[r.index],o?(t&&(s=l),e.hasValidPoints&&(a?l++:l--)):m(t)&&(t=Object.keys(e.points).filter((function(t){return!t.match(",")&&e.points[t]&&1<e.points[t].length})).map(parseFloat).sort((function(t,e){return e-t})),s=t.indexOf(r.index),l=t.length))}})),t=(n.plotX||0)+((l-1)*i.paddedWidth+e)/2-e-s*i.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=y(n.borderWidth,i?0:1);var r=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),d=y(n.minPointLength,5),c=t.getColumnMetrics(),u=c.width,f=t.pointXOffset=c.offset,g=t.dataMin,m=t.dataMax,b=t.barW=Math.max(u,1+2*i);e.inverted&&(l-=.5),n.pointPadding&&(b=Math.ceil(b)),o.prototype.translate.apply(t),t.points.forEach((function(i){var o=y(i.yBottom,l),x=999+Math.abs(o),_=i.plotX||0;x=h(i.plotY,-x,a.len+x);var w=Math.min(x,o),O=Math.max(x,o)-w,$=u,C=_+f,k=b;d&&Math.abs(O)<d&&(O=d,_=!a.reversed&&!i.negative||a.reversed&&i.negative,v(s)&&v(m)&&i.y===s&&m<=s&&(a.min||0)<s&&(g!==m||(a.max||0)<=s)&&(_=!_),w=Math.abs(w-l)>d?o-d:l-(_?d:0)),p(i.options.pointWidth)&&($=k=Math.ceil(i.options.pointWidth),C-=Math.round(($-u)/2)),n.centerInCategory&&(C=t.adjustForMissingColumns(C,$,i,c)),i.barX=C,i.pointWidth=$,i.tooltipPos=e.inverted?[h(a.len+a.pos-e.plotLeft-x,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),r.len+r.pos-e.plotTop-C-k/2,O]:[r.left-e.plotLeft+C+k/2,h(x+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),O],i.shapeType=t.pointClass.prototype.shapeType||"rect",i.shapeArgs=t.crispCol.apply(t,i.isNull?[C,l,k,0]:[C,w,k,O])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",o=i["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[r]||n[r]||a;i=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[o]||n[o]||this[o]||0,d=y(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var u=t.getZone();a=t.options.color||u&&(u.color||t.nonZonedColor)||this.color,u&&(s=u.borderColor||s,i=u.dashStyle||i,l=u.borderWidth||l)}return e&&t&&(e=(t=b(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||void 0!==e&&c(a).brighten(t.brightness).get()||a,s=t[r]||s,l=t[o]||l,i=t.dashStyle||i,d=y(t.opacity,d)),r={fill:a,stroke:s,"stroke-width":l,opacity:d},i&&(r.dashstyle=i),r},e.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,n=this,i=this.chart,r=n.options,o=i.renderer,a=r.animationLimit||250;t.forEach((function(t){var s=t.graphic,l=!!s,d=s&&i.pointCount<a?"animate":"attr";v(t.plotY)&&null!==t.y?(e=t.shapeArgs,s&&t.hasNewShapeType()&&(s=s.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),s||(t.graphic=s=o[t.shapeType](e).add(t.group||n.group))&&n.enabledDataSorting&&i.hasRendered&&i.pointCount<a&&(s.attr({x:t.startXPos}),l=!0,d="animate"),s&&l&&s[d](b(e)),r.borderRadius&&s[d]({r:r.borderRadius}),i.styledMode||s[d](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&r.shadow,null,r.stacking&&!r.borderRadius),s&&(s.addClass(t.getClassName(),!0),s.attr({visibility:t.visible?"inherit":"hidden"}))):s&&(t.graphic=s.destroy())}))},e.prototype.drawTracker=function(t){void 0===t&&(t=this.points);var e,n=this,i=n.chart,r=i.pointer,o=function(t){var e=r.getPointFromEvent(t);void 0!==e&&(r.isDirectTouch=!0,e.onMouseOver(t))};t.forEach((function(t){e=m(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}))})),n._hasTracking||(n.trackerGroups.forEach((function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),u&&n[t].on("touchstart",o),!i.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))})),n._hasTracking=!0),g(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),o.prototype.remove.apply(t,arguments)},e.defaultOptions=b(o.defaultOptions,n),e}(o),f(s.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:r.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("column",s),s})),e(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.getDeferredAnimation,o=e.format,a=n.defined,s=n.extend,l=n.fireEvent,d=n.isArray,c=n.isString,u=n.merge,h=n.objectEach,p=n.pick,f=n.splat;return function(t){function e(t,e,n,i,r){var o=this,l=this.chart,d=this.isCartesian&&l.inverted,c=this.enabledDataSorting,u=t.plotX,h=t.plotY,f=n.rotation,g=n.align,m=a(u)&&a(h)&&l.isInsidePlot(u,Math.round(h),{inverted:d,paneCoordinates:!0,series:o});h=function(n){c&&o.xAxis&&!v&&o.setDataLabelStartPos(t,e,r,m,n)};var v="justify"===p(n.overflow,c?"none":"justify");if(u=this.visible&&!1!==t.visible&&a(u)&&(t.series.forceDL||c&&!v||m||p(n.inside,!!this.options.stacking)&&i&&l.isInsidePlot(u,d?i.x+1:i.y+i.height-1,{inverted:d,paneCoordinates:!0,series:o})),d=t.pos(),u&&d){f&&e.attr({align:g}),g=e.getBBox(!0);var b=[0,0],y=l.renderer.fontMetrics(l.styledMode?void 0:n.style.fontSize,e).b;i=s({x:d[0],y:Math.round(d[1]),width:0,height:0},i),s(n,{width:g.width,height:g.height}),f?(v=!1,b=l.renderer.rotCorr(y,f),y={x:i.x+(n.x||0)+i.width/2+b.x,y:i.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height},b=[g.x-Number(e.attr("x")),g.y-Number(e.attr("y"))],h(y),e[r?"attr":"animate"](y)):(h(i),e.align(n,void 0,i),y=e.alignAttr),v&&0<=i.height?this.justifyDataLabel(e,n,y,g,i,r):p(n.crop,!0)&&(i=y.x,h=y.y,i+=b[0],h+=b[1],u=l.isInsidePlot(i,h,{paneCoordinates:!0,series:o})&&l.isInsidePlot(i+g.width,h+g.height,{paneCoordinates:!0,series:o})),n.shape&&!f&&e[r?"attr":"animate"]({anchorX:d[0],anchorY:d[1]})}r&&c&&(e.placed=!1),u||c&&!v?e.show():(e.hide(),e.placed=!1)}function n(t){void 0===t&&(t=this.points);var e=this,n=e.chart,i=e.options,s=e.hasRendered||0,u=n.renderer,m=n.options.chart,v=m.backgroundColor;m=m.plotBackgroundColor;var b=u.getContrast(c(m)&&m||c(v)&&v||"#000000"),y=i.dataLabels;if(v=y.animation,v=y.defer?r(n,v,e):{defer:0,duration:0},y=g(g(n.options.plotOptions&&n.options.plotOptions.series&&n.options.plotOptions.series.dataLabels,n.options.plotOptions&&n.options.plotOptions[e.type]&&n.options.plotOptions[e.type].dataLabels),y),l(this,"drawDataLabels"),d(y)||y.enabled||e._hasPointLabels){var x=e.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",y.zIndex||6);x.attr({opacity:+s}),!s&&(s=e.dataLabelsGroup)&&(e.visible&&x.show(),s[i.animation?"animate":"attr"]({opacity:1},v)),t.forEach((function(t){f(g(y,t.dlOptions||t.options&&t.options.dataLabels)).forEach((function(r,s){var l=r.enabled&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t<n||">="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(t,r),d=t.connectors?t.connectors[s]:t.connector,c=t.dataLabels?t.dataLabels[s]:t.dataLabel,f=!c,g=p(r.distance,t.labelDistance);if(l){var m=t.getLabelConfig(),v=p(r[t.formatPrefix+"Format"],r.format);m=a(v)?o(v,m,n):(r[t.formatPrefix+"Formatter"]||r.formatter).call(m,r),v=r.style;var y=r.rotation;n.styledMode||(v.color=p(r.color,v.color,e.color,"#000000"),"contrast"===v.color?(t.contrastColor=u.getContrast(t.color||e.color),v.color=!a(g)&&r.inside||0>g||i.stacking?t.contrastColor:b):delete t.contrastColor,i.cursor&&(v.cursor=i.cursor));var _={r:r.borderRadius||0,rotation:y,padding:r.padding,zIndex:1};if(!n.styledMode){g=r.backgroundColor;var w=r.borderColor;_.fill="auto"===g?t.color:g,_.stroke="auto"===w?t.color:w,_["stroke-width"]=r.borderWidth}h(_,(function(t,e){void 0===t&&delete _[e]}))}!c||l&&a(m)&&!!c.div==!!r.useHTML&&(c.rotation&&r.rotation||c.rotation===r.rotation)||(f=!0,t.dataLabel=c=t.dataLabel&&t.dataLabel.destroy(),t.dataLabels&&(1===t.dataLabels.length?delete t.dataLabels:delete t.dataLabels[s]),s||delete t.dataLabel,d&&(t.connector=t.connector.destroy(),t.connectors&&(1===t.connectors.length?delete t.connectors:delete t.connectors[s]))),l&&a(m)?(c?_.text=m:(t.dataLabels=t.dataLabels||[],c=t.dataLabels[s]=y?u.text(m,0,0,r.useHTML).addClass("highcharts-data-label"):u.label(m,0,0,r.shape,null,null,r.useHTML,null,"data-label"),s||(t.dataLabel=c),c.addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),c.options=r,c.attr(_),n.styledMode||c.css(v).shadow(r.shadow),(s=r[t.formatPrefix+"TextPath"]||r.textPath)&&!r.useHTML&&(c.setTextPath(t.getDataLabelPath&&t.getDataLabelPath(c)||t.graphic,s),t.dataLabelPath&&!s.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),c.added||c.add(x),e.alignDataLabel(t,c,r,null,f)):c&&c.hide()}))}))}l(this,"afterDrawDataLabels")}function i(t,e,n,i,r,o){var a=this.chart,s=e.align,l=e.verticalAlign,d=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var u=e.y;u=void 0===u?0:u;var h=(n.x||0)+d;if(0>h){"right"===s&&0<=c?(e.align="left",e.inside=!0):c-=h;var p=!0}return(h=(n.x||0)+i.width-d)>a.plotWidth&&("left"===s&&0>=c?(e.align="right",e.inside=!0):c+=a.plotWidth-h,p=!0),0>(h=n.y+d)&&("bottom"===l&&0<=u?(e.verticalAlign="top",e.inside=!0):u-=h,p=!0),(h=(n.y||0)+i.height-d)>a.plotHeight&&("top"===l&&0>=u?(e.verticalAlign="bottom",e.inside=!0):u+=a.plotHeight-h,p=!0),p&&(e.x=c,e.y=u,t.placed=!o,t.align(e,void 0,r)),p}function g(t,e){var n,i=[];if(d(t)&&!d(e))i=t.map((function(t){return u(t,e)}));else if(d(e)&&!d(t))i=e.map((function(e){return u(t,e)}));else if(d(t)||d(e))for(n=Math.max(t.length,e.length);n--;)i[n]=u(t[n],e[n]);else i=u(t,e);return i}function m(t,e,n,i,r){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,d=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?r.x:l?-d-t:s.width-d+t,e.startYPos=a?l?this.yAxis.height-d+t:-d-t:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var v=[];t.compose=function(t){if(-1===v.indexOf(t)){var r=t.prototype;v.push(t),r.alignDataLabel=e,r.drawDataLabels=n,r.justifyDataLabel=i,r.setDataLabelStartPos=m}}}(i||(i={})),i})),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=e.series,o=n.merge,a=n.pick;return function(e){function n(t,e,n,i,s){var l=this.chart.inverted,d=t.series,c=(d.xAxis?d.xAxis.len:this.chart.plotSizeX)||0;d=(d.yAxis?d.yAxis.len:this.chart.plotSizeY)||0;var u=t.dlBox||t.shapeArgs,h=a(t.below,t.plotY>a(this.translatedThreshold,d)),p=a(n.inside,!!this.options.stacking);u&&(0>(i=o(u)).y&&(i.height+=i.y,i.y=0),0<(u=i.y+i.height-d)&&u<i.height&&(i.height-=u),l&&(i={x:d-i.y-i.height,y:c-i.x-i.width,width:i.height,height:i.width}),p||(l?(i.x+=h?0:i.width,i.width=0):(i.y+=h?i.height:0,i.height=0))),n.align=a(n.align,!l||p?"center":h?"right":"left"),n.verticalAlign=a(n.verticalAlign,l||p?"middle":h?"top":"bottom"),r.prototype.alignDataLabel.call(this,t,e,n,i,s),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var i=[];e.compose=function(e){t.compose(r),-1===i.indexOf(e)&&(i.push(e),e.prototype.alignDataLabel=n)}}(i||(i={})),i})),e(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.extend,o=n.merge;return r((n=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 i(n,e),n.defaultOptions=o(t.defaultOptions,{}),n}(t)).prototype,{inverted:!0}),e.registerSeriesType("bar",n),n})),e(n,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{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/>"}}})),e(n,"Series/Scatter/ScatterSeries.js",[n["Series/Scatter/ScatterSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.seriesTypes,o=r.column,a=r.line;r=n.addEvent;var s=n.extend,l=n.merge;return s((n=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 i(n,e),n.prototype.applyJitter=function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(i,r){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!i.isNull){var l=t[o+"Axis"],d=e[o]*l.transA;if(l&&!l.isLog){var c=Math.max(0,i[s]-d);l=Math.min(l.len,i[s]+d),a=1e4*Math.sin(r+a*n),i[s]=c+(l-c)*(a-Math.floor(a)),"x"===o&&(i.clientX=i.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=l(a.defaultOptions,t),n}(a)).prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(n,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",n),n})),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.deg2rad,o=n.fireEvent,a=n.isNumber,s=n.pick,l=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,i=2*(t.slicedOffset||0),r=n.plotWidth-2*i,d=n.plotHeight-2*i,c=t.center,u=Math.min(r,d),h=t.thickness,p=t.size,f=t.innerSize||0;for("string"==typeof p&&(p=parseFloat(p)),"string"==typeof f&&(f=parseFloat(f)),t=[s(c[0],"50%"),s(c[1],"50%"),s(p&&0>p?void 0:t.size,"100%"),s(f&&0>f?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)p=t[c],n=2>c||2===c&&/%$/.test(p),t[c]=l(p,[r,d,u,t[2]][c])+(n?i:0);return t[3]>t[2]&&(t[3]=t[2]),a(h)&&2*h<t[2]&&0<h&&(t[3]=t[2]-2*h),o(this,"afterGetCenter",{positions:t}),t},t.getStartAndEndRadians=function(t,e){return t=a(t)?t:0,e=a(e)&&e>t&&360>e-t?e:t+360,{start:r*(t+-90),end:r*(e+-90)}}}(i||(i={})),i})),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.setAnimation,o=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,d=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return i(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,i=e.connectorShape;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return o(this,"select",n),o(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,i=this.series,r=i.chart,o=i.options.ignoreHiddenPoint;e=l(e,o),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,i.options.data[i.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](t)})),this.legendItem&&r.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(i.isDirty=!0),e&&r.redraw())},e.prototype.slice=function(t,e,n){var i=this.series;r(n,i.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var i=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-e.x,2*i.y-e.y,i.x,i.y]:["L",i.x,i.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var i=this.series,r=i.center[0],o=i.chart.plotWidth,a=i.chart.plotLeft;i=t.alignment;var s=this.shapeArgs.r;return n=d(n.crookDistance,1),n=["L",o="left"===i?r+s+(o+a-r-s)*(1-n):a+(r-s)*n,t.y],r=!0,("left"===i?o>t.x||o<e.x:o<t.x||o>e.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e})),e(n,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),e(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["Series/Pie/PieSeriesDefaults.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l,d){var c=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=t.getStartAndEndRadians;n=n.noop;var h=d.clamp,p=d.extend,f=d.fireEvent,g=d.merge,m=d.pick,v=d.relativeLength;return p((d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,n=e.points,i=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:m(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var i=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(i,r,this.center[2]/2,0,{start:t,end:e,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())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var i=this.center,r=this.radii?this.radii[n.index]||0:i[2]/2;return t=Math.asin(h((t-i[1])/(r+n.labelDistance),-1,1)),i[0]+(e?-1:1)*Math.cos(t)*(r+n.labelDistance)+(0<n.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,n,i,r=this,o=r.chart,a=o.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||o.styledMode||(r.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach((function(l){var d={};if(e=l.graphic,!l.isNull&&e){var c=void 0;i=l.shapeArgs,t=l.getTranslate(),o.styledMode||(c=l.shadowGroup,s&&!c&&(c=l.shadowGroup=a.g("shadow").add(r.shadowGroup)),c&&c.attr(t),n=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,c),l.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||g(!0,d,n),g(!0,d,i,t),e.animate(d)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))},e.prototype.translate=function(t){f(this,"translate"),this.generatePoints();var e=this.options,n=e.slicedOffset,i=n+(e.borderWidth||0),r=u(e.startAngle,e.endAngle),o=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,d=a.length,c=0;for(t||(this.center=t=this.getCenter()),l=0;l<d;l++){var h=a[l],p=o+c*r;!h.isValid()||e&&!h.visible||(c+=h.percentage/100);var g=o+c*r,b={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*p)/1e3,end:Math.round(1e3*g)/1e3};h.shapeType="arc",h.shapeArgs=b,h.labelDistance=m(h.options.dataLabels&&h.options.dataLabels.distance,s),h.labelDistance=v(h.labelDistance,b.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,h.labelDistance),(g=(g+p)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),h.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},b=Math.cos(g)*t[2]/2;var y=Math.sin(g)*t[2]/2;h.tooltipPos=[t[0]+.7*b,t[1]+.7*y],h.half=g<-Math.PI/2||g>Math.PI/2?1:0,h.angle=g,p=Math.min(i,h.labelDistance/5),h.labelPosition={natural:{x:t[0]+b+Math.cos(g)*h.labelDistance,y:t[1]+y+Math.sin(g)*h.labelDistance},final:{},alignment:0>h.labelDistance?"center":h.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+b+Math.cos(g)*p,y:t[1]+y+Math.sin(g)*p},touchingSliceAt:{x:t[0]+b,y:t[1]+y}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,i=this.options.ignoreHiddenPoint,r=0;for(t=0;t<n;t++){var o=e[t];!o.isValid()||i&&!o.visible||(r+=o.y)}for(this.total=r,t=0;t<n;t++)(o=e[t]).percentage=0<r&&(o.visible||!i)?o.y/r*100:0,o.total=r},e.defaultOptions=g(a.defaultOptions,o),e}(a)).prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:i.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",d),d})),e(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(t,e,n,i,r){var o,a=e.noop,s=n.distribute,l=i.series,d=r.arrayMax,c=r.clamp,u=r.defined,h=r.merge,p=r.pick,f=r.relativeLength;return function(e){function n(){var t,e,n,i,r,o,a,c,f,g,m,v,b=this,y=b.data,x=b.chart,_=b.options.dataLabels||{},w=_.connectorPadding,O=x.plotWidth,$=x.plotHeight,C=x.plotLeft,k=Math.round(x.chartWidth/3),S=b.center,j=S[2]/2,E=S[1],M=[[],[]],A=[0,0,0,0],P=b.dataLabelPositioners;b.visible&&(_.enabled||b._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(b),y.forEach((function(t){t.dataLabel&&(t.visible?(M[t.half].push(t),t.dataLabel._pos=null,!u(_.style.width)&&!u(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>k&&(t.dataLabel.css({width:Math.round(.7*k)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),M.forEach((function(e,n){var l,d=e.length,h=[];if(d){if(b.sortByAngle(e,n-.5),0<b.maxLabelDistance){var y=Math.max(0,E-j-b.maxLabelDistance),k=Math.min(E+j+b.maxLabelDistance,x.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,E-j-t.labelDistance),t.bottom=Math.min(E+j+t.labelDistance,x.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},h.push(t.distributeBox))})),s(h,y=k+l-y,y/5)}for(m=0;m<d;m++){if(t=e[m],o=t.labelPosition,i=t.dataLabel,g=!1===t.visible?"hidden":"inherit",f=y=o.natural.y,h&&u(t.distributeBox)&&(void 0===t.distributeBox.pos?g="hidden":(a=t.distributeBox.size,f=P.radialDistributionY(t))),delete t.positionIndex,_.justify)c=P.justify(t,j,S);else switch(_.alignTo){case"connectors":c=P.alignToConnectors(e,n,O,C);break;case"plotEdges":c=P.alignToPlotEdges(i,n,O,C);break;default:c=P.radialDistributionX(b,t,f,y)}i._attr={visibility:g,align:o.alignment},v=t.options.dataLabels||{},i._pos={x:c+p(v.x,_.x)+({left:w,right:-w}[o.alignment]||0),y:f+p(v.y,_.y)-10},o.final.x=c,o.final.y=f,p(_.crop,!0)&&(r=i.getBBox().width,y=null,c-r<w&&1===n?(y=Math.round(r-c+w),A[3]=Math.max(y,A[3])):c+r>O-w&&0===n&&(y=Math.round(c+r-O+w),A[1]=Math.max(y,A[1])),0>f-a/2?A[0]=Math.max(Math.round(a/2-f),A[0]):f+a/2>$&&(A[2]=Math.max(Math.round(f+a/2-$),A[2])),i.sideOverflow=y)}}})),0===d(A)||this.verifyDataLabelOverflow(A))&&(this.placeDataLabels(),this.points.forEach((function(t){var r;(v=h(_,t.options.dataLabels),e=p(v.connectorWidth,1))&&(n=t.connector,(i=t.dataLabel)&&i._pos&&t.visible&&0<t.labelDistance?(g=i._attr.visibility,(r=!n)&&(t.connector=n=x.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(b.dataLabelsGroup),x.styledMode||n.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),n[r?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",g)):n&&(t.connector=n.destroy()))})))}function i(){this.points.forEach((function(t){var e,n=t.dataLabel;n&&t.visible&&((e=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"](e),n.moved=!0):n&&n.attr({y:-9999})),delete t.distributeBox}),this)}function r(t){var e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=null!==n.size;if(!o){if(null!==i[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),r);else a=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2;null!==i[1]?a=c(a,r,e[2]-Math.max(t[0],t[2])):(a=c(a,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(n.thickness?Math.max(0,a-2*n.thickness):Math.max(0,f(n.innerSize||0,a)),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],g={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,i){return t.getX(n<e.top+2||n>e.bottom-2?i:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,i){return t=t.getBBox().width,e?t+i:n-t-i},alignToConnectors:function(t,e,n,i){var r,o=0;return t.forEach((function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)})),e?o+i:n-o-i}};e.compose=function(e){t.compose(l),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=g,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=i,e.verifyDataLabelOverflow=r)}}(o||(o={})),o})),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e){var n=!1;if(t){var i=t.newOpacity;t.oldOpacity!==i&&(t.alignAttr&&t.placed?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=i,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})})),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0}return n}var i=e.addEvent,r=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;i(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(i){var r=i.options.dataLabels;i.visible&&(!1!==r.enabled||i._hasPointLabels)&&((r=function(i){return i.forEach((function(i){i.visible&&(o(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[]).forEach((function(r){var o=r.options;r.labelrank=l(o.labelrank,i.labelrank,i.shapeArgs&&i.shapeArgs.height),o.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,t)):e.push(r)}))}))})(i.nodes||[]),r(i.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,i,o,s=this,l=t.length,d=s.renderer,c=!1,u=function(t){var e,n,i=t.box?0:t.padding||0,r=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=d.fontMetrics(null,t.element).h);var l=t.width-2*i;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?r=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(r=t.x-t.translateX),{x:o.x+(s.translateX||0)+i-(r||0),y:o.y+(s.translateY||0)+i-e,width:t.width-2*i,height:t.height-2*i}}};for(i=0;i<l;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=u(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),i=0;i<l;i++){var h=(u=t[i])&&u.absoluteBox;for(e=i+1;e<l;++e){var p=(o=t[e])&&o.absoluteBox;!h||!p||u===o||0===u.newOpacity||0===o.newOpacity||"hidden"===u.visibility||"hidden"===o.visibility||p.x>=h.x+h.width||p.x+p.width<=h.x||p.y>=h.y+h.height||p.y+p.height<=h.y||((u.labelrank<o.labelrank?u:o).newOpacity=0)}}t.forEach((function(t){n(t,s)&&(c=!0)})),c&&r(s,"afterHideAllOverlappingLabels")}})),e(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,i=t.find,r=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,l=t.pick,d=t.splat,c=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),n(t.prototype,u.prototype)),t};var u=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,i,a,l){var c;s(n,(function(n,s){if(!l&&-1<e.collectionsWithUpdate.indexOf(s)&&i[s])for(n=d(n),a[s]=[],c=0;c<Math.max(n.length,i[s].length);c++)i[s][c]&&(void 0===n[c]?a[s][c]=i[s][c]:(a[s][c]={},t(n[c],i[s][c],a[s][c],l+1)));else o(n)?(a[s]=r(n)?[]:{},t(n,i[s]||{},a[s],l+1)):a[s]=void 0===i[s]?null:i[s]}))}(t,this.options,n,0),n},t.prototype.matchResponsiveRule=function(t,e){var n=t.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)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,r=this.options.responsive,o=this.currentResponsive,s=[];!e&&r&&r.rules&&r.rules.forEach((function(t){void 0===t._id&&(t._id=c()),n.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return i((r||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/Defaults.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/Axis/Stacking/StackingAxis.js"],n["Core/Axis/Stacking/StackItem.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(t,e,n,i,r,o,a,s,l,d,c,u,h,p,f,g,m,v,b,y,x,_,w,O,$,C,k,S,j,E,M,A,P,T,L){return t.animate=r.animate,t.animObject=r.animObject,t.getDeferredAnimation=r.getDeferredAnimation,t.setAnimation=r.setAnimation,t.stop=r.stop,t.timers=i.timers,t.AST=o,t.Axis=h,t.Chart=w,t.chart=w.chart,t.Fx=i,t.Legend=_,t.PlotLineOrBand=g,t.Point=b,t.Pointer=x.isRequired()?x:y,t.Series=C,t.StackItem=$,t.SVGElement=l,t.SVGRenderer=d,t.Tick=m,t.Time=L,t.Tooltip=v,t.Color=T,t.color=T.parse,u.compose(d),c.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=k.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,j.compose(S),A.compose(C),p.compose(h),f.compose(h),M.compose(E),g.compose(h),P.compose(w),O.compose(h,w,C),t})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},function(t,n){t.exports=e},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));var i=Math.max,r=Math.min,o=Math.round},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(6),c=n(20),u=n(16),h=n(9),p=n(5),f=function(t,e){var n=t.addOn,i=void 0===n?{icon:null,alignment:"right",border:!0}:n,o=t.aria,f=void 0===o?{}:o,g=t.className,m=t.dark,v=void 0!==m&&m,b=t.data,y=void 0===b?{}:b,x=t.disabled,_=t.error,w=t.htmlOptions,O=void 0===w?{}:w,$=t.id,C=t.inline,k=void 0!==C&&C,S=t.name,j=t.label,E=t.onChange,M=void 0===E?function(){}:E,A=t.placeholder,P=t.required,T=t.type,L=void 0===T?"text":T,D=t.value,I=void 0===D?"":D,N=t.children,R=void 0===N?null:N,F=Object(l.a)(f),B=Object(l.c)(y),z=Object(l.d)(O),H=Object.assign({},t);void 0===H.marginBottom&&(H.marginBottom="sm");var W=i.alignment,U=i.border,Y=i.icon,G="left"===W?"left":"right",V=!1===U?"off":"on",X="border_".concat("left"===G?"right":"left","_").concat(V),q=null!==Y,K=q?"text_input_wrapper_add_on":"",Z=q&&v?"add-on-card-dark":"",J=a()(["pb_text_input_kit",k?"inline":"",_?"error":"",Object(s.c)(H),g]),Q=r.a.createElement(p.a,{className:"add-on-icon",dark:v,fixedWidth:!1,icon:Y}),tt=R?"input"===R.type:void 0,et=tt?r.a.cloneElement(R,{className:"text_input"}):r.a.createElement("input",Object.assign({},Object(s.b)(t),{className:"text_input",disabled:x,id:$,key:$,name:S,onChange:M,placeholder:A,ref:e,required:P,type:L,value:I})),nt=r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{className:"add-on-".concat(G," ").concat(X),vertical:"center"},"left"==G&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{className:"".concat(Z," add-on-card card-left-aligned"),dark:v},Q),et),"left"!=G&&r.a.createElement(r.a.Fragment,null,et,r.a.createElement(c.a,{className:"".concat(Z," add-on-card card-right-aligned"),dark:v},Q)))),it=R&&!tt?R:q?nt:et;return r.a.createElement("div",Object.assign({},F,B,z,{className:J}),j&&r.a.createElement(u.a,{className:"pb_text_input_kit_label",text:j}),r.a.createElement("div",{className:"".concat(K," text_input_wrapper")},it,_&&r.a.createElement(h.a,{status:"negative",text:_,variant:null})))};e.a=Object(i.forwardRef)(f)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=function(t,e){var n={};switch(e){case"xxs":case"xs":n={"top-right":{top:"xs",right:"xs"},"bottom-left":{bottom:"xs",left:"xs"},"top-left":{top:"xs",left:"xs"},"bottom-right":{bottom:"xs",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"sm":n={"top-right":{top:"0",right:"xs"},"bottom-left":{bottom:"0",left:"xs"},"top-left":{top:"0",left:"xs"},"bottom-right":{bottom:"0",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"md":case"lg":n={"top-right":{top:"0",right:"0"},"bottom-left":{bottom:"0",left:"0"},"top-left":{top:"0",left:"0"},"bottom-right":{bottom:"0",right:"0"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"xl":n={"top-right":{top:{value:"xxs",inset:!0},right:{value:"xxs",inset:!0}},"bottom-left":{bottom:{value:"xxs",inset:!0},left:{value:"xxs",inset:!0}},"top-left":{top:{value:"xxs",inset:!0},left:{value:"xxs",inset:!0}},"bottom-right":{bottom:{value:"xxs",inset:!0},right:{value:"xxs",inset:!0}},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}}}return n[t]||{}},c=n(38),u=n(115),h=n(6),p=n(44),f=n(56),g=n(20);function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,v=t.data,b=void 0===v?{}:v,y=t.htmlOptions,x=void 0===y?{}:y,_=t.name,w=void 0===_?void 0:_,O=t.componentOverlay,$=t.id,C=void 0===$?"":$,k=t.imageAlt,S=void 0===k?"":k,j=t.imageUrl,E=t.size,M=void 0===E?"md":E,A=t.status,P=void 0===A?null:A,T=t.dark,L=void 0!==T&&T,D=Object(s.c)(b),I=Object(s.a)(n),N=Object(s.d)(x),R=a()(Object(s.b)("pb_avatar_kit","size_".concat(M)),Object(l.c)(t),o),F=w&&function(t){return t.split(/\s/).map((function(t){return t[0]})).join("").substring(0,2)}(w);D["data-initials"]=F;var B=m(Object(i.useState)(!1),2),z=B[0],H=B[1],W=function(){return H(!0)},U=j&&!z;return r.a.createElement("div",Object.assign({},I,D,N,{className:R,id:C}),O?r.a.createElement(h.a,{display:"display_inline_block",position:"relative"},r.a.createElement("div",{className:"avatar_wrapper","data-initials":F},U&&r.a.createElement(c.a,{alt:S||w,onError:W,url:j})),"badge"===O.component&&r.a.createElement(g.a,Object.assign({borderNone:!0,borderRadius:"rounded",padding:"none",position:"absolute"},d(O.placement,M)),r.a.createElement(p.a,{rounded:!0,text:O.text,variant:O.variant})),"iconCircle"===O.component&&r.a.createElement(g.a,Object.assign({borderNone:!0,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute"},d(O.placement,M)),r.a.createElement(f.a,{icon:O.icon,size:"xxs",variant:O.variant}))):r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"avatar_wrapper","data-initials":F},U&&r.a.createElement(c.a,{alt:S||w,onError:W,url:j})),P&&r.a.createElement(u.a,{className:"size_".concat(M),dark:L,status:P})))}},function(t,e,n){"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2);e.a=function(t){var e=t.alt,n=void 0===e?"":e,i=t.aria,o=void 0===i?{}:i,d=t.className,c=t.data,u=void 0===c?{}:c,h=t.htmlOptions,p=void 0===h?{}:h,f=t.id,g=t.onError,m=void 0===g?null:g,v=t.rounded,b=void 0!==v&&v,y=t.size,x=void 0===y?"":y,_=t.transition,w=void 0===_?"fade":_,O=t.url,$=void 0===O?"":O,C=Object(l.a)(o),k=a()(Object(l.b)("pb_image_kit",x?"size_".concat(x):null),"lazyload",w,{rounded:b},Object(s.c)(t),d),S=Object(l.c)(u),j=Object(l.d)(p);return r.a.createElement("img",Object.assign({},C,S,j,{alt:n,className:k,"data-src":$,id:f,onError:m,src:$}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return y})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return b})),n.d(e,"f",(function(){return x}));var i=n(7),r=n(57),o=n(15);function a(t){const e=Object(o.a)(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const a=Object(o.k)(t),s=a?t.offsetWidth:n,l=a?t.offsetHeight:r,d=Object(i.u)(n)!==s||Object(i.u)(r)!==l;return d&&(n=s,r=l),{width:n,height:r,$:d}}function s(t){return Object(o.j)(t)?t:t.contextElement}function l(t){const e=s(t);if(!Object(o.k)(e))return Object(i.b)(1);const n=e.getBoundingClientRect(),{width:r,height:l,$:d}=a(e);let c=(d?Object(i.u)(n.width):n.width)/r,u=(d?Object(i.u)(n.height):n.height)/l;return c&&Number.isFinite(c)||(c=1),u&&Number.isFinite(u)||(u=1),{x:c,y:u}}const d=Object(i.b)(0);function c(t){const e=Object(o.h)(t);return Object(o.o)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:d}function u(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=!1);const a=t.getBoundingClientRect(),d=s(t);let u=Object(i.b)(1);e&&(r?Object(o.j)(r)&&(u=l(r)):u=l(t));const h=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==Object(o.h)(t))&&e}(d,n,r)?c(d):Object(i.b)(0);let p=(a.left+h.x)/u.x,f=(a.top+h.y)/u.y,g=a.width/u.x,m=a.height/u.y;if(d){const t=Object(o.h)(d),e=r&&Object(o.j)(r)?Object(o.h)(r):r;let n=t.frameElement;for(;n&&r&&e!==t;){const t=l(n),e=n.getBoundingClientRect(),i=Object(o.a)(n),r=e.left+(n.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(n.clientTop+parseFloat(i.paddingTop))*t.y;p*=t.x,f*=t.y,g*=t.x,m*=t.y,p+=r,f+=a,n=Object(o.h)(n).frameElement}}return Object(i.t)({width:g,height:m,x:p,y:f})}function h(t){return u(Object(o.c)(t)).left+Object(o.e)(t).scrollLeft}function p(t,e,n){let r;if("viewport"===e)r=function(t,e){const n=Object(o.h)(t),i=Object(o.c)(t),r=n.visualViewport;let a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(r){a=r.width,s=r.height;const t=Object(o.o)();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,d=r.offsetTop)}return{width:a,height:s,x:l,y:d}}(t,n);else if("document"===e)r=function(t){const e=Object(o.c)(t),n=Object(o.e)(t),r=t.ownerDocument.body,a=Object(i.q)(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),s=Object(i.q)(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+h(t);const d=-n.scrollTop;return"rtl"===Object(o.a)(r).direction&&(l+=Object(i.q)(e.clientWidth,r.clientWidth)-a),{width:a,height:s,x:l,y:d}}(Object(o.c)(t));else if(Object(o.j)(e))r=function(t,e){const n=u(t,!0,"fixed"===e),r=n.top+t.clientTop,a=n.left+t.clientLeft,s=Object(o.k)(t)?l(t):Object(i.b)(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:a*s.x,y:r*s.y}}(e,n);else{const n=c(t);r={...e,x:e.x-n.x,y:e.y-n.y}}return Object(i.t)(r)}function f(t,e){const n=Object(o.g)(t);return!(n===e||!Object(o.j)(n)||Object(o.l)(n))&&("fixed"===Object(o.a)(n).position||f(n,e))}function g(t,e,n){const r=Object(o.k)(e),a=Object(o.c)(e),s="fixed"===n,l=u(t,!0,s,e);let d={scrollLeft:0,scrollTop:0};const c=Object(i.b)(0);if(r||!r&&!s)if(("body"!==Object(o.d)(e)||Object(o.m)(a))&&(d=Object(o.e)(e)),r){const t=u(e,!0,s,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else a&&(c.x=h(a));return{x:l.left+d.scrollLeft-c.x,y:l.top+d.scrollTop-c.y,width:l.width,height:l.height}}function m(t,e){return Object(o.k)(t)&&"fixed"!==Object(o.a)(t).position?e?e(t):t.offsetParent:null}function v(t,e){const n=Object(o.h)(t);if(!Object(o.k)(t))return n;let i=m(t,e);for(;i&&Object(o.n)(i)&&"static"===Object(o.a)(i).position;)i=m(i,e);return i&&("html"===Object(o.d)(i)||"body"===Object(o.d)(i)&&"static"===Object(o.a)(i).position&&!Object(o.i)(i))?n:i||Object(o.b)(t)||n}const b={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const a=Object(o.k)(n),s=Object(o.c)(n);if(n===s)return e;let d={scrollLeft:0,scrollTop:0},c=Object(i.b)(1);const h=Object(i.b)(0);if((a||!a&&"fixed"!==r)&&(("body"!==Object(o.d)(n)||Object(o.m)(s))&&(d=Object(o.e)(n)),Object(o.k)(n))){const t=u(n);c=l(n),h.x=t.x+n.clientLeft,h.y=t.y+n.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-d.scrollLeft*c.x+h.x,y:e.y*c.y-d.scrollTop*c.y+h.y}},getDocumentElement:o.c,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const s=[..."clippingAncestors"===n?function(t,e){const n=e.get(t);if(n)return n;let i=Object(o.f)(t,[],!1).filter(t=>Object(o.j)(t)&&"body"!==Object(o.d)(t)),r=null;const a="fixed"===Object(o.a)(t).position;let s=a?Object(o.g)(t):t;for(;Object(o.j)(s)&&!Object(o.l)(s);){const e=Object(o.a)(s),n=Object(o.i)(s);n||"fixed"!==e.position||(r=null);(a?!n&&!r:!n&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||Object(o.m)(s)&&!n&&f(t,s))?i=i.filter(t=>t!==s):r=e,s=Object(o.g)(s)}return e.set(t,i),i}(e,this._c):[].concat(n),r],l=s[0],d=s.reduce((t,n)=>{const r=p(e,n,a);return t.top=Object(i.q)(r.top,t.top),t.right=Object(i.r)(r.right,t.right),t.bottom=Object(i.r)(r.bottom,t.bottom),t.left=Object(i.q)(r.left,t.left),t},p(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}},getOffsetParent:v,getElementRects:async function(t){let{reference:e,floating:n,strategy:i}=t;const r=this.getOffsetParent||v,o=this.getDimensions;return{reference:g(e,await r(n),i),floating:{x:0,y:0,...await o(n)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=a(t);return{width:e,height:n}},getScale:l,isElement:o.j,isRTL:function(t){return"rtl"===Object(o.a)(t).direction}};function y(t,e,n,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:d="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:h=!1}=r,p=s(t),f=a||l?[...p?Object(o.f)(p):[],...Object(o.f)(e)]:[];f.forEach(t=>{a&&t.addEventListener("scroll",n,{passive:!0}),l&&t.addEventListener("resize",n)});const g=p&&c?function(t,e){let n,r=null;const a=Object(o.c)(t);function s(){clearTimeout(n),r&&r.disconnect(),r=null}return function o(l,d){void 0===l&&(l=!1),void 0===d&&(d=1),s();const{left:c,top:u,width:h,height:p}=t.getBoundingClientRect();if(l||e(),!h||!p)return;const f={rootMargin:-Object(i.d)(u)+"px "+-Object(i.d)(a.clientWidth-(c+h))+"px "+-Object(i.d)(a.clientHeight-(u+p))+"px "+-Object(i.d)(c)+"px",threshold:Object(i.q)(0,Object(i.r)(1,d))||1};let g=!0;function m(t){const e=t[0].intersectionRatio;if(e!==d){if(!g)return o();e?o(!1,e):n=setTimeout(()=>{o(!1,1e-7)},100)}g=!1}try{r=new IntersectionObserver(m,{...f,root:a.ownerDocument})}catch(t){r=new IntersectionObserver(m,f)}r.observe(t)}(!0),s}(p,n):null;let m,v=-1,b=null;d&&(b=new ResizeObserver(t=>{let[i]=t;i&&i.target===p&&b&&(b.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{b&&b.observe(e)})),n()}),p&&!h&&b.observe(p),b.observe(e));let y=h?u(t):null;return h&&function e(){const i=u(t);!y||i.x===y.x&&i.y===y.y&&i.width===y.width&&i.height===y.height||n();y=i,m=requestAnimationFrame(e)}(),n(),()=>{f.forEach(t=>{a&&t.removeEventListener("scroll",n),l&&t.removeEventListener("resize",n)}),g&&g(),b&&b.disconnect(),b=null,h&&cancelAnimationFrame(m)}}r.b;const x=r.j,_=r.e,w=(r.k,r.f,r.a),O=(r.g,r.h,(t,e,n)=>{const i=new Map,o={platform:b,...n},a={...o.platform,_c:i};return Object(r.c)(t,e,{...o,platform:a})})},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(163);function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||Object(i.a)(t,e)||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(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return g})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return h}));var i=n(0),r=n(109),o=(n(21),n(124),n(185),n(82)),a=n(113),s=n(112),l=!0,d={}.hasOwnProperty,c=i.createContext("undefined"!=typeof HTMLElement?Object(r.a)({key:"css"}):null);var u=c.Provider,h=function(t){return Object(i.forwardRef)((function(e,n){var r=Object(i.useContext)(c);return t(e,r,n)}))};l||(h=function(t){return function(e){var n=Object(i.useContext)(c);return null===n?(n=Object(r.a)({key:"css"}),i.createElement(c.Provider,{value:n},t(e,n))):t(e,n)}});var p=i.createContext({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",g=function(t,e){var n={};for(var i in e)d.call(e,i)&&(n[i]=e[i]);return n[f]=t,n},m=function(t){var e=t.cache,n=t.serialized,i=t.isStringTag;return Object(o.c)(e,n,i),Object(s.a)((function(){return Object(o.b)(e,n,i)})),null};var v=h((function(t,e,n){var r=t.css;"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var s=t[f],l=[r],c="";"string"==typeof t.className?c=Object(o.a)(e.registered,l,t.className):null!=t.className&&(c=t.className+" ");var u=Object(a.a)(l,void 0,i.useContext(p));c+=e.key+"-"+u.name;var h={};for(var g in t)d.call(t,g)&&"css"!==g&&g!==f&&(h[g]=t[g]);return h.ref=n,h.className=c,i.createElement(i.Fragment,null,i.createElement(m,{cache:e,serialized:u,isStringTag:"string"==typeof s}),i.createElement(s,h))}))},function(t,e,n){"use strict";function i(t){return t.split("-")[0]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.closeProps,c=void 0===o?{}:o,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=t.removeIcon,v=void 0!==m&&m,b=t.removeOnClick,y=t.rounded,x=void 0!==y&&y,_=t.text,w=t.variant,O=void 0===w?"neutral":w,$=Object(l.a)(n),C=Object(l.c)(h),k=Object(l.d)(f),S=a()(Object(l.b)("pb_badge_kit","success"===O?"success_sm":O,x?"rounded":null),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},$,C,k,{className:S,id:g}),r.a.createElement("span",null,_,v&&r.a.createElement("span",Object.assign({onClick:b,style:{cursor:"pointer"}},c),r.a.createElement(d.a,{fixedWidth:!0,icon:"times"}))))}},function(t,e,n){"use strict";function i(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.borderless,o=void 0!==i&&i,c=t.children,u=t.className,h=t.data,p=void 0===h?{}:h,f=t.dark,g=void 0!==f&&f,m=t.highlight,v=void 0===m||m,b=t.htmlOptions,y=void 0===b?{}:b,x=t.id,_=t.link,w=void 0===_?"#":_,O=t.onClick,$=t.orientation,C=void 0===$?"vertical":$,k=t.title,S=void 0===k?"":k,j=t.variant,E=void 0===j?"normal":j,M=t.itemSpacing,A=Object(s.a)(n),P=Object(s.c)(p),T=Object(s.d)(y),L=a()(Object(s.b)("pb_nav_list",E,C,{highlight:v,borderless:o}),Object(l.c)(t),u),D=r.a.Children.map(c,(function(t){if(r.a.isValidElement(t)){var e={orientation:C,variant:E,itemSpacing:M};return r.a.cloneElement(t,e)}return t}));return r.a.createElement("nav",Object.assign({},A,P,T,{className:L,id:x}),S&&r.a.createElement("div",{className:"pb_nav_list_title"},r.a.createElement("a",{className:"pb_nav_list_item_link_text",href:w,onClick:O},r.a.createElement(d.a,{dark:g,size:"md",text:"".concat(S)}))),r.a.createElement("div",{className:"pb_nav_wrapper"},D))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(26),c=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,u=t.data,h=void 0===u?{}:u,p=t.disabled,f=t.htmlOptions,g=void 0===f?{}:f,m=t.icon,v=t.id,b=t.onClick,y=void 0===b?s.e:b,x=t.type,_=t.link,w=t.newWindow,O=t.variant,$=Object(s.a)(n),C=Object(s.c)(h),k=Object(s.d)(g),S=a()(Object(s.b)("pb_circle_icon_button_kit"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},$,C,k,{className:S,id:v}),r.a.createElement(d.a,{dark:o,disabled:p,htmlType:x,link:_,newWindow:w,onClick:y,text:null,variant:O},r.a.createElement(c.a,{fixedWidth:!0,icon:m})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(28);function r(t){return((Object(i.a)(t)?t.ownerDocument:t.document)||window.document).documentElement}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(8),r=n.n(i),o=n(10),a=n.n(o),s={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:void 0,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_light,tickColor:r.a.border_light,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:r.a.border_light,minorGridLineColor:r.a.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_lt_default},itemHiddenStyle:{color:r.a.text_lt_lighter}},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:a.a.font_family_base,color:r.a.text_dk_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_light}},plotOptions:{series:{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:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_lt_light,fontWeight:a.a.regular,textOutline:"2px $white"}}},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"}},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],dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";function i(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var i=n(25),r=function(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},o=function(t){return Object(i.isEmpty)(t)?t:t.split(" ").map(r).join(" ")},a=function(t){return!Object(i.isEmpty)(t)},s=function(t,e){return Object(i.filter)(t,a).join(e)},l=function(t){return t.split(/([A-Z])/g).map((function(t,e){var n=e>0?"_":"";return t===t.toLowerCase()?t:n+t.toLowerCase()})).join("")}},function(t,e,n){"use strict";n.d(e,"a",(function(){return mt})),n.d(e,"b",(function(){return Z})),n.d(e,"c",(function(){return J}));var i=n(21),r=n(18);var o=n(164);function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,Object(o.a)(i.key),i)}}function s(t,e){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=n(80);function c(t,e){if(e&&("object"===Object(d.a)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=l(t);if(e){var r=l(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return c(this,n)}}var h=n(88),p=n(0),f=n(22),g=n(19),m=n(101),v=n(50);for(var b={name:"7pg0cj-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"},y=function(t){return Object(g.b)("span",Object(i.a)({css:b},t))},x={guidance:function(t){var e=t.isSearchable,n=t.isMulti,i=t.tabSelectsValue,r=t.context,o=t.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(e?",type to refine list":"",", press Down to open the menu, ").concat(n?" 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";default:return""}},onChange:function(t){var e=t.action,n=t.label,i=void 0===n?"":n,r=t.labels,o=t.isDisabled;switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(i,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(t){var e=t.context,n=t.focused,i=t.options,r=t.label,o=void 0===r?"":r,a=t.selectValue,s=t.isDisabled,l=t.isSelected,d=t.isAppleDevice,c=function(t,e){return t&&t.length?"".concat(t.indexOf(e)+1," of ").concat(t.length):""};if("value"===e&&a)return"value ".concat(o," focused, ").concat(c(a,n),".");if("menu"===e&&d){var u=s?" disabled":"",h="".concat(l?" selected":"").concat(u);return"".concat(o).concat(h,", ").concat(c(i,n),".")}return""},onFilter:function(t){var e=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}},_=function(t){var e=t.ariaSelection,n=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,a=t.isFocused,s=t.selectValue,l=t.selectProps,d=t.id,c=t.isAppleDevice,u=l.ariaLiveMessages,h=l.getOptionLabel,f=l.inputValue,m=l.isMulti,v=l.isOptionDisabled,b=l.isSearchable,_=l.menuIsOpen,w=l.options,O=l.screenReaderStatus,$=l.tabSelectsValue,C=l.isLoading,k=l["aria-label"],S=l["aria-live"],j=Object(p.useMemo)((function(){return Object(r.a)(Object(r.a)({},x),u||{})}),[u]),E=Object(p.useMemo)((function(){var t,n="";if(e&&j.onChange){var i=e.option,o=e.options,a=e.removedValue,l=e.removedValues,d=e.value,c=a||i||(t=d,Array.isArray(t)?null:t),u=c?h(c):"",p=o||l||void 0,f=p?p.map(h):[],g=Object(r.a)({isDisabled:c&&v(c,s),label:u,labels:f},e);n=j.onChange(g)}return n}),[e,j,v,s,h]),M=Object(p.useMemo)((function(){var t="",e=n||i,r=!!(n&&s&&s.includes(n));if(e&&j.onFocus){var a={focused:e,label:h(e),isDisabled:v(e,s),isSelected:r,options:o,context:e===n?"menu":"value",selectValue:s,isAppleDevice:c};t=j.onFocus(a)}return t}),[n,i,h,v,j,o,s,c]),A=Object(p.useMemo)((function(){var t="";if(_&&w.length&&!C&&j.onFilter){var e=O({count:o.length});t=j.onFilter({inputValue:f,resultsMessage:e})}return t}),[o,f,_,j,w,O,C]),P="initial-input-focus"===(null==e?void 0:e.action),T=Object(p.useMemo)((function(){var t="";if(j.guidance){var e=i?"value":_?"menu":"input";t=j.guidance({"aria-label":k,context:e,isDisabled:n&&v(n,s),isMulti:m,isSearchable:b,tabSelectsValue:$,isInitialFocus:P})}return t}),[k,n,i,m,v,b,_,j,s,$,P]),L=Object(g.b)(p.Fragment,null,Object(g.b)("span",{id:"aria-selection"},E),Object(g.b)("span",{id:"aria-focused"},M),Object(g.b)("span",{id:"aria-results"},A),Object(g.b)("span",{id:"aria-guidance"},T));return Object(g.b)(p.Fragment,null,Object(g.b)(y,{id:d},P&&L),Object(g.b)(y,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!P&&L))},w=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],O=new RegExp("["+w.map((function(t){return t.letters})).join("")+"]","g"),$={},C=0;C<w.length;C++)for(var k=w[C],S=0;S<k.letters.length;S++)$[k.letters[S]]=k.base;var j=function(t){return t.replace(O,(function(t){return $[t]}))},E=Object(m.a)(j),M=function(t){return t.replace(/^\s+|\s+$/g,"")},A=function(t){return"".concat(t.label," ").concat(t.value)},P=["innerRef"];function T(t){var e=t.innerRef,n=Object(v.a)(t,P),r=Object(f.E)(n,"onExited","in","enter","exit","appear");return Object(g.b)("input",Object(i.a)({ref:e},r,{css:Object(g.a)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var L=["boxSizing","height","overflow","paddingRight","position"],D={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function I(t){t.preventDefault()}function N(t){t.stopPropagation()}function R(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function F(){return"ontouchstart"in window||navigator.maxTouchPoints}var B=!("undefined"==typeof window||!window.document||!window.document.createElement),z=0,H={capture:!1,passive:!1};var W=function(t){var e=t.target;return e.ownerDocument.activeElement&&e.ownerDocument.activeElement.blur()},U={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Y(t){var e=t.children,n=t.lockEnabled,i=t.captureEnabled,r=function(t){var e=t.isEnabled,n=t.onBottomArrive,i=t.onBottomLeave,r=t.onTopArrive,o=t.onTopLeave,a=Object(p.useRef)(!1),s=Object(p.useRef)(!1),l=Object(p.useRef)(0),d=Object(p.useRef)(null),c=Object(p.useCallback)((function(t,e){if(null!==d.current){var l=d.current,c=l.scrollTop,u=l.scrollHeight,h=l.clientHeight,p=d.current,f=e>0,g=u-h-c,m=!1;g>e&&a.current&&(i&&i(t),a.current=!1),f&&s.current&&(o&&o(t),s.current=!1),f&&e>g?(n&&!a.current&&n(t),p.scrollTop=u,m=!0,a.current=!0):!f&&-e>c&&(r&&!s.current&&r(t),p.scrollTop=0,m=!0,s.current=!0),m&&function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()}(t)}}),[n,i,r,o]),u=Object(p.useCallback)((function(t){c(t,t.deltaY)}),[c]),h=Object(p.useCallback)((function(t){l.current=t.changedTouches[0].clientY}),[]),g=Object(p.useCallback)((function(t){var e=l.current-t.changedTouches[0].clientY;c(t,e)}),[c]),m=Object(p.useCallback)((function(t){if(t){var e=!!f.F&&{passive:!1};t.addEventListener("wheel",u,e),t.addEventListener("touchstart",h,e),t.addEventListener("touchmove",g,e)}}),[g,h,u]),v=Object(p.useCallback)((function(t){t&&(t.removeEventListener("wheel",u,!1),t.removeEventListener("touchstart",h,!1),t.removeEventListener("touchmove",g,!1))}),[g,h,u]);return Object(p.useEffect)((function(){if(e){var t=d.current;return m(t),function(){v(t)}}}),[e,m,v]),function(t){d.current=t}}({isEnabled:void 0===i||i,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),o=function(t){var e=t.isEnabled,n=t.accountForScrollbars,i=void 0===n||n,r=Object(p.useRef)({}),o=Object(p.useRef)(null),a=Object(p.useCallback)((function(t){if(B){var e=document.body,n=e&&e.style;if(i&&L.forEach((function(t){var e=n&&n[t];r.current[t]=e})),i&&z<1){var o=parseInt(r.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(D).forEach((function(t){var e=D[t];n&&(n[t]=e)})),n&&(n.paddingRight="".concat(s,"px"))}e&&F()&&(e.addEventListener("touchmove",I,H),t&&(t.addEventListener("touchstart",R,H),t.addEventListener("touchmove",N,H))),z+=1}}),[i]),s=Object(p.useCallback)((function(t){if(B){var e=document.body,n=e&&e.style;z=Math.max(z-1,0),i&&z<1&&L.forEach((function(t){var e=r.current[t];n&&(n[t]=e)})),e&&F()&&(e.removeEventListener("touchmove",I,H),t&&(t.removeEventListener("touchstart",R,H),t.removeEventListener("touchmove",N,H)))}}),[i]);return Object(p.useEffect)((function(){if(e){var t=o.current;return a(t),function(){s(t)}}}),[e,a,s]),function(t){o.current=t}}({isEnabled:n});return Object(g.b)(p.Fragment,null,n&&Object(g.b)("div",{onClick:W,css:U}),e((function(t){r(t),o(t)})))}var G={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},V=function(t){var e=t.name,n=t.onFocus;return Object(g.b)("input",{required:!0,name:e,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:G,value:"",onChange:function(){}})};function X(t){var e;return"undefined"!=typeof window&&null!=window.navigator&&t.test((null===(e=window.navigator.userAgentData)||void 0===e?void 0:e.platform)||window.navigator.platform)}function q(){return X(/^Mac/i)}function K(){return X(/^iPhone/i)||X(/^iPad/i)||q()&&navigator.maxTouchPoints>1}var Z=function(t){return t.label},J=function(t){return t.value},Q={clearIndicator:f.n,container:f.o,control:f.q,dropdownIndicator:f.r,group:f.t,groupHeading:f.s,indicatorsContainer:f.v,indicatorSeparator:f.u,input:f.w,loadingIndicator:f.y,loadingMessage:f.x,menu:f.z,menuList:f.A,menuPortal:f.B,multiValue:f.C,multiValueLabel:f.D,multiValueRemove:f.G,noOptionsMessage:f.H,option:f.I,placeholder:f.J,singleValue:f.K,valueContainer:f.L};var tt,et={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}},nt={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Object(f.M)(),captureMenuScroll:!Object(f.M)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){if(t.data.__isNew__)return!0;var n=Object(r.a)({ignoreCase:!0,ignoreAccents:!0,stringify:A,trim:!0,matchFrom:"any"},tt),i=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,s=n.trim,l=n.matchFrom,d=s?M(e):e,c=s?M(a(t)):a(t);return i&&(d=d.toLowerCase(),c=c.toLowerCase()),o&&(d=E(d),c=j(c)),"start"===l?c.substr(0,d.length)===d:c.indexOf(d)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:Z,getOptionValue:J,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(t){return!!t.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Object(f.a)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function it(t,e,n,i){return{type:"option",data:e,isDisabled:ut(t,e,n),isSelected:ht(t,e,n),label:dt(t,e),value:ct(t,e),index:i}}function rt(t,e){return t.options.map((function(n,i){if("options"in n){var r=n.options.map((function(n,i){return it(t,n,e,i)})).filter((function(e){return st(t,e)}));return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=it(t,n,e,i);return st(t,o)?o:void 0})).filter(f.k)}function ot(t){return t.reduce((function(t,e){return"group"===e.type?t.push.apply(t,Object(h.a)(e.options.map((function(t){return t.data})))):t.push(e.data),t}),[])}function at(t,e){return t.reduce((function(t,n){return"group"===n.type?t.push.apply(t,Object(h.a)(n.options.map((function(t){return{data:t.data,id:"".concat(e,"-").concat(n.index,"-").concat(t.index)}})))):t.push({data:n.data,id:"".concat(e,"-").concat(n.index)}),t}),[])}function st(t,e){var n=t.inputValue,i=void 0===n?"":n,r=e.data,o=e.isSelected,a=e.label,s=e.value;return(!ft(t)||!o)&&pt(t,{label:a,value:s,data:r},i)}var lt=function(t,e){var n;return(null===(n=t.find((function(t){return t.data===e})))||void 0===n?void 0:n.id)||null},dt=function(t,e){return t.getOptionLabel(e)},ct=function(t,e){return t.getOptionValue(e)};function ut(t,e,n){return"function"==typeof t.isOptionDisabled&&t.isOptionDisabled(e,n)}function ht(t,e,n){if(n.indexOf(e)>-1)return!0;if("function"==typeof t.isOptionSelected)return t.isOptionSelected(e,n);var i=ct(t,e);return n.some((function(e){return ct(t,e)===i}))}function pt(t,e,n){return!t.filterOption||t.filterOption(e,n)}var ft=function(t){var e=t.hideSelectedOptions,n=t.isMulti;return void 0===e?n:e},gt=1,mt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(d,t);var e,n,o,l=u(d);function d(t){var e;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(e=l.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},e.blockOptionHover=!1,e.isComposing=!1,e.commonProps=void 0,e.initialTouchX=0,e.initialTouchY=0,e.openAfterFocus=!1,e.scrollToFocusedOptionOnUpdate=!1,e.userIsDragging=void 0,e.isAppleDevice=q()||K(),e.controlRef=null,e.getControlRef=function(t){e.controlRef=t},e.focusedOptionRef=null,e.getFocusedOptionRef=function(t){e.focusedOptionRef=t},e.menuListRef=null,e.getMenuListRef=function(t){e.menuListRef=t},e.inputRef=null,e.getInputRef=function(t){e.inputRef=t},e.focus=e.focusInput,e.blur=e.blurInput,e.onChange=function(t,n){var i=e.props,r=i.onChange,o=i.name;n.name=o,e.ariaOnChange(t,n),r(t,n)},e.setValue=function(t,n,i){var r=e.props,o=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;e.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(e.setState({inputIsHiddenAfterUpdate:!a}),e.onMenuClose()),e.setState({clearFocusValueOnUpdate:!0}),e.onChange(t,{action:n,option:i})},e.selectOption=function(t){var n=e.props,i=n.blurInputOnSelect,r=n.isMulti,o=n.name,a=e.state.selectValue,s=r&&e.isOptionSelected(t,a),l=e.isOptionDisabled(t,a);if(s){var d=e.getOptionValue(t);e.setValue(Object(f.b)(a.filter((function(t){return e.getOptionValue(t)!==d}))),"deselect-option",t)}else{if(l)return void e.ariaOnChange(Object(f.c)(t),{action:"select-option",option:t,name:o});r?e.setValue(Object(f.b)([].concat(Object(h.a)(a),[t])),"select-option",t):e.setValue(Object(f.c)(t),"select-option")}i&&e.blurInput()},e.removeValue=function(t){var n=e.props.isMulti,i=e.state.selectValue,r=e.getOptionValue(t),o=i.filter((function(t){return e.getOptionValue(t)!==r})),a=Object(f.d)(n,o,o[0]||null);e.onChange(a,{action:"remove-value",removedValue:t}),e.focusInput()},e.clearValue=function(){var t=e.state.selectValue;e.onChange(Object(f.d)(e.props.isMulti,[],null),{action:"clear",removedValues:t})},e.popValue=function(){var t=e.props.isMulti,n=e.state.selectValue,i=n[n.length-1],r=n.slice(0,n.length-1),o=Object(f.d)(t,r,r[0]||null);e.onChange(o,{action:"pop-value",removedValue:i})},e.getFocusedOptionId=function(t){return lt(e.state.focusableOptionsWithIds,t)},e.getFocusableOptionsWithIds=function(){return at(rt(e.props,e.state.selectValue),e.getElementId("option"))},e.getValue=function(){return e.state.selectValue},e.cx=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return f.e.apply(void 0,[e.props.classNamePrefix].concat(n))},e.getOptionLabel=function(t){return dt(e.props,t)},e.getOptionValue=function(t){return ct(e.props,t)},e.getStyles=function(t,n){var i=e.props.unstyled,r=Q[t](n,i);r.boxSizing="border-box";var o=e.props.styles[t];return o?o(r,n):r},e.getClassNames=function(t,n){var i,r;return null===(i=(r=e.props.classNames)[t])||void 0===i?void 0:i.call(r,n)},e.getElementId=function(t){return"".concat(e.state.instancePrefix,"-").concat(t)},e.getComponents=function(){return Object(f.f)(e.props)},e.buildCategorizedOptions=function(){return rt(e.props,e.state.selectValue)},e.getCategorizedOptions=function(){return e.props.menuIsOpen?e.buildCategorizedOptions():[]},e.buildFocusableOptions=function(){return ot(e.buildCategorizedOptions())},e.getFocusableOptions=function(){return e.props.menuIsOpen?e.buildFocusableOptions():[]},e.ariaOnChange=function(t,n){e.setState({ariaSelection:Object(r.a)({value:t},n)})},e.onMenuMouseDown=function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),e.focusInput())},e.onMenuMouseMove=function(t){e.blockOptionHover=!1},e.onControlMouseDown=function(t){if(!t.defaultPrevented){var n=e.props.openMenuOnClick;e.state.isFocused?e.props.menuIsOpen?"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&e.onMenuClose():n&&e.openMenu("first"):(n&&(e.openAfterFocus=!0),e.focusInput()),"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&t.preventDefault()}},e.onDropdownIndicatorMouseDown=function(t){if(!(t&&"mousedown"===t.type&&0!==t.button||e.props.isDisabled)){var n=e.props,i=n.isMulti,r=n.menuIsOpen;e.focusInput(),r?(e.setState({inputIsHiddenAfterUpdate:!i}),e.onMenuClose()):e.openMenu("first"),t.preventDefault()}},e.onClearIndicatorMouseDown=function(t){t&&"mousedown"===t.type&&0!==t.button||(e.clearValue(),t.preventDefault(),e.openAfterFocus=!1,"touchend"===t.type?e.focusInput():setTimeout((function(){return e.focusInput()})))},e.onScroll=function(t){"boolean"==typeof e.props.closeMenuOnScroll?t.target instanceof HTMLElement&&Object(f.g)(t.target)&&e.props.onMenuClose():"function"==typeof e.props.closeMenuOnScroll&&e.props.closeMenuOnScroll(t)&&e.props.onMenuClose()},e.onCompositionStart=function(){e.isComposing=!0},e.onCompositionEnd=function(){e.isComposing=!1},e.onTouchStart=function(t){var n=t.touches,i=n&&n.item(0);i&&(e.initialTouchX=i.clientX,e.initialTouchY=i.clientY,e.userIsDragging=!1)},e.onTouchMove=function(t){var n=t.touches,i=n&&n.item(0);if(i){var r=Math.abs(i.clientX-e.initialTouchX),o=Math.abs(i.clientY-e.initialTouchY);e.userIsDragging=r>5||o>5}},e.onTouchEnd=function(t){e.userIsDragging||(e.controlRef&&!e.controlRef.contains(t.target)&&e.menuListRef&&!e.menuListRef.contains(t.target)&&e.blurInput(),e.initialTouchX=0,e.initialTouchY=0)},e.onControlTouchEnd=function(t){e.userIsDragging||e.onControlMouseDown(t)},e.onClearIndicatorTouchEnd=function(t){e.userIsDragging||e.onClearIndicatorMouseDown(t)},e.onDropdownIndicatorTouchEnd=function(t){e.userIsDragging||e.onDropdownIndicatorMouseDown(t)},e.handleInputChange=function(t){var n=e.props.inputValue,i=t.currentTarget.value;e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange(i,{action:"input-change",prevInputValue:n}),e.props.menuIsOpen||e.onMenuOpen()},e.onInputFocus=function(t){e.props.onFocus&&e.props.onFocus(t),e.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(e.openAfterFocus||e.props.openMenuOnFocus)&&e.openMenu("first"),e.openAfterFocus=!1},e.onInputBlur=function(t){var n=e.props.inputValue;e.menuListRef&&e.menuListRef.contains(document.activeElement)?e.inputRef.focus():(e.props.onBlur&&e.props.onBlur(t),e.onInputChange("",{action:"input-blur",prevInputValue:n}),e.onMenuClose(),e.setState({focusedValue:null,isFocused:!1}))},e.onOptionHover=function(t){if(!e.blockOptionHover&&e.state.focusedOption!==t){var n=e.getFocusableOptions().indexOf(t);e.setState({focusedOption:t,focusedOptionId:n>-1?e.getFocusedOptionId(t):null})}},e.shouldHideSelectedOptions=function(){return ft(e.props)},e.onValueInputFocus=function(t){t.preventDefault(),t.stopPropagation(),e.focus()},e.onKeyDown=function(t){var n=e.props,i=n.isMulti,r=n.backspaceRemovesValue,o=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,l=n.isDisabled,d=n.menuIsOpen,c=n.onKeyDown,u=n.tabSelectsValue,h=n.openMenuOnFocus,p=e.state,f=p.focusedOption,g=p.focusedValue,m=p.selectValue;if(!(l||"function"==typeof c&&(c(t),t.defaultPrevented))){switch(e.blockOptionHover=!0,t.key){case"ArrowLeft":if(!i||a)return;e.focusValue("previous");break;case"ArrowRight":if(!i||a)return;e.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)e.removeValue(g);else{if(!r)return;i?e.popValue():s&&e.clearValue()}break;case"Tab":if(e.isComposing)return;if(t.shiftKey||!d||!u||!f||h&&e.isOptionSelected(f,m))return;e.selectOption(f);break;case"Enter":if(229===t.keyCode)break;if(d){if(!f)return;if(e.isComposing)return;e.selectOption(f);break}return;case"Escape":d?(e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange("",{action:"menu-close",prevInputValue:a}),e.onMenuClose()):s&&o&&e.clearValue();break;case" ":if(a)return;if(!d){e.openMenu("first");break}if(!f)return;e.selectOption(f);break;case"ArrowUp":d?e.focusOption("up"):e.openMenu("last");break;case"ArrowDown":d?e.focusOption("down"):e.openMenu("first");break;case"PageUp":if(!d)return;e.focusOption("pageup");break;case"PageDown":if(!d)return;e.focusOption("pagedown");break;case"Home":if(!d)return;e.focusOption("first");break;case"End":if(!d)return;e.focusOption("last");break;default:return}t.preventDefault()}},e.state.instancePrefix="react-select-"+(e.props.instanceId||++gt),e.state.selectValue=Object(f.h)(t.value),t.menuIsOpen&&e.state.selectValue.length){var n=e.getFocusableOptionsWithIds(),i=e.buildFocusableOptions(),o=i.indexOf(e.state.selectValue[0]);e.state.focusableOptionsWithIds=n,e.state.focusedOption=i[o],e.state.focusedOptionId=lt(n,i[o])}return e}return e=d,o=[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,i=e.clearFocusValueOnUpdate,o=e.inputIsHiddenAfterUpdate,a=e.ariaSelection,s=e.isFocused,l=e.prevWasFocused,d=e.instancePrefix,c=t.options,u=t.value,h=t.menuIsOpen,p=t.inputValue,g=t.isMulti,m=Object(f.h)(u),v={};if(n&&(u!==n.value||c!==n.options||h!==n.menuIsOpen||p!==n.inputValue)){var b=h?function(t,e){return ot(rt(t,e))}(t,m):[],y=h?at(rt(t,m),"".concat(d,"-option")):[],x=i?function(t,e){var n=t.focusedValue,i=t.selectValue.indexOf(n);if(i>-1){if(e.indexOf(n)>-1)return n;if(i<e.length)return e[i]}return null}(e,m):null,_=function(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}(e,b);v={selectValue:m,focusedOption:_,focusedOptionId:lt(y,_),focusableOptionsWithIds:y,focusedValue:x,clearFocusValueOnUpdate:!1}}var w=null!=o&&t!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},O=a,$=s&&l;return s&&!$&&(O={value:Object(f.d)(g,m,m[0]||null),options:m,action:"initial-input-focus"},$=!l),"initial-input-focus"===(null==a?void 0:a.action)&&(O=null),Object(r.a)(Object(r.a)(Object(r.a)({},v),w),{},{prevProps:t,ariaSelection:O,prevWasFocused:$})}}],(n=[{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(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Object(f.i)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,i=e.menuIsOpen,r=this.state.isFocused;(r&&!n&&t.isDisabled||r&&i&&!t.menuIsOpen)&&this.focusInput(),r&&n&&!t.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!t.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Object(f.i)(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(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this,n=this.state,i=n.selectValue,r=n.isFocused,o=this.buildFocusableOptions(),a="first"===t?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},(function(){return e.onMenuOpen()}))}},{key:"focusValue",value:function(t){var e=this.state,n=e.selectValue,i=e.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(i);i||(r=-1);var o=n.length-1,a=-1;if(n.length){switch(t){case"previous":a=0===r?0:-1===r?o:r-1;break;case"next":r>-1&&r<o&&(a=r+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state.focusedOption,i=this.getFocusableOptions();if(i.length){var r=0,o=i.indexOf(n);n||(o=-1),"up"===t?r=o>0?o-1:i.length-1:"down"===t?r=(o+1)%i.length:"pageup"===t?(r=o-e)<0&&(r=0):"pagedown"===t?(r=o+e)>i.length-1&&(r=i.length-1):"last"===t&&(r=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(et):Object(r.a)(Object(r.a)({},et),this.props.theme):et}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.cx,n=this.getStyles,i=this.getClassNames,r=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,d=s.isRtl,c=s.options;return{clearValue:t,cx:e,getStyles:n,getClassNames:i,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:d,options:c,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return ut(this.props,t,e)}},{key:"isOptionSelected",value:function(t,e){return ht(this.props,t,e)}},{key:"filterOption",value:function(t,e){return pt(this.props,t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:i})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{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:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,o=t.inputId,a=t.inputValue,s=t.tabIndex,l=t.form,d=t.menuIsOpen,c=t.required,u=this.getComponents().Input,h=this.state,g=h.inputIsHidden,m=h.ariaSelection,v=this.commonProps,b=o||this.getElementId("input"),y=Object(r.a)(Object(r.a)(Object(r.a)({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?p.createElement(u,Object(i.a)({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:b,innerRef:this.getInputRef,isDisabled:e,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:a},y)):p.createElement(T,Object(i.a)({id:b,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:f.j,onFocus:this.onInputFocus,disabled:e,tabIndex:s,inputMode:"none",form:l,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.getComponents(),n=e.MultiValue,r=e.MultiValueContainer,o=e.MultiValueLabel,a=e.MultiValueRemove,s=e.SingleValue,l=e.Placeholder,d=this.commonProps,c=this.props,u=c.controlShouldRenderValue,h=c.isDisabled,f=c.isMulti,g=c.inputValue,m=c.placeholder,v=this.state,b=v.selectValue,y=v.focusedValue,x=v.isFocused;if(!this.hasValue()||!u)return g?null:p.createElement(l,Object(i.a)({},d,{key:"placeholder",isDisabled:h,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map((function(e,s){var l=e===y,c="".concat(t.getOptionLabel(e),"-").concat(t.getOptionValue(e));return p.createElement(n,Object(i.a)({},d,{components:{Container:r,Label:o,Remove:a},isFocused:l,isDisabled:h,key:c,index:s,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault()}},data:e}),t.formatOptionLabel(e,"value"))}));if(g)return null;var _=b[0];return p.createElement(s,Object(i.a)({},d,{data:_,isDisabled:h}),this.formatOptionLabel(_,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(t,Object(i.a)({},e,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;return t&&o?p.createElement(t,Object(i.a)({},e,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return p.createElement(n,Object(i.a)({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(t,Object(i.a)({},e,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,e=this.getComponents(),n=e.Group,r=e.GroupHeading,o=e.Menu,a=e.MenuList,s=e.MenuPortal,l=e.LoadingMessage,d=e.NoOptionsMessage,c=e.Option,u=this.commonProps,h=this.state.focusedOption,g=this.props,m=g.captureMenuScroll,v=g.inputValue,b=g.isLoading,y=g.loadingMessage,x=g.minMenuHeight,_=g.maxMenuHeight,w=g.menuIsOpen,O=g.menuPlacement,$=g.menuPosition,C=g.menuPortalTarget,k=g.menuShouldBlockScroll,S=g.menuShouldScrollIntoView,j=g.noOptionsMessage,E=g.onMenuScrollToTop,M=g.onMenuScrollToBottom;if(!w)return null;var A,P=function(e,n){var r=e.type,o=e.data,a=e.isDisabled,s=e.isSelected,l=e.label,d=e.value,f=h===o,g=a?void 0:function(){return t.onOptionHover(o)},m=a?void 0:function(){return t.selectOption(o)},v="".concat(t.getElementId("option"),"-").concat(n),b={id:v,onClick:m,onMouseMove:g,onMouseOver:g,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:s};return p.createElement(c,Object(i.a)({},u,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:v,label:l,type:r,value:d,isFocused:f,innerRef:f?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())A=this.getCategorizedOptions().map((function(e){if("group"===e.type){var o=e.data,a=e.options,s=e.index,l="".concat(t.getElementId("group"),"-").concat(s),d="".concat(l,"-heading");return p.createElement(n,Object(i.a)({},u,{key:l,data:o,options:a,Heading:r,headingProps:{id:d,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map((function(t){return P(t,"".concat(s,"-").concat(t.index))})))}if("option"===e.type)return P(e,"".concat(e.index))}));else if(b){var T=y({inputValue:v});if(null===T)return null;A=p.createElement(l,u,T)}else{var L=j({inputValue:v});if(null===L)return null;A=p.createElement(d,u,L)}var D={minMenuHeight:x,maxMenuHeight:_,menuPlacement:O,menuPosition:$,menuShouldScrollIntoView:S},I=p.createElement(f.m,Object(i.a)({},u,D),(function(e){var n=e.ref,r=e.placerProps,s=r.placement,l=r.maxHeight;return p.createElement(o,Object(i.a)({},u,D,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:b,placement:s}),p.createElement(Y,{captureEnabled:m,onTopArrive:E,onBottomArrive:M,lockEnabled:k},(function(e){return p.createElement(a,Object(i.a)({},u,{innerRef:function(n){t.getMenuListRef(n),e(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:t.getElementId("listbox")},isLoading:b,maxHeight:l,focusedOption:h}),A)})))}));return C||"fixed"===$?p.createElement(s,Object(i.a)({},u,{appendTo:C,controlElement:this.controlRef,menuPlacement:O,menuPosition:$}),I):I}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,i=e.isDisabled,r=e.isMulti,o=e.name,a=e.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!i)return p.createElement(V,{name:o,onFocus:this.onValueInputFocus});if(o&&!i){if(r){if(n){var l=s.map((function(e){return t.getOptionValue(e)})).join(n);return p.createElement("input",{name:o,type:"hidden",value:l})}var d=s.length>0?s.map((function(e,n){return p.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:t.getOptionValue(e)})})):p.createElement("input",{name:o,type:"hidden",value:""});return p.createElement("div",null,d)}var c=s[0]?this.getOptionValue(s[0]):"";return p.createElement("input",{name:o,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,e=this.state,n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,a=e.isFocused,s=e.selectValue,l=this.getFocusableOptions();return p.createElement(_,Object(i.a)({},t,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var t=this.getComponents(),e=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,o=t.ValueContainer,a=this.props,s=a.className,l=a.id,d=a.isDisabled,c=a.menuIsOpen,u=this.state.isFocused,h=this.commonProps=this.getCommonProps();return p.createElement(r,Object(i.a)({},h,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:d,isFocused:u}),this.renderLiveRegion(),p.createElement(e,Object(i.a)({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:d,isFocused:u,menuIsOpen:c}),p.createElement(o,Object(i.a)({},h,{isDisabled:d}),this.renderPlaceholderOrValue(),this.renderInput()),p.createElement(n,Object(i.a)({},h,{isDisabled:d}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}])&&a(e.prototype,n),o&&a(e,o),Object.defineProperty(e,"prototype",{writable:!1}),d}(p.Component);mt.defaultProps=nt},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,u=void 0===c?{}:c,h=t.htmlOptions,p=void 0===h?{}:h,f=t.id,g=t.lineStyle,m=void 0===g?"solid":g,v=t.orientation,b=void 0===v?"horizontal":v,y=t.text,x=t.dark,_=void 0!==x&&x,w=t.variant,O=void 0===w?"card":w,$=Object(s.a)(n),C=Object(s.c)(u),k=Object(s.d)(p),S=a()(Object(s.b)("pb_section_separator_kit",O,b,"dashed"===m?m:""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},$,C,k,{className:S,id:f}),i&&i||y&&r.a.createElement("span",null,r.a.createElement(d.a,{dark:_,text:y})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(37);function r(t){return Object(i.a)(t).getComputedStyle(t)}},function(t,e,n){"use strict";function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}n.d(e,"a",(function(){return p}));var l=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;o(this,t),this.matchDelegate=e,this.target=n}var e,n,r;return e=t,(n=[{key:"mutationObserver",get:function(){var t=this;return this._mutationObserver=this._mutationObserver||new MutationObserver((function(e){return t.processMutationList(e)}))}},{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(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;"attributes"==r.type?this.processAttributeChange(r.target):"childList"==r.type&&(this.processRemovedNodes(Array.from(r.removedNodes)),this.processAddedNodes(Array.from(r.addedNodes)))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAttributeChange",value:function(t){if(t.nodeType===Node.ELEMENT_NODE){var e=this.matchDelegate.matches(t);if(0===e.length)return this.matchDelegate.removeMatch(t);this.handleAdditions(e)}}},{key:"processRemovedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleRemovals(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAddedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleAdditions(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleRemovals",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.removeMatch(r)}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleAdditions",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.addMatch(r)}}catch(t){n.e(t)}finally{n.f()}}}])&&a(e.prototype,n),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function d(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,h(i.key),i)}}function h(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}var p=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e}var e,n,i;return e=t,i=[{key:"elements",get:function(){return this._elements=this._elements||new Map}},{key:"observer",get:function(){return this._observer=this._observer||new l(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(t){if(!this.selector)return[];var e=[];return t.nodeType===Node.ELEMENT_NODE&&t.matches(this.selector)&&e.push(t),e.push.apply(e,d(t.querySelectorAll(this.selector))),e}},{key:"addMatch",value:function(t){if(!t._pbEnhanced&&!this.elements.has(t)){var e=new this(t);e.connect(),this.elements.set(t,e),t._pbEnhanced=e}}},{key:"removeMatch",value:function(t){this.elements.has(t)&&(this.elements.get(t).disconnect(),this.elements.delete(t))}},{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(e.prototype,n),i&&u(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}()},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,c=void 0!==o&&o,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.icon,m=t.id,v=t.size,b=void 0===v?"md":v,y=t.variant,x=void 0===y?"default":y,_=Object(s.a)(n),w=Object(s.c)(h),O=Object(s.d)(f),$=a()(Object(s.b)("pb_icon_circle_kit","size_".concat(b),x),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},_,w,O,{className:$,id:m}),r.a.createElement(d.a,{dark:c,icon:g}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return v})),n.d(e,"i",(function(){return g})),n.d(e,"j",(function(){return m})),n.d(e,"k",(function(){return b}));var i=n(7);function r(t,e,n){let{reference:r,floating:o}=t;const a=Object(i.p)(e),s=Object(i.f)(e),l=Object(i.h)(s),d=Object(i.o)(e),c="y"===a,u=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;let f;switch(d){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:h};break;case"left":f={x:r.x-o.width,y:h};break;default:f={x:r.x,y:r.y}}switch(Object(i.e)(e)){case"start":f[s]-=p*(n&&c?-1:1);break;case"end":f[s]+=p*(n&&c?-1:1)}return f}const o=async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,l=a.filter(Boolean),d=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=r(c,i,d),p=i,f={},g=0;for(let n=0;n<l.length;n++){const{name:a,fn:m}=l[n],{x:v,y:b,data:y,reset:x}=await m({x:u,y:h,initialPlacement:i,placement:p,strategy:o,middlewareData:f,rects:c,platform:s,elements:{reference:t,floating:e}});u=null!=v?v:u,h=null!=b?b:h,f={...f,[a]:{...f[a],...y}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):x.rects),({x:u,y:h}=r(c,p,d))),n=-1)}return{x:u,y:h,placement:p,strategy:o,middlewareData:f}};async function a(t,e){var n;void 0===e&&(e={});const{x:r,y:o,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=Object(i.c)(e,t),g=Object(i.n)(f),m=l[p?"floating"===h?"reference":"floating":h],v=Object(i.t)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(m)))||n?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:d})),b="floating"===h?{...s.floating,x:r,y:o}:s.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},_=Object(i.t)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:y,strategy:d}):b);return{top:(v.top-_.top+g.top)/x.y,bottom:(_.bottom-v.bottom+g.bottom)/x.y,left:(v.left-_.left+g.left)/x.x,right:(_.right-v.right+g.right)/x.x}}const s=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:a,platform:s,elements:l,middlewareData:d}=e,{element:c,padding:u=0}=Object(i.c)(t,e)||{};if(null==c)return{};const h=Object(i.n)(u),p={x:n,y:r},f=Object(i.f)(o),g=Object(i.h)(f),m=await s.getDimensions(c),v="y"===f,b=v?"top":"left",y=v?"bottom":"right",x=v?"clientHeight":"clientWidth",_=a.reference[g]+a.reference[f]-p[f]-a.floating[g],w=p[f]-a.reference[f],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let $=O?O[x]:0;$&&await(null==s.isElement?void 0:s.isElement(O))||($=l.floating[x]||a.floating[g]);const C=_/2-w/2,k=$/2-m[g]/2-1,S=Object(i.r)(h[b],k),j=Object(i.r)(h[y],k),E=S,M=$-m[g]-j,A=$/2-m[g]/2+C,P=Object(i.a)(E,A,M),T=!d.arrow&&null!=Object(i.e)(o)&&A!=P&&a.reference[g]/2-(A<E?S:j)-m[g]/2<0,L=T?A<E?A-E:A-M:0;return{[f]:p[f]+L,data:{[f]:P,centerOffset:A-P-L,...T&&{alignmentOffset:L}},reset:T}}});const l=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o;const{rects:s,middlewareData:l,placement:d,platform:c,elements:u}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:f=i.s,autoAlignment:g=!0,...m}=Object(i.c)(t,e),v=void 0!==p||f===i.s?function(t,e,n){return(t?[...n.filter(e=>Object(i.e)(e)===t),...n.filter(e=>Object(i.e)(e)!==t)]:n.filter(t=>Object(i.o)(t)===t)).filter(n=>!t||(Object(i.e)(n)===t||!!e&&Object(i.j)(n)!==n))}(p||null,g,f):f,b=await a(e,m),y=(null==(n=l.autoPlacement)?void 0:n.index)||0,x=v[y];if(null==x)return{};const _=Object(i.g)(x,s,await(null==c.isRTL?void 0:c.isRTL(u.floating)));if(d!==x)return{reset:{placement:v[0]}};const w=[b[Object(i.o)(x)],b[_[0]],b[_[1]]],O=[...(null==(r=l.autoPlacement)?void 0:r.overflows)||[],{placement:x,overflows:w}],$=v[y+1];if($)return{data:{index:y+1,overflows:O},reset:{placement:$}};const C=O.map(t=>{const e=Object(i.e)(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),k=(null==(o=C.filter(t=>t[2].slice(0,Object(i.e)(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||C[0][0];return k!==d?{data:{index:y+1,overflows:O},reset:{placement:k}}:{}}}},d=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:s,rects:l,initialPlacement:d,platform:c,elements:u}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:v=!0,...b}=Object(i.c)(t,e);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const y=Object(i.o)(o),x=Object(i.o)(d)===d,_=await(null==c.isRTL?void 0:c.isRTL(u.floating)),w=f||(x||!v?[Object(i.m)(d)]:Object(i.i)(d));f||"none"===m||w.push(...Object(i.l)(d,v,m,_));const O=[d,...w],$=await a(e,b),C=[];let k=(null==(r=s.flip)?void 0:r.overflows)||[];if(h&&C.push($[y]),p){const t=Object(i.g)(o,l,_);C.push($[t[0]],$[t[1]])}if(k=[...k,{placement:o,overflows:C}],!C.every(t=>t<=0)){var S,j;const t=((null==(S=s.flip)?void 0:S.index)||0)+1,e=O[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let n=null==(j=k.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:j.placement;if(!n)switch(g){case"bestFit":{var E;const t=null==(E=k.map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:E[0];t&&(n=t);break}case"initialPlacement":n=d}if(o!==n)return{reset:{placement:n}}}return{}}}};function c(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function u(t){return i.v.some(e=>t[e]>=0)}const h=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Object(i.c)(t,e);switch(r){case"referenceHidden":{const t=c(await a(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:u(t)}}}case"escaped":{const t=c(await a(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:u(t)}}}default:return{}}}}};function p(t){const e=Object(i.r)(...t.map(t=>t.left)),n=Object(i.r)(...t.map(t=>t.top));return{x:e,y:n,width:Object(i.q)(...t.map(t=>t.right))-e,height:Object(i.q)(...t.map(t=>t.bottom))-n}}const f=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:r,rects:o,platform:a,strategy:s}=e,{padding:l=2,x:d,y:c}=Object(i.c)(t,e),u=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]),h=function(t){const e=t.slice().sort((t,e)=>t.y-e.y),n=[];let r=null;for(let t=0;t<e.length;t++){const i=e[t];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(t=>Object(i.t)(p(t)))}(u),f=Object(i.t)(p(u)),g=Object(i.n)(l);const m=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=d&&null!=c)return h.find(t=>d>t.left-g.left&&d<t.right+g.right&&c>t.top-g.top&&c<t.bottom+g.bottom)||f;if(h.length>=2){if("y"===Object(i.p)(n)){const t=h[0],e=h[h.length-1],r="top"===Object(i.o)(n),o=t.top,a=e.bottom,s=r?t.left:e.left,l=r?t.right:e.right;return{top:o,bottom:a,left:s,right:l,width:l-s,height:a-o,x:s,y:o}}const t="left"===Object(i.o)(n),e=Object(i.q)(...h.map(t=>t.right)),r=Object(i.r)(...h.map(t=>t.left)),o=h.filter(n=>t?n.left===r:n.right===e),a=o[0].top,s=o[o.length-1].bottom;return{top:a,bottom:s,left:r,right:e,width:e-r,height:s-a,x:r,y:a}}return f}},floating:r.floating,strategy:s});return o.reference.x!==m.reference.x||o.reference.y!==m.reference.y||o.reference.width!==m.reference.width||o.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};const g=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:a,placement:s,middlewareData:l}=e,d=await async function(t,e){const{placement:n,platform:r,elements:o}=t,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=Object(i.o)(n),l=Object(i.e)(n),d="y"===Object(i.p)(n),c=["left","top"].includes(s)?-1:1,u=a&&d?-1:1,h=Object(i.c)(e,t);let{mainAxis:p,crossAxis:f,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&"number"==typeof g&&(f="end"===l?-1*g:g),d?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(e,t);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+d.x,y:a+d.y,data:{...d,placement:s}}}}},m=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=Object(i.c)(t,e),u={x:n,y:r},h=await a(e,c),p=Object(i.p)(Object(i.o)(o)),f=Object(i.k)(p);let g=u[f],m=u[p];if(s){const t="y"===f?"bottom":"right",e=g+h["y"===f?"top":"left"],n=g-h[t];g=Object(i.a)(e,g,n)}if(l){const t="y"===p?"bottom":"right",e=m+h["y"===p?"top":"left"],n=m-h[t];m=Object(i.a)(e,m,n)}const v=d.fn({...e,[f]:g,[p]:m});return{...v,data:{x:v.x-n,y:v.y-r}}}}},v=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:a,middlewareData:s}=e,{offset:l=0,mainAxis:d=!0,crossAxis:c=!0}=Object(i.c)(t,e),u={x:n,y:r},h=Object(i.p)(o),p=Object(i.k)(h);let f=u[p],g=u[h];const m=Object(i.c)(l,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const t="y"===p?"height":"width",e=a.reference[p]-a.floating[t]+v.mainAxis,n=a.reference[p]+a.reference[t]-v.mainAxis;f<e?f=e:f>n&&(f=n)}if(c){var b,y;const t="y"===p?"width":"height",e=["top","left"].includes(Object(i.o)(o)),n=a.reference[h]-a.floating[t]+(e&&(null==(b=s.offset)?void 0:b[h])||0)+(e?0:v.crossAxis),r=a.reference[h]+a.reference[t]+(e?0:(null==(y=s.offset)?void 0:y[h])||0)-(e?v.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[p]:f,[h]:g}}}},b=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:s}=e,{apply:l=(()=>{}),...d}=Object(i.c)(t,e),c=await a(e,d),u=Object(i.o)(n),h=Object(i.e)(n),p="y"===Object(i.p)(n),{width:f,height:g}=r.floating;let m,v;"top"===u||"bottom"===u?(m=u,v=h===(await(null==o.isRTL?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(v=u,m="end"===h?"top":"bottom");const b=g-c[m],y=f-c[v],x=!e.middlewareData.shift;let _=b,w=y;if(p){const t=f-c.left-c.right;w=h||x?Object(i.r)(y,t):t}else{const t=g-c.top-c.bottom;_=h||x?Object(i.r)(b,t):t}if(x&&!h){const t=Object(i.q)(c.left,0),e=Object(i.q)(c.right,0),n=Object(i.q)(c.top,0),r=Object(i.q)(c.bottom,0);p?w=f-2*(0!==t||0!==e?t+e:Object(i.q)(c.left,c.right)):_=g-2*(0!==n||0!==r?n+r:Object(i.q)(c.top,c.bottom))}await l({...e,availableWidth:w,availableHeight:_});const O=await o.getDimensions(s.floating);return f!==O.width||g!==O.height?{reset:{rects:!0}}:{}}}}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return $}));var i=n(11),r=n(37),o=n(48),a=n(105),s=n(161);var l=n(54),d=n(106),c=n(34);var u=n(114),h=n(76),p=n(28),f=n(70),g=n(87),m=n(162),v=n(45);function b(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function y(t,e,n){return e===i.o?b(function(t,e){var n=Object(r.a)(t),i=Object(o.a)(t),l=n.visualViewport,d=i.clientWidth,c=i.clientHeight,u=0,h=0;if(l){d=l.width,c=l.height;var p=Object(s.a)();(p||!p&&"fixed"===e)&&(u=l.offsetLeft,h=l.offsetTop)}return{width:d,height:c,x:u+Object(a.a)(t),y:h}}(t,n)):Object(p.a)(e)?function(t,e){var n=Object(f.a)(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):b(function(t){var e,n=Object(o.a)(t),i=Object(d.a)(t),r=null==(e=t.ownerDocument)?void 0:e.body,s=Object(c.a)(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=Object(c.a)(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),h=-i.scrollLeft+Object(a.a)(t),p=-i.scrollTop;return"rtl"===Object(l.a)(r||n).direction&&(h+=Object(c.a)(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:u,x:h,y:p}}(Object(o.a)(t)))}function x(t,e,n,i){var r="clippingParents"===e?function(t){var e=Object(u.a)(Object(g.a)(t)),n=["absolute","fixed"].indexOf(Object(l.a)(t).position)>=0&&Object(p.b)(t)?Object(h.a)(t):t;return Object(p.a)(n)?e.filter((function(t){return Object(p.a)(t)&&Object(m.a)(t,n)&&"body"!==Object(v.a)(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(e,n){var r=y(t,n,i);return e.top=Object(c.a)(r.top,e.top),e.right=Object(c.b)(r.right,e.right),e.bottom=Object(c.b)(r.bottom,e.bottom),e.left=Object(c.a)(r.left,e.left),e}),y(t,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var _=n(155),w=n(158),O=n(160);function $(t,e){void 0===e&&(e={});var n=e,r=n.placement,a=void 0===r?t.placement:r,s=n.strategy,l=void 0===s?t.strategy:s,d=n.boundary,c=void 0===d?i.d:d,u=n.rootBoundary,h=void 0===u?i.o:u,g=n.elementContext,m=void 0===g?i.i:g,v=n.altBoundary,y=void 0!==v&&v,$=n.padding,C=void 0===$?0:$,k=Object(w.a)("number"!=typeof C?C:Object(O.a)(C,i.b)),S=m===i.i?i.j:i.i,j=t.rects.popper,E=t.elements[y?S:m],M=x(Object(p.a)(E)?E:E.contextElement||Object(o.a)(t.elements.popper),c,h,l),A=Object(f.a)(t.elements.reference),P=Object(_.a)({reference:A,element:j,strategy:"absolute",placement:a}),T=b(Object.assign({},j,P)),L=m===i.i?T:A,D={top:M.top-L.top+k.top,bottom:L.bottom-M.bottom+k.bottom,left:M.left-L.left+k.left,right:L.right-M.right+k.right},I=t.modifiersData.offset;if(m===i.i&&I){var N=I[a];Object.keys(D).forEach((function(t){var e=[i.k,i.c].indexOf(t)>=0?1:-1,n=[i.m,i.c].indexOf(t)>=0?"y":"x";D[t]+=N[n]*e}))}return D}},,,,,,,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(67),l=n.n(s),d=n(123),c=n.n(d),u=n(29),h=n.n(u),p=n(49),f=n(75),g=n(68),m=n(4),v=n(2),b=n(25);function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(t,e)}(t,e)||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 x(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var _=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},w=function(t){var e=document.querySelector("#wrapper-circle-chart-".concat(t.target.renderTo.id," .pb-circle-chart-block")),n=document.querySelector("#".concat(t.target.renderTo.id));null!==e&&null!==n&&(e.style.height="".concat(t.target.chartHeight,"px"),e.style.width="".concat(t.target.chartWidth,"px"),null!==n.firstChild&&n.firstChild.before(e))};e.a=function(t){var e=t.align,n=void 0===e?"center":e,o=t.aria,s=void 0===o?{}:o,d=t.rounded,u=void 0!==d&&d,x=t.borderColor,O=void 0===x?u?null:"":x,$=t.borderWidth,C=void 0===$?u?20:null:$,k=t.chartData,S=t.children,j=(t.className,t.colors),E=void 0===j?[]:j,M=t.customOptions,A=void 0===M?{}:M,P=t.dark,T=void 0!==P&&P,L=t.data,D=void 0===L?{}:L,I=t.dataLabelHtml,N=void 0===I?"<div>{point.name}</div>":I,R=t.dataLabels,F=void 0!==R&&R,B=t.height,z=t.htmlOptions,H=void 0===z?{}:z,W=t.id,U=t.innerSize,Y=void 0===U?"md":U,G=t.legend,V=void 0!==G&&G,X=t.maxPointSize,q=void 0===X?null:X,K=t.minPointSize,Z=void 0===K?null:K,J=t.startAngle,Q=void 0===J?null:J,tt=t.style,et=void 0===tt?"pie":tt,nt=t.title,it=t.tooltipHtml,rt=t.useHtml,ot=void 0!==rt&&rt,at=t.zMin,st=void 0===at?null:at,lt=t.layout,dt=void 0===lt?"horizontal":lt,ct=t.verticalAlign,ut=void 0===ct?"bottom":ct,ht=t.x,pt=void 0===ht?0:ht,ft=t.y,gt=void 0===ft?0:ft,mt=_(t,["align","aria","rounded","borderColor","borderWidth","chartData","children","className","colors","customOptions","dark","data","dataLabelHtml","dataLabels","height","htmlOptions","id","innerSize","legend","maxPointSize","minPointSize","startAngle","style","title","tooltipHtml","useHtml","zMin","layout","verticalAlign","x","y"]),vt=Object(v.a)(s),bt=Object(v.c)(D),yt=Object(v.d)(H);c()(h.a);T?h.a.setOptions(f.a):h.a.setOptions(p.a),h.a.setOptions({tooltip:{headerFormat:null,pointFormat:it||'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:ot}});var xt={sm:"35%",md:"50%",lg:"85%",none:"0%"},_t=Object.assign({},mt);delete _t.verticalAlign;var wt=y(Object(i.useState)({}),2),Ot=wt[0],$t=wt[1];return Object(i.useEffect)((function(){var t,e=k.map((function(t){return t.y=t.value,delete t.value,t})),i={title:{text:nt},chart:{height:B,type:et,events:{render:function(t){return w(t)},redraw:function(t){return w(t)}}},legend:{align:n,verticalAlign:ut,layout:dt,x:pt,y:gt},plotOptions:{pie:{colors:E.length>0?Object(g.a)(E):p.a.colors,dataLabels:{enabled:F,connectorShape:"straight",connectorWidth:3,format:N},showInLegend:V}},series:[{minPointSize:Z,maxPointSize:q,innerSize:20==C?"100%":(t=Y,xt[t]),data:e,zMin:st,startAngle:Q,borderWidth:C,borderColor:O}],credits:!1};$t(Object(b.merge)(i,A))}),[k]),r.a.createElement(r.a.Fragment,null,S?r.a.createElement("div",{id:"wrapper-circle-chart-".concat(W)},r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()("pb_circle_chart",Object(m.c)(_t)),id:W},vt),bt),yt),highcharts:h.a,options:Ot}),r.a.createElement("div",{className:"pb-circle-chart-block"},S)):r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()("pb_circle_chart",Object(m.c)(_t)),id:W},vt),bt),yt),highcharts:h.a,options:Ot}))}},function(t,e,n){var i;"undefined"!=typeof self&&self,t.exports=(i=n(0),function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"HighchartsReact",(function(){return c}));var s=n(1),l=n.n(s),d="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,c=Object(s.memo)(Object(s.forwardRef)((function(t,e){var n=Object(s.useRef)(),o=Object(s.useRef)(),c=Object(s.useRef)(t.constructorType),u=Object(s.useRef)(t.highcharts);return d((function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":a(window))&&window.Highcharts,i=t.constructorType||"chart";e?e[i]?t.options?o.current=e[i](n.current,t.options,t.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(o.current){if(!1!==t.allowChartUpdate)if(t.constructorType!==c.current||t.highcharts!==u.current)c.current=t.constructorType,u.current=t.highcharts,e();else if(!t.immutable&&o.current){var i;(i=o.current).update.apply(i,[t.options].concat(r(t.updateArgs||[!0,!0])))}else e()}else e()}),[t.options,t.allowChartUpdate,t.updateArgs,t.containerProps,t.highcharts,t.constructorType]),d((function(){return function(){o.current&&(o.current.destroy(),o.current=null)}}),[]),Object(s.useImperativeHandle)(e,(function(){return{get chart(){return o.current},container:n}}),[]),l.a.createElement("div",i({},t.containerProps,{ref:n}))})));e.default=c},function(t,e){t.exports=i}]))},function(t,e,n){"use strict";var i=n(8),r=n.n(i);e.a=function(t){var e=/(data)\-[1-8]/;return t.map((function(t){return e.test(t)?"".concat(r.a["data_".concat(t[t.length-1])]):t}))}},function(t,e,n){"use strict";function i(t){return t.split("-")[1]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(28),r=n(34),o=n(37),a=n(161);function s(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),l=1,d=1;e&&Object(i.b)(t)&&(l=t.offsetWidth>0&&Object(r.c)(s.width)/t.offsetWidth||1,d=t.offsetHeight>0&&Object(r.c)(s.height)/t.offsetHeight||1);var c=(Object(i.a)(t)?Object(o.a)(t):window).visualViewport,u=!Object(a.a)()&&n,h=(s.left+(u&&c?c.offsetLeft:0))/l,p=(s.top+(u&&c?c.offsetTop:0))/d,f=s.width/l,g=s.height/d;return{width:f,height:g,top:p,right:h+f,bottom:p+g,left:h,x:h,y:p}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(12),l=n(5),d=n(36),c=n(4),u=n(2);e.a=function(t){var e=t.className,n=t.htmlOptions,i=void 0===n?{}:n,o=t.id,h=t.text,p=t.name,f=t.onClick,g=void 0===f?function(){}:f,m=t.avatarUrl,v=t.closeProps,b=void 0===v?{}:v,y=t.size,x=void 0===y?"":y,_=t.textTransform,w=void 0===_?"none":_,O=t.color,$=void 0===O?"primary":O,C=t.data,k=void 0===C?{}:C,S=t.tabIndex,j=a()("pb_form_pill_kit_".concat($),Object(c.c)(t),e,"small"===x?"small":null,w),E=Object(u.c)(k),M=Object(u.d)(i);return r.a.createElement("div",Object.assign({className:j,id:o,tabIndex:S},E,M),p&&r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{imageUrl:m,name:p,size:"xs",status:null}),r.a.createElement(s.a,{className:"pb_form_pill_text",size:4,text:p})),h&&r.a.createElement(s.a,{className:"pb_form_pill_tag",size:4,text:h}),r.a.createElement("div",Object.assign({className:"pb_form_pill_close",onClick:g},b),r.a.createElement(l.a,{fixedWidth:!0,icon:"times"})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(73),r=n(21),o=n(0),a=n(52),s=(n(42),n(109),n(140),n(146),n(147),n(141),n(142),n(143),n(144),n(145),n(91),n(148),n(122),n(30),n(86),Object(o.forwardRef)((function(t,e){var n=Object(i.a)(t);return o.createElement(a.a,Object(r.a)({ref:e},n))})))},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(18),r=n(40),o=n(50),a=n(0),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function l(t){var e=t.defaultInputValue,n=void 0===e?"":e,l=t.defaultMenuIsOpen,d=void 0!==l&&l,c=t.defaultValue,u=void 0===c?null:c,h=t.inputValue,p=t.menuIsOpen,f=t.onChange,g=t.onInputChange,m=t.onMenuClose,v=t.onMenuOpen,b=t.value,y=Object(o.a)(t,s),x=Object(a.useState)(void 0!==h?h:n),_=Object(r.a)(x,2),w=_[0],O=_[1],$=Object(a.useState)(void 0!==p?p:d),C=Object(r.a)($,2),k=C[0],S=C[1],j=Object(a.useState)(void 0!==b?b:u),E=Object(r.a)(j,2),M=E[0],A=E[1],P=Object(a.useCallback)((function(t,e){"function"==typeof f&&f(t,e),A(t)}),[f]),T=Object(a.useCallback)((function(t,e){var n;"function"==typeof g&&(n=g(t,e)),O(void 0!==n?n:t)}),[g]),L=Object(a.useCallback)((function(){"function"==typeof v&&v(),S(!0)}),[v]),D=Object(a.useCallback)((function(){"function"==typeof m&&m(),S(!1)}),[m]),I=void 0!==h?h:w,N=void 0!==p?p:k,R=void 0!==b?b:M;return Object(i.a)(Object(i.a)({},y),{},{inputValue:I,menuIsOpen:N,onChange:P,onInputChange:T,onMenuClose:D,onMenuOpen:L,value:R})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(30),a=n.n(o),s=i.createContext(),l=i.createContext();function d(t){var e=t.children,n=i.useState(null),r=n[0],o=n[1],a=i.useRef(!1);i.useEffect((function(){return function(){a.current=!0}}),[]);var d=i.useCallback((function(t){a.current||o(t)}),[]);return i.createElement(s.Provider,{value:r},i.createElement(l.Provider,{value:d},e))}var c=function(t){return Array.isArray(t)?t[0]:t},u=function(t){if("function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return t.apply(void 0,n)}},h=function(t,e){if("function"==typeof t)return u(t,e);null!=t&&(t.current=e)},p=function(t){return t.reduce((function(t,e){var n=e[0],i=e[1];return t[n]=i,t}),{})},f="undefined"!=typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,g=n(298),m=n(228),v=n.n(m),b=[],y=function(){},x=function(){return Promise.resolve(null)},_=[];function w(t){var e=t.placement,n=void 0===e?"bottom":e,r=t.strategy,a=void 0===r?"absolute":r,l=t.modifiers,d=void 0===l?_:l,u=t.referenceElement,m=t.onFirstUpdate,w=t.innerRef,O=t.children,$=i.useContext(s),C=i.useState(null),k=C[0],S=C[1],j=i.useState(null),E=j[0],M=j[1];i.useEffect((function(){h(w,k)}),[w,k]);var A=i.useMemo((function(){return{placement:n,strategy:a,onFirstUpdate:m,modifiers:[].concat(d,[{name:"arrow",enabled:null!=E,options:{element:E}}])}}),[n,a,m,d,E]),P=function(t,e,n){void 0===n&&(n={});var r=i.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||b},s=i.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],d=s[1],c=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);o.flushSync((function(){d({styles:p(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:p(n.map((function(t){return[t,e.attributes[t]]})))})}))},requires:["computeStyles"]}}),[]),u=i.useMemo((function(){var t={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return v()(r.current,t)?r.current||t:(r.current=t,t)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),h=i.useRef();return f((function(){h.current&&h.current.setOptions(u)}),[u]),f((function(){if(null!=t&&null!=e){var i=(n.createPopper||g.a)(t,e,u);return h.current=i,function(){i.destroy(),h.current=null}}}),[t,e,n.createPopper]),{state:h.current?h.current.state:null,styles:l.styles,attributes:l.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}}(u||$,k,A),T=P.state,L=P.styles,D=P.forceUpdate,I=P.update,N=i.useMemo((function(){return{ref:S,style:L.popper,placement:T?T.placement:n,hasPopperEscaped:T&&T.modifiersData.hide?T.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:T&&T.modifiersData.hide?T.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:L.arrow,ref:M},forceUpdate:D||y,update:I||x}}),[S,M,n,T,L,I,D]);return c(O)(N)}var O=n(181),$=n.n(O);function C(t){var e=t.children,n=t.innerRef,r=i.useContext(l),o=i.useCallback((function(t){h(n,t),u(r,t)}),[n,r]);return i.useEffect((function(){return function(){return h(n,null)}}),[]),i.useEffect((function(){$()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),c(e)({ref:o})}var k=n(2),S=n(3),j=n.n(S),E=n(4),M=n(227),A=n.n(M);function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t,e)||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 T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var L={offset:{enabled:!0,name:"offset",options:{offset:[0,20]},phase:"main"}},D=function(t){var e=t.modifiers;return t.offset?e.concat([L.offset]):e},I=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,a=t.data,s=void 0===a?{}:a,l=t.htmlOptions,d=void 0===l?{}:l,c=t.id,u=t.modifiers,h=t.offset,p=t.placement,f=t.referenceElement,g=t.zIndex,m=t.maxHeight,v=t.maxWidth,b=t.minHeight,y=t.minWidth,x=t.targetId,_=Object(E.c)(t).includes("dark")||!Object(E.c)(t)?"p_sm":Object(E.c)(t),O=m||v?"overflow_handling":"",$=g?{zIndex:g}:{},C=Object(k.a)(n),S=Object(k.c)(s),M=Object(k.d)(d),A=j()(Object(k.b)("pb_popover_kit"),Object(E.c)(t),i);return r.a.createElement(w,{modifiers:D({modifiers:u,offset:h}),placement:p,referenceElement:f},(function(t){var e=t.placement,n=t.ref,i=t.style;return r.a.createElement("div",Object.assign({},C,S,M,{className:A,"data-placement":e,id:c,ref:n,style:Object.assign({},i,$)}),r.a.createElement("div",{className:j()("".concat(Object(k.b)("pb_popover_tooltip")," show"))},r.a.createElement("div",{className:j()("pb_popover_body",_,O),id:x,style:Object.assign({},m?{maxHeight:m}:{},v?{maxWidth:v}:{},b?{minHeight:b}:{},y?{minWidth:y}:{})},o)))}))};e.a=function(t){var e=P(Object(i.useState)(A()("id-")),1)[0],n=t.className,o=t.children,s=t.modifiers,l=void 0===s?[]:s,c=t.offset,u=void 0!==c&&c,h=t.placement,p=void 0===h?"left":h,f=t.portal,g=void 0===f?"body":f,m=t.reference,v=t.referenceElement,b=t.show,y=void 0!==b&&b,x=t.usePortal,_=void 0===x||x,w=t.zIndex,O=t.maxHeight,$=t.maxWidth,S=t.minHeight,j=t.minWidth;Object(i.useEffect)((function(){var n=t.closeOnClick,i=t.shouldClosePopover,r=void 0===i?k.e:i;n&&document.body.addEventListener("click",(function(t){var i=t.target,o=null!==i.closest("#"+e),a=null!==i.closest("#reference-"+e),s=function(){setTimeout((function(){return r(!0)}),0)};switch(n){case"outside":o||a||s();break;case"inside":o&&s();break;case"any":(o||!o&&!a)&&s()}}),{capture:!0})}),[]);var E=r.a.createElement(I,Object.assign({className:n,maxHeight:O,maxWidth:$,minHeight:S,minWidth:j,modifiers:l,offset:u,placement:p,referenceElement:v,targetId:e,zIndex:w},t),o);return r.a.createElement(d,null,r.a.createElement(r.a.Fragment,null,m&&!v&&r.a.createElement(C,null,(function(t){var n=t.ref;return r.a.createElement("span",{className:"pb_popover_reference_wrapper",id:"reference-"+e,ref:n},r.a.createElement(m.type,Object.assign({},m.props)))})),y&&(_?r.a.createElement(r.a.Fragment,null,a.a.createPortal(E,document.querySelector(g))):{popoverComponent:E})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(8),r=n.n(i),o=n(10),a=n.n(o),s={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:void 0,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_dark,tickColor:r.a.border_dark,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:r.a.border_dark,minorGridLineColor:r.a.border_dark,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_dk_default},itemHiddenStyle:{color:r.a.text_dk_lighter}},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:a.a.font_family_base,color:r.a.text_lt_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_dark}},plotOptions:{series:{borderColor:r.a.bg_dark_card,borderWidth:2,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:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_dk_light,fontWeight:a.a.regular}}},line:{dataLabels:{color:r.a.text_dk_light},marker:{lineColor:r.a.border_dark}},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],dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n(37),r=n(45),o=n(54),a=n(28);function s(t){return["table","td","th"].indexOf(Object(r.a)(t))>=0}var l=n(87),d=n(131);function c(t){return Object(a.b)(t)&&"fixed"!==Object(o.a)(t).position?t.offsetParent:null}function u(t){for(var e=Object(i.a)(t),n=c(t);n&&s(n)&&"static"===Object(o.a)(n).position;)n=c(n);return n&&("html"===Object(r.a)(n)||"body"===Object(r.a)(n)&&"static"===Object(o.a)(n).position)?e:n||function(t){var e=/firefox/i.test(Object(d.a)());if(/Trident/i.test(Object(d.a)())&&Object(a.b)(t)&&"fixed"===Object(o.a)(t).position)return null;var n=Object(l.a)(t);for(Object(a.c)(n)&&(n=n.host);Object(a.b)(n)&&["html","body"].indexOf(Object(r.a)(n))<0;){var i=Object(o.a)(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}},,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(9),a=n(3),s=n.n(a),l=n(2),d=n(4),c=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},u=function(t,e){var n=t.aria,i=void 0===n?{}:n,a=t.alignment,u=t.children,h=t.className,p=t.dark,f=void 0!==p&&p,g=t.data,m=void 0===g?{}:g,v=t.disabled,b=void 0!==v&&v,y=t.error,x=void 0!==y&&y,_=t.htmlOptions,w=void 0===_?{}:_,O=t.id,$=t.label,C=t.name,k=void 0===C?"radio_name":C,S=t.text,j=void 0===S?"Radio Text":S,E=t.value,M=void 0===E?"radio_text":E,A=t.onChange,P=void 0===A?function(){}:A,T=c(t,["aria","alignment","children","className","dark","data","disabled","error","htmlOptions","id","label","name","text","value","onChange"]),L=Object(l.a)(i),D=Object(l.c)(m),I=Object(l.d)(w),N=s()(Object(l.b)("pb_radio_kit",a),f?"dark":null,x?"error":null,Object(d.c)(T),h);return r.a.createElement("label",Object.assign({},L,D,I,{className:N,htmlFor:O}),r.a.createElement(r.a.Fragment,null,function(t){return u||r.a.createElement("input",Object.assign({disabled:b,id:O,name:k,onChange:P,ref:e,text:j,type:"radio",value:M},t))}(T)),r.a.createElement("span",{className:"pb_radio_button"}),r.a.createElement(o.a,{dark:f,status:x?"negative":null,text:$,variant:null}))};e.a=Object(i.forwardRef)(u)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(9),a=n(5),s=n(2),l=n(3),d=n.n(l),c=n(4);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,l=t.checked,u=void 0!==l&&l,h=t.children,p=t.className,f=t.dark,g=void 0!==f&&f,m=t.data,v=void 0===m?{}:m,b=t.disabled,y=void 0!==b&&b,x=t.error,_=void 0!==x&&x,w=t.htmlOptions,O=void 0===w?{}:w,$=t.id,C=t.indeterminate,k=void 0!==C&&C,S=t.name,j=void 0===S?"":S,E=t.onChange,M=void 0===E?function(){}:E,A=t.tabIndex,P=t.text,T=void 0===P?"":P,L=t.value,D=void 0===L?"":L,I=Object(i.useRef)(null),N=Object(s.a)(n),R=Object(s.c)(v),F=Object(s.d)(O),B=d()(Object(s.b)("pb_checkbox_kit",u?"checked":null,_?"error":null,k?"indeterminate":null),Object(c.c)(t),p);Object(i.useEffect)((function(){I.current&&(I.current.checked=u,I.current.indeterminate=k)}),[k,u]);return r.a.createElement("label",Object.assign({},N,R,F,{className:B,id:$}),r.a.createElement(r.a.Fragment,null,h||r.a.createElement("input",{defaultChecked:u,disabled:y,name:j,onChange:M,ref:I,tabIndex:A,type:"checkbox",value:D})),!k&&r.a.createElement("span",{className:"pb_checkbox_checkmark"},r.a.createElement(a.a,{className:"check_icon",fixedWidth:!0,icon:"check"})),k&&r.a.createElement("span",{className:"pb_checkbox_indeterminate"},r.a.createElement(a.a,{className:"indeterminate_icon",fixedWidth:!0,icon:"minus"})),r.a.createElement(o.a,{className:"pb_checkbox_label",dark:g,status:_?"negative":null,variant:null},T))}},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(164);function r(t,e,n){return(e=Object(i.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r}));function i(t,e,n){var i="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):i+=n+" "})),i}var r=function(t,e,n){var i=t.key+"-"+e.name;!1===n&&void 0===t.registered[i]&&(t.registered[i]=e.styles)},o=function(t,e,n){r(t,e,n);var i=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var o=e;do{t.insert(e===o?"."+i:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},,,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(4),a=n(2),s=n(67),l=n.n(s),d=n(29),c=n.n(d),u=n(49),h=n(75),p=n(68),f=n(25),g=n(3),m=n.n(g);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||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 b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,s=t.data,d=void 0===s?{}:s,g=t.align,b=void 0===g?"center":g,x=t.axisTitle,_=t.dark,w=void 0!==_&&_,O=t.chartData,$=t.className,C=void 0===$?"pb_bar_graph":$,k=t.colors,S=t.htmlOptions,j=void 0===S?{}:S,E=t.customOptions,M=void 0===E?{}:E,A=t.axisFormat,P=t.id,T=t.pointStart,L=t.stacking,D=t.subTitle,I=t.type,N=void 0===I?"column":I,R=t.title,F=void 0===R?"Title":R,B=t.xAxisCategories,z=t.yAxisMin,H=t.yAxisMax,W=t.legend,U=void 0!==W&&W,Y=t.toggleLegendClick,G=void 0===Y||Y,V=t.height,X=t.layout,q=void 0===X?"horizontal":X,K=t.verticalAlign,Z=void 0===K?"bottom":K,J=t.x,Q=void 0===J?0:J,tt=t.y,et=void 0===tt?0:tt,nt=y(t,["aria","data","align","axisTitle","dark","chartData","className","colors","htmlOptions","customOptions","axisFormat","id","pointStart","stacking","subTitle","type","title","xAxisCategories","yAxisMin","yAxisMax","legend","toggleLegendClick","height","layout","verticalAlign","x","y"]),it=Object(a.a)(n),rt=Object(a.c)(d),ot=Object(a.d)(j);w?c.a.setOptions(h.a):c.a.setOptions(u.a);var at={title:{text:F},chart:{height:V,type:N},subtitle:{text:D},yAxis:[{labels:{format:"string"==typeof A?A:A&&A[0]?A[0].format:""},min:z,max:H,opposite:!1,title:{text:Array.isArray(x)?x.length>0?x[0].name:null:x},plotLines:null!=z?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:B},legend:{enabled:U,align:b,verticalAlign:Z,layout:q,x:Q,y:et},colors:void 0!==k&&k.length>0?Object(p.a)(k):u.a.colors,plotOptions:{series:{stacking:L,pointStart:T,borderWidth:L?0:"",events:{},dataLabels:{enabled:!1}}},series:O,credits:!1};Array.isArray(x)&&x.length>1&&x[1].name&&at.yAxis.push({labels:{format:"string"==typeof A?A:A[1].format},min:z,max:H,opposite:!0,title:{text:x[1].name},plotLines:null!=z?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}),G||(at.plotOptions.series.events={legendItemClick:function(){return!1}});var st=Object.assign({},nt);delete st.verticalAlign;var lt=v(Object(i.useState)({}),2),dt=lt[0],ct=lt[1];return Object(i.useEffect)((function(){ct(Object(f.merge)(at,M))}),[O]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:m()(Object(o.c)(st),C),id:P},it),rt),ot),highcharts:c.a,options:dt})}},function(t,e,n){"use strict";var i=n(0),r=i.useLayoutEffect;e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(45),r=n(48),o=n(28);function a(t){return"html"===Object(i.a)(t)?t:t.assignedSlot||t.parentNode||(Object(o.c)(t)?t.host:null)||Object(r.a)(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(132);var r=n(163);function o(t){return function(t){if(Array.isArray(t))return Object(i.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(r.a)(t)||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(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var i=n(34);function r(t,e,n){return Object(i.a)(t,Object(i.b)(e,n))}function o(t,e,n){var i=r(t,e,n);return i>n?n:i}},,,,function(t,e,n){"use strict";var i={};n.r(i),n.d(i,"Control",(function(){return A})),n.d(i,"ClearIndicator",(function(){return P})),n.d(i,"IndicatorsContainer",(function(){return T})),n.d(i,"MenuList",(function(){return L})),n.d(i,"MultiValue",(function(){return N})),n.d(i,"Option",(function(){return F})),n.d(i,"Placeholder",(function(){return z})),n.d(i,"ValueContainer",(function(){return H}));var r=n(0),o=n.n(r),a=n(72),s=n(21),l=n(52),d=n(73),c=n(81),u=n(18),h=n(40),p=n(50),f=n(22),g=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function m(t){var e=t.defaultOptions,n=void 0!==e&&e,i=t.cacheOptions,o=void 0!==i&&i,a=t.loadOptions;t.options;var s=t.isLoading,l=void 0!==s&&s,d=t.onInputChange,m=t.filterOption,v=void 0===m?null:m,b=Object(p.a)(t,g),y=b.inputValue,x=Object(r.useRef)(void 0),_=Object(r.useRef)(!1),w=Object(r.useState)(Array.isArray(n)?n:void 0),O=Object(h.a)(w,2),$=O[0],C=O[1],k=Object(r.useState)(void 0!==y?y:""),S=Object(h.a)(k,2),j=S[0],E=S[1],M=Object(r.useState)(!0===n),A=Object(h.a)(M,2),P=A[0],T=A[1],L=Object(r.useState)(void 0),D=Object(h.a)(L,2),I=D[0],N=D[1],R=Object(r.useState)([]),F=Object(h.a)(R,2),B=F[0],z=F[1],H=Object(r.useState)(!1),W=Object(h.a)(H,2),U=W[0],Y=W[1],G=Object(r.useState)({}),V=Object(h.a)(G,2),X=V[0],q=V[1],K=Object(r.useState)(void 0),Z=Object(h.a)(K,2),J=Z[0],Q=Z[1],tt=Object(r.useState)(void 0),et=Object(h.a)(tt,2),nt=et[0],it=et[1];o!==nt&&(q({}),it(o)),n!==J&&(C(Array.isArray(n)?n:void 0),Q(n)),Object(r.useEffect)((function(){return _.current=!0,function(){_.current=!1}}),[]);var rt=Object(r.useCallback)((function(t,e){if(!a)return e();var n=a(t,e);n&&"function"==typeof n.then&&n.then(e,(function(){return e()}))}),[a]);Object(r.useEffect)((function(){!0===n&&rt(j,(function(t){_.current&&(C(t||[]),T(!!x.current))}))}),[]);var ot=Object(r.useCallback)((function(t,e){var n=Object(f.l)(t,e,d);if(!n)return x.current=void 0,E(""),N(""),z([]),T(!1),void Y(!1);if(o&&X[n])E(n),N(n),z(X[n]),T(!1),Y(!1);else{var i=x.current={};E(n),T(!0),Y(!I),rt(n,(function(t){_&&i===x.current&&(x.current=void 0,T(!1),N(n),z(t||[]),Y(!1),q(t?Object(u.a)(Object(u.a)({},X),{},Object(c.a)({},n,t)):X))}))}}),[o,rt,I,X,d]),at=U?[]:j&&I?B:$||[];return Object(u.a)(Object(u.a)({},b),{},{options:at,isLoading:P||l,onInputChange:ot,filterOption:v})}n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(91),n(148),n(122),n(30),n(86);var v=Object(r.forwardRef)((function(t,e){var n=m(t),i=Object(d.a)(n);return r.createElement(l.a,Object(s.a)({ref:e},i))})),b=n(88),y=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),r=String(n.getOptionValue(e)).toLowerCase(),o=String(n.getOptionLabel(e)).toLowerCase();return r===i||o===i},_={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,e,n,i){return!(!t||e.some((function(e){return x(t,e,i)}))||n.some((function(e){return x(t,e,i)})))},getNewOptionData:function(t,e){return{label:e,value:t,__isNew__:!0}}};function w(t){var e=t.allowCreateWhileLoading,n=void 0!==e&&e,i=t.createOptionPosition,o=void 0===i?"last":i,a=t.formatCreateLabel,s=void 0===a?_.formatCreateLabel:a,d=t.isValidNewOption,c=void 0===d?_.isValidNewOption:d,h=t.getNewOptionData,g=void 0===h?_.getNewOptionData:h,m=t.onCreateOption,v=t.options,x=void 0===v?[]:v,w=t.onChange,O=Object(p.a)(t,y),$=O.getOptionValue,C=void 0===$?l.c:$,k=O.getOptionLabel,S=void 0===k?l.b:k,j=O.inputValue,E=O.isLoading,M=O.isMulti,A=O.value,P=O.name,T=Object(r.useMemo)((function(){return c(j,Object(f.h)(A),x,{getOptionValue:C,getOptionLabel:S})?g(j,s(j)):void 0}),[s,g,S,C,j,c,x,A]),L=Object(r.useMemo)((function(){return!n&&E||!T?x:"first"===o?[T].concat(Object(b.a)(x)):[].concat(Object(b.a)(x),[T])}),[n,o,E,T,x]),D=Object(r.useCallback)((function(t,e){if("select-option"!==e.action)return w(t,e);var n=Array.isArray(t)?t:[t];if(n[n.length-1]!==T)w(t,e);else if(m)m(j);else{var i=g(j,j),r={action:"create-option",name:P,option:i};w(Object(f.d)(M,[].concat(Object(b.a)(Object(f.h)(A)),[i]),i),r)}}),[g,j,M,P,T,m,w,A]);return Object(u.a)(Object(u.a)({},O),{},{options:L,onChange:D})}var O=Object(r.forwardRef)((function(t,e){var n=w(Object(d.a)(t));return r.createElement(l.a,Object(s.a)({ref:e},n))})),$=Object(r.forwardRef)((function(t,e){var n=m(t),i=w(Object(d.a)(n));return r.createElement(l.a,Object(s.a)({ref:e},i))})),C=n(25),k=n(4),S=n(3),j=n.n(S),E=n(6),M=n(35),A=function(t){return o.a.createElement("div",{className:"pb_typeahead_wrapper"},o.a.createElement(M.a,{dark:t.selectProps.dark,error:t.selectProps.error,label:t.selectProps.label},o.a.createElement(E.a,null,o.a.createElement(f.p.Control,Object.assign({className:"text_input"},t)))))},P=function(t){var e=t.selectProps,n=t.clearValue;return Object(r.useEffect)((function(){document.addEventListener("pb-typeahead-kit-".concat(e.id,":clear"),n)}),[!0]),o.a.createElement(f.p.ClearIndicator,Object.assign({className:"clear_indicator"},t))},T=function(t){return o.a.createElement(f.p.IndicatorsContainer,Object.assign({className:"text_input_indicators"},t))},L=function(t){return o.a.createElement(f.p.MenuList,Object.assign({},t),t.children,t.footer)},D=n(44),I=n(71),N=function(t){var e=t.removeProps,n=t.data,i=n.imageUrl,r=n.label,a=t.selectProps.multiKit;return"string"==typeof i&&({marginRight:"xs",name:r,avatarUrl:""}.avatarUrl=i),o.a.createElement(f.p.MultiValueContainer,Object.assign({className:"text_input_multivalue_container"},t),"badge"===a&&o.a.createElement(D.a,{closeProps:e,removeIcon:!0,text:r,variant:"primary"}),"badge"!==a&&i&&o.a.createElement(I.a,{avatarUrl:i,closeProps:e,marginRight:"xs",name:r,size:"smallPill"===a?"small":"",text:""}),"badge"!==a&&!i&&o.a.createElement(I.a,{closeProps:e,marginRight:"xs",name:"",size:"smallPill"===a?"small":"",text:r}))},R=n(125),F=function(t){var e=t.data.imageUrl,n=t.selectProps.valueComponent;return o.a.createElement(f.p.Option,Object.assign({},t),o.a.createElement(o.a.Fragment,null,!n&&e&&o.a.createElement(R.a,{align:"left",avatarUrl:e,dark:t.selectProps.dark,name:t.label,orientation:"horizontal"}),n&&n(t.data),!n&&!e&&t.label))},B=n(5),z=function(t){return o.a.createElement(o.a.Fragment,null,o.a.createElement(E.a,{align:"center",className:"placeholder"},o.a.createElement(f.p.IndicatorsContainer,Object.assign({},t)),t.selectProps.plusIcon&&o.a.createElement(B.a,{className:"typeahead-plus-icon",icon:"plus"})))},H=function(t){return o.a.createElement(f.p.ValueContainer,Object.assign({className:"text_input_value_container"},t))},W=n(2),U=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Y=function(t){var e=t.async,n=t.className,i=t.components,r=void 0===i?{}:i,s=t.createable,l=t.error,d=void 0===l?"":l,c=t.data,u=void 0===c?{}:c,h=t.getOptionLabel,p=t.getOptionValue,f=t.htmlOptions,g=void 0===f?{}:f,m=t.id,b=t.loadOptions,y=void 0===b?W.e:b,x=U(t,["async","className","components","createable","error","data","getOptionLabel","getOptionValue","htmlOptions","id","loadOptions"]),_=Object.assign({cacheOptions:!0,components:Object.assign({Control:A,ClearIndicator:P,IndicatorsContainer:T,IndicatorSeparator:null,MenuList:L,MultiValue:N,Option:F,Placeholder:z,ValueContainer:H},r),loadOptions:Object(C.isString)(y)?Object(C.get)(window,y):y,getOptionLabel:Object(C.isString)(h)?Object(C.get)(window,h):h,getOptionValue:Object(C.isString)(p)?Object(C.get)(window,p):p,defaultOptions:!0,id:m||Object(C.uniqueId)(),inline:!1,isClearable:!0,isSearchable:!0,name:name,multiKit:"",onCreateOption:null,plusIcon:!1,onMultiValueClick:function(t){}},x),w=s?e?$:O:e?v:a.a,S=Object(W.c)(u),E=Object(W.d)(g),M=j()("pb_typeahead_kit react-select",Object(k.c)(x),n),D=_.inline?"inline":null;return o.a.createElement("div",Object.assign({},S,E,{className:j()(M,D)}),o.a.createElement(w,Object.assign({classNamePrefix:"typeahead-kit-select",error:d,onChange:function(t,e){var n=e.action,i=e.option,r=e.removedValue;if("select-option"===n){_.onMultiValueClick&&_.onMultiValueClick(i);var o=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-select"),{detail:i||t});document.dispatchEvent(o)}if("remove-value"===n||"pop-value"===n){var a=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-remove"),{detail:r});document.dispatchEvent(a)}if("clear"===n){var s=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-clear"));document.dispatchEvent(s)}}},_)))};Object.keys(i).forEach((function(t){Y[t]=i[t]}));e.a=Y},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(9),c=n(16),u=n(47),h=n(6),p=n(5),f=n(74),g=n(35);function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,v=t.confirmation,b=void 0!==v&&v,y=t.data,x=void 0===y?{}:y,_=t.dark,w=void 0!==_&&_,O=t.htmlOptions,$=void 0===O?{}:O,C=t.id,k=t.inputProps,S=void 0===k?{}:k,j=t.label,E=void 0===j?b?"Confirm Passphrase":"Passphrase":j,M=t.onChange,A=void 0===M?function(){}:M,P=t.showTipsBelow,T=void 0===P?"always":P,L=t.tips,D=void 0===L?[]:L,I=t.uncontrolled,N=void 0!==I&&I,R=t.value,F=void 0===R?"":R,B=m(Object(i.useState)(""),2),z=B[0],H=B[1],W=m(Object(i.useState)(!1),2),U=W[0],Y=W[1],G=m(Object(i.useState)(!1),2),V=G[0],X=G[1],q=Object(i.useCallback)((function(t){return N?H(t.target.value):A(t)}),[N,A]),K=Object(i.useMemo)((function(){return N?z:F}),[F,z,N]),Z=a()("passphrase-popover","always"===T?null:"show-below-".concat(T)),J=Object(s.a)(n),Q=a()(Object(s.b)("pb_passphrase"),Object(l.c)(t),o),tt=Object(s.c)(x),et=Object(s.d)($),nt=r.a.createElement(u.a,{className:Z,dark:w,icon:"info-circle",onClick:function(){return Y(!U)},variant:"link"});return r.a.createElement("div",Object.assign({},J,tt,et,{className:Q,id:C}),r.a.createElement("label",null,r.a.createElement(h.a,{align:"baseline"},r.a.createElement(c.a,{className:"passphrase-label",text:E}),D.length>0&&!b&&r.a.createElement(f.a,{className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:nt,shouldClosePopover:function(t){Y(!t)},show:U},r.a.createElement(h.a,{align:"center",orientation:"column"},r.a.createElement(c.a,{marginBottom:"xs",text:"Tips for a good passphrase"}),r.a.createElement("div",null,D.map((function(t,e){return r.a.createElement(c.a,{key:e,marginBottom:"xs",size:"xs"},r.a.createElement(p.a,{icon:"shield-check",marginRight:"xs"}),t)})))))),r.a.createElement("div",{className:"passphrase-text-input-wrapper"},r.a.createElement(g.a,Object.assign({className:"passphrase-text-input",dark:w,marginBottom:"xs",onChange:q,placeholder:"Enter a passphrase...",type:V?"text":"password",value:K},S)),r.a.createElement("span",{className:"show-passphrase-icon",onClick:function(t){t.preventDefault(),X(!V)}},r.a.createElement(d.a,{className:V?"hide-icon":"",color:"light",dark:w},r.a.createElement(p.a,{icon:"eye-slash"})),r.a.createElement(d.a,{className:V?"":"hide-icon",color:"light",dark:w},r.a.createElement(p.a,{icon:"eye"}))))))}},,function(t,e,n){"use strict";var i=function(t,e){return t===e};e.a=function(t,e){var n;void 0===e&&(e=i);var r,o=[],a=!1,s=function(t,n){return e(t,o[n],n)};return function(){for(var e=arguments.length,i=new Array(e),l=0;l<e;l++)i[l]=arguments[l];return a&&n===this&&i.length===o.length&&i.every(s)||(r=t.apply(this,i),a=!0,n=this,o=i),r}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return x}));var i=n(70),r=n(106),o=n(37),a=n(28);var s=n(45),l=n(105),d=n(48),c=n(107),u=n(34);function h(t,e,n){void 0===n&&(n=!1);var h,p,f=Object(a.b)(e),g=Object(a.b)(e)&&function(t){var e=t.getBoundingClientRect(),n=Object(u.c)(e.width)/t.offsetWidth||1,i=Object(u.c)(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),m=Object(d.a)(e),v=Object(i.a)(t,g,n),b={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(f||!f&&!n)&&(("body"!==Object(s.a)(e)||Object(c.a)(m))&&(b=(h=e)!==Object(o.a)(h)&&Object(a.b)(h)?{scrollLeft:(p=h).scrollLeft,scrollTop:p.scrollTop}:Object(r.a)(h)),Object(a.b)(e)?((y=Object(i.a)(e,!0)).x+=e.clientLeft,y.y+=e.clientTop):m&&(y.x=Object(l.a)(m))),{x:v.left+b.scrollLeft-y.x,y:v.top+b.scrollTop-y.y,width:v.width,height:v.height}}var p=n(108),f=n(114),g=n(76),m=n(11);function v(t){var e=new Map,n=new Set,i=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(i){if(!n.has(i)){var r=e.get(i);r&&t(r)}})),i.push(r)}(t)})),i}var b={placement:"bottom",modifiers:[],strategy:"absolute"};function y(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function x(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?b:r;return function(t,e,n){void 0===n&&(n=o);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},b,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},d=[],c=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;x(),l.options=Object.assign({},o,l.options,r),l.scrollParents={reference:Object(a.a)(t)?Object(f.a)(t):t.contextElement?Object(f.a)(t.contextElement):[],popper:Object(f.a)(e)};var s=function(t){var e=v(t);return m.g.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,l.options.modifiers)));return l.orderedModifiers=s.filter((function(t){return t.enabled})),l.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:l,name:e,instance:u,options:i});d.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var t=l.elements,e=t.reference,n=t.popper;if(y(e,n)){l.rects={reference:h(e,Object(g.a)(n),"fixed"===l.options.strategy),popper:Object(p.a)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(t){return l.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var r=l.orderedModifiers[i],o=r.fn,a=r.options,s=void 0===a?{}:a,d=r.name;"function"==typeof o&&(l=o({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(t){u.forceUpdate(),t(l)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){x(),c=!0}};if(!y(t,e))return u;function x(){d.forEach((function(t){return t()})),d=[]}return u.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(117),c=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.container,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=t.dragId,v=Object(d.a)(),b=v.isDragging,y=v.handleDragStart,x=v.handleDragEnter,_=v.handleDragEnd,w=Object(s.a)(n),O=Object(s.c)(h),$=Object(s.d)(f),C=a()(Object(s.b)("pb_draggable_item"),"".concat(b===m?"is_dragging":""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},w,O,$,{className:C,draggable:!0,id:g,key:m,onDragEnd:function(){return _()},onDragEnter:function(){return x(m,c)},onDragStart:function(){return y(m,c)}}),i)},u=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,d=t.data,c=void 0===d?{}:d,u=t.htmlOptions,h=void 0===u?{}:u,p=t.id,f=Object(s.a)(n),g=Object(s.c)(c),m=Object(s.d)(h),v=a()(Object(s.b)("pb_draggable"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},f,g,m,{className:v,id:p}),o)};u.Container=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.container,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=Object(d.a)(),v=m.handleDragOver,b=m.handleDrop,y=m.activeContainer,x=Object(s.a)(n),_=Object(s.c)(h),w=Object(s.d)(f),O=a()(Object(s.b)("pb_draggable_container"),"".concat(y===c?"active":""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},x,_,w,{className:O,id:g,key:c,onDragOver:function(t){return v(t,c)},onDrop:function(){return b(c)}}),i)},u.Item=c;e.a=u},function(t,e,n){"use strict";function i(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(70),r=n(48),o=n(106);function a(t){return Object(i.a)(Object(r.a)(t)).left+Object(o.a)(t).scrollLeft}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(37);function r(t){var e=Object(i.a)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(54);function r(t){var e=Object(i.a)(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(70);function r(t){var e=Object(i.a)(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return rt}));var i=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(t){0}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),r="-ms-",o="-moz-",a="-webkit-",s="comm",l="rule",d="decl",c="@keyframes",u=Math.abs,h=String.fromCharCode,p=Object.assign;function f(t,e){return 45^y(t,0)?(((e<<2^y(t,0))<<2^y(t,1))<<2^y(t,2))<<2^y(t,3):0}function g(t){return t.trim()}function m(t,e){return(t=e.exec(t))?t[0]:t}function v(t,e,n){return t.replace(e,n)}function b(t,e){return t.indexOf(e)}function y(t,e){return 0|t.charCodeAt(e)}function x(t,e,n){return t.slice(e,n)}function _(t){return t.length}function w(t){return t.length}function O(t,e){return e.push(t),t}function $(t,e){return t.map(e).join("")}var C=1,k=1,S=0,j=0,E=0,M="";function A(t,e,n,i,r,o,a){return{value:t,root:e,parent:n,type:i,props:r,children:o,line:C,column:k,length:a,return:""}}function P(t,e){return p(A("",null,null,"",null,null,0),t,{length:-t.length},e)}function T(){return E=j<S?y(M,j++):0,k++,10===E&&(k=1,C++),E}function L(){return y(M,j)}function D(){return j}function I(t,e){return x(M,t,e)}function N(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(t){return C=k=1,S=_(M=t),j=0,[]}function F(t){return M="",t}function B(t){return g(I(j-1,function t(e){for(;T();)switch(E){case e:return j;case 34:case 39:34!==e&&39!==e&&t(E);break;case 40:41===e&&t(e);break;case 92:T()}return j}(91===t?t+2:40===t?t+1:t)))}function z(t){for(;(E=L())&&E<33;)T();return N(t)>2||N(E)>3?"":" "}function H(t,e){for(;--e&&T()&&!(E<48||E>102||E>57&&E<65||E>70&&E<97););return I(t,D()+(e<6&&32==L()&&32==T()))}function W(t,e){for(;T()&&t+E!==57&&(t+E!==84||47!==L()););return"/*"+I(e,j-1)+"*"+h(47===t?t:T())}function U(t){for(;!N(L());)T();return I(t,j)}function Y(t){return F(function t(e,n,i,r,o,a,s,l,d){var c=0,u=0,p=s,f=0,g=0,m=0,x=1,w=1,$=1,S=0,A="",P=o,I=a,N=r,R=A;for(;w;)switch(m=S,S=T()){case 40:if(108!=m&&58==y(R,p-1)){-1!=b(R+=v(B(S),"&","&\f"),"&\f")&&($=-1);break}case 34:case 39:case 91:R+=B(S);break;case 9:case 10:case 13:case 32:R+=z(m);break;case 92:R+=H(D()-1,7);continue;case 47:switch(L()){case 42:case 47:O(V(W(T(),D()),n,i),d);break;default:R+="/"}break;case 123*x:l[c++]=_(R)*$;case 125*x:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+u:-1==$&&(R=v(R,/\f/g,"")),g>0&&_(R)-p&&O(g>32?X(R+";",r,i,p-1):X(v(R," ","")+";",r,i,p-2),d);break;case 59:R+=";";default:if(O(N=G(R,n,i,c,u,o,l,A,P=[],I=[],p),a),123===S)if(0===u)t(R,n,N,N,P,a,p,l,I);else switch(99===f&&110===y(R,3)?100:f){case 100:case 108:case 109:case 115:t(e,N,N,r&&O(G(e,N,N,0,0,o,l,A,o,P=[],p),I),o,I,p,l,r?P:I);break;default:t(R,N,N,N,[""],I,0,l,I)}}c=u=g=0,x=$=1,A=R="",p=s;break;case 58:p=1+_(R),g=m;default:if(x<1)if(123==S)--x;else if(125==S&&0==x++&&125==(E=j>0?y(M,--j):0,k--,10===E&&(k=1,C--),E))continue;switch(R+=h(S),S*x){case 38:$=u>0?1:(R+="\f",-1);break;case 44:l[c++]=(_(R)-1)*$,$=1;break;case 64:45===L()&&(R+=B(T())),f=L(),u=p=_(A=R+=U(D())),S++;break;case 45:45===m&&2==_(R)&&(x=0)}}return a}("",null,null,null,[""],t=R(t),0,[0],t))}function G(t,e,n,i,r,o,a,s,d,c,h){for(var p=r-1,f=0===r?o:[""],m=w(f),b=0,y=0,_=0;b<i;++b)for(var O=0,$=x(t,p+1,p=u(y=a[b])),C=t;O<m;++O)(C=g(y>0?f[O]+" "+$:v($,/&\f/g,f[O])))&&(d[_++]=C);return A(t,e,n,0===r?l:s,d,c,h)}function V(t,e,n){return A(t,e,n,s,h(E),x(t,2,-2),0)}function X(t,e,n,i){return A(t,e,n,d,x(t,0,i),x(t,i+1,-1),i)}function q(t,e){for(var n="",i=w(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function K(t,e,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case d:return t.return=t.return||t.value;case s:return"";case c:return t.return=t.value+"{"+q(t.children,i)+"}";case l:t.value=t.props.join(",")}return _(n=q(t.children,i))?t.return=t.value+"{"+n+"}":""}function Z(t){return function(e){e.root||(e=e.return)&&t(e)}}n(124),n(183);var J=function(t,e,n){for(var i=0,r=0;i=r,r=L(),38===i&&12===r&&(e[n]=1),!N(r);)T();return I(t,j)},Q=function(t,e){return F(function(t,e){var n=-1,i=44;do{switch(N(i)){case 0:38===i&&12===L()&&(e[n]=1),t[n]+=J(j-1,e,n);break;case 2:t[n]+=B(i);break;case 4:if(44===i){t[++n]=58===L()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=h(i)}}while(i=T());return t}(R(t),e))},tt=new WeakMap,et=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||tt.get(n))&&!i){tt.set(t,!0);for(var r=[],o=Q(e,r),a=n.props,s=0,l=0;s<o.length;s++)for(var d=0;d<a.length;d++,l++)t.props[l]=r[s]?o[s].replace(/&\f/g,a[d]):a[d]+" "+o[s]}}},nt=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};var it=[function(t,e,n,i){if(t.length>-1&&!t.return)switch(t.type){case d:t.return=function t(e,n){switch(f(e,n)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+o+e+r+e+e;case 6828:case 4268:return a+e+r+e+e;case 6165:return a+e+r+"flex-"+e+e;case 5187:return a+e+v(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return a+e+r+"flex-item-"+v(e,/flex-|-self/,"")+e;case 4675:return a+e+r+"flex-line-pack"+v(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+r+v(e,"shrink","negative")+e;case 5292:return a+e+r+v(e,"basis","preferred-size")+e;case 6060:return a+"box-"+v(e,"-grow","")+a+e+r+v(e,"grow","positive")+e;case 4554:return a+v(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return v(v(v(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return v(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return v(v(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return v(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(e)-1-n>6)switch(y(e,n+1)){case 109:if(45!==y(e,n+4))break;case 102:return v(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==y(e,n+3)?"$3":"$2-$3"))+e;case 115:return~b(e,"stretch")?t(v(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==y(e,n+1))break;case 6444:switch(y(e,_(e)-3-(~b(e,"!important")&&10))){case 107:return v(e,":",":"+a)+e;case 101:return v(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===y(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+r+"$2box$3")+e}break;case 5936:switch(y(e,n+11)){case 114:return a+e+r+v(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+r+v(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+r+v(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+r+e+e}return e}(t.value,t.length);break;case c:return q([P(t,{value:v(t.value,"@","@"+a)})],i);case l:if(t.length)return $(t.props,(function(e){switch(m(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([P(t,{props:[v(e,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return q([P(t,{props:[v(e,/:(plac\w+)/,":"+a+"input-$1")]}),P(t,{props:[v(e,/:(plac\w+)/,":-moz-$1")]}),P(t,{props:[v(e,/:(plac\w+)/,r+"input-$1")]})],i)}return""}))}}],rt=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var r=t.stylisPlugins||it;var o,a,s={},l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;l.push(t)}));var d=[et,nt];var c,u=[K,Z((function(t){c.insert(t)}))],h=function(t){var e=w(t);return function(n,i,r,o){for(var a="",s=0;s<e;s++)a+=t[s](n,i,r,o)||"";return a}}(d.concat(r,u));a=function(t,e,n,i){c=n,q(Y(t?t+"{"+e.styles+"}":e.styles),h),i&&(p.inserted[e.name]=!0)};var p={key:e,sheet:new i({key:e,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return p.sheet.hydrate(l),p}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){return/^((?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])|\uFE0F|\u200D|\u20E3)+$/.test(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var i=n(0),r=!!i.useInsertionEffect&&i.useInsertionEffect,o=r||function(t){return t()},a=r||i.useLayoutEffect},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i={animationIterationCount:1,aspectRatio: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},r=n(183),o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},l=function(t){return null!=t&&"boolean"!=typeof t},d=Object(r.a)((function(t){return s(t)?t:t.replace(o,"-$&").toLowerCase()})),c=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(a,(function(t,e,n){return h={name:e,styles:n,next:h},e}))}return 1===i[t]||s(t)||"number"!=typeof e||0===e?e:e+"px"};function u(t,e,n){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 h={name:n.name,styles:n.styles,next:h},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)h={name:i.name,styles:i.styles,next:h},i=i.next;return n.styles+";"}return function(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=u(t,e,n[r])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=e&&void 0!==e[a]?i+=o+"{"+e[a]+"}":l(a)&&(i+=d(o)+":"+c(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=u(t,e,a);switch(o){case"animation":case"animationName":i+=d(o)+":"+s+";";break;default:i+=o+"{"+s+"}"}}else for(var h=0;h<a.length;h++)l(a[h])&&(i+=d(o)+":"+c(o,a[h])+";")}return i}(t,e,n);case"function":if(void 0!==t){var r=h,o=n(t);return h=r,u(t,e,o)}break;case"string":}if(null==e)return n;var a=e[n];return void 0!==a?a:n}var h,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i=!0,r="";h=void 0;var o=t[0];null==o||void 0===o.raw?(i=!1,r+=u(n,e,o)):r+=o[0];for(var a=1;a<t.length;a++)r+=u(n,e,t[a]),i&&(r+=o[a]);p.lastIndex=0;for(var s,l="";null!==(s=p.exec(r));)l+="-"+s[1];return{name:function(t){for(var e,n=0,i=0,r=t.length;r>=4;++i,r-=4)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l,styles:r,next:h}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(87),r=n(107),o=n(45),a=n(28);var s=n(37);function l(t,e){var n;void 0===e&&(e=[]);var d=function t(e){return["html","body","#document"].indexOf(Object(o.a)(e))>=0?e.ownerDocument.body:Object(a.b)(e)&&Object(r.a)(e)?e:t(Object(i.a)(e))}(t),c=d===(null==(n=t.ownerDocument)?void 0:n.body),u=Object(s.a)(d),h=c?[u].concat(u.visualViewport||[],Object(r.a)(d)?d:[]):d,p=e.concat(h);return c?p:p.concat(l(Object(i.a)(h)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,d=void 0===o?{}:o,c=t.htmlOptions,u=void 0===c?{}:c,h=t.id,p=t.status,f=void 0===p?"offline":p;n.label=f;var g=Object(l.a)(n),m=Object(l.c)(d),v=Object(l.d)(u),b=a()(Object(l.b)("pb_online_status_kit",f),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},g,m,v,{className:b,id:h}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4);function d(t,e,n){var i;return(e="symbol"==typeof(i=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?i:i+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var h={xs:"(max-width: 575px)",sm:"(min-width: 576px) and (max-width: 767px)",md:"(min-width: 768px) and (max-width: 991px)",lg:"(min-width: 992px) and (max-width: 1199px)",xl:"(min-width: 1200px)"},p=function(t){if("string"==typeof t)return t;for(var e=0,n=Object.entries(t||{});e<n.length;e++){var i=c(n[e],2),r=i[0],o=i[1];if("default"!==r&&window.matchMedia(h[r]).matches)return o}return(null==t?void 0:t.default)||void 0};e.a=function(t){var e,n=t.alt,o=void 0===n?void 0:n,u=t.aria,h=void 0===u?{}:u,f=t.backgroundColor,g=void 0===f?"light":f,m=t.backgroundPosition,v=void 0===m?"":m,b=t.backgroundRepeat,y=void 0===b?"initial":b,x=t.backgroundSize,_=void 0===x?"cover":x,w=t.children,O=t.className,$=t.customColor,C=t.data,k=void 0===C?{}:C,S=t.htmlOptions,j=void 0===S?{}:S,E=t.id,M=t.imageUrl,A=void 0===M?"":M,P=t.tag,T=void 0===P?"div":P,L=t.transition,D=void 0===L?"":L,I=c(Object(i.useState)({backgroundSize:p(_),backgroundPosition:p(v),backgroundRepeat:p(y),backgroundColor:p(g),imageUrl:p(A)}),2),N=I[0],R=I[1];Object(i.useEffect)((function(){var e=function(){R({backgroundSize:p(t.backgroundSize),backgroundPosition:p(t.backgroundPosition),backgroundRepeat:p(t.backgroundRepeat),backgroundColor:p(t.backgroundColor),imageUrl:p(t.imageUrl)})};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[t]);var F=N.backgroundColor,B=N.backgroundPosition,z=N.backgroundRepeat,H=N.backgroundSize,W=N.imageUrl,U=a()(Object(s.b)("pb_background_kit"),"lazyload",Object(l.c)(t),D,(d(e={},"pb_background_color_".concat(F),F&&!$),d(e,"pb_background_custom_color",!!$),e),O),Y=Object.assign({backgroundColor:$||void 0},""!==W?{backgroundImage:W?"url(".concat(W,")"):void 0,backgroundRepeat:z||void 0,backgroundPosition:B||void 0,backgroundSize:H||void 0}:{}),G="".concat(T),V=Object(s.a)(h),X=Object(s.c)(k),q=Object(s.d)(j);return r.a.createElement(G,Object.assign({},V,X,q,{alt:o,className:U,id:E,style:Y}),w)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return p}));var i=n(0),r=n.n(i);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||s(t,e)||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 a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||s(t)||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 s(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var d={items:[],dragData:{id:"",initialGroup:""},isDragging:"",activeContainer:""},c=function(t,e){switch(e.type){case"SET_ITEMS":return Object.assign(Object.assign({},t),{items:e.payload});case"SET_DRAG_DATA":return Object.assign(Object.assign({},t),{dragData:e.payload});case"SET_IS_DRAGGING":return Object.assign(Object.assign({},t),{isDragging:e.payload});case"SET_ACTIVE_CONTAINER":return Object.assign(Object.assign({},t),{activeContainer:e.payload});case"CHANGE_CATEGORY":return Object.assign(Object.assign({},t),{items:t.items.map((function(t){return t.id===e.payload.itemId?Object.assign(Object.assign({},t),{container:e.payload.container}):t}))});case"REORDER_ITEMS":var n=e.payload,i=n.dragId,r=n.targetId,o=a(t.items),s=o.find((function(t){return t.id===i})),l=o.indexOf(s),d=o.findIndex((function(t){return t.id===r}));return o.splice(l,1),o.splice(d,0,s),Object.assign(Object.assign({},t),{items:o});default:return t}},u=Object(i.createContext)({}),h=function(){return Object(i.useContext)(u)},p=function(t){var e=t.children,n=t.initialItems,a=t.onReorder,s=t.onDragStart,l=t.onDragEnter,h=t.onDragEnd,p=t.onDrop,f=t.onDragOver,g=o(Object(i.useReducer)(c,d),2),m=g[0],v=g[1];Object(i.useEffect)((function(){v({type:"SET_ITEMS",payload:n})}),[n]),Object(i.useEffect)((function(){a(m.items)}),[m.items]);var b=function(t,e){v({type:"SET_DRAG_DATA",payload:{id:t,initialGroup:e}}),v({type:"SET_IS_DRAGGING",payload:t}),s&&s(t,e)},y=function(t,e){m.dragData.id!==t&&(v({type:"REORDER_ITEMS",payload:{dragId:m.dragData.id,targetId:t}}),v({type:"SET_DRAG_DATA",payload:{id:m.dragData.id,initialGroup:e}})),l&&l(t,e)},x=function(){v({type:"SET_IS_DRAGGING",payload:""}),v({type:"SET_ACTIVE_CONTAINER",payload:""}),h&&h()},_=function(t){v({type:"SET_IS_DRAGGING",payload:""}),v({type:"SET_ACTIVE_CONTAINER",payload:""}),function(t,e){v({type:"CHANGE_CATEGORY",payload:{itemId:t,container:e}})}(m.dragData.id,t),p&&p(t)},w=function(t,e){t.preventDefault(),v({type:"SET_ACTIVE_CONTAINER",payload:e}),f&&f(t,e)},O=Object(i.useMemo)((function(){return{items:m.items,dragData:m.dragData,isDragging:m.isDragging,activeContainer:m.activeContainer,handleDragStart:b,handleDragEnter:y,handleDragEnd:x,handleDrop:_,handleDragOver:w}}),[m]);return r.a.createElement(u.Provider,{value:O},e)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(67),c=n.n(d),u=n(29),h=n.n(u),p=n(49),f=n(75),g=n(68),m=n(233),v=n.n(m),b=n(25);function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(t,e)}(t,e)||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 x(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var _=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,d=void 0===o?{}:o,u=t.chartData,m=t.colors,x=t.customOptions,w=void 0===x?{}:x,O=t.dark,$=void 0!==O&&O,C=t.drillable,k=void 0!==C&&C,S=t.grouped,j=void 0!==S&&S,E=t.height,M=t.htmlOptions,A=void 0===M?{}:M,P=t.id,T=t.title,L=void 0===T?"":T,D=t.tooltipHtml,I=void 0===D?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.value}</b>':D,N=t.type,R=void 0===N?"treemap":N,F=_(t,["aria","data","chartData","colors","customOptions","dark","drillable","grouped","height","htmlOptions","id","title","tooltipHtml","type"]),B=Object(l.a)(n),z=Object(l.c)(d),H=Object(l.d)(A);v()(h.a),$?h.a.setOptions(f.a):h.a.setOptions(p.a);var W={title:{text:L},chart:{height:E,type:R},credits:!1,series:[{data:u}],plotOptions:{treemap:{tooltip:{pointFormat:I},allowTraversingTree:k,colorByPoint:!j,colors:void 0!==m&&m.length>0?Object(g.a)(m):p.a.colors}}},U=y(Object(i.useState)({}),2),Y=U[0],G=U[1];return Object(i.useEffect)((function(){G(Object(b.merge)(W,w))}),[u]),r.a.createElement(c.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()(Object(s.c)(F),"pb_treemap_chart"),id:P},B),z),H),highcharts:h.a,options:Y})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(79),c=n(78),u=n(9),h=n(5),p=n(71),f=n(47),g=n(25);function m(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||b(t)||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 v(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=b(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},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 o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function b(t,e){if(t){if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(t,e):void 0}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var x=function(t,e){var n=[];return function t(e,i){var r,o=v(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.id.toLowerCase()===i.toLowerCase())return void n.push(a);a.children&&a.children.length>0&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n},_=function t(e){var n=[];if(Array.isArray(e))return e.forEach((function(e){if(e.checked&&n.push(e),e.children&&e.children.length>0){var i=t(e.children);n.push.apply(n,m(i))}})),n},w=function(t){var e=[];return function t(n){Array.isArray(n)&&n.forEach((function(i){if(i.checked)if(i.children&&i.children.length>0){if(0===i.children.filter((function(t){return!t.checked})).length)return void e.push(i)}else{var r=n.find((function(t){return t.id===i.parentId}));r&&r.checked||e.push(i)}i.children&&i.children.length>0&&t(i.children)}))}(t),e};function O(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||C(t)||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 $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||C(t,e)||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 C(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,b=t.data,y=void 0===b?{}:b,C=t.htmlOptions,k=void 0===C?{}:C,S=t.id,j=t.inputDisplay,E=void 0===j?"pills":j,M=t.inputName,A=t.name,P=t.returnAllSelected,T=void 0!==P&&P,L=t.treeData,D=t.onSelect,I=void 0===D?function(){return null}:D,N=t.selectedIds,R=t.variant,F=void 0===R?"multi":R,B=Object(l.a)(n),z=Object(l.c)(y),H=Object(l.d)(k),W=a()(Object(l.b)("pb_multi_level_select"),Object(s.c)(t),o),U=Object(i.useRef)(null),Y=$(Object(i.useState)(!0),2),G=Y[0],V=Y[1],X=$(Object(i.useState)(""),2),q=X[0],K=X[1],Z=$(Object(i.useState)([]),2),J=Z[0],Q=Z[1],tt=$(Object(i.useState)([]),2),et=tt[0],nt=tt[1],it=$(Object(i.useState)([]),2),rt=it[0],ot=it[1],at=function(t,e){var n=[];return function t(i){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=0;o<i.length;o++){var a=i[o],s=[].concat(m(r),[a]);if(a.expanded&&n.push(a.id),e&&e.length&&e.includes(a.id)&&n.push.apply(n,m(s.map((function(t){return t.id})))),Array.isArray(a.children)){var l=a.children.some((function(t){return t.checked}));l&&n.push.apply(n,m(s.map((function(t){return t.id})))),t(a.children,s)}}}(t),n}(L,N),st=$(Object(i.useState)(at),2),lt=st[0],dt=st[1],ct=$(Object(i.useState)({id:[],value:"",item:[]}),2),ut=ct[0],ht=ct[1],pt=function t(e,n){if(Array.isArray(e))return e.map((function(e){return e.checked=n,e.children=t(e.children,n),e}))};Object(i.useEffect)((function(){var t=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(Array.isArray(e))return e.map((function(e){var o=Object.assign(Object.assign({},e),{checked:Boolean(n&&n.length&&n.includes(e.id)),parent_id:i,depth:r});if(o.children&&o.children.length>0){var a=e.checked&&!T?pt(e.children,!0):e.children;o.children=t(a,n,o.id,r+1)}return o}))}(L,"single"===F?[null==N?void 0:N[0]]:N);if(Q(t),"single"===F)if(0!==(null==N?void 0:N.length)&&(null==N?void 0:N.length)){if(0!==(null==N?void 0:N.length)&&!ut.value){var e=x(t,N[0]);if(e.length){var n=e[0],i=n.id,r=n.value;ht({id:[i],value:r,item:e})}else ht({id:[],value:"",item:[]})}}else ht({id:[],value:"",item:[]})}),[L,N]),Object(i.useEffect)((function(){T?nt(_(J)):ot("single"===F?ut.item:w(J))}),[J]),Object(i.useEffect)((function(){var t=function(t){U.current&&!U.current.contains(t.target)&&V(!0)};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[]);var ft=function t(e,n,i){if(Array.isArray(n))return n.map((function(n){return n.id!=e?n.children=t(e,n.children,i):(n.checked=i,n.children=pt(n.children,"single"===F?!i:i)),n}))},gt=function(t){var e=Object(g.cloneDeep)(J);return T?ft(t.id,e,!0):function t(e,n){if(null!==e.parent_id){var i=x(n,e.parent_id);if(i[0].children.every((function(t){return t.checked})))i[0].checked=!0,null!==i[0].parent_id&&t(i[0],n)}return n}(t,ft(t.id,e,!0))},mt=function(t){var e=Object(g.cloneDeep)(J);return T?ft(t.id,e,!1):function t(e,n){if(n.parent_id){var i=x(e,n.parent_id);i[0].checked=!1,i[0].parent_id&&t(e,i[0])}return e}(ft(t.id,e,!1),t)},vt=function(t,e){var n=e?gt(t):mt(t);return Q(n),n},bt=function(t,e){t.stopPropagation();var n=vt(e,!1);I(T?_(n):w(n))},yt=function(t){return lt.indexOf(t.id)>-1},xt=function(){var t;return T&&et&&et.length?t=et.length:!T&&rt&&rt.length&&(t=rt.length),t};return r.a.createElement("div",Object.assign({},B,z,H,{className:W,id:S}),r.a.createElement("div",{className:"wrapper",ref:U},r.a.createElement("div",{className:"input_wrapper",onClick:function(t){t.stopPropagation(),"multiselect_input"===t.target.id||t.target.classList.contains("pb_form_pill_tag")||V(!G)}},r.a.createElement("div",{className:"input_inner_container"},"single"===F&&0!==rt.length?rt.map((function(t){return r.a.createElement("input",{key:t.id,name:"".concat(A,"[]"),type:"hidden",value:t.id})})):null,"single"!==F&&r.a.createElement(r.a.Fragment,null,T&&0!==et.length?et.map((function(t){return r.a.createElement("input",{key:t.id,name:"".concat(A,"[]"),type:"hidden",value:t.id})})):null,T&&0!==et.length&&"pills"===E?et.map((function(t,e){return r.a.createElement(p.a,{key:e,onClick:function(e){return bt(e,t)},size:"small",text:t.label})})):null,T||0===rt.length||"pills"!==E?null:rt.map((function(t,e){return r.a.createElement(p.a,{key:e,onClick:function(e){return bt(e,t)},size:"small",text:t.label})})),T&&0!==et.length&&"pills"===E&&r.a.createElement("br",null),!T&&0!==rt.length&&"pills"===E&&r.a.createElement("br",null)),r.a.createElement("input",{id:"multiselect_input",onChange:function(t){var e;"single"===F?(e=t.target.value,pt(J,!1),ot([]),ht({id:[],value:e,item:[]}),K(e)):K(t.target.value)},onClick:function(){return V(!1)},placeholder:"none"===E&&xt()?"".concat(xt()," ").concat(1===xt()?"item":"items"," selected"):"Start typing...",value:ut.value||q})),G?r.a.createElement("div",{key:"chevron-down"},r.a.createElement(h.a,{icon:"chevron-down",size:"xs"})):r.a.createElement("div",{key:"chevron-up"},r.a.createElement(h.a,{icon:"chevron-up",size:"xs"}))),r.a.createElement("div",{className:"dropdown_menu ".concat(G?"close":"open")},function t(e){return r.a.createElement("ul",null,Array.isArray(e)&&e.map((function(e){return r.a.createElement("div",{key:e.id},r.a.createElement("li",{className:"dropdown_item","data-name":e.id},r.a.createElement("div",{className:"dropdown_item_checkbox_row"},e.parent_id||e.children?r.a.createElement("div",{key:yt(e)?"chevron-down":"chevron-right"},r.a.createElement(f.a,{className:e.children&&e.children.length>0?"":"toggle_icon",icon:yt(e)?"chevron-down":"chevron-right",onClick:function(t){return function(t,e){e.stopPropagation();var n=x(J,t);if(n){var i=O(lt);yt(n[0])?i=i.filter((function(t){return t!=n[0].id})):i.push(n[0].id),dt(i)}}(e.id,t)},variant:"link"})):null,"single"===F?e.hideRadio?r.a.createElement(u.a,null,e.label):r.a.createElement(c.a,{checked:e.checked,id:"".concat(e.id,"-").concat(e.label),label:e.label,name:M,onChange:function(t){return function(t){var e=t.target,n=e.id,i=e.value,r=n.match(/^[^-]*/)[0],o=pt(J,!1),a=ft(r,o,!0),s=x(a,r);Q(a),ht({id:[r],value:i,item:s}),K(""),V(!0),I(s)}(t)},padding:e.children?"none":"xs",type:"radio",value:e.label}):r.a.createElement(d.a,{id:e.id,text:e.label},r.a.createElement("input",{checked:e.checked,name:e.label,onChange:function(t){!function(t,e){var n=t.target.parentNode.id;K("");var i=x(J,n),r=vt(i[0],e);I(T?_(r):w(r))}(t,!e.checked)},type:"checkbox",value:e.label}))),yt(e)&&e.children&&e.children.length>0&&("single"===F||!q)&&r.a.createElement("div",null,t(e.children))))})))}(q?function(t,e){var n=[];return function t(e,i){var r,o=v(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.label.toLowerCase().includes(i.toLowerCase())&&n.push(a),a.children&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n}(J,q):J))))}},,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(173),l=n(4),d=n(2),c=Object(i.createContext)({}),u=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},h=function(t){var e=t.children,n=t.className,o=u(t,["children","className"]),s=Object(i.useContext)(c),h=Object(d.b)("pb_collapsible_content_kit"),p=Object(l.c)(o),f=Object(i.useRef)(null);return Object(i.useEffect)((function(){var t;f.current&&(s.collapsed?((t=f.current).style.height=t.scrollHeight+"px",window.setTimeout((function(){t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0",t.style.overflow="hidden"}),1),window.setTimeout((function(){t.classList.remove("is-visible"),t.style.overflow=""}),300)):function(t){t.style.display="block";var e=t.scrollHeight+"px";t.style.height=e,t.classList.add("is-visible"),t.style.overflow="hidden",window.setTimeout((function(){t.style.height="",t.style.overflow="visible"}),300)}(f.current))}),[s.collapsed]),r.a.createElement("div",{className:a()(h,p,"toggle-content",n),"data-collapsible-content":"true",ref:f},e)},p=n(6),f=n(17),g=n(5),m={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"},v=function(t){var e=t.collapsed,n=t.icon,i=t.iconSize,o=t.iconColor,a=t.onIconClick,s=m[o],l=function(t){return"string"==typeof t?[t,t]:t},d=function(t){a&&(t.stopPropagation(),a())};return r.a.createElement(r.a.Fragment,null,e?r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[0]:"chevron-down",onClick:function(t){return d(t)},style:{verticalAlign:"middle",color:s}},r.a.createElement(g.a,{icon:n?l(n)[0]:"chevron-down",size:i})):r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[1]:"chevron-up",onClick:function(t){return d(t)},style:{verticalAlign:"middle",color:s}},r.a.createElement(g.a,{icon:n?l(n)[1]:"chevron-up",size:i})))},b=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},y=function(t){var e=t.children,n=t.className,o=t.cursor,s=void 0===o?"pointer":o,u=b(t,["children","className","cursor"]),h=Object(i.useContext)(c),g=h.collapsed,m=h.toggle,y=h.icon,x=h.iconSize,_=h.iconColor,w=h.onIconClick,O=h.onClick,$=Object(d.b)("pb_collapsible_main_kit"),C=Object(l.c)(u,{cursor:s});return r.a.createElement("div",{className:a()($,C,n)},r.a.createElement("div",{onClick:function(){O&&O(),!0!==(O&&O())&&m()}},r.a.createElement(p.a,{spacing:"between",vertical:"center"},r.a.createElement(f.a,null,e),r.a.createElement(f.a,null,r.a.createElement(v,{collapsed:g,icon:y,iconColor:_,iconSize:x,onIconClick:w})))))};function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var w=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},O=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,u=t.children,p=t.collapsed,f=void 0===p||p,g=t.data,m=void 0===g?{}:g,v=t.htmlOptions,b=void 0===v?{}:v,_=t.icon,O=t.iconColor,$=void 0===O?"default":O,C=t.iconSize,k=t.onIconClick,S=t.onClick,j=t.id,E=w(t,["aria","className","children","collapsed","data","htmlOptions","icon","iconColor","iconSize","onIconClick","onClick","id"]),M=x(Object(s.a)(f),3),A=M[0],P=M[1],T=M[2];if(Object(i.useEffect)((function(){T(f)}),[f]),2!==u.length)throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.");var L=u[0],D=L.type===y?L:null,I=u[1],N=D?D.props:{},R=N.children,F=void 0===R?null:R,B=w(N,["children"]),z=I.props,H=z.children,W=w(z,["children"]),U=Object(d.a)(n),Y=Object(d.c)(m),G=Object(d.d)(b),V=a()(Object(d.b)("pb_collapsible_kit"),Object(l.c)(E),o);return r.a.createElement(c.Provider,{value:{collapsed:A,toggle:P,icon:_,iconSize:C,iconColor:$,onIconClick:k,onClick:S}},r.a.createElement("div",Object.assign({},U,Y,G,{className:V,id:j}),D?r.a.createElement(y,Object.assign({},B),F):L,r.a.createElement(h,Object.assign({},W),H)))};O.Main=y,O.Content=h,O.Icon=v;e.a=O},function(t,e,n){var i=n(211);t.exports=function(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i,r;!function(o){t.exports?(o.default=o,t.exports=o):(i=[n(29)],void 0===(r=function(t){return o(t),o.Highcharts=t,o}.apply(e,i))||(t.exports=r))}((function(t){function e(t,e,n,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){function o(t,e,n,i,r){var o=!0,a=n[0],d=n[1],c=Math.sqrt(Math.pow(t-a,2)+Math.pow(e-d,2));return l(i)&&l(r)&&(t=Math.atan2(s(e-d,8),s(t-a,8)),r!==i&&(o=i>r?t>=i&&t<=Math.PI||t<=r&&t>=-Math.PI:t>=i&&t<=s(r,8))),c<=Math.ceil(n[2]/2)&&o}var a=r.addEvent,s=r.correctFloat,l=r.defined,d=r.extend,c=r.merge,u=r.pick,h=r.splat;return t.prototype.collectionsWithUpdate.push("pane"),r=function(){function t(t,e){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(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=c(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=h(e),t=Math.max(e.length,this.background.length||0),n=0;n<t;n++)e[n]&&this.axis?this.renderBackground(c(this.defaultBackgroundOptions,e[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},t.prototype.renderBackground=function(t,e){var n="animate",i={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||d(i,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),n="attr"),this.background[e][n]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(i)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=e.getCenter.call(this)},t.prototype.update=function(t,e){c(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t){t.pane===this&&(t.pane=null,t.update({},e))}),this)},t}(),t.prototype.getHoverPane=function(t){var e,n=this;return t&&n.pane.forEach((function(i){o(t.chartX-n.plotLeft,t.chartY-n.plotTop,i.center)&&(e=i)})),e},a(t,"afterIsInsidePlot",(function(t){if(this.polar){if(t.options.inverted){var e=[t.y,t.x];t.x=e[0],t.y=e[1]}t.isInsidePlot=this.pane.some((function(e){return o(t.x,t.y,e.center,e.axis&&e.axis.normalizedStartAngleRad,e.axis&&e.axis.normalizedEndAngleRad)}))}})),a(i,"beforeGetHoverData",(function(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(n){return n.visible&&!(!t.shared&&n.directTouch)&&u(n.options.enableMouseTracking,!0)&&(!e.hoverPane||n.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0})),a(i,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!o(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),n.Pane=r,n.Pane})),e(t,"Series/AreaRange/AreaRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=(t=t.seriesTypes.area.prototype).pointClass.prototype,r=e.defined,o=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.high=void 0,e.low=void 0,e.options=void 0,e.plotX=void 0,e.series=void 0,e}return n(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,n=e.chart.polar;r(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),r(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,n&&o(this.plotHighX)&&(this.plotX=this.plotHighX),i.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],n&&o(this.plotLowX)&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),i.setState.apply(this,arguments)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&o(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e=i.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&o(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(i.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return o(this.low)&&o(this.high)},e}(t.pointClass)})),e(t,"Series/AreaRange/AreaRangeSeries.js",[t["Series/AreaRange/AreaRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.seriesTypes,a=o.area,s=o.area.prototype,l=o.column.prototype;o=i.addEvent;var d=i.defined,c=i.extend,u=i.isArray,h=i.isNumber,p=i.pick,f=i.merge,g={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}};return o(i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.lowerStateMarkerGraphic=void 0,e.xAxis=void 0,e}return r(e,t),e.prototype.toYData=function(t){return[t.low,t.high]},e.prototype.highToXY=function(t){var e=this.chart,n=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-(t.plotHigh||0));t.plotHighX=n.x-e.plotLeft,t.plotHigh=n.y-e.plotTop,t.plotLowX=t.plotX},e.prototype.getGraphPath=function(t){var e,n=[],i=[],r=s.getGraphPath,o=this.options,a=this.chart.polar,l=a&&!1!==o.connectEnds,d=o.connectNulls,c=o.step;for(e=(t=t||this.points).length;e--;){var u=t[e],h=a?{plotX:u.rectPlotX,plotY:u.yBottom,doCurve:!1}:{plotX:u.plotX,plotY:u.plotY,doCurve:!1};u.isNull||l||d||t[e+1]&&!t[e+1].isNull||i.push(h);var f={polarPlotY:u.polarPlotY,rectPlotX:u.rectPlotX,yBottom:u.yBottom,plotX:p(u.plotHighX,u.plotX),plotY:u.plotHigh,isNull:u.isNull};i.push(f),n.push(f),u.isNull||l||d||t[e-1]&&!t[e-1].isNull||i.push(h)}return t=r.call(this,t),c&&(!0===c&&(c="left"),o.step={left:"right",center:"center",right:"left"}[c]),n=r.call(this,n),i=r.call(this,i),o.step=c,o=[].concat(t,n),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=o,this.areaPath=t.concat(i),o.isArea=!0,o.xMap=t.xMap,this.areaPath.xMap=t.xMap,o},e.prototype.drawDataLabels=function(){var t,e,n=this.points,i=n.length,r=[],o=this.options.dataLabels,a=this.chart.inverted;if(o){if(u(o))var l=o[0]||{enabled:!1},d=o[1]||{enabled:!1};else(l=c({},o)).x=o.xHigh,l.y=o.yHigh,(d=c({},o)).x=o.xLow,d.y=o.yLow;if(l.enabled||this._hasPointLabels){for(t=i;t--;)if(e=n[t]){var h=e.plotHigh;h=void 0===h?0:h;var p=e.plotLow;p=void 0===p?0:p,p=l.inside?h<p:h>p,e.y=e.high,e._plotY=e.plotY,e.plotY=h,r[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=p,a?l.align||(l.align=p?"right":"left"):l.verticalAlign||(l.verticalAlign=p?"top":"bottom")}for(this.options.dataLabels=l,s.drawDataLabels&&s.drawDataLabels.apply(this,arguments),t=i;t--;)(e=n[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=r[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(d.enabled||this._hasPointLabels){for(t=i;t--;)(e=n[t])&&(h=void 0===(r=e.plotHigh)?0:r,p=void 0===(r=e.plotLow)?0:r,p=d.inside?h<p:h>p,e.below=!p,a?d.align||(d.align=p?"left":"right"):d.verticalAlign||(d.verticalAlign=p?"bottom":"top"));this.options.dataLabels=d,s.drawDataLabels&&s.drawDataLabels.apply(this,arguments)}if(l.enabled)for(t=i;t--;)(e=n[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=o}},e.prototype.alignDataLabel=function(){l.alignDataLabel.apply(this,arguments)},e.prototype.drawPoints=function(){var t,e=this.points.length;for(s.drawPoints.apply(this,arguments),t=0;t<e;){var n=this.points[t];n.graphics=n.graphics||[],n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},(n.graphic||n.graphics[0])&&(n.graphics[0]=n.graphic),n.graphic=n.graphics[1],n.plotY=n.plotHigh,d(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=p(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),t++}for(s.drawPoints.apply(this,arguments),t=0;t<e;)(n=this.points[t]).graphics=n.graphics||[],(n.graphic||n.graphics[1])&&(n.graphics[1]=n.graphic),n.graphic=n.graphics[0],n.origProps&&(c(n,n.origProps),delete n.origProps),t++},e.defaultOptions=f(a.defaultOptions,g),e}(a),"afterTranslate",(function(){var t=this;"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((function(e){var n=e.high,i=e.plotY;e.isNull?e.plotY=void 0:(e.plotLow=i,e.plotHigh=h(n)?t.yAxis.translate(t.dataModify?t.dataModify.modifyValue(n):n,!1,!0,void 0,!0):void 0,t.dataModify&&(e.yBottom=e.plotHigh))}))}),{order:0}),o(i,"afterTranslate",(function(){var t=this;this.points.forEach((function(e){if(t.chart.polar)t.highToXY(e),e.plotLow=e.plotY,e.tooltipPos=[((e.plotHighX||0)+(e.plotLowX||0))/2,((e.plotHigh||0)+(e.plotLow||0))/2];else{var n=e.pos(!1,e.plotLow),i=e.pos(!1,e.plotHigh);n&&i&&(n[0]=(n[0]+i[0])/2,n[1]=(n[1]+i[1])/2),e.tooltipPos=n}}))}),{order:3}),c(i.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:t,pointValKey:"low",setStackedPoints:e}),n.registerSeriesType("arearange",i),i})),e(t,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[t["Series/AreaRange/AreaRangeSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.seriesTypes.spline.prototype,o=n.merge;n=n.extend;var a=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return i(n,e),n.defaultOptions=o(t.defaultOptions),n}(t);return n(a.prototype,{getPointSpline:r.getPointSpline}),e.registerSeriesType("areasplinerange",a),a})),e(t,"Series/BoxPlot/BoxPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=i.extend,a=i.merge,s=i.pick;return i=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.pointAttribs=function(){return{}},n.prototype.translate=function(){var t=this.yAxis,n=this.pointArrayMap;e.prototype.translate.apply(this),this.points.forEach((function(e){n.forEach((function(n){null!==e[n]&&(e[n+"Plot"]=t.translate(e[n],0,1,0,1))})),e.plotHigh=e.highPlot}))},n.prototype.drawPoints=function(){var t,e,n,i,r,o,a,l,d,c,u,h=this,p=h.options,f=h.chart,g=f.renderer,m=0,v=!1!==h.doQuartiles,b=h.options.whiskerLength;h.points.forEach((function(y){var x=y.graphic,_=x?"animate":"attr",w=y.shapeArgs,O={},$={},C={},k={},S=y.color||h.color;void 0!==y.plotY&&(a=Math.round(w.width),l=Math.floor(w.x),d=l+a,c=Math.round(a/2),t=Math.floor(v?y.q1Plot:y.lowPlot),e=Math.floor(v?y.q3Plot:y.lowPlot),n=Math.floor(y.highPlot),i=Math.floor(y.lowPlot),x||(y.graphic=x=g.g("point").add(h.group),y.stem=g.path().addClass("highcharts-boxplot-stem").add(x),b&&(y.whiskers=g.path().addClass("highcharts-boxplot-whisker").add(x)),v&&(y.box=g.path(void 0).addClass("highcharts-boxplot-box").add(x)),y.medianShape=g.path(void 0).addClass("highcharts-boxplot-median").add(x)),f.styledMode||($.stroke=y.stemColor||p.stemColor||S,$["stroke-width"]=s(y.stemWidth,p.stemWidth,p.lineWidth),$.dashstyle=y.stemDashStyle||p.stemDashStyle||p.dashStyle,y.stem.attr($),b&&(C.stroke=y.whiskerColor||p.whiskerColor||S,C["stroke-width"]=s(y.whiskerWidth,p.whiskerWidth,p.lineWidth),C.dashstyle=y.whiskerDashStyle||p.whiskerDashStyle||p.dashStyle,y.whiskers.attr(C)),v&&(O.fill=y.fillColor||p.fillColor||S,O.stroke=p.lineColor||S,O["stroke-width"]=p.lineWidth||0,O.dashstyle=y.boxDashStyle||p.boxDashStyle||p.dashStyle,y.box.attr(O)),k.stroke=y.medianColor||p.medianColor||S,k["stroke-width"]=s(y.medianWidth,p.medianWidth,p.lineWidth),k.dashstyle=y.medianDashStyle||p.medianDashStyle||p.dashStyle,y.medianShape.attr(k)),o=y.stem.strokeWidth()%2/2,x=[["M",m=l+c+o,e],["L",m,n],["M",m,t],["L",m,i]],y.stem[_]({d:x}),v&&(o=y.box.strokeWidth()%2/2,t=Math.floor(t)+o,e=Math.floor(e)+o,x=[["M",l+=o,e],["L",l,t],["L",d+=o,t],["L",d,e],["L",l,e],["Z"]],y.box[_]({d:x})),b&&(o=y.whiskers.strokeWidth()%2/2,n+=o,i+=o,u=/%$/.test(b)?c*parseFloat(b)/100:b/2,x=[["M",m-u,n],["L",m+u,n],["M",m-u,i],["L",m+u,i]],y.whiskers[_]({d:x})),r=Math.round(y.medianPlot),o=y.medianShape.strokeWidth()%2/2,x=[["M",l,r+=o],["L",d,r]],y.medianShape[_]({d:x}))}))},n.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},n.defaultOptions=a(t.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}(t),o(i.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),n.registerSeriesType("boxplot",i),i})),e(t,"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}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=n.noop,a=i.arrayMax,s=i.arrayMin,l=i.isNumber,d=i.merge,c=i.pick,u=i.stableSort;return t=function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,n=c(t.options.itemDistance,20),i=this.legendItem||{},r=this.options,o=r.ranges,a=r.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(r.labels.style.fontSize),o&&o.length&&l(o[0].value)?(u(o,(function(t,e){return e.value-t.value})),this.ranges=o,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(o=this.ranges[0].radius),a=0<(a=a-o+t.width)?a:0,this.maxLabel=t,this.movementX="left"===r.labels.align?a:0,i.labelWidth=e+a+n,i.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,n=this.chart.series[e.seriesIndex],i=this.legend.baseline,o={zIndex:e.zIndex,"stroke-width":e.borderWidth},a={zIndex:e.zIndex,"stroke-width":e.connectorWidth},s={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=n.options.marker.fillOpacity,u=this.chart.styledMode;t.forEach((function(h,p){u||(o.stroke=c(h.borderColor,e.borderColor,n.color),o.fill=c(h.color,e.color,1!==l?r(n.color).setOpacity(l).get("rgba"):n.color),a.stroke=c(h.connectorColor,e.connectorColor,n.color)),t[p].radius=this.getRangeRadius(h.value),t[p]=d(t[p],{center:t[0].radius-t[p].radius+i}),u||d(!0,t[p],{bubbleAttribs:d(o),connectorAttribs:d(a),labelAttribs:s})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,n=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item"),t.symbol.translateX=0,e=t.symbol.translateY=0;for(var i=this.ranges;e<i.length;e++){var r=i[e];r.value>=n&&this.renderRange(r)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,n=e.labels,i=this.chart,r=i.series[e.seriesIndex],o=i.renderer,a=this.symbols;i=a.labels;var s=t.center,l=Math.abs(t.radius),d=e.connectorDistance||0,c=n.align,u=e.connectorWidth,h=this.ranges[0].radius||0,p=s-l-e.borderWidth/2+u/2,f=this.fontMetrics;f=f.f/2-(f.h-f.f)/2;var g=o.styledMode;d=this.legend.options.rtl||"left"===c?-d:d,"center"===c&&(d=0,e.connectorDistance=0,t.labelAttribs.align="center"),c=p+e.labels.y;var m=h+d+e.labels.x;a.bubbleItems.push(o.circle(h,s+((p%1?1:.5)-(u%2?0:.5)),l).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),a.connectors.push(o.path(o.crispLine([["M",h,p],["L",h+d,p]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=o.text(this.formatLabel(t),m,c+f).attr(g?{}:t.labelAttribs).css(g?{}:n.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),i.push(t),t.placed=!0,t.alignAttr={x:m,y:c+f}},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach((function(n){e=n.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var n=this.options,i=n.labels.formatter;n=n.labels.format;var r=this.chart.numberFormatter;return n?e.format(n,t):i?i.call(t):r(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,n){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[n].show():e.connectors[n].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,n=e.options.ranges,i=Number.MAX_VALUE,r=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&((t=e.zData.filter(l)).length&&(i=c(e.options.zMin,Math.min(i,Math.max(s(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),r=c(e.options.zMax,Math.max(r,a(t)))))}));var o=i===r?[{value:r}]:[{value:i},{value:(i+r)/2},{value:r,autoRanges:!0}];return n.length&&n[0].radius&&o.reverse(),o.forEach((function(t,e){n&&n[e]&&(o[e]=d(n[e],t))})),o},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,n=t.legend.options,i=n.floating,r=(n="horizontal"===n.layout)?t.legend.lastLineHeight:0,o=t.plotSizeX,a=t.plotSizeY,s=t.series[this.options.seriesIndex],l=s.getPxExtremes();t=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var d=Math.min(a,o);return s=s.options.maxSize,i||!/%$/.test(s)?e=l:(s=parseFloat(s),e=(d+r-e.h/2)*s/100/(s/100+1),(n&&a-e>=o||!n&&o-e>=a)&&(e=l)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var n=this.legend.options.bubbleLegend;n.minSize=t,n.maxSize=e,n.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}()})),e(t,"Series/Bubble/BubbleLegendComposition.js",[t["Series/Bubble/BubbleLegendDefaults.js"],t["Series/Bubble/BubbleLegendItem.js"],t["Core/Defaults.js"],t["Core/Utilities.js"]],(function(t,e,n,i){function r(t,e,n){var i,r=this.legend,s=0<=o(this);if(r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&s){var l=r.bubbleLegend.options;s=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(s[0],s[1]),l.placed||(r.group.placed=!1,r.allItems.forEach((function(t){(i=t.legendItem||{}).group&&(i.group.translateY=null)}))),r.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),l.placed||(t.setScale(),t.updateNames(),h(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),l.placed=!0,this.getMargins(),t.call(this,e,n),r.bubbleLegend.correctSizes(),d(r,a(r))}else t.call(this,e,n),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),d(r,a(r)))}function o(t){t=t.series;for(var e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1}function a(t){var e,n=[],i=(t=t.allItems).length,r=0;for(e=0;e<i;e++){var o=t[e].legendItem||{},a=(t[e+1]||{}).legendItem||{};if(o.labelHeight&&(t[e].itemHeight=o.labelHeight),t[e]===t[i-1]||o.y!==a.y){for(n.push({height:0}),o=n[n.length-1];r<=e;r++)t[r].itemHeight>o.height&&(o.height=t[r].itemHeight);o.step=e}}return n}function s(t){var n=this.bubbleLegend,i=this.options,r=i.bubbleLegend,a=o(this.chart);n&&n.ranges&&n.ranges.length&&(r.ranges.length&&(r.autoRanges=!!r.ranges[0].autoRanges),this.destroyItem(n)),0<=a&&i.enabled&&r.enabled&&(r.seriesIndex=a,this.bubbleLegend=new e(r,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=o(t),n.bubbleLegend.visible!==t&&(n.update({bubbleLegend:{enabled:t}}),n.bubbleLegend.visible=t),this.visible=e)}function d(t,e){var n,i,r,o,a=t.options.rtl,s=0;t.allItems.forEach((function(t,l){(o=t.legendItem||{}).group&&(n=o.group.translateX||0,i=o.y||0,((r=t.movementX)||a&&t.ranges)&&(r=a?n-t.options.maxSize/2:n+r,o.group.attr({translateX:r})),l>e[s].step&&s++,o.group.attr({translateY:Math.round(i+e[s].height/2)}),o.y=i+e[s].height/2)}))}var c=n.setOptions,u=i.addEvent,h=i.objectEach,p=i.wrap,f=[];return{compose:function(e,n,i){-1===f.indexOf(e)&&(f.push(e),c({legend:{bubbleLegend:t}}),p(e.prototype,"drawChartBox",r)),-1===f.indexOf(n)&&(f.push(n),u(n,"afterGetAllItems",s)),-1===f.indexOf(i)&&(f.push(i),u(i,"legendItemClick",l))}}})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return(n=n.extend)((e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i(n,e),n.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},n}(e.seriesTypes.scatter.prototype.pointClass)).prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o){function a(){var t,e=this,n=this.len,i=this.chart,r=this.isXAxis,o=r?"xData":"yData",a=this.min,s=this.max-a,l=0,d=n,c=n/s;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!i.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var u=n[o];if(r&&((n.onPoint||n).getRadii(0,0,n),n.onPoint&&(n.radii=n.onPoint.radii)),0<s)for(var h=u.length;h--;)if(m(u[h])&&e.dataMin<=u[h]&&u[h]<=e.max){var p=n.radii&&n.radii[h]||0;l=Math.min((u[h]-a)*c-p,l),d=Math.max((u[h]-a)*c+p,d)}}})),t&&0<s&&!this.logarithmic&&(d-=n,c*=(n+Math.max(0,l)-Math.min(d,n))/n,[["min","userMin",l],["max","userMax",d]].forEach((function(t){void 0===b(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/c)})))}var s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=n.parse;n=i.noop;var d=r.series,c=r.seriesTypes;i=c.column.prototype;var u=c.scatter;c=o.addEvent;var h=o.arrayMax,p=o.arrayMin,f=o.clamp,g=o.extend,m=o.isNumber,v=o.merge,b=o.pick,y=[];return o=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 s(n,e),n.compose=function(e,n,i,r){t.compose(n,i,r),-1===y.indexOf(e)&&(y.push(e),e.prototype.beforePadding=a)},n.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},n.prototype.getRadii=function(){var t=this,e=this.zData,n=this.yData,i=[],r=this.chart.bubbleZExtremes,o=this.getPxExtremes(),a=o.minPxSize,s=o.maxPxSize;if(!r){var l,d=Number.MAX_VALUE,c=-Number.MAX_VALUE;this.chart.series.forEach((function(e){e.bubblePadding&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&(e=(e.onPoint||e).getZExtremes())&&(d=Math.min(d||e.zMin,e.zMin),c=Math.max(c||e.zMax,e.zMax),l=!0)})),l?(r={zMin:d,zMax:c},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}var u=0;for(o=e.length;u<o;u++){var h=e[u];i.push(this.getRadius(r.zMin,r.zMax,a,s,h,n&&n[u]))}this.radii=i},n.prototype.getRadius=function(t,e,n,i,r,o){var a=this.options,s="width"!==a.sizeBy,l=a.zThreshold,d=e-t,c=.5;if(null===o||null===r)return null;if(m(r)){if(a.sizeByAbsoluteValue&&(r=Math.abs(r-l),d=Math.max(e-l,Math.abs(t-l)),t=0),r<t)return n/2-1;0<d&&(c=(r-t)/d)}return s&&0<=c&&(c=Math.sqrt(c)),Math.ceil(n+c*(i-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(t,e){var n=this.options.marker.fillOpacity;return t=d.prototype.pointAttribs.call(this,t,e),1!==n&&(t.fill=l(t.fill).setOpacity(n).get("rgba")),t},n.prototype.translate=function(){e.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var t=this.data,e=this.radii,n=this.getPxExtremes().minPxSize,i=t.length;i--;){var r=t[i],o=e?e[i]:0;m(o)&&o>=n/2?(r.marker=g(r.marker,{radius:o,width:2*o,height:2*o}),r.dlBox={x:r.plotX-o,y:r.plotY-o,width:2*o,height:2*o}):(r.shapeArgs=r.plotY=r.dlBox=void 0,r.isInside=!1)}},n.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"==typeof e){var n=/%$/.test(e);e=parseInt(e,10)}return n?t*e/100:e},n=e(b(this.options.minSize,8));return{minPxSize:n,maxPxSize:e=Math.max(e(b(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(m);if(e.length){var n=b(t.zMin,f(p(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=b(t.zMax,h(e)),m(n)&&m(t))return{zMin:n,zMax:t}}},n.defaultOptions=v(u.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return m(e)?t(e,-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}(u),g(o.prototype,{alignDataLabel:i.alignDataLabel,applyZones:n,bubblePadding:!0,buildKDTree:n,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),c(o,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),c(o,"remove",(function(t){delete t.target.chart.bubbleZExtremes})),r.registerSeriesType("bubble",o),o})),e(t,"Series/ColumnRange/ColumnRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes;t=i.column.prototype.pointClass.prototype;var r=e.extend,o=e.isNumber;return r((e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.isValid=function(){return o(this.low)},e}(i.arearange.prototype.pointClass)).prototype,{setState:t.setState}),e})),e(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.seriesTypes,a=o.arearange,s=o.column,l=o.column.prototype,d=i.clamp;o=i.extend;var c=i.isNumber,u=i.merge,h=i.pick,p={pointRange:null,marker:null,states:{hover:{halo:!1}}};return i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.setOptions=function(){return u(!0,arguments[0],{stacking:void 0}),a.prototype.setOptions.apply(this,arguments)},e.prototype.translate=function(){var t,e,n,i,r=this,o=this.yAxis,a=this.xAxis,s=a.startAngleRad,u=this.chart,p=this.xAxis.isRadial,f=Math.max(u.chartWidth,u.chartHeight)+999;l.translate.apply(this),this.points.forEach((function(l){var g=l.shapeArgs||{},m=r.options.minPointLength,v=l.plotY,b=o.translate(l.high,0,1,0,1);c(b)&&c(v)&&(l.plotHigh=d(b,-f,f),l.plotLow=d(v,-f,f),i=l.plotHigh,t=h(l.rectPlotY,l.plotY)-l.plotHigh,Math.abs(t)<m?(t+=e=m-t,i-=e/2):0>t&&(i-=t*=-1),p&&r.polar?(n=l.barX+s,l.shapeType="arc",l.shapeArgs=r.polar.arc(i+t,i,n,n+l.pointWidth)):(g.height=t,g.y=i,m=void 0===(m=g.x)?0:m,g=void 0===(g=g.width)?0:g,l.tooltipPos=u.inverted?[o.len+o.pos-u.plotLeft-i-t/2,a.len+a.pos-u.plotTop-m-g/2,t]:[a.left-u.plotLeft+m+g/2,o.pos-u.plotTop+i+t/2,t]))}))},e.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},e.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},e.defaultOptions=u(s.defaultOptions,a.defaultOptions,p),e}(a),o(i.prototype,{directTouch:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:l.adjustForMissingColumns,animate:l.animate,crispCol:l.crispCol,drawGraph:e,drawPoints:l.drawPoints,getSymbol:e,drawTracker:l.drawTracker,getColumnMetrics:l.getColumnMetrics}),n.registerSeriesType("columnrange",i),i})),e(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.prototype,o=n.clamp,a=n.merge,s=n.pick;return n=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 i(n,e),n.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=s(n.borderWidth,i?0:1);var a=t.yAxis,l=n.threshold,d=t.translatedThreshold=a.getThreshold(l),c=s(n.minPointLength,5),u=t.getColumnMetrics(),h=u.width,p=t.barW=Math.max(h,1+2*i),f=t.pointXOffset=u.offset;e.inverted&&(d-=.5),n.pointPadding&&(p=Math.ceil(p)),r.translate.apply(t),t.points.forEach((function(i){var r=s(i.yBottom,d),u=999+Math.abs(r),g=o(i.plotY,-u,a.len+u);u=i.plotX+f;var m,v=p/2,b=Math.min(g,r);r=Math.max(g,r)-b,i.barX=u,i.pointWidth=h,i.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-g,t.xAxis.len-u-v,r]:[u+v,g+a.pos-e.plotTop,r],g=l+(i.total||i.y),"percent"===n.stacking&&(g=l+(0>i.y)?-100:100),g=a.toPixels(g,!0);var y=(m=e.plotHeight-g-(e.plotHeight-d))?v*(b-g)/m:0,x=m?v*(b+r-g)/m:0;m=u-y+v,y=u+y+v;var _=u+x+v;x=u-x+v;var w=b-c,O=b+r;0>i.y&&(w=b,O=b+r+c),e.inverted&&(x=v*(g-((_=a.width-b)-r))/(m=g-(a.width-d)),y=(m=u+v+(y=v*(g-_)/m))-2*y,_=u-x+v,x=u+x+v,w=b,O=b+r-c,0>i.y&&(O=b+r+c)),i.shapeType="path",i.shapeArgs={x:m,y:w,width:y-m,height:r,d:[["M",m,w],["L",y,w],["L",_,O],["L",x,O],["Z"]]}}))},n.defaultOptions=a(t.defaultOptions,{}),n}(t),e.registerSeriesType("columnpyramid",n),n})),e(t,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{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}})),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Series/ErrorBar/ErrorBarSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=i.seriesTypes.arearange,s=r.addEvent,l=r.merge;r=r.extend;var d=function(i){function r(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(r,i),r.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},r.prototype.drawDataLabels=function(){var t=this.pointValKey;a&&(a.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]})))},r.prototype.toYData=function(t){return[t.low,t.high]},r.defaultOptions=l(t.defaultOptions,n),r}(t);return s(d,"afterTranslate",(function(){this.points.forEach((function(t){t.plotLow=t.plotY}))}),{order:0}),r(d.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),i.registerSeriesType("errorbar",d),d})),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.shapeArgs=void 0,e}return e(n,t),n.prototype.setState=function(t){this.state=t},n}(t.series.prototype.pointClass)})),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.series,a=n.seriesTypes.column,s=i.clamp,l=i.isNumber,d=i.extend,c=i.merge,u=i.pick,h=i.pInt;return d((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e.yAxis=void 0,e}return r(e,t),e.prototype.translate=function(){var t=this.yAxis,e=this.options,n=t.center;this.generatePoints(),this.points.forEach((function(i){var r=c(e.dial,i.dial),o=h(r.radius)*n[2]/200,a=h(r.baseLength)*o/100,d=h(r.rearLength)*o/100,u=r.baseWidth,p=r.topWidth,f=e.overshoot,g=t.startAngleRad+t.translate(i.y,void 0,void 0,void 0,!0);(l(f)||!1===e.wrap)&&(f=l(f)?f/180*Math.PI:0,g=s(g,t.startAngleRad-f,t.endAngleRad+f)),g=180*g/Math.PI,i.shapeType="path",i.shapeArgs={d:r.path||[["M",-d,-u/2],["L",a,-u/2],["L",o,-p/2],["L",o,p/2],["L",a,u/2],["L",-d,u/2],["Z"]],translateX:n[0],translateY:n[1],rotation:g},i.plotX=n[0],i.plotY=n[1]}))},e.prototype.drawPoints=function(){var t=this,e=t.chart,n=t.yAxis.center,i=t.pivot,r=t.options,o=r.pivot,a=e.renderer;t.points.forEach((function(n){var i=n.graphic,o=n.shapeArgs,s=o.d,l=c(r.dial,n.dial);i?(i.animate(o),o.d=s):n.graphic=a[n.shapeType](o).attr({rotation:o.rotation,zIndex:1}).addClass("highcharts-dial").add(t.group),e.styledMode||n.graphic[i?"animate":"attr"]({stroke:l.borderColor,"stroke-width":l.borderWidth,fill:l.backgroundColor})})),i?i.animate({translateX:n[0],translateY:n[1]}):o&&(t.pivot=a.circle(0,0,o.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(t.group),e.styledMode||t.pivot.attr({fill:o.backgroundColor,stroke:o.borderColor,"stroke-width":o.borderWidth}))},e.prototype.animate=function(t){var e=this;t||e.points.forEach((function(t){var n=t.graphic;n&&(n.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),n.animate({rotation:t.shapeArgs.rotation},e.options.animation))}))},e.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),o.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){o.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),u(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=c(o.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),e}(o)).prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:a.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",i),i})),e(t,"Series/DragNodesComposition.js",[t["Core/Utilities.js"]],(function(t){function e(){var t,e,i,r=this;r.container&&(t=n(r.container,"mousedown",(function(t){var o=r.hoverPoint;o&&o.series&&o.series.hasDraggableNodes&&o.series.options.draggable&&(o.series.onMouseDown(o,t),e=n(r.container,"mousemove",(function(t){return o&&o.series&&o.series.onMouseMove(o,t)})),i=n(r.container.ownerDocument,"mouseup",(function(t){return e(),i(),o&&o.series&&o.series.onMouseUp(o,t)})))}))),n(r,"destroy",(function(){t()}))}var n=t.addEvent,i=[];return{compose:function(t){-1===i.indexOf(t)&&(i.push(t),n(t,"load",e))},onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var n=this.chart,i=n.pointer.normalize(e);e=t.fixedPosition.chartX-i.chartX,i=t.fixedPosition.chartY-i.chartY;var r=n.graphLayoutsLookup,o=void 0,a=void 0;(5<Math.abs(e)||5<Math.abs(i))&&(o=t.fixedPosition.plotX-e,a=t.fixedPosition.plotY-i,n.isInsidePlot(o,a)&&(t.plotX=o,t.plotY=a,t.hasDragged=!0,this.redrawHalo(t),r.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}}})),e(t,"Series/GraphLayoutComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Utilities.js"]],(function(t,e){function n(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw())}function i(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())}function r(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))}function o(){var t=!1,e=function(e){e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()&&!e.enableSimulation&&(e.beforeStep&&e.beforeStep(),e.step(),n=!1,t=!0)};if(this.graphLayoutsLookup){for(a(!1,this),this.graphLayoutsLookup.forEach((function(t){return t.start()}));!n;){var n=!0;this.graphLayoutsLookup.forEach(e)}t&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}}var a=t.setAnimation,s=e.addEvent,l=[];return{compose:function(t){l.indexOf(t)&&(l.push(t),s(t,"afterPrint",n),s(t,"beforePrint",i),s(t,"predraw",r),s(t,"render",o))},integrations:{},layouts:{}}})),e(t,"Series/PackedBubble/PackedBubblePoint.js",[t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.degree=NaN,t.mass=NaN,t.radius=NaN,t.options=void 0,t.series=void 0,t.value=null,t}return i(r,n),r.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e.prototype.destroy.apply(this,arguments)},r.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var n=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,e.prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=n}else e.prototype.firePointEvent.apply(this,arguments)},r.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,e.prototype.select.apply(this,arguments),n.getSelectedPoints=t.prototype.getSelectedPoints):e.prototype.select.apply(this,arguments)},r}(n.seriesTypes.bubble.prototype.pointClass)})),e(t,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[t["Core/Utilities.js"]],(function(t){var e=t.isNumber;return{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 t=this.series.chart.numberFormatter,n=this.point.value;return e(n)?t(n,-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}}})),e(t,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(t,e,n){var i=t.getMass(),r=-n.x*e*this.diffTemperature;e=-n.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=r*i.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*i.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=r*i.toNode/t.toNode.degree,t.toNode.plotY+=e*i.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return(e-t)/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,n=(n-(this.box.top+this.box.height)/2)*t,this.nodes.forEach((function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=n/t.mass/t.degree)}))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)},integrate:function(t,e){var n=-t.options.friction,i=t.options.maxSpeed,r=(e.plotX+e.dispX-e.prevX)*n;n*=e.plotY+e.dispY-e.prevY;var o=Math.abs,a=o(r)/(r||1);o=o(n)/(n||1),r=a*Math.min(i,Math.abs(r)),n=o*Math.min(i,Math.abs(n)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=r,e.plotY+=n,e.temperature=t.vectorLength({x:r,y:n})},repulsive:function(t,e,n){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=n.x*e,t.plotY+=n.y*e)},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)}}})),e(t,"Series/PackedBubble/PackedBubbleIntegration.js",[t["Core/Globals.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e){return{barycenter:function(){for(var t,e,n=this.options.gravitationalConstant,i=this.box,r=this.nodes,o=0;o<r.length;o++){var a=r[o];this.options.splitSeries&&!a.isParentNode?(t=a.series.parentNode.plotX,e=a.series.parentNode.plotY):(t=i.width/2,e=i.height/2),a.fixedPosition||(a.plotX-=(a.plotX-t)*n/(a.mass*Math.sqrt(r.length)),a.plotY-=(a.plotY-e)*n/(a.mass*Math.sqrt(r.length)))}},getK:t.noop,integrate:e.integrate,repulsive:function(t,e,n,i){var r=e*this.diffTemperature/t.mass/t.degree;e=n.x*r,n=n.y*r,t.fixedPosition||(t.plotX+=e,t.plotY+=n),i.fixedPosition||(i.plotX-=e,i.plotY-=n)},repulsiveForceFunction:function(t,e,n,i){return Math.min(t,(n.marker.radius+i.marker.radius)/2)}}})),e(t,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(t,e,n,i){var r=t.getMass(),o=n.x/i*e;e*=n.y/i,t.fromNode.fixedPosition||(t.fromNode.dispX-=o*r.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*r.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=o*r.toNode/t.toNode.degree,t.toNode.dispY+=e*r.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach((function(i){if(!i.fixedPosition){var r=i.getDegree();r*=1+r/2,i.dispX+=(e-i.plotX)*t*r/i.degree,i.dispY+=(n-i.plotY)*t*r/i.degree}}))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var n=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==n&&(e.plotX+=e.dispX/n*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/n*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,n,i){t.dispX+=n.x/i*e/t.degree,t.dispY+=n.y/i*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}}})),e(t,"Series/Networkgraph/QuadTreeNode.js",[],(function(){return function(){function t(t){this.isInternal=this.isEmpty=this.body=!1,this.nodes=[],this.box=t,this.boxSize=Math.min(t.width,t.height)}return t.prototype.divideBox=function(){var e=this.box.width/2,n=this.box.height/2;this.nodes[0]=new t({left:this.box.left,top:this.box.top,width:e,height:n}),this.nodes[1]=new t({left:this.box.left+e,top:this.box.top,width:e,height:n}),this.nodes[2]=new t({left:this.box.left+e,top:this.box.top+n,width:e,height:n}),this.nodes[3]=new t({left:this.box.left,top:this.box.top+n,width:e,height:n})},t.prototype.getBoxPosition=function(t){var e=t.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2},t.prototype.insert=function(e,n){this.isInternal?this.nodes[this.getBoxPosition(e)].insert(e,n-1):(this.isEmpty=!1,this.body?n?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,n-1),this.body=!0),this.nodes[this.getBoxPosition(e)].insert(e,n-1)):((n=new t({top:e.plotX||NaN,left:e.plotY||NaN,width:.1,height:.1})).body=e,n.isInternal=!1,this.nodes.push(n)):(this.isInternal=!1,this.body=e))},t.prototype.updateMassAndCenter=function(){var t=0,e=0,n=0;if(this.isInternal){for(var i=0,r=this.nodes;i<r.length;i++){var o=r[i];o.isEmpty||(t+=o.mass,e+=o.plotX*o.mass,n+=o.plotY*o.mass)}e/=t,n/=t}else this.body&&(t=this.body.mass,e=this.body.plotX,n=this.body.plotY);this.mass=t,this.plotX=e,this.plotY=n},t}()})),e(t,"Series/Networkgraph/QuadTree.js",[t["Series/Networkgraph/QuadTreeNode.js"]],(function(t){return function(){function e(e,n,i,r){this.box={left:e,top:n,width:i,height:r},this.maxDepth=25,this.root=new t(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}return e.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))},e.prototype.insertNodes=function(t){for(var e=0;e<t.length;e++)this.root.insert(t[e],this.maxDepth)},e.prototype.visitNodeRecursive=function(t,e,n){var i;if(t||(t=this.root),t===this.root&&e&&(i=e(t)),!1!==i){for(var r=0,o=t.nodes;r<o.length;r++){var a=o[r];if(a.isInternal){if(e&&(i=e(a)),!1===i)continue;this.visitNodeRecursive(a,e,n)}else a.body&&e&&e(a.body);n&&n(a)}t===this.root&&n&&n(t)}},e}()})),e(t,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[t["Series/Networkgraph/EulerIntegration.js"],t["Core/Globals.js"],t["Series/GraphLayoutComposition.js"],t["Series/Networkgraph/QuadTree.js"],t["Core/Utilities.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e,n,i,r,o){var a=e.win,s=r.clamp,l=r.defined,d=r.isFunction,c=r.pick;return function(){function e(){this.attractiveForce=void 0,this.box={},this.currentStep=0,this.initialRendering=!0,this.integration=void 0,this.links=[],this.nodes=[],this.repulsiveForce=this.quadTree=this.options=void 0,this.series=[],this.simulation=!1}return e.compose=function(i){n.compose(i),n.integrations.euler=t,n.integrations.verlet=o,n.layouts["reingold-fruchterman"]=e},e.prototype.init=function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.integrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=c(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},e.prototype.updateSimulation=function(t){this.enableSimulation=c(t,this.options.enableSimulation)},e.prototype.start=function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach((function(t){t.finishedAnimating=!0,t.render()}))),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},e.prototype.step=function(){var t=this,e=this.series;this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(var n=0,i=this.forces||[];n<i.length;n++)this[i[n]+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(n=0;n<e.length;n++)(i=e[n]).chart&&i.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&a.cancelAnimationFrame(this.simulation),this.simulation=a.requestAnimationFrame((function(){return t.step()}))):this.simulation=!1}},e.prototype.stop=function(){this.simulation&&a.cancelAnimationFrame(this.simulation)},e.prototype.setArea=function(t,e,n,i){this.box={left:t,top:e,width:n,height:i}},e.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)},e.prototype.addElementsToCollection=function(t,e){for(var n=0;n<t.length;n++){var i=t[n];-1===e.indexOf(i)&&e.push(i)}},e.prototype.removeElementFromCollection=function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},e.prototype.clear=function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},e.prototype.resetSimulation=function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},e.prototype.restartSimulation=function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},e.prototype.setMaxIterations=function(t){this.maxIterations=c(t,this.options.maxIterations)},e.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},e.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},e.prototype.setInitialRendering=function(t){this.initialRendering=t},e.prototype.createQuadTree=function(){this.quadTree=new i(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},e.prototype.initPositions=function(){var t=this.options.initialPositions;if(d(t)){t.call(this),t=0;for(var e=this.nodes;t<e.length;t++){var n=e[t];l(n.prevX)||(n.prevX=n.plotX),l(n.prevY)||(n.prevY=n.plotY),n.dispX=0,n.dispY=0}}else"circle"===t?this.setCircularPositions():this.setRandomPositions()},e.prototype.setCircularPositions=function(){for(var t=this.box,e=this.nodes,n=2*Math.PI/(e.length+1),i=e.filter((function(t){return 0===t.linksTo.length})),r={},o=this.options.initialPositionRadius,a=function(t){var e=0;for(t=t.linksFrom||[];e<t.length;e++){var n=t[e];r[n.toNode.id]||(r[n.toNode.id]=!0,s.push(n.toNode),a(n.toNode))}},s=[],l=0;l<i.length;l++){var d=i[l];s.push(d),a(d)}if(s.length)for(i=0;i<e.length;i++)l=e[i],-1===s.indexOf(l)&&s.push(l);else s=e;for(i=0,l=s.length;i<l;++i)(e=s[i]).plotX=e.prevX=c(e.plotX,t.width/2+o*Math.cos(i*n)),e.plotY=e.prevY=c(e.plotY,t.height/2+o*Math.sin(i*n)),e.dispX=0,e.dispY=0},e.prototype.setRandomPositions=function(){for(var t,e=this.box,n=this.nodes,i=n.length+1,r=function(t){return(t=t*t/Math.PI)-Math.floor(t)},o=0,a=n.length;o<a;++o)(t=n[o]).plotX=t.prevX=c(t.plotX,e.width*r(o)),t.plotY=t.prevY=c(t.plotY,e.height*r(i+o)),t.dispX=0,t.dispY=0},e.prototype.force=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.integration[t].apply(this,e)},e.prototype.barycenterForces=function(){this.getBarycenter(),this.force("barycenter")},e.prototype.getBarycenter=function(){for(var t=0,e=0,n=0,i=0,r=this.nodes;i<r.length;i++){var o=r[i];e+=o.plotX*o.mass,n+=o.plotY*o.mass,t+=o.mass}return this.barycenter={x:e,y:n,xFactor:e/t,yFactor:n/t}},e.prototype.barnesHutApproximation=function(t,e){var n=this.getDistXY(t,e),i=this.vectorLength(n);if(t!==e&&0!==i)if(e.isInternal)if(e.boxSize/i<this.options.theta&&0!==i){var r=this.repulsiveForce(i,this.k);this.force("repulsive",t,r*e.mass,n,i);var o=!1}else o=!0;else r=this.repulsiveForce(i,this.k),this.force("repulsive",t,r*e.mass,n,i);return o},e.prototype.repulsiveForces=function(){var t=this;if("barnes-hut"===this.approximation)for(var e=function(e){n.quadTree.visitNodeRecursive(null,(function(n){return t.barnesHutApproximation(e,n)}))},n=this,i=0,r=this.nodes;i<r.length;i++){var o=r[i];e(o)}else{r=i=e=void 0;for(var a=0,s=this.nodes;a<s.length;a++){o=s[a];for(var l=0,d=this.nodes;l<d.length;l++){var c=d[l];o===c||o.fixedPosition||(r=this.getDistXY(o,c),0!==(i=this.vectorLength(r))&&(e=this.repulsiveForce(i,this.k),this.force("repulsive",o,e*c.mass,r,i)))}}}},e.prototype.attractiveForces=function(){for(var t,e,n,i=0,r=this.links;i<r.length;i++){var o=r[i];o.fromNode&&o.toNode&&(t=this.getDistXY(o.fromNode,o.toNode),0!==(e=this.vectorLength(t))&&(n=this.attractiveForce(e,this.k),this.force("attractive",o,n,t,e)))}},e.prototype.applyLimits=function(){for(var t=0,e=this.nodes;t<e.length;t++){var n=e[t];if(n.fixedPosition)break;this.integration.integrate(this,n),this.applyLimitBox(n,this.box),n.dispX=0,n.dispY=0}},e.prototype.applyLimitBox=function(t,e){var n=t.radius;t.plotX=s(t.plotX,e.left+n,e.width-n),t.plotY=s(t.plotY,e.top+n,e.height-n)},e.prototype.coolDown=function(t,e,n){return t-e*n},e.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},e.prototype.getSystemTemperature=function(){for(var t=0,e=0,n=this.nodes;e<n.length;e++)t+=n[e].temperature;return t},e.prototype.vectorLength=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.prototype.getDistR=function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},e.prototype.getDistXY=function(t,e){var n=t.plotX-e.plotX;return{x:n,y:t=t.plotY-e.plotY,absX:Math.abs(n),absY:Math.abs(t)}},e}()})),e(t,"Series/PackedBubble/PackedBubbleLayout.js",[t["Series/GraphLayoutComposition.js"],t["Series/PackedBubble/PackedBubbleIntegration.js"],t["Series/Networkgraph/ReingoldFruchtermanLayout.js"],t["Core/Utilities.js"]],(function(t,e,n,i){function r(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t}function o(){this.allDataPoints&&delete this.allDataPoints}var a=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=i.addEvent,l=i.pick,d=[];return i=function(i){function c(){var t=null!==i&&i.apply(this,arguments)||this;return t.index=NaN,t.nodes=[],t.options=void 0,t.series=[],t}return a(c,i),c.compose=function(i){n.compose(i),t.integrations.packedbubble=e,t.layouts.packedbubble=c,-1===d.indexOf(i)&&(d.push(i),s(i,"beforeRedraw",o),i.prototype.getSelectedParentNodes=r)},c.prototype.beforeStep=function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},c.prototype.isStable=function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>t||0>=this.temperature},c.prototype.setCircularPositions=function(){for(var t,e,n=this.box,i=this.nodes,r=2*Math.PI/(i.length+1),o=this.options.initialPositionRadius,a=0,s=0;s<i.length;s++){var d=i[s];this.options.splitSeries&&!d.isParentNode?(t=d.series.parentNode.plotX,e=d.series.parentNode.plotY):(t=n.width/2,e=n.height/2),d.plotX=d.prevX=l(d.plotX,t+o*Math.cos(d.index||a*r)),d.plotY=d.prevY=l(d.plotY,e+o*Math.sin(d.index||a*r)),d.dispX=0,d.dispY=0,a++}},c.prototype.repulsiveForces=function(){var t,e,n,i=this,r=i.options.bubblePadding;i.nodes.forEach((function(o){o.degree=o.mass,o.neighbours=0,i.nodes.forEach((function(a){t=0,o===a||o.fixedPosition||!i.options.seriesInteraction&&o.series!==a.series||(n=i.getDistXY(o,a),0>(e=i.vectorLength(n)-(o.marker.radius+a.marker.radius+r))&&(o.degree+=.01,o.neighbours++,t=i.repulsiveForce(-e/Math.sqrt(o.neighbours),i.k,o,a)),i.force("repulsive",o,t*a.mass,n,a,e))}))}))},c.prototype.applyLimitBox=function(t,e){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var n=this.getDistXY(t,t.series.parentNode),r=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(n);0>r&&r>-2*t.marker.radius&&(t.plotX-=.01*n.x,t.plotY-=.01*n.y)}i.prototype.applyLimitBox.call(this,t,e)},c}(n),t.layouts.packedbubble=i})),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Series/DragNodesComposition.js"],t["Series/GraphLayoutComposition.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],t["Series/PackedBubble/PackedBubbleLayout.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var d=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=t.parse;t=i.noop;var u=s.series.prototype,h=s.seriesTypes.bubble,p=l.addEvent,f=l.clamp,g=l.defined,m=l.extend,v=l.fireEvent,b=l.isArray,y=l.isNumber,x=l.merge,_=l.pick;return l=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.layout=void 0,e.options=void 0,e.parentNodeMass=0,e.points=void 0,e.xData=void 0,e}return d(i,t),i.compose=function(t,n,i,r){h.compose(t,n,i,r),e.compose(n),a.compose(n)},i.prototype.accumulateAllPoints=function(){for(var t,e=this.chart,n=[],i=0,r=e.series;i<r.length;i++){var o=r[i];if(o.is("packedbubble")&&o.visible||!e.options.chart.ignoreHiddenSeries){t=o.yData||[];for(var a=0;a<t.length;a++)n.push([null,null,t[a],o.index,a,{id:a,marker:{radius:0}}])}}return n},i.prototype.addLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",i=this.chart.options.chart,r=this.chart.graphLayoutsStorage,o=this.chart.graphLayoutsLookup;r||(this.chart.graphLayoutsStorage=r={},this.chart.graphLayoutsLookup=o=[]);var a=r[e];a||(t.enableSimulation=g(i.forExport)?!i.forExport:t.enableSimulation,r[e]=a=new n.layouts[e],a.init(t),o.splice(a.index,0,a)),this.layout=a,this.points.forEach((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),a.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),a.addElementsToCollection([this],a.series),a.addElementsToCollection(this.points,a.nodes)},i.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",i=this.chart.graphLayoutsStorage,r=this.chart.graphLayoutsLookup;t=x(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var o=i[e+"-series"];o||(i[e+"-series"]=o=new n.layouts[e],o.init(t),r.splice(o.index,0,o)),this.parentNodeLayout=o,this.createParentNodes()},i.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=f(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},i.prototype.calculateZExtremes=function(){var t=this.options.zMin,e=this.options.zMax,n=1/0,i=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){g(t)&&(t>i&&(i=t),t<n&&(n=t))}))})),[t=_(t,n),e=_(e,i)])},i.prototype.checkOverlap=function(t,e){var n=t[0]-e[0],i=t[1]-e[1];return-.001>Math.sqrt(n*n+i*i)-Math.abs(t[2]+e[2])},i.prototype.createParentNodes=function(){var t,e=this,n=this.pointClass,i=this.chart,r=this.parentNodeLayout,o=this.layout.options,a=this.parentNode,s={radius:this.parentNodeRadius,lineColor:this.color,fillColor:c(this.color).brighten(.4).get()};o.parentNodeOptions&&(s=x(o.parentNodeOptions.marker||{},s)),this.parentNodeMass=0,this.points.forEach((function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)})),this.calculateParentRadius(),r.nodes.forEach((function(n){n.seriesIndex===e.index&&(t=!0)})),r.setArea(0,0,i.plotWidth,i.plotHeight),t||(a||(a=(new n).init(this,{mass:this.parentNodeRadius/2,marker:s,dataLabels:{inside:!1},states:{normal:{marker:s},hover:{marker:s}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(a.plotX=this.parentNode.plotX,a.plotY=this.parentNode.plotY),this.parentNode=a,r.addElementsToCollection([this],r.series),r.addElementsToCollection([a],r.nodes))},i.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},i.prototype.destroy=function(){var t=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(e){e.removeElementFromCollection(t,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())),u.destroy.apply(this,arguments)},i.prototype.drawDataLabels=function(){u.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",u.drawDataLabels.call(this,[this.parentNode]))},i.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker;e={fill:e.fillColor||c(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":_(e.lineWidth,this.options.lineWidth)},this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius();var n=x({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},e);this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(e.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(n)}},i.prototype.drawTracker=function(){var e=this.parentNode;if(t.prototype.drawTracker.call(this),e){var n=b(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[];e.graphic&&(e.graphic.element.point=e),n.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))}},i.prototype.getPointRadius=function(){var t,e,n,i,r=this,o=this.chart,a=this.options,s=a.useSimulation,l=Math.min(o.plotWidth,o.plotHeight),d={},c=[],u=o.allDataPoints||[],h=u.length;["minSize","maxSize"].forEach((function(t){var e=parseInt(a[t],10),n=/%$/.test(a[t]);d[t]=n?l*e/100:e*Math.sqrt(h)})),o.minRadius=t=d.minSize/Math.sqrt(h),o.maxRadius=e=d.maxSize/Math.sqrt(h);var p=s?this.calculateZExtremes():[t,e];u.forEach((function(o,a){n=s?f(o[2],p[0],p[1]):o[2],0===(i=r.getRadius(p[0],p[1],t,e,n))&&(i=null),u[a][2]=i,c.push(i)})),this.radii=c},i.prototype.init=function(){return u.init.apply(this,arguments),this.eventsToUnbind.push(p(this,"updatedData",(function(){var t=this;this.chart.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)}),this)}))),this},i.prototype.onMouseUp=function(t){var n=t;if(n.fixedPosition&&!n.removed){var i,r=this.layout,o=this.parentNodeLayout;o&&r.options.dragBetweenSeries&&o.nodes.forEach((function(t){n&&n.marker&&t!==n.series.parentNode&&(i=r.getDistXY(n,t),0>r.vectorLength(i)-t.marker.radius-n.marker.radius&&(t.series.addPoint(x(n.options,{plotX:n.plotX,plotY:n.plotY}),!1),r.removeElementFromCollection(n,r.nodes),n.remove()))})),e.onMouseUp.apply(this,arguments)}},i.prototype.placeBubbles=function(t){var e,n=this.checkOverlap,i=this.positionBubble,r=[],o=1,a=0,s=0,l=[];if((t=t.sort((function(t,e){return e[2]-t[2]}))).length){if(r.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(r.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,n(l=i(r[o][a],r[o-1][s],t[e]),r[o][0])?(r.push([]),s=0,r[o+1].push(i(r[o][a],r[o][0],t[e])),o++,a=0):1<o&&r[o-1][s+1]&&n(l,r[o-1][s+1])?(s++,r[o].push(i(r[o][a],r[o-1][s],t[e])),a++):(a++,r[o].push(l));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),l=this.chart.rawPositions}return l},i.prototype.pointAttribs=function(t,e){var n=this.options,i=n.marker;return t&&t.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(i=n.layoutAlgorithm.parentNodeOptions.marker),n=i.fillOpacity,t=u.pointAttribs.call(this,t,e),1!==n&&(t["fill-opacity"]=n),t},i.prototype.positionBubble=function(t,e,n){var i=Math.sqrt,r=Math.asin,o=Math.acos,a=Math.pow,s=Math.abs;return i=i(a(t[0]-e[0],2)+a(t[1]-e[1],2)),o=o((a(i,2)+a(n[2]+e[2],2)-a(n[2]+t[2],2))/(2*(n[2]+e[2])*i)),r=r(s(t[0]-e[0])/i),t=(0>t[1]-e[1]?0:Math.PI)+o+r*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+n[2])*Math.sin(t),e[1]-(e[2]+n[2])*Math.cos(t),n[2],n[3],n[4]]},i.prototype.render=function(){var t=[];u.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){b(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},i.prototype.resizeRadius=function(){for(var t,e,n=this.chart,i=n.rawPositions,r=Math.min,o=Math.max,a=n.plotLeft,s=n.plotTop,l=n.plotHeight,d=n.plotWidth,c=t=Number.POSITIVE_INFINITY,u=e=Number.NEGATIVE_INFINITY,h=0;h<i.length;h++){var p=i[h],f=p[2];c=r(c,p[0]-f),u=o(u,p[0]+f),t=r(t,p[1]-f),e=o(e,p[1]+f)}if(p=[u-c,e-t],r=r.apply([],[(d-a)/p[0],(l-s)/p[1]]),1e-10<Math.abs(r-1)){for(n=0;n<i.length;n++)(p=i[n])[2]*=r;this.placeBubbles(i)}else n.diffY=l/2+s-t-(e-t)/2,n.diffX=d/2+a-c-(u-c)/2},i.prototype.seriesBox=function(){var t,e=this.chart,n=Math.max,i=Math.min,r=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){g(e.plotX)&&g(e.plotY)&&e.marker.radius&&(t=e.marker.radius,r[0]=i(r[0],e.plotX-t),r[1]=n(r[1],e.plotX+t),r[2]=i(r[2],e.plotY-t),r[3]=n(r[3],e.plotY+t))})),y(r.width/r.height)?r:null},i.prototype.setVisible=function(){var t=this;u.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach((function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)})))},i.prototype.translate=function(){var t=this.chart,e=this.data,n=this.index,i=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),g(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),i)var r=t.allDataPoints;else r=this.placeBubbles(t.allDataPoints),this.options.draggable=!1;for(var o=0,a=r;o<a.length;o++){var s=a[o];if(s[3]===n){r=e[s[4]];var l=_(s[2],void 0);i||(r.plotX=s[0]-t.plotLeft+t.diffX,r.plotY=s[1]-t.plotTop+t.diffY),y(l)&&(r.marker=m(r.marker,{radius:l,width:2*l,height:2*l}),r.radius=l)}}i&&this.deferLayout(),v(this,"afterTranslate")},i.defaultOptions=x(h.defaultOptions,o),i}(h),m(l.prototype,{pointClass:r,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],alignDataLabel:u.alignDataLabel,indexateNodes:t,onMouseDown:e.onMouseDown,onMouseMove:e.onMouseMove,redrawHalo:e.redrawHalo,searchPoint:t}),s.registerSeriesType("packedbubble",l),l})),e(t,"Series/Polygon/PolygonSeries.js",[t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();t=t.noop;var o=n.series,a=n.seriesTypes,s=a.area,l=a.line,d=a.scatter;a=i.extend;var c=i.merge;return a((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getGraphPath=function(){for(var t=l.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,s.prototype.drawGraph.call(this)},e.defaultOptions=c(d.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),e}(d)).prototype,{type:"polygon",drawLegendSymbol:e.drawRectangle,drawTracker:o.prototype.drawTracker,setStackedPoints:t}),n.registerSeriesType("polygon",i),i})),e(t,"Core/Axis/WaterfallAxis.js",[t["Core/Axis/Stacking/StackItem.js"],t["Core/Utilities.js"]],(function(t,e){var n,i=e.addEvent,r=e.objectEach;return function(e){function n(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function o(){var t=this.options.stackLabels;t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function a(){for(var t=this.axes,e=this.series,n=e.length;n--;)e[n].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function e(t){this.axis=t,this.stacks={changed:!1}}return e.prototype.renderStackTotals=function(){var e=this.axis,n=e.waterfall.stacks,i=e.stacking&&e.stacking.stackTotalGroup,o=new t(e,e.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=o,i&&r(n,(function(e){r(e,(function(e,n){o.total=e.stackTotal,o.x=+n,e.label&&(o.label=e.label),t.prototype.render.call(o,i),e.label=o.label,delete o.label}))})),o.total=null},e}();e.Composition=l,e.compose=function(t,e){i(t,"init",s),i(t,"afterBuildStacks",n),i(t,"afterRender",o),i(e,"beforeRedraw",a)}}(n||(n={})),n})),e(t,"Series/Waterfall/WaterfallPoint.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.isNumber;return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return i(n,t),n.prototype.getClassName=function(){var t=e.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},n.prototype.isValid=function(){return r(this.y)||this.isSum||!!this.isIntermediateSum},n}(t.prototype.pointClass)})),e(t,"Series/Waterfall/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/WaterfallAxis.js"],t["Series/Waterfall/WaterfallPoint.js"]],(function(t,e,n,i,r,o){var a=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=n.seriesTypes,l=s.column,d=s.line,c=i.arrayMax,u=i.arrayMin,h=i.correctFloat;s=i.extend;var p=i.isNumber,f=i.merge,g=i.objectEach,m=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.stackedYNeg=void 0,e.stackedYPos=void 0,e.stackKey=void 0,e.xData=void 0,e.yAxis=void 0,e.yData=void 0,e}return a(e,t),e.prototype.generatePoints=function(){l.prototype.generatePoints.apply(this);for(var t=0,e=this.points.length;t<e;t++){var n=this.points[t],i=this.processedYData[t];p(i)&&(n.isIntermediateSum||n.isSum)&&(n.y=h(i))}},e.prototype.translate=function(){var t=this.options,e=this.yAxis,n=m(t.minPointLength,5),i=n/2,r=t.threshold||0;t=t.stacking;var o=e.waterfall.stacks[this.stackKey],a=r,s=r;l.prototype.translate.apply(this);for(var d=this.points,c=0;c<d.length;c++){var u=d[c],h=this.processedYData[c],f=u.shapeArgs;if(f&&p(h)){var g=[0,h],v=u.y;if(t){if(o){if(g=o[c],"overlap"===t){var b=g.stackState[g.stateIndex--];b=0<=v?b:b-v,Object.hasOwnProperty.call(g,"absolutePos")&&delete g.absolutePos,Object.hasOwnProperty.call(g,"absoluteNeg")&&delete g.absoluteNeg}else 0<=v?(b=g.threshold+g.posTotal,g.posTotal-=v):(b=g.threshold+g.negTotal,g.negTotal-=v,b-=v),!g.posTotal&&p(g.absolutePos)&&Object.hasOwnProperty.call(g,"absolutePos")&&(g.posTotal=g.absolutePos,delete g.absolutePos),!g.negTotal&&p(g.absoluteNeg)&&Object.hasOwnProperty.call(g,"absoluteNeg")&&(g.negTotal=g.absoluteNeg,delete g.absoluteNeg);u.isSum||(g.connectorThreshold=g.threshold+g.stackTotal),e.reversed?(h=0<=v?b-v:b+v,v=b):(h=b,v=b-v),u.below=h<=r,f.y=e.translate(h,!1,!0,!1,!0),f.height=Math.abs(f.y-e.translate(v,!1,!0,!1,!0)),(v=e.waterfall.dummyStackItem)&&(v.x=c,v.label=o[c].label,v.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[c],this.stackedYPos[c],void 0,this.xAxis))}}else b=Math.max(s,s+v)+g[0],f.y=e.translate(b,!1,!0,!1,!0),u.isSum?(f.y=e.translate(g[1],!1,!0,!1,!0),f.height=Math.min(e.translate(g[0],!1,!0,!1,!0),e.len)-f.y,u.below=g[1]<=r):u.isIntermediateSum?(0<=v?(h=g[1]+a,v=a):(h=a,v=g[1]+a),e.reversed&&(h^=v,h^=v^=h),f.y=e.translate(h,!1,!0,!1,!0),f.height=Math.abs(f.y-Math.min(e.translate(v,!1,!0,!1,!0),e.len)),a+=g[1],u.below=h<=r):(f.height=0<h?e.translate(s,!1,!0,!1,!0)-f.y:e.translate(s,!1,!0,!1,!0)-e.translate(s-h,!1,!0,!1,!0),s+=h,u.below=s<r),0>f.height&&(f.y+=f.height,f.height*=-1);u.plotY=f.y=Math.round(f.y||0)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height||0),.001),u.yBottom=f.y+f.height,f.height<=n&&!u.isNull?(f.height=n,f.y-=i,u.plotY=f.y,u.minPointLengthOffset=0>u.y?-i:i):(u.isNull&&(f.width=0),u.minPointLengthOffset=0),v=u.plotY+(u.negative?f.height:0),u.below&&(u.plotY+=f.height),u.tooltipPos&&(this.chart.inverted?u.tooltipPos[0]=e.len-v:u.tooltipPos[1]=v),u.isInside=this.isPointInside(u)}}},e.prototype.processData=function(e){var n,i,r,o,a,s=this.options,l=this.yData,d=s.data,c=l.length,u=s.threshold||0;for(a=i=n=r=o=0;a<c;a++){var p=l[a],f=d&&d[a]?d[a]:{};"sum"===p||f.isSum?l[a]=h(i):"intermediateSum"===p||f.isIntermediateSum?(l[a]=h(n),n=0):(i+=p,n+=p),r=Math.min(i,r),o=Math.max(i,o)}t.prototype.processData.call(this,e),s.stacking||(this.dataMin=r+u,this.dataMax=o)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.updateParallelArrays=function(e,n){t.prototype.updateParallelArrays.call(this,e,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},e.prototype.pointAttribs=function(t,e){var n=this.options.upColor;return n&&!t.options.color&&(t.color=0<t.y?n:void 0),delete(t=l.prototype.pointAttribs.call(this,t,e)).dashstyle,t},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){var t,e=this.data,n=this.yAxis,i=e.length,r=Math.round(this.graph.strokeWidth())%2/2,o=Math.round(this.borderWidth)%2/2,a=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,d=[];for(t=1;t<i;t++){var c=e[t].shapeArgs,u=e[t-1],h=e[t-1].shapeArgs,p=n.waterfall.stacks[this.stackKey],f=0<u.y?-h.height:0;p&&h&&c&&(p=p[t-1],l?(p=p.connectorThreshold,f=Math.round(n.translate(p,!1,!0,!1,!0)+(s?f:0))-r):f=h.y+u.minPointLengthOffset+o-r,d.push(["M",(h.x||0)+(a?0:h.width||0),f],["L",(c.x||0)+(a&&c.width||0),f])),h&&d.length&&(!l&&0>u.y&&!s||0<u.y&&s)&&((u=d[d.length-2])&&"number"==typeof u[2]&&(u[2]+=h.height||0),(u=d[d.length-1])&&"number"==typeof u[2]&&(u[2]+=h.height||0))}return d},e.prototype.drawGraph=function(){d.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(){function t(t,e,n,i){if(m){if(x)for(;n<x;n++)m.stackState[n]+=i;else m.stackState[0]=t,x=m.stackState.length;m.stackState.push(m.stackState[x-1]+e)}}var e,n,i,r=this.options,o=this.yAxis.waterfall.stacks,a=r.threshold||0,s=a,l=s,d=this.stackKey,c=this.xData,u=c.length;this.yAxis.stacking.usePercentage=!1;var h=e=n=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var p=o.changed;if((i=o.alreadyChanged)&&0>i.indexOf(d)&&(p=!0),o[d]||(o[d]={}),i=o[d])for(var f=0;f<u;f++){var g=c[f];i[g]&&!p||(i[g]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:p&&i[g]?i[g].label:void 0});var m=i[g],v=this.yData[f];0<=v?m.posTotal+=v:m.negTotal+=v;var b=r.data[f];g=m.absolutePos=m.posTotal;var y=m.absoluteNeg=m.negTotal;m.stackTotal=g+y;var x=m.stackState.length;b&&b.isIntermediateSum?(t(n,e,0,n),n=e,e=a,s^=l,s^=l^=s):b&&b.isSum?(t(a,h,x,0),s=a):(t(s,v,0,h),b&&(h+=v,e+=v)),m.stateIndex++,m.threshold=s,s+=m.stackTotal}o.changed=!1,o.alreadyChanged||(o.alreadyChanged=[]),o.alreadyChanged.push(d)}},e.prototype.getExtremes=function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var n=this.stackedYNeg=[],i=this.stackedYPos=[];return g(e[this.stackKey],"overlap"===t?function(t){n.push(u(t.stackState)),i.push(c(t.stackState))}:function(t){n.push(t.negTotal+t.threshold),i.push(t.posTotal+t.threshold)}),{dataMin:u(n),dataMax:c(i)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=f(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),e}(l),s(i.prototype,{getZonesGraphs:d.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:o}),n.registerSeriesType("waterfall",i),r.compose(t,e),i})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/AxisDefaults.js"],t["Core/Defaults.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=n.noop,s=i.addEvent,l=i.correctFloat,d=i.defined,c=i.extend,u=i.fireEvent,h=i.merge,p=i.pick,f=i.relativeLength,g=i.wrap;return function(e){function n(){this.autoConnect=this.isCircular&&void 0===p(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 i(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&t.options.labels&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map((function(e){return t.ticks[e]&&t.ticks[e].label})).filter((function(t){return!!t}))}}function r(){return a}function m(t,e,n){var i=this.pane.center,r=t.value;if(this.isCircular){if(d(r))t.point&&((o=t.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x));else{var o=t.chartX||0,a=t.chartY||0;r=this.translate(Math.atan2(a-n,o-e)-this.startAngleRad,!0)}o=(t=this.getPosition(r)).x,a=t.y}else d(r)||(o=t.chartX,a=t.chartY),d(o)&&d(a)&&(n=i[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(o-e,2)+Math.pow(a-n,2)),i[2]/2)-i[3]/2,!0));return[r,o||0,a||0]}function v(t,e,n){t=this.pane.center;var i=this.chart,r=this.left||0,o=this.top||0,a=p(e,t[2]/2-this.offset);return void 0===n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(a+=n),this.isCircular||void 0!==e?((e=this.chart.renderer.symbols.arc(r+t[0],o+t[1],a,a,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+t[0]],e.yBounds=[o+t[1]-a]):(e=this.postTranslate(this.angleRad,a),e=[["M",this.center[0]+i.plotLeft,this.center[1]+i.plotTop],["L",e.x,e.y]]),e}function b(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function y(t,e,n){var i=this.chart,r=function(t){if("string"==typeof t){var e=parseInt(t,10);return u.test(t)&&(e=e*s/100),e}return t},o=this.center,a=this.startAngleRad,s=o[2]/2,l=Math.min(this.offset,0),d=this.left||0,c=this.top||0,u=/%$/,h=this.isCircular,f=p(r(n.outerRadius),s),g=r(n.innerRadius);if(r=p(r(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),h||(f=t||0,g=e||0),"circle"!==n.shape&&h)n=a+(t||0),a+=e||0;else{n=-Math.PI/2,a=1.5*Math.PI;var m=!0}f-=l,l=i.renderer.symbols.arc(d+o[0],c+o[1],f,f,{start:Math.min(n,a),end:Math.max(n,a),innerR:p(g,f-(r-l)),open:m}),h&&(h=(a+n)/2,d=d+o[0]+o[2]/2*Math.cos(h),l.xBounds=h>-Math.PI/2&&h<Math.PI/2?[d,i.plotWidth]:[0,d],l.yBounds=[c+o[1]+o[2]/2*Math.sin(h)],l.yBounds[0]+=h>-Math.PI&&0>h||h>Math.PI?-10:10)}return l}function x(t){var e=this,n=this.pane.center,i=this.chart,r=i.inverted,o=t.reverse,a=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=a.innerRadius||"0%",l=a.outerRadius||"100%",d=n[0]+i.plotLeft,c=n[1]+i.plotTop,u=this.height,h=t.isCrosshair;a=n[3]/2;var p,g=t.value,m=this.getPosition(g),v=m.x;if(m=m.y,h&&(g=(m=this.getCrosshairPosition(t,d,c))[0],v=m[1],m=m[2]),this.isCircular)g=Math.sqrt(Math.pow(v-d,2)+Math.pow(m-c,2)),o="string"==typeof s?f(s,1):s/g,i="string"==typeof l?f(l,1):l/g,n&&a&&(o<(a/=g)&&(o=a),i<a&&(i=a)),n=[["M",d+o*(v-d),c-o*(c-m)],["L",v-(1-i)*(v-d),m+(1-i)*(c-m)]];else if((g=this.translate(g))&&(0>g||g>u)&&(g=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,g,a);else if(n=[],i[r?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(p=t)})),p)for(d=p.tickPositions,p.autoConnect&&(d=d.concat([d[0]])),o&&(d=d.slice().reverse()),g&&(g+=a),c=0;c<d.length;c++)a=p.getPosition(d[c],g),n.push(c?["L",a.x,a.y]:["M",a.x,a.y]);return n}function _(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,p(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)}function w(){var t=this.center,e=this.chart,n=this.options.title;return{x:e.plotLeft+t[0]+(n.x||0),y:e.plotTop+t[1]-{high:.5,middle:.25,low:0}[n.align]*t[2]+(n.y||0)}}function O(t){t.beforeSetTickPositions=n,t.createLabelCollector=i,t.getCrosshairPosition=m,t.getLinePath=v,t.getOffset=b,t.getPlotBandPath=y,t.getPlotLinePath=x,t.getPosition=_,t.getTitlePosition=w,t.postTranslate=A,t.setAxisSize=T,t.setAxisTranslation=L,t.setOptions=D}function $(){var t=this.chart,e=this.options,n=this.pane,i=n&&n.options;t.angular&&this.isXAxis||!n||!t.angular&&!t.polar||(t=2*Math.PI,n=(p(i.startAngle,0)-90)*Math.PI/180,i=(p(i.endAngle,p(i.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=n,this.endAngleRad=i,this.offset=e.offset||0,i=(i%t+t)%t,(e=(n%t+t)%t)>Math.PI&&(e-=t),i>Math.PI&&(i-=t),this.normalizedStartAngleRad=e,this.normalizedEndAngleRad=i)}function C(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function k(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}}function S(e){var n,i=this.chart,o=i.inverted,s=i.angular,l=i.polar,d=this.isXAxis,c=this.coll,u=s&&d;e=e.userOptions.pane||0,e=this.pane=i.pane&&i.pane[e],"colorAxis"===c?this.isRadial=!1:(s?(u?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=a,this.render=this.redraw=P,this.setTitle=this.setCategories=this.setScale=a):O(this),(n=!d)&&(this.defaultPolarOptions=F)):l&&(O(this),this.defaultPolarOptions=(n=this.horiz)?R:h("xAxis"===c?t.defaultXAxisOptions:t.defaultYAxisOptions,B),o&&"yAxis"===c&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,e&&n&&(e.axis=this),this.isCircular=n)}function j(){this.isRadial&&this.beforeSetTickPositions()}function E(t){var e=this.label;if(e){var n=this.axis,i=e.getBBox(),r=n.options.labels,o=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,a=Math.round(o),s=d(r.y)?0:.3*-i.height,l=r.y,c=20,u=r.align,h="end",g=0>a?a+360:a,m=g,v=0,b=0;if(n.isRadial){var y=n.getPosition(this.pos,n.center[2]/2+f(p(r.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===r.rotation?e.attr({rotation:o}):d(l)||(l=n.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-i.height/2),d(u)||(n.isCircular?(i.width>n.len*n.tickInterval/(n.max-n.min)&&(c=0),u=o>c&&o<180-c?"left":o>180+c&&o<360-c?"right":"center"):u="center",e.attr({align:u})),"auto"===u&&2===n.tickPositions.length&&n.isCircular&&(90<g&&180>g?g=180-g:270<g&&360>=g&&(g=540-g),180<m&&360>=m&&(m=360-m),n.pane.options.startAngle!==a&&n.pane.options.startAngle!==a+360&&n.pane.options.startAngle!==a-360||(h="start"),u=-90<=a&&90>=a||-360<=a&&-270>=a||270<=a&&360>=a?"start"===h?"right":"left":"start"===h?"left":"right",70<m&&110>m&&(u="center"),15>g||180<=g&&195>g?v=.3*i.height:15<=g&&35>=g?v="start"===h?0:.75*i.height:195<=g&&215>=g?v="start"===h?.75*i.height:0:35<g&&90>=g?v="start"===h?.25*-i.height:i.height:215<g&&270>=g&&(v="start"===h?i.height:.25*-i.height),15>m?b="start"===h?.15*-i.height:.15*i.height:165<m&&180>=m&&(b="start"===h?.15*i.height:.15*-i.height),e.attr({align:u}),e.translate(b,v+s)),t.pos.x=y.x+(r.x||0),t.pos.y=y.y+(l||0)}}}function M(t){this.axis.getPosition&&c(t.pos,this.axis.getPosition(this.pos))}function A(t,e){var n=this.chart,i=this.center;return t=this.startAngleRad+t,{x:n.plotLeft+i[0]+Math.cos(t)*e,y:n.plotTop+i[1]+Math.sin(t)*e}}function P(){this.isDirty=!1}function T(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var e=this.postTranslate(this.angleRad,t[3]/2);t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop}this.len=this.width=this.height=(t[2]-t[3])*p(this.sector,1)/2}}function L(){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 D(t){(t=this.options=h(this.constructor.defaultOptions,this.defaultPolarOptions,o[this.coll],t)).plotBands||(t.plotBands=[]),u(this,"afterSetOptions")}function I(t,e,n,i,r,o,a){var s=this.axis;return s.isRadial?e=["M",e,n,"L",(t=s.getPosition(this.pos,s.center[2]/2+i)).x,t.y]:e=t.call(this,e,n,i,r,o,a),e}var N=[],R={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},F={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}};e.compose=function(t,e){return-1===N.indexOf(t)&&(N.push(t),s(t,"afterInit",$),s(t,"autoLabelAlign",C),s(t,"destroy",k),s(t,"init",S),s(t,"initialAxisTranslation",j)),-1===N.indexOf(e)&&(N.push(e),s(e,"afterGetLabelPosition",E),s(e,"afterGetPosition",M),g(e.prototype,"getMarkPath",I)),t}}(r||(r={})),r})),e(t,"Series/PolarComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Axis/RadialAxis.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){function o(){(this.pane||[]).forEach((function(t){t.render()}))}function a(t){var e=t.args[0].xAxis,n=t.args[0].yAxis;t=t.args[0].chart,e&&n&&("polygon"===n.gridLineInterpolation?(e.startOnTick=!0,e.endOnTick=!0):"polygon"===e.gridLineInterpolation&&t.inverted&&(n.startOnTick=!0,n.endOnTick=!0))}function s(){var t=this;this.pane||(this.pane=[]),this.options.pane=E(this.options.pane),this.options.pane.forEach((function(e){new n(e,t)}),this)}function l(t){var e=t.args.marker,n=this.chart.xAxis[0],i=this.chart.yAxis[0],r=this.chart.inverted,o=r?i:n;if(n=r?n:i,this.chart.polar){t.preventDefault(),i=(e.attr?e.attr("start"):e.start)-o.startAngleRad,r=e.attr?e.attr("r"):e.r;var a=(e.attr?e.attr("end"):e.end)-o.startAngleRad;e=e.attr?e.attr("innerR"):e.innerR,t.result.x=i+o.pos,t.result.width=a-i,t.result.y=n.len+n.pos-e,t.result.height=e-r}}function d(t){var e=this.chart;if(e.polar&&e.hoverPane&&e.hoverPane.axis){t.preventDefault();var n=e.hoverPane.center,i=this.mouseDownX||0,r=this.mouseDownY||0,o=t.args.chartY,a=t.args.chartX,s=2*Math.PI,l=e.hoverPane.axis.startAngleRad,d=e.hoverPane.axis.endAngleRad,c=e.inverted?e.xAxis[0]:e.yAxis[0],u={},h="arc";if(u.x=n[0]+e.plotLeft,u.y=n[1]+e.plotTop,this.zoomHor){var f=0<l?d-l:Math.abs(l)+Math.abs(d),g=Math.atan2(r-e.plotTop-n[1],i-e.plotLeft-n[0])-l,m=Math.atan2(o-e.plotTop-n[1],a-e.plotLeft-n[0])-l;u.r=n[2]/2,u.innerR=n[3]/2,0>=g&&(g+=s),0>=m&&(m+=s),m<g&&(m=[g,g=m][0]),f<s&&l+m>d+(s-f)/2&&(m=g,g=0>=l?l:0),s=u.start=Math.max(g+l,l),g=u.end=Math.min(m+l,d),"polygon"===c.options.gridLineInterpolation&&(f=s-(m=e.hoverPane.axis).startAngleRad+m.pos,g-=s,h=c.getPlotLinePath({value:c.max}),s=m.toValue(f),f=m.toValue(f+g),s<m.getExtremes().min&&(s=(g=m.getExtremes()).max-(g.min-s)),f<m.getExtremes().min&&(f=(g=m.getExtremes()).max-(g.min-f)),f<s&&(f=[s,s=f][0]),(h=p(h,s,f,m)).push(["L",n[0]+e.plotLeft,e.plotTop+n[1]]),u.d=h,h="path")}this.zoomVert&&(m=e.inverted?e.xAxis[0]:e.yAxis[0],i=Math.sqrt(Math.pow(i-e.plotLeft-n[0],2)+Math.pow(r-e.plotTop-n[1],2)),(o=Math.sqrt(Math.pow(a-e.plotLeft-n[0],2)+Math.pow(o-e.plotTop-n[1],2)))<i&&(i=[o,o=i][0]),o>n[2]/2&&(o=n[2]/2),i<n[3]/2&&(i=n[3]/2),this.zoomHor||(u.start=l,u.end=d),u.r=o,u.innerR=i,"polygon"===m.options.gridLineInterpolation&&(g=m.toValue(m.len+m.pos-i),s=m.toValue(m.len+m.pos-o),h=m.getPlotLinePath({value:s}).concat(m.getPlotLinePath({value:g,reverse:!0})),u.d=h,h="path")),this.zoomHor&&this.zoomVert&&"polygon"===c.options.gridLineInterpolation&&(m=e.hoverPane.axis,s=u.start||0,g=u.end||0,f=s-m.startAngleRad+m.pos,g-=s,s=m.toValue(f),f=m.toValue(f+g),u.d instanceof Array&&(n=u.d.slice(0,u.d.length/2),l=u.d.slice(u.d.length/2,u.d.length),l=w([],l,!0).reverse(),n=p(n,s,f,e=e.hoverPane.axis),(l=p(l,s,f,e))&&(l[0][0]="L"),l=w([],l,!0).reverse(),u.d=n.concat(l),h="path")),t.attrs=u,t.shapeType=h}}function c(){var t=this.chart;t.polar&&(this.polar=new T(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function u(){if(this.chart.polar&&this.xAxis){var t=this.chart;(this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=h:this.options.findNearestPointBy="xy";for(var n=this.points,i=n.length;i--;)this.preventPostTranslate||this.polar.toXY(n[i]),t.hasParallelCoordinates||this.yAxis.reversed||(j(n[i].y,Number.MIN_VALUE)<this.yAxis.min||n[i].x<this.xAxis.min||n[i].x>this.xAxis.max?(n[i].isNull=!0,n[i].plotY=NaN):n[i].isNull=n[i].isValid&&!n[i].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push($(this,"afterRender",(function(){if(t.polar){var n=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:n[0],y:n[1],r:n[2]/2,innerR:n[3]/2});else{var i=t.renderer,r=n[0],o=n[1],a=n[2]/2,s=n[3]/2;n=M();var l=i.createElement("clipPath").attr({id:n}).add(i.defs);(i=s?i.arc(r,o,a,s,0,2*Math.PI).add(l):i.circle(r,o,a).add(l)).id=n,i.clipPath=l,this.clipCircle=i}this.group.clip(this.clipCircle),this.setClip=e.noop}}))))}}function h(t){var e=this.chart,n=this.xAxis;return n=n.pane&&n.pane.center,this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-(n&&n[0]||0)-e.plotLeft,t.chartY-(n&&n[1]||0)-e.plotTop)})}function p(t,e,n,i){var r=i.tickInterval;i=i.tickPositions;var o=k(i,(function(t){return t>=n})),a=k(w([],i,!0).reverse(),(function(t){return t<=e}));return C(o)||(o=i[i.length-1]),C(a)||(a=i[0],o+=r,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(i.indexOf(a),i.indexOf(o)+1))[0][0]="M",t}function f(t,e){return k(this.pane||[],(function(t){return t.options.id===e}))||t.call(this,e)}function g(t,e,n,i,r,o){var a=this.chart,s=j(i.inside,!!this.options.stacking);a.polar?(t=e.rectPlotX/Math.PI*180,a.inverted?(this.forceDL=a.isInsidePlot(e.plotX,e.plotY),s&&e.shapeArgs?(r=e.shapeArgs,r={x:(r=this.yAxis.postTranslate(((r.start||0)+(r.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-a.plotLeft,y:r.y-a.plotTop}):e.tooltipPos&&(r={x:e.tooltipPos[0],y:e.tooltipPos[1]}),i.align=j(i.align,"center"),i.verticalAlign=j(i.verticalAlign,"middle")):(null===i.align&&(i.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===i.verticalAlign&&(i.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,e,n,i,r,o),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end?n.hide():n.show()):t.call(this,e,n,i,r,o)}function m(t){var e=this.options,n=e.stacking,i=this.chart,o=this.xAxis,a=this.yAxis,s=a.reversed,l=a.center,d=o.startAngleRad,c=o.endAngleRad-d,u=0,h=0,p=0;if(this.preventPostTranslate=!0,t.call(this),o.isRadial){o=(t=this.points).length;var f=a.translate(a.min),g=a.translate(a.max);for(e=e.threshold||0,i.inverted&&S(e)&&(u=a.translate(e),C(u)&&(0>u?u=0:u>c&&(u=c),this.translatedThreshold=u+d));o--;){var m=(e=t[o]).barX,v=e.x,b=e.y;e.shapeType="arc",i.inverted?(e.plotY=a.translate(b),n&&a.stacking?(b=a.stacking.stacks[(0>b?"-":"")+this.stackKey],this.visible&&b&&b[v]&&!e.isNull&&(p=b[v].points[this.getStackIndicator(void 0,v,this.index).key],h=a.translate(p[0]),p=a.translate(p[1]),C(h)&&(h=r.clamp(h,0,c)))):(h=u,p=e.plotY),h>p&&(p=[h,h=p][0]),s?p>f?p=f:h<g?h=g:(h>f||p<g)&&(h=p=c):h<f?h=f:p>g?p=g:(p<f||h>g)&&(h=p=0),a.min>a.max&&(h=p=s?c:0),h+=d,p+=d,l&&(e.barX=m+=l[3]/2),v=Math.max(m,0),b=Math.max(m+e.pointWidth,0),e.shapeArgs={x:l&&l[0],y:l&&l[1],r:b,innerR:v,start:h,end:p},e.opacity=h===p?0:void 0,e.plotY=(C(this.translatedThreshold)&&(h<this.translatedThreshold?h:p))-d):(h=m+d,e.shapeArgs=this.polar.arc(e.yBottom,e.plotY,h,h+e.pointWidth)),this.polar.toXY(e),i.inverted?(m=a.postTranslate(e.rectPlotY,m+e.pointWidth/2),e.tooltipPos=[m.x-i.plotLeft,m.y-i.plotTop]):e.tooltipPos=[e.plotX,e.plotY],l&&(e.ttBelow=e.plotY>l[1])}}}function v(t,e){var n=this;if(this.chart.polar){e=e||this.points;for(var i=0;i<e.length;i++)if(!e[i].isNull){var r=i;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,e.splice(e.length,0,e[r]);var o=!0}e.forEach((function(t){void 0===t.polarPlotY&&n.polar.toXY(t)}))}return r=t.apply(this,[].slice.call(arguments,1)),o&&e.pop(),r}function b(t,e){var n=this.chart,i={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach((function(t){if("colorAxis"!==t.coll){var r=t.isXAxis,o=t.center,a=e.chartX-o[0]-n.plotLeft;o=e.chartY-o[1]-n.plotTop,i[r?"xAxis":"yAxis"].push({axis:t,value:t.translate(r?Math.PI-Math.atan2(a,o):Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),!0)})}})):i=t.call(this,e),i}function y(t,e){this.chart.polar||t.call(this,e)}function x(t,n){var i,r,o,a,s=this,l=this.chart,d=this.group,c=this.markerGroup,u=this.xAxis&&this.xAxis.center,h=l.plotLeft,p=l.plotTop,f=this.options.animation;if(l.polar){if(s.isRadialBar)n||(s.startAngleRad=j(s.translatedThreshold,s.xAxis.startAngleRad),e.seriesTypes.pie.prototype.animate.call(s,n));else if(l.renderer.isSVG)if(f=O(f),s.is("column")){if(!n){var g=u[3]/2;s.points.forEach((function(t){i=t.graphic,o=(r=t.shapeArgs)&&r.r,a=r&&r.innerR,i&&r&&(i.attr({r:g,innerR:g}),i.animate({r:o,innerR:a},s.options.animation))}))}}else n?(t={translateX:u[0]+h,translateY:u[1]+p,scaleX:.001,scaleY:.001},d.attr(t),c&&c.attr(t)):(t={translateX:h,translateY:p,scaleX:1,scaleY:1},d.animate(t,f),c&&c.animate(t,f))}else t.call(this,n)}function _(t,e,n,i){return this.chart.polar?i?(t=function t(e,n,i,r){var o=r?1:0,a=0<=n&&n<=e.length-1?n:0>n?e.length-1+n:0,s=e[n=0>a-1?e.length-(1+o):a-1];o=e[a+1>e.length-1?o:a+1];var l=s.plotY,d=o.plotX,c=o.plotY;o=e[a].plotX,a=e[a].plotY,s=(1.5*o+s.plotX)/2.5,l=(1.5*a+l)/2.5,d=(1.5*o+d)/2.5;var u=(1.5*a+c)/2.5;c=Math.sqrt(Math.pow(s-o,2)+Math.pow(l-a,2));var h=Math.sqrt(Math.pow(d-o,2)+Math.pow(u-a,2));return s=Math.atan2(l-a,s-o),u=Math.PI/2+(s+Math.atan2(u-a,d-o))/2,Math.abs(s-u)>Math.PI/2&&(u-=Math.PI),s=o+Math.cos(u)*c,l=a+Math.sin(u)*c,o={rightContX:d=o+Math.cos(Math.PI+u)*h,rightContY:u=a+Math.sin(Math.PI+u)*h,leftContX:s,leftContY:l,plotX:o,plotY:a},i&&(o.prevPointCont=t(e,n,!1,r)),o}(e,i,!0,this.connectEnds),e=t.prevPointCont&&t.prevPointCont.rightContX,n=t.prevPointCont&&t.prevPointCont.rightContY,t=["C",S(e)?e:t.plotX,S(n)?n:t.plotY,S(t.leftContX)?t.leftContX:t.plotX,S(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):t=["M",n.plotX,n.plotY]:t=t.call(this,e,n,i),t}var w=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))},O=t.animObject,$=r.addEvent,C=r.defined,k=r.find,S=r.isNumber,j=r.pick,E=r.splat,M=r.uniqueKey,A=r.wrap,P=[],T=function(){function t(t){this.series=t}return t.compose=function(t,e,n,r,h,p,w,O,C){i.compose(t,h),-1===P.indexOf(e)&&(P.push(e),$(e,"afterDrawChartBox",o),$(e,"getAxes",s),$(e,"init",a),A(e.prototype,"get",f)),-1===P.indexOf(n)&&(P.push(n),t=n.prototype,A(t,"getCoordinates",b),A(t,"pinch",y),$(n,"getSelectionMarkerAttrs",d),$(n,"getSelectionBox",l)),-1===P.indexOf(r)&&(P.push(r),$(r,"afterInit",c),$(r,"afterTranslate",u,{order:2}),A(r.prototype,"animate",x)),w&&-1===P.indexOf(w)&&(P.push(w),n=w.prototype,A(n,"alignDataLabel",g),A(n,"animate",x),A(n,"translate",m)),O&&-1===P.indexOf(O)&&(P.push(O),A(O.prototype,"getGraphPath",v)),C&&-1===P.indexOf(C)&&(P.push(C),O=C.prototype,A(O,"getPointSpline",_),p&&-1===P.indexOf(p)&&(P.push(p),p.prototype.getPointSpline=O.getPointSpline))},t.prototype.arc=function(t,e,n,i){var r=this.series,o=r.xAxis.center,a=r.yAxis.len,s=o[3]/2;return e=a-e+s,t=a-j(t,a)+s,r.yAxis.reversed&&(0>e&&(e=s),0>t&&(t=s)),{x:o[0],y:o[1],r:e,innerR:t,start:n,end:i}},t.prototype.toXY=function(t){var e=this.series,n=e.chart,i=e.xAxis,r=e.yAxis,o=t.plotX,a=n.inverted,s=t.y,l=t.plotY,d=a?o:r.len-l;a&&e&&!e.isRadialBar&&(t.plotY=l=S(s)?r.translate(s):0),t.rectPlotX=o,t.rectPlotY=l,r.center&&(d+=r.center[3]/2),S(l)&&(r=a?r.postTranslate(l,d):i.postTranslate(o,d),t.plotX=t.polarPlotX=r.x-n.plotLeft,t.plotY=t.polarPlotY=r.y-n.plotTop),e.kdByAngle?(0>(e=(o/Math.PI*180+i.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},t}();return T})),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Bubble/BubbleSeries.js"],t["Series/PackedBubble/PackedBubbleSeries.js"],t["Series/PolarComposition.js"]],(function(t,e,n,i,r){n.compose(t.Axis,t.Chart,t.Legend,t.Series),i.compose(t.Axis,t.Chart,t.Legend,t.Series),r.compose(t.Axis,t.Chart,t.Pointer,t.Series,t.Tick,e.seriesTypes.areasplinerange,e.seriesTypes.column,e.seriesTypes.line,e.seriesTypes.spline)}))}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){var e=new WeakMap;return function(n){if(e.has(n))return e.get(n);var i=t(n);return e.set(n,i),i}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(36),c=n(9),u=n(12);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,h=t.avatar,p=void 0!==h&&h,f=t.avatarUrl,g=t.className,m=t.dark,v=void 0!==m&&m,b=t.data,y=void 0===b?{}:b,x=t.htmlOptions,_=void 0===x?{}:x,w=t.id,O=t.name,$=t.orientation,C=void 0===$?"horizontal":$,k=t.size,S=void 0===k?"sm":k,j=t.subtitle,E=t.territory,M=void 0===E?"":E,A=t.title,P=void 0===A?"":A,T=Object(s.c)(y),L=Object(s.a)(o),D=Object(s.d)(_),I=a()(Object(s.b)("pb_user_kit",n,C,S),Object(l.c)(t),g),N=p||f;return r.a.createElement("div",Object.assign({},L,T,D,{className:I,id:w}),N&&r.a.createElement(d.a,{imageUrl:f,name:O,size:S,status:null}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(u.a,{dark:v,size:"lg"==S?3:4,text:O}),r.a.createElement(c.a,{color:"light",dark:v,variant:null},""===M?P:"".concat(M," • ").concat(P)),"string"==typeof j&&r.a.createElement(c.a,{color:"light",dark:v,text:j,variant:null}),"string"!=typeof j&&r.a.createElement(r.a.Fragment,null,j)))}},,,,,,function(t,e,n){"use strict";function i(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}n.d(e,"a",(function(){return i}))},,function(t,e,n){"use strict";t.exports=n(286)},function(t,e,n){"use strict";var i=n(223),r=n.n(i),o=n(0),a=n.n(o),s=n(3),l=n.n(s),d=n(4),c=n(2);e.a=function(t){var e=t.children,n=t.className,i=void 0===n?"pb_highlight_kit":n,o=t.data,s=void 0===o?{}:o,u=t.highlightedText,h=void 0===u?["highlight"]:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=void 0===g?"":g,v=t.text,b=void 0===v?"":v,y=Object(c.d)(f),x=b||e;return a.a.createElement(r.a,Object.assign({autoEscape:!0,data:s,highlightClassName:l()(Object(d.c)(t),i),highlightTag:"mark",id:m,searchWords:h,textToHighlight:x},y))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(67),c=n.n(d),u=n(29),h=n.n(u),p=n(49),f=n(75),g=n(68),m=n(25);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||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 b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,d=void 0===o?{}:o,u=t.align,b=void 0===u?"center":u,x=t.className,_=void 0===x?"pb_bar_graph":x,w=t.customOptions,O=void 0===w?{}:w,$=t.dark,C=void 0!==$&&$,k=(t.gradient,t.type),S=void 0===k?"line":k,j=t.htmlOptions,E=void 0===j?{}:j,M=t.id,A=t.legend,P=void 0!==A&&A,T=t.toggleLegendClick,L=void 0===T||T,D=t.layout,I=void 0===D?"horizontal":D,N=t.verticalAlign,R=void 0===N?"bottom":N,F=t.x,B=void 0===F?0:F,z=t.y,H=void 0===z?0:z,W=t.axisTitle,U=t.xAxisCategories,Y=t.yAxisMin,G=t.yAxisMax,V=t.chartData,X=t.pointStart,q=t.subTitle,K=t.title,Z=t.height,J=t.colors,Q=void 0===J?[]:J,tt=y(t,["aria","data","align","className","customOptions","dark","gradient","type","htmlOptions","id","legend","toggleLegendClick","layout","verticalAlign","x","y","axisTitle","xAxisCategories","yAxisMin","yAxisMax","chartData","pointStart","subTitle","title","height","colors"]),et=Object(l.a)(n),nt=Object(l.c)(d),it=Object(l.d)(E);C?h.a.setOptions(f.a):h.a.setOptions(p.a);var rt={title:{text:K},chart:{height:Z,type:S},subtitle:{text:q},yAxis:{min:Y,max:G,title:{text:W}},xAxis:{categories:U},legend:{enabled:P,align:b,verticalAlign:R,layout:I,x:B,y:H},colors:void 0!==Q&&Q.length>0?Object(g.a)(Q):p.a.colors,plotOptions:{series:{pointStart:X,events:{},dataLabels:{enabled:!1}}},series:V,credits:!1};L||(rt.plotOptions.series.events={legendItemClick:function(){return!1}});var ot=Object.assign({},tt);delete ot.verticalAlign;var at=v(Object(i.useState)({}),2),st=at[0],lt=at[1];return Object(i.useEffect)((function(){lt(Object(m.merge)(rt,O))}),[V]),r.a.createElement(c.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()(Object(s.c)(ot),_),id:M},et),nt),it),highcharts:h.a,options:st})}},,,,function(t,e,n){var i=n(122);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}t.exports=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(211);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(273);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(274),r=n(275),o=n(276);t.exports=function(t){var e=r();return function(){var n,r=i(t);if(e){var a=i(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return o(this,n)}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(278),r=n(279),o=n(213),a=n(280);t.exports=function(t){return i(t)||r(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(281),r=n(282),o=n(213),a=n(283);t.exports=function(t,e){return i(t)||r(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(284);t.exports=function(t,e){if(null==t)return{};var n,r,o=i(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(0),r=n.n(i).a.createContext(null)},function(t,e,n){"use strict";var i=n(37),r={passive:!0};e.a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,a=o.scroll,s=void 0===a||a,l=o.resize,d=void 0===l||l,c=Object(i.a)(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach((function(t){t.addEventListener("scroll",n.update,r)})),d&&c.addEventListener("resize",n.update,r),function(){s&&u.forEach((function(t){t.removeEventListener("scroll",n.update,r)})),d&&c.removeEventListener("resize",n.update,r)}},data:{}}},function(t,e,n){"use strict";var i=n(155);e.a={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Object(i.a)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(43),r=n(69),o=n(104),a=n(11);function s(t){var e,n=t.reference,s=t.element,l=t.placement,d=l?Object(i.a)(l):null,c=l?Object(r.a)(l):null,u=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2;switch(d){case a.m:e={x:u,y:n.y-s.height};break;case a.c:e={x:u,y:n.y+n.height};break;case a.k:e={x:n.x+n.width,y:h};break;case a.f:e={x:n.x-s.width,y:h};break;default:e={x:n.x,y:n.y}}var p=d?Object(o.a)(d):null;if(null!=p){var f="y"===p?"height":"width";switch(c){case a.l:e[p]=e[p]-(n[f]/2-s[f]/2);break;case a.e:e[p]=e[p]+(n[f]/2-s[f]/2)}}return e}},function(t,e,n){"use strict";var i=n(11),r=n(76),o=n(37),a=n(48),s=n(54),l=n(43),d=n(69),c=n(34),u={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h(t){var e,n=t.popper,l=t.popperRect,d=t.placement,h=t.variation,p=t.offsets,f=t.position,g=t.gpuAcceleration,m=t.adaptive,v=t.roundOffsets,b=t.isFixed,y=p.x,x=void 0===y?0:y,_=p.y,w=void 0===_?0:_,O="function"==typeof v?v({x:x,y:w}):{x:x,y:w};x=O.x,w=O.y;var $=p.hasOwnProperty("x"),C=p.hasOwnProperty("y"),k=i.f,S=i.m,j=window;if(m){var E=Object(r.a)(n),M="clientHeight",A="clientWidth";if(E===Object(o.a)(n)&&(E=Object(a.a)(n),"static"!==Object(s.a)(E).position&&"absolute"===f&&(M="scrollHeight",A="scrollWidth")),E=E,d===i.m||(d===i.f||d===i.k)&&h===i.e)S=i.c,w-=(b&&E===j&&j.visualViewport?j.visualViewport.height:E[M])-l.height,w*=g?1:-1;if(d===i.f||(d===i.m||d===i.c)&&h===i.e)k=i.k,x-=(b&&E===j&&j.visualViewport?j.visualViewport.width:E[A])-l.width,x*=g?1:-1}var P,T=Object.assign({position:f},m&&u),L=!0===v?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Object(c.c)(e*i)/i||0,y:Object(c.c)(n*i)/i||0}}({x:x,y:w}):{x:x,y:w};return x=L.x,w=L.y,g?Object.assign({},T,((P={})[S]=C?"0":"",P[k]=$?"0":"",P.transform=(j.devicePixelRatio||1)<=1?"translate("+x+"px, "+w+"px)":"translate3d("+x+"px, "+w+"px, 0)",P)):Object.assign({},T,((e={})[S]=C?w+"px":"",e[k]=$?x+"px":"",e.transform="",e))}e.a={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:Object(l.a)(e.placement),variation:Object(d.a)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,h(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,h(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},function(t,e,n){"use strict";var i=n(45),r=n(28);e.a={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},a=e.elements[t];Object(r.b)(a)&&Object(i.a)(a)&&(Object.assign(a.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Object(r.b)(o)&&Object(i.a)(o)&&(Object.assign(o.style,s),Object.keys(a).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(159);function r(t){return Object.assign({},Object(i.a)(),t)}},function(t,e,n){"use strict";function i(){return{top:0,right:0,bottom:0,left:0}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(131);function r(){return!/^((?!chrome|android).)*safari/i.test(Object(i.a)())}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(28);function r(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Object(i.c)(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(132);function r(t,e){if(t){if("string"==typeof t)return Object(i.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(t,e):void 0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(80);function r(t){var e=function(t,e){if("object"!==Object(i.a)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Object(i.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Object(i.a)(e)?e:String(e)}},,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var i;
14
+ */(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",d="[object Array]",c="[object Boolean]",u="[object Date]",h="[object Error]",p="[object Function]",f="[object GeneratorFunction]",g="[object Map]",m="[object Number]",v="[object Object]",b="[object RegExp]",y="[object Set]",x="[object String]",_="[object Symbol]",w="[object WeakMap]",O="[object ArrayBuffer]",$="[object DataView]",C="[object Float32Array]",k="[object Float64Array]",S="[object Int8Array]",j="[object Int16Array]",E="[object Int32Array]",M="[object Uint8Array]",A="[object Uint16Array]",P="[object Uint32Array]",T=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,D=/(__e\(.*?\)|\b__t\)) \+\n'';/g,I=/&(?:amp|lt|gt|quot|#39);/g,N=/[&<>"']/g,R=RegExp(I.source),F=RegExp(N.source),B=/<%-([\s\S]+?)%>/g,z=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,V=RegExp(G.source),X=/^\s+/,q=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,dt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,ut=/['\n\r\u2028\u2029\\]/g,ht="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pt="\\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",ft="[\\ud800-\\udfff]",gt="["+pt+"]",mt="["+ht+"]",vt="\\d+",bt="[\\u2700-\\u27bf]",yt="[a-z\\xdf-\\xf6\\xf8-\\xff]",xt="[^\\ud800-\\udfff"+pt+vt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",wt="[^\\ud800-\\udfff]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",$t="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="[A-Z\\xc0-\\xd6\\xd8-\\xde]",kt="(?:"+yt+"|"+xt+")",St="(?:"+Ct+"|"+xt+")",jt="(?:"+mt+"|"+_t+")"+"?",Et="[\\ufe0e\\ufe0f]?"+jt+("(?:\\u200d(?:"+[wt,Ot,$t].join("|")+")[\\ufe0e\\ufe0f]?"+jt+")*"),Mt="(?:"+[bt,Ot,$t].join("|")+")"+Et,At="(?:"+[wt+mt+"?",mt,Ot,$t,ft].join("|")+")",Pt=RegExp("['’]","g"),Tt=RegExp(mt,"g"),Lt=RegExp(_t+"(?="+_t+")|"+At+Et,"g"),Dt=RegExp([Ct+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[gt,Ct,"$"].join("|")+")",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[gt,Ct+kt,"$"].join("|")+")",Ct+"?"+kt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ct+"+(?:['’](?: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_])",vt,Mt].join("|"),"g"),It=RegExp("[\\u200d\\ud800-\\udfff"+ht+"\\ufe0e\\ufe0f]"),Nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=["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"],Ft=-1,Bt={};Bt[C]=Bt[k]=Bt[S]=Bt[j]=Bt[E]=Bt[M]=Bt["[object Uint8ClampedArray]"]=Bt[A]=Bt[P]=!0,Bt[l]=Bt[d]=Bt[O]=Bt[c]=Bt[$]=Bt[u]=Bt[h]=Bt[p]=Bt[g]=Bt[m]=Bt[v]=Bt[b]=Bt[y]=Bt[x]=Bt[w]=!1;var zt={};zt[l]=zt[d]=zt[O]=zt[$]=zt[c]=zt[u]=zt[C]=zt[k]=zt[S]=zt[j]=zt[E]=zt[g]=zt[m]=zt[v]=zt[b]=zt[y]=zt[x]=zt[_]=zt[M]=zt["[object Uint8ClampedArray]"]=zt[A]=zt[P]=!0,zt[h]=zt[p]=zt[w]=!1;var Ht={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Wt=parseFloat,Ut=parseInt,Yt="object"==typeof t&&t&&t.Object===Object&&t,Gt="object"==typeof self&&self&&self.Object===Object&&self,Vt=Yt||Gt||Function("return this")(),Xt=e&&!e.nodeType&&e,qt=Xt&&"object"==typeof i&&i&&!i.nodeType&&i,Kt=qt&&qt.exports===Xt,Zt=Kt&&Yt.process,Jt=function(){try{var t=qt&&qt.require&&qt.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),Qt=Jt&&Jt.isArrayBuffer,te=Jt&&Jt.isDate,ee=Jt&&Jt.isMap,ne=Jt&&Jt.isRegExp,ie=Jt&&Jt.isSet,re=Jt&&Jt.isTypedArray;function oe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function se(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function le(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function de(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function ce(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function ue(t,e){return!!(null==t?0:t.length)&&_e(t,e,0)>-1}function he(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function pe(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function fe(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function ge(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function me(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function ve(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var be=Ce("length");function ye(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function xe(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function _e(t,e,n){return e==e?function(t,e,n){var i=n-1,r=t.length;for(;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):xe(t,Oe,n)}function we(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function Oe(t){return t!=t}function $e(t,e){var n=null==t?0:t.length;return n?je(t,e)/n:NaN}function Ce(t){return function(e){return null==e?void 0:e[t]}}function ke(t){return function(e){return null==t?void 0:t[e]}}function Se(t,e,n,i,r){return r(t,(function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)})),n}function je(t,e){for(var n,i=-1,r=t.length;++i<r;){var o=e(t[i]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Ee(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function Me(t){return t?t.slice(0,Xe(t)+1).replace(X,""):t}function Ae(t){return function(e){return t(e)}}function Pe(t,e){return pe(e,(function(e){return t[e]}))}function Te(t,e){return t.has(e)}function Le(t,e){for(var n=-1,i=t.length;++n<i&&_e(e,t[n],0)>-1;);return n}function De(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Ie(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}var Ne=ke({"À":"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"}),Re=ke({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Fe(t){return"\\"+Ht[t]}function Be(t){return It.test(t)}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function He(t,e){return function(n){return t(e(n))}}function We(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[r++]=n)}return o}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function Ye(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function Ge(t){return Be(t)?function(t){var e=Lt.lastIndex=0;for(;Lt.test(t);)++e;return e}(t):be(t)}function Ve(t){return Be(t)?function(t){return t.match(Lt)||[]}(t):function(t){return t.split("")}(t)}function Xe(t){for(var e=t.length;e--&&q.test(t.charAt(e)););return e}var qe=ke({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Ke=function t(e){var n,i=(e=null==e?Vt:Ke.defaults(Vt.Object(),e,Ke.pick(Vt,Rt))).Array,r=e.Date,q=e.Error,ht=e.Function,pt=e.Math,ft=e.Object,gt=e.RegExp,mt=e.String,vt=e.TypeError,bt=i.prototype,yt=ht.prototype,xt=ft.prototype,_t=e["__core-js_shared__"],wt=yt.toString,Ot=xt.hasOwnProperty,$t=0,Ct=(n=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",kt=xt.toString,St=wt.call(ft),jt=Vt._,Et=gt("^"+wt.call(Ot).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mt=Kt?e.Buffer:void 0,At=e.Symbol,Lt=e.Uint8Array,It=Mt?Mt.allocUnsafe:void 0,Ht=He(ft.getPrototypeOf,ft),Yt=ft.create,Gt=xt.propertyIsEnumerable,Xt=bt.splice,qt=At?At.isConcatSpreadable:void 0,Zt=At?At.iterator:void 0,Jt=At?At.toStringTag:void 0,be=function(){try{var t=to(ft,"defineProperty");return t({},"",{}),t}catch(t){}}(),ke=e.clearTimeout!==Vt.clearTimeout&&e.clearTimeout,Ze=r&&r.now!==Vt.Date.now&&r.now,Je=e.setTimeout!==Vt.setTimeout&&e.setTimeout,Qe=pt.ceil,tn=pt.floor,en=ft.getOwnPropertySymbols,nn=Mt?Mt.isBuffer:void 0,rn=e.isFinite,on=bt.join,an=He(ft.keys,ft),sn=pt.max,ln=pt.min,dn=r.now,cn=e.parseInt,un=pt.random,hn=bt.reverse,pn=to(e,"DataView"),fn=to(e,"Map"),gn=to(e,"Promise"),mn=to(e,"Set"),vn=to(e,"WeakMap"),bn=to(ft,"create"),yn=vn&&new vn,xn={},_n=jo(pn),wn=jo(fn),On=jo(gn),$n=jo(mn),Cn=jo(vn),kn=At?At.prototype:void 0,Sn=kn?kn.valueOf:void 0,jn=kn?kn.toString:void 0;function En(t){if(Ya(t)&&!La(t)&&!(t instanceof Tn)){if(t instanceof Pn)return t;if(Ot.call(t,"__wrapped__"))return Eo(t)}return new Pn(t)}var Mn=function(){function t(){}return function(e){if(!Ua(e))return{};if(Yt)return Yt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function An(){}function Pn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Tn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Ln(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Dn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function In(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Nn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new In;++e<n;)this.add(t[e])}function Rn(t){var e=this.__data__=new Dn(t);this.size=e.size}function Fn(t,e){var n=La(t),i=!n&&Ta(t),r=!n&&!i&&Ra(t),o=!n&&!i&&!r&&Qa(t),a=n||i||r||o,s=a?Ee(t.length,mt):[],l=s.length;for(var d in t)!e&&!Ot.call(t,d)||a&&("length"==d||r&&("offset"==d||"parent"==d)||o&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||so(d,l))||s.push(d);return s}function Bn(t){var e=t.length;return e?t[Ni(0,e-1)]:void 0}function zn(t,e){return Co(br(t),Kn(e,0,t.length))}function Hn(t){return Co(br(t))}function Wn(t,e,n){(void 0!==n&&!Ma(t[e],n)||void 0===n&&!(e in t))&&Xn(t,e,n)}function Un(t,e,n){var i=t[e];Ot.call(t,e)&&Ma(i,n)&&(void 0!==n||e in t)||Xn(t,e,n)}function Yn(t,e){for(var n=t.length;n--;)if(Ma(t[n][0],e))return n;return-1}function Gn(t,e,n,i){return ei(t,(function(t,r,o){e(i,t,n(t),o)})),i}function Vn(t,e){return t&&yr(e,_s(e),t)}function Xn(t,e,n){"__proto__"==e&&be?be(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function qn(t,e){for(var n=-1,r=e.length,o=i(r),a=null==t;++n<r;)o[n]=a?void 0:ms(t,e[n]);return o}function Kn(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}function Zn(t,e,n,i,r,o){var a,s=1&e,d=2&e,h=4&e;if(n&&(a=r?n(t,i,r,o):n(t)),void 0!==a)return a;if(!Ua(t))return t;var w=La(t);if(w){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Ot.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return br(t,a)}else{var T=io(t),L=T==p||T==f;if(Ra(t))return hr(t,s);if(T==v||T==l||L&&!r){if(a=d||L?{}:oo(t),!s)return d?function(t,e){return yr(t,no(t),e)}(t,function(t,e){return t&&yr(e,ws(e),t)}(a,t)):function(t,e){return yr(t,eo(t),e)}(t,Vn(a,t))}else{if(!zt[T])return r?t:{};a=function(t,e,n){var i=t.constructor;switch(e){case O:return pr(t);case c:case u:return new i(+t);case $:return function(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case C:case k:case S:case j:case E:case M:case"[object Uint8ClampedArray]":case A:case P:return fr(t,n);case g:return new i;case m:case x:return new i(t);case b:return function(t){var e=new t.constructor(t.source,it.exec(t));return e.lastIndex=t.lastIndex,e}(t);case y:return new i;case _:return r=t,Sn?ft(Sn.call(r)):{}}var r}(t,T,s)}}o||(o=new Rn);var D=o.get(t);if(D)return D;o.set(t,a),Ka(t)?t.forEach((function(i){a.add(Zn(i,e,n,i,t,o))})):Ga(t)&&t.forEach((function(i,r){a.set(r,Zn(i,e,n,r,t,o))}));var I=w?void 0:(h?d?Vr:Gr:d?ws:_s)(t);return se(I||t,(function(i,r){I&&(i=t[r=i]),Un(a,r,Zn(i,e,n,r,t,o))})),a}function Jn(t,e,n){var i=n.length;if(null==t)return!i;for(t=ft(t);i--;){var r=n[i],o=e[r],a=t[r];if(void 0===a&&!(r in t)||!o(a))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new vt(o);return _o((function(){t.apply(void 0,n)}),e)}function ti(t,e,n,i){var r=-1,o=ue,a=!0,s=t.length,l=[],d=e.length;if(!s)return l;n&&(e=pe(e,Ae(n))),i?(o=he,a=!1):e.length>=200&&(o=Te,a=!1,e=new Nn(e));t:for(;++r<s;){var c=t[r],u=null==n?c:n(c);if(c=i||0!==c?c:0,a&&u==u){for(var h=d;h--;)if(e[h]===u)continue t;l.push(c)}else o(e,u,i)||l.push(c)}return l}En.templateSettings={escape:B,evaluate:z,interpolate:H,variable:"",imports:{_:En}},En.prototype=An.prototype,En.prototype.constructor=En,Pn.prototype=Mn(An.prototype),Pn.prototype.constructor=Pn,Tn.prototype=Mn(An.prototype),Tn.prototype.constructor=Tn,Ln.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},Ln.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ln.prototype.get=function(t){var e=this.__data__;if(bn){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ot.call(e,t)?e[t]:void 0},Ln.prototype.has=function(t){var e=this.__data__;return bn?void 0!==e[t]:Ot.call(e,t)},Ln.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=bn&&void 0===e?"__lodash_hash_undefined__":e,this},Dn.prototype.clear=function(){this.__data__=[],this.size=0},Dn.prototype.delete=function(t){var e=this.__data__,n=Yn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Xt.call(e,n,1),--this.size,!0)},Dn.prototype.get=function(t){var e=this.__data__,n=Yn(e,t);return n<0?void 0:e[n][1]},Dn.prototype.has=function(t){return Yn(this.__data__,t)>-1},Dn.prototype.set=function(t,e){var n=this.__data__,i=Yn(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},In.prototype.clear=function(){this.size=0,this.__data__={hash:new Ln,map:new(fn||Dn),string:new Ln}},In.prototype.delete=function(t){var e=Jr(this,t).delete(t);return this.size-=e?1:0,e},In.prototype.get=function(t){return Jr(this,t).get(t)},In.prototype.has=function(t){return Jr(this,t).has(t)},In.prototype.set=function(t,e){var n=Jr(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Nn.prototype.add=Nn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Nn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.clear=function(){this.__data__=new Dn,this.size=0},Rn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Rn.prototype.get=function(t){return this.__data__.get(t)},Rn.prototype.has=function(t){return this.__data__.has(t)},Rn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Dn){var i=n.__data__;if(!fn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new In(i)}return n.set(t,e),this.size=n.size,this};var ei=wr(di),ni=wr(ci,!0);function ii(t,e){var n=!0;return ei(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function ri(t,e,n){for(var i=-1,r=t.length;++i<r;){var o=t[i],a=e(o);if(null!=a&&(void 0===s?a==a&&!Ja(a):n(a,s)))var s=a,l=o}return l}function oi(t,e){var n=[];return ei(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function ai(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=ao),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?ai(s,e-1,n,i,r):fe(r,s):i||(r[r.length]=s)}return r}var si=Or(),li=Or(!0);function di(t,e){return t&&si(t,e,_s)}function ci(t,e){return t&&li(t,e,_s)}function ui(t,e){return ce(e,(function(e){return za(t[e])}))}function hi(t,e){for(var n=0,i=(e=lr(e,t)).length;null!=t&&n<i;)t=t[So(e[n++])];return n&&n==i?t:void 0}function pi(t,e,n){var i=e(t);return La(t)?i:fe(i,n(t))}function fi(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Jt&&Jt in ft(t)?function(t){var e=Ot.call(t,Jt),n=t[Jt];try{t[Jt]=void 0;var i=!0}catch(t){}var r=kt.call(t);i&&(e?t[Jt]=n:delete t[Jt]);return r}(t):function(t){return kt.call(t)}(t)}function gi(t,e){return t>e}function mi(t,e){return null!=t&&Ot.call(t,e)}function vi(t,e){return null!=t&&e in ft(t)}function bi(t,e,n){for(var r=n?he:ue,o=t[0].length,a=t.length,s=a,l=i(a),d=1/0,c=[];s--;){var u=t[s];s&&e&&(u=pe(u,Ae(e))),d=ln(u.length,d),l[s]=!n&&(e||o>=120&&u.length>=120)?new Nn(s&&u):void 0}u=t[0];var h=-1,p=l[0];t:for(;++h<o&&c.length<d;){var f=u[h],g=e?e(f):f;if(f=n||0!==f?f:0,!(p?Te(p,g):r(c,g,n))){for(s=a;--s;){var m=l[s];if(!(m?Te(m,g):r(t[s],g,n)))continue t}p&&p.push(g),c.push(f)}}return c}function yi(t,e,n){var i=null==(t=vo(t,e=lr(e,t)))?t:t[So(Bo(e))];return null==i?void 0:oe(i,t,n)}function xi(t){return Ya(t)&&fi(t)==l}function _i(t,e,n,i,r){return t===e||(null==t||null==e||!Ya(t)&&!Ya(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var a=La(t),s=La(e),p=a?d:io(t),f=s?d:io(e),w=(p=p==l?v:p)==v,C=(f=f==l?v:f)==v,k=p==f;if(k&&Ra(t)){if(!Ra(e))return!1;a=!0,w=!1}if(k&&!w)return o||(o=new Rn),a||Qa(t)?Ur(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case $:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case O:return!(t.byteLength!=e.byteLength||!o(new Lt(t),new Lt(e)));case c:case u:case m:return Ma(+t,+e);case h:return t.name==e.name&&t.message==e.message;case b:case x:return t==e+"";case g:var s=ze;case y:var l=1&i;if(s||(s=Ue),t.size!=e.size&&!l)return!1;var d=a.get(t);if(d)return d==e;i|=2,a.set(t,e);var p=Ur(s(t),s(e),i,r,o,a);return a.delete(t),p;case _:if(Sn)return Sn.call(t)==Sn.call(e)}return!1}(t,e,p,n,i,r,o);if(!(1&n)){var S=w&&Ot.call(t,"__wrapped__"),j=C&&Ot.call(e,"__wrapped__");if(S||j){var E=S?t.value():t,M=j?e.value():e;return o||(o=new Rn),r(E,M,n,i,o)}}if(!k)return!1;return o||(o=new Rn),function(t,e,n,i,r,o){var a=1&n,s=Gr(t),l=s.length,d=Gr(e).length;if(l!=d&&!a)return!1;var c=l;for(;c--;){var u=s[c];if(!(a?u in e:Ot.call(e,u)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var f=!0;o.set(t,e),o.set(e,t);var g=a;for(;++c<l;){u=s[c];var m=t[u],v=e[u];if(i)var b=a?i(v,m,u,e,t,o):i(m,v,u,t,e,o);if(!(void 0===b?m===v||r(m,v,n,i,o):b)){f=!1;break}g||(g="constructor"==u)}if(f&&!g){var y=t.constructor,x=e.constructor;y==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(f=!1)}return o.delete(t),o.delete(e),f}(t,e,n,i,r,o)}(t,e,n,i,_i,r))}function wi(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=ft(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],d=t[l],c=s[1];if(a&&s[2]){if(void 0===d&&!(l in t))return!1}else{var u=new Rn;if(i)var h=i(d,c,l,t,e,u);if(!(void 0===h?_i(c,d,3,i,u):h))return!1}}return!0}function Oi(t){return!(!Ua(t)||(e=t,Ct&&Ct in e))&&(za(t)?Et:at).test(jo(t));var e}function $i(t){return"function"==typeof t?t:null==t?Vs:"object"==typeof t?La(t)?Mi(t[0],t[1]):Ei(t):nl(t)}function Ci(t){if(!po(t))return an(t);var e=[];for(var n in ft(t))Ot.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ki(t){if(!Ua(t))return function(t){var e=[];if(null!=t)for(var n in ft(t))e.push(n);return e}(t);var e=po(t),n=[];for(var i in t)("constructor"!=i||!e&&Ot.call(t,i))&&n.push(i);return n}function Si(t,e){return t<e}function ji(t,e){var n=-1,r=Ia(t)?i(t.length):[];return ei(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function Ei(t){var e=Qr(t);return 1==e.length&&e[0][2]?go(e[0][0],e[0][1]):function(n){return n===t||wi(n,t,e)}}function Mi(t,e){return co(t)&&fo(e)?go(So(t),e):function(n){var i=ms(n,t);return void 0===i&&i===e?vs(n,t):_i(e,i,3)}}function Ai(t,e,n,i,r){t!==e&&si(e,(function(o,a){if(r||(r=new Rn),Ua(o))!function(t,e,n,i,r,o,a){var s=yo(t,n),l=yo(e,n),d=a.get(l);if(d)return void Wn(t,n,d);var c=o?o(s,l,n+"",t,e,a):void 0,u=void 0===c;if(u){var h=La(l),p=!h&&Ra(l),f=!h&&!p&&Qa(l);c=l,h||p||f?La(s)?c=s:Na(s)?c=br(s):p?(u=!1,c=hr(l,!0)):f?(u=!1,c=fr(l,!0)):c=[]:Xa(l)||Ta(l)?(c=s,Ta(s)?c=ss(s):Ua(s)&&!za(s)||(c=oo(l))):u=!1}u&&(a.set(l,c),r(c,l,i,o,a),a.delete(l));Wn(t,n,c)}(t,e,a,n,Ai,i,r);else{var s=i?i(yo(t,a),o,a+"",t,e,r):void 0;void 0===s&&(s=o),Wn(t,a,s)}}),ws)}function Pi(t,e){var n=t.length;if(n)return so(e+=e<0?n:0,n)?t[e]:void 0}function Ti(t,e,n){e=e.length?pe(e,(function(t){return La(t)?function(e){return hi(e,1===t.length?t[0]:t)}:t})):[Vs];var i=-1;return e=pe(e,Ae(Zr())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(ji(t,(function(t,n,r){return{criteria:pe(e,(function(e){return e(t)})),index:++i,value:t}})),(function(t,e){return function(t,e,n){var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;for(;++i<a;){var l=gr(r[i],o[i]);if(l){if(i>=s)return l;var d=n[i];return l*("desc"==d?-1:1)}}return t.index-e.index}(t,e,n)}))}function Li(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=hi(t,a);n(s,a)&&Hi(o,lr(a,t),s)}return o}function Di(t,e,n,i){var r=i?we:_e,o=-1,a=e.length,s=t;for(t===e&&(e=br(e)),n&&(s=pe(t,Ae(n)));++o<a;)for(var l=0,d=e[o],c=n?n(d):d;(l=r(s,c,l,i))>-1;)s!==t&&Xt.call(s,l,1),Xt.call(t,l,1);return t}function Ii(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;so(r)?Xt.call(t,r,1):tr(t,r)}}return t}function Ni(t,e){return t+tn(un()*(e-t+1))}function Ri(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Fi(t,e){return wo(mo(t,e,Vs),t+"")}function Bi(t){return Bn(Ms(t))}function zi(t,e){var n=Ms(t);return Co(n,Kn(e,0,n.length))}function Hi(t,e,n,i){if(!Ua(t))return t;for(var r=-1,o=(e=lr(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=So(e[r]),d=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=a){var c=s[l];void 0===(d=i?i(c,l,s):void 0)&&(d=Ua(c)?c:so(e[r+1])?[]:{})}Un(s,l,d),s=s[l]}return t}var Wi=yn?function(t,e){return yn.set(t,e),t}:Vs,Ui=be?function(t,e){return be(t,"toString",{configurable:!0,enumerable:!1,value:Us(e),writable:!0})}:Vs;function Yi(t){return Co(Ms(t))}function Gi(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=i(o);++r<o;)a[r]=t[r+e];return a}function Vi(t,e){var n;return ei(t,(function(t,i,r){return!(n=e(t,i,r))})),!!n}function Xi(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!Ja(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return qi(t,e,Vs,n)}function qi(t,e,n,i){var r=0,o=null==t?0:t.length;if(0===o)return 0;for(var a=(e=n(e))!=e,s=null===e,l=Ja(e),d=void 0===e;r<o;){var c=tn((r+o)/2),u=n(t[c]),h=void 0!==u,p=null===u,f=u==u,g=Ja(u);if(a)var m=i||f;else m=d?f&&(i||h):s?f&&h&&(i||!p):l?f&&h&&!p&&(i||!g):!p&&!g&&(i?u<=e:u<e);m?r=c+1:o=c}return ln(o,4294967294)}function Ki(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!Ma(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Zi(t){return"number"==typeof t?t:Ja(t)?NaN:+t}function Ji(t){if("string"==typeof t)return t;if(La(t))return pe(t,Ji)+"";if(Ja(t))return jn?jn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Qi(t,e,n){var i=-1,r=ue,o=t.length,a=!0,s=[],l=s;if(n)a=!1,r=he;else if(o>=200){var d=e?null:Rr(t);if(d)return Ue(d);a=!1,r=Te,l=new Nn}else l=e?[]:s;t:for(;++i<o;){var c=t[i],u=e?e(c):c;if(c=n||0!==c?c:0,a&&u==u){for(var h=l.length;h--;)if(l[h]===u)continue t;e&&l.push(u),s.push(c)}else r(l,u,n)||(l!==s&&l.push(u),s.push(c))}return s}function tr(t,e){return null==(t=vo(t,e=lr(e,t)))||delete t[So(Bo(e))]}function er(t,e,n,i){return Hi(t,e,n(hi(t,e)),i)}function nr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?Gi(t,i?0:o,i?o+1:r):Gi(t,i?o+1:0,i?r:o)}function ir(t,e){var n=t;return n instanceof Tn&&(n=n.value()),ge(e,(function(t,e){return e.func.apply(e.thisArg,fe([t],e.args))}),n)}function rr(t,e,n){var r=t.length;if(r<2)return r?Qi(t[0]):[];for(var o=-1,a=i(r);++o<r;)for(var s=t[o],l=-1;++l<r;)l!=o&&(a[o]=ti(a[o]||s,t[l],e,n));return Qi(ai(a,1),e,n)}function or(t,e,n){for(var i=-1,r=t.length,o=e.length,a={};++i<r;){var s=i<o?e[i]:void 0;n(a,t[i],s)}return a}function ar(t){return Na(t)?t:[]}function sr(t){return"function"==typeof t?t:Vs}function lr(t,e){return La(t)?t:co(t,e)?[t]:ko(ls(t))}var dr=Fi;function cr(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:Gi(t,e,n)}var ur=ke||function(t){return Vt.clearTimeout(t)};function hr(t,e){if(e)return t.slice();var n=t.length,i=It?It(n):new t.constructor(n);return t.copy(i),i}function pr(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function fr(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function gr(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,o=Ja(t),a=void 0!==e,s=null===e,l=e==e,d=Ja(e);if(!s&&!d&&!o&&t>e||o&&a&&l&&!s&&!d||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!d&&t<e||d&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}function mr(t,e,n,r){for(var o=-1,a=t.length,s=n.length,l=-1,d=e.length,c=sn(a-s,0),u=i(d+c),h=!r;++l<d;)u[l]=e[l];for(;++o<s;)(h||o<a)&&(u[n[o]]=t[o]);for(;c--;)u[l++]=t[o++];return u}function vr(t,e,n,r){for(var o=-1,a=t.length,s=-1,l=n.length,d=-1,c=e.length,u=sn(a-l,0),h=i(u+c),p=!r;++o<u;)h[o]=t[o];for(var f=o;++d<c;)h[f+d]=e[d];for(;++s<l;)(p||o<a)&&(h[f+n[s]]=t[o++]);return h}function br(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function yr(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),r?Xn(n,s,l):Un(n,s,l)}return n}function xr(t,e){return function(n,i){var r=La(n)?ae:Gn,o=e?e():{};return r(n,t,Zr(i,2),o)}}function _r(t){return Fi((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,a&&lo(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),e=ft(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e}))}function wr(t,e){return function(n,i){if(null==n)return n;if(!Ia(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=ft(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Or(t){return function(e,n,i){for(var r=-1,o=ft(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function $r(t){return function(e){var n=Be(e=ls(e))?Ve(e):void 0,i=n?n[0]:e.charAt(0),r=n?cr(n,1).join(""):e.slice(1);return i[t]()+r}}function Cr(t){return function(e){return ge(zs(Ts(e).replace(Pt,"")),t,"")}}function kr(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Mn(t.prototype),i=t.apply(n,e);return Ua(i)?i:n}}function Sr(t){return function(e,n,i){var r=ft(e);if(!Ia(e)){var o=Zr(n,3);e=_s(e),n=function(t){return o(r[t],t,r)}}var a=t(e,n,i);return a>-1?r[o?e[a]:a]:void 0}}function jr(t){return Yr((function(e){var n=e.length,i=n,r=Pn.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new vt(o);if(r&&!s&&"wrapper"==qr(a))var s=new Pn([],!0)}for(i=s?i:n;++i<n;){var l=qr(a=e[i]),d="wrapper"==l?Xr(a):void 0;s=d&&uo(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?s[qr(d[0])].apply(s,d[3]):1==a.length&&uo(a)?s[l]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&La(i))return s.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}}))}function Er(t,e,n,r,o,a,s,l,d,c){var u=128&e,h=1&e,p=2&e,f=24&e,g=512&e,m=p?void 0:kr(t);return function v(){for(var b=arguments.length,y=i(b),x=b;x--;)y[x]=arguments[x];if(f)var _=Kr(v),w=Ie(y,_);if(r&&(y=mr(y,r,o,f)),a&&(y=vr(y,a,s,f)),b-=w,f&&b<c){var O=We(y,_);return Ir(t,e,Er,v.placeholder,n,y,O,l,d,c-b)}var $=h?n:this,C=p?$[t]:t;return b=y.length,l?y=bo(y,l):g&&b>1&&y.reverse(),u&&d<b&&(y.length=d),this&&this!==Vt&&this instanceof v&&(C=m||kr(C)),C.apply($,y)}}function Mr(t,e){return function(n,i){return function(t,e,n,i){return di(t,(function(t,r,o){e(i,n(t),r,o)})),i}(n,t,e(i),{})}}function Ar(t,e){return function(n,i){var r;if(void 0===n&&void 0===i)return e;if(void 0!==n&&(r=n),void 0!==i){if(void 0===r)return i;"string"==typeof n||"string"==typeof i?(n=Ji(n),i=Ji(i)):(n=Zi(n),i=Zi(i)),r=t(n,i)}return r}}function Pr(t){return Yr((function(e){return e=pe(e,Ae(Zr())),Fi((function(n){var i=this;return t(e,(function(t){return oe(t,i,n)}))}))}))}function Tr(t,e){var n=(e=void 0===e?" ":Ji(e)).length;if(n<2)return n?Ri(e,t):e;var i=Ri(e,Qe(t/Ge(e)));return Be(e)?cr(Ve(i),0,t).join(""):i.slice(0,t)}function Lr(t){return function(e,n,r){return r&&"number"!=typeof r&&lo(e,n,r)&&(n=r=void 0),e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n,r){for(var o=-1,a=sn(Qe((e-t)/(n||1)),0),s=i(a);a--;)s[r?a:++o]=t,t+=n;return s}(e,n,r=void 0===r?e<n?1:-1:is(r),t)}}function Dr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=as(e),n=as(n)),t(e,n)}}function Ir(t,e,n,i,r,o,a,s,l,d){var c=8&e;e|=c?32:64,4&(e&=~(c?64:32))||(e&=-4);var u=[t,e,r,c?o:void 0,c?a:void 0,c?void 0:o,c?void 0:a,s,l,d],h=n.apply(void 0,u);return uo(t)&&xo(h,u),h.placeholder=i,Oo(h,t,e)}function Nr(t){var e=pt[t];return function(t,n){if(t=as(t),(n=null==n?0:ln(rs(n),292))&&rn(t)){var i=(ls(t)+"e").split("e");return+((i=(ls(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var Rr=mn&&1/Ue(new mn([,-0]))[1]==1/0?function(t){return new mn(t)}:Js;function Fr(t){return function(e){var n=io(e);return n==g?ze(e):n==y?Ye(e):function(t,e){return pe(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Br(t,e,n,r,s,l,d,c){var u=2&e;if(!u&&"function"!=typeof t)throw new vt(o);var h=r?r.length:0;if(h||(e&=-97,r=s=void 0),d=void 0===d?d:sn(rs(d),0),c=void 0===c?c:rs(c),h-=s?s.length:0,64&e){var p=r,f=s;r=s=void 0}var g=u?void 0:Xr(t),m=[t,e,n,r,s,p,f,l,d,c];if(g&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<131,s=128==i&&8==n||128==i&&256==n&&t[7].length<=e[8]||384==i&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&i&&(t[2]=e[2],r|=1&n?0:4);var l=e[3];if(l){var d=t[3];t[3]=d?mr(d,l,e[4]):l,t[4]=d?We(t[3],a):e[4]}(l=e[5])&&(d=t[5],t[5]=d?vr(d,l,e[6]):l,t[6]=d?We(t[5],a):e[6]);(l=e[7])&&(t[7]=l);128&i&&(t[8]=null==t[8]?e[8]:ln(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=r}(m,g),t=m[0],e=m[1],n=m[2],r=m[3],s=m[4],!(c=m[9]=void 0===m[9]?u?0:t.length:sn(m[9]-h,0))&&24&e&&(e&=-25),e&&1!=e)v=8==e||16==e?function(t,e,n){var r=kr(t);return function o(){for(var a=arguments.length,s=i(a),l=a,d=Kr(o);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==d&&s[a-1]!==d?[]:We(s,d);if((a-=c.length)<n)return Ir(t,e,Er,o.placeholder,void 0,s,c,void 0,void 0,n-a);var u=this&&this!==Vt&&this instanceof o?r:t;return oe(u,this,s)}}(t,e,c):32!=e&&33!=e||s.length?Er.apply(void 0,m):function(t,e,n,r){var o=1&e,a=kr(t);return function e(){for(var s=-1,l=arguments.length,d=-1,c=r.length,u=i(c+l),h=this&&this!==Vt&&this instanceof e?a:t;++d<c;)u[d]=r[d];for(;l--;)u[d++]=arguments[++s];return oe(h,o?n:this,u)}}(t,e,n,r);else var v=function(t,e,n){var i=1&e,r=kr(t);return function e(){var o=this&&this!==Vt&&this instanceof e?r:t;return o.apply(i?n:this,arguments)}}(t,e,n);return Oo((g?Wi:xo)(v,m),t,e)}function zr(t,e,n,i){return void 0===t||Ma(t,xt[n])&&!Ot.call(i,n)?e:t}function Hr(t,e,n,i,r,o){return Ua(t)&&Ua(e)&&(o.set(e,t),Ai(t,e,void 0,Hr,o),o.delete(e)),t}function Wr(t){return Xa(t)?void 0:t}function Ur(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var d=o.get(t),c=o.get(e);if(d&&c)return d==e&&c==t;var u=-1,h=!0,p=2&n?new Nn:void 0;for(o.set(t,e),o.set(e,t);++u<s;){var f=t[u],g=e[u];if(i)var m=a?i(g,f,u,e,t,o):i(f,g,u,t,e,o);if(void 0!==m){if(m)continue;h=!1;break}if(p){if(!ve(e,(function(t,e){if(!Te(p,e)&&(f===t||r(f,t,n,i,o)))return p.push(e)}))){h=!1;break}}else if(f!==g&&!r(f,g,n,i,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function Yr(t){return wo(mo(t,void 0,Do),t+"")}function Gr(t){return pi(t,_s,eo)}function Vr(t){return pi(t,ws,no)}var Xr=yn?function(t){return yn.get(t)}:Js;function qr(t){for(var e=t.name+"",n=xn[e],i=Ot.call(xn,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function Kr(t){return(Ot.call(En,"placeholder")?En:t).placeholder}function Zr(){var t=En.iteratee||Xs;return t=t===Xs?$i:t,arguments.length?t(arguments[0],arguments[1]):t}function Jr(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Qr(t){for(var e=_s(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,fo(r)]}return e}function to(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Oi(n)?n:void 0}var eo=en?function(t){return null==t?[]:(t=ft(t),ce(en(t),(function(e){return Gt.call(t,e)})))}:ol,no=en?function(t){for(var e=[];t;)fe(e,eo(t)),t=Ht(t);return e}:ol,io=fi;function ro(t,e,n){for(var i=-1,r=(e=lr(e,t)).length,o=!1;++i<r;){var a=So(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Wa(r)&&so(a,r)&&(La(t)||Ta(t))}function oo(t){return"function"!=typeof t.constructor||po(t)?{}:Mn(Ht(t))}function ao(t){return La(t)||Ta(t)||!!(qt&&t&&t[qt])}function so(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&lt.test(t))&&t>-1&&t%1==0&&t<e}function lo(t,e,n){if(!Ua(n))return!1;var i=typeof e;return!!("number"==i?Ia(n)&&so(e,n.length):"string"==i&&e in n)&&Ma(n[e],t)}function co(t,e){if(La(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ja(t))||(U.test(t)||!W.test(t)||null!=e&&t in ft(e))}function uo(t){var e=qr(t),n=En[e];if("function"!=typeof n||!(e in Tn.prototype))return!1;if(t===n)return!0;var i=Xr(n);return!!i&&t===i[0]}(pn&&io(new pn(new ArrayBuffer(1)))!=$||fn&&io(new fn)!=g||gn&&"[object Promise]"!=io(gn.resolve())||mn&&io(new mn)!=y||vn&&io(new vn)!=w)&&(io=function(t){var e=fi(t),n=e==v?t.constructor:void 0,i=n?jo(n):"";if(i)switch(i){case _n:return $;case wn:return g;case On:return"[object Promise]";case $n:return y;case Cn:return w}return e});var ho=_t?za:al;function po(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||xt)}function fo(t){return t==t&&!Ua(t)}function go(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in ft(n)))}}function mo(t,e,n){return e=sn(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,a=sn(r.length-e,0),s=i(a);++o<a;)s[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(s),oe(t,this,l)}}function vo(t,e){return e.length<2?t:hi(t,Gi(e,0,-1))}function bo(t,e){for(var n=t.length,i=ln(e.length,n),r=br(t);i--;){var o=e[i];t[i]=so(o,n)?r[o]:void 0}return t}function yo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var xo=$o(Wi),_o=Je||function(t,e){return Vt.setTimeout(t,e)},wo=$o(Ui);function Oo(t,e,n){var i=e+"";return wo(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(K,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return se(s,(function(n){var i="_."+n[0];e&n[1]&&!ue(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(Z);return e?e[1].split(J):[]}(i),n)))}function $o(t){var e=0,n=0;return function(){var i=dn(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Co(t,e){var n=-1,i=t.length,r=i-1;for(e=void 0===e?i:e;++n<e;){var o=Ni(n,r),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}var ko=function(t){var e=$a(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Y,(function(t,n,i,r){e.push(i?r.replace(et,"$1"):n||t)})),e}));function So(t){if("string"==typeof t||Ja(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function jo(t){if(null!=t){try{return wt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Eo(t){if(t instanceof Tn)return t.clone();var e=new Pn(t.__wrapped__,t.__chain__);return e.__actions__=br(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Mo=Fi((function(t,e){return Na(t)?ti(t,ai(e,1,Na,!0)):[]})),Ao=Fi((function(t,e){var n=Bo(e);return Na(n)&&(n=void 0),Na(t)?ti(t,ai(e,1,Na,!0),Zr(n,2)):[]})),Po=Fi((function(t,e){var n=Bo(e);return Na(n)&&(n=void 0),Na(t)?ti(t,ai(e,1,Na,!0),void 0,n):[]}));function To(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),xe(t,Zr(e,3),r)}function Lo(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return void 0!==n&&(r=rs(n),r=n<0?sn(i+r,0):ln(r,i-1)),xe(t,Zr(e,3),r,!0)}function Do(t){return(null==t?0:t.length)?ai(t,1):[]}function Io(t){return t&&t.length?t[0]:void 0}var No=Fi((function(t){var e=pe(t,ar);return e.length&&e[0]===t[0]?bi(e):[]})),Ro=Fi((function(t){var e=Bo(t),n=pe(t,ar);return e===Bo(n)?e=void 0:n.pop(),n.length&&n[0]===t[0]?bi(n,Zr(e,2)):[]})),Fo=Fi((function(t){var e=Bo(t),n=pe(t,ar);return(e="function"==typeof e?e:void 0)&&n.pop(),n.length&&n[0]===t[0]?bi(n,void 0,e):[]}));function Bo(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}var zo=Fi(Ho);function Ho(t,e){return t&&t.length&&e&&e.length?Di(t,e):t}var Wo=Yr((function(t,e){var n=null==t?0:t.length,i=qn(t,e);return Ii(t,pe(e,(function(t){return so(t,n)?+t:t})).sort(gr)),i}));function Uo(t){return null==t?t:hn.call(t)}var Yo=Fi((function(t){return Qi(ai(t,1,Na,!0))})),Go=Fi((function(t){var e=Bo(t);return Na(e)&&(e=void 0),Qi(ai(t,1,Na,!0),Zr(e,2))})),Vo=Fi((function(t){var e=Bo(t);return e="function"==typeof e?e:void 0,Qi(ai(t,1,Na,!0),void 0,e)}));function Xo(t){if(!t||!t.length)return[];var e=0;return t=ce(t,(function(t){if(Na(t))return e=sn(t.length,e),!0})),Ee(e,(function(e){return pe(t,Ce(e))}))}function qo(t,e){if(!t||!t.length)return[];var n=Xo(t);return null==e?n:pe(n,(function(t){return oe(e,void 0,t)}))}var Ko=Fi((function(t,e){return Na(t)?ti(t,e):[]})),Zo=Fi((function(t){return rr(ce(t,Na))})),Jo=Fi((function(t){var e=Bo(t);return Na(e)&&(e=void 0),rr(ce(t,Na),Zr(e,2))})),Qo=Fi((function(t){var e=Bo(t);return e="function"==typeof e?e:void 0,rr(ce(t,Na),void 0,e)})),ta=Fi(Xo);var ea=Fi((function(t){var e=t.length,n=e>1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,qo(t,n)}));function na(t){var e=En(t);return e.__chain__=!0,e}function ia(t,e){return e(t)}var ra=Yr((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return qn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Tn&&so(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:ia,args:[r],thisArg:void 0}),new Pn(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(r)}));var oa=xr((function(t,e,n){Ot.call(t,n)?++t[n]:Xn(t,n,1)}));var aa=Sr(To),sa=Sr(Lo);function la(t,e){return(La(t)?se:ei)(t,Zr(e,3))}function da(t,e){return(La(t)?le:ni)(t,Zr(e,3))}var ca=xr((function(t,e,n){Ot.call(t,n)?t[n].push(e):Xn(t,n,[e])}));var ua=Fi((function(t,e,n){var r=-1,o="function"==typeof e,a=Ia(t)?i(t.length):[];return ei(t,(function(t){a[++r]=o?oe(e,t,n):yi(t,e,n)})),a})),ha=xr((function(t,e,n){Xn(t,n,e)}));function pa(t,e){return(La(t)?pe:ji)(t,Zr(e,3))}var fa=xr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var ga=Fi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&lo(t,e[0],e[1])?e=[]:n>2&&lo(e[0],e[1],e[2])&&(e=[e[0]]),Ti(t,ai(e,1),[])})),ma=Ze||function(){return Vt.Date.now()};function va(t,e,n){return e=n?void 0:e,Br(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function ba(t,e){var n;if("function"!=typeof e)throw new vt(o);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ya=Fi((function(t,e,n){var i=1;if(n.length){var r=We(n,Kr(ya));i|=32}return Br(t,i,e,n,r)})),xa=Fi((function(t,e,n){var i=3;if(n.length){var r=We(n,Kr(xa));i|=32}return Br(e,i,t,n,r)}));function _a(t,e,n){var i,r,a,s,l,d,c=0,u=!1,h=!1,p=!0;if("function"!=typeof t)throw new vt(o);function f(e){var n=i,o=r;return i=r=void 0,c=e,s=t.apply(o,n)}function g(t){return c=t,l=_o(v,e),u?f(t):s}function m(t){var n=t-d;return void 0===d||n>=e||n<0||h&&t-c>=a}function v(){var t=ma();if(m(t))return b(t);l=_o(v,function(t){var n=e-(t-d);return h?ln(n,a-(t-c)):n}(t))}function b(t){return l=void 0,p&&i?f(t):(i=r=void 0,s)}function y(){var t=ma(),n=m(t);if(i=arguments,r=this,d=t,n){if(void 0===l)return g(d);if(h)return ur(l),l=_o(v,e),f(d)}return void 0===l&&(l=_o(v,e)),s}return e=as(e)||0,Ua(n)&&(u=!!n.leading,a=(h="maxWait"in n)?sn(as(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==l&&ur(l),c=0,i=d=r=l=void 0},y.flush=function(){return void 0===l?s:b(ma())},y}var wa=Fi((function(t,e){return Qn(t,1,e)})),Oa=Fi((function(t,e,n){return Qn(t,as(e)||0,n)}));function $a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new vt(o);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new($a.Cache||In),n}function Ca(t){if("function"!=typeof t)throw new vt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}$a.Cache=In;var ka=dr((function(t,e){var n=(e=1==e.length&&La(e[0])?pe(e[0],Ae(Zr())):pe(ai(e,1),Ae(Zr()))).length;return Fi((function(i){for(var r=-1,o=ln(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return oe(t,this,i)}))})),Sa=Fi((function(t,e){return Br(t,32,void 0,e,We(e,Kr(Sa)))})),ja=Fi((function(t,e){return Br(t,64,void 0,e,We(e,Kr(ja)))})),Ea=Yr((function(t,e){return Br(t,256,void 0,void 0,void 0,e)}));function Ma(t,e){return t===e||t!=t&&e!=e}var Aa=Dr(gi),Pa=Dr((function(t,e){return t>=e})),Ta=xi(function(){return arguments}())?xi:function(t){return Ya(t)&&Ot.call(t,"callee")&&!Gt.call(t,"callee")},La=i.isArray,Da=Qt?Ae(Qt):function(t){return Ya(t)&&fi(t)==O};function Ia(t){return null!=t&&Wa(t.length)&&!za(t)}function Na(t){return Ya(t)&&Ia(t)}var Ra=nn||al,Fa=te?Ae(te):function(t){return Ya(t)&&fi(t)==u};function Ba(t){if(!Ya(t))return!1;var e=fi(t);return e==h||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Xa(t)}function za(t){if(!Ua(t))return!1;var e=fi(t);return e==p||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Ha(t){return"number"==typeof t&&t==rs(t)}function Wa(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ua(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ya(t){return null!=t&&"object"==typeof t}var Ga=ee?Ae(ee):function(t){return Ya(t)&&io(t)==g};function Va(t){return"number"==typeof t||Ya(t)&&fi(t)==m}function Xa(t){if(!Ya(t)||fi(t)!=v)return!1;var e=Ht(t);if(null===e)return!0;var n=Ot.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&wt.call(n)==St}var qa=ne?Ae(ne):function(t){return Ya(t)&&fi(t)==b};var Ka=ie?Ae(ie):function(t){return Ya(t)&&io(t)==y};function Za(t){return"string"==typeof t||!La(t)&&Ya(t)&&fi(t)==x}function Ja(t){return"symbol"==typeof t||Ya(t)&&fi(t)==_}var Qa=re?Ae(re):function(t){return Ya(t)&&Wa(t.length)&&!!Bt[fi(t)]};var ts=Dr(Si),es=Dr((function(t,e){return t<=e}));function ns(t){if(!t)return[];if(Ia(t))return Za(t)?Ve(t):br(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=io(t);return(e==g?ze:e==y?Ue:Ms)(t)}function is(t){return t?(t=as(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=is(t),n=e%1;return e==e?n?e-n:e:0}function os(t){return t?Kn(rs(t),0,4294967295):0}function as(t){if("number"==typeof t)return t;if(Ja(t))return NaN;if(Ua(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ua(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Me(t);var n=ot.test(t);return n||st.test(t)?Ut(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function ss(t){return yr(t,ws(t))}function ls(t){return null==t?"":Ji(t)}var ds=_r((function(t,e){if(po(e)||Ia(e))yr(e,_s(e),t);else for(var n in e)Ot.call(e,n)&&Un(t,n,e[n])})),cs=_r((function(t,e){yr(e,ws(e),t)})),us=_r((function(t,e,n,i){yr(e,ws(e),t,i)})),hs=_r((function(t,e,n,i){yr(e,_s(e),t,i)})),ps=Yr(qn);var fs=Fi((function(t,e){t=ft(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&lo(e[0],e[1],r)&&(i=1);++n<i;)for(var o=e[n],a=ws(o),s=-1,l=a.length;++s<l;){var d=a[s],c=t[d];(void 0===c||Ma(c,xt[d])&&!Ot.call(t,d))&&(t[d]=o[d])}return t})),gs=Fi((function(t){return t.push(void 0,Hr),oe($s,void 0,t)}));function ms(t,e,n){var i=null==t?void 0:hi(t,e);return void 0===i?n:i}function vs(t,e){return null!=t&&ro(t,e,vi)}var bs=Mr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),t[e]=n}),Us(Vs)),ys=Mr((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=kt.call(e)),Ot.call(t,e)?t[e].push(n):t[e]=[n]}),Zr),xs=Fi(yi);function _s(t){return Ia(t)?Fn(t):Ci(t)}function ws(t){return Ia(t)?Fn(t,!0):ki(t)}var Os=_r((function(t,e,n){Ai(t,e,n)})),$s=_r((function(t,e,n,i){Ai(t,e,n,i)})),Cs=Yr((function(t,e){var n={};if(null==t)return n;var i=!1;e=pe(e,(function(e){return e=lr(e,t),i||(i=e.length>1),e})),yr(t,Vr(t),n),i&&(n=Zn(n,7,Wr));for(var r=e.length;r--;)tr(n,e[r]);return n}));var ks=Yr((function(t,e){return null==t?{}:function(t,e){return Li(t,e,(function(e,n){return vs(t,n)}))}(t,e)}));function Ss(t,e){if(null==t)return{};var n=pe(Vr(t),(function(t){return[t]}));return e=Zr(e),Li(t,n,(function(t,n){return e(t,n[0])}))}var js=Fr(_s),Es=Fr(ws);function Ms(t){return null==t?[]:Pe(t,_s(t))}var As=Cr((function(t,e,n){return e=e.toLowerCase(),t+(n?Ps(e):e)}));function Ps(t){return Bs(ls(t).toLowerCase())}function Ts(t){return(t=ls(t))&&t.replace(dt,Ne).replace(Tt,"")}var Ls=Cr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ds=Cr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Is=$r("toLowerCase");var Ns=Cr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Rs=Cr((function(t,e,n){return t+(n?" ":"")+Bs(e)}));var Fs=Cr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Bs=$r("toUpperCase");function zs(t,e,n){return t=ls(t),void 0===(e=n?void 0:e)?function(t){return Nt.test(t)}(t)?function(t){return t.match(Dt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var Hs=Fi((function(t,e){try{return oe(t,void 0,e)}catch(t){return Ba(t)?t:new q(t)}})),Ws=Yr((function(t,e){return se(e,(function(e){e=So(e),Xn(t,e,ya(t[e],t))})),t}));function Us(t){return function(){return t}}var Ys=jr(),Gs=jr(!0);function Vs(t){return t}function Xs(t){return $i("function"==typeof t?t:Zn(t,1))}var qs=Fi((function(t,e){return function(n){return yi(n,t,e)}})),Ks=Fi((function(t,e){return function(n){return yi(t,n,e)}}));function Zs(t,e,n){var i=_s(e),r=ui(e,i);null!=n||Ua(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=ui(e,_s(e)));var o=!(Ua(n)&&"chain"in n&&!n.chain),a=za(t);return se(r,(function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),r=n.__actions__=br(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,fe([this.value()],arguments))})})),t}function Js(){}var Qs=Pr(pe),tl=Pr(de),el=Pr(ve);function nl(t){return co(t)?Ce(So(t)):function(t){return function(e){return hi(e,t)}}(t)}var il=Lr(),rl=Lr(!0);function ol(){return[]}function al(){return!1}var sl=Ar((function(t,e){return t+e}),0),ll=Nr("ceil"),dl=Ar((function(t,e){return t/e}),1),cl=Nr("floor");var ul,hl=Ar((function(t,e){return t*e}),1),pl=Nr("round"),fl=Ar((function(t,e){return t-e}),0);return En.after=function(t,e){if("function"!=typeof e)throw new vt(o);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},En.ary=va,En.assign=ds,En.assignIn=cs,En.assignInWith=us,En.assignWith=hs,En.at=ps,En.before=ba,En.bind=ya,En.bindAll=Ws,En.bindKey=xa,En.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return La(t)?t:[t]},En.chain=na,En.chunk=function(t,e,n){e=(n?lo(t,e,n):void 0===e)?1:sn(rs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,a=0,s=i(Qe(r/e));o<r;)s[a++]=Gi(t,o,o+=e);return s},En.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},En.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return fe(La(n)?br(n):[n],ai(e,1))},En.cond=function(t){var e=null==t?0:t.length,n=Zr();return t=e?pe(t,(function(t){if("function"!=typeof t[1])throw new vt(o);return[n(t[0]),t[1]]})):[],Fi((function(n){for(var i=-1;++i<e;){var r=t[i];if(oe(r[0],this,n))return oe(r[1],this,n)}}))},En.conforms=function(t){return function(t){var e=_s(t);return function(n){return Jn(n,t,e)}}(Zn(t,1))},En.constant=Us,En.countBy=oa,En.create=function(t,e){var n=Mn(t);return null==e?n:Vn(n,e)},En.curry=function t(e,n,i){var r=Br(e,8,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},En.curryRight=function t(e,n,i){var r=Br(e,16,void 0,void 0,void 0,void 0,void 0,n=i?void 0:n);return r.placeholder=t.placeholder,r},En.debounce=_a,En.defaults=fs,En.defaultsDeep=gs,En.defer=wa,En.delay=Oa,En.difference=Mo,En.differenceBy=Ao,En.differenceWith=Po,En.drop=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=n||void 0===e?1:rs(e))<0?0:e,i):[]},En.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,0,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e):[]},En.dropRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0,!0):[]},En.dropWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!0):[]},En.fill=function(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&lo(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=rs(n))<0&&(n=-n>r?0:r+n),(i=void 0===i||i>r?r:rs(i))<0&&(i+=r),i=n>i?0:os(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},En.filter=function(t,e){return(La(t)?ce:oi)(t,Zr(e,3))},En.flatMap=function(t,e){return ai(pa(t,e),1)},En.flatMapDeep=function(t,e){return ai(pa(t,e),1/0)},En.flatMapDepth=function(t,e,n){return n=void 0===n?1:rs(n),ai(pa(t,e),n)},En.flatten=Do,En.flattenDeep=function(t){return(null==t?0:t.length)?ai(t,1/0):[]},En.flattenDepth=function(t,e){return(null==t?0:t.length)?ai(t,e=void 0===e?1:rs(e)):[]},En.flip=function(t){return Br(t,512)},En.flow=Ys,En.flowRight=Gs,En.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},En.functions=function(t){return null==t?[]:ui(t,_s(t))},En.functionsIn=function(t){return null==t?[]:ui(t,ws(t))},En.groupBy=ca,En.initial=function(t){return(null==t?0:t.length)?Gi(t,0,-1):[]},En.intersection=No,En.intersectionBy=Ro,En.intersectionWith=Fo,En.invert=bs,En.invertBy=ys,En.invokeMap=ua,En.iteratee=Xs,En.keyBy=ha,En.keys=_s,En.keysIn=ws,En.map=pa,En.mapKeys=function(t,e){var n={};return e=Zr(e,3),di(t,(function(t,i,r){Xn(n,e(t,i,r),t)})),n},En.mapValues=function(t,e){var n={};return e=Zr(e,3),di(t,(function(t,i,r){Xn(n,i,e(t,i,r))})),n},En.matches=function(t){return Ei(Zn(t,1))},En.matchesProperty=function(t,e){return Mi(t,Zn(e,1))},En.memoize=$a,En.merge=Os,En.mergeWith=$s,En.method=qs,En.methodOf=Ks,En.mixin=Zs,En.negate=Ca,En.nthArg=function(t){return t=rs(t),Fi((function(e){return Pi(e,t)}))},En.omit=Cs,En.omitBy=function(t,e){return Ss(t,Ca(Zr(e)))},En.once=function(t){return ba(2,t)},En.orderBy=function(t,e,n,i){return null==t?[]:(La(e)||(e=null==e?[]:[e]),La(n=i?void 0:n)||(n=null==n?[]:[n]),Ti(t,e,n))},En.over=Qs,En.overArgs=ka,En.overEvery=tl,En.overSome=el,En.partial=Sa,En.partialRight=ja,En.partition=fa,En.pick=ks,En.pickBy=Ss,En.property=nl,En.propertyOf=function(t){return function(e){return null==t?void 0:hi(t,e)}},En.pull=zo,En.pullAll=Ho,En.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Di(t,e,Zr(n,2)):t},En.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Di(t,e,void 0,n):t},En.pullAt=Wo,En.range=il,En.rangeRight=rl,En.rearg=Ea,En.reject=function(t,e){return(La(t)?ce:oi)(t,Ca(Zr(e,3)))},En.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=Zr(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return Ii(t,r),n},En.rest=function(t,e){if("function"!=typeof t)throw new vt(o);return Fi(t,e=void 0===e?e:rs(e))},En.reverse=Uo,En.sampleSize=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),(La(t)?zn:zi)(t,e)},En.set=function(t,e,n){return null==t?t:Hi(t,e,n)},En.setWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:Hi(t,e,n,i)},En.shuffle=function(t){return(La(t)?Hn:Yi)(t)},En.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&lo(t,e,n)?(e=0,n=i):(e=null==e?0:rs(e),n=void 0===n?i:rs(n)),Gi(t,e,n)):[]},En.sortBy=ga,En.sortedUniq=function(t){return t&&t.length?Ki(t):[]},En.sortedUniqBy=function(t,e){return t&&t.length?Ki(t,Zr(e,2)):[]},En.split=function(t,e,n){return n&&"number"!=typeof n&&lo(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=ls(t))&&("string"==typeof e||null!=e&&!qa(e))&&!(e=Ji(e))&&Be(t)?cr(Ve(t),0,n):t.split(e,n):[]},En.spread=function(t,e){if("function"!=typeof t)throw new vt(o);return e=null==e?0:sn(rs(e),0),Fi((function(n){var i=n[e],r=cr(n,0,e);return i&&fe(r,i),oe(t,this,r)}))},En.tail=function(t){var e=null==t?0:t.length;return e?Gi(t,1,e):[]},En.take=function(t,e,n){return t&&t.length?Gi(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},En.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Gi(t,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e,i):[]},En.takeRightWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3),!1,!0):[]},En.takeWhile=function(t,e){return t&&t.length?nr(t,Zr(e,3)):[]},En.tap=function(t,e){return e(t),t},En.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new vt(o);return Ua(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),_a(t,e,{leading:i,maxWait:e,trailing:r})},En.thru=ia,En.toArray=ns,En.toPairs=js,En.toPairsIn=Es,En.toPath=function(t){return La(t)?pe(t,So):Ja(t)?[t]:br(ko(ls(t)))},En.toPlainObject=ss,En.transform=function(t,e,n){var i=La(t),r=i||Ra(t)||Qa(t);if(e=Zr(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Ua(t)&&za(o)?Mn(Ht(t)):{}}return(r?se:di)(t,(function(t,i,r){return e(n,t,i,r)})),n},En.unary=function(t){return va(t,1)},En.union=Yo,En.unionBy=Go,En.unionWith=Vo,En.uniq=function(t){return t&&t.length?Qi(t):[]},En.uniqBy=function(t,e){return t&&t.length?Qi(t,Zr(e,2)):[]},En.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qi(t,void 0,e):[]},En.unset=function(t,e){return null==t||tr(t,e)},En.unzip=Xo,En.unzipWith=qo,En.update=function(t,e,n){return null==t?t:er(t,e,sr(n))},En.updateWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:er(t,e,sr(n),i)},En.values=Ms,En.valuesIn=function(t){return null==t?[]:Pe(t,ws(t))},En.without=Ko,En.words=zs,En.wrap=function(t,e){return Sa(sr(e),t)},En.xor=Zo,En.xorBy=Jo,En.xorWith=Qo,En.zip=ta,En.zipObject=function(t,e){return or(t||[],e||[],Un)},En.zipObjectDeep=function(t,e){return or(t||[],e||[],Hi)},En.zipWith=ea,En.entries=js,En.entriesIn=Es,En.extend=cs,En.extendWith=us,Zs(En,En),En.add=sl,En.attempt=Hs,En.camelCase=As,En.capitalize=Ps,En.ceil=ll,En.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==e&&(e=(e=as(e))==e?e:0),Kn(as(t),e,n)},En.clone=function(t){return Zn(t,4)},En.cloneDeep=function(t){return Zn(t,5)},En.cloneDeepWith=function(t,e){return Zn(t,5,e="function"==typeof e?e:void 0)},En.cloneWith=function(t,e){return Zn(t,4,e="function"==typeof e?e:void 0)},En.conformsTo=function(t,e){return null==e||Jn(t,e,_s(e))},En.deburr=Ts,En.defaultTo=function(t,e){return null==t||t!=t?e:t},En.divide=dl,En.endsWith=function(t,e,n){t=ls(t),e=Ji(e);var i=t.length,r=n=void 0===n?i:Kn(rs(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},En.eq=Ma,En.escape=function(t){return(t=ls(t))&&F.test(t)?t.replace(N,Re):t},En.escapeRegExp=function(t){return(t=ls(t))&&V.test(t)?t.replace(G,"\\$&"):t},En.every=function(t,e,n){var i=La(t)?de:ii;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},En.find=aa,En.findIndex=To,En.findKey=function(t,e){return ye(t,Zr(e,3),di)},En.findLast=sa,En.findLastIndex=Lo,En.findLastKey=function(t,e){return ye(t,Zr(e,3),ci)},En.floor=cl,En.forEach=la,En.forEachRight=da,En.forIn=function(t,e){return null==t?t:si(t,Zr(e,3),ws)},En.forInRight=function(t,e){return null==t?t:li(t,Zr(e,3),ws)},En.forOwn=function(t,e){return t&&di(t,Zr(e,3))},En.forOwnRight=function(t,e){return t&&ci(t,Zr(e,3))},En.get=ms,En.gt=Aa,En.gte=Pa,En.has=function(t,e){return null!=t&&ro(t,e,mi)},En.hasIn=vs,En.head=Io,En.identity=Vs,En.includes=function(t,e,n,i){t=Ia(t)?t:Ms(t),n=n&&!i?rs(n):0;var r=t.length;return n<0&&(n=sn(r+n,0)),Za(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&_e(t,e,n)>-1},En.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),_e(t,e,r)},En.inRange=function(t,e,n){return e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n){return t>=ln(e,n)&&t<sn(e,n)}(t=as(t),e,n)},En.invoke=xs,En.isArguments=Ta,En.isArray=La,En.isArrayBuffer=Da,En.isArrayLike=Ia,En.isArrayLikeObject=Na,En.isBoolean=function(t){return!0===t||!1===t||Ya(t)&&fi(t)==c},En.isBuffer=Ra,En.isDate=Fa,En.isElement=function(t){return Ya(t)&&1===t.nodeType&&!Xa(t)},En.isEmpty=function(t){if(null==t)return!0;if(Ia(t)&&(La(t)||"string"==typeof t||"function"==typeof t.splice||Ra(t)||Qa(t)||Ta(t)))return!t.length;var e=io(t);if(e==g||e==y)return!t.size;if(po(t))return!Ci(t).length;for(var n in t)if(Ot.call(t,n))return!1;return!0},En.isEqual=function(t,e){return _i(t,e)},En.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:void 0)?n(t,e):void 0;return void 0===i?_i(t,e,void 0,n):!!i},En.isError=Ba,En.isFinite=function(t){return"number"==typeof t&&rn(t)},En.isFunction=za,En.isInteger=Ha,En.isLength=Wa,En.isMap=Ga,En.isMatch=function(t,e){return t===e||wi(t,e,Qr(e))},En.isMatchWith=function(t,e,n){return n="function"==typeof n?n:void 0,wi(t,e,Qr(e),n)},En.isNaN=function(t){return Va(t)&&t!=+t},En.isNative=function(t){if(ho(t))throw new q("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Oi(t)},En.isNil=function(t){return null==t},En.isNull=function(t){return null===t},En.isNumber=Va,En.isObject=Ua,En.isObjectLike=Ya,En.isPlainObject=Xa,En.isRegExp=qa,En.isSafeInteger=function(t){return Ha(t)&&t>=-9007199254740991&&t<=9007199254740991},En.isSet=Ka,En.isString=Za,En.isSymbol=Ja,En.isTypedArray=Qa,En.isUndefined=function(t){return void 0===t},En.isWeakMap=function(t){return Ya(t)&&io(t)==w},En.isWeakSet=function(t){return Ya(t)&&"[object WeakSet]"==fi(t)},En.join=function(t,e){return null==t?"":on.call(t,e)},En.kebabCase=Ls,En.last=Bo,En.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return void 0!==n&&(r=(r=rs(n))<0?sn(i+r,0):ln(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):xe(t,Oe,r,!0)},En.lowerCase=Ds,En.lowerFirst=Is,En.lt=ts,En.lte=es,En.max=function(t){return t&&t.length?ri(t,Vs,gi):void 0},En.maxBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),gi):void 0},En.mean=function(t){return $e(t,Vs)},En.meanBy=function(t,e){return $e(t,Zr(e,2))},En.min=function(t){return t&&t.length?ri(t,Vs,Si):void 0},En.minBy=function(t,e){return t&&t.length?ri(t,Zr(e,2),Si):void 0},En.stubArray=ol,En.stubFalse=al,En.stubObject=function(){return{}},En.stubString=function(){return""},En.stubTrue=function(){return!0},En.multiply=hl,En.nth=function(t,e){return t&&t.length?Pi(t,rs(e)):void 0},En.noConflict=function(){return Vt._===this&&(Vt._=jt),this},En.noop=Js,En.now=ma,En.pad=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Tr(tn(r),n)+t+Tr(Qe(r),n)},En.padEnd=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?t+Tr(e-i,n):t},En.padStart=function(t,e,n){t=ls(t);var i=(e=rs(e))?Ge(t):0;return e&&i<e?Tr(e-i,n)+t:t},En.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),cn(ls(t).replace(X,""),e||0)},En.random=function(t,e,n){if(n&&"boolean"!=typeof n&&lo(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=is(t),void 0===e?(e=t,t=0):e=is(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=un();return ln(t+r*(e-t+Wt("1e-"+((r+"").length-1))),e)}return Ni(t,e)},En.reduce=function(t,e,n){var i=La(t)?ge:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ei)},En.reduceRight=function(t,e,n){var i=La(t)?me:Se,r=arguments.length<3;return i(t,Zr(e,4),n,r,ni)},En.repeat=function(t,e,n){return e=(n?lo(t,e,n):void 0===e)?1:rs(e),Ri(ls(t),e)},En.replace=function(){var t=arguments,e=ls(t[0]);return t.length<3?e:e.replace(t[1],t[2])},En.result=function(t,e,n){var i=-1,r=(e=lr(e,t)).length;for(r||(r=1,t=void 0);++i<r;){var o=null==t?void 0:t[So(e[i])];void 0===o&&(i=r,o=n),t=za(o)?o.call(t):o}return t},En.round=pl,En.runInContext=t,En.sample=function(t){return(La(t)?Bn:Bi)(t)},En.size=function(t){if(null==t)return 0;if(Ia(t))return Za(t)?Ge(t):t.length;var e=io(t);return e==g||e==y?t.size:Ci(t).length},En.snakeCase=Ns,En.some=function(t,e,n){var i=La(t)?ve:Vi;return n&&lo(t,e,n)&&(e=void 0),i(t,Zr(e,3))},En.sortedIndex=function(t,e){return Xi(t,e)},En.sortedIndexBy=function(t,e,n){return qi(t,e,Zr(n,2))},En.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=Xi(t,e);if(i<n&&Ma(t[i],e))return i}return-1},En.sortedLastIndex=function(t,e){return Xi(t,e,!0)},En.sortedLastIndexBy=function(t,e,n){return qi(t,e,Zr(n,2),!0)},En.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=Xi(t,e,!0)-1;if(Ma(t[n],e))return n}return-1},En.startCase=Rs,En.startsWith=function(t,e,n){return t=ls(t),n=null==n?0:Kn(rs(n),0,t.length),e=Ji(e),t.slice(n,n+e.length)==e},En.subtract=fl,En.sum=function(t){return t&&t.length?je(t,Vs):0},En.sumBy=function(t,e){return t&&t.length?je(t,Zr(e,2)):0},En.template=function(t,e,n){var i=En.templateSettings;n&&lo(t,e,n)&&(e=void 0),t=ls(t),e=us({},e,i,zr);var r,o,a=us({},e.imports,i.imports,zr),s=_s(a),l=Pe(a,s),d=0,c=e.interpolate||ct,u="__p += '",h=gt((e.escape||ct).source+"|"+c.source+"|"+(c===H?nt:ct).source+"|"+(e.evaluate||ct).source+"|$","g"),p="//# sourceURL="+(Ot.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ft+"]")+"\n";t.replace(h,(function(e,n,i,a,s,l){return i||(i=a),u+=t.slice(d,l).replace(ut,Fe),n&&(r=!0,u+="' +\n__e("+n+") +\n'"),s&&(o=!0,u+="';\n"+s+";\n__p += '"),i&&(u+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=l+e.length,e})),u+="';\n";var f=Ot.call(e,"variable")&&e.variable;if(f){if(tt.test(f))throw new q("Invalid `variable` option passed into `_.template`")}else u="with (obj) {\n"+u+"\n}\n";u=(o?u.replace(T,""):u).replace(L,"$1").replace(D,"$1;"),u="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+u+"return __p\n}";var g=Hs((function(){return ht(s,p+"return "+u).apply(void 0,l)}));if(g.source=u,Ba(g))throw g;return g},En.times=function(t,e){if((t=rs(t))<1||t>9007199254740991)return[];var n=4294967295,i=ln(t,4294967295);t-=4294967295;for(var r=Ee(i,e=Zr(e));++n<t;)e(n);return r},En.toFinite=is,En.toInteger=rs,En.toLength=os,En.toLower=function(t){return ls(t).toLowerCase()},En.toNumber=as,En.toSafeInteger=function(t){return t?Kn(rs(t),-9007199254740991,9007199254740991):0===t?t:0},En.toString=ls,En.toUpper=function(t){return ls(t).toUpperCase()},En.trim=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return Me(t);if(!t||!(e=Ji(e)))return t;var i=Ve(t),r=Ve(e);return cr(i,Le(i,r),De(i,r)+1).join("")},En.trimEnd=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.slice(0,Xe(t)+1);if(!t||!(e=Ji(e)))return t;var i=Ve(t);return cr(i,0,De(i,Ve(e))+1).join("")},En.trimStart=function(t,e,n){if((t=ls(t))&&(n||void 0===e))return t.replace(X,"");if(!t||!(e=Ji(e)))return t;var i=Ve(t);return cr(i,Le(i,Ve(e))).join("")},En.truncate=function(t,e){var n=30,i="...";if(Ua(e)){var r="separator"in e?e.separator:r;n="length"in e?rs(e.length):n,i="omission"in e?Ji(e.omission):i}var o=(t=ls(t)).length;if(Be(t)){var a=Ve(t);o=a.length}if(n>=o)return t;var s=n-Ge(i);if(s<1)return i;var l=a?cr(a,0,s).join(""):t.slice(0,s);if(void 0===r)return l+i;if(a&&(s+=l.length-s),qa(r)){if(t.slice(s).search(r)){var d,c=l;for(r.global||(r=gt(r.source,ls(it.exec(r))+"g")),r.lastIndex=0;d=r.exec(c);)var u=d.index;l=l.slice(0,void 0===u?s:u)}}else if(t.indexOf(Ji(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i},En.unescape=function(t){return(t=ls(t))&&R.test(t)?t.replace(I,qe):t},En.uniqueId=function(t){var e=++$t;return ls(t)+e},En.upperCase=Fs,En.upperFirst=Bs,En.each=la,En.eachRight=da,En.first=Io,Zs(En,(ul={},di(En,(function(t,e){Ot.call(En.prototype,e)||(ul[e]=t)})),ul),{chain:!1}),En.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){En[t].placeholder=En})),se(["drop","take"],(function(t,e){Tn.prototype[t]=function(n){n=void 0===n?1:sn(rs(n),0);var i=this.__filtered__&&!e?new Tn(this):this.clone();return i.__filtered__?i.__takeCount__=ln(n,i.__takeCount__):i.__views__.push({size:ln(n,4294967295),type:t+(i.__dir__<0?"Right":"")}),i},Tn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Tn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Zr(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Tn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Tn.prototype[t]=function(){return this.__filtered__?new Tn(this):this[n](1)}})),Tn.prototype.compact=function(){return this.filter(Vs)},Tn.prototype.find=function(t){return this.filter(t).head()},Tn.prototype.findLast=function(t){return this.reverse().find(t)},Tn.prototype.invokeMap=Fi((function(t,e){return"function"==typeof t?new Tn(this):this.map((function(n){return yi(n,t,e)}))})),Tn.prototype.reject=function(t){return this.filter(Ca(Zr(t)))},Tn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Tn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Tn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Tn.prototype.toArray=function(){return this.take(4294967295)},di(Tn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=En[i?"take"+("last"==e?"Right":""):e],o=i||/^find/.test(e);r&&(En.prototype[e]=function(){var e=this.__wrapped__,a=i?[1]:arguments,s=e instanceof Tn,l=a[0],d=s||La(e),c=function(t){var e=r.apply(En,fe([t],a));return i&&u?e[0]:e};d&&n&&"function"==typeof l&&1!=l.length&&(s=d=!1);var u=this.__chain__,h=!!this.__actions__.length,p=o&&!u,f=s&&!h;if(!o&&d){e=f?e:new Tn(this);var g=t.apply(e,a);return g.__actions__.push({func:ia,args:[c],thisArg:void 0}),new Pn(g,u)}return p&&f?t.apply(this,a):(g=this.thru(c),p?i?g.value()[0]:g.value():g)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=bt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);En.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(La(r)?r:[],t)}return this[n]((function(n){return e.apply(La(n)?n:[],t)}))}})),di(Tn.prototype,(function(t,e){var n=En[e];if(n){var i=n.name+"";Ot.call(xn,i)||(xn[i]=[]),xn[i].push({name:e,func:n})}})),xn[Er(void 0,2).name]=[{name:"wrapper",func:void 0}],Tn.prototype.clone=function(){var t=new Tn(this.__wrapped__);return t.__actions__=br(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=br(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=br(this.__views__),t},Tn.prototype.reverse=function(){if(this.__filtered__){var t=new Tn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Tn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=La(t),i=e<0,r=n?t.length:0,o=function(t,e,n){var i=-1,r=n.length;for(;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=ln(e,t+a);break;case"takeRight":t=sn(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,d=i?s:a-1,c=this.__iteratees__,u=c.length,h=0,p=ln(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return ir(t,this.__actions__);var f=[];t:for(;l--&&h<p;){for(var g=-1,m=t[d+=e];++g<u;){var v=c[g],b=v.iteratee,y=v.type,x=b(m);if(2==y)m=x;else if(!x){if(1==y)continue t;break t}}f[h++]=m}return f},En.prototype.at=ra,En.prototype.chain=function(){return na(this)},En.prototype.commit=function(){return new Pn(this.value(),this.__chain__)},En.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},En.prototype.plant=function(t){for(var e,n=this;n instanceof An;){var i=Eo(n);i.__index__=0,i.__values__=void 0,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},En.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Tn){var e=t;return this.__actions__.length&&(e=new Tn(this)),(e=e.reverse()).__actions__.push({func:ia,args:[Uo],thisArg:void 0}),new Pn(e,this.__chain__)}return this.thru(Uo)},En.prototype.toJSON=En.prototype.valueOf=En.prototype.value=function(){return ir(this.__wrapped__,this.__actions__)},En.prototype.first=En.prototype.head,Zt&&(En.prototype[Zt]=function(){return this}),En}();Vt._=Ke,void 0===(r=function(){return Ke}.call(e,n,e,i))||(i.exports=r)}).call(this)}).call(this,n(166),n(242)(t))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(111),c=n(5),u=n(16),h=n(6);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,p=t.count,f=t.data,g=void 0===f?{}:f,m=t.disabled,v=t.htmlOptions,b=void 0===v?{}:v,y=t.icon,x=void 0===y?null:y,_=t.iconRight,w=void 0!==_&&_,O=t.id,$=t.loading,C=void 0!==$&&$,k=t.onClick,S=t.tabIndex,j=t.link,E=void 0===j?null:j,M=t.newWindow,A=void 0!==M&&M,P=t.target,T=void 0===P?"":P,L=t.text,D=t.htmlType,I=void 0===D?"button":D,N=t.value,R=t.variant,F=t.form,B=void 0===F?null:F,z=Object(s.a)(n),H=Object(s.c)(g),W=Object(s.d)(b),U=a()(function(t){var e=t.disabled,n=void 0!==e&&e,i=t.fullWidth,r=void 0!==i&&i,o=t.highlight,a=t.icon,s=t.loading,l=void 0!==s&&s,c=t.type,u=void 0===c?"inline":c,h=t.variant,p=void 0===h?"primary":h,f=t.size,g=void 0===f?null:f,m="pb_button_kit";return m+="".concat(null!==p?"_".concat(p):""),m+="".concat(null!==u?"_".concat(u):""),m+="".concat(r?"_block":""),m+=n?"_disabled":"_enabled",m+=l?"_loading":"",m+="".concat(null!==g?" size_".concat(g):""),m+="".concat("reaction"!==p||Object(d.a)(a)?"":" reaction_default"),m+="".concat("reaction"===p&&o?" active":"")}(t),Object(l.c)(t),o),Y=r.a.createElement("div",{className:"loading-icon"},r.a.createElement(c.a,{fixedWidth:!0,icon:"spinner",pulse:!0})),G=r.a.createElement("span",{className:"pb_button_content"},x&&!w&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(x," fa-fw button_with_icon")}),r.a.createElement("span",null,L||i),x&&w&&r.a.createElement("i",{className:"pb_icon_kit far fa-".concat(x," fa-fw button_with_icon_right")})),V=function(){return C?r.a.createElement(r.a.Fragment,null,Y):G};return r.a.createElement(r.a.Fragment,null,E?r.a.createElement("a",Object.assign({},z,H,W,{className:U,href:E,id:O,rel:"child"!==T?"noreferrer":null,role:"link",tabIndex:S,target:T&&E?T:A?"_blank":null}),V()):"reaction"===R?r.a.createElement("button",Object.assign({},z,H,W,{className:U,disabled:m,form:B,id:O,onClick:k,role:"button",tabIndex:S,type:I,value:N}),x&&Object(d.a)(x)&&r.a.createElement(h.a,{align:"center"},r.a.createElement(c.a,{icon:x}),p&&r.a.createElement(u.a,{paddingLeft:"xxs",size:"xs"},p)),!Object(d.a)(x)&&r.a.createElement(c.a,{icon:x||"face-smile-plus"})):r.a.createElement("button",Object.assign({},z,H,W,{className:U,disabled:m,form:B,id:O,onClick:k,role:"button",tabIndex:S,type:I,value:N}),V()))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(5),c=n(38),u=n(121);function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.active,n=void 0!==e&&e,i=t.highlighted_border,o=void 0===i||i,p=t.aria,f=void 0===p?{}:p,g=t.orientation,m=t.variant,v=t.fontWeight,b=void 0===v?function(t,e){return"horizontal"===t&&"subtle"===e?"regular":"horizontal"===t&&"normal"===e?"bold":"regular"}(g,m):v,y=t.children,x=t.className,_=t.collapsible,w=t.data,O=void 0===w?{}:w,$=t.dark,C=void 0!==$&&$,k=t.fontSize,S=void 0===k?"normal":k,j=t.htmlOptions,E=void 0===j?{}:j,M=t.iconLeft,A=t.iconRight,P=t.onIconRightClick,T=t.onIconLeftClick,L=t.id,D=t.imageUrl,I=t.link,N=t.onClick,R=t.target,F=void 0===R?"_self":R,B=t.text,z=void 0===B?"":B,H=t.collapsibleTrail,W=t.collapsed,U=t.itemSpacing,Y={margin:t.margin,marginBottom:t.marginBottom,marginTop:t.marginTop,marginRight:t.marginRight,marginLeft:t.marginLeft,marginX:t.marginX,marginY:t.marginY},G=function(t){var e={},n={};for(var i in t)i.startsWith("padding")?e[i]=t[i]:i.startsWith("margin")&&(n[i]=t[i]);return{filteredPadding:e,filteredMargin:n}}(U),V=G.filteredPadding,X=G.filteredMargin,q=Object.assign(Object.assign({},X||{}),Object.entries(Y).reduce((function(t,e){var n=h(e,2),i=n[0],r=n[1];return r&&(t[i]=r),t}),{})),K=Object.assign({},t);null==K||delete K.margin,null==K||delete K.marginX,null==K||delete K.marginY,null==K||delete K.marginBottom,null==K||delete K.marginTop,null==K||delete K.marginRight,null==K||delete K.marginLeft;var Z=I?"a":"div",J=!0===n?"active":"",Q=!0===n&&!1===o?"highlighted_border_none":"",tt=_&&H?"collapsible_trail":"",et={small:"font_size_small",normal:"font_size_normal"}[S],nt={bold:"font_bold",bolder:"font_bolder",regular:"font_regular"}[b],it=Object(s.a)(f),rt=Object(s.c)(O),ot=Object(s.d)(E),at=a()(_?"pb_nav_list_item_link_collapsible":"pb_nav_list_item_link"),st=a()(Object(s.b)("pb_nav_list_kit_item",J,Q),_?Object(s.b)("pb_collapsible_nav_item",J,Q):"",et,nt,at,_?Object(l.c)(K,Object.assign({},V)):Object(l.c)(t,Object.assign({},U)),x),lt=function(t){T&&(t.stopPropagation(),T())},dt=r.a.Children.map(y,(function(t){if(r.a.isValidElement(t)){var e={itemSpacing:U};return r.a.cloneElement(t,e)}return t})),ct=Object(s.b)("collapsible_nav_wrapper",J,Q,tt);return r.a.createElement(r.a.Fragment,null,_?r.a.createElement(r.a.Fragment,null,r.a.createElement(u.a,{className:ct,collapsed:W,icon:A&&A,iconSize:"xs",id:L,onClick:N,onIconClick:P},r.a.createElement(u.a.Main,{className:Object(l.c)(Object.assign({},q)),dark:C},r.a.createElement(Z,Object.assign({},it,rt,ot,{className:st,href:I,id:L,target:F}),D&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:D,onClick:function(t){return lt(t)}},r.a.createElement(c.a,{className:"pb_nav_img_wrapper",url:D})),M&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section_collapsible",key:M,onClick:function(t){return lt(t)}},r.a.createElement(d.a,{className:"pb_nav_list_item_icon_left_collapsible",fixedWidth:!0,icon:M})),r.a.createElement("span",{className:"pb_nav_list_item_text_collapsible"},z))),r.a.createElement(u.a.Content,null,dt))):r.a.createElement(Z,Object.assign({},it,rt,ot,{className:st,href:I,id:L,onClick:N,target:F}),D&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:D},r.a.createElement(c.a,{className:"pb_nav_img_wrapper",url:D})),M&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:M},r.a.createElement(d.a,{className:"pb_nav_list_item_icon_left",fixedWidth:!0,icon:M})),r.a.createElement("span",{className:"pb_nav_list_item_text"},z||y),A&&r.a.createElement("div",{className:"pb_nav_list_item_icon_section",key:A},r.a.createElement(d.a,{className:"pb_nav_list_item_icon_right",fixedWidth:!0,icon:A}))))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));var i=n(37);function r(t){return t instanceof Object(i.a)(t).Element||t instanceof Element}function o(t){return t instanceof Object(i.a)(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Object(i.a)(t).ShadowRoot||t instanceof ShadowRoot)}},function(t,e,n){var i;!function(r,o){t.exports?(o.default=o,t.exports=r.document?o(r):o):void 0===(i=function(){return o(r)}.call(e,n,e,t))||(t.exports=i)}("undefined"!=typeof window?window:this,(function(t){function e(e,n,i,r){e.hasOwnProperty(n)||(e[n]=r.apply(null,i),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}var n={};return e(n,"Core/Globals.js",[],(function(){var e;return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.3.3",e.win=void 0!==t?t:{},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}(e||(e={})),e})),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(t){function e(n,i,r,o){var a=i?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),d=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==o){var c="";s&&(d+="?"),m(o,(function(t,e){c+="\n - ".concat(e,": ").concat(t),s&&(d+=encodeURI(e)+"="+encodeURI(t))})),d+=c}b(t,"displayError",{chart:r,code:n,message:d,params:o},(function(){if(i)throw Error(d);_.console&&-1===e.messages.indexOf(d)&&console.warn(d)})),e.messages.push(d)}function n(t,e){return parseInt(t,e||10)}function i(t){return"string"==typeof t}function r(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!(!t||"object"!=typeof t||e&&r(t))}function a(t){return o(t)&&"number"==typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function d(t){return null!=t}function c(t,e,n){var r,o=i(e)&&!d(n),a=function(e,n){d(e)?t.setAttribute(n,e):o?(r=t.getAttribute(n))||"class"!==n||(r=t.getAttribute(n+"Name")):t.removeAttribute(n)};return i(e)?a(n,e):m(e,a),r}function u(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t}function h(){for(var t=arguments,e=t.length,n=0;n<e;n++){var i=t[n];if(null!=i)return i}}function p(e,n){t.isMS&&!t.svg&&n&&d(n.opacity)&&(n.filter="alpha(opacity=".concat(100*n.opacity,")")),u(e.style,n)}function f(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function g(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,n){for(var i in t)Object.hasOwnProperty.call(t,i)&&e.call(n||t[i],t[i],i,t)}function v(e,n,i){function r(n,i){var r=e.removeEventListener||t.removeEventListenerPolyfill;r&&r.call(e,n,i,!1)}function o(t){var i;if(e.nodeName){if(n){var o={};o[n]=!0}else o=t;m(o,(function(e,n){if(t[n])for(i=t[n].length;i--;)r(n,t[n][i].fn)}))}}var a="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;n?(a=s[n]||[],i?(s[n]=a.filter((function(t){return i!==t.fn})),r(n,i)):(o(s),s[n]=[])):(o(s),delete a.hcEvents)}}function b(e,n,i,r){if(i=i||{},x.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=x.createEvent("Events");o.initEvent(n,!0,!0),i=u(o,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i)}else if(e.hcEvents){i.target||u(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:n}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[n]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[n])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,i)&&i.preventDefault()}))}r&&!i.defaultPrevented&&r.call(e,i)}var y=t.charts,x=t.doc,_=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var w=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,i){t[i]=function(t){var r;return e(32,!1,void 0,((r={})["Highcharts.".concat(i)]="use Array.".concat(n),r)),Array.prototype[n].apply(t,[].slice.call(arguments,1))}}));var O,$=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(O?"":t)+e++}}();return _.jQuery&&(_.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[i(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):y[c(this[0],"data-highcharts-chart")]}),w={addEvent:function(e,n,i,r){void 0===r&&(r={});var o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,n,i,!!t.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),o[n]||(o[n]=[]),o[n].push({fn:i,order:"number"==typeof r.order?r.order:1/0}),o[n].sort((function(t,e){return t.order-e.order})),function(){v(e,n,i)}},arrayMax:function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},attr:c,clamp:function(t,e,n){return t>e?t<n?t:n:e},cleanRecursively:function t(e,n){var i={};return m(e,(function(r,a){o(e[a],!0)&&!e.nodeType&&n[a]?(r=t(e[a],n[a]),Object.keys(r).length&&(i[a]=r)):(o(e[a])||e[a]!==n[a]||a in e&&!(a in n))&&(i[a]=e[a])})),i},clearTimeout:function(t){d(t)&&clearTimeout(t)},correctFloat:g,createElement:function(t,e,n,i,r){return t=x.createElement(t),e&&u(t,e),r&&p(t,{padding:"0",border:"none",margin:"0"}),n&&p(t,n),i&&i.appendChild(t),t},css:p,defined:d,destroyObjectProperties:function(t,e){m(t,(function(n,i){n&&n!==e&&n.destroy&&n.destroy(),delete t[i]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},error:e,extend:u,extendClass:function(t,e){var n=function(){};return u(n.prototype=new t,e),n},find:w,fireEvent:b,getMagnitude:f,getNestedProperty:function(t,e){for(t=t.split(".");t.length&&d(e);){var n=t.shift();if(void 0===n||"__proto__"===n)return;if(!d(e=e[n])||"function"==typeof e||"number"==typeof e.nodeType||e===_)return}return e},getStyle:function i(r,o,a){var s=t.getStyle||i;if("width"===o)return o=Math.min(r.offsetWidth,r.scrollWidth),(a=r.getBoundingClientRect&&r.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(_.getComputedStyle||e(27,!0),r=_.getComputedStyle(r,void 0)){var l=r.getPropertyValue(o);h(a,"opacity"!==o)&&(l=n(l))}return l},inArray:function(t,n,i){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,i)},isArray:r,isClass:s,isDOMElement:a,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:o,isString:i,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},i=function(t,e){return"object"!=typeof t&&(t={}),m(e,(function(n,r){"__proto__"!==r&&"constructor"!==r&&(!o(n,!0)||s(n)||a(n)?t[r]=e[r]:t[r]=i(t[r]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var r=e.length;for(t=0;t<r;t++)n=i(n,e[t]);return n},normalizeTickInterval:function(t,e,n,i,r){var o=t,a=t/(n=h(n,f(t)));for(e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=e.filter((function(t){return 0==t%1})):.1>=n&&(e=[1/n]))),i=0;i<e.length&&(o=e[i],!(r&&o*n>=t||!r&&a<=(e[i]+(e[i+1]||e[i]))/2));i++);return g(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(_.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(_.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:h,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:v,splat:function(t){return r(t)?t:[t]},stableSort:function(t,e){var n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort((function(t,i){return 0===(n=e(t,i))?t.safeI-i.safeI:n})),i=0;i<r;i++)delete t[i].safeI},syncTimeout:function(t,e,n){return 0<e?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:$,useSerialIds:function(t){return O=h(t,O)},wrap:function(t,e,n){var i=t[e];t[e]=function(){var t=arguments,e=this;return n.apply(this,[function(){return i.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}})),e(n,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.isNumber,i=e.merge,r=e.pInt;return e=function(){function e(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var i=t.Color;return i&&i!==e?new i(n):this instanceof e?void this.init(n):new e(n)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var n;if("object"==typeof t&&void 0!==t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"==typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var i=t.length,r=parseInt(t.substr(1),16);7===i?n=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===i&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=e.parsers.length;r--&&!n;){var o=e.parsers[r];(i=o.regex.exec(t))&&(n=o.parse(i))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,r=this.rgba;if("object"==typeof e&&void 0!==this.stops){var o=i(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,n){o.stops[n]=[o.stops[n][0],e.get(t)]})),o}return r&&n(r[0])?"rgb"===t||!t&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===t?"".concat(r[3]):"rgba("+r.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(var i=0;3>i;i++)e[i]+=r(255*t),0>e[i]&&(e[i]=0),255<e[i]&&(e[i]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var i=this.rgba,r=t.rgba;return n(i[0])&&n(r[0])?((t=1!==r[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-e))+","+Math.round(r[1]+(i[1]-r[1])*(1-e))+","+Math.round(r[2]+(i[2]-r[2])*(1-e))+(t?","+(r[3]+(i[3]-r[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[r(t[1]),r(t[2]),r(t[3]),1]}}],e.None=new e(""),e}()})),e(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.win,i=e.defined,r=e.error,o=e.extend,a=e.isObject,s=e.merge,l=e.objectEach,d=e.pad,c=e.pick,u=e.splat,h=e.timeUnits,p=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,f=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),i=n-this.getTimezoneOffset(e);return e.setTime(i),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0==this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](n);var i=this.getTimezoneOffset(e);return i=e.getTime()-i,e.setTime(i),e["setUTC"+t](n),t=this.getTimezoneOffset(e),i=e.getTime()+t,e.setTime(i)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){void 0===t&&(t={});var e=c(t.useUTC,!0);this.options=t=s(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,n,i,r,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var l=this.getTimezoneOffset(a);s!==l?a+=l-s:s-36e5!==this.getTimezoneOffset(a-36e5)||f||(a-=36e5)}else a=new this.Date(t,e,c(n,1),c(i,0),c(r,0),c(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,i=e.getTimezoneOffset,o=e.moment||n.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};r(25)}return this.useUTC&&i?function(t){return 6e4*i(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,n,r){if(!i(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=c(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(n),u=this.get("Hours",s),h=this.get("Day",s),p=this.get("Date",s),f=this.get("Month",s),g=this.get("FullYear",s),m=t.defaultOptions.lang,v=m&&m.weekdays,b=m&&m.shortWeekdays;return s=o({a:b?b[h]:v[h].substr(0,3),A:v[h],d:d(p),e:d(p,2," "),w:h,b:m.shortMonths[f],B:m.months[f],m:d(f+1),o:f+1,y:g.toString().substr(2,2),Y:g,H:d(u),k:u,I:d(u%12||12),l:u%12||12,M:d(this.get("Minutes",s)),p:12>u?"AM":"PM",P:12>u?"am":"pm",S:d(s.getSeconds()),L:d(Math.floor(n%1e3),3)},t.dateFormats),l(s,(function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t.call(a,n):t)})),r?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=u(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,r){var a,s=this,l=[],d={},u=new s.Date(e),p=t.unitRange,f=t.count||1;if(r=c(r,1),i(e)){if(s.set("Milliseconds",u,p>=h.second?0:f*Math.floor(s.get("Milliseconds",u)/f)),p>=h.second&&s.set("Seconds",u,p>=h.minute?0:f*Math.floor(s.get("Seconds",u)/f)),p>=h.minute&&s.set("Minutes",u,p>=h.hour?0:f*Math.floor(s.get("Minutes",u)/f)),p>=h.hour&&s.set("Hours",u,p>=h.day?0:f*Math.floor(s.get("Hours",u)/f)),p>=h.day&&s.set("Date",u,p>=h.month?1:Math.max(1,f*Math.floor(s.get("Date",u)/f))),p>=h.month){s.set("Month",u,p>=h.year?0:f*Math.floor(s.get("Month",u)/f));var g=s.get("FullYear",u)}p>=h.year&&s.set("FullYear",u,g-g%f),p===h.week&&(g=s.get("Day",u),s.set("Date",u,s.get("Date",u)-g+r+(g<r?-7:0))),g=s.get("FullYear",u),r=s.get("Month",u);var m=s.get("Date",u),v=s.get("Hours",u);for(e=u.getTime(),!s.variableTimezone&&s.useUTC||!i(n)||(a=n-e>4*h.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=u.getTime(),u=1;e<n;)l.push(e),e=p===h.year?s.makeTime(g+u*f,0):p===h.month?s.makeTime(g,r+u*f):!a||p!==h.day&&p!==h.week?a&&p===h.hour&&1<f?s.makeTime(g,r,m,v+u*f):e+p*f:s.makeTime(g,r,m+u*f*(p===h.day?1:7)),u++;l.push(e),p<=h.hour&&1e4>l.length&&l.forEach((function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(d[t]="day")}))}return l.info=o(t,{higherRanks:d,totalRange:p*f}),l},e.prototype.getDateFormat=function(t,e,n,i){var r=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in h){if(t===h.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(h[s]>t){s=a;break}if(o[s]&&r.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}return this.resolveDTLFormat(i[s]).main},e}()})),e(n,"Core/Defaults.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(t,e,n,i,r,o){e=e.parse;var a=o.merge,s={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation: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:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new r(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}})),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=t.parse,r=e.win,o=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,i=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var r=0;r<t.length;r++){for(var a=e[r],s=t[r],l=[],d=0;d<s.length;d++){var c=a[d],u=s[d];o(c)&&o(u)&&("A"!==s[0]||4!==d&&5!==d)?l[d]=c+n*(u-c):l[d]=u}i.push(l)}else i=t;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)},t.prototype.run=function(e,n,i){var o=this,a=o.options,s=function(t){return!s.stopped&&o.step(t)},l=r.requestAnimationFrame||function(t){setTimeout(t,13)},d=function(){for(var e=0;e<t.timers.length;e++)t.timers[e]()||t.timers.splice(e--,1);t.timers.length&&l(d)};e!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=n,this.unit=i,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&l(d)):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,n=this.options,i=this.elem,r=n.complete,o=n.duration,s=n.curAnim;if(i.attr&&!i.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(t){!0!==t&&(l=!1)})),l&&r&&r.call(i),t=!1}else this.pos=n.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function i(t,e){for(;t.length<h;){var n=t[0],i=e[h-t.length];i&&"M"===n[0]&&(t[0]="C"===i[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),t.unshift(n),l&&(n=t.pop(),t.push(t[t.length-1],n))}}function r(t,e){for(;t.length<h;)if("C"===(e=t[Math.floor(t.length/d)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var n=t[Math.floor(t.length/d)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}var a=t.startX,s=t.endX;n=n.slice();var l=t.isArea,d=l?2:1;if(!(e=e&&e.slice()))return[n,n];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var c=t;break}if(a[0]===s[s.length-a.length+t]){c=t;var u=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){c=a.length-t;break}}void 0===c&&(e=[])}if(e.length&&o(c)){var h=n.length+c*d;u?(i(e,n),r(n,e)):(i(n,e),r(e,n))}return[e,n]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(t,e){function n(t){return l(t)?d({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function i(e,n){for(var i=t.timers.length;i--;)t.timers[i].elem!==e||n&&n!==t.timers[i].prop||(t.timers[i].stopped=!0)}var r=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,l=e.isObject,d=e.merge,c=e.objectEach,u=e.pick;return{animate:function(e,n,r){var u,h,p,f="";if(!l(r)){var g=arguments;r={duration:g[2],easing:g[3],complete:g[4]}}s(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=d(n),c(n,(function(s,l){i(e,l),p=new t(e,r,l),h=void 0,"d"===l&&a(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,u=0,h=1):e.attr?u=e.attr(l):(u=parseFloat(o(e,l))||0,"opacity"!==l&&(f="px")),h||(h=s),"string"==typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),p.run(u,h,f)}))},animObject:n,getDeferredAnimation:function(t,e,i){var o=n(e),a=0,s=0;return(i?[i]:t.series).forEach((function(t){t=n(t.options.animation),a=e&&r(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=u(t,e.options.chart.animation,!0)},stop:i}})),e(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.SVG_NS,i=e.attr,r=e.createElement,o=e.css,a=e.error,s=e.isFunction,l=e.isString,d=e.objectEach,c=e.splat,u=(e=t.win.trustedTypes)&&s(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),h=u?u.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(h,"text/html")}catch(t){p=!1}return s=function(){function e(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return d(t,(function(n,i){var r=!0;-1===e.allowedAttributes.indexOf(i)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(r=l(n)&&e.allowedReferences.some((function(t){return 0===n.indexOf(t)}))),r||(a(33,!1,void 0,{"Invalid attribute in config":"".concat(i)}),delete t[i]),l(n)&&t[i]&&(t[i]=n.replace(/</g,"&lt;"))})),t},e.parseStyle=function(t){return t.split(";").reduce((function(t,e){var n=(e=e.split(":").map((function(t){return t.trim()}))).shift();return n&&e.length&&(t[n.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))]=e.join(":")),t}),{})},e.setElementHTML=function(t,n){t.innerHTML=e.emptyHTML,n&&new e(n).addToDOM(t)},e.prototype.addToDOM=function(r){return function r(s,l){var u;return c(s).forEach((function(s){var c=s.tagName,h=s.textContent?t.doc.createTextNode(s.textContent):void 0,p=e.bypassHTMLFiltering;if(c)if("#text"===c)var f=h;else if(-1!==e.allowedTags.indexOf(c)||p){c=t.doc.createElementNS("svg"===c?n:l.namespaceURI||n,c);var g=s.attributes||{};d(s,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(g[e]=t)})),i(c,p?g:e.filterUserAttributes(g)),s.style&&o(c,s.style),h&&c.appendChild(h),r(s.children||[],c),f=c}else a(33,!1,void 0,{"Invalid tagName in config":c});f&&l.appendChild(f),u=f})),u}(this.nodes,r)},e.prototype.parseMarkup=function(t){var n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),p)t=(new DOMParser).parseFromString(u?u.createHTML(t):t,"text/html");else{var i=r("div");i.innerHTML=t,t={body:i}}var o=function(t,n){var i=t.nodeName.toLowerCase(),r={tagName:i};if("#text"===i&&(r.textContent=t.textContent||""),i=t.attributes){var a={};[].forEach.call(i,(function(t){"data-style"===t.name?r.style=e.parseStyle(t.value):a[t.name]=t.value})),r.attributes=a}if(t.childNodes.length){var s=[];[].forEach.call(t.childNodes,(function(t){o(t,s)})),s.length&&(r.children=s)}n.push(r)};return[].forEach.call(t.body.childNodes,(function(t){return o(t,n)})),n},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text textPath thead title tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=h,e.bypassHTMLFiltering=!1,e}()})),e(n,"Core/FormatUtilities.js",[n["Core/Defaults.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e,n,r){t=+t||0,e=+e;var o=i.lang,d=(t.toString().split(".")[1]||"").split("e")[0].length,c=t.toString().split("e"),u=e;if(-1===e)e=Math.min(d,20);else if(a(e)){if(e&&c[1]&&0>c[1]){var h=e+ +c[1];0<=h?(c[0]=(+c[0]).toExponential(h).split("e")[0],e=h):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;h=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,d)-1)).toFixed(e);var p=3<(d=String(l(h))).length?d.length%3:0;return n=s(n,o.decimalPoint),r=s(r,o.thousandsSep),t=(0>t?"-":"")+(p?d.substr(0,p)+r:""),t=0>+c[1]&&!u?"0":t+d.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+r),e&&(t+=n+h.slice(-e)),c[1]&&0!=+t&&(t+="e"+c[1]),t}var i=t.defaultOptions,r=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return r.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,d=/f$/,c=/\.([0-9])/,u=i.lang,h=a&&a.time||r;a=a&&a.numberFormatter||n;for(var p=[];t;){var f=t.indexOf(s);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),s=o(g.shift()||"",e),g.length&&"number"==typeof s)if(g=g.join(":"),d.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==s&&(s=a(s,m,u.decimalPoint,-1<g.indexOf(",")?u.thousandsSep:""))}else s=h.dateFormat(g,s);p.push(s)}else p.push(g);t=t.slice(f+1),s=(l=!l)?"}":"{"}return p.push(t),p.join("")},numberFormat:n}})),e(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.clamp,i=t.pick,r=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,l=e,d=l.reducedLen||o,c=function(t,e){return(e.rank||0)-(t.rank||0)},u=function(t,e){return t.target-e.target},h=!0,p=[],f=0;for(s=e.length;s--;)f+=e[s].size;if(f>d){for(r(e,c),f=s=0;f<=d;)f+=e[s].size,s++;p=e.splice(s-1,e.length)}for(r(e,u),e=e.map((function(t){return{size:t.size,targets:[t.target],align:i(t.align,.5)}}));h;){for(s=e.length;s--;)d=e[s],c=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/2,d.pos=n(c-d.size*d.align,0,o-d.size);for(s=e.length,h=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),h=!0)}return l.push.apply(l,p),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,void 0!==a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,a),!0):(n+=l[s].size,s++,!1)}))})),r(l,u),l}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=t.animate,o=t.animObject,a=t.stop,s=n.deg2rad,l=n.doc,d=n.svg,c=n.SVG_NS,u=n.win,h=i.addEvent,p=i.attr,f=i.createElement,g=i.css,m=i.defined,v=i.erase,b=i.extend,y=i.fireEvent,x=i.isArray,_=i.isFunction,w=i.isString,O=i.merge,$=i.objectEach,C=i.pick,k=i.pInt,S=i.syncTimeout,j=i.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=c,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var i=this.zIndexSetter();return i||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var i,r,o,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||w(n))&&(this.alignTo=i=n||"renderer",v(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=C(n,s[i],"scrollablePlotBox"===i?s.plotBox:void 0,s),i=t.align;var d=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===i?r=1:"center"===i&&(r=2),r&&(s+=(n.width-(t.width||0))/r),a[e?"translateX":"x"]=Math.round(s),"bottom"===d?o=1:"middle"===d&&(o=2),o&&(l+=(n.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var i=this,a=o(C(e,this.renderer.globalAnimation,!0));return e=a.defer,C(l.hidden,l.msHidden,l.webkitHidden,!1)&&(a.duration=0),0!==a.duration?(n&&(a.complete=n),S((function(){i.element&&r(i,t,a)}),e)):(this.attr(t,void 0,n||a.complete),$(t,(function(t,e){a.step&&a.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var i=t.split(" ");if(t=i[i.length-1],(i=i[0])&&"none"!==i&&n.svg){this.fakeTS=!0,i=i.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();var r=l.createElementNS(c,"tspan");p(r,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":i,"stroke-linejoin":"round"}),t=e.querySelector("textPath")||e,[].forEach.call(t.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),r.appendChild(e)}));var o=0;[].forEach.call(t.querySelectorAll("text tspan"),(function(t){o+=Number(t.getAttribute("dy"))})),(i=l.createElementNS(c,"tspan")).textContent="​",p(i,{x:Number(e.getAttribute("x")),dy:-o}),r.appendChild(i),t.insertBefore(r,t.firstChild)}},t.prototype.attr=function(t,e,n,i){var r,o,s,l=this.element,d=this.symbolCustomAttribs,c=this;if("string"==typeof t&&void 0!==e){var u=t;(t={})[u]=e}return"string"==typeof t?c=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):($(t,(function(e,n){o=!1,i||a(this,n),this.symbolName&&-1!==d.indexOf(n)&&(r||(this.symbolAttr(t),r=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||((s=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,s))}),this),this.afterSetters()),n&&n.call(this),c},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),m(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,n,i){var r,o,a,s,l,d,c,u,h,p,f,g=this.renderer,v=[];y(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],l=g.gradients,d=t.stops,h=i.radialReference,x(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!m(a.gradientUnits)&&(s=a,a=O(a,g.getRadialAttr(h,s),{gradientUnits:"userSpaceOnUse"})),$(a,(function(t,e){"id"!==e&&v.push(e,t)})),$(d,(function(t){v.push(t)})),v=v.join(","),l[v])p=l[v].attr("id");else{a.id=p=j();var b=l[v]=g.createElement(o).attr(a).add(g.defs);b.radAttr=s,b.stops=[],d.forEach((function(t){0===t[1].indexOf("rgba")?(r=e.parse(t[1]),c=r.get("rgb"),u=r.get("a")):(c=t[1],u=1),t=g.createElement("stop").attr({offset:t[0],"stop-color":c,"stop-opacity":u}).add(b),b.stops.push(t)}))}f="url("+g.url+"#"+p+")",i.setAttribute(n,f),i.gradient=v,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,n={},i=this.element,r=!e;if(t.color&&(t.fill=t.color),e&&$(t,(function(t,i){e&&e[i]!==t&&(n[i]=t,r=!0)})),r){if(e&&(t=b(e,n)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===i.nodeName.toLowerCase()&&t.width)var o=this.textWidth=k(t.width);this.styles=t,o&&!d&&this.renderer.forExport&&delete t.width;var a=O(t);i.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(t){return a&&delete a[t]})),g(i,a),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+k(n[t])*C(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,i=e.ownerSVGElement,r=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,a(t),t.clipPath&&i){var o=t.clipPath;[].forEach.call(i.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(i=0;i<t.stops.length;i++)t.stops[i].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),n.styledMode||t.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)e=r.parentGroup,t.safeRemoveChild(r.div),delete r.div,r=e;t.alignTo&&v(n.alignedObjects,t),$(t,(function(e,n){t[n]&&t[n].parentGroup===t&&t[n].destroy&&t[n].destroy(),delete t[n]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.dSetter=function(t,e,n){x(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,n){return e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:C(t,150),complete:function(){e.hide()}})},t.prototype.fillSetter=function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)},t.prototype.getBBox=function(e,n){var i=this.alignValue,r=this.element,o=this.renderer,a=this.styles,l=this.textStr,d=o.cache,c=o.cacheKeys,u=r.namespaceURI===this.SVG_NS;n=C(n,this.rotation,0);var h,p=o.styledMode?r&&t.prototype.getStyle.call(r,"font-size"):a&&a.fontSize;if(m(l)){var f=l.toString();-1===f.indexOf("<")&&(f=f.replace(/[0-9]/g,"0")),f+=["",n,p,this.textWidth,i,a&&a.textOverflow,a&&a.fontWeight].join()}if(f&&!e&&(h=d[f]),!h){if(u||o.forExport){try{var v=this.fakeTS&&function(t){var e=r.querySelector(".highcharts-text-outline");e&&g(e,{display:t})};_(v)&&v("none"),h=r.getBBox?b({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight,x:0,y:0},_(v)&&v("")}catch(t){}(!h||0>h.width)&&(h={x:0,y:0,width:0,height:0})}else h=this.htmlGetBBox();if(o.isSVG&&(o=h.width,e=h.height,u&&(h.height=e={"11px,17":14,"13px,20":16}[""+(p||"")+",".concat(Math.round(e))]||e),n)){u=Number(r.getAttribute("y")||0)-h.y,i={right:1,center:.5}[i||0]||0,a=n*s,p=(n-90)*s;var y=o*Math.cos(a);n=o*Math.sin(a),v=Math.cos(p),a=Math.sin(p),y=(v=(p=(o=h.x+i*(o-y)+u*v)+y)-e*v)-y,n=(e=(i=(u=h.y+u-i*n+u*a)+n)-e*a)-n,h.x=Math.min(o,p,v,y),h.y=Math.min(u,i,e,n),h.width=Math.max(o,p,v,y)-h.x,h.height=Math.max(u,i,e,n)-h.y}if(f&&(""===l||0<h.height)){for(;250<c.length;)delete d[c.shift()];d[f]||c.push(f),d[f]=h}}return h},t.prototype.getStyle=function(t){return u.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(){return this.attr({visibility:"hidden"})},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?f(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,y(this,"afterInit")},t.prototype.on=function(t,e){var n=this.onEvents;return n[t]&&n[t](),n[t]=h(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,n){this.opacity=t=Number(Number(t).toFixed(3)),n.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(w(t)?new RegExp("(^| )".concat(t,"( |$)")):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,e){var n=this;e=O(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);var i=this.renderer.url,r=this.text||this,o=r.textPath,a=e.attributes,s=e.enabled;return t=t||o&&o.path,o&&o.undo(),t&&s?(e=h(r,"afterModifyTree",(function(e){if(t&&s){var o=t.attr("id");o||t.attr("id",o=j());var l={x:0,y:0};m(a.dx)&&(l.dx=a.dx,delete a.dx),m(a.dy)&&(l.dy=a.dy,delete a.dy),r.attr(l),n.attr({transform:""}),n.box&&(n.box=n.box.destroy()),l=e.nodes.slice(0),e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:b(a,{"text-anchor":a.textAnchor,href:""+i+"#".concat(o)}),children:l}}})),r.textPath={path:t,undo:e}):(r.attr({dx:0,dy:0}),delete r.textPath),this.added&&(r.textCache="",this.renderer.buildText(r)),this},t.prototype.shadow=function(t,e,n){var i=[],r=this.element,o=this.oldShadowOptions,a=this.parentGroup,s=a&&90===a.rotation;a={color:"#000000",offsetX:s?-1:1,offsetY:s?-1:1,opacity:.15,width:3};var l,d=!1;if(!0===t?l=a:"object"==typeof t&&(l=b(a,t)),l&&(l&&o&&$(l,(function(t,e){t!==o[e]&&(d=!0)})),d&&this.destroyShadows(),this.oldShadowOptions=l),l){if(!this.shadows){a=l.opacity/l.width;var c=s?"translate(".concat(l.offsetY,", ").concat(l.offsetX,")"):"translate(".concat(l.offsetX,", ").concat(l.offsetY,")");for(s=1;s<=l.width;s++){var u=r.cloneNode(!1),h=2*l.width+1-2*s;p(u,{stroke:t.color||"#000000","stroke-opacity":a*s,"stroke-width":h,transform:c,fill:"none"}),u.setAttribute("class",(u.getAttribute("class")||"")+" highcharts-shadow"),n&&(p(u,"height",Math.max(p(u,"height")-h,0)),u.cutHeight=h),e?e.element.appendChild(u):r.parentNode&&r.parentNode.insertBefore(u,r),i.push(u)}this.shadows=i}}else this.destroyShadows();return this},t.prototype.show=function(t){return void 0===t&&(t=!0),this.attr({visibility:t?"inherit":"visible"})},t.prototype["stroke-widthSetter"]=function(t,e,n){this[e]=t,n.setAttribute(e,t)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=k(t);else if(""!==t){var n=l.createElementNS(c,"rect");p(n,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(n),e=n.getBBox().width,n.parentNode.removeChild(n)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){e[n]=C(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=String(C(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var i=this.shadows;if(i)for(var r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},t.prototype.updateTransform=function(){var t=this.element,e=this.matrix,n=this.rotation;n=void 0===n?0:n;var i=this.scaleX,r=this.scaleY,o=this.translateX,a=this.translateY;o=["translate("+(void 0===o?0:o)+","+(void 0===a?0:a)+")"],m(e)&&o.push("matrix("+e.join(",")+")"),n&&o.push("rotate("+n+" "+C(this.rotationOriginX,t.getAttribute("x"),0)+" "+C(this.rotationOriginY,t.getAttribute("y")||0)+")"),(m(i)||m(r))&&o.push("scale("+C(i,1)+" "+C(r,1)+")"),o.length&&!(this.text||this).textPath&&t.setAttribute("transform",o.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,i=this.parentGroup,r=(i||n).element||n.box,o=this.element;n=r===n.box;var a,s=!1,l=this.added;if(m(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):m(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&i&&(i.handleZ=!0),a=(e=r.childNodes).length-1;0<=a&&!s;a--){l=(i=e[a]).getAttribute("data-z-index");var d=!m(l);i!==o&&(0>t&&d&&!n&&!a?(r.insertBefore(o,e[a]),s=!0):(k(l)<=t||d&&(!m(t)||0<=t))&&(r.insertBefore(o,e[a+1]||null),s=!0))}s||(r.insertBefore(o,e[n?3:0]||null),s=!0)}return s},t}()).prototype.strokeSetter=t.prototype.fillSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(i,r,o){e.rendererTypes[i]=r,n&&!o||(n=i,t.Renderer=r)}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e.defined,r=e.extend,o=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function d(t,n,i,r,o,a,s,l,c,u){var h,p=e.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=n,p.x=i,p.y=r,p.anchorX=a,p.anchorY=s,p.baseline=c,p.className=u,p.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&p.addClass("highcharts-"+u),p.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof o&&((h=/^url\((.*?)\)$/.test(o))||p.renderer.symbols[o])&&(p.symbolKey=o),p.bBox=d.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||h,p.deferredAttr={},p.alignFactor=0,p}return n(d,e),d.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},d.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},d.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},d.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},d.prototype.css=function(e){if(e){var n={};e=a(e),d.textProps.forEach((function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n),"fontSize"in n||"fontWeight"in n?this.updateTextPadding():("width"in n||"textOverflow"in n)&&this.updateBoxSize()}return t.prototype.css.call(this,e)},d.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},d.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},d.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},d.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},d.prototype.heightSetter=function(t){this.heightSetting=t},d.prototype.onAdd=function(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&i(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},d.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},d.prototype.rSetter=function(t,e){this.boxAttr(e,t)},d.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},d.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},d.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},d.prototype["text-alignSetter"]=function(t){this.textAlign=t},d.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},d.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,n={},a=this.padding,s=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!i(t.textStr)?d.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*a,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=a+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=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":"")),t.add(this)),t=this.getCrispAdjust(),n.x=t,n.y=(this.baseline?-this.baselineOffset:0)+t,n.width=Math.round(this.width),n.height=Math.round(this.height),this.box.attr(r(n,this.deferredAttr)),this.deferredAttr={})},d.prototype.updateTextPadding=function(){var t=this.text;if(!t.textPath){this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);i(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e}},d.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},d.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},d.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},d.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},d.emptyBBox={width:0,height:0,x:0,y:0},d.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),d}(t)})),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(t){function e(t,e,n,i,o){var s=[];if(o){var l=o.start||0,d=a(o.r,n);n=a(o.r,i||n);var c=(o.end||0)-.001;i=o.innerR;var u=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),h=Math.cos(l),p=Math.sin(l),f=Math.cos(c),g=Math.sin(c);l=a(o.longArc,.001>c-l-Math.PI?0:1),s.push(["M",t+d*h,e+n*p],["A",d,n,0,l,a(o.clockwise,1),t+d*f,e+n*g]),r(i)&&s.push(u?["M",t+i*f,e+i*g]:["L",t+i*f,e+i*g],["A",i,i,0,l,r(o.clockwise)?1-o.clockwise:0,t+i*h,e+i*p]),u||s.push(["Z"])}return s}function n(t,e,n,r,o){return o&&o.r?i(t,e,n,r,o):[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]}function i(t,e,n,i,r){return[["M",t+(r=r&&r.r||0),e],["L",t+n-r,e],["C",t+n,e,t+n,e,t+n,e+r],["L",t+n,e+i-r],["C",t+n,e+i,t+n,e+i,t+n-r,e+i],["L",t+r,e+i],["C",t,e+i,t,e+i,t,e+i-r],["L",t,e+r],["C",t,e,t,e,t+r,e]]}var r=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,r,a){var s=Math.min(a&&a.r||0,n,r),l=s+6,d=a&&a.anchorX;a=a&&a.anchorY||0;var c=i(t,e,n,r,{r:s});return o(d)?(t+d>=n?a>e+l&&a<e+r-l?c.splice(3,1,["L",t+n,a-6],["L",t+n+6,a],["L",t+n,a+6],["L",t+n,e+r-s]):c.splice(3,1,["L",t+n,r/2],["L",d,a],["L",t+n,r/2],["L",t+n,e+r-s]):0>=t+d?a>e+l&&a<e+r-l?c.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):c.splice(7,1,["L",t,r/2],["L",d,a],["L",t,r/2],["L",t,e+s]):a&&a>r&&d>t+l&&d<t+n-l?c.splice(5,1,["L",d+6,e+r],["L",d,e+r+6],["L",d-6,e+r],["L",t+s,e+r]):a&&0>a&&d>t+l&&d<t+n-l&&c.splice(1,1,["L",d-6,e],["L",d,e-6],["L",d+6,e],["L",n-s,e]),c):c},circle:function(t,n,i,r){return e(t+i/2,n+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i/2],["L",t+n/2,e+i],["L",t,e+i/2],["Z"]]},rect:n,roundedRect:i,square:n,triangle:function(t,e,n,i){return[["M",t+n/2,e],["L",t+n,e+i],["L",t,e+i],["Z"]]},"triangle-down":function(t,e,n,i){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+i],["Z"]]}}})),e(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.doc,r=e.SVG_NS,o=e.win,a=n.attr,s=n.extend,l=n.fireEvent,d=n.isString,c=n.objectEach,u=n.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,n=e.element,r=e.renderer,o=u(e.textStr,"").toString(),a=-1!==o.indexOf("<"),s=n.childNodes;r=this.width&&!e.added&&r.box;var l=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==e.textCache){for(e.textCache=l,delete e.actualWidth,l=s.length;l--;)n.removeChild(s[l]);a||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(r&&r.appendChild(n),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(n)):n.appendChild(i.createTextNode(this.unescapeEntities(o))),d(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(t,i){t.nextSibling&&t.previousSibling&&(0===i&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var l=this.width||0;if(l){var d=function(t,o){var d=t.textContent||"",c=d.replace(/([^\^])-/g,"$1- ").split(" "),u=!e.noWrap&&(1<c.length||1<n.element.childNodes.length),h=e.getLineHeight(o),p=0,f=n.actualWidth;if(e.ellipsis)d&&e.truncate(t,d,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"…"}));else if(u){for(d=[],u=[];o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!e.noWrap&&0<p&&(d.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,c,0===p&&f||0,l,(function(t,e){return c.slice(0,e).join(" ").replace(/- /g,"-")})),f=n.actualWidth,p++;u.forEach((function(e){o.insertBefore(e,t)})),d.forEach((function(e){o.insertBefore(i.createTextNode(e),t),(e=i.createElementNS(r,"tspan")).textContent="​",a(e,{dy:h,x:s}),o.insertBefore(e,t)}))}},c=function(t){[].slice.call(t.childNodes).forEach((function(e){e.nodeType===o.Node.TEXT_NODE?d(e,t):(-1!==e.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),c(e))}))};c(n.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this,n=function(i,r){var o=i.attributes;o=void 0===o?{}:o;var a=i.children,l=i.style;l=void 0===l?{}:l;var d=i.tagName,c=e.renderer.styledMode;"b"===d||"strong"===d?c?o.class="highcharts-strong":l.fontWeight="bold":"i"!==d&&"em"!==d||(c?o.class="highcharts-emphasized":l.fontStyle="italic"),l&&l.color&&(l.fill=l.color),"br"===d?(o.class="highcharts-br",i.textContent="​",(r=t[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===d&&a&&a.some((function(t){return"#text"===t.tagName}))&&(i.children=[{children:a,tagName:"tspan"}]),"#text"!==d&&"a"!==d&&(i.tagName="tspan"),s(i,{attributes:o,style:l}),a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(n)};t.forEach(n),l(this.svgElement,"afterModifyTree",{nodes:t})},e.prototype.truncate=function(t,e,n,i,r,o){var a,s=this.svgElement,l=s.renderer,d=s.rotation,c=[],u=n?1:0,h=(e||n||"").length,p=h,f=function(r,a){a=a||r;var d=t.parentNode;if(d&&void 0===c[a])if(d.getSubStringLength)try{c[a]=i+d.getSubStringLength(0,n?a+1:a)}catch(t){}else l.getSpanWidth&&(t.textContent=o(e||n,r),c[a]=i+l.getSpanWidth(s,t));return c[a]};s.rotation=0;var g=f(t.textContent.length);if(i+g>r){for(;u<=h;)p=Math.ceil((u+h)/2),n&&(a=o(n,p)),g=f(p,a&&a.length-1),u===h?u=h+1:g>r?h=p-1:u=p;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=a||o(e||n,p))}n&&n.splice(0,p),s.actualWidth=g,s.rotation=d},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(n,i){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),i))})),t},e}()})),e(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(t,e,n,i,r,o,a,s,l){var d,c=n.charts,u=n.deg2rad,h=n.doc,p=n.isFirefox,f=n.isMS,g=n.isWebKit,m=n.noop,v=n.SVG_NS,b=n.symbolSizes,y=n.win,x=l.addEvent,_=l.attr,w=l.createElement,O=l.css,$=l.defined,C=l.destroyObjectProperties,k=l.extend,S=l.isArray,j=l.isNumber,E=l.isObject,M=l.isString,A=l.merge,P=l.pick,T=l.pInt,L=l.uniqueKey;return n=function(){function n(t,e,n,i,r,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,i,r,o,a)}return n.prototype.init=function(t,e,n,i,r,o,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d=l.element;a||l.css(this.getStyle(i)),t.appendChild(d),_(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&_(d,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=d,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 10.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),p&&t.getBoundingClientRect&&((e=function(){O(t,{left:0,top:0}),s=t.getBoundingClientRect(),O(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=x(y,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((p||g)&&h.getElementsByTagName("base").length){if(!$(d)){var e=L();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(h.body),O(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=h.elementFromPoint(6,6);d="hitme"===(n&&n.id),h.body.removeChild(e)}if(d)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=k({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return 1.05/((t=.2126*(t=e.parse(t).rgba.map((function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)})))[0]+.7152*t[1]+.0722*t[2])+.05)>(t+.05)/.05?"#FFFFFF":"#000000"},n.prototype.button=function(e,n,i,r,o,a,s,l,d,c){void 0===o&&(o={});var u=this.label(e,n,i,d,void 0,void 0,c,void 0,"button"),h=this.styledMode;e=o.states||{};var p=0;delete(o=A(o)).states;var g=A({color:"#333333",cursor:"pointer",fontWeight:"normal"},o.style);delete o.style;var m=t.filterUserAttributes(o);if(u.attr(A({padding:8,r:2},m)),!h){m=A({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},m);var v=(a=A(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||e.hover||{}))).style;delete a.style;var b=(s=A(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||e.select||{}))).style;delete s.style;var y=(l=A(m,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}))).style;delete l.style}return x(u.element,f?"mouseover":"mouseenter",(function(){3!==p&&u.setState(1)})),x(u.element,f?"mouseout":"mouseleave",(function(){3!==p&&u.setState(p)})),u.setState=function(t){1!==t&&(u.state=p=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),h||(u.attr([m,a,s,l][t||0]),E(t=[g,v,b,y][t||0])&&u.css(t))},h||(u.attr(m).css(k({cursor:"default"},g)),c&&u.text.css({pointerEvents:"none"})),u.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==p&&r.call(u,t)}))},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var i=t[0],r=t[1];return $(i[1])&&i[1]===r[1]&&(i[1]=r[1]=Math[n](i[1])-e%2/2),$(i[2])&&i[2]===r[2]&&(i[2]=r[2]=Math[n](i[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return S(t)?e.d=t:E(t)&&k(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=E(t)?t:void 0===t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,i,r,o){return E(t)?(e=(i=t).y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},(t=this.symbol("arc",t,e,n,n,i)).r=n,t},n.prototype.rect=function(t,e,n,i,r,o){r=E(t)?t.r:r;var a=this.createElement("rect");return t=E(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},this.styledMode||(void 0!==o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),r&&(t.r=r),a.rSetter=function(t,e,n){a.r=t,_(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,i,r,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};j(e)&&(a.x=e),j(n)&&(a.y=n),j(i)&&(a.width=i),j(r)&&(a.height=r);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),o.call(l,e)},o?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new y.Image,x(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,i,r,o){var a,s=this,l=/^url\((.*?)\)$/,d=l.test(t),u=!d&&(this.symbols[t]?t:"circle"),p=u&&this.symbols[u];if(p){"number"==typeof e&&(a=p.call(this.symbols,Math.round(e||0),Math.round(n||0),i||0,r||0,o));var f=this.path(a);s.styledMode||f.attr("fill","none"),k(f,{symbolName:u||void 0,x:e,y:n,width:i,height:r}),o&&k(f,o)}else if(d){var g=t.match(l)[1],m=f=this.image(g);m.imgwidth=P(b[g]&&b[g].width,o&&o.width),m.imgheight=P(b[g]&&b[g].height,o&&o.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){m[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var n=this.element,i=this.width,r=this.height,a=this.imgwidth,s=this.imgheight,l=this["img"+e];if($(l)){var d=1;o&&"within"===o.backgroundSize&&i&&r?(d=Math.min(i/a,r/s),l=Math.round(l*d),_(n,{width:Math.round(a*d),height:Math.round(s*d)})):n&&n.setAttribute(e,l),t||this.translate(((i||0)-l*d)/2,((r||0)-l*d)/2)}}})),$(e)&&m.attr({x:e,y:n}),m.isImg=!0,$(m.imgwidth)&&$(m.imgheight)?v(m):(m.attr({width:0,height:0}),w("img",{onload:function(){var t=c[s.chartIndex];0===this.width&&(O(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this)),b[g]={width:this.width,height:this.height},m.imgwidth=this.width,m.imgheight=this.height,m.element&&v(m),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:g}),this.imgCount++)}return f},n.prototype.clipRect=function(t,e,n,i){var r=L()+"-",o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,n,i,0).add(o)).id=r,t.clipPath=o,t.count=0,t},n.prototype.text=function(t,e,n,i){var r={};return!i||!this.allowHTML&&this.forExport?(r.x=Math.round(e||0),n&&(r.y=Math.round(n)),$(t)&&(r.text=t),t=this.createElement("text").attr(r),(!i||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var i,r=n.getElementsByTagName("tspan"),o=n.getAttribute(e),a=0;a<r.length;a++)(i=r[a]).getAttribute(e)===o&&i.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},n.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&r.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?T(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*u),4)),{x:-t/3*Math.sin(e*u),y:i}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<t.length;r++)M(n[0])&&j(t[r])&&n.length===i[n[0].toUpperCase()]&&t.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[r]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[r]);return e.push(n.slice(0)),e},n.prototype.label=function(t,e,n,i,r,a,s,l,d){return new o(this,t,e,n,i,r,a,s,l,d)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},n}(),k(n.prototype,{Element:r,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:m}),i.registerRendererType("svg",n,!0),n})),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,l=n.css,d=n.defined,c=n.extend,u=n.pick,h=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,i=t.prototype;i.getSpanCorrection=n.getSpanCorrection,i.htmlCss=n.htmlCss,i.htmlGetBBox=n.htmlGetBBox,i.htmlUpdateTransform=n.htmlUpdateTransform,i.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=u(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var i=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),l(this.element,t),i&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,i=this.translateY||0,r=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],c=this.styles;if(c=c&&c.whiteSpace,l(e,{marginLeft:n,marginTop:i}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:n+1,marginTop:i+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){var u=this.rotation,p=this.textWidth&&h(this.textWidth),f=[u,a,e.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;if(g=!1,p!==this.oldTextWidth){if(this.textPxLength)var m=this.textPxLength;else l(e,{width:"",whiteSpace:c||"nowrap"}),m=e.offsetWidth;(p>this.oldTextWidth||m>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:m>p||u?p+"px":"auto",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=p,g=!0)}this.hasBoxWidthChanged=g,f!==this.cTT&&(g=t.fontMetrics(e.style.fontSize,e).b,!d(u)||u===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(u,s,g),this.getSpanCorrection(!d(u)&&this.textPxLength||e.offsetWidth,g,s,u,a)),l(e,{left:r+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=u,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var i={},d=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":r?"MozTransform":s.opera?"-o-transform":void 0;d&&(i[d]=i.transform="rotate("+t+"deg)",i[d+(r?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",l(this.element,i))},e.composedClasses=[],e}(e)})),e(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(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=i.attr,a=i.createElement,s=i.extend,l=i.pick;return function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.compose=function(t){return-1===i.composedClasses.indexOf(t)&&(i.composedClasses.push(t),t.prototype.html=i.prototype.html),t},i.prototype.html=function(n,i,r){var d=this.createElement("span"),c=d.element,u=d.renderer,h=u.isSVG,p=function(t,n){["opacity","visibility"].forEach((function(i){t[i+"Setter"]=function(r,o,a){var s=t.div?t.div.style:n;e.prototype[i+"Setter"].call(this,r,o,a),s&&(s[o]=r)}})),t.addedSetters=!0};return d.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,d.doTransform=!0)},h&&p(d,d.element.style),d.xSetter=d.ySetter=d.alignSetter=d.rotationSetter=function(t,e){"align"===e?d.alignValue=d.textAlign=t:d[e]=t,d.doTransform=!0},d.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},d.attr({text:n,x:Math.round(i),y:Math.round(r)}).css({position:"absolute"}),u.styledMode||d.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",d.css=d.htmlCss,h&&(d.add=function(t){var e=u.box.parentNode,n=[];if(this.parentGroup=t){var i=t.div;if(!i){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function r(e,n){t[n]=e,"translateX"===n?u.left=e+"px":u.top=e+"px",t.doTransform=!0}var l=o(t.element,"class"),c=t.styles||{},u=(i=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents,visibility:t.visibility},i||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(i),on:function(){return n[0].div&&d.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:r,translateYSetter:r}),t.addedSetters||p(t)}))}}else i=e;return i.appendChild(c),d.added=!0,d.alignOnAdd&&d.htmlUpdateTransform(),d}),d},i.composedClasses=[],i}(n)})),e(n,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.isFunction,r=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},r(e.events,(function(e,r){t.eventOptions[r]!==e&&(t.eventOptions[r]&&(o(t,r,t.eventOptions[r]),delete t.eventOptions[r]),i(e)&&(t.eventOptions[r]=e,n(t,r,e)))}))}}(e||(e={})),e})),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=e.deg2rad,r=n.clamp,o=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,d=n.fireEvent,c=n.isNumber,u=n.merge,h=n.objectEach,p=n.pick;return e=function(){function e(t,e,n,i,r){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,d(this,"init"),n||i||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,i=n.options,r=n.chart,s=n.categories,u=n.logarithmic,h=n.names,f=e.pos,g=p(e.options&&e.options.labels,i.labels),m=n.tickPositions,v=f===m[0],b=f===m[m.length-1],y=(!g.step||1===g.step)&&1===n.tickInterval;m=m.info;var x,_=e.label;if(s=this.parameters.category||(s?p(s[f],h[f],f):f),u&&c(s)&&(s=o(u.lin2log(s))),n.dateTime)if(m)var w=r.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&m.higherRanks[f]||m.unitName]),O=w.main;else c(s)&&(O=n.dateTime.getXDateFormat(s,i.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=b;var $={axis:n,chart:r,dateTimeLabelFormat:O,isFirst:v,isLast:b,pos:f,tick:e,tickPositionInfo:m,value:s};d(this,"labelFormat",$);var C=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=n.defaultLabelFormatter.call(e,e),t.format(g.format,e,r)):n.defaultLabelFormatter.call(e,e)};i=C.call($,$);var k=w&&w.list;e.shortenLabel=k?function(){for(x=0;x<k.length;x++)if(l($,{dateTimeLabelFormat:k[x]}),_.attr({text:C.call($,$)}),_.getBBox().width<n.getSlotWidth(e)-2*g.padding)return;_.attr({text:""})}:void 0,y&&n._addedPlotLB&&e.moveLabel(i,g),a(_)||e.movedLabel?_&&_.textStr!==i&&!y&&(!_.textWidth||g.style.width||_.styles.width||_.css({width:null}),_.attr({text:i}),_.textPxLength=_.getBBox().width):(e.label=_=e.createLabel({x:0,y:0},i,g),e.rotation=0)},e.prototype.createLabel=function(t,e,n){var i=this.axis,r=i.chart;return(t=a(e)&&n.enabled?r.renderer.text(e,t.x,t.y,n.useHTML).add(i.labelGroup):null)&&(r.styledMode||t.css(u(n.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,n,i){var a=this.axis,s=a.chart,l=i&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+n,void 0,void 0,i)+a.transB):a.left+a.offset+(a.opposite?(i&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?l-a.bottom+a.offset-(a.opposite?a.height:0):o(l-a.translate(e+n,void 0,void 0,i)-a.transB)}).y=r(t.y,-1e5,1e5),d(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,n,r,o,s,l,c){var u=this.axis,h=u.transA,p=u.isLinked&&u.linkedParent?u.linkedParent.reversed:u.reversed,f=u.staggerLines,g=u.tickRotCorr||{x:0,y:0},m=r||u.reserveSpaceDefault?0:-u.labelOffset*("center"===u.labelAlign?.5:1),v={};return n=0===u.side?n.rotation?-8:-n.getBBox().height:2===u.side?g.y+8:Math.cos(n.rotation*i)*(g.y-n.getBBox(!1,0).height/2),a(o.y)&&(n=0===u.side&&u.horiz?o.y+n:o.y),t=t+o.x+m+g.x-(s&&r?s*h*(p?-1:1):0),e=e+n-(s&&!r?s*h*(p?1:-1):0),f&&(r=l/(c||1)%f,u.opposite&&(r=f-r-1),e+=u.labelOffset/f*r),v.x=t,v.y=Math.round(e),d(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:l}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,n,i,r,o){return o.crispLine([["M",t,e],["L",t+(r?0:-n),e+(r?n:0)]],i)},e.prototype.handleOverflow=function(t){var e=this.axis,n=e.options.labels,r=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=p(e.labelLeft,Math.min(e.pos,a[3]));a=p(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var l,d=this.label,c=this.rotation,u={left:0,center:.5,right:1}[e.labelAlign||d.attr("align")],h=d.getBBox().width,f=e.getSlotWidth(this),g={},m=f,v=1;c||"justify"!==n.overflow?0>c&&r-u*h<s?l=Math.round(r/Math.cos(c*i)-s):0<c&&r+u*h>a&&(l=Math.round((o-r)/Math.cos(c*i))):(o=r+(1-u)*h,r-u*h<s?m=t.x+m*(1-u)-s:o>a&&(m=a-t.x+m*u,v=-1),(m=Math.min(f,m))<f&&"center"===e.labelAlign&&(t.x+=v*(f-m-u*(f-Math.min(h,m)))),(h>m||e.autoRotation&&(d.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(g.textOverflow="ellipsis"),d.css(g)))},e.prototype.moveLabel=function(t,e){var n=this,i=n.label,r=n.axis,o=r.reversed,a=!1;if(i&&i.textStr===t?(n.movedLabel=i,a=!0,delete n.label):h(r.ticks,(function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!a&&(n.labelPos||i)){var s=n.labelPos||i.xy;i=r.horiz?o?0:r.width+r.left:s.x,r=r.horiz?s.y:o?r.width+r.left:0,n.movedLabel=n.createLabel({x:i,y:r},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var i=this.axis,r=i.horiz,o=this.pos,a=p(this.tickmarkOffset,i.tickmarkOffset);a=(o=this.getPosition(r,o,a,e)).x;var s=o.y;i=r&&a===i.pos+i.len||!r&&s===i.pos?-1:1,r=p(n,this.label&&this.label.newOpacity,1),n=p(n,1),this.isActive=!0,this.renderGridLine(e,n,i),this.renderMark(o,n,i),this.renderLabel(o,e,r,t),this.isNew=!1,d(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var i=this.axis,r=i.options,o={},a=this.pos,s=this.type,l=p(this.tickmarkOffset,i.tickmarkOffset),d=i.chart.renderer,c=this.gridLine,u=r.gridLineWidth,h=r.gridLineColor,f=r.gridLineDashStyle;"minor"===this.type&&(u=r.minorGridLineWidth,h=r.minorGridLineColor,f=r.minorGridLineDashStyle),c||(i.chart.styledMode||(o.stroke=h,o["stroke-width"]=u||0,o.dashstyle=f),s||(o.zIndex=1),t&&(e=0),this.gridLine=c=d.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(i.gridGroup)),c&&(n=i.getPlotLinePath({value:a+l,lineWidth:c.strokeWidth()*n,force:"pass",old:t,acrossPanes:!1}))&&c[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,a=this.type,s=i.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var d=p(r["minor"!==a?"tickWidth":"minorTickWidth"],!a&&i.isXAxis?1:0);r=r["minor"!==a?"tickColor":"minorTickColor"];var c=this.mark,u=!c;s&&(i.opposite&&(s[0]=-s[0]),c||(this.mark=c=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||c.attr({stroke:r,"stroke-width":d})),c[u?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],c.strokeWidth()*n,i.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,l=a.labels,d=l.step;r=p(this.tickmarkOffset,r.tickmarkOffset);var u=t.x;t=t.y;var h=!0;s&&c(u)&&(s.xy=t=this.getLabelPosition(u,t,s,o,l,r,i,d),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?h=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),d&&i%d&&(h=!1),h&&c(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var i=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:i,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s){var l=t.animObject,d=i.defaultOptions,c=r.registerEventOptions,u=o.deg2rad,h=s.arrayMax,p=s.arrayMin,f=s.clamp,g=s.correctFloat,m=s.defined,v=s.destroyObjectProperties,b=s.erase,y=s.error,x=s.extend,_=s.fireEvent,w=s.isArray,O=s.isNumber,$=s.isString,C=s.merge,k=s.normalizeTickInterval,S=s.objectEach,j=s.pick,E=s.relativeLength,M=s.removeEvent,A=s.splat,P=s.syncTimeout,T=function(t,e){return k(e,void 0,void 0,j(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),_(this,"init",{userOptions:e}),this.opposite=j(e.opposite,this.opposite),this.side=j(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var i=this.options,r=i.labels,o=i.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=j(i.reversed,this.reversed),this.visible=i.visible,this.zoomEnabled=i.zoomEnabled,this.hasNames="category"===o||!0===i.categories,this.categories=i.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=m(i.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=i.minRange||i.maxZoom,this.range=i.range,this.offset=i.offset||0,this.min=this.max=null,e=j(i.crosshair,A(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=O(r.rotation)?r.rotation:void 0,c(this,i),_(this,"afterInit")},t.prototype.setOptions=function(t){this.options=C(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],C(d[this.coll],t)),_(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=O(this.value)?this.value:NaN,i=e.chart.time,r=this.dateTimeLabelFormat,o=d.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var c="".concat(this.value);else if(r)c=i.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===c;)s>=(e=Math.pow(o,l+1))&&0==10*n%e&&null!==a[l]&&0!==n&&(c=t(n/e,-1)+a[l]);return void 0===c&&(c=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),c},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;_(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.series.forEach((function(i){if(i.visible||!n.options.chart.ignoreHiddenSeries){var r=i.options,o=r.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((r=i.xData).length){r=e.logarithmic?r.filter(e.validatePositiveValue):r;var a=(t=i.getXExtremes(r)).min,s=t.max;O(a)||a instanceof Date||(r=r.filter(O),a=(t=i.getXExtremes(r)).min,s=t.max),r.length&&(e.dataMin=Math.min(j(e.dataMin,a),a),e.dataMax=Math.max(j(e.dataMax,s),s))}}else i=i.applyExtremes(),O(i.dataMin)&&(a=i.dataMin,e.dataMin=Math.min(j(e.dataMin,a),a)),O(i.dataMax)&&(s=i.dataMax,e.dataMax=Math.max(j(e.dataMax,s),s)),m(o)&&(e.threshold=o),(!r.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),_(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,i,r,o){var a=this.linkedParent||this,s=i&&a.old?a.old.min:a.min;if(!O(s))return NaN;var l=a.minPixelPadding;r=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&r)&&a.lin2val;var d=1,c=0;return(i=i&&a.old?a.old.transA:a.transA)||(i=a.transA),n&&(d*=-1,c=a.len),a.reversed&&(c-=(d*=-1)*(a.sector||a.len)),e?(o=(t*d+c-l)/i+s,r&&(o=a.lin2val(o))):(r&&(t=a.val2lin(t)),t=d*(t-s)*i,o=(a.isRadial?t:g(t))+c+d*l+(O(o)?i*o:0)),o},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return"pass"!==y&&(t<e||t>n)&&(y?t=f(t,e,n):a=!0),t}var n,i,r,o,a,s=this,l=s.chart,d=s.left,c=s.top,u=t.old,h=t.value,p=t.lineWidth,g=u&&l.oldChartHeight||l.chartHeight,m=u&&l.oldChartWidth||l.chartWidth,v=s.transB,b=t.translatedValue,y=t.force;return t={value:h,lineWidth:p,old:u,force:y,acrossPanes:t.acrossPanes,translatedValue:b},_(this,"getPlotLinePath",t,(function(t){b=j(b,s.translate(h,void 0,void 0,u)),b=f(b,-1e5,1e5),n=r=Math.round(b+v),i=o=Math.round(g-b-v),O(b)?s.horiz?(i=c,o=g-s.bottom,n=r=e(n,d,d+s.width)):(n=d,r=m-s.right,i=o=e(i,c,c+s.height)):(a=!0,y=!1),t.path=a&&!y?null:l.renderer.crispLine([["M",n,i],["L",r,o]],p||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var i=g(Math.floor(e/t)*t);n=g(Math.ceil(n/t)*t);var r,o=[];if(g(i+t)===i&&(r=20),this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=g(e+t,r))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?j(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,i=this.pointRangePadding||0,r=this.min-i,o=(i=this.max+i)-r,a=[];if(o&&o/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,i){e&&a.push.apply(a,s.getLogTickPositions(n,i[e-1],i[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),r,i,t.startOfWeek));else for(t=r+(e[0]-r)%n;t<=i&&t!==a[0];t+=n)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,n,i,r=this.options,o=this.logarithmic,a=this.min,s=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!o&&(m(r.min)||m(r.max)||m(r.floor)||m(r.ceiling)?this.minRange=null:(this.series.forEach((function(r){if(n=r.xData,i=r.xIncrement?1:n.length-1,1<n.length)for(t=i;0<t;t--)e=n[t]-n[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-a<this.minRange){var d=this.dataMax-this.dataMin>=this.minRange,c=this.minRange,u=(c-s+a)/2;u=[a-u,j(r.min,a-u)],d&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=h(u))+c,j(r.max,a+c)],d&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=p(s))-a<c&&(u[0]=s-c,u[1]=j(r.min,s-c),a=h(u))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var n=e.closestPointRange,i=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&m(n)&&i&&(t=m(t)?Math.min(t,n):n)})),t},t.prototype.nameToX=function(t){var e=w(this.options.categories),n=e?this.categories:this.names,i=t.options.x;if(t.series.requireSorting=!1,m(i)||(i=this.options.uniqueNames&&n?e?n.indexOf(t.name):j(n.keys[t.name],-1):t.series.autoIncrement()),-1===i){if(!e&&n)var r=n.length}else r=i;return void 0!==r?(this.names[r]=t.name,this.names.keys[t.name]=r):t.x&&(r=t.x),r},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,i){if(n&&n.options&&void 0!==n.name){var r=t.nameToX(n);void 0!==r&&r!==n.x&&(n.x=r,e.xData[i]=r)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,n=t.linkedParent,i=!!t.categories,r=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,l=t.transA;if(r||i||o){var d=t.getClosest();n?(a=n.minPointOffset,s=n.pointRangePadding):t.series.forEach((function(e){var n=i?1:r?j(e.options.pointRange,d,0):t.axisPointRange||0,l=e.options.pointPlacement;o=Math.max(o,n),t.single&&!i||(e=e.is("xrange")?!r:r,a=Math.max(a,e&&$(l)?0:n/2),s=Math.max(s,e&&"on"===l?0:n))})),n=t.ordinal&&t.ordinal.slope&&d?t.ordinal.slope/d:1,t.minPointOffset=a*=n,t.pointRangePadding=s*=n,t.pointRange=Math.min(o,t.single&&i?1:e),r&&(t.closestPointRange=d)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*a,_(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,n=this.logarithmic,i=this.options,r=this.isXAxis,o=this.isLinked,a=i.tickPixelInterval,s=this.categories,l=this.softThreshold,d=i.maxPadding,c=i.minPadding,u=O(i.tickInterval)&&0<=i.tickInterval?i.tickInterval:void 0,h=O(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var p=j(this.userMin,i.min),f=j(this.userMax,i.max);if(o){this.linkedParent=e[this.coll][i.linkedTo];var v=this.linkedParent.getExtremes();this.min=j(v.min,v.dataMin),this.max=j(v.max,v.dataMax),i.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(l&&m(h))if(this.dataMin>=h)v=h,c=0;else if(this.dataMax<=h){var b=h;d=0}this.min=j(p,v,this.dataMin),this.max=j(f,b,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,j(this.dataMin,this.min))&&y(10,1,e),this.min=g(n.log2lin(this.min),16),this.max=g(n.log2lin(this.max),16)),this.range&&m(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),_(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&m(this.min)&&m(this.max)&&(e=this.max-this.min)&&(!m(p)&&c&&(this.min-=e*c),!m(f)&&d&&(this.max+=e*d)),O(this.userMin)||(O(i.softMin)&&i.softMin<this.min&&(this.min=p=i.softMin),O(i.floor)&&(this.min=Math.max(this.min,i.floor))),O(this.userMax)||(O(i.softMax)&&i.softMax>this.max&&(this.max=f=i.softMax),O(i.ceiling)&&(this.max=Math.min(this.max,i.ceiling))),l&&m(this.dataMin)&&(h=h||0,!m(p)&&this.min<h&&this.dataMin>=h?this.min=this.options.minRange?Math.min(h,this.max-this.minRange):h:!m(f)&&this.max>h&&this.dataMax<=h&&(this.max=this.options.minRange?Math.max(h,this.min+this.minRange):h)),O(this.min)&&O(this.max)&&!this.chart.polar&&this.min>this.max&&(m(this.options.min)?this.max=this.min:m(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!u&&a===this.linkedParent.options.tickPixelInterval?u=this.linkedParent.tickInterval:j(u,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),r&&!t){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(x)})),_(this,"postProcessData",{hasExtremesChanged:x})}this.setAxisTranslation(),_(this,"initialAxisTranslation"),this.pointRange&&!u&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=j(i.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!u&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||u||(this.tickInterval=T(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t,e=this.options,n=e.tickPositions,i=e.tickPositioner,r=this.getMinorTickInterval(),o=this.hasVerticalPanning(),a="colorAxis"===this.coll,s=(a||!o)&&e.startOnTick;if(o=(a||!o)&&e.endOnTick,a=[],this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&m(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),n)a=n.slice();else if(O(this.min)&&O(this.max)){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)a=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)a=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(r=e=this.tickInterval;r<=2*e&&(a=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a.length>this.tickAmount);)this.tickInterval=T(this,r*=1.1);else a=[this.min,this.max],y(19,!1,this.chart);a.length>this.len&&((a=[a[0],a[a.length-1]])[0]===a[1]&&(a.length=1)),i&&(this.tickPositions=a,(t=i.apply(this,[this.min,this.max]))&&(a=t))}this.tickPositions=a,this.paddedTicks=a.slice(0),this.trimTicks(a,s,o),!this.isLinked&&O(this.min)&&O(this.max)&&(this.single&&2>a.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),n||t||this.adjustTickAmount()),_(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var i=t[0],r=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(_(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&m(i)&&!this.options.tickPositions&&t.push((r+i)/2)}},t.prototype.alignToOthers=function(){var t,e=this,n=[this],i=e.options,r="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,o=[];if(e.thresholdAlignment=void 0,(!1!==this.chart.options.chart.alignTicks&&i.alignTicks||r)&&!1!==i.startOnTick&&!1!==i.endOnTick&&!e.logarithmic){var a=function(t){var e=t.options;return[t.horiz?e.left:e.top,e.width,e.height,e.pane].join()},s=a(this);this.chart[this.coll].forEach((function(i){var r=i.series;r.length&&r.some((function(t){return t.visible}))&&i!==e&&a(i)===s&&(t=!0,n.push(i))}))}if(t&&r){n.forEach((function(t){t=t.getThresholdAlignment(e),O(t)&&o.push(t)}));var l=1<o.length?o.reduce((function(t,e){return t+e}),0)/o.length:void 0;n.forEach((function(t){t.thresholdAlignment=l}))}return t},t.prototype.getThresholdAlignment=function(t){if((!O(this.dataMin)||this!==t&&this.series.some((function(t){return t.isDirty||t.isDirtyData})))&&this.getSeriesExtremes(),O(this.threshold))return t=f((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(t=1-t),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,n=t.tickAmount;!m(t.tickInterval)&&!n&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this,e=t.finalTickAmt,n=t.max,i=t.min,r=t.options,o=t.tickPositions,a=t.tickAmount,s=t.thresholdAlignment,l=o&&o.length,d=j(t.threshold,t.softThreshold?0:null),c=t.tickInterval;if(O(s)){var u=.5>s?Math.ceil(s*(a-1)):Math.floor(s*(a-1));r.reversed&&(u=a-1-u)}if(t.hasData()&&O(i)&&O(n)){if(s=function(){t.transA*=(l-1)/(a-1),t.min=r.startOnTick?o[0]:Math.min(i,o[0]),t.max=r.endOnTick?o[o.length-1]:Math.max(n,o[o.length-1])},O(u)&&O(t.threshold)){for(;o[u]!==d||o.length!==a||o[0]>i||o[o.length-1]<n;){for(o.length=0,o.push(t.threshold);o.length<a;)void 0===o[u]||o[u]>t.threshold?o.unshift(g(o[0]-c)):o.push(g(o[o.length-1]+c));if(c>8*t.tickInterval)break;c*=2}s()}else if(l<a){for(;o.length<a;)o.length%2||i===d?o.push(g(o[o.length-1]+c)):o.unshift(g(o[0]-c));s()}if(m(e)){for(c=d=o.length;c--;)(3===e&&1==c%2||2>=e&&0<c&&c<d-1)&&o.splice(c,1);t.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(n){t=t||n.isDirtyData||n.isDirty,e=e||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&(this.stacking.resetStacks(),this.stacking.buildStacks()),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(),t&&this.panningState&&(this.panningState.isDirty=!0),_(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,n,i,r){var o=this,a=o.chart;n=j(n,!0),o.series.forEach((function(t){delete t.kdTree})),r=x(r,{min:t,max:e}),_(o,"setExtremes",r,(function(){o.userMin=t,o.userMax=e,o.eventArgs=r,n&&a.redraw(i)}))},t.prototype.zoom=function(t,e){var n=this,i=this.dataMin,r=this.dataMax,o=this.options,a=Math.min(i,j(o.min,i)),s=Math.max(r,j(o.max,r));return _(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===n.min&&o===n.max||(n.allowZoomOutside||(m(i)&&(e<a&&(e=a),e>s&&(e=s)),m(r)&&(o<a&&(o=a),o>s&&(o=s))),n.displayBtn=void 0!==e||void 0!==o,n.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(E(j(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(E(j(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(E(j(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(E(j(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-r-e,this.len=Math.max(i?r:o,0),this.pos=i?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?g(t.lin2log(this.min)):this.min,max:t?g(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(j(t,0)-90*this.side+720)%360;return _(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,n=j(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),i=e["tick"===t?"tickLength":"minorTickLength"];if(n&&i){"inside"===e[t+"Position"]&&(i=-i);var r=[i,n]}return _(this,"afterTickSize",t={tickSize:r}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t=this.options.labels,e=this.horiz,n=this.tickInterval,i=this.len/(((this.categories?1:0)+this.max-this.min)/n),r=t.rotation,o=this.labelMetrics(),a=Math.max(this.max-this.min,0),s=function(t){var e=t/(i||1);return(e=1<e?Math.ceil(e):1)*n>a&&1/0!==t&&1/0!==i&&a&&(e=Math.ceil(a/n)),g(e*n)},l=n,d=Number.MAX_VALUE;if(e){if(!t.staggerLines)if(O(r))var c=[r];else i<t.autoRotationLimit&&(c=t.autoRotation);if(c)for(var h=e=void 0,p=0,f=c;p<f.length;p++){var m=f[p];if((m===r||m&&-90<=m&&90>=m)&&(h=(e=s(Math.abs(o.h/Math.sin(u*m))))+Math.abs(m/360))<d){d=h;var v=m;l=e}}}else l=s(o.h);return this.autoRotation=c,this.labelRotation=j(v,O(r)?r:0),t.step?n:l},t.prototype.getSlotWidth=function(t){var e=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&O(t.slotWidth))return t.slotWidth;if(n&&2>i.step)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(t=i.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,i=this.ticks,r=this.options.labels,o=r.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),d={},c=this.labelMetrics(),u=o.textOverflow,h=0;if($(r.rotation)||(d.rotation=r.rotation||0),n.forEach((function(t){(t=i[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>h&&(h=t.label.textPxLength)})),this.maxLabelLength=h,this.autoRotation)h>l&&h>c.h?d.rotation=this.labelRotation:this.labelRotation=0;else if(s){var p=l;if(!u){var f="clip";for(l=n.length;!a&&l--;){var g=n[l];(g=i[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>s&&g.css({width:s+"px"}),g.getBBox().height>this.len/n.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}d.rotation&&(p=h>.5*t.chartHeight?.33*t.chartHeight:h,u||(f="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(d.align=this.labelAlign),n.forEach((function(t){var e=(t=i[t])&&t.label,n=o.width,r={};e&&(e.attr(d),t.shortenLabel?t.shortenLabel():p&&!n&&"nowrap"!==o.whiteSpace&&(p<e.textPxLength||"SPAN"===e.element.tagName)?(r.width=p+"px",u||(r.textOverflow=e.specificTextOverflow||f),e.css(r)):e.styles&&e.styles.width&&!r.width&&!n&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=d.rotation)}),this),this.tickRotCorr=e.rotCorr(c.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&m(this.min)&&m(this.max)},t.prototype.addTitle=function(t){var e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(C(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,n=e.chart,i=e.horiz,r=e.options,o=e.side,a=e.ticks,s=e.tickPositions,l=e.coll,d=e.axisParent,c=n.renderer,u=n.inverted&&!e.isZAxis?[1,0,3,2][o]:o,h=e.hasData(),p=r.title,f=r.labels,g=n.axisOffset;n=n.clipOffset;var v,b=[-1,1,1,-1][o],y=r.className,x=0,w=0,O=0;if(e.showAxis=v=h||r.showEmpty,e.staggerLines=e.horiz&&f.staggerLines||void 0,!e.axisGroup){var $=function(e,n,i){return c.g(e).attr({zIndex:i}).addClass("highcharts-".concat(l.toLowerCase()).concat(n," ")+(t.isRadial?"highcharts-radial-axis".concat(n," "):"")+(y||"")).add(d)};e.gridGroup=$("grid","-grid",r.gridZIndex),e.axisGroup=$("axis","",r.zIndex),e.labelGroup=$("axis-labels","-labels",f.zIndex)}if(h||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,j(f.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){O=Math.max(a[t].getLabelSize(),O)})),e.staggerLines&&(O*=e.staggerLines),e.labelOffset=O*(e.opposite?-1:1)):S(a,(function(t,e){t.destroy(),delete a[e]})),p&&p.text&&!1!==p.enabled&&(e.addTitle(v),v&&!1!==p.reserveSpace)){e.titleOffset=x=e.axisTitle.getBBox()[i?"height":"width"];var C=p.offset;w=m(C)?0:j(p.margin,i?5:10)}e.renderLine(),e.offset=b*j(r.offset,g[o]?g[o]+(r.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},p=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,h=Math.abs(O)+w,O&&(h=h-p+b*(i?j(f.y,e.tickRotCorr.y+8*b):f.x)),e.axisTitleMargin=j(C,h),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==l&&(i=this.tickSize("tick"),g[o]=Math.max(g[o],(e.axisTitleMargin||0)+x+b*e.offset,h,s&&s.length&&i?i[0]+b*e.offset:0),r=!e.axisLine||r.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),n[u]=Math.max(n[u],r)),_(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i;return i=e.chartHeight-this.bottom-(n?this.height:0)+i,n&&(t*=-1),e.renderer.crispLine([["M",r?this.left:o,r?i:this.top],["L",r?e.chartWidth-this.right:o,r?i:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,n=this.top,i=this.len,r=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=r.x,d=r.y,c=this.axisTitle,u=this.chart.renderer.fontMetrics(r.style.fontSize,c);return c=c?Math.max(c.getBBox(!1,0).height-u.h-1,0):0,i={low:o+(t?0:i),middle:o+i/2,high:o+(t?i:0)}[r.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-c,c,u.f,-c][this.side],t={x:t?i+l:e+(a?this.width:0)+s+l,y:t?e+d-(a?this.height:0)+s:i+d},_(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var n=this.minorTicks;n[t]||(n[t]=new a(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,n){var i=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new a(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))},t.prototype.render=function(){var t,e,n=this,i=n.chart,r=n.logarithmic,s=n.options,d=n.isLinked,c=n.tickPositions,u=n.axisTitle,h=n.ticks,p=n.minorTicks,f=n.alternateBands,g=s.stackLabels,m=s.alternateGridColor,v=n.tickmarkOffset,b=n.axisLine,y=n.showAxis,x=l(i.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[h,p,f].forEach((function(t){S(t,(function(t){t.isActive=!1}))})),n.hasData()||d){var w=n.chart.hasRendered&&n.old&&O(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,w)})),c.length&&(c.forEach((function(t,e){n.renderTick(t,e,w)})),v&&(0===n.min||n.single)&&(h[-1]||(h[-1]=new a(n,-1,null,!0)),h[-1].render(-1))),m&&c.forEach((function(a,s){e=void 0!==c[s+1]?c[s+1]+v:n.max-v,0==s%2&&a<n.max&&e<=n.max+(i.polar?-v:v)&&(f[a]||(f[a]=new o.PlotLineOrBand(n)),t=a+v,f[a].options={from:r?r.lin2log(t):t,to:r?r.lin2log(e):e,color:m,className:"highcharts-alternate-grid"},f[a].render(),f[a].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[h,p,f].forEach((function(t){var e=[],n=x.duration;S(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),P((function(){for(var n=e.length;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==f&&i.hasRendered&&n?n:0)})),b&&(b[b.isPlaced?"animate":"attr"]({d:this.getLinePath(b.strokeWidth())}),b.isPlaced=!0,b[y?"show":"hide"](y)),u&&y&&(s=n.getTitlePosition(),u[u.isNew?"attr":"animate"](s),u.isNew=!1),g&&g.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,_(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,n=e.plotLinesAndBands,i=this.eventOptions;if(_(this,"destroy",{keepEvents:t}),t||M(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){v(t)})),n)for(t=n.length;t--;)n[t].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[r]=e.plotLinesAndBandsGroups[r].destroy();S(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=i},t.prototype.drawCrosshair=function(t,e){var i,r=this.crosshair,o=j(r&&r.snap,!0),a=this.chart,s=this.cross;if(_(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),r&&!1!==(m(e)||!o)){if(o?m(e)&&(i=j("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),m(i)){var l={value:e&&(this.isXAxis?e.x:j(e.stackY,e.y)),translatedValue:i};a.polar&&x(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!m(l))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(r.className||"")).attr({zIndex:j(r.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:r.color||(o?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":j(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:l}),o&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();_(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),_(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return O(t)&&0<t},t.prototype.update=function(t,e){var n=this.chart;t=C(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,j(e,!0)&&n.redraw()},t.prototype.remove=function(t){for(var e=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);b(e.axes,this),b(e[n],this),e[n].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,j(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.getMagnitude,r=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"init",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var a,s=o[e[0]],l=e[1];for(a=0;a<n.length&&(e=n[a],s=o[e[0]],l=e[1],!(n[a+1]&&t<=(s*l[l.length-1]+o[n[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(l=[1,2,5]),{unitRange:s,count:t=r(t/s,l,"year"===e[0]?Math.max(i(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var n=this.axis,i=n.chart.time;return n.closestPointRange?i.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||i.resolveDTLFormat(e.year).main:i.resolveDTLFormat(e.day).main},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,i=t.normalizeTickInterval,r=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))}function o(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};var s=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,n,o){var a=this.axis,s=a.len,l=a.options,d=[];if(o||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),d=a.getLinearTickPositions(t,e,n);else if(.08<=t){var c,u=Math.floor(e),h=l=void 0;for(s=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];u<n+1&&!h;u++){var p=s.length;for(c=0;c<p&&!h;c++){var f=this.log2lin(this.lin2log(u)*s[c]);f>e&&(!o||l<=n)&&void 0!==l&&d.push(l),l>n&&(h=!0),l=f}}}else e=this.lin2log(e),n=this.lin2log(n),t=o?a.getMinorTickInterval():l.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(o?5:1)*(n-e)/((o?s/a.tickPositions.length:s)||1)),t=i(t),d=a.getLinearTickPositions(t,e,n).map(this.log2lin),o||(this.minorAutoInterval=t/5);return o||(a.tickInterval=t),d},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=s}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.erase,i=t.extend,r=t.isNumber;return function(t){var e,o=[];t.compose=function(t,n){return e||(e=t),-1===o.indexOf(n)&&(o.push(n),i(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var i=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),o=[],a=this.horiz;if(e=!r(this.min)||!r(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&i){if(e){var s=t.toString()===i.toString();n=0}for(e=0;e<t.length;e+=2){var l=t[e],d=t[e+1],c=i[e],u=i[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==d[0]&&"L"!==d[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||(a&&c[1]===l[1]?(c[1]+=n,u[1]+=n):a||c[2]!==l[2]||(c[2]+=n,u[2]+=n),o.push(["M",l[1],l[2]],["L",d[1],d[2]],["L",u[1],u[2]],["L",c[1],c[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,n){var i=this,r=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((function(t){i.addPlotBandOrLine(t)}))),n){var a=r[n]||[];a.push(t),r[n]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.arrayMax,i=e.arrayMin,r=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,l=e.merge,d=e.objectEach,c=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(n){return t.compose(e,n)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,n=e.horiz,i=e.logarithmic,o=t.options,a=o.color,u=c(o.zIndex,0),h=o.events,p={},f=e.chart.renderer,g=o.label,m=t.label,v=o.to,b=o.from,y=o.value,x=t.svgElem,_=[],w=r(b)&&r(v);_=r(y);var O=!x,$={class:"highcharts-plot-"+(w?"band ":"line ")+(o.className||"")},C=w?"bands":"lines";if(i&&(b=i.log2lin(b),v=i.log2lin(v),y=i.log2lin(y)),e.chart.styledMode||(_?($.stroke=a||"#999999",$["stroke-width"]=c(o.width,1),o.dashStyle&&($.dashstyle=o.dashStyle)):w&&($.fill=a||"#e6ebf5",o.borderWidth&&($.stroke=o.borderColor,$["stroke-width"]=o.borderWidth))),p.zIndex=u,C+="-"+u,(i=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=i=f.g("plot-"+C).attr(p).add()),O&&(t.svgElem=x=f.path().attr($).add(i)),_)_=e.getPlotLinePath({value:y,lineWidth:x.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!w)return;_=e.getPlotBandPath(b,v,o)}return!t.eventsAdded&&h&&(d(h,(function(e,n){x.on(n,(function(e){h[n].apply(t,[e])}))})),t.eventsAdded=!0),(O||!x.d)&&_&&_.length?x.attr({d:_}):x&&(_?(x.show(),x.animate({d:_})):x.d&&(x.hide(),m&&(t.label=m=m.destroy()))),g&&(r(g.text)||r(g.formatter))&&_&&_.length&&0<e.width&&0<e.height&&!_.isFlat?(g=l({align:n&&w&&"center",x:n?!w&&4:10,verticalAlign:!n&&w&&"middle",y:n?w?16:10:w?6:-4,rotation:n&&!w&&90},g),this.renderLabel(g,_,w,u)):m&&m.hide(),t},e.prototype.renderLabel=function(t,e,r,o){var a=this.axis,s=a.chart.renderer,d=this.label;d||(this.label=d=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||d.css(l({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],r?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],r?e[2][2]:e[0][2]],r=i(o),s=i(e),d.align(t,!1,{x:r,y:s,width:n(o)-r,height:n(e)-s}),d.alignValue&&"left"!==d.alignValue||(t=t.clip?a.width:a.chart.chartWidth,d.css({width:(90===d.rotation?a.height-(d.alignAttr.y-a.top):t-(d.alignAttr.x-a.left))+"px"})),d.show(!0)},e.prototype.getLabelText=function(t){return r(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(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(t,e,n,i,r){var o=t.format,a=e.doc,s=n.distribute,l=r.clamp,d=r.css,c=r.discardElement,u=r.extend,h=r.fireEvent,p=r.isArray,f=r.isNumber,g=r.isString,m=r.merge,v=r.pick,b=r.splat,y=r.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||b(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),c(this.container)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var n=this.chart,i=n.pointer,r=n.inverted,o=n.plotTop;if(n=n.plotLeft,(t=b(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=i.normalize(e)),t=[e.chartX-n,e.chartY-o];else if(t[0].tooltipPos)t=t[0].tooltipPos;else{var a=0,s=0;t.forEach((function(t){(t=t.pos(!0))&&(a+=t[0],s+=t[1])})),a/=t.length,s/=t.length,this.shared&&1<t.length&&e&&(r?a=e.chartX:s=e.chartY),t=[a-n,s-o]}return t.map(Math.round)},t.prototype.getClassName=function(t,e,n){var i=t.series,r=i.options;return[this.options.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+v(t.colorIndex,i.colorIndex),r&&r.className].filter(g).join(" ")},t.prototype.getLabel=function(){var t,n=this,r=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s=o.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),l=this.chart.renderer;if(n.label){var c=!n.label.hasClass("highcharts-label");(a&&!c||!a&&c)&&n.destroy()}if(!this.label){if(this.outside){c=this.chart.options.chart.style;var u=i.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",d(t,{position:"absolute",top:"1px",pointerEvents:s,zIndex:Math.max(this.options.style.zIndex||0,(c&&c.zIndex||0)+3)}),e.doc.body.appendChild(t),this.renderer=l=new u(t,0,0,c,void 0,void 0,l.styledMode)}if(a?this.label=l.g("tooltip"):(this.label=l.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,"tooltip").attr({padding:o.padding,r:o.borderRadius}),r||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:s}).shadow(o.shadow)),r&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var h=this.label,p=h.xSetter,f=h.ySetter;h.xSetter=function(e){p.call(h,n.distance),t.style.left=e+"px"},h.ySetter=function(e){f.call(h,n.distance),t.style.top=e+"px"}}this.label.attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,n){var i,r=this.chart,o=this.distance,s={},l=r.inverted&&n.h||0,d=this.outside,c=d?a.documentElement.clientWidth-2*o:r.chartWidth,u=d?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):r.chartHeight,h=r.pointer.getChartPosition(),p=function(i){var a="x"===i;return[i,a?c:u,a?t:e].concat(d?[a?t*h.scaleX:e*h.scaleY,a?h.left-o+(n.plotX+r.plotLeft)*h.scaleX:h.top-o+(n.plotY+r.plotTop)*h.scaleY,0,a?c:u]:[a?t:e,a?n.plotX+r.plotLeft:n.plotY+r.plotTop,a?r.plotLeft:r.plotTop,a?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},f=p("y"),g=p("x");p=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(p=!p);var m=!this.followPointer&&v(n.ttBelow,!r.inverted===p),b=function(t,e,n,i,r,a,c){var u=d?"y"===t?o*h.scaleY:o*h.scaleX:o,p=(n-i)/2,f=i<r-o,g=r+o+i<e,v=r-u-n+p;if(r=r+u-p,m&&g)s[t]=r;else if(!m&&f)s[t]=v;else if(f)s[t]=Math.min(c-i,0>v-l?v:v-l);else{if(!g)return!1;s[t]=Math.max(a,r+l+n>e?r:r+l)}},y=function(t,e,n,i,r){var a;return r<o||r>e-o?a=!1:s[t]=r<n/2?1:r>e-i/2?e-i-2:r-n/2,a},x=function(t){var e=f;f=g,g=e,i=t},_=function(){!1!==b.apply(0,f)?!1!==y.apply(0,g)||i||(x(!0),_()):i?s.x=s.y=0:(x(!0),_())};return(r.inverted||1<this.len)&&x(),_(),s},t.prototype.hide=function(t){var e=this;r.clearTimeout(this.hideTimer),t=v(t,this.options.hideDelay),this.isHidden||(this.hideTimer=y((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=v(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.chart.pointer.inClass(t.target,"highcharts-tooltip"))},t.prototype.move=function(t,e,n,i){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),l=o.followPointer||1<o.len;u(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:l?void 0:s?(2*a.anchorX+n)/3:n,anchorY:l?void 0:s?(a.anchorY+i)/2:i}),o.getLabel().attr(a),o.drawTracker(),s&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,n,i)}),32))},t.prototype.refresh=function(t,e){var n=this.chart,i=this.options,o=n.pointer,a=b(t),s=a[0],l=[],d=i.formatter||this.defaultFormatter,c=this.shared,u=n.styledMode,f={};if(i.enabled&&s.series){r.clearTimeout(this.hideTimer),this.allowShared=!(!p(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&s.series.tooltipOptions.followPointer;var g=(t=this.getAnchor(t,e))[0],m=t[1];if(c&&this.allowShared?(o.applyInactiveState(a),a.forEach((function(t){t.setState("hover"),l.push(t.getLabelConfig())})),(f={x:s.category,y:s.y}).points=l):f=s.getLabelConfig(),this.len=l.length,d=d.call(f,this),c=s.series,this.distance=v(c.tooltipOptions.distance,16),!1===d)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(d,a);else{var y=g,x=m;if(e&&o.isDirectTouch&&(y=e.chartX-n.plotLeft,x=e.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!a.some((function(t){return o.isDirectTouch||t.series.shouldShowTooltip(y,x)})))return void this.hide();e=this.getLabel(),i.style.width&&!u||e.css({width:n.spacingBox.width+"px"}),e.attr({text:d&&d.join?d.join(""):d}),e.addClass(this.getClassName(s),!0),u||e.attr({stroke:i.borderColor||s.color||c.color||"#666666"}),this.updatePosition({plotX:g,plotY:m,negative:s.negative,ttBelow:s.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}h(this,"refresh")}},t.prototype.renderSplit=function(t,e){function n(t,e,n,r,o){return void 0===o&&(o=!0),n?(e=E?0:T,t=l(t-r/2,k.left,k.right-r-(i.outside?M:0))):(e-=A,t=l(t=o?t-r-O:t+O,o?t:k.left,k.right)),{x:t,y:e}}var i=this,r=i.chart,o=i.chart,d=o.chartWidth,c=o.chartHeight,h=o.plotHeight,p=o.plotLeft,f=o.plotTop,m=o.pointer,b=o.scrollablePixelsY;b=void 0===b?0:b;var y=o.scrollablePixelsX,x=o.scrollingContainer,_=(x=void 0===x?{scrollLeft:0,scrollTop:0}:x).scrollLeft;x=x.scrollTop;var w=o.styledMode,O=i.distance,$=i.options,C=i.options.positioner,k=i.outside&&"number"!=typeof y?a.documentElement.getBoundingClientRect():{left:_,right:_+d,top:x,bottom:x+c},S=i.getLabel(),j=this.renderer||r.renderer,E=!(!r.xAxis[0]||!r.xAxis[0].opposite),M=(r=m.getChartPosition()).left;r=r.top;var A=f+x,P=0,T=h-b;g(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,r,o){if(!1!==r&&""!==r){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:h,series:{}}).isHeader,s=a?i:o.series;r=r.toString();var d=s.tt,c=o.isHeader,u=o.series;d||(d={padding:$.padding,r:$.borderRadius},w||(d.fill=$.backgroundColor,d["stroke-width"]=$.borderWidth),d=j.label("",0,0,$[c?"headerShape":"shape"],void 0,void 0,$.useHTML).addClass(i.getClassName(o,!0,c)).attr(d).add(S)),d.isActive=!0,d.attr({text:r}),w||d.css($.style).shadow($.shadow).attr({stroke:$.borderColor||o.color||u.color||"#333333"}),r=(c=(s=s.tt=d).getBBox()).width+s.strokeWidth(),a&&(P=c.height,T+=P,E&&(A-=P)),u=void 0===(u=o.plotX)?0:u,d=void 0===(d=o.plotY)?0:d;var g=o.series;if(o.isHeader){u=p+u;var m=f+h/2}else{var b=g.xAxis,y=g.yAxis;u=b.pos+l(u,-O,b.len+O),g.shouldShowTooltip(0,y.pos-f+d,{ignoreX:!0})&&(m=y.pos+d)}u=l(u,k.left-O,k.right+O),"number"==typeof m?(c=c.height+1,d=C?C.call(i,r,c,o):n(u,m,a,r),t.push({align:C?0:void 0,anchorX:u,anchorY:m,boxWidth:r,point:o,rank:v(d.rank,a?1:0),size:c,target:d.y,tt:s,x:d.x})):s.isActive=!1}return t}),[]),!C&&t.some((function(t){var e=(i.outside?M:0)+t.anchorX;return e<k.left&&e+t.boxWidth<k.right||e<M-k.left+t.boxWidth&&k.right-e>e}))&&(t=t.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return u(t,{target:e.y,x:e.x})}))),i.cleanSplit(),s(t,T);var L=M,D=M;t.forEach((function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(i.outside&&M+e<L&&(L=M+e),!t&&i.outside&&L+n>D&&(D=M+e))})),t.forEach((function(t){var e=t.x,n=t.anchorX,r=t.pos,o=t.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:e,y:(r||0)+A,anchorX:n,anchorY:t.anchorY},i.outside&&e<n){var a=M-L;0<a&&(o||(r.x=e+a,r.anchorX=n+a),o&&(r.x=(D-L)/2,r.anchorX=n+a))}t.tt.attr(r)})),t=i.container,b=i.renderer,i.outside&&t&&b&&(o=S.getBBox(),b.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=L+"px",t.style.top=r+"px")},t.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(e&&n){var i={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var r=e.getBBox();n[0]+=t.plotLeft-e.translateX,n[1]+=t.plotTop-e.translateY,i.x=Math.min(0,n[0]),i.y=Math.min(0,n[1]),i.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),i.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(i):(this.tracker=e.renderer.rect(i).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,i=n.tooltipOptions,r=n.xAxis,a=r&&r.dateTime;r={isFooter:e,labelConfig:t};var s=i.xDateFormat,l=i[e?"footerFormat":"headerFormat"];return h(this,"headerFormatter",r,(function(e){a&&!s&&f(t.key)&&(s=a.getXDateFormat(t.key,i.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:n},this.chart)})),r.text},t.prototype.update=function(t){this.destroy(),m(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,m(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.distance,i=this.options,r=e.pointer,o=this.getLabel(),a=r.getChartPosition();r=a.left;var s=a.top,l=a.scaleX;a=a.scaleY;var c=(i.positioner||this.getPosition).call(this,o.width,o.height,t),u=(t.plotX||0)+e.plotLeft;t=(t.plotY||0)+e.plotTop,this.outside&&(i.positioner&&(c.x+=r-n,c.y+=s-n),n=i.borderWidth+2*n,this.renderer.setSize(o.width+n,o.height+n,!1),1===l&&1===a||(d(this.container,{transform:"scale(".concat(l,", ").concat(a,")")}),u*=l,t*=a),u+=r-c.x,t+=s-c.y),this.move(Math.round(c.x),Math.round(c.y||0),u,t)},t}()})),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){var o=e.animObject,a=n.defaultOptions,s=i.format,l=r.addEvent,d=r.defined,c=r.erase,u=r.extend,h=r.fireEvent,p=r.getNestedProperty,f=r.isArray,g=r.isFunction,m=r.isNumber,v=r.isObject,b=r.merge,y=r.objectEach,x=r.pick,_=r.syncTimeout,w=r.removeEvent,O=r.uniqueKey;return e=function(){function e(){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.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(u({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,n){var i=this.series,r=i.options.pointValKey||i.pointValKey;return t=e.prototype.optionsToObject.call(this,t),u(this,t),this.options=this.options?u(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=e.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=void 0===n?i.autoIncrement():n:m(t.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(r in(e.graphic||e.graphics||e.dataLabel||e.dataLabels)&&(w(e),e.destroyElements()),e)e[r]=null}var e=this,n=e.series,i=n.chart;n=n.options.dataSorting;var r,a=i.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&i.legend.destroyItem(e),a&&(e.setState(),c(a,e),a.length||(i.hoverPoints=null)),e===i.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),_(t,s.duration)):t(),i.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,n){var i=this,r=this.series.options;(r.point.events[t]||i.options&&i.options.events&&i.options.events[t])&&i.importEvents(),"click"===t&&r.allowPointSelect&&(n=function(t){i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(i,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,i=[],r={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","shadowGroup"),t.dataLabel&&i.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),e=i.length;e--;){var o=i[e];n[o]&&r.singular.push(o)}return["graphic","dataLabel","connector"].forEach((function(e){var i=e+"s";t[e]&&n[i]&&r.plural.push(i)})),r},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?p(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,i=0;for(n=e[i];this[t]>=n.value;)n=e[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=d(this.id)?this.id:O(),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit"),this},e.prototype.isValid=function(){return null!==this.x&&m(this.y)},e.prototype.optionsToObject=function(t){var n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a={},s=0,l=0;if(m(t)||null===t)a[r[0]]=t;else if(f(t))for(!i&&t.length>o&&("string"===(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);l<o;)i&&void 0===t[s]||(0<r[l].indexOf(".")?e.prototype.setNestedProperty(a,t[s],r[l]):a[r[l]]=t[s]),s++,l++;else"object"==typeof t&&(a=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return a},e.prototype.pos=function(t,e){void 0===e&&(e=this.plotY);var n=this.plotX,i=this.series,r=i.chart,o=i.xAxis;i=i.yAxis;var a=0,s=0;if(m(n)&&m(e))return t&&(a=o?o.pos:r.plotLeft,s=i?i.pos:r.plotTop),r.inverted&&o&&i?[i.len-e+s,o.len-n+a]:[n+a,e+s]},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,n=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var i=(n=t.options.colors||t.chart.options.colors)[t.colorCounter];n=n.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===n&&(t.colorCounter=0)}else e||(i=t.color),e=t.colorIndex;this.colorIndex=x(this.options.colorIndex,e),this.color=x(this.options.color,i)},e.prototype.setNestedProperty=function(t,e,n){return n.split(".").reduce((function(t,n,i,r){return t[n]=r.length-1===i?e:v(t[n],!0)?t[n]:{},t[n]}),t),t},e.prototype.shouldDraw=function(){return!this.isNull},e.prototype.tooltipFormatter=function(t){var e=this.series,n=e.tooltipOptions,i=x(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(r||o)&&(t=t.replace(RegExp(e+"}","g"),r+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+i+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,n,i){function r(){a.applyOptions(t);var i=l&&a.hasMockGraphic;i=null===a.y?!i:i,l&&i&&(a.graphic=l.destroy(),delete a.hasMockGraphic),v(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),c.data[o]=v(c.data[o],!0)||v(t,!0)?a.options:x(t,c.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(d.isDirtyBox=!0),"point"===c.legendType&&(d.isDirtyLegend=!0),e&&d.redraw(n)}var o,a=this,s=a.series,l=a.graphic,d=s.chart,c=s.options;e=x(e,!0),!1===i?r():a.firePointEvent("update",{options:t},r)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var n=this,i=n.series,r=i.chart;this.selectedStaging=t=x(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,i.options.data[i.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||r.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(r.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=b(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,n){g(e)&&l(t,n,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,n){var i,r=this.series,o=this.state,s=r.options.states[e||"normal"]||{},l=a.plotOptions[r.type].marker&&r.options.marker,d=l&&!1===l.enabled,c=l&&l.states&&l.states[e||"normal"]||{},p=!1===c.enabled,f=this.marker||{},g=r.chart,v=l&&r.markerAttribs,b=r.halo,y=r.stateMarkerGraphic;if(!((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===s.enabled||e&&(p||d&&!1===c.enabled)||e&&f.states&&f.states[e]&&!1===f.states[e].enabled)){if(this.state=e,v&&(i=r.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!g.styledMode){o=r.pointAttribs(this,e);var _=x(g.options.chart.animation,s.animation),w=o.opacity;r.options.inactiveOtherPoints&&m(w)&&((this.dataLabels||[]).forEach((function(t){t&&!t.hasClass("highcharts-data-label-hidden")&&t.animate({opacity:w},_)})),this.connector&&this.connector.animate({opacity:w},_)),this.graphic.animate(o,_)}i&&this.graphic.animate(i,x(g.options.chart.animation,c.animation,l.animation)),y&&y.hide()}else e&&c&&(l=f.symbol||r.symbol,y&&y.currentSymbol!==l&&(y=y.destroy()),i&&(y?y[n?"animate":"attr"]({x:i.x,y:i.y}):l&&(r.stateMarkerGraphic=y=g.renderer.symbol(l,i.x,i.y,i.width,i.height).add(r.markerGroup),y.currentSymbol=l)),!g.styledMode&&y&&"inactive"!==this.state&&y.attr(r.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,i=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==i&&!this.isCluster?(b||(r.halo=b=g.renderer.path().add(y.parentGroup)),b.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),b.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:i,zIndex:-1}),b.point=this,g.styledMode||b.attr(u({fill:this.color||r.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):b&&b.point&&b.point.haloPath&&b.animate({d:b.point.haloPath(0)},null,b.hide),h(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){var e=this.pos();return e?this.series.chart.renderer.symbols.circle(Math.floor(e[0])-t,e[1]-t,2*t,2*t):[]},e}()})),e(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=e.charts,a=e.noop,s=i.addEvent,l=i.attr,d=i.css,c=i.defined,u=i.extend,h=i.find,p=i.fireEvent,f=i.isNumber,g=i.isObject,m=i.objectEach,v=i.offset,b=i.pick,y=i.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),m(n,(function(t,e){n[e]=void 0}))},t.prototype.getSelectionMarkerAttrs=function(t,e){var n=this,i={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return p(this,"getSelectionMarkerAttrs",i,(function(i){var r=n.chart,o=n.mouseDownX;o=void 0===o?0:o;var a=n.mouseDownY;a=void 0===a?0:a;var s=n.zoomHor,l=n.zoomVert;(i=i.attrs).x=r.plotLeft,i.y=r.plotTop,i.width=s?1:r.plotWidth,i.height=l?1:r.plotHeight,s&&(r=t-o,i.width=Math.abs(r),i.x=(0<r?0:r)+o),l&&(r=e-a,i.height=Math.abs(r),i.y=(0<r?0:r)+a)})),i},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,i=e.plotLeft,o=e.plotTop,a=e.plotWidth,s=e.plotHeight,l=this.mouseDownX||0,d=this.mouseDownY||0,c=g(n.panning)?n.panning&&n.panning.enabled:n.panning,u=n.panKey&&t[n.panKey+"Key"],h=t.chartX,p=t.chartY,f=this.selectionMarker;f&&f.touch||(h<i?h=i:h>i+a&&(h=i+a),p<o?p=o:p>o+s&&(p=o+s),this.hasDragged=Math.sqrt(Math.pow(l-h,2)+Math.pow(d-p,2)),10<this.hasDragged&&(i=e.isInsidePlot(l-i,d-o,{visiblePlotOnly:!0}),h=(p=this.getSelectionMarkerAttrs(h,p)).shapeType,p=p.attrs,!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!i||u||f||(this.selectionMarker=f=e.renderer[h](),f.attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||f.attr({fill:n.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),f&&f.attr(p),i&&!f&&c&&e.pan(t,n.panning)))},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.getSelectionBox=function(t){var e={args:{marker:t},result:{}};return p(this,"getSelectionBox",e,(function(e){e.result={x:t.attr?+t.attr("x"):t.x,y:t.attr?+t.attr("y"):t.y,width:t.attr?t.attr("width"):t.width,height:t.attr?t.attr("height"):t.height}})),e.result},t.prototype.drop=function(t){var e=this,n=this.chart,i=this.hasPinched;if(this.selectionMarker){var r=this.getSelectionBox(this.selectionMarker),o=r.x,a=r.y,s=r.width,l=r.height,h={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:l},g=!!n.mapView;(this.hasDragged||i)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&c(n.min)&&(i||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&f(o)&&f(a)&&f(s)&&f(l)){var r=n.horiz,d="touchend"===t.type?n.minPixelPadding:0,u=n.toValue((r?o:a)+d);r=n.toValue((r?o+s:a+l)-d),h[n.coll].push({axis:n,min:Math.min(u,r),max:Math.max(u,r)}),g=!0}})),g&&p(n,"selection",h,(function(t){n.zoom(u(t,i?{animation:!1}:null))}))),f(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),i&&this.scaleGroups()}n&&f(n.index)&&(d(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,n){var i;return t.forEach((function(t){var r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,r),(r=g(t,!0)&&t.series)&&!(r=!g(i,!0))){r=i.distX-t.distX;var o=i.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(i.series.group&&i.series.group.zIndex);r=0<(0!==r&&e?r:0!==o?o:0!==a?a:i.series.index>t.series.index?-1:1)}r&&(i=t)})),i},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,i=n.xAxis;n=n.yAxis;var r=t.shapeArgs;if(i&&n){var o=b(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&r&&f(r.x)&&f(r.y)&&(o=r.x,a=r.y),e?{chartX:n.len+n.pos-a,chartY:i.len+i.pos-o}:{chartX:o+i.pos,chartY:a+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2<n&&2<t&&(this.chartPosition.scaleX=e.width/n,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,n,i,r,o){var a=[];i=!(!i||!t);var s=function(t){return t.visible&&!(!r&&t.directTouch)&&b(t.options.enableMouseTracking,!0)},l={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:r};p(this,"beforeGetHoverData",l);var d=e&&!e.stickyTracking?[e]:n.filter((function(t){return t.stickyTracking&&(l.filter||s)(t)})),c=i||!o?t:this.findNearestKDPoint(d,r,o);return e=c&&c.series,c&&(r&&!e.noSharedTooltip?(d=n.filter((function(t){return l.filter?l.filter(t):s(t)&&!t.noSharedTooltip}))).forEach((function(t){var e=h(t.points,(function(t){return t.x===c.x&&!t.isNull}));g(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))})):a.push(c)),p(this,"afterGetHoverData",l={hoverPoint:c}),{hoverPoint:l.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=l(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentElement}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,i=n?n.length?n.item(0):b(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=i.pageX-e.left,i=i.pageY-e.top,n/=e.scaleX,i/=e.scaleY,u(t,{chartX:Math.round(n),chartY:Math.round(i)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var i=e.plotLeft,r=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(p(n.series,"click",u(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(u(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r,{visiblePlotOnly:!0})&&p(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var n=1==(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||n)&&(this.zoomOption(t),n&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var n=o[b(t.hoverChartIndex,-1)],i=this.chart.tooltip;e=this.normalize(e),n&&(e.relatedTarget||e.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),i&&!i.isHidden&&this.reset()},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart,n=e.tooltip;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(t)||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var n=o[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=e.tooltip,i=this.chartPosition;t=this.normalize(t,i),!i||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(t)||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var n=o[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,n=e.chart,i=e.pinchDown,r=t.touches||[],o=r.length,s=e.lastValidTouch,l=e.hasZoom,d={},c=1===o&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),h={},f=e.chart.tooltip;f=1===o&&b(f&&f.options.followTouchMove,!0);var g=e.selectionMarker;1<o?e.initiated=!0:f&&(e.initiated=!1),l&&e.initiated&&!c&&!1!==t.cancelable&&t.preventDefault(),[].map.call(r,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(r,(function(t,e){i[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[i[0].chartX,i[1]&&i[1].chartX],s.y=[i[0].chartY,i[1]&&i[1].chartY],n.axes.forEach((function(t){if(t.zoomEnabled){var e=n.bounds[t.horiz?"h":"v"],i=t.minPixelPadding,r=t.toPixels(Math.min(b(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(b(t.options.max,t.dataMax),t.dataMax)),a=Math.max(r,o);e.min=Math.min(t.pos,Math.min(r,o)-i),e.max=Math.max(t.pos+t.len,a+i)}})),e.res=!0):f?this.runPointActions(e.normalize(t)):i.length&&(p(n,"touchpan",{originalEvent:t},(function(){g||(e.selectionMarker=g=u({destroy:a,touch:!0},n.plotBox)),e.pinchTranslate(i,r,d,g,h,s),e.hasPinched=l,e.scaleGroups(d,h)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,n,i,r,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,i,r,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,i,r,o)},t.prototype.pinchTranslateDirection=function(t,e,n,i,r,o,a,s){var l=this.chart,d=t?"x":"y",c=t?"X":"Y",u="chart"+c,h=t?"width":"height",p=l["plot"+(t?"Left":"Top")],f=l.inverted,g=l.bounds[t?"h":"v"],m=1===e.length,v=e[0][u],b=!m&&e[1][u];e=function(){"number"==typeof O&&20<Math.abs(v-b)&&(_=s||Math.abs(w-O)/Math.abs(v-b)),x=(p-w)/_+v,y=l["plot"+(t?"Width":"Height")]/_};var y,x,_=s||1,w=n[0][u],O=!m&&n[1][u];if(e(),(n=x)<g.min){n=g.min;var $=!0}else n+y>g.max&&(n=g.max-y,$=!0);$?(w-=.8*(w-a[d][0]),"number"==typeof O&&(O-=.8*(O-a[d][1])),e()):a[d]=[w,O],f||(o[d]=x-p,o[h]=y),o=f?1/_:_,r[h]=y,r[d]=n,i[f?t?"scaleY":"scaleX":"scale"+c]=_,i["translate"+c]=o*p+(w-o*v)},t.prototype.reset=function(t,e){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):r&&(r.setState(r.state,!0),n.axes.forEach((function(t){t.crosshair&&r.series[t.coll]===t&&t.drawCrosshair(null,r)})))):(r&&r.onMouseOut(),o&&o.forEach((function(t){t.setState()})),i&&i.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n,i){var r=this.chart,a=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,l=!!a&&a.shared,d=n||r.hoverPoint,c=d&&d.series||r.hoverSeries;n=this.getHoverData(d,c,r.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),l,e),d=n.hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var p=l&&c&&!c.noSharedTooltip;if(d&&(i||d!==r.hoverPoint||a&&a.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===u.indexOf(t)&&t.setState()})),r.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!d.series)return;r.hoverPoints=u,r.hoverPoint=d,d.firePointEvent("mouseOver",void 0,(function(){a&&d&&a.refresh(p?u:d,e)}))}else n&&a&&!a.isHidden&&(i=a.getAnchor([{}],e),r.isInsidePlot(i[0],i[1],{visiblePlotOnly:!0})&&a.updatePosition({plotX:i[0],plotY:i[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(r.container.ownerDocument,"mousemove",(function(e){var n=o[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(t){var n,i=b((t.crosshair||{}).snap,!0);i&&((n=r.hoverPoint)&&n.series[t.coll]===t||(n=h(u,(function(e){return e.series&&e.series[t.coll]===t})))),n||!i?t.drawCrosshair(e,n):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach((function(i){var r=t||i.getPlotBox();i.group&&(i.xAxis&&i.xAxis.zoomEnabled||n.mapView)&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(e?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,i=this.chart.container,r=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(i,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete n.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,i=e.charts[b(t.hoverChartIndex,-1)];i&&i!==n&&i.pointer.onContainerMouseLeave({relatedTarget:n.container}),i&&i.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));b(i,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var i=n.zooming.type||"";/touch/.test(t.type)&&(i=b(n.zooming.pinchType,i)),this.zoomX=t=/x/.test(i),this.zoomY=n=/y/.test(i),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}()})),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(t,e,n){function i(){var t=[];return t.item=function(t){return this[t]},h(g,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function r(t,n,r,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[n]({type:r,target:t.currentTarget,preventDefault:l,touches:i()}))}var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=t.charts,s=t.doc,l=t.noop,d=t.win,c=n.addEvent,u=n.css,h=n.objectEach,p=n.pick,f=n.removeEvent,g={},m=!!d.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.isRequired=function(){return!(t.hasTouch||!d.PointerEvent&&!d.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(f),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&u(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){r(t,"onContainerTouchStart","touchstart",(function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},n.prototype.onContainerPointerMove=function(t){r(t,"onContainerTouchMove","touchmove",(function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY},g[t.pointerId].target||(g[t.pointerId].target=t.currentTarget)}))},n.prototype.onDocumentPointerUp=function(t){r(t,"onDocumentTouchEnd","touchend",(function(t){delete g[t.pointerId]}))},n.prototype.setDOMEvents=function(){var t=this.chart.tooltip;e.prototype.setDOMEvents.call(this),(this.hasZoom||p(t&&t.options.followTouchMove,!0))&&this.batchMSEvents(c)},n}(e)})),e(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(t,e,n,i,r,o){var a=t.animObject,s=t.setAnimation,l=e.format,d=n.marginNames,c=r.distribute,u=o.addEvent,h=o.createElement,p=o.css,f=o.defined,g=o.discardElement,m=o.find,v=o.fireEvent,b=o.isNumber,y=o.merge,x=o.pick,_=o.relativeLength,w=o.stableSort,O=o.syncTimeout;return t=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),u(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=u(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=x(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=x(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,x(e,!0)&&n.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){var n=t.legendItem||{},i=n.group,r=n.label,o=n.line;if(n=n.symbol,i&&i[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var a=this.options;i=this.itemHiddenStyle.color,a=e?a.itemStyle.color:i;var s=e&&t.color||i,l=t.options&&t.options.marker,d={fill:s};r&&r.css({fill:a,color:a}),o&&o.attr({stroke:s}),n&&(l&&n.isMarker&&(d=t.pointAttribs(),e||(d.stroke=d.fill=i)),n.attr(d))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=t.legendItem||{},i=n.group,r=n.x;r=void 0===r?0:r,n=void 0===(n=n.y)?0:n;var o=this.options,a=o.symbolPadding,s=!o.rtl;o=t.checkbox,i&&i.element&&(a={translateX:s?r:this.legendWidth-r-2*a-4,translateY:n},i[f(i.translateY)?"animate":"attr"](a,void 0,(function(){v(e,"afterPositionItem",{item:t})}))),o&&(o.x=r,o.y=n)},t.prototype.destroyItem=function(t){for(var e=t.checkbox,n=t.legendItem||{},i=0,r=["group","label","line","symbol"];i<r.length;i++){var o=r[i];n[o]&&(n[o]=n[o].destroy())}e&&g(e),t.legendItem=void 0},t.prototype.destroy=function(){for(var t=0,e=this.getAllItems();t<e.length;t++)this.destroyItem(e[t]);for(t=0,e="clipRect up down pager nav box title group".split(" ");t<e.length;t++){var n=e[t];this[n]&&(this[n]=this[n].destroy())}this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var i=t.translateY;this.allItems.forEach((function(r){var o=r.checkbox;if(o){var a=i+n+o.y+(this.scrollOffset||0)+3;p(o,{left:t.translateX+r.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>i-6&&a<i+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,n=t.title,i=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,void 0,void 0,void 0,t.useHTML,void 0,"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"}),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},t.prototype.setText=function(t){var e=this.options;t.legendItem.label.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=t.legendItem=t.legendItem||{},n=this.chart,i=n.renderer,r=this.options,o=this.symbolWidth,a=r.symbolPadding||0,s=this.itemStyle,l=this.itemHiddenStyle,d="horizontal"===r.layout?x(r.itemDistance,20):0,c=!r.rtl,u=!t.series,h=!u&&t.series.drawLegendSymbol?t.series:t,p=h.options,f=this.createCheckboxForItem&&p&&p.showCheckbox,g=r.useHTML,m=t.options.className,v=e.label;p=o+a+d+(f?20:0),v||(e.group=i.g("legend-item").addClass("highcharts-"+h.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(u?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=v=i.text("",c?o+a:-a,this.baseline||0,g),n.styledMode||v.css(y(t.visible?s:l)),v.attr({align:c?"left":"right",zIndex:2}).add(e.group),this.baseline||(this.fontMetrics=i.fontMetrics(n.styledMode?12:s.fontSize,v),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,v.attr("y",this.baseline),this.symbolHeight=r.symbolHeight||this.fontMetrics.f,r.squareSymbol&&(this.symbolWidth=x(r.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+a+d+(f?20:0),c&&v.attr("x",this.symbolWidth+a))),h.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,v,g)),f&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!n.styledMode&&s.width||v.css({width:(r.itemWidth||this.widthOption||n.spacingBox.width)-p+"px"}),this.setText(t),n=v.getBBox(),i=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=r.itemWidth||e.labelWidth||n.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(n.height>1.5*i?n.height:i))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,i="horizontal"===e.layout,r=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=i?x(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth;var d=t.legendItem||{};i&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(r,this.lastLineHeight),d.x=this.itemX,d.y=this.itemY,i?this.itemX+=e:(this.itemY+=a+r+o,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&x(n.showInLegend,!f(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))})),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(r)&&!f(t[a])&&(n[d[a]]=Math.max(n[d[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*i[a%2?"x":"y"]+x(i.margin,12)+e[a]+(n.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(i){var r,o=n;if(i.yAxis){i.xAxis.options.reversed&&(o=!o),i.points&&(r=m(o?i.points:i.points.slice(0).reverse(),(function(t){return b(t.plotY)}))),o=this.itemMarginTop+i.legendItem.label.getBBox().height+this.itemMarginBottom;var a=i.yAxis.top-t.plotTop;i.visible?(r=r?r.plotY:i.yAxis.height,r+=a-.3*o):r=a+i.yAxis.height,e.push({target:r,size:o,item:i})}}),this);for(var i,r=0,o=c(e,t.plotHeight);r<o.length;r++){var a=o[r];i=a.item.legendItem||{},b(a.pos)&&(i.y=t.plotTop-t.spacing[0]+a.pos)}},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.options,i=this.padding,r=this.getAllItems(),o=this.group,a=this.box;this.itemX=i,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=_(n.width,t.spacingBox.width-i);var s=t.spacingBox.width-2*i-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),w(r,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.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)+i;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=i,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(o)),t.styledMode||a.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<r&&0<l&&a[a.placed?"animate":"attr"](a.crisp.call({},{x:0,y:0,width:r,height:l},a.strokeWidth())),o[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,n=this.options,i=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?i+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(i-=e.titleOffset[2]),i!==t.y&&(t=y(t,{y:i})),e.hasRendered||(this.group.placed=!1),this.group.align(y(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,n,i,r=this,o=this.chart,a=o.renderer,s=this.options,l=s.y,d="top"===s.verticalAlign,c=this.padding,u=s.maxHeight,h=s.navigation,p=x(h.animation,!0),f=h.arrowSize||12,g=this.pages,m=this.allItems,v=function(t){"number"==typeof t?_.attr({height:t}):_&&(r.clipRect=_.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},b=function(t){return r[t]=a.circle(0,0,1.3*f).translate(f/2,f/2).add(y),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]};l=o.spacingBox.height+(d?-l:l)-c;var y=this.nav,_=this.clipRect;return"horizontal"!==s.layout||"middle"===s.verticalAlign||s.floating||(l/=2),u&&(l=Math.min(l,u)),g.length=0,t&&0<l&&t>l&&!1!==h.enabled?(this.clipHeight=e=Math.max(l-20-this.titleHeight-c,0),this.currentPage=x(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,r){t=(i=t.legendItem||{}).y||0;var o=Math.round(i.label.getBBox().height),a=g.length;(!a||t-g[a-1]>e&&(n||t)!==g[a-1])&&(g.push(n||t),a++),i.pageIx=a-1,n&&((m[r-1].legendItem||{}).pageIx=a-1),r===m.length-1&&t+o-g[a-1]>e&&o<=e&&(g.push(t),i.pageIx=a),t!==n&&(n=t)})),_||(_=r.clipRect=a.clipRect(0,c,9999,0),r.contentGroup.clip(_)),v(e),y||(this.nav=y=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,f,f).add(y),b("upTracker").on("click",(function(){r.scroll(-1,p)})),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&h.style&&this.pager.css(h.style),this.pager.add(y),this.down=a.symbol("triangle-down",0,0,f,f).add(y),b("downTracker").on("click",(function(){r.scroll(1,p)}))),r.scroll(0),t=l):y&&(v(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,i=this.chart,r=this.pages,o=r.length,l=this.clipHeight,d=this.options.navigation,c=this.pager,u=this.padding,h=this.currentPage+t;h>o&&(h=o),0<h&&(void 0!==e&&s(e,i),this.nav.attr({translateX:u,translateY:l+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),c.attr({text:h+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),i.styledMode||(this.up.attr({fill:1===h?d.inactiveColor:d.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===o?d.inactiveColor:d.activeColor}),this.downTracker.css({cursor:h===o?"default":"pointer"})),this.scrollOffset=-r[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),t=a(x(e,i.renderer.globalAnimation,!0)),O((function(){v(n,"afterScroll",{currentPage:h})}),t.duration))},t.prototype.setItemEvents=function(t,e,n){var r=this,o=t.legendItem||{},a=r.chart.renderer.boxWrapper,s=t instanceof i,l="highcharts-legend-"+(s?"point":"series")+"-active",d=r.chart.styledMode,c=function(e){r.allItems.forEach((function(n){t!==n&&[n].concat(n.linkedSeries||[]).forEach((function(t){t.setState(e,!s)}))}))},u=0;for(n=n?[e,o.symbol]:[o.group];u<n.length;u++)(o=n[u])&&o.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&a.addClass(l),d||e.css(r.options.itemHoverStyle)})).on("mouseout",(function(){r.chart.styledMode||e.css(y(t.visible?r.itemStyle:r.itemHiddenStyle)),c(""),a.removeClass(l),t.setState()})).on("click",(function(e){var n=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};a.removeClass(l),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):v(t,"legendItemClick",e,n)}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=h("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),u(t.checkbox,"click",(function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}()})),e(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/Defaults.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=i.extendClass,s=i.merge;return function(e){function i(t,i){var r=o.plotOptions||{},a=i.defaultOptions,s=i.prototype;s.type=t,s.pointClass||(s.pointClass=n),a&&(r[t]=a),e.seriesTypes[t]=i}e.seriesTypes=t.seriesTypes,e.registerSeriesType=i,e.seriesType=function(t,r,l,d,c){var u=o.plotOptions||{};return r=r||"",u[t]=s(u[r],l),i(t,a(e.seriesTypes[r]||function(){},d)),e.seriesTypes[t].prototype.type=t,c&&(e.seriesTypes[t].prototype.pointClass=a(n,c)),e.seriesTypes[t]}}(r||(r={})),r})),e(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.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(t,e,n,i,r,o,a,s,l,d,c,u,h,p,f){var g=t.animate,m=t.animObject,v=t.setAnimation,b=n.defaultOptions,y=n.defaultTime,x=i.numberFormat,_=r.registerEventOptions,w=o.charts,O=o.doc,$=o.marginNames,C=o.svg,k=o.win,S=c.seriesTypes,j=p.addEvent,E=p.attr,M=p.cleanRecursively,A=p.createElement,P=p.css,T=p.defined,L=p.discardElement,D=p.erase,I=p.error,N=p.extend,R=p.find,F=p.fireEvent,B=p.getStyle,z=p.isArray,H=p.isNumber,W=p.isObject,U=p.isString,Y=p.merge,G=p.objectEach,V=p.pick,X=p.pInt,q=p.relativeLength,K=p.removeEvent,Z=p.splat,J=p.syncTimeout,Q=p.uniqueKey;return t=function(){function t(t,e,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(t,e,n)}return t.chart=function(e,n,i){return new t(e,n,i)},t.prototype.getArgs=function(t,e,n){U(t)||t.nodeName?(this.renderTo=t,this.init(e,n)):this.init(t,e)},t.prototype.init=function(t,e){var n=t.plotOptions||{};F(this,"init",{args:arguments},(function(){var i=Y(b,t),r=i.chart;G(i.plotOptions,(function(t,e){W(t)&&(t.tooltip=n[e]&&Y(n[e].tooltip)||void 0)})),i.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0;var a=r.zooming=r.zooming||{};t.chart&&!t.chart.zooming&&(a.resetButton=r.resetZoomButton),a.key=V(a.key,r.zoomKey),a.pinchType=V(a.pinchType,r.pinchType),a.singleTouch=V(a.singleTouch,r.zoomBySingleTouch),a.type=V(a.type,r.zoomType),this.options=i,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):o.time,this.numberFormatter=r.numberFormatter||x,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=w.length,w.push(this),o.chartCount++,_(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,F(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var n=S[e];return n||I(17,!0,this,{missingModuleFor:e}),"function"==typeof(e=new n).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var n=e.length;t<n;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,n){void 0===n&&(n={});var i=this.inverted,r=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,l=0,d=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(d=this.scrollingContainer).scrollLeft,d=d.scrollTop);var c=n.series;if(r=n.visiblePlotOnly&&s||r,t={x:s=n.inverted?e:t,y:e=n.inverted?t:e,isInsidePlot:!0,options:n},!n.ignoreX){var u=c&&(i&&!this.polar?c.yAxis:c.xAxis)||{pos:o,len:1/0};(s=n.paneCoordinates?u.pos+s:o+s)>=Math.max(l+o,u.pos)&&s<=Math.min(l+o+r.width,u.pos+u.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(i=n.axis&&!n.axis.isXAxis&&n.axis||c&&(i?c.xAxis:c.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?i.pos+e:a+e)>=Math.max(d+a,i.pos)&&n<=Math.min(d+a+r.height,i.pos+i.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,i=this.pointer,r=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],d=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var u=n[t];if(u.options.stacking||u.options.centerInCategory){var h=!0;if(u.isDirty){var p=!0;break}}}if(p)for(t=n.length;t--;)(u=n[t]).options.stacking&&(u.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):o&&(o.labelFormatter||o.labelFormat)&&(c=!0)),t.isDirtyData&&F(t,"updatedData")})),c&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),h&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(d=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){F(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(d||h)&&t.redraw()})),d&&this.drawChartBox(),F(this,"predraw"),n.forEach((function(t){(d||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),i&&i.reset(!0),a.draw(),F(this,"redraw"),F(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,i=R(this.axes,e)||R(this.series,e),r=0;!i&&r<n.length;r++)i=R(n[r].points||[],e);return i},t.prototype.getAxes=function(){var t=this,n=this.options,i=n.xAxis=Z(n.xAxis||{});n=n.yAxis=Z(n.yAxis||{}),F(this,"getAxes"),i.forEach((function(t,e){t.index=e,t.isX=!0})),n.forEach((function(t,e){t.index=e})),i.concat(n).forEach((function(n){new e(t,n)})),F(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){V(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)},t.prototype.applyDescription=function(t,e){var n=this,i="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};i=this.options[t]=Y(!this.styledMode&&{style:i},this.options[t],e);var r=this[t];r&&e&&(this[t]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+t,zIndex:i.zIndex||4}).add()).update=function(e){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||r.css(i.style),this[t]=r)},t.prototype.layOutTitles=function(t){var e=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var r,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(r=a.style&&a.style.fontSize),r=n.fontMetrics(r,o).b,o.css({width:(a.width||i.width+(a.widthAdjust||0))+"px"});var l=Math.round(o.getBBox(a.useHTML).height);o.align(N({y:"bottom"===s?r:t+r,height:l},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,F(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&V(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var n=this.renderTo;T(e)||(this.containerWidth=B(n,"width")),T(t)||(this.containerHeight=B(n,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,q(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(O.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(O.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,O.body.appendChild(e)),("none"===B(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==O.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,n=e.chart,i=Q(),r=this.renderTo;r||(this.renderTo=r=n.renderTo),U(r)&&(this.renderTo=r=O.getElementById(r)),r||I(13,!0,this);var o=X(E(r,"data-highcharts-chart"));H(o)&&w[o]&&w[o].hasRendered&&w[o].destroy(),E(r,"data-highcharts-chart",this.index),r.innerHTML=f.emptyHTML,n.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(r,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:o+"px",height:a+"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=i=A("div",{id:i},t,r),this._cursor=i.style.cursor,this.renderer=new(n.renderer||!C?d.getRendererType(n.renderer):u)(i,o,a,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i[0]&&!T(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+e[0])),i[2]&&!T(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),F(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,i=t.margin,r=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?r(t.axes):n&&n.length&&r(n),$.forEach((function(n,r){T(i[r])||(t[n]+=e[r])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,n=e.options.chart,i=e.renderTo,r=T(n.width)&&T(n.height),o=n.width||B(i,"width");n=n.height||B(i,"height"),i=t?t.target:k,delete e.pointer.chartPosition,r||e.isPrinting||!o||!n||i!==k&&i!==O||(o===e.containerWidth&&n===e.containerHeight||(p.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=n)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=j(k,"resize",(function(t){e.options&&e.reflow(t)})),j(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,n){var i=this,r=i.renderer;i.isResizing+=1,v(n,i),n=r.globalAnimation,i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize(),i.styledMode||(n?g:P)(i.container,{width:i.chartWidth+"px",height:i.chartHeight+"px"},n),i.setChartSize(!0),r.setSize(i.chartWidth,i.chartHeight,n),i.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=null,F(i,"resize"),J((function(){i&&F(i,"endResize",null,(function(){--i.isResizing}))}),m(n).duration)},t.prototype.setChartSize=function(t){var e,n,i,r,o=this.inverted,a=this.renderer,s=this.chartWidth,l=this.chartHeight,d=this.options.chart,c=this.spacing,u=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=o?r:i,this.plotSizeY=o?i:r,this.plotBorderWidth=d.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:c[3],y:c[0],width:s-c[3]-c[1],height:l-c[0]-c[2]},this.plotBox=a.plotBox={x:e,y:n,width:i,height:r},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,u[3])/2),l=Math.ceil(Math.max(o,u[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(o,u[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,u[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),F(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){F(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(n){var i=e[n],r=W(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach((function(i,o){t[n][o]=V(e[n+i],r[o])}))})),$.forEach((function(e,n){t[e]=V(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,n=this.renderer,i=this.chartWidth,r=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,l=e.plotBackgroundColor,d=e.plotBackgroundImage,c=this.plotLeft,u=this.plotTop,h=this.plotWidth,p=this.plotHeight,f=this.plotBox,g=this.clipRect,m=this.clipBox,v=this.chartBackground,b=this.plotBackground,y=this.plotBorder,x="animate";if(v||(this.chartBackground=v=n.rect().addClass("highcharts-background").add(),x="attr"),o)var _=t=v.strokeWidth();else t=(_=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(_||v["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=_),v.attr(s).shadow(e.shadow);v[x]({x:t/2,y:t/2,width:i-t-_%2,height:r-t-_%2,r:e.borderRadius}),x="animate",b||(x="attr",this.plotBackground=b=n.rect().addClass("highcharts-plot-background").add()),b[x](f),o||(b.attr({fill:l||"none"}).shadow(e.plotShadow),d&&(a?(d!==a.attr("href")&&a.attr("href",d),a.animate(f)):this.plotBGImage=n.image(d,c,u,h,p).add())),g?g.animate({width:m.width,height:m.height}):this.clipRect=n.clipRect(m),x="animate",y||(x="attr",this.plotBorder=y=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[x](y.crisp({x:c,y:u,width:h,height:p},-y.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,n,i=this,r=i.options.chart,o=i.options.series;["inverted","angular","polar"].forEach((function(a){for(e=S[r.type||r.defaultSeriesType],n=r[a]||e&&e.prototype[a],t=o&&o.length;!n&&t--;)(e=S[o[t].type])&&e.prototype[a]&&(n=!0);i[a]=n}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var n=e.options.linkedTo;U(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=V(e.options.visible,n.options.visible,e.visible))})),F(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(n){var i=N(e.style,n.style),r=X(i.left)+t.plotLeft,o=X(i.top)+t.plotTop+12;delete i.left,delete i.top,t.renderer.text(n.html,r,o).attr({zIndex:2}).css(i).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,n=this.renderer,i=this.options,r=function(t){t.forEach((function(t){t.visible&&t.render()}))},o=0;this.setTitle(),this.legend=new a(this,i.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),i=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return o=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-o,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<i/this.plotWidth,d=1.05<s/this.plotHeight;(l||d)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&d)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(t):e&&e.length&&r(e),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},t.prototype.addCredits=function(t){var e=this,n=Y(!0,this.options.credits,t);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}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,n=e.axes,i=e.series,r=e.container,a=r&&r.parentNode;for(F(e,"destroy"),e.renderer.forExport?D(w,e):w[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),r&&(r.innerHTML=f.emptyHTML,K(r),a&&L(r)),G(e,(function(t,n){delete e[n]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(z(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),F(t,"beforeRender"),l&&(s.isRequired()?t.pointer=new s(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),F(this,"load"),F(this,"render"),T(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},t.prototype.warnIfA11yModuleNotLoaded=function(){var t=this.options,e=this.title;t&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"&lt;")}),t.accessibility&&!1===t.accessibility.enabled||I('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},t.prototype.addSeries=function(t,e,n){var i,r=this;return t&&(e=V(e,!0),F(r,"addSeries",{options:t},(function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(t.data,!1),F(r,"afterAddSeries",{series:i}),e&&r.redraw(n)}))),i},t.prototype.addAxis=function(t,e,n,i){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:i})},t.prototype.addColorAxis=function(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})},t.prototype.createAxis=function(t,n){return t=new e(this,Y(n.axis,{index:this[t].length,isX:"xAxis"===t})),V(n.redraw,!0)&&this.redraw(n.animation),t},t.prototype.showLoading=function(t){var e=this,n=e.options,i=n.loading,r=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=A("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=A("span",{className:"highcharts-loading-inner"},null,o),j(e,"redraw",r)),o.className="highcharts-loading",f.setElementHTML(a,V(t,n.lang.loading,"")),e.styledMode||(P(o,N(i.style,{zIndex:10})),P(a,i.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),g(o,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),e.loadingShown=!0,r()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,n,i){var r,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,d=[];F(a,"update",{options:t}),l||a.setResponsive(!1,!0),t=M(t,a.options),a.userOptions=Y(a.userOptions,t);var c=t.chart;if(c){if(Y(!0,a.options.chart,c),"className"in c&&a.setClassName(c.className),"reflow"in c&&a.setReflow(c.reflow),"inverted"in c||"polar"in c||"type"in c){a.propFromSeries();var u=!0}"alignTicks"in c&&(u=!0),"events"in c&&_(this,c),G(c,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(r=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(l?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&c.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===y&&(this.time=new h(t.time)),Y(!0,a.options.time,t.time)),G(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[s[n]]?a[s[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&Y(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(r=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var i=[];a[e].forEach((function(t,e){t.options.isInternal||i.push(V(t.options.index,e))})),Z(t[e]).forEach((function(t,r){var o,s=T(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][i?i[r]:r])&&s&&T(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),n&&(o.touched=!0)),!o&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:d.push(t)}))}})),d.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),u&&a.axes.forEach((function(t){t.update({},!1)})),r&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),u=c&&c.width,c=c&&(U(c.height)?q(c.height,u||a.chartWidth):c.height),o||H(u)&&u!==a.chartWidth||H(c)&&c!==a.chartHeight?a.setSize(u,c,i):V(e,!0)&&a.redraw(i),F(a,"afterUpdate",{options:t,redraw:e,animation:i})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,n=b.lang,i=e.options.chart.zooming.resetButton,r=i.theme,o="chart"===i.relativeTo||"spacingBox"===i.relativeTo?null:"scrollablePlotBox";F(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(n.resetZoom,null,null,t,r).attr({align:i.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i.position,!1,o)})),F(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){F(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,n=this,i=n.pointer,r=!1;!t||t.resetSelection?(n.axes.forEach((function(t){e=t.zoom()})),i.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var o=t.axis;(i[o.isXAxis?"zoomX":"zoomY"]&&T(i.mouseDownX)&&T(i.mouseDownY)&&n.isInsidePlot(i.mouseDownX-n.plotLeft,i.mouseDownY-n.plotTop,{axis:o})||!T(n.inverted?i.mouseDownX:i.mouseDownY))&&(e=o.zoom(t.min,t.max),o.displayBtn&&(r=!0))}));var o=n.resetZoomButton;r&&!o?n.showResetZoom():!r&&W(o)&&(n.resetZoomButton=o.destroy()),e&&n.redraw(V(n.options.chart.animation,t&&t.animation,100>n.pointCount))},t.prototype.pan=function(t,e){var n=this,i=n.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var r=n.options.chart;r&&r.panning&&(r.panning=e);var o,a=e.type;F(this,"pan",{originalEvent:t},(function(){i&&i.forEach((function(t){t.setState()}));var e=n.xAxis;"xy"===a?e=e.concat(n.yAxis):"y"===a&&(e=n.yAxis);var r={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var i=e.horiz,s=t[i?"chartX":"chartY"],l=n[i=i?"mouseDownX":"mouseDownY"],d=e.minPointOffset||0,c=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,u=e.getExtremes(),h=e.toValue(l-s,!0)+d*c,p=e.toValue(l+e.len-s,!0)-(d*c||e.isXAxis&&e.pointRangePadding||0),f=p<h;c=e.hasVerticalPanning(),l=f?p:h,h=f?h:p;var g=e.panningState;!c||e.isXAxis||g&&!g.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),g||(g={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),H(e.dataMin)&&H(e.dataMax)&&(g.startMin=Math.min(V(t.options.threshold,1/0),e.dataMin,g.startMin),g.startMax=Math.max(V(t.options.threshold,-1/0),e.dataMax,g.startMax))})),c=Math.min(V(g&&g.startMin,u.dataMin),d?u.min:e.toValue(e.toPixels(u.min)-e.minPixelPadding)),p=Math.max(V(g&&g.startMax,u.dataMax),d?u.max:e.toValue(e.toPixels(u.max)+e.minPixelPadding)),e.panningState=g,e.isOrdinal||(0<(d=c-l)&&(h+=d,l=c),0<(d=h-p)&&(h=p,l-=d),e.series.length&&l!==u.min&&h!==u.max&&l>=c&&h<=p&&(e.setExtremes(l,h,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==c&&h!==p&&a.match("y")&&(n.showResetZoom(),e.displayBtn=!1),o=!0),r[i]=s)}})),G(r,(function(t,e){n[e]=t})),o&&n.redraw(!1),P(n.container,{cursor:"move"})}))},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,i=t.merge,r=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.legendItem=this.legendItem||{},o=this.options,a=t.symbolWidth,s=t.symbolHeight,l=s/2,d=this.chart.renderer,c=e.group;t=t.baseline-Math.round(.3*t.fontMetrics.b);var u={},h=o.marker,p=0;this.chart.styledMode||(u={"stroke-width":Math.min(o.lineWidth||0,24)},o.dashStyle?u.dashstyle=o.dashStyle:"square"!==o.linecap&&(u["stroke-linecap"]="round")),e.line=d.path().addClass("highcharts-graph").attr(u).add(c),u["stroke-linecap"]&&(p=Math.min(e.line.strokeWidth(),a)/2),e.line.attr({d:[["M",p,t],["L",a-p,t]]}),h&&!1!==h.enabled&&a&&(o=Math.min(r(h.radius,l),l),0===this.symbol.indexOf("url")&&(h=i(h,{width:s,height:s}),o=0),e.symbol=e=d.symbol(this.symbol,a/2-o,t-o,2*o,2*o,n({context:"legend"},h)).addClass("highcharts-point").add(c),e.isMarker=!0)},t.drawRectangle=function(t,e){e=e.legendItem||{};var n=t.symbolHeight,i=t.options.squareSymbol;e.symbol=this.chart.renderer.rect(i?(t.symbolWidth-n)/2:0,t.baseline-n+1,i?n:t.symbolWidth,n,r(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.group)}}(e||(e={})),e})),e(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",borderWidth:0,defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.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(t,e,n,i,r,o,a,s,l,d){var c=t.animObject,u=t.setAnimation,h=e.defaultOptions,p=n.registerEventOptions,f=i.hasTouch,g=i.svg,m=i.win,v=s.seriesTypes,b=d.arrayMax,y=d.arrayMin,x=d.clamp,_=d.cleanRecursively,w=d.correctFloat,O=d.defined,$=d.erase,C=d.error,k=d.extend,S=d.find,j=d.fireEvent,E=d.getNestedProperty,M=d.isArray,A=d.isNumber,P=d.isString,T=d.merge,L=d.objectEach,D=d.pick,I=d.removeEvent,N=d.splat,R=d.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){j(this,"init",{options:e});var n=this,i=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),k(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var r,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),i.length&&(r=i[i.length-1]),n._i=D(r&&r._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(i)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),j(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(A(n)){for(e=t.length;e--;)if(n>=D(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return D(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,i=e.chart;j(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(r){var o=0;i[r].forEach((function(i){t=i.options,(n[r]===o&&!t.isInternal||void 0!==n[r]&&n[r]===t.id||void 0===n[r]&&0===t.index)&&(e.insert(i.series),e[r]=i,i.isDirty=!0),t.isInternal||o++})),e[r]||e.optionalAxis===r||C(18,!0,i)}))})),j(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,i=arguments,r=A(e)?function(i){var r="y"===i&&n.toYData?n.toYData(t):t[i];n[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(i,2))};n.parallelArrays.forEach(r)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,n=this.options,i=n.pointIntervalUnit,r=n.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=D(a,n.pointStart,0),this.pointInterval=e=D(this.pointInterval,n.pointInterval,1),r&&A(t)&&(e*=t),i&&(n=new o.Date(a),"day"===i?o.set("Date",n,o.get("Date",n)+e):"month"===i?o.set("Month",n,o.get("Month",n)+e):"year"===i&&o.set("FullYear",n,o.get("FullYear",n)+e),e=n.getTime()-a),r&&A(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;k(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),O(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,n=e.options,i=n.plotOptions,r=e.userOptions||{};t=T(t),e=e.styledMode;var o={plotOptions:i,userOptions:t};j(this,"setOptions",o);var a=o.plotOptions[this.type],s=r.plotOptions||{};return this.userOptions=o.userOptions,r=T(a,i.series,r.plotOptions&&r.plotOptions[this.type],t),this.tooltipOptions=T(h.tooltip,h.plotOptions.series&&h.plotOptions.series.tooltip,h.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,t.tooltip),this.stickyTracking=D(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===a.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,i=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(n={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},e||(n.color=r.negativeColor,n.fillColor=r.negativeFillColor),i.push(n)),i.length&&O(i[i.length-1].value)&&i.push(e?{}:{color:this.color,fillColor:this.fillColor}),j(this,"afterSetOptions",{options:r}),r},t.prototype.getName=function(){return D(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,n){var i=this.chart,r=this.userOptions,o=t+"Index",a=t+"Counter",s=n?n.length:D(i.options.chart[t+"Count"],i[t+"Count"]);if(!e){var l=D(r[o],r["_"+o]);O(l)||(i.series.length||(i[a]=0),r["_"+o]=l=i[a]%s,i[a]+=1),n&&(e=n[l])}void 0!==l&&(this[o]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var n,i,r=t.id,a=t.x,s=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof o&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?n=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(n=function(e){return!e.touched&&e.options.x===t.x}),!(n=S(s,n))))return;if(n){var d=n&&n.index;void 0!==d&&(i=!0)}return void 0===d&&A(a)&&(d=this.xData.indexOf(a,e)),-1!==d&&void 0!==d&&this.cropped&&(d=d>=this.cropStart?d-this.cropStart:d),!i&&A(d)&&s[d]&&s[d].touched&&(d=void 0),d},t.prototype.updateData=function(t,e){var n,i,r,o=this.options,a=o.dataSorting,s=this.points,l=[],d=this.requireSorting,c=t.length===s.length,u=!0;if(this.xIncrement=null,t.forEach((function(t,e){var i=O(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},u=i.x;i.id||A(u)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):s[i]&&t!==o.data[i]?(s[i].update(t,!1,null,!1),s[i].touched=!0,d&&(r=i+1)):s[i]&&(s[i].touched=!0),(!c||e!==i||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)}),this),n)for(t=s.length;t--;)(i=s[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!c||a&&a.enabled?u=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),l.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!u&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,i){void 0===e&&(e=!0);var r=this,o=r.points,a=o&&o.length||0,s=r.options,l=r.chart,d=s.dataSorting,c=r.xAxis,u=s.turboThreshold,h=this.xData,p=this.yData,f=r.pointArrayMap;f=f&&f.length;var g,m=s.keys,v=0,b=1,y=null;if(!l.options.chart.allowMutatingData){s.data&&delete r.options.data,r.userOptions.data&&delete r.userOptions.data;var x=T(!0,t)}if(x=(t=x||t||[]).length,d&&d.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==i&&x&&a&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.boosted&&(g=this.updateData(t,n)),!g){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(t){r[t+"Data"].length=0})),u&&x>u)if(y=r.getFirstValidPoint(t),A(y))for(n=0;n<x;n++)h[n]=this.autoIncrement(),p[n]=t[n];else if(M(y))if(f)if(y.length===f)for(n=0;n<x;n++)h[n]=this.autoIncrement(),p[n]=t[n];else for(n=0;n<x;n++)i=t[n],h[n]=i[0],p[n]=i.slice(1,f+1);else if(m&&(v=0<=(v=m.indexOf("x"))?v:0,b=0<=(b=m.indexOf("y"))?b:1),1===y.length&&(b=0),v===b)for(n=0;n<x;n++)h[n]=this.autoIncrement(),p[n]=t[n][b];else for(n=0;n<x;n++)i=t[n],h[n]=i[v],p[n]=i[b];else C(12,!1,l);else for(n=0;n<x;n++)void 0!==t[n]&&(i={series:r},r.pointClass.prototype.applyOptions.apply(i,[t[n]]),r.updateParallelArrays(i,n));for(p&&P(p[0])&&C(14,!0,l),r.data=[],r.options.data=r.userOptions.data=t,n=a;n--;)o[n]&&o[n].destroy&&o[n].destroy();c&&(c.minRange=c.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!o,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(n)},t.prototype.sortData=function(t){var e=this,n=e.options.dataSorting.sortKey||"y",i=function(t,e){return O(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,r){t[r]=i(e,n),t[r].index=r}),this),t.concat().sort((function(t,e){return t=E(n,t),(e=E(n,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach((function(n,o){r[o]=i(e,n),t[o]&&(r[o].x=t[o].x,r[o].index=o)})),e.setData(r,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,i=n.cropThreshold,r=t||this.getExtremesFromAll||n.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,d=this.requireSorting,c=!1,u=s.length;if(e){var h=(c=e.getExtremes()).min,p=c.max;c=!(!e.categories||e.names.length)}if(o&&this.sorted&&!r&&(!i||u>i||this.forceCrop))if(s[u-1]<h||s[0]>p)s=[],l=[];else if(this.yData&&(s[0]<h||s[u-1]>p)){var f=this.cropData(this.xData,this.yData,h,p);s=f.xData,l=f.yData,a=f.start,f=!0}for(i=s.length||1;--i;)if(0<(e=n?t(s[i])-t(s[i-1]):s[i]-s[i-1])&&(void 0===g||e<g))var g=e;else 0>e&&d&&!c&&(C(15,!1,this.chart),d=!1);return{xData:s,yData:l,cropped:f,cropStart:a,closestPointRange:g}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,j(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,i,r){var o,a=t.length,s=0,l=a;for(r=D(r,this.cropShoulder),o=0;o<a;o++)if(t[o]>=n){s=Math.max(0,o-r);break}for(n=o;n<a;n++)if(t[n]>i){l=n+r;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=this.processedData||t.data,n=this.processedXData,i=this.processedYData,r=this.pointClass,o=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,d=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var c,u,h=this.data;if(!h&&!s){var p=[];p.length=e.length,h=this.data=p}for(l&&s&&(this.options.keys=!1),u=0;u<o;u++){if(p=a+u,s){var f=(new r).init(this,[n[u]].concat(N(i[u])));f.dataGroup=this.groupMap[t+u],f.dataGroup.options&&(f.options=f.dataGroup.options,k(f,f.dataGroup.options),delete f.dataLabels)}else(f=h[p])||void 0===e[p]||(h[p]=f=(new r).init(this,e[p],n[u]));f&&(f.index=s?t+u:p,d[u]=f)}if(this.options.keys=l,h&&(o!==(c=h.length)||s))for(u=0;u<c;u++)u!==a||s||(u+=o),h[u]&&(h[u].destroyElements(),h[u].plotX=void 0);this.data=h,this.points=d,j(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:y(t),max:b(t)}},t.prototype.getExtremes=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;i=!!i&&i.positiveValuesOnly;var s,l=0,d=0,c=0,u=(t=t||this.stackedYData||this.processedYData||[]).length;if(n){var h=n.getExtremes();l=h.min,d=h.max}for(s=0;s<u;s++){var p=r[s];h=t[s];var f=(A(h)||M(h))&&(h.length||0<h||!i);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[s+a]||p)>=l&&(r[s-a]||p)<=d,f&&p)if(f=h.length)for(;f--;)A(h[f])&&(o[c++]=h[f]);else o[c++]=h}return t={activeYData:o,dataMin:y(o),dataMax:b(o)},j(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,i=null;null===i&&n<e;)i=t[n],n++;return i},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n=this.options,i=n.stacking,r=this.xAxis,o=r.categories,a=this.enabledDataSorting,s=this.yAxis,l=this.points,d=l.length,c=this.pointPlacementToXValue(),u=!!c,h=n.threshold,p=n.startFromThreshold?h:0,f=this.zoneAxis||"y",g=Number.MAX_VALUE;for(t=0;t<d;t++){var m=l[t],v=m.x,b=void 0,y=void 0,_=m.y,$=m.low,C=i&&s.stacking&&s.stacking.stacks[(this.negStacks&&_<(p?0:h)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(_)||r.positiveValuesOnly&&!r.validatePositiveValue(v))&&(m.isNull=!0),m.plotX=e=w(x(r.translate(v,0,0,0,1,c,"flags"===this.type),-1e5,1e5)),i&&this.visible&&C&&C[v]){var k=this.getStackIndicator(k,v,this.index);!m.isNull&&k.key&&(y=(b=C[v]).points[k.key]),b&&M(y)&&($=y[0],_=y[1],$===p&&k.key===C[v].base&&($=D(A(h)?h:s.min)),s.positiveValuesOnly&&O($)&&0>=$&&($=void 0),m.total=m.stackTotal=D(b.total),m.percentage=O(m.y)&&b.total?m.y/b.total*100:void 0,m.stackY=_,this.irregularWidths||b.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))}if(m.yBottom=O($)?x(s.translate($,0,1,0,1),-1e5,1e5):void 0,this.dataModify&&(_=this.dataModify.modifyValue(_,t)),m.plotY=void 0,A(_)&&(void 0!==(b=s.translate(_,!1,!0,!1,!0))&&(m.plotY=x(b,-1e5,1e5))),m.isInside=this.isPointInside(m),m.clientX=u?w(r.translate(v,0,0,0,1,c)):e,m.negative=m[f]<(n[f+"Threshold"]||h||0),m.category=D(o&&o[m.x],m.x),!m.isNull&&!1!==m.visible){void 0!==S&&(g=Math.min(g,Math.abs(e-S)));var S=e}m.zone=this.zones.length?m.getZone():void 0,!m.graphic&&this.group&&a&&(m.isNew=!0)}this.closestPointRangePx=g,j(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var i=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!i.isInsidePlot(t.plotX,t.plotY,{inverted:i.inverted}))&&(!1!==t.visible&&(n||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,i=T(t.clipBox);return e&&e.len!==t.plotSizeX&&(i.width=e.len),n&&n.len!==t.plotSizeY&&(i.height=n.len),i},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,i=t.sharedClips;t=t.renderer;var r=this.getClipBox(),o=this.getSharedClipKey(),a=i[o];a?a.animate(r):i[o]=a=t.clipRect(r),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,i=this.markerGroup,r=e.inverted,o=c(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,r&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,l=e.renderer.clipRect({x:-99,y:-99,width:r?e.plotWidth+199:99,height:r?99:e.plotHeight+199}),e.sharedClips[a+"m"]=l),n.clip(s),i&&i.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var d=o.step;i&&i.element.childNodes.length&&(o.step=function(t,e){d&&d.apply(e,arguments),"width"===e.prop&&l&&l.element&&l.attr(r?"height":"width",t+99)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,n,i){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete i[n])})),this.finishedAnimating=!0,j(this,"afterAnimate")},t.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,n,i=this.chart,r=i.styledMode,o=this.colorAxis,a=this.options.marker,s=this[this.specialGroup||"markerGroup"],l=this.xAxis,d=D(a.enabled,!(l&&!l.isRadial)||null,this.closestPointRangePx>=a.enabledThreshold*a.radius);if(!1!==a.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++){var c=t[e],u=(n=c.graphic)?"animate":"attr",h=c.marker||{},p=!!c.marker;if((d&&void 0===h.enabled||h.enabled)&&!c.isNull&&!1!==c.visible){var f=D(h.symbol,this.symbol,"rect"),g=this.markerAttribs(c,c.selected&&"select");this.enabledDataSorting&&(c.startXPos=l.reversed?-(g.width||0):l.width);var m=!1!==c.isInside;!n&&m&&(0<(g.width||0)||c.hasImage)&&(c.graphic=n=i.renderer.symbol(f,g.x,g.y,g.width,g.height,p?h:a).add(s),this.enabledDataSorting&&i.hasRendered&&(n.attr({x:c.startXPos}),u="animate")),n&&"animate"===u&&n[m?"show":"hide"](m).animate(g),n&&(h=this.pointAttribs(c,r||!c.selected?void 0:"select"),r?o&&n.css({fill:h.fill}):n[u](h)),n&&n.addClass(c.getClassName(),!0)}else n&&(c.graphic=n.destroy())}},t.prototype.markerAttribs=function(t,e){var n=this.options,i=n.marker,r=t.marker||{},o=r.symbol||i.symbol,a={},s=D(r.radius,i&&i.radius);return e&&(i=i.states[e],e=r.states&&r.states[e],s=D(e&&e.radius,i&&i.radius,s&&s+(i&&i.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(s=0),t=t.pos(),A(s)&&t&&(a.x=t[0]-s,a.y=t[1]-s,n.crisp&&(a.x=Math.floor(a.x))),s&&(a.width=a.height=2*s),a},t.prototype.pointAttribs=function(t,e){var n=this.options.marker,i=t&&t.options,r=i&&i.marker||{},o=i&&i.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,l=this.color;return t=D(r.lineWidth,n.lineWidth),i=1,l=o||s||a||l,o=r.fillColor||n.fillColor||l,a=r.lineColor||n.lineColor||l,e=e||"normal",n=n.states[e]||{},e=r.states&&r.states[e]||{},t=D(e.lineWidth,n.lineWidth,t+D(e.lineWidthPlus,n.lineWidthPlus,0)),o=e.fillColor||n.fillColor||o,{stroke:a=e.lineColor||n.lineColor||a,"stroke-width":t,fill:o,opacity:i=D(e.opacity,n.opacity,i)}},t.prototype.destroy=function(t){var e,n,i,r=this,o=r.chart,a=/AppleWebKit\/533/.test(m.navigator.userAgent),s=r.data||[];for(j(r,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(r.axisTypes||[]).forEach((function(t){(i=r[t])&&i.series&&($(i.series,r),i.isDirty=i.forceRedraw=!0)})),r.legendItem&&r.chart.legend.destroyItem(r),e=s.length;e--;)(n=s[e])&&n.destroy&&n.destroy();r.clips&&r.clips.forEach((function(t){return t.destroy()})),d.clearTimeout(r.animationTimeout),L(r,(function(t,e){t instanceof l&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===r&&(o.hoverSeries=void 0),$(o.series,r),o.orderSeries(),L(r,(function(e,n){t&&"hcEvents"===n||delete r[n]}))},t.prototype.applyZones=function(){var t,e,n,i,r,o,a,s,l=this,d=this.chart,c=d.renderer,u=this.zones,h=this.clips||[],p=this.graph,f=this.area,g=Math.max(d.plotWidth,d.plotHeight),m=this[(this.zoneAxis||"y")+"Axis"],v=d.inverted,b=!1;if(u.length&&(p||f)&&m&&void 0!==m.min){var y=m.reversed,_=m.horiz;p&&!this.showLine&&p.hide(),f&&f.hide();var w=m.getExtremes();u.forEach((function(u,O){t=y?_?d.plotWidth:0:_?0:m.toPixels(w.min)||0,t=x(D(e,t),0,g),e=x(Math.round(m.toPixels(D(u.value,w.max),!0)||0),0,g),b&&(t=e=m.toPixels(w.max)),i=Math.abs(t-e),r=Math.min(t,e),o=Math.max(t,e),m.isXAxis?(n={x:v?o:r,y:0,width:i,height:g},_||(n.x=d.plotHeight-n.x)):(n={x:0,y:v?o:r,width:g,height:i},_&&(n.y=d.plotWidth-n.y)),v&&c.isVML&&(n=m.isXAxis?{x:0,y:y?r:o,height:n.width,width:d.chartWidth}:{x:n.y-d.plotLeft-d.spacingBox.x,y:0,width:n.height,height:d.chartHeight}),h[O]?h[O].animate(n):h[O]=c.clipRect(n),a=l["zone-area-"+O],s=l["zone-graph-"+O],p&&s&&s.clip(h[O]),f&&a&&a.clip(h[O]),b=u.value>w.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=h}else l.visible&&(p&&p.show(),f&&f.show())},t.prototype.plotGroup=function(t,e,n,i,r){var o=this[t],a=!o;return n={visibility:n,zIndex:i||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(O(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox(e)),o},t.prototype.getPlotBox=function(t){var e=this.xAxis,n=this.yAxis,i=this.chart;return t=i.inverted&&!i.polar&&e&&!1!==this.invertible&&"series"===t,i.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:i.plotLeft,translateY:n?n.top:i.plotTop,rotation:t?90:0,rotationOriginX:t?(e.len-n.len)/2:0,rotationOriginY:t?(e.len+n.len)/2:0,scaleX:t?-1:1,scaleY:1}},t.prototype.removeEvents=function(t){t||I(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,i=c(n.animation),r=t.visible?"inherit":"hidden",o=n.zIndex,a=t.hasRendered,s=e.seriesGroup;e=!t.finishedAnimating&&e.renderer.isSVG?i.duration:0,j(this,"render"),t.plotGroup("group","series",r,o,s),t.markerGroup=t.plotGroup("markerGroup","markers",r,o,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.animate&&e&&t.animate(),a||(e&&i.defer&&(e+=i.defer),t.animationTimeout=R((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,j(t,"afterRender")},t.prototype.redraw=function(){var t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,n=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,R((function(){e.kdTree=function t(n,i,r){var o=n&&n.length;if(o){var a=e.kdAxisArray[i%r];return n.sort((function(t,e){return t[a]-e[a]})),{point:n[o=Math.floor(o/2)],left:t(n.slice(0,o),i+1,r),right:t(n.slice(o+1),i+1,r)}}}(e.getValidPoints(null,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,n){var i=this,r=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<i.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,s,l){var d=n.point,c=i.kdAxisArray[s%l],u=d,h=O(e[r])&&O(d[r])?Math.pow(e[r]-d[r],2):null,p=O(e[o])&&O(d[o])?Math.pow(e[o]-d[o],2):null;return p=(h||0)+(p||0),d.dist=O(p)?Math.sqrt(p):Number.MAX_VALUE,d.distX=O(h)?Math.sqrt(h):Number.MAX_VALUE,h=0>(c=e[c]-d[c])?"right":"left",n[p=0>c?"left":"right"]&&(u=(p=t(e,n[p],s+1,l))[a]<u[a]?p:d),n[h]&&Math.sqrt(c*c)<u[a]&&(u=(e=t(e,n[h],s+1,l))[a]<u[a]?e:u),u}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,n=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=n.reversed?-.5:.5),A(t)?t*(e||n.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,n=this.xAxis,i=this.yAxis;return void 0!==t.plotY&&void 0!==t.plotX&&0<=t.plotY&&t.plotY<=(i?i.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(n?n.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,n=e.trackByArea,i=[].concat(n?t.areaPath:t.graphPath),r=t.chart,o=r.pointer,a=r.renderer,s=r.options.tooltip.snap,l=t.tracker,d=function(e){r.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(g?1e-4:.002)+")";l?l.attr({d:i}):t.graph&&(t.tracker=a.path(i).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),r.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:n?c:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",d).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!r.styledMode&&t.css({cursor:e.cursor}),f)&&t.on("touchstart",d)}))),j(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,n,i,r){var o=this.options,a=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var d,c=o.data,u=this.xData;e=D(e,!0);var h={series:this};this.pointClass.prototype.applyOptions.apply(h,[t]);var p=h.x,f=u.length;if(this.requireSorting&&p<u[f-1])for(d=!0;f&&u[f-1]>p;)f--;this.updateParallelArrays(h,"splice",f,0,0),this.updateParallelArrays(h,f),l&&h.name&&(l[p]=h.name),c.splice(f,0,t),(d||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(h,"shift"),c.shift())),!1!==r&&j(this,"addPoint",{point:h}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(i)},t.prototype.removePoint=function(t,e,n){var i=this,r=i.data,o=r[t],a=i.points,s=i.chart,l=function(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",t,1),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&s.redraw()};u(n,s),e=D(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,i){function r(){o.destroy(i),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),D(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==n?j(o,"remove",null,r):r()},t.prototype.update=function(t,e){t=_(t,this.userOptions),j(this,"update",{options:t});var n=this,i=n.chart,r=n.userOptions,o=n.initialType||n.type,a=i.options.plotOptions,s=v[o].prototype,l=n.finishedAnimating&&{animation:!1},d={},c=["eventOptions","navigatorSeries","baseSeries"],u=t.type||r.type||i.options.chart.type,h=!(this.hasDerivedData||u&&u!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(u=u||o,h&&(c.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&c.push("area","graph"),n.parallelArrays.forEach((function(t){c.push(t+"Data")})),t.data&&(t.dataSorting&&k(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=T(r,l,{index:void 0===r.index?n.index:r.index,pointStart:D(a&&a.series&&a.series.pointStart,r.pointStart,n.xData[0])},!h&&{data:n.options.data},t),h&&t.data&&(t.data=n.options.data),(c=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(c)).forEach((function(t){c[t]=n[t],delete n[t]})),a=!1,v[u]){if(a=u!==n.type,n.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[u].prototype);else{for(p in l=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,s)n[p]=void 0;k(n,v[u].prototype),l?n.hcEvents=l:delete n.hcEvents}}else C(17,!0,i,{missingModuleFor:u});if(c.forEach((function(t){n[t]=c[t]})),n.init(i,t),h&&this.points){if(!1===(t=n.options).visible)d.graphic=1,d.dataLabel=1;else if(!n._hasPointLabels){s=t.marker;var p=t.dataLabels;r=r.marker||{},!s||!1!==s.enabled&&r.symbol===s.symbol&&r.height===s.height&&r.width===s.width||(d.graphic=1),p&&!1===p.enabled&&(d.dataLabel=1)}for(r=0,s=this.points;r<s.length;r++)(p=s[r])&&p.series&&(p.resolveColor(),Object.keys(d).length&&p.destroyElements(d),!1===t.showInLegend&&p.legendItem&&i.legend.destroyItem(p))}n.initialType=o,i.linkSeries(),a&&n.linkedSeries.length&&(n.isDirtyData=!0),j(this,"afterUpdate"),D(e,!0)&&i.redraw(!!h&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],n=this.chart.options.plotOptions,i=this.userOptions[t];return i?e!==i:e!==D(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&j(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&j(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var n=this,i=n.options,r=n.graph,o=i.inactiveOtherPoints,a=i.states,s=D(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,d=0,c=i.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(l=a[t].lineWidth||l+(a[t].lineWidthPlus||0),c=D(a[t].opacity,c)),r&&!r.dashstyle&&A(l))for(i={"stroke-width":l},r.animate(i,s);n["zone-graph-"+d];)n["zone-graph-"+d].animate(i,s),d+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},s)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var n=this,i=n.chart,r=i.options.chart.ignoreHiddenSeries,o=n.visible,a=(n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!o:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){n[t]&&n[t][a]()})),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),n.legendItem&&i.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&i.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),r&&(i.isDirtyBox=!0),j(n,a),!1!==e&&i.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),j(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)},t.defaultOptions=a,t.types=s.seriesTypes,t.registerType=s.registerSeriesType,t}(),k(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(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(t,e,n,i,r,o){var a=t.stop,s=o.addEvent,l=o.createElement,d=o.defined,c=o.merge,u=o.pick;s(n,"afterSetChartSize",(function(t){var n=this.options.chart.scrollablePlotArea,i=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var r={1:{name:"right",value:i}}}}else n&&(this.scrollablePixelsY=i=Math.max(0,n-this.chartHeight),d(i)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,r={2:{name:"bottom",value:i}}));r&&!t.skipAxes&&this.axes.forEach((function(t){r[t.side]?t.getPlotLinePath=function(){var n=r[t.side].name,i=this[n];this[n]=i-r[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[n]=i,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var t,e=this,n={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(n.overflowX="auto"),this.scrollablePixelsY&&(n.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},n,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){e.pointer&&(delete e.pointer.chartPosition,e.hoverPoint&&(t=e.hoverPoint),e.pointer.runPointActions(void 0,t,!0))})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,i=".highcharts-breadcrumbs-group .highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&i.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),i.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,n=e.scrollablePlotArea,i=r.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new i(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.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,"afterApplyDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),i=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=i+"px",this.renderer.boxWrapper.attr({width:e,height:i,viewBox:[0,0,e,i].join(" ")}),this.chartBackground.attr({width:e,height:i}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),i=this.axisOffset,t=this.plotTop-i[0]-1,n=this.plotLeft-i[3]-1,e=this.plotTop+this.plotHeight+i[2]+1,i=this.plotLeft+this.plotWidth+i[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),d=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",i,this.plotTop-1],["L",i,0],["Z"],["M",n,d],["L",n,this.chartHeight],["L",i,this.chartHeight],["L",i,d],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(i,"show",(function(){this.chart.scrollableDirty=!0}))})),e(n,"Core/Axis/Stacking/StackItem.js",[n["Core/FormatUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=t.format,r=e.series,o=n.destroyObjectProperties,a=n.pick,s=n.isNumber;return t=function(){function t(t,e,n,i,r){var o=t.chart.inverted,a=t.reversed;this.axis=t,t=this.isNegative=!!n!=!!a,this.options=e=e||{},this.x=i,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?t?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":t?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?t?"right":"left":"center")}return t.prototype.destroy=function(){o(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,n=this.options,r=n.format;r=r?i(r,this,e):n.formatter.call(this),this.label?this.label.attr({text:r,visibility:"hidden"}):(this.label=e.renderer.label(r,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels"),r={r:n.borderRadius||0,text:r,padding:a(n.padding,5),visibility:"hidden"},e.styledMode||(r.fill=n.backgroundColor,r.stroke=n.borderColor,r["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(r),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,n,i,o,l){var d=this.alignOptions,c=this.axis,u=this.label,h=this.options,p=this.textAlign,f=c.chart;t=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:i,defaultX:o,xAxis:l}),o=d.verticalAlign,u&&t&&(e=u.getBBox(),n=u.padding,i="justify"===a(h.overflow,"justify"),d.x=h.x||0,d.y=h.y||0,p=(o=this.adjustStackPosition({labelBox:e,verticalAlign:o,textAlign:p})).x,o=o.y,t.x-=p,t.y-=o,u.align(d,!1,t),(p=f.isInsidePlot(u.alignAttr.x+d.x+p,u.alignAttr.y+d.y+o))||(i=!1),i&&r.prototype.justifyDataLabel.call(c,u,d,u.alignAttr,e,t),u.attr({x:u.alignAttr.x,y:u.alignAttr.y,rotation:h.rotation,rotationOriginX:e.width/2,rotationOriginY:e.height/2}),a(!i&&h.crop,!0)&&(p=s(u.x)&&s(u.y)&&f.isInsidePlot(u.x-n+u.width,u.y)&&f.isInsidePlot(u.x+n,u.y)),u[p?"show":"hide"]())},t.prototype.adjustStackPosition=function(t){var e=t.labelBox,n={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:e.width/2+e.width/2*n[t.textAlign],y:e.height/2*n[t.verticalAlign]}},t.prototype.getStackBox=function(t){var e=this.axis,n=e.chart,i=t.boxTop,r=t.defaultX,o=t.xOffset,s=t.width,l=t.boxBottom;return i=e.stacking.usePercentage?100:a(i,this.total,0),i=e.toPixels(i),t=a(r,(t.xAxis||n.xAxis[0]).toPixels(this.x))+o,e=e.toPixels(l||0),e=Math.abs(i-e),l=this.isNegative,n.inverted?{x:(l?i:i-e)-n.plotLeft,y:t-n.plotTop,width:e,height:s}:{x:t-n.plotLeft,y:(l?i-e:i)-n.plotTop,width:s,height:e}},t}()})),e(n,"Core/Axis/Stacking/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r){function o(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(n){var i=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==t.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,$(n.options.stack,""),e?i.top:i.left,e?i.height:i.width].join())}))}function a(){var t=this.stacking;if(t){var e=t.stacks;O(e,(function(t,n){y(t),e[n]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function s(){"yAxis"!==this.coll||this.stacking||(this.stacking=new C(this))}function l(t,e,n,i){return!b(t)||t.x!==e||i&&t.stackKey!==i?t={x:e,index:0,key:i,stackKey:i}:t.index++,t.key=[n,e,t.index].join(),t}function d(){var t,e=this,n=e.stackKey,i=e.yAxis.stacking.stacks,r=e.processedXData,o=e[e.options.stacking+"Stacker"];o&&[n,"-"+n].forEach((function(n){for(var a,s,l=r.length;l--;)a=r[l],t=e.getStackIndicator(t,a,e.index,n),(s=(a=i[n]&&i[n][a])&&a.points[t.key])&&o.call(e,s,a,l)}))}function c(t,e,n){e=e.total?100/e.total:0,t[0]=v(t[0]*e),t[1]=v(t[1]*e),this.stackedYData[n]=t[1]}function u(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?g.setStackedPoints.call(this,"group"):t&&O(t.stacks,(function(e,n){"group"===n.slice(-5)&&(O(e,(function(t){return t.destroy()})),delete t.stacks[n])}))}function h(t){var e=this.chart,n=t||this.options.stacking;if(n&&(!0===this.visible||!1===e.options.chart.ignoreHiddenSeries)){var r=this.processedXData,o=this.processedYData,a=[],s=o.length,l=this.options,d=l.threshold,c=$(l.startFromThreshold&&d,0);l=l.stack;var u,h,p="-"+(t=t?""+this.type+",".concat(n):this.stackKey),f=this.negStacks,g=(e="group"===n?e.yAxis[0]:this.yAxis).stacking.stacks,m=e.stacking.oldStacks;for(e.stacking.stacksTouched+=1,h=0;h<s;h++){var y=r[h],x=o[h],w=this.getStackIndicator(w,y,this.index),O=w.key,C=(u=f&&x<(c?0:d))?p:t;g[C]||(g[C]={}),g[C][y]||(m[C]&&m[C][y]?(g[C][y]=m[C][y],g[C][y].total=null):g[C][y]=new i(e,e.options.stackLabels,!!u,y,l)),C=g[C][y],null!==x?(C.points[O]=C.points[this.index]=[$(C.cumulative,c)],b(C.cumulative)||(C.base=O),C.touched=e.stacking.stacksTouched,0<w.index&&!1===this.singleStacks&&(C.points[O][0]=C.points[this.index+","+y+",0"][0])):C.points[O]=C.points[this.index]=null,"percent"===n?(u=u?t:p,f&&g[u]&&g[u][y]?(u=g[u][y],C.total=u.total=Math.max(u.total,C.total)+Math.abs(x)||0):C.total=v(C.total+(Math.abs(x)||0))):"group"===n?(_(x)&&(x=x[0]),null!==x&&(C.total=(C.total||0)+1)):C.total=v(C.total+(x||0)),C.cumulative="group"===n?(C.total||1)-1:$(C.cumulative,c)+(x||0),null!==x&&(C.points[O].push(C.cumulative),a[h]=C.cumulative,C.hasValidPoints=!0)}"percent"===n&&(e.stacking.usePercentage=!0),"group"!==n&&(this.stackedYData=a),e.stacking.oldStacks={}}}var p,f=t.getDeferredAnimation,g=n.series.prototype,m=r.addEvent,v=r.correctFloat,b=r.defined,y=r.destroyObjectProperties,x=r.fireEvent,_=r.isArray,w=r.isNumber,O=r.objectEach,$=r.pick,C=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,i=e.options.reversedStacks,r=n.length;for(this.usePercentage=!1,t=r;t--;){var o=n[i?t:r-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<r;t++)n[t].modifyStacks();x(e,"afterBuildStacks")},t.prototype.cleanStacks=function(){if(this.oldStacks)var t=this.stacks=this.oldStacks;O(t,(function(t){O(t,(function(t){t.cumulative=t.total}))}))},t.prototype.resetStacks=function(){var t=this;O(this.stacks,(function(e){O(e,(function(n,i){w(n.touched)&&n.touched<t.stacksTouched?(n.destroy(),delete e[i]):(n.total=null,n.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,n=e.renderer,i=this.stacks;t=f(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var r=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({zIndex:6,opacity:0}).add();r.translate(e.plotLeft,e.plotTop),O(i,(function(t){O(t,(function(t){t.render(r)}))})),r.animate({opacity:1},t)},t}();return function(t){var e=[];t.compose=function(t,n,i){-1===e.indexOf(t)&&(e.push(t),m(t,"init",s),m(t,"destroy",a)),-1===e.indexOf(n)&&(e.push(n),n.prototype.getStacks=o),-1===e.indexOf(i)&&(e.push(i),(t=i.prototype).getStackIndicator=l,t.modifyStacks=d,t.percentStacker=c,t.setGroupedPoints=u,t.setStackedPoints=h)}}(p||(p={})),p})),e(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.defined,o=n.merge;return n=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 i(n,e),n.prototype.drawGraph=function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode,r=[["graph","highcharts-graph"]];i||r[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(r=t.getZonesGraphs(r)).forEach((function(r,o){var a=r[0],s=t[a],l=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(t[a]=s=t.chart.renderer.path(n).addClass(r[1]).attr({zIndex:1}).add(t.group)),s&&!i&&(a={stroke:r[2],"stroke-width":e.lineWidth||0,fill:t.fillGraph&&t.color||"none"},r[3]?a.dashstyle=r[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[l](a).shadow(2>o&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,n){var i,o=this,a=o.options,s=[],l=[],d=a.step,c=(t=t||o.points).reversed;return c&&t.reverse(),(d={right:1,center:2}[d]||d&&3)&&c&&(d=4-d),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(c,u){var h=c.plotX,p=c.plotY,f=t[u-1];(c.leftCliff||f&&f.rightCliff)&&!n&&(i=!0),c.isNull&&!r(e)&&0<u?i=!a.connectNulls:c.isNull&&!e?i=!0:(0===u||i?u=[["M",c.plotX,c.plotY]]:o.getPointSpline?u=[o.getPointSpline(t,c,u)]:d?(u=1===d?[["L",f.plotX,p]]:2===d?[["L",(f.plotX+h)/2,f.plotY],["L",(f.plotX+h)/2,p]]:[["L",h,f.plotY]]).push(["L",h,p]):u=[["L",h,p]],l.push(c.x),d&&(l.push(c.x),2===d&&l.push(c.x)),s.push.apply(s,u),i=!1)})),s.xMap=l,o.graphPath=s},n.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)}),this),t},n.defaultOptions=o(t.defaultOptions,{}),n}(t),e.registerSeriesType("line",n),n})),e(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(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=t.parse,a=n.seriesTypes.line;t=i.extend;var s=i.merge,l=i.objectEach,d=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,n=this.areaPath,i=this.options,r=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach((function(t,n){r.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+t.className,t.color||e.color,t.fillColor||i.fillColor])})),r.forEach((function(t){var r=t[0],a={},s=e[r],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):(a.zIndex=0,(s=e[r]=e.chart.renderer.path(n).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(a.fill=d(t[3],o(t[2]).setOpacity(d(i.fillOpacity,.75)).get())),s[l](a),s.startX=n.xMap,s.shiftUnit=i.step?2:1}))},e.prototype.getGraphPath=function(t){var e=a.prototype.getGraphPath,n=this.options,i=n.stacking,r=this.yAxis,o=[],s=[],l=this.index,c=r.stacking.stacks[this.stackKey],u=n.threshold,h=Math.round(r.getThreshold(n.threshold));n=d(n.connectNulls,"percent"===i);var p=function(e,n,a){var d=t[e];e=i&&c[d.x].points[l];var p=d[a+"Null"]||0;if(a=d[a+"Cliff"]||0,d=!0,a||p){var f=(p?e[0]:e[1])+a,g=e[0]+a;d=!!p}else!i&&t[n]&&t[n].isNull&&(f=g=u);void 0!==f&&(s.push({plotX:v,plotY:null===f?h:r.getThreshold(f),isNull:d,isCliff:!0}),o.push({plotX:v,plotY:null===g?h:r.getThreshold(g),doCurve:!1}))};t=t||this.points,i&&(t=this.getStackPoints(t));for(var f=0,g=t.length;f<g;++f){i||(t[f].leftCliff=t[f].rightCliff=t[f].leftNull=t[f].rightNull=void 0);var m=t[f].isNull,v=d(t[f].rectPlotX,t[f].plotX),b=i?d(t[f].yBottom,h):h;m&&!n||(n||p(f,f-1,"left"),m&&!i&&n||(s.push(t[f]),o.push({x:f,plotX:v,plotY:b})),n||p(f,f+1,"right"))}return p=e.call(this,s,!0,!0),o.reversed=!0,(b=(m=e.call(this,o,!0,!0))[0])&&"M"===b[0]&&(m[0]=["L",b[1],b[2]]),(m=p.concat(m)).length&&m.push(["Z"]),e=e.call(this,s,!1,n),m.xMap=p.xMap,this.areaPath=m,e},e.prototype.getStackPoints=function(t){var e=this,n=[],i=[],r=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},c=o.series,u=c.length,h=o.options.reversedStacks?1:-1,p=c.indexOf(e);if(t=t||this.points,this.options.stacking){for(var f=0;f<t.length;f++)t[f].leftNull=t[f].rightNull=void 0,s[t[f].x]=t[f];l(a,(function(t,e){null!==t.total&&i.push(e)})),i.sort((function(t,e){return t-e}));var g=c.map((function(t){return t.visible}));i.forEach((function(t,l){var f,m,v=0;if(s[t]&&!s[t].isNull)n.push(s[t]),[-1,1].forEach((function(n){var r=1===n?"rightNull":"leftNull",o=a[i[l+n]],d=0;if(o)for(var v=p;0<=v&&v<u;){var b=c[v].index;(f=o.points[b])||(b===e.index?s[t][r]=!0:g[v]&&(m=a[t].points[b])&&(d-=m[1]-m[0])),v+=h}s[t][1===n?"rightCliff":"leftCliff"]=d}));else{for(var b=p;0<=b&&b<u;){if(f=a[t].points[c[b].index]){v=f[1];break}b+=h}v=d(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:r.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return n},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(i.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("area",i),i})),e(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes.line,r=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointSpline=function(t,e,n){var i=e.plotX||0,r=e.plotY||0,a=t[n-1];if(n=t[n+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!e.isCliff){t=a.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,d=(1.5*i+(a.plotX||0))/2.5,c=(1.5*r+t)/2.5,u=(1.5*r+n)/2.5;(s=(1.5*i+s)/2.5)!==d&&(l=(u-c)*(s-i)/(s-d)+r-u),u+=l,(c+=l)>t&&c>r?u=2*r-(c=Math.max(t,r)):c<t&&c<r&&(u=2*r-(c=Math.min(t,r))),u>n&&u>r?c=2*r-(u=Math.max(n,r)):u<n&&u<r&&(c=2*r-(u=Math.min(n,r))),e.rightContX=s,e.rightContY=u}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(d,i,0),o(c,r,0),i,r],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=r(i.defaultOptions),e}(i),t.registerSeriesType("spline",e),e})),e(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=n.seriesTypes,a=o.area;o=o.area.prototype;var s=i.extend,l=i.merge;return s((i=function(e){function n(){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(n,e),n.defaultOptions=l(t.defaultOptions,a.defaultOptions),n}(t)).prototype,{getGraphPath:o.getGraphPath,getStackPoints:o.getStackPoints,drawGraph:o.drawGraph,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("areaspline",i),i})),e(n,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),e(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Series/Column/ColumnSeriesDefaults.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(t,e,n,i,r,o,a,s){var l=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=t.animObject,c=e.parse,u=i.hasTouch;t=i.noop;var h=s.clamp,p=s.defined,f=s.extend,g=s.fireEvent,m=s.isArray,v=s.isNumber,b=s.merge,y=s.pick,x=s.objectEach;return s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return l(e,t),e.prototype.animate=function(t){var e=this,n=this.yAxis,i=e.options,r=this.chart.inverted,o={},a=r?"translateX":"translateY";if(t)o.scaleY=.001,t=h(n.toPixels(i.threshold),n.pos,n.pos+n.len),r?o.translateX=t-n.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},f(d(e.options.animation),{step:function(t,i){e.group&&(o[a]=s+i.pos*(n.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments);var i=this;(e=i.chart).hasRendered&&e.series.forEach((function(t){t.type===i.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,n=t.xAxis,i=t.yAxis,r=n.options.reversedStacks;r=n.reversed&&!r||!n.reversed&&r;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var n=e.yAxis,r=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&i.len===n.len&&i.pos===n.pos){if(r.stacking&&"group"!==r.stacking){o=e.stackKey,void 0===a[o]&&(a[o]=s++);var l=a[o]}else!1!==r.grouping&&(l=s++);e.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||e.pointRange||n.closestPointRange||n.tickInterval||1),n.len),d=l*e.groupPadding,c=(l-2*d)/(s||1);return e=Math.min(e.maxPointWidth||n.len,y(e.pointWidth,c*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(c-e)/2+(d+((t.columnIndex||0)+(r?1:0))*c-l/2)*(r?-1:1),paddedWidth:c,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,n,i){var r=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,r.inverted&&r.renderer.isVML&&(o+=1),this.options.crisp&&(n=Math.round(t+n)+a,n-=t=Math.round(t)+a),i=Math.round(e+i)+o,a=.5>=Math.abs(e)&&.5<i,i-=e=Math.round(e)+o,a&&i&&(--e,i+=1),{x:t,y:e,width:n,height:i}},e.prototype.adjustForMissingColumns=function(t,e,n,i){var r=this,o=this.options.stacking;if(!n.isNull&&1<i.columnCount){var a=this.yAxis.options.reversedStacks,s=0,l=a?0:-i.columnCount;x(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"==typeof n.x){var e=t[n.x.toString()];e&&(t=e.points[r.index],o?(t&&(s=l),e.hasValidPoints&&(a?l++:l--)):m(t)&&(t=Object.keys(e.points).filter((function(t){return!t.match(",")&&e.points[t]&&1<e.points[t].length})).map(parseFloat).sort((function(t,e){return e-t})),s=t.indexOf(r.index),l=t.length))}})),t=(n.plotX||0)+((l-1)*i.paddedWidth+e)/2-e-s*i.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=y(n.borderWidth,i?0:1);var r=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),d=y(n.minPointLength,5),c=t.getColumnMetrics(),u=c.width,f=t.pointXOffset=c.offset,g=t.dataMin,m=t.dataMax,b=t.barW=Math.max(u,1+2*i);e.inverted&&(l-=.5),n.pointPadding&&(b=Math.ceil(b)),o.prototype.translate.apply(t),t.points.forEach((function(i){var o=y(i.yBottom,l),x=999+Math.abs(o),_=i.plotX||0;x=h(i.plotY,-x,a.len+x);var w=Math.min(x,o),O=Math.max(x,o)-w,$=u,C=_+f,k=b;d&&Math.abs(O)<d&&(O=d,_=!a.reversed&&!i.negative||a.reversed&&i.negative,v(s)&&v(m)&&i.y===s&&m<=s&&(a.min||0)<s&&(g!==m||(a.max||0)<=s)&&(_=!_),w=Math.abs(w-l)>d?o-d:l-(_?d:0)),p(i.options.pointWidth)&&($=k=Math.ceil(i.options.pointWidth),C-=Math.round(($-u)/2)),n.centerInCategory&&(C=t.adjustForMissingColumns(C,$,i,c)),i.barX=C,i.pointWidth=$,i.tooltipPos=e.inverted?[h(a.len+a.pos-e.plotLeft-x,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),r.len+r.pos-e.plotTop-C-k/2,O]:[r.left-e.plotLeft+C+k/2,h(x+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),O],i.shapeType=t.pointClass.prototype.shapeType||"rect",i.shapeArgs=t.crispCol.apply(t,i.isNull?[C,l,k,0]:[C,w,k,O])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",o=i["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[r]||n[r]||a;i=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[o]||n[o]||this[o]||0,d=y(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var u=t.getZone();a=t.options.color||u&&(u.color||t.nonZonedColor)||this.color,u&&(s=u.borderColor||s,i=u.dashStyle||i,l=u.borderWidth||l)}return e&&t&&(e=(t=b(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||void 0!==e&&c(a).brighten(t.brightness).get()||a,s=t[r]||s,l=t[o]||l,i=t.dashStyle||i,d=y(t.opacity,d)),r={fill:a,stroke:s,"stroke-width":l,opacity:d},i&&(r.dashstyle=i),r},e.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,n=this,i=this.chart,r=n.options,o=i.renderer,a=r.animationLimit||250;t.forEach((function(t){var s=t.graphic,l=!!s,d=s&&i.pointCount<a?"animate":"attr";v(t.plotY)&&null!==t.y?(e=t.shapeArgs,s&&t.hasNewShapeType()&&(s=s.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),s||(t.graphic=s=o[t.shapeType](e).add(t.group||n.group))&&n.enabledDataSorting&&i.hasRendered&&i.pointCount<a&&(s.attr({x:t.startXPos}),l=!0,d="animate"),s&&l&&s[d](b(e)),r.borderRadius&&s[d]({r:r.borderRadius}),i.styledMode||s[d](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&r.shadow,null,r.stacking&&!r.borderRadius),s&&(s.addClass(t.getClassName(),!0),s.attr({visibility:t.visible?"inherit":"hidden"}))):s&&(t.graphic=s.destroy())}))},e.prototype.drawTracker=function(t){void 0===t&&(t=this.points);var e,n=this,i=n.chart,r=i.pointer,o=function(t){var e=r.getPointFromEvent(t);void 0!==e&&(r.isDirectTouch=!0,e.onMouseOver(t))};t.forEach((function(t){e=m(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}))})),n._hasTracking||(n.trackerGroups.forEach((function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),u&&n[t].on("touchstart",o),!i.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))})),n._hasTracking=!0),g(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),o.prototype.remove.apply(t,arguments)},e.defaultOptions=b(o.defaultOptions,n),e}(o),f(s.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:r.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("column",s),s})),e(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.getDeferredAnimation,o=e.format,a=n.defined,s=n.extend,l=n.fireEvent,d=n.isArray,c=n.isString,u=n.merge,h=n.objectEach,p=n.pick,f=n.splat;return function(t){function e(t,e,n,i,r){var o=this,l=this.chart,d=this.isCartesian&&l.inverted,c=this.enabledDataSorting,u=t.plotX,h=t.plotY,f=n.rotation,g=n.align,m=a(u)&&a(h)&&l.isInsidePlot(u,Math.round(h),{inverted:d,paneCoordinates:!0,series:o});h=function(n){c&&o.xAxis&&!v&&o.setDataLabelStartPos(t,e,r,m,n)};var v="justify"===p(n.overflow,c?"none":"justify");if(u=this.visible&&!1!==t.visible&&a(u)&&(t.series.forceDL||c&&!v||m||p(n.inside,!!this.options.stacking)&&i&&l.isInsidePlot(u,d?i.x+1:i.y+i.height-1,{inverted:d,paneCoordinates:!0,series:o})),d=t.pos(),u&&d){f&&e.attr({align:g}),g=e.getBBox(!0);var b=[0,0],y=l.renderer.fontMetrics(l.styledMode?void 0:n.style.fontSize,e).b;i=s({x:d[0],y:Math.round(d[1]),width:0,height:0},i),s(n,{width:g.width,height:g.height}),f?(v=!1,b=l.renderer.rotCorr(y,f),y={x:i.x+(n.x||0)+i.width/2+b.x,y:i.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height},b=[g.x-Number(e.attr("x")),g.y-Number(e.attr("y"))],h(y),e[r?"attr":"animate"](y)):(h(i),e.align(n,void 0,i),y=e.alignAttr),v&&0<=i.height?this.justifyDataLabel(e,n,y,g,i,r):p(n.crop,!0)&&(i=y.x,h=y.y,i+=b[0],h+=b[1],u=l.isInsidePlot(i,h,{paneCoordinates:!0,series:o})&&l.isInsidePlot(i+g.width,h+g.height,{paneCoordinates:!0,series:o})),n.shape&&!f&&e[r?"attr":"animate"]({anchorX:d[0],anchorY:d[1]})}r&&c&&(e.placed=!1),u||c&&!v?e.show():(e.hide(),e.placed=!1)}function n(t){void 0===t&&(t=this.points);var e=this,n=e.chart,i=e.options,s=e.hasRendered||0,u=n.renderer,m=n.options.chart,v=m.backgroundColor;m=m.plotBackgroundColor;var b=u.getContrast(c(m)&&m||c(v)&&v||"#000000"),y=i.dataLabels;if(v=y.animation,v=y.defer?r(n,v,e):{defer:0,duration:0},y=g(g(n.options.plotOptions&&n.options.plotOptions.series&&n.options.plotOptions.series.dataLabels,n.options.plotOptions&&n.options.plotOptions[e.type]&&n.options.plotOptions[e.type].dataLabels),y),l(this,"drawDataLabels"),d(y)||y.enabled||e._hasPointLabels){var x=e.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",y.zIndex||6);x.attr({opacity:+s}),!s&&(s=e.dataLabelsGroup)&&(e.visible&&x.show(),s[i.animation?"animate":"attr"]({opacity:1},v)),t.forEach((function(t){f(g(y,t.dlOptions||t.options&&t.options.dataLabels)).forEach((function(r,s){var l=r.enabled&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t<n||">="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(t,r),d=t.connectors?t.connectors[s]:t.connector,c=t.dataLabels?t.dataLabels[s]:t.dataLabel,f=!c,g=p(r.distance,t.labelDistance);if(l){var m=t.getLabelConfig(),v=p(r[t.formatPrefix+"Format"],r.format);m=a(v)?o(v,m,n):(r[t.formatPrefix+"Formatter"]||r.formatter).call(m,r),v=r.style;var y=r.rotation;n.styledMode||(v.color=p(r.color,v.color,e.color,"#000000"),"contrast"===v.color?(t.contrastColor=u.getContrast(t.color||e.color),v.color=!a(g)&&r.inside||0>g||i.stacking?t.contrastColor:b):delete t.contrastColor,i.cursor&&(v.cursor=i.cursor));var _={r:r.borderRadius||0,rotation:y,padding:r.padding,zIndex:1};if(!n.styledMode){g=r.backgroundColor;var w=r.borderColor;_.fill="auto"===g?t.color:g,_.stroke="auto"===w?t.color:w,_["stroke-width"]=r.borderWidth}h(_,(function(t,e){void 0===t&&delete _[e]}))}!c||l&&a(m)&&!!c.div==!!r.useHTML&&(c.rotation&&r.rotation||c.rotation===r.rotation)||(f=!0,t.dataLabel=c=t.dataLabel&&t.dataLabel.destroy(),t.dataLabels&&(1===t.dataLabels.length?delete t.dataLabels:delete t.dataLabels[s]),s||delete t.dataLabel,d&&(t.connector=t.connector.destroy(),t.connectors&&(1===t.connectors.length?delete t.connectors:delete t.connectors[s]))),l&&a(m)?(c?_.text=m:(t.dataLabels=t.dataLabels||[],c=t.dataLabels[s]=y?u.text(m,0,0,r.useHTML).addClass("highcharts-data-label"):u.label(m,0,0,r.shape,null,null,r.useHTML,null,"data-label"),s||(t.dataLabel=c),c.addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),c.options=r,c.attr(_),n.styledMode||c.css(v).shadow(r.shadow),(s=r[t.formatPrefix+"TextPath"]||r.textPath)&&!r.useHTML&&(c.setTextPath(t.getDataLabelPath&&t.getDataLabelPath(c)||t.graphic,s),t.dataLabelPath&&!s.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),c.added||c.add(x),e.alignDataLabel(t,c,r,null,f)):c&&c.hide()}))}))}l(this,"afterDrawDataLabels")}function i(t,e,n,i,r,o){var a=this.chart,s=e.align,l=e.verticalAlign,d=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var u=e.y;u=void 0===u?0:u;var h=(n.x||0)+d;if(0>h){"right"===s&&0<=c?(e.align="left",e.inside=!0):c-=h;var p=!0}return(h=(n.x||0)+i.width-d)>a.plotWidth&&("left"===s&&0>=c?(e.align="right",e.inside=!0):c+=a.plotWidth-h,p=!0),0>(h=n.y+d)&&("bottom"===l&&0<=u?(e.verticalAlign="top",e.inside=!0):u-=h,p=!0),(h=(n.y||0)+i.height-d)>a.plotHeight&&("top"===l&&0>=u?(e.verticalAlign="bottom",e.inside=!0):u+=a.plotHeight-h,p=!0),p&&(e.x=c,e.y=u,t.placed=!o,t.align(e,void 0,r)),p}function g(t,e){var n,i=[];if(d(t)&&!d(e))i=t.map((function(t){return u(t,e)}));else if(d(e)&&!d(t))i=e.map((function(e){return u(t,e)}));else if(d(t)||d(e))for(n=Math.max(t.length,e.length);n--;)i[n]=u(t[n],e[n]);else i=u(t,e);return i}function m(t,e,n,i,r){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,d=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?r.x:l?-d-t:s.width-d+t,e.startYPos=a?l?this.yAxis.height-d+t:-d-t:r.y,i?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var v=[];t.compose=function(t){if(-1===v.indexOf(t)){var r=t.prototype;v.push(t),r.alignDataLabel=e,r.drawDataLabels=n,r.justifyDataLabel=i,r.setDataLabelStartPos=m}}}(i||(i={})),i})),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=e.series,o=n.merge,a=n.pick;return function(e){function n(t,e,n,i,s){var l=this.chart.inverted,d=t.series,c=(d.xAxis?d.xAxis.len:this.chart.plotSizeX)||0;d=(d.yAxis?d.yAxis.len:this.chart.plotSizeY)||0;var u=t.dlBox||t.shapeArgs,h=a(t.below,t.plotY>a(this.translatedThreshold,d)),p=a(n.inside,!!this.options.stacking);u&&(0>(i=o(u)).y&&(i.height+=i.y,i.y=0),0<(u=i.y+i.height-d)&&u<i.height&&(i.height-=u),l&&(i={x:d-i.y-i.height,y:c-i.x-i.width,width:i.height,height:i.width}),p||(l?(i.x+=h?0:i.width,i.width=0):(i.y+=h?i.height:0,i.height=0))),n.align=a(n.align,!l||p?"center":h?"right":"left"),n.verticalAlign=a(n.verticalAlign,l||p?"middle":h?"top":"bottom"),r.prototype.alignDataLabel.call(this,t,e,n,i,s),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var i=[];e.compose=function(e){t.compose(r),-1===i.indexOf(e)&&(i.push(e),e.prototype.alignDataLabel=n)}}(i||(i={})),i})),e(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.extend,o=n.merge;return r((n=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 i(n,e),n.defaultOptions=o(t.defaultOptions,{}),n}(t)).prototype,{inverted:!0}),e.registerSeriesType("bar",n),n})),e(n,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{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/>"}}})),e(n,"Series/Scatter/ScatterSeries.js",[n["Series/Scatter/ScatterSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.seriesTypes,o=r.column,a=r.line;r=n.addEvent;var s=n.extend,l=n.merge;return s((n=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 i(n,e),n.prototype.applyJitter=function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(i,r){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!i.isNull){var l=t[o+"Axis"],d=e[o]*l.transA;if(l&&!l.isLog){var c=Math.max(0,i[s]-d);l=Math.min(l.len,i[s]+d),a=1e4*Math.sin(r+a*n),i[s]=c+(l-c)*(a-Math.floor(a)),"x"===o&&(i.clientX=i.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=l(a.defaultOptions,t),n}(a)).prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(n,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",n),n})),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var i,r=t.deg2rad,o=n.fireEvent,a=n.isNumber,s=n.pick,l=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,i=2*(t.slicedOffset||0),r=n.plotWidth-2*i,d=n.plotHeight-2*i,c=t.center,u=Math.min(r,d),h=t.thickness,p=t.size,f=t.innerSize||0;for("string"==typeof p&&(p=parseFloat(p)),"string"==typeof f&&(f=parseFloat(f)),t=[s(c[0],"50%"),s(c[1],"50%"),s(p&&0>p?void 0:t.size,"100%"),s(f&&0>f?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)p=t[c],n=2>c||2===c&&/%$/.test(p),t[c]=l(p,[r,d,u,t[2]][c])+(n?i:0);return t[3]>t[2]&&(t[3]=t[2]),a(h)&&2*h<t[2]&&0<h&&(t[3]=t[2]-2*h),o(this,"afterGetCenter",{positions:t}),t},t.getStartAndEndRadians=function(t,e){return t=a(t)?t:0,e=a(e)&&e>t&&360>e-t?e:t+360,{start:r*(t+-90),end:r*(e+-90)}}}(i||(i={})),i})),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.setAnimation,o=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,d=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return i(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,i=e.connectorShape;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return o(this,"select",n),o(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,i=this.series,r=i.chart,o=i.options.ignoreHiddenPoint;e=l(e,o),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,i.options.data[i.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](t)})),this.legendItem&&r.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(i.isDirty=!0),e&&r.redraw())},e.prototype.slice=function(t,e,n){var i=this.series;r(n,i.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var i=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*i.x-e.x,2*i.y-e.y,i.x,i.y]:["L",i.x,i.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var i=this.series,r=i.center[0],o=i.chart.plotWidth,a=i.chart.plotLeft;i=t.alignment;var s=this.shapeArgs.r;return n=d(n.crookDistance,1),n=["L",o="left"===i?r+s+(o+a-r-s)*(1-n):a+(r-s)*n,t.y],r=!0,("left"===i?o>t.x||o<e.x:o<t.x||o>e.x)&&(r=!1),t=[["M",t.x,t.y]],r&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e})),e(n,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),e(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["Series/Pie/PieSeriesDefaults.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l,d){var c=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=t.getStartAndEndRadians;n=n.noop;var h=d.clamp,p=d.extend,f=d.fireEvent,g=d.merge,m=d.pick,v=d.relativeLength;return p((d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,n=e.points,i=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,r=t.shapeArgs;n&&r&&(n.attr({r:m(t.startR,e.center&&e.center[3]/2),start:i,end:i}),n.animate({r:r.r,start:r.start,end:r.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var i=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(i,r,this.center[2]/2,0,{start:t,end:e,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())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var i=this.center,r=this.radii?this.radii[n.index]||0:i[2]/2;return t=Math.asin(h((t-i[1])/(r+n.labelDistance),-1,1)),i[0]+(e?-1:1)*Math.cos(t)*(r+n.labelDistance)+(0<n.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,n,i,r=this,o=r.chart,a=o.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||o.styledMode||(r.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach((function(l){var d={};if(e=l.graphic,!l.isNull&&e){var c=void 0;i=l.shapeArgs,t=l.getTranslate(),o.styledMode||(c=l.shadowGroup,s&&!c&&(c=l.shadowGroup=a.g("shadow").add(r.shadowGroup)),c&&c.attr(t),n=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(r.center).attr(i).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,c),l.delayedRendering=!1):(e.setRadialReference(r.center),o.styledMode||g(!0,d,n),g(!0,d,i,t),e.animate(d)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))},e.prototype.translate=function(t){f(this,"translate"),this.generatePoints();var e=this.options,n=e.slicedOffset,i=n+(e.borderWidth||0),r=u(e.startAngle,e.endAngle),o=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,d=a.length,c=0;for(t||(this.center=t=this.getCenter()),l=0;l<d;l++){var h=a[l],p=o+c*r;!h.isValid()||e&&!h.visible||(c+=h.percentage/100);var g=o+c*r,b={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*p)/1e3,end:Math.round(1e3*g)/1e3};h.shapeType="arc",h.shapeArgs=b,h.labelDistance=m(h.options.dataLabels&&h.options.dataLabels.distance,s),h.labelDistance=v(h.labelDistance,b.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,h.labelDistance),(g=(g+p)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),h.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},b=Math.cos(g)*t[2]/2;var y=Math.sin(g)*t[2]/2;h.tooltipPos=[t[0]+.7*b,t[1]+.7*y],h.half=g<-Math.PI/2||g>Math.PI/2?1:0,h.angle=g,p=Math.min(i,h.labelDistance/5),h.labelPosition={natural:{x:t[0]+b+Math.cos(g)*h.labelDistance,y:t[1]+y+Math.sin(g)*h.labelDistance},final:{},alignment:0>h.labelDistance?"center":h.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+b+Math.cos(g)*p,y:t[1]+y+Math.sin(g)*p},touchingSliceAt:{x:t[0]+b,y:t[1]+y}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,i=this.options.ignoreHiddenPoint,r=0;for(t=0;t<n;t++){var o=e[t];!o.isValid()||i&&!o.visible||(r+=o.y)}for(this.total=r,t=0;t<n;t++)(o=e[t]).percentage=0<r&&(o.visible||!i)?o.y/r*100:0,o.total=r},e.defaultOptions=g(a.defaultOptions,o),e}(a)).prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:i.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",d),d})),e(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(t,e,n,i,r){var o,a=e.noop,s=n.distribute,l=i.series,d=r.arrayMax,c=r.clamp,u=r.defined,h=r.merge,p=r.pick,f=r.relativeLength;return function(e){function n(){var t,e,n,i,r,o,a,c,f,g,m,v,b=this,y=b.data,x=b.chart,_=b.options.dataLabels||{},w=_.connectorPadding,O=x.plotWidth,$=x.plotHeight,C=x.plotLeft,k=Math.round(x.chartWidth/3),S=b.center,j=S[2]/2,E=S[1],M=[[],[]],A=[0,0,0,0],P=b.dataLabelPositioners;b.visible&&(_.enabled||b._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(b),y.forEach((function(t){t.dataLabel&&(t.visible?(M[t.half].push(t),t.dataLabel._pos=null,!u(_.style.width)&&!u(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>k&&(t.dataLabel.css({width:Math.round(.7*k)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),M.forEach((function(e,n){var l,d=e.length,h=[];if(d){if(b.sortByAngle(e,n-.5),0<b.maxLabelDistance){var y=Math.max(0,E-j-b.maxLabelDistance),k=Math.min(E+j+b.maxLabelDistance,x.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,E-j-t.labelDistance),t.bottom=Math.min(E+j+t.labelDistance,x.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},h.push(t.distributeBox))})),s(h,y=k+l-y,y/5)}for(m=0;m<d;m++){if(t=e[m],o=t.labelPosition,i=t.dataLabel,g=!1===t.visible?"hidden":"inherit",f=y=o.natural.y,h&&u(t.distributeBox)&&(void 0===t.distributeBox.pos?g="hidden":(a=t.distributeBox.size,f=P.radialDistributionY(t))),delete t.positionIndex,_.justify)c=P.justify(t,j,S);else switch(_.alignTo){case"connectors":c=P.alignToConnectors(e,n,O,C);break;case"plotEdges":c=P.alignToPlotEdges(i,n,O,C);break;default:c=P.radialDistributionX(b,t,f,y)}i._attr={visibility:g,align:o.alignment},v=t.options.dataLabels||{},i._pos={x:c+p(v.x,_.x)+({left:w,right:-w}[o.alignment]||0),y:f+p(v.y,_.y)-10},o.final.x=c,o.final.y=f,p(_.crop,!0)&&(r=i.getBBox().width,y=null,c-r<w&&1===n?(y=Math.round(r-c+w),A[3]=Math.max(y,A[3])):c+r>O-w&&0===n&&(y=Math.round(c+r-O+w),A[1]=Math.max(y,A[1])),0>f-a/2?A[0]=Math.max(Math.round(a/2-f),A[0]):f+a/2>$&&(A[2]=Math.max(Math.round(f+a/2-$),A[2])),i.sideOverflow=y)}}})),0===d(A)||this.verifyDataLabelOverflow(A))&&(this.placeDataLabels(),this.points.forEach((function(t){var r;(v=h(_,t.options.dataLabels),e=p(v.connectorWidth,1))&&(n=t.connector,(i=t.dataLabel)&&i._pos&&t.visible&&0<t.labelDistance?(g=i._attr.visibility,(r=!n)&&(t.connector=n=x.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(b.dataLabelsGroup),x.styledMode||n.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),n[r?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",g)):n&&(t.connector=n.destroy()))})))}function i(){this.points.forEach((function(t){var e,n=t.dataLabel;n&&t.visible&&((e=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"](e),n.moved=!0):n&&n.attr({y:-9999})),delete t.distributeBox}),this)}function r(t){var e=this.center,n=this.options,i=n.center,r=n.minSize||80,o=null!==n.size;if(!o){if(null!==i[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),r);else a=Math.max(e[2]-t[1]-t[3],r),e[0]+=(t[3]-t[1])/2;null!==i[1]?a=c(a,r,e[2]-Math.max(t[0],t[2])):(a=c(a,r,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(n.thickness?Math.max(0,a-2*n.thickness):Math.max(0,f(n.innerSize||0,a)),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],g={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,i){return t.getX(n<e.top+2||n>e.bottom-2?i:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,i){return t=t.getBBox().width,e?t+i:n-t-i},alignToConnectors:function(t,e,n,i){var r,o=0;return t.forEach((function(t){(r=t.dataLabel.getBBox().width)>o&&(o=r)})),e?o+i:n-o-i}};e.compose=function(e){t.compose(l),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=g,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=i,e.verifyDataLabelOverflow=r)}}(o||(o={})),o})),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e){var n=!1;if(t){var i=t.newOpacity;t.oldOpacity!==i&&(t.alignAttr&&t.placed?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=i,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})})),r(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0}return n}var i=e.addEvent,r=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;i(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(i){var r=i.options.dataLabels;i.visible&&(!1!==r.enabled||i._hasPointLabels)&&((r=function(i){return i.forEach((function(i){i.visible&&(o(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[]).forEach((function(r){var o=r.options;r.labelrank=l(o.labelrank,i.labelrank,i.shapeArgs&&i.shapeArgs.height),o.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,t)):e.push(r)}))}))})(i.nodes||[]),r(i.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,i,o,s=this,l=t.length,d=s.renderer,c=!1,u=function(t){var e,n,i=t.box?0:t.padding||0,r=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=d.fontMetrics(null,t.element).h);var l=t.width-2*i;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?r=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(r=t.x-t.translateX),{x:o.x+(s.translateX||0)+i-(r||0),y:o.y+(s.translateY||0)+i-e,width:t.width-2*i,height:t.height-2*i}}};for(i=0;i<l;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=u(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),i=0;i<l;i++){var h=(u=t[i])&&u.absoluteBox;for(e=i+1;e<l;++e){var p=(o=t[e])&&o.absoluteBox;!h||!p||u===o||0===u.newOpacity||0===o.newOpacity||"hidden"===u.visibility||"hidden"===o.visibility||p.x>=h.x+h.width||p.x+p.width<=h.x||p.y>=h.y+h.height||p.y+p.height<=h.y||((u.labelrank<o.labelrank?u:o).newOpacity=0)}}t.forEach((function(t){n(t,s)&&(c=!0)})),c&&r(s,"afterHideAllOverlappingLabels")}})),e(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,i=t.find,r=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,l=t.pick,d=t.splat,c=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),n(t.prototype,u.prototype)),t};var u=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,i,a,l){var c;s(n,(function(n,s){if(!l&&-1<e.collectionsWithUpdate.indexOf(s)&&i[s])for(n=d(n),a[s]=[],c=0;c<Math.max(n.length,i[s].length);c++)i[s][c]&&(void 0===n[c]?a[s][c]=i[s][c]:(a[s][c]={},t(n[c],i[s][c],a[s][c],l+1)));else o(n)?(a[s]=r(n)?[]:{},t(n,i[s]||{},a[s],l+1)):a[s]=void 0===i[s]?null:i[s]}))}(t,this.options,n,0),n},t.prototype.matchResponsiveRule=function(t,e){var n=t.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)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,r=this.options.responsive,o=this.currentResponsive,s=[];!e&&r&&r.rules&&r.rules.forEach((function(t){void 0===t._id&&(t._id=c()),n.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return i((r||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/Defaults.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/Axis/Stacking/StackingAxis.js"],n["Core/Axis/Stacking/StackItem.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(t,e,n,i,r,o,a,s,l,d,c,u,h,p,f,g,m,v,b,y,x,_,w,O,$,C,k,S,j,E,M,A,P,T,L){return t.animate=r.animate,t.animObject=r.animObject,t.getDeferredAnimation=r.getDeferredAnimation,t.setAnimation=r.setAnimation,t.stop=r.stop,t.timers=i.timers,t.AST=o,t.Axis=h,t.Chart=w,t.chart=w.chart,t.Fx=i,t.Legend=_,t.PlotLineOrBand=g,t.Point=b,t.Pointer=x.isRequired()?x:y,t.Series=C,t.StackItem=$,t.SVGElement=l,t.SVGRenderer=d,t.Tick=m,t.Time=L,t.Tooltip=v,t.Color=T,t.color=T.parse,u.compose(d),c.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=k.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,j.compose(S),A.compose(C),p.compose(h),f.compose(h),M.compose(E),g.compose(h),P.compose(w),O.compose(h,w,C),t})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},function(t,n){t.exports=e},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}));var i=Math.max,r=Math.min,o=Math.round},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(6),c=n(20),u=n(16),h=n(9),p=n(5),f=function(t,e){var n=t.addOn,i=void 0===n?{icon:null,alignment:"right",border:!0}:n,o=t.aria,f=void 0===o?{}:o,g=t.className,m=t.dark,v=void 0!==m&&m,b=t.data,y=void 0===b?{}:b,x=t.disabled,_=t.error,w=t.htmlOptions,O=void 0===w?{}:w,$=t.id,C=t.inline,k=void 0!==C&&C,S=t.name,j=t.label,E=t.onChange,M=void 0===E?function(){}:E,A=t.placeholder,P=t.required,T=t.type,L=void 0===T?"text":T,D=t.value,I=void 0===D?"":D,N=t.children,R=void 0===N?null:N,F=Object(l.a)(f),B=Object(l.c)(y),z=Object(l.d)(O),H=Object.assign({},t);void 0===H.marginBottom&&(H.marginBottom="sm");var W=i.alignment,U=i.border,Y=i.icon,G="left"===W?"left":"right",V=!1===U?"off":"on",X="border_".concat("left"===G?"right":"left","_").concat(V),q=null!==Y,K=q?"text_input_wrapper_add_on":"",Z=q&&v?"add-on-card-dark":"",J=a()(["pb_text_input_kit",k?"inline":"",_?"error":"",Object(s.c)(H),g]),Q=r.a.createElement(p.a,{className:"add-on-icon",dark:v,fixedWidth:!1,icon:Y}),tt=R?"input"===R.type:void 0,et=tt?r.a.cloneElement(R,{className:"text_input"}):r.a.createElement("input",Object.assign({},Object(s.b)(t),{className:"text_input",disabled:x,id:$,key:$,name:S,onChange:M,placeholder:A,ref:e,required:P,type:L,value:I})),nt=r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{className:"add-on-".concat(G," ").concat(X),vertical:"center"},"left"==G&&r.a.createElement(r.a.Fragment,null,r.a.createElement(c.a,{className:"".concat(Z," add-on-card card-left-aligned"),dark:v},Q),et),"left"!=G&&r.a.createElement(r.a.Fragment,null,et,r.a.createElement(c.a,{className:"".concat(Z," add-on-card card-right-aligned"),dark:v},Q)))),it=R&&!tt?R:q?nt:et;return r.a.createElement("div",Object.assign({},F,B,z,{className:J}),j&&r.a.createElement(u.a,{className:"pb_text_input_kit_label",text:j}),r.a.createElement("div",{className:"".concat(K," text_input_wrapper")},it,_&&r.a.createElement(h.a,{status:"negative",text:_,variant:null})))};e.a=Object(i.forwardRef)(f)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=function(t,e){var n={};switch(e){case"xxs":case"xs":n={"top-right":{top:"xs",right:"xs"},"bottom-left":{bottom:"xs",left:"xs"},"top-left":{top:"xs",left:"xs"},"bottom-right":{bottom:"xs",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"sm":n={"top-right":{top:"0",right:"xs"},"bottom-left":{bottom:"0",left:"xs"},"top-left":{top:"0",left:"xs"},"bottom-right":{bottom:"0",right:"xs"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"md":case"lg":n={"top-right":{top:"0",right:"0"},"bottom-left":{bottom:"0",left:"0"},"top-left":{top:"0",left:"0"},"bottom-right":{bottom:"0",right:"0"},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}};break;case"xl":n={"top-right":{top:{value:"xxs",inset:!0},right:{value:"xxs",inset:!0}},"bottom-left":{bottom:{value:"xxs",inset:!0},left:{value:"xxs",inset:!0}},"top-left":{top:{value:"xxs",inset:!0},left:{value:"xxs",inset:!0}},"bottom-right":{bottom:{value:"xxs",inset:!0},right:{value:"xxs",inset:!0}},"bottom-center":{bottom:"xs",className:"overlay_bottom_center"},"top-center":{top:"xs",className:"overlay_top_center"},"left-center":{left:"sm",className:"overlay_left_center"},"right-center":{right:"sm",className:"overlay_right_center"}}}return n[t]||{}},c=n(38),u=n(115),h=n(6),p=n(44),f=n(56),g=n(20);function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,v=t.data,b=void 0===v?{}:v,y=t.htmlOptions,x=void 0===y?{}:y,_=t.name,w=void 0===_?void 0:_,O=t.componentOverlay,$=t.id,C=void 0===$?"":$,k=t.imageAlt,S=void 0===k?"":k,j=t.imageUrl,E=t.size,M=void 0===E?"md":E,A=t.status,P=void 0===A?null:A,T=t.dark,L=void 0!==T&&T,D=Object(s.c)(b),I=Object(s.a)(n),N=Object(s.d)(x),R=a()(Object(s.b)("pb_avatar_kit","size_".concat(M)),Object(l.c)(t),o),F=w&&function(t){return t.split(/\s/).map((function(t){return t[0]})).join("").substring(0,2)}(w);D["data-initials"]=F;var B=m(Object(i.useState)(!1),2),z=B[0],H=B[1],W=function(){return H(!0)},U=j&&!z;return r.a.createElement("div",Object.assign({},I,D,N,{className:R,id:C}),O?r.a.createElement(h.a,{display:"display_inline_block",position:"relative"},r.a.createElement("div",{className:"avatar_wrapper","data-initials":F},U&&r.a.createElement(c.a,{alt:S||w,onError:W,url:j})),"badge"===O.component&&r.a.createElement(g.a,Object.assign({borderNone:!0,borderRadius:"rounded",padding:"none",position:"absolute"},d(O.placement,M)),r.a.createElement(p.a,{rounded:!0,text:O.text,variant:O.variant})),"iconCircle"===O.component&&r.a.createElement(g.a,Object.assign({borderNone:!0,borderRadius:"rounded",htmlOptions:{style:{padding:"2px"}},position:"absolute"},d(O.placement,M)),r.a.createElement(f.a,{icon:O.icon,size:"xxs",variant:O.variant}))):r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"avatar_wrapper","data-initials":F},U&&r.a.createElement(c.a,{alt:S||w,onError:W,url:j})),P&&r.a.createElement(u.a,{className:"size_".concat(M),dark:L,status:P})))}},function(t,e,n){"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2);e.a=function(t){var e=t.alt,n=void 0===e?"":e,i=t.aria,o=void 0===i?{}:i,d=t.className,c=t.data,u=void 0===c?{}:c,h=t.htmlOptions,p=void 0===h?{}:h,f=t.id,g=t.onError,m=void 0===g?null:g,v=t.rounded,b=void 0!==v&&v,y=t.size,x=void 0===y?"":y,_=t.transition,w=void 0===_?"fade":_,O=t.url,$=void 0===O?"":O,C=Object(l.a)(o),k=a()(Object(l.b)("pb_image_kit",x?"size_".concat(x):null),"lazyload",w,{rounded:b},Object(s.c)(t),d),S=Object(l.c)(u),j=Object(l.d)(p);return r.a.createElement("img",Object.assign({},C,S,j,{alt:n,className:k,"data-src":$,id:f,onError:m,src:$}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return y})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return b})),n.d(e,"f",(function(){return x}));var i=n(7),r=n(57),o=n(15);function a(t){const e=Object(o.a)(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const a=Object(o.k)(t),s=a?t.offsetWidth:n,l=a?t.offsetHeight:r,d=Object(i.u)(n)!==s||Object(i.u)(r)!==l;return d&&(n=s,r=l),{width:n,height:r,$:d}}function s(t){return Object(o.j)(t)?t:t.contextElement}function l(t){const e=s(t);if(!Object(o.k)(e))return Object(i.b)(1);const n=e.getBoundingClientRect(),{width:r,height:l,$:d}=a(e);let c=(d?Object(i.u)(n.width):n.width)/r,u=(d?Object(i.u)(n.height):n.height)/l;return c&&Number.isFinite(c)||(c=1),u&&Number.isFinite(u)||(u=1),{x:c,y:u}}const d=Object(i.b)(0);function c(t){const e=Object(o.h)(t);return Object(o.o)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:d}function u(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=!1);const a=t.getBoundingClientRect(),d=s(t);let u=Object(i.b)(1);e&&(r?Object(o.j)(r)&&(u=l(r)):u=l(t));const h=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==Object(o.h)(t))&&e}(d,n,r)?c(d):Object(i.b)(0);let p=(a.left+h.x)/u.x,f=(a.top+h.y)/u.y,g=a.width/u.x,m=a.height/u.y;if(d){const t=Object(o.h)(d),e=r&&Object(o.j)(r)?Object(o.h)(r):r;let n=t.frameElement;for(;n&&r&&e!==t;){const t=l(n),e=n.getBoundingClientRect(),i=Object(o.a)(n),r=e.left+(n.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(n.clientTop+parseFloat(i.paddingTop))*t.y;p*=t.x,f*=t.y,g*=t.x,m*=t.y,p+=r,f+=a,n=Object(o.h)(n).frameElement}}return Object(i.t)({width:g,height:m,x:p,y:f})}function h(t){return u(Object(o.c)(t)).left+Object(o.e)(t).scrollLeft}function p(t,e,n){let r;if("viewport"===e)r=function(t,e){const n=Object(o.h)(t),i=Object(o.c)(t),r=n.visualViewport;let a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(r){a=r.width,s=r.height;const t=Object(o.o)();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,d=r.offsetTop)}return{width:a,height:s,x:l,y:d}}(t,n);else if("document"===e)r=function(t){const e=Object(o.c)(t),n=Object(o.e)(t),r=t.ownerDocument.body,a=Object(i.q)(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),s=Object(i.q)(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+h(t);const d=-n.scrollTop;return"rtl"===Object(o.a)(r).direction&&(l+=Object(i.q)(e.clientWidth,r.clientWidth)-a),{width:a,height:s,x:l,y:d}}(Object(o.c)(t));else if(Object(o.j)(e))r=function(t,e){const n=u(t,!0,"fixed"===e),r=n.top+t.clientTop,a=n.left+t.clientLeft,s=Object(o.k)(t)?l(t):Object(i.b)(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:a*s.x,y:r*s.y}}(e,n);else{const n=c(t);r={...e,x:e.x-n.x,y:e.y-n.y}}return Object(i.t)(r)}function f(t,e){const n=Object(o.g)(t);return!(n===e||!Object(o.j)(n)||Object(o.l)(n))&&("fixed"===Object(o.a)(n).position||f(n,e))}function g(t,e,n){const r=Object(o.k)(e),a=Object(o.c)(e),s="fixed"===n,l=u(t,!0,s,e);let d={scrollLeft:0,scrollTop:0};const c=Object(i.b)(0);if(r||!r&&!s)if(("body"!==Object(o.d)(e)||Object(o.m)(a))&&(d=Object(o.e)(e)),r){const t=u(e,!0,s,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else a&&(c.x=h(a));return{x:l.left+d.scrollLeft-c.x,y:l.top+d.scrollTop-c.y,width:l.width,height:l.height}}function m(t,e){return Object(o.k)(t)&&"fixed"!==Object(o.a)(t).position?e?e(t):t.offsetParent:null}function v(t,e){const n=Object(o.h)(t);if(!Object(o.k)(t))return n;let i=m(t,e);for(;i&&Object(o.n)(i)&&"static"===Object(o.a)(i).position;)i=m(i,e);return i&&("html"===Object(o.d)(i)||"body"===Object(o.d)(i)&&"static"===Object(o.a)(i).position&&!Object(o.i)(i))?n:i||Object(o.b)(t)||n}const b={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const a=Object(o.k)(n),s=Object(o.c)(n);if(n===s)return e;let d={scrollLeft:0,scrollTop:0},c=Object(i.b)(1);const h=Object(i.b)(0);if((a||!a&&"fixed"!==r)&&(("body"!==Object(o.d)(n)||Object(o.m)(s))&&(d=Object(o.e)(n)),Object(o.k)(n))){const t=u(n);c=l(n),h.x=t.x+n.clientLeft,h.y=t.y+n.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-d.scrollLeft*c.x+h.x,y:e.y*c.y-d.scrollTop*c.y+h.y}},getDocumentElement:o.c,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const s=[..."clippingAncestors"===n?function(t,e){const n=e.get(t);if(n)return n;let i=Object(o.f)(t,[],!1).filter(t=>Object(o.j)(t)&&"body"!==Object(o.d)(t)),r=null;const a="fixed"===Object(o.a)(t).position;let s=a?Object(o.g)(t):t;for(;Object(o.j)(s)&&!Object(o.l)(s);){const e=Object(o.a)(s),n=Object(o.i)(s);n||"fixed"!==e.position||(r=null);(a?!n&&!r:!n&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||Object(o.m)(s)&&!n&&f(t,s))?i=i.filter(t=>t!==s):r=e,s=Object(o.g)(s)}return e.set(t,i),i}(e,this._c):[].concat(n),r],l=s[0],d=s.reduce((t,n)=>{const r=p(e,n,a);return t.top=Object(i.q)(r.top,t.top),t.right=Object(i.r)(r.right,t.right),t.bottom=Object(i.r)(r.bottom,t.bottom),t.left=Object(i.q)(r.left,t.left),t},p(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}},getOffsetParent:v,getElementRects:async function(t){let{reference:e,floating:n,strategy:i}=t;const r=this.getOffsetParent||v,o=this.getDimensions;return{reference:g(e,await r(n),i),floating:{x:0,y:0,...await o(n)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=a(t);return{width:e,height:n}},getScale:l,isElement:o.j,isRTL:function(t){return"rtl"===Object(o.a)(t).direction}};function y(t,e,n,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:d="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:h=!1}=r,p=s(t),f=a||l?[...p?Object(o.f)(p):[],...Object(o.f)(e)]:[];f.forEach(t=>{a&&t.addEventListener("scroll",n,{passive:!0}),l&&t.addEventListener("resize",n)});const g=p&&c?function(t,e){let n,r=null;const a=Object(o.c)(t);function s(){clearTimeout(n),r&&r.disconnect(),r=null}return function o(l,d){void 0===l&&(l=!1),void 0===d&&(d=1),s();const{left:c,top:u,width:h,height:p}=t.getBoundingClientRect();if(l||e(),!h||!p)return;const f={rootMargin:-Object(i.d)(u)+"px "+-Object(i.d)(a.clientWidth-(c+h))+"px "+-Object(i.d)(a.clientHeight-(u+p))+"px "+-Object(i.d)(c)+"px",threshold:Object(i.q)(0,Object(i.r)(1,d))||1};let g=!0;function m(t){const e=t[0].intersectionRatio;if(e!==d){if(!g)return o();e?o(!1,e):n=setTimeout(()=>{o(!1,1e-7)},100)}g=!1}try{r=new IntersectionObserver(m,{...f,root:a.ownerDocument})}catch(t){r=new IntersectionObserver(m,f)}r.observe(t)}(!0),s}(p,n):null;let m,v=-1,b=null;d&&(b=new ResizeObserver(t=>{let[i]=t;i&&i.target===p&&b&&(b.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{b&&b.observe(e)})),n()}),p&&!h&&b.observe(p),b.observe(e));let y=h?u(t):null;return h&&function e(){const i=u(t);!y||i.x===y.x&&i.y===y.y&&i.width===y.width&&i.height===y.height||n();y=i,m=requestAnimationFrame(e)}(),n(),()=>{f.forEach(t=>{a&&t.removeEventListener("scroll",n),l&&t.removeEventListener("resize",n)}),g&&g(),b&&b.disconnect(),b=null,h&&cancelAnimationFrame(m)}}r.b;const x=r.j,_=r.e,w=(r.k,r.f,r.a),O=(r.g,r.h,(t,e,n)=>{const i=new Map,o={platform:b,...n},a={...o.platform,_c:i};return Object(r.c)(t,e,{...o,platform:a})})},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(163);function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||Object(i.a)(t,e)||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(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return g})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return h}));var i=n(0),r=n(109),o=(n(21),n(124),n(185),n(82)),a=n(113),s=n(112),l=!0,d={}.hasOwnProperty,c=i.createContext("undefined"!=typeof HTMLElement?Object(r.a)({key:"css"}):null);var u=c.Provider,h=function(t){return Object(i.forwardRef)((function(e,n){var r=Object(i.useContext)(c);return t(e,r,n)}))};l||(h=function(t){return function(e){var n=Object(i.useContext)(c);return null===n?(n=Object(r.a)({key:"css"}),i.createElement(c.Provider,{value:n},t(e,n))):t(e,n)}});var p=i.createContext({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",g=function(t,e){var n={};for(var i in e)d.call(e,i)&&(n[i]=e[i]);return n[f]=t,n},m=function(t){var e=t.cache,n=t.serialized,i=t.isStringTag;return Object(o.c)(e,n,i),Object(s.a)((function(){return Object(o.b)(e,n,i)})),null};var v=h((function(t,e,n){var r=t.css;"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var s=t[f],l=[r],c="";"string"==typeof t.className?c=Object(o.a)(e.registered,l,t.className):null!=t.className&&(c=t.className+" ");var u=Object(a.a)(l,void 0,i.useContext(p));c+=e.key+"-"+u.name;var h={};for(var g in t)d.call(t,g)&&"css"!==g&&g!==f&&(h[g]=t[g]);return h.ref=n,h.className=c,i.createElement(i.Fragment,null,i.createElement(m,{cache:e,serialized:u,isStringTag:"string"==typeof s}),i.createElement(s,h))}))},function(t,e,n){"use strict";function i(t){return t.split("-")[0]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.closeProps,c=void 0===o?{}:o,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=t.removeIcon,v=void 0!==m&&m,b=t.removeOnClick,y=t.rounded,x=void 0!==y&&y,_=t.text,w=t.variant,O=void 0===w?"neutral":w,$=Object(l.a)(n),C=Object(l.c)(h),k=Object(l.d)(f),S=a()(Object(l.b)("pb_badge_kit","success"===O?"success_sm":O,x?"rounded":null),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},$,C,k,{className:S,id:g}),r.a.createElement("span",null,_,v&&r.a.createElement("span",Object.assign({onClick:b,style:{cursor:"pointer"}},c),r.a.createElement(d.a,{fixedWidth:!0,icon:"times"}))))}},function(t,e,n){"use strict";function i(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.borderless,o=void 0!==i&&i,c=t.children,u=t.className,h=t.data,p=void 0===h?{}:h,f=t.dark,g=void 0!==f&&f,m=t.highlight,v=void 0===m||m,b=t.htmlOptions,y=void 0===b?{}:b,x=t.id,_=t.link,w=void 0===_?"#":_,O=t.onClick,$=t.orientation,C=void 0===$?"vertical":$,k=t.title,S=void 0===k?"":k,j=t.variant,E=void 0===j?"normal":j,M=t.itemSpacing,A=Object(s.a)(n),P=Object(s.c)(p),T=Object(s.d)(y),L=a()(Object(s.b)("pb_nav_list",E,C,{highlight:v,borderless:o}),Object(l.c)(t),u),D=r.a.Children.map(c,(function(t){if(r.a.isValidElement(t)){var e={orientation:C,variant:E,itemSpacing:M};return r.a.cloneElement(t,e)}return t}));return r.a.createElement("nav",Object.assign({},A,P,T,{className:L,id:x}),S&&r.a.createElement("div",{className:"pb_nav_list_title"},r.a.createElement("a",{className:"pb_nav_list_item_link_text",href:w,onClick:O},r.a.createElement(d.a,{dark:g,size:"md",text:"".concat(S)}))),r.a.createElement("div",{className:"pb_nav_wrapper"},D))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(26),c=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,u=t.data,h=void 0===u?{}:u,p=t.disabled,f=t.htmlOptions,g=void 0===f?{}:f,m=t.icon,v=t.id,b=t.onClick,y=void 0===b?s.e:b,x=t.type,_=t.link,w=t.newWindow,O=t.variant,$=Object(s.a)(n),C=Object(s.c)(h),k=Object(s.d)(g),S=a()(Object(s.b)("pb_circle_icon_button_kit"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},$,C,k,{className:S,id:v}),r.a.createElement(d.a,{dark:o,disabled:p,htmlType:x,link:_,newWindow:w,onClick:y,text:null,variant:O},r.a.createElement(c.a,{fixedWidth:!0,icon:m})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(28);function r(t){return((Object(i.a)(t)?t.ownerDocument:t.document)||window.document).documentElement}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(8),r=n.n(i),o=n(10),a=n.n(o),s={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:void 0,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_light,tickColor:r.a.border_light,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_lt_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:r.a.border_light,minorGridLineColor:r.a.border_light,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_lt_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_lt_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_lt_default},itemHiddenStyle:{color:r.a.text_lt_lighter}},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:a.a.font_family_base,color:r.a.text_dk_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_light}},plotOptions:{series:{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:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_lt_light,fontWeight:a.a.regular,textOutline:"2px $white"}}},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"}},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],dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";function i(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var i=n(25),r=function(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},o=function(t){return Object(i.isEmpty)(t)?t:t.split(" ").map(r).join(" ")},a=function(t){return!Object(i.isEmpty)(t)},s=function(t,e){return Object(i.filter)(t,a).join(e)},l=function(t){return t.split(/([A-Z])/g).map((function(t,e){var n=e>0?"_":"";return t===t.toLowerCase()?t:n+t.toLowerCase()})).join("")}},function(t,e,n){"use strict";n.d(e,"a",(function(){return mt})),n.d(e,"b",(function(){return Z})),n.d(e,"c",(function(){return J}));var i=n(21),r=n(18);var o=n(164);function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,Object(o.a)(i.key),i)}}function s(t,e){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=n(80);function c(t,e){if(e&&("object"===Object(d.a)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=l(t);if(e){var r=l(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return c(this,n)}}var h=n(88),p=n(0),f=n(22),g=n(19),m=n(101),v=n(50);for(var b={name:"7pg0cj-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"},y=function(t){return Object(g.b)("span",Object(i.a)({css:b},t))},x={guidance:function(t){var e=t.isSearchable,n=t.isMulti,i=t.tabSelectsValue,r=t.context,o=t.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(t["aria-label"]||"Select"," is focused ").concat(e?",type to refine list":"",", press Down to open the menu, ").concat(n?" 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";default:return""}},onChange:function(t){var e=t.action,n=t.label,i=void 0===n?"":n,r=t.labels,o=t.isDisabled;switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(i,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(t){var e=t.context,n=t.focused,i=t.options,r=t.label,o=void 0===r?"":r,a=t.selectValue,s=t.isDisabled,l=t.isSelected,d=t.isAppleDevice,c=function(t,e){return t&&t.length?"".concat(t.indexOf(e)+1," of ").concat(t.length):""};if("value"===e&&a)return"value ".concat(o," focused, ").concat(c(a,n),".");if("menu"===e&&d){var u=s?" disabled":"",h="".concat(l?" selected":"").concat(u);return"".concat(o).concat(h,", ").concat(c(i,n),".")}return""},onFilter:function(t){var e=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}},_=function(t){var e=t.ariaSelection,n=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,a=t.isFocused,s=t.selectValue,l=t.selectProps,d=t.id,c=t.isAppleDevice,u=l.ariaLiveMessages,h=l.getOptionLabel,f=l.inputValue,m=l.isMulti,v=l.isOptionDisabled,b=l.isSearchable,_=l.menuIsOpen,w=l.options,O=l.screenReaderStatus,$=l.tabSelectsValue,C=l.isLoading,k=l["aria-label"],S=l["aria-live"],j=Object(p.useMemo)((function(){return Object(r.a)(Object(r.a)({},x),u||{})}),[u]),E=Object(p.useMemo)((function(){var t,n="";if(e&&j.onChange){var i=e.option,o=e.options,a=e.removedValue,l=e.removedValues,d=e.value,c=a||i||(t=d,Array.isArray(t)?null:t),u=c?h(c):"",p=o||l||void 0,f=p?p.map(h):[],g=Object(r.a)({isDisabled:c&&v(c,s),label:u,labels:f},e);n=j.onChange(g)}return n}),[e,j,v,s,h]),M=Object(p.useMemo)((function(){var t="",e=n||i,r=!!(n&&s&&s.includes(n));if(e&&j.onFocus){var a={focused:e,label:h(e),isDisabled:v(e,s),isSelected:r,options:o,context:e===n?"menu":"value",selectValue:s,isAppleDevice:c};t=j.onFocus(a)}return t}),[n,i,h,v,j,o,s,c]),A=Object(p.useMemo)((function(){var t="";if(_&&w.length&&!C&&j.onFilter){var e=O({count:o.length});t=j.onFilter({inputValue:f,resultsMessage:e})}return t}),[o,f,_,j,w,O,C]),P="initial-input-focus"===(null==e?void 0:e.action),T=Object(p.useMemo)((function(){var t="";if(j.guidance){var e=i?"value":_?"menu":"input";t=j.guidance({"aria-label":k,context:e,isDisabled:n&&v(n,s),isMulti:m,isSearchable:b,tabSelectsValue:$,isInitialFocus:P})}return t}),[k,n,i,m,v,b,_,j,s,$,P]),L=Object(g.b)(p.Fragment,null,Object(g.b)("span",{id:"aria-selection"},E),Object(g.b)("span",{id:"aria-focused"},M),Object(g.b)("span",{id:"aria-results"},A),Object(g.b)("span",{id:"aria-guidance"},T));return Object(g.b)(p.Fragment,null,Object(g.b)(y,{id:d},P&&L),Object(g.b)(y,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!P&&L))},w=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],O=new RegExp("["+w.map((function(t){return t.letters})).join("")+"]","g"),$={},C=0;C<w.length;C++)for(var k=w[C],S=0;S<k.letters.length;S++)$[k.letters[S]]=k.base;var j=function(t){return t.replace(O,(function(t){return $[t]}))},E=Object(m.a)(j),M=function(t){return t.replace(/^\s+|\s+$/g,"")},A=function(t){return"".concat(t.label," ").concat(t.value)},P=["innerRef"];function T(t){var e=t.innerRef,n=Object(v.a)(t,P),r=Object(f.E)(n,"onExited","in","enter","exit","appear");return Object(g.b)("input",Object(i.a)({ref:e},r,{css:Object(g.a)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var L=["boxSizing","height","overflow","paddingRight","position"],D={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function I(t){t.preventDefault()}function N(t){t.stopPropagation()}function R(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function F(){return"ontouchstart"in window||navigator.maxTouchPoints}var B=!("undefined"==typeof window||!window.document||!window.document.createElement),z=0,H={capture:!1,passive:!1};var W=function(t){var e=t.target;return e.ownerDocument.activeElement&&e.ownerDocument.activeElement.blur()},U={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Y(t){var e=t.children,n=t.lockEnabled,i=t.captureEnabled,r=function(t){var e=t.isEnabled,n=t.onBottomArrive,i=t.onBottomLeave,r=t.onTopArrive,o=t.onTopLeave,a=Object(p.useRef)(!1),s=Object(p.useRef)(!1),l=Object(p.useRef)(0),d=Object(p.useRef)(null),c=Object(p.useCallback)((function(t,e){if(null!==d.current){var l=d.current,c=l.scrollTop,u=l.scrollHeight,h=l.clientHeight,p=d.current,f=e>0,g=u-h-c,m=!1;g>e&&a.current&&(i&&i(t),a.current=!1),f&&s.current&&(o&&o(t),s.current=!1),f&&e>g?(n&&!a.current&&n(t),p.scrollTop=u,m=!0,a.current=!0):!f&&-e>c&&(r&&!s.current&&r(t),p.scrollTop=0,m=!0,s.current=!0),m&&function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()}(t)}}),[n,i,r,o]),u=Object(p.useCallback)((function(t){c(t,t.deltaY)}),[c]),h=Object(p.useCallback)((function(t){l.current=t.changedTouches[0].clientY}),[]),g=Object(p.useCallback)((function(t){var e=l.current-t.changedTouches[0].clientY;c(t,e)}),[c]),m=Object(p.useCallback)((function(t){if(t){var e=!!f.F&&{passive:!1};t.addEventListener("wheel",u,e),t.addEventListener("touchstart",h,e),t.addEventListener("touchmove",g,e)}}),[g,h,u]),v=Object(p.useCallback)((function(t){t&&(t.removeEventListener("wheel",u,!1),t.removeEventListener("touchstart",h,!1),t.removeEventListener("touchmove",g,!1))}),[g,h,u]);return Object(p.useEffect)((function(){if(e){var t=d.current;return m(t),function(){v(t)}}}),[e,m,v]),function(t){d.current=t}}({isEnabled:void 0===i||i,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),o=function(t){var e=t.isEnabled,n=t.accountForScrollbars,i=void 0===n||n,r=Object(p.useRef)({}),o=Object(p.useRef)(null),a=Object(p.useCallback)((function(t){if(B){var e=document.body,n=e&&e.style;if(i&&L.forEach((function(t){var e=n&&n[t];r.current[t]=e})),i&&z<1){var o=parseInt(r.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(D).forEach((function(t){var e=D[t];n&&(n[t]=e)})),n&&(n.paddingRight="".concat(s,"px"))}e&&F()&&(e.addEventListener("touchmove",I,H),t&&(t.addEventListener("touchstart",R,H),t.addEventListener("touchmove",N,H))),z+=1}}),[i]),s=Object(p.useCallback)((function(t){if(B){var e=document.body,n=e&&e.style;z=Math.max(z-1,0),i&&z<1&&L.forEach((function(t){var e=r.current[t];n&&(n[t]=e)})),e&&F()&&(e.removeEventListener("touchmove",I,H),t&&(t.removeEventListener("touchstart",R,H),t.removeEventListener("touchmove",N,H)))}}),[i]);return Object(p.useEffect)((function(){if(e){var t=o.current;return a(t),function(){s(t)}}}),[e,a,s]),function(t){o.current=t}}({isEnabled:n});return Object(g.b)(p.Fragment,null,n&&Object(g.b)("div",{onClick:W,css:U}),e((function(t){r(t),o(t)})))}var G={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},V=function(t){var e=t.name,n=t.onFocus;return Object(g.b)("input",{required:!0,name:e,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:G,value:"",onChange:function(){}})};function X(t){var e;return"undefined"!=typeof window&&null!=window.navigator&&t.test((null===(e=window.navigator.userAgentData)||void 0===e?void 0:e.platform)||window.navigator.platform)}function q(){return X(/^Mac/i)}function K(){return X(/^iPhone/i)||X(/^iPad/i)||q()&&navigator.maxTouchPoints>1}var Z=function(t){return t.label},J=function(t){return t.value},Q={clearIndicator:f.n,container:f.o,control:f.q,dropdownIndicator:f.r,group:f.t,groupHeading:f.s,indicatorsContainer:f.v,indicatorSeparator:f.u,input:f.w,loadingIndicator:f.y,loadingMessage:f.x,menu:f.z,menuList:f.A,menuPortal:f.B,multiValue:f.C,multiValueLabel:f.D,multiValueRemove:f.G,noOptionsMessage:f.H,option:f.I,placeholder:f.J,singleValue:f.K,valueContainer:f.L};var tt,et={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}},nt={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Object(f.M)(),captureMenuScroll:!Object(f.M)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){if(t.data.__isNew__)return!0;var n=Object(r.a)({ignoreCase:!0,ignoreAccents:!0,stringify:A,trim:!0,matchFrom:"any"},tt),i=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,s=n.trim,l=n.matchFrom,d=s?M(e):e,c=s?M(a(t)):a(t);return i&&(d=d.toLowerCase(),c=c.toLowerCase()),o&&(d=E(d),c=j(c)),"start"===l?c.substr(0,d.length)===d:c.indexOf(d)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:Z,getOptionValue:J,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(t){return!!t.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Object(f.a)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function it(t,e,n,i){return{type:"option",data:e,isDisabled:ut(t,e,n),isSelected:ht(t,e,n),label:dt(t,e),value:ct(t,e),index:i}}function rt(t,e){return t.options.map((function(n,i){if("options"in n){var r=n.options.map((function(n,i){return it(t,n,e,i)})).filter((function(e){return st(t,e)}));return r.length>0?{type:"group",data:n,options:r,index:i}:void 0}var o=it(t,n,e,i);return st(t,o)?o:void 0})).filter(f.k)}function ot(t){return t.reduce((function(t,e){return"group"===e.type?t.push.apply(t,Object(h.a)(e.options.map((function(t){return t.data})))):t.push(e.data),t}),[])}function at(t,e){return t.reduce((function(t,n){return"group"===n.type?t.push.apply(t,Object(h.a)(n.options.map((function(t){return{data:t.data,id:"".concat(e,"-").concat(n.index,"-").concat(t.index)}})))):t.push({data:n.data,id:"".concat(e,"-").concat(n.index)}),t}),[])}function st(t,e){var n=t.inputValue,i=void 0===n?"":n,r=e.data,o=e.isSelected,a=e.label,s=e.value;return(!ft(t)||!o)&&pt(t,{label:a,value:s,data:r},i)}var lt=function(t,e){var n;return(null===(n=t.find((function(t){return t.data===e})))||void 0===n?void 0:n.id)||null},dt=function(t,e){return t.getOptionLabel(e)},ct=function(t,e){return t.getOptionValue(e)};function ut(t,e,n){return"function"==typeof t.isOptionDisabled&&t.isOptionDisabled(e,n)}function ht(t,e,n){if(n.indexOf(e)>-1)return!0;if("function"==typeof t.isOptionSelected)return t.isOptionSelected(e,n);var i=ct(t,e);return n.some((function(e){return ct(t,e)===i}))}function pt(t,e,n){return!t.filterOption||t.filterOption(e,n)}var ft=function(t){var e=t.hideSelectedOptions,n=t.isMulti;return void 0===e?n:e},gt=1,mt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(d,t);var e,n,o,l=u(d);function d(t){var e;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(e=l.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},e.blockOptionHover=!1,e.isComposing=!1,e.commonProps=void 0,e.initialTouchX=0,e.initialTouchY=0,e.openAfterFocus=!1,e.scrollToFocusedOptionOnUpdate=!1,e.userIsDragging=void 0,e.isAppleDevice=q()||K(),e.controlRef=null,e.getControlRef=function(t){e.controlRef=t},e.focusedOptionRef=null,e.getFocusedOptionRef=function(t){e.focusedOptionRef=t},e.menuListRef=null,e.getMenuListRef=function(t){e.menuListRef=t},e.inputRef=null,e.getInputRef=function(t){e.inputRef=t},e.focus=e.focusInput,e.blur=e.blurInput,e.onChange=function(t,n){var i=e.props,r=i.onChange,o=i.name;n.name=o,e.ariaOnChange(t,n),r(t,n)},e.setValue=function(t,n,i){var r=e.props,o=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;e.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(e.setState({inputIsHiddenAfterUpdate:!a}),e.onMenuClose()),e.setState({clearFocusValueOnUpdate:!0}),e.onChange(t,{action:n,option:i})},e.selectOption=function(t){var n=e.props,i=n.blurInputOnSelect,r=n.isMulti,o=n.name,a=e.state.selectValue,s=r&&e.isOptionSelected(t,a),l=e.isOptionDisabled(t,a);if(s){var d=e.getOptionValue(t);e.setValue(Object(f.b)(a.filter((function(t){return e.getOptionValue(t)!==d}))),"deselect-option",t)}else{if(l)return void e.ariaOnChange(Object(f.c)(t),{action:"select-option",option:t,name:o});r?e.setValue(Object(f.b)([].concat(Object(h.a)(a),[t])),"select-option",t):e.setValue(Object(f.c)(t),"select-option")}i&&e.blurInput()},e.removeValue=function(t){var n=e.props.isMulti,i=e.state.selectValue,r=e.getOptionValue(t),o=i.filter((function(t){return e.getOptionValue(t)!==r})),a=Object(f.d)(n,o,o[0]||null);e.onChange(a,{action:"remove-value",removedValue:t}),e.focusInput()},e.clearValue=function(){var t=e.state.selectValue;e.onChange(Object(f.d)(e.props.isMulti,[],null),{action:"clear",removedValues:t})},e.popValue=function(){var t=e.props.isMulti,n=e.state.selectValue,i=n[n.length-1],r=n.slice(0,n.length-1),o=Object(f.d)(t,r,r[0]||null);e.onChange(o,{action:"pop-value",removedValue:i})},e.getFocusedOptionId=function(t){return lt(e.state.focusableOptionsWithIds,t)},e.getFocusableOptionsWithIds=function(){return at(rt(e.props,e.state.selectValue),e.getElementId("option"))},e.getValue=function(){return e.state.selectValue},e.cx=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return f.e.apply(void 0,[e.props.classNamePrefix].concat(n))},e.getOptionLabel=function(t){return dt(e.props,t)},e.getOptionValue=function(t){return ct(e.props,t)},e.getStyles=function(t,n){var i=e.props.unstyled,r=Q[t](n,i);r.boxSizing="border-box";var o=e.props.styles[t];return o?o(r,n):r},e.getClassNames=function(t,n){var i,r;return null===(i=(r=e.props.classNames)[t])||void 0===i?void 0:i.call(r,n)},e.getElementId=function(t){return"".concat(e.state.instancePrefix,"-").concat(t)},e.getComponents=function(){return Object(f.f)(e.props)},e.buildCategorizedOptions=function(){return rt(e.props,e.state.selectValue)},e.getCategorizedOptions=function(){return e.props.menuIsOpen?e.buildCategorizedOptions():[]},e.buildFocusableOptions=function(){return ot(e.buildCategorizedOptions())},e.getFocusableOptions=function(){return e.props.menuIsOpen?e.buildFocusableOptions():[]},e.ariaOnChange=function(t,n){e.setState({ariaSelection:Object(r.a)({value:t},n)})},e.onMenuMouseDown=function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),e.focusInput())},e.onMenuMouseMove=function(t){e.blockOptionHover=!1},e.onControlMouseDown=function(t){if(!t.defaultPrevented){var n=e.props.openMenuOnClick;e.state.isFocused?e.props.menuIsOpen?"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&e.onMenuClose():n&&e.openMenu("first"):(n&&(e.openAfterFocus=!0),e.focusInput()),"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&t.preventDefault()}},e.onDropdownIndicatorMouseDown=function(t){if(!(t&&"mousedown"===t.type&&0!==t.button||e.props.isDisabled)){var n=e.props,i=n.isMulti,r=n.menuIsOpen;e.focusInput(),r?(e.setState({inputIsHiddenAfterUpdate:!i}),e.onMenuClose()):e.openMenu("first"),t.preventDefault()}},e.onClearIndicatorMouseDown=function(t){t&&"mousedown"===t.type&&0!==t.button||(e.clearValue(),t.preventDefault(),e.openAfterFocus=!1,"touchend"===t.type?e.focusInput():setTimeout((function(){return e.focusInput()})))},e.onScroll=function(t){"boolean"==typeof e.props.closeMenuOnScroll?t.target instanceof HTMLElement&&Object(f.g)(t.target)&&e.props.onMenuClose():"function"==typeof e.props.closeMenuOnScroll&&e.props.closeMenuOnScroll(t)&&e.props.onMenuClose()},e.onCompositionStart=function(){e.isComposing=!0},e.onCompositionEnd=function(){e.isComposing=!1},e.onTouchStart=function(t){var n=t.touches,i=n&&n.item(0);i&&(e.initialTouchX=i.clientX,e.initialTouchY=i.clientY,e.userIsDragging=!1)},e.onTouchMove=function(t){var n=t.touches,i=n&&n.item(0);if(i){var r=Math.abs(i.clientX-e.initialTouchX),o=Math.abs(i.clientY-e.initialTouchY);e.userIsDragging=r>5||o>5}},e.onTouchEnd=function(t){e.userIsDragging||(e.controlRef&&!e.controlRef.contains(t.target)&&e.menuListRef&&!e.menuListRef.contains(t.target)&&e.blurInput(),e.initialTouchX=0,e.initialTouchY=0)},e.onControlTouchEnd=function(t){e.userIsDragging||e.onControlMouseDown(t)},e.onClearIndicatorTouchEnd=function(t){e.userIsDragging||e.onClearIndicatorMouseDown(t)},e.onDropdownIndicatorTouchEnd=function(t){e.userIsDragging||e.onDropdownIndicatorMouseDown(t)},e.handleInputChange=function(t){var n=e.props.inputValue,i=t.currentTarget.value;e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange(i,{action:"input-change",prevInputValue:n}),e.props.menuIsOpen||e.onMenuOpen()},e.onInputFocus=function(t){e.props.onFocus&&e.props.onFocus(t),e.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(e.openAfterFocus||e.props.openMenuOnFocus)&&e.openMenu("first"),e.openAfterFocus=!1},e.onInputBlur=function(t){var n=e.props.inputValue;e.menuListRef&&e.menuListRef.contains(document.activeElement)?e.inputRef.focus():(e.props.onBlur&&e.props.onBlur(t),e.onInputChange("",{action:"input-blur",prevInputValue:n}),e.onMenuClose(),e.setState({focusedValue:null,isFocused:!1}))},e.onOptionHover=function(t){if(!e.blockOptionHover&&e.state.focusedOption!==t){var n=e.getFocusableOptions().indexOf(t);e.setState({focusedOption:t,focusedOptionId:n>-1?e.getFocusedOptionId(t):null})}},e.shouldHideSelectedOptions=function(){return ft(e.props)},e.onValueInputFocus=function(t){t.preventDefault(),t.stopPropagation(),e.focus()},e.onKeyDown=function(t){var n=e.props,i=n.isMulti,r=n.backspaceRemovesValue,o=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,l=n.isDisabled,d=n.menuIsOpen,c=n.onKeyDown,u=n.tabSelectsValue,h=n.openMenuOnFocus,p=e.state,f=p.focusedOption,g=p.focusedValue,m=p.selectValue;if(!(l||"function"==typeof c&&(c(t),t.defaultPrevented))){switch(e.blockOptionHover=!0,t.key){case"ArrowLeft":if(!i||a)return;e.focusValue("previous");break;case"ArrowRight":if(!i||a)return;e.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)e.removeValue(g);else{if(!r)return;i?e.popValue():s&&e.clearValue()}break;case"Tab":if(e.isComposing)return;if(t.shiftKey||!d||!u||!f||h&&e.isOptionSelected(f,m))return;e.selectOption(f);break;case"Enter":if(229===t.keyCode)break;if(d){if(!f)return;if(e.isComposing)return;e.selectOption(f);break}return;case"Escape":d?(e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange("",{action:"menu-close",prevInputValue:a}),e.onMenuClose()):s&&o&&e.clearValue();break;case" ":if(a)return;if(!d){e.openMenu("first");break}if(!f)return;e.selectOption(f);break;case"ArrowUp":d?e.focusOption("up"):e.openMenu("last");break;case"ArrowDown":d?e.focusOption("down"):e.openMenu("first");break;case"PageUp":if(!d)return;e.focusOption("pageup");break;case"PageDown":if(!d)return;e.focusOption("pagedown");break;case"Home":if(!d)return;e.focusOption("first");break;case"End":if(!d)return;e.focusOption("last");break;default:return}t.preventDefault()}},e.state.instancePrefix="react-select-"+(e.props.instanceId||++gt),e.state.selectValue=Object(f.h)(t.value),t.menuIsOpen&&e.state.selectValue.length){var n=e.getFocusableOptionsWithIds(),i=e.buildFocusableOptions(),o=i.indexOf(e.state.selectValue[0]);e.state.focusableOptionsWithIds=n,e.state.focusedOption=i[o],e.state.focusedOptionId=lt(n,i[o])}return e}return e=d,o=[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,i=e.clearFocusValueOnUpdate,o=e.inputIsHiddenAfterUpdate,a=e.ariaSelection,s=e.isFocused,l=e.prevWasFocused,d=e.instancePrefix,c=t.options,u=t.value,h=t.menuIsOpen,p=t.inputValue,g=t.isMulti,m=Object(f.h)(u),v={};if(n&&(u!==n.value||c!==n.options||h!==n.menuIsOpen||p!==n.inputValue)){var b=h?function(t,e){return ot(rt(t,e))}(t,m):[],y=h?at(rt(t,m),"".concat(d,"-option")):[],x=i?function(t,e){var n=t.focusedValue,i=t.selectValue.indexOf(n);if(i>-1){if(e.indexOf(n)>-1)return n;if(i<e.length)return e[i]}return null}(e,m):null,_=function(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}(e,b);v={selectValue:m,focusedOption:_,focusedOptionId:lt(y,_),focusableOptionsWithIds:y,focusedValue:x,clearFocusValueOnUpdate:!1}}var w=null!=o&&t!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},O=a,$=s&&l;return s&&!$&&(O={value:Object(f.d)(g,m,m[0]||null),options:m,action:"initial-input-focus"},$=!l),"initial-input-focus"===(null==a?void 0:a.action)&&(O=null),Object(r.a)(Object(r.a)(Object(r.a)({},v),w),{},{prevProps:t,ariaSelection:O,prevWasFocused:$})}}],(n=[{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(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Object(f.i)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,i=e.menuIsOpen,r=this.state.isFocused;(r&&!n&&t.isDisabled||r&&i&&!t.menuIsOpen)&&this.focusInput(),r&&n&&!t.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!t.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Object(f.i)(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(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this,n=this.state,i=n.selectValue,r=n.isFocused,o=this.buildFocusableOptions(),a="first"===t?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},(function(){return e.onMenuOpen()}))}},{key:"focusValue",value:function(t){var e=this.state,n=e.selectValue,i=e.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(i);i||(r=-1);var o=n.length-1,a=-1;if(n.length){switch(t){case"previous":a=0===r?0:-1===r?o:r-1;break;case"next":r>-1&&r<o&&(a=r+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state.focusedOption,i=this.getFocusableOptions();if(i.length){var r=0,o=i.indexOf(n);n||(o=-1),"up"===t?r=o>0?o-1:i.length-1:"down"===t?r=(o+1)%i.length:"pageup"===t?(r=o-e)<0&&(r=0):"pagedown"===t?(r=o+e)>i.length-1&&(r=i.length-1):"last"===t&&(r=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(et):Object(r.a)(Object(r.a)({},et),this.props.theme):et}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.cx,n=this.getStyles,i=this.getClassNames,r=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,d=s.isRtl,c=s.options;return{clearValue:t,cx:e,getStyles:n,getClassNames:i,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:d,options:c,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return ut(this.props,t,e)}},{key:"isOptionSelected",value:function(t,e){return ht(this.props,t,e)}},{key:"filterOption",value:function(t,e){return pt(this.props,t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:i})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{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:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,o=t.inputId,a=t.inputValue,s=t.tabIndex,l=t.form,d=t.menuIsOpen,c=t.required,u=this.getComponents().Input,h=this.state,g=h.inputIsHidden,m=h.ariaSelection,v=this.commonProps,b=o||this.getElementId("input"),y=Object(r.a)(Object(r.a)(Object(r.a)({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?p.createElement(u,Object(i.a)({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:b,innerRef:this.getInputRef,isDisabled:e,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:a},y)):p.createElement(T,Object(i.a)({id:b,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:f.j,onFocus:this.onInputFocus,disabled:e,tabIndex:s,inputMode:"none",form:l,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.getComponents(),n=e.MultiValue,r=e.MultiValueContainer,o=e.MultiValueLabel,a=e.MultiValueRemove,s=e.SingleValue,l=e.Placeholder,d=this.commonProps,c=this.props,u=c.controlShouldRenderValue,h=c.isDisabled,f=c.isMulti,g=c.inputValue,m=c.placeholder,v=this.state,b=v.selectValue,y=v.focusedValue,x=v.isFocused;if(!this.hasValue()||!u)return g?null:p.createElement(l,Object(i.a)({},d,{key:"placeholder",isDisabled:h,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),m);if(f)return b.map((function(e,s){var l=e===y,c="".concat(t.getOptionLabel(e),"-").concat(t.getOptionValue(e));return p.createElement(n,Object(i.a)({},d,{components:{Container:r,Label:o,Remove:a},isFocused:l,isDisabled:h,key:c,index:s,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault()}},data:e}),t.formatOptionLabel(e,"value"))}));if(g)return null;var _=b[0];return p.createElement(s,Object(i.a)({},d,{data:_,isDisabled:h}),this.formatOptionLabel(_,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(t,Object(i.a)({},e,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;return t&&o?p.createElement(t,Object(i.a)({},e,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return p.createElement(n,Object(i.a)({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(t,Object(i.a)({},e,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,e=this.getComponents(),n=e.Group,r=e.GroupHeading,o=e.Menu,a=e.MenuList,s=e.MenuPortal,l=e.LoadingMessage,d=e.NoOptionsMessage,c=e.Option,u=this.commonProps,h=this.state.focusedOption,g=this.props,m=g.captureMenuScroll,v=g.inputValue,b=g.isLoading,y=g.loadingMessage,x=g.minMenuHeight,_=g.maxMenuHeight,w=g.menuIsOpen,O=g.menuPlacement,$=g.menuPosition,C=g.menuPortalTarget,k=g.menuShouldBlockScroll,S=g.menuShouldScrollIntoView,j=g.noOptionsMessage,E=g.onMenuScrollToTop,M=g.onMenuScrollToBottom;if(!w)return null;var A,P=function(e,n){var r=e.type,o=e.data,a=e.isDisabled,s=e.isSelected,l=e.label,d=e.value,f=h===o,g=a?void 0:function(){return t.onOptionHover(o)},m=a?void 0:function(){return t.selectOption(o)},v="".concat(t.getElementId("option"),"-").concat(n),b={id:v,onClick:m,onMouseMove:g,onMouseOver:g,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:s};return p.createElement(c,Object(i.a)({},u,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:v,label:l,type:r,value:d,isFocused:f,innerRef:f?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())A=this.getCategorizedOptions().map((function(e){if("group"===e.type){var o=e.data,a=e.options,s=e.index,l="".concat(t.getElementId("group"),"-").concat(s),d="".concat(l,"-heading");return p.createElement(n,Object(i.a)({},u,{key:l,data:o,options:a,Heading:r,headingProps:{id:d,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map((function(t){return P(t,"".concat(s,"-").concat(t.index))})))}if("option"===e.type)return P(e,"".concat(e.index))}));else if(b){var T=y({inputValue:v});if(null===T)return null;A=p.createElement(l,u,T)}else{var L=j({inputValue:v});if(null===L)return null;A=p.createElement(d,u,L)}var D={minMenuHeight:x,maxMenuHeight:_,menuPlacement:O,menuPosition:$,menuShouldScrollIntoView:S},I=p.createElement(f.m,Object(i.a)({},u,D),(function(e){var n=e.ref,r=e.placerProps,s=r.placement,l=r.maxHeight;return p.createElement(o,Object(i.a)({},u,D,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:b,placement:s}),p.createElement(Y,{captureEnabled:m,onTopArrive:E,onBottomArrive:M,lockEnabled:k},(function(e){return p.createElement(a,Object(i.a)({},u,{innerRef:function(n){t.getMenuListRef(n),e(n)},innerProps:{role:"listbox","aria-multiselectable":u.isMulti,id:t.getElementId("listbox")},isLoading:b,maxHeight:l,focusedOption:h}),A)})))}));return C||"fixed"===$?p.createElement(s,Object(i.a)({},u,{appendTo:C,controlElement:this.controlRef,menuPlacement:O,menuPosition:$}),I):I}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,i=e.isDisabled,r=e.isMulti,o=e.name,a=e.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!i)return p.createElement(V,{name:o,onFocus:this.onValueInputFocus});if(o&&!i){if(r){if(n){var l=s.map((function(e){return t.getOptionValue(e)})).join(n);return p.createElement("input",{name:o,type:"hidden",value:l})}var d=s.length>0?s.map((function(e,n){return p.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:t.getOptionValue(e)})})):p.createElement("input",{name:o,type:"hidden",value:""});return p.createElement("div",null,d)}var c=s[0]?this.getOptionValue(s[0]):"";return p.createElement("input",{name:o,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,e=this.state,n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,a=e.isFocused,s=e.selectValue,l=this.getFocusableOptions();return p.createElement(_,Object(i.a)({},t,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var t=this.getComponents(),e=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,o=t.ValueContainer,a=this.props,s=a.className,l=a.id,d=a.isDisabled,c=a.menuIsOpen,u=this.state.isFocused,h=this.commonProps=this.getCommonProps();return p.createElement(r,Object(i.a)({},h,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:d,isFocused:u}),this.renderLiveRegion(),p.createElement(e,Object(i.a)({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:d,isFocused:u,menuIsOpen:c}),p.createElement(o,Object(i.a)({},h,{isDisabled:d}),this.renderPlaceholderOrValue(),this.renderInput()),p.createElement(n,Object(i.a)({},h,{isDisabled:d}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}])&&a(e.prototype,n),o&&a(e,o),Object.defineProperty(e,"prototype",{writable:!1}),d}(p.Component);mt.defaultProps=nt},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(16);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.data,u=void 0===c?{}:c,h=t.htmlOptions,p=void 0===h?{}:h,f=t.id,g=t.lineStyle,m=void 0===g?"solid":g,v=t.orientation,b=void 0===v?"horizontal":v,y=t.text,x=t.dark,_=void 0!==x&&x,w=t.variant,O=void 0===w?"card":w,$=Object(s.a)(n),C=Object(s.c)(u),k=Object(s.d)(p),S=a()(Object(s.b)("pb_section_separator_kit",O,b,"dashed"===m?m:""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},$,C,k,{className:S,id:f}),i&&i||y&&r.a.createElement("span",null,r.a.createElement(d.a,{dark:_,text:y})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(37);function r(t){return Object(i.a)(t).getComputedStyle(t)}},function(t,e,n){"use strict";function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}n.d(e,"a",(function(){return p}));var l=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;o(this,t),this.matchDelegate=e,this.target=n}var e,n,r;return e=t,(n=[{key:"mutationObserver",get:function(){var t=this;return this._mutationObserver=this._mutationObserver||new MutationObserver((function(e){return t.processMutationList(e)}))}},{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(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;"attributes"==r.type?this.processAttributeChange(r.target):"childList"==r.type&&(this.processRemovedNodes(Array.from(r.removedNodes)),this.processAddedNodes(Array.from(r.addedNodes)))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAttributeChange",value:function(t){if(t.nodeType===Node.ELEMENT_NODE){var e=this.matchDelegate.matches(t);if(0===e.length)return this.matchDelegate.removeMatch(t);this.handleAdditions(e)}}},{key:"processRemovedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleRemovals(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"processAddedNodes",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.nodeType===Node.ELEMENT_NODE&&this.handleAdditions(this.matchDelegate.matches(r))}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleRemovals",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.removeMatch(r)}}catch(t){n.e(t)}finally{n.f()}}},{key:"handleAdditions",value:function(t){var e,n=i(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.matchDelegate.addMatch(r)}}catch(t){n.e(t)}finally{n.f()}}}])&&a(e.prototype,n),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function d(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,h(i.key),i)}}function h(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}var p=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=e}var e,n,i;return e=t,i=[{key:"elements",get:function(){return this._elements=this._elements||new Map}},{key:"observer",get:function(){return this._observer=this._observer||new l(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(t){if(!this.selector)return[];var e=[];return t.nodeType===Node.ELEMENT_NODE&&t.matches(this.selector)&&e.push(t),e.push.apply(e,d(t.querySelectorAll(this.selector))),e}},{key:"addMatch",value:function(t){if(!t._pbEnhanced&&!this.elements.has(t)){var e=new this(t);e.connect(),this.elements.set(t,e),t._pbEnhanced=e}}},{key:"removeMatch",value:function(t){this.elements.has(t)&&(this.elements.get(t).disconnect(),this.elements.delete(t))}},{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(e.prototype,n),i&&u(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}()},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(5);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.dark,c=void 0!==o&&o,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.icon,m=t.id,v=t.size,b=void 0===v?"md":v,y=t.variant,x=void 0===y?"default":y,_=Object(s.a)(n),w=Object(s.c)(h),O=Object(s.d)(f),$=a()(Object(s.b)("pb_icon_circle_kit","size_".concat(b),x),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},_,w,O,{className:$,id:m}),r.a.createElement(d.a,{dark:c,icon:g}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return f})),n.d(e,"h",(function(){return v})),n.d(e,"i",(function(){return g})),n.d(e,"j",(function(){return m})),n.d(e,"k",(function(){return b}));var i=n(7);function r(t,e,n){let{reference:r,floating:o}=t;const a=Object(i.p)(e),s=Object(i.f)(e),l=Object(i.h)(s),d=Object(i.o)(e),c="y"===a,u=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;let f;switch(d){case"top":f={x:u,y:r.y-o.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:h};break;case"left":f={x:r.x-o.width,y:h};break;default:f={x:r.x,y:r.y}}switch(Object(i.e)(e)){case"start":f[s]-=p*(n&&c?-1:1);break;case"end":f[s]+=p*(n&&c?-1:1)}return f}const o=async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,l=a.filter(Boolean),d=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=r(c,i,d),p=i,f={},g=0;for(let n=0;n<l.length;n++){const{name:a,fn:m}=l[n],{x:v,y:b,data:y,reset:x}=await m({x:u,y:h,initialPlacement:i,placement:p,strategy:o,middlewareData:f,rects:c,platform:s,elements:{reference:t,floating:e}});u=null!=v?v:u,h=null!=b?b:h,f={...f,[a]:{...f[a],...y}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):x.rects),({x:u,y:h}=r(c,p,d))),n=-1)}return{x:u,y:h,placement:p,strategy:o,middlewareData:f}};async function a(t,e){var n;void 0===e&&(e={});const{x:r,y:o,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=Object(i.c)(e,t),g=Object(i.n)(f),m=l[p?"floating"===h?"reference":"floating":h],v=Object(i.t)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(m)))||n?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:d})),b="floating"===h?{...s.floating,x:r,y:o}:s.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},_=Object(i.t)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:y,strategy:d}):b);return{top:(v.top-_.top+g.top)/x.y,bottom:(_.bottom-v.bottom+g.bottom)/x.y,left:(v.left-_.left+g.left)/x.x,right:(_.right-v.right+g.right)/x.x}}const s=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:a,platform:s,elements:l,middlewareData:d}=e,{element:c,padding:u=0}=Object(i.c)(t,e)||{};if(null==c)return{};const h=Object(i.n)(u),p={x:n,y:r},f=Object(i.f)(o),g=Object(i.h)(f),m=await s.getDimensions(c),v="y"===f,b=v?"top":"left",y=v?"bottom":"right",x=v?"clientHeight":"clientWidth",_=a.reference[g]+a.reference[f]-p[f]-a.floating[g],w=p[f]-a.reference[f],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let $=O?O[x]:0;$&&await(null==s.isElement?void 0:s.isElement(O))||($=l.floating[x]||a.floating[g]);const C=_/2-w/2,k=$/2-m[g]/2-1,S=Object(i.r)(h[b],k),j=Object(i.r)(h[y],k),E=S,M=$-m[g]-j,A=$/2-m[g]/2+C,P=Object(i.a)(E,A,M),T=!d.arrow&&null!=Object(i.e)(o)&&A!=P&&a.reference[g]/2-(A<E?S:j)-m[g]/2<0,L=T?A<E?A-E:A-M:0;return{[f]:p[f]+L,data:{[f]:P,centerOffset:A-P-L,...T&&{alignmentOffset:L}},reset:T}}});const l=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o;const{rects:s,middlewareData:l,placement:d,platform:c,elements:u}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:f=i.s,autoAlignment:g=!0,...m}=Object(i.c)(t,e),v=void 0!==p||f===i.s?function(t,e,n){return(t?[...n.filter(e=>Object(i.e)(e)===t),...n.filter(e=>Object(i.e)(e)!==t)]:n.filter(t=>Object(i.o)(t)===t)).filter(n=>!t||(Object(i.e)(n)===t||!!e&&Object(i.j)(n)!==n))}(p||null,g,f):f,b=await a(e,m),y=(null==(n=l.autoPlacement)?void 0:n.index)||0,x=v[y];if(null==x)return{};const _=Object(i.g)(x,s,await(null==c.isRTL?void 0:c.isRTL(u.floating)));if(d!==x)return{reset:{placement:v[0]}};const w=[b[Object(i.o)(x)],b[_[0]],b[_[1]]],O=[...(null==(r=l.autoPlacement)?void 0:r.overflows)||[],{placement:x,overflows:w}],$=v[y+1];if($)return{data:{index:y+1,overflows:O},reset:{placement:$}};const C=O.map(t=>{const e=Object(i.e)(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),k=(null==(o=C.filter(t=>t[2].slice(0,Object(i.e)(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||C[0][0];return k!==d?{data:{index:y+1,overflows:O},reset:{placement:k}}:{}}}},d=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:s,rects:l,initialPlacement:d,platform:c,elements:u}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:v=!0,...b}=Object(i.c)(t,e);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const y=Object(i.o)(o),x=Object(i.o)(d)===d,_=await(null==c.isRTL?void 0:c.isRTL(u.floating)),w=f||(x||!v?[Object(i.m)(d)]:Object(i.i)(d));f||"none"===m||w.push(...Object(i.l)(d,v,m,_));const O=[d,...w],$=await a(e,b),C=[];let k=(null==(r=s.flip)?void 0:r.overflows)||[];if(h&&C.push($[y]),p){const t=Object(i.g)(o,l,_);C.push($[t[0]],$[t[1]])}if(k=[...k,{placement:o,overflows:C}],!C.every(t=>t<=0)){var S,j;const t=((null==(S=s.flip)?void 0:S.index)||0)+1,e=O[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let n=null==(j=k.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:j.placement;if(!n)switch(g){case"bestFit":{var E;const t=null==(E=k.map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:E[0];t&&(n=t);break}case"initialPlacement":n=d}if(o!==n)return{reset:{placement:n}}}return{}}}};function c(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function u(t){return i.v.some(e=>t[e]>=0)}const h=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Object(i.c)(t,e);switch(r){case"referenceHidden":{const t=c(await a(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:u(t)}}}case"escaped":{const t=c(await a(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:u(t)}}}default:return{}}}}};function p(t){const e=Object(i.r)(...t.map(t=>t.left)),n=Object(i.r)(...t.map(t=>t.top));return{x:e,y:n,width:Object(i.q)(...t.map(t=>t.right))-e,height:Object(i.q)(...t.map(t=>t.bottom))-n}}const f=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:r,rects:o,platform:a,strategy:s}=e,{padding:l=2,x:d,y:c}=Object(i.c)(t,e),u=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(r.reference))||[]),h=function(t){const e=t.slice().sort((t,e)=>t.y-e.y),n=[];let r=null;for(let t=0;t<e.length;t++){const i=e[t];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(t=>Object(i.t)(p(t)))}(u),f=Object(i.t)(p(u)),g=Object(i.n)(l);const m=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=d&&null!=c)return h.find(t=>d>t.left-g.left&&d<t.right+g.right&&c>t.top-g.top&&c<t.bottom+g.bottom)||f;if(h.length>=2){if("y"===Object(i.p)(n)){const t=h[0],e=h[h.length-1],r="top"===Object(i.o)(n),o=t.top,a=e.bottom,s=r?t.left:e.left,l=r?t.right:e.right;return{top:o,bottom:a,left:s,right:l,width:l-s,height:a-o,x:s,y:o}}const t="left"===Object(i.o)(n),e=Object(i.q)(...h.map(t=>t.right)),r=Object(i.r)(...h.map(t=>t.left)),o=h.filter(n=>t?n.left===r:n.right===e),a=o[0].top,s=o[o.length-1].bottom;return{top:a,bottom:s,left:r,right:e,width:e-r,height:s-a,x:r,y:a}}return f}},floating:r.floating,strategy:s});return o.reference.x!==m.reference.x||o.reference.y!==m.reference.y||o.reference.width!==m.reference.width||o.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};const g=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:a,placement:s,middlewareData:l}=e,d=await async function(t,e){const{placement:n,platform:r,elements:o}=t,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=Object(i.o)(n),l=Object(i.e)(n),d="y"===Object(i.p)(n),c=["left","top"].includes(s)?-1:1,u=a&&d?-1:1,h=Object(i.c)(e,t);let{mainAxis:p,crossAxis:f,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&"number"==typeof g&&(f="end"===l?-1*g:g),d?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(e,t);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+d.x,y:a+d.y,data:{...d,placement:s}}}}},m=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=Object(i.c)(t,e),u={x:n,y:r},h=await a(e,c),p=Object(i.p)(Object(i.o)(o)),f=Object(i.k)(p);let g=u[f],m=u[p];if(s){const t="y"===f?"bottom":"right",e=g+h["y"===f?"top":"left"],n=g-h[t];g=Object(i.a)(e,g,n)}if(l){const t="y"===p?"bottom":"right",e=m+h["y"===p?"top":"left"],n=m-h[t];m=Object(i.a)(e,m,n)}const v=d.fn({...e,[f]:g,[p]:m});return{...v,data:{x:v.x-n,y:v.y-r}}}}},v=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:a,middlewareData:s}=e,{offset:l=0,mainAxis:d=!0,crossAxis:c=!0}=Object(i.c)(t,e),u={x:n,y:r},h=Object(i.p)(o),p=Object(i.k)(h);let f=u[p],g=u[h];const m=Object(i.c)(l,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const t="y"===p?"height":"width",e=a.reference[p]-a.floating[t]+v.mainAxis,n=a.reference[p]+a.reference[t]-v.mainAxis;f<e?f=e:f>n&&(f=n)}if(c){var b,y;const t="y"===p?"width":"height",e=["top","left"].includes(Object(i.o)(o)),n=a.reference[h]-a.floating[t]+(e&&(null==(b=s.offset)?void 0:b[h])||0)+(e?0:v.crossAxis),r=a.reference[h]+a.reference[t]+(e?0:(null==(y=s.offset)?void 0:y[h])||0)-(e?v.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[p]:f,[h]:g}}}},b=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:s}=e,{apply:l=(()=>{}),...d}=Object(i.c)(t,e),c=await a(e,d),u=Object(i.o)(n),h=Object(i.e)(n),p="y"===Object(i.p)(n),{width:f,height:g}=r.floating;let m,v;"top"===u||"bottom"===u?(m=u,v=h===(await(null==o.isRTL?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(v=u,m="end"===h?"top":"bottom");const b=g-c[m],y=f-c[v],x=!e.middlewareData.shift;let _=b,w=y;if(p){const t=f-c.left-c.right;w=h||x?Object(i.r)(y,t):t}else{const t=g-c.top-c.bottom;_=h||x?Object(i.r)(b,t):t}if(x&&!h){const t=Object(i.q)(c.left,0),e=Object(i.q)(c.right,0),n=Object(i.q)(c.top,0),r=Object(i.q)(c.bottom,0);p?w=f-2*(0!==t||0!==e?t+e:Object(i.q)(c.left,c.right)):_=g-2*(0!==n||0!==r?n+r:Object(i.q)(c.top,c.bottom))}await l({...e,availableWidth:w,availableHeight:_});const O=await o.getDimensions(s.floating);return f!==O.width||g!==O.height?{reset:{rects:!0}}:{}}}}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return $}));var i=n(11),r=n(37),o=n(48),a=n(105),s=n(161);var l=n(54),d=n(106),c=n(34);var u=n(114),h=n(76),p=n(28),f=n(70),g=n(87),m=n(162),v=n(45);function b(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function y(t,e,n){return e===i.o?b(function(t,e){var n=Object(r.a)(t),i=Object(o.a)(t),l=n.visualViewport,d=i.clientWidth,c=i.clientHeight,u=0,h=0;if(l){d=l.width,c=l.height;var p=Object(s.a)();(p||!p&&"fixed"===e)&&(u=l.offsetLeft,h=l.offsetTop)}return{width:d,height:c,x:u+Object(a.a)(t),y:h}}(t,n)):Object(p.a)(e)?function(t,e){var n=Object(f.a)(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):b(function(t){var e,n=Object(o.a)(t),i=Object(d.a)(t),r=null==(e=t.ownerDocument)?void 0:e.body,s=Object(c.a)(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),u=Object(c.a)(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),h=-i.scrollLeft+Object(a.a)(t),p=-i.scrollTop;return"rtl"===Object(l.a)(r||n).direction&&(h+=Object(c.a)(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:u,x:h,y:p}}(Object(o.a)(t)))}function x(t,e,n,i){var r="clippingParents"===e?function(t){var e=Object(u.a)(Object(g.a)(t)),n=["absolute","fixed"].indexOf(Object(l.a)(t).position)>=0&&Object(p.b)(t)?Object(h.a)(t):t;return Object(p.a)(n)?e.filter((function(t){return Object(p.a)(t)&&Object(m.a)(t,n)&&"body"!==Object(v.a)(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(e,n){var r=y(t,n,i);return e.top=Object(c.a)(r.top,e.top),e.right=Object(c.b)(r.right,e.right),e.bottom=Object(c.b)(r.bottom,e.bottom),e.left=Object(c.a)(r.left,e.left),e}),y(t,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var _=n(155),w=n(158),O=n(160);function $(t,e){void 0===e&&(e={});var n=e,r=n.placement,a=void 0===r?t.placement:r,s=n.strategy,l=void 0===s?t.strategy:s,d=n.boundary,c=void 0===d?i.d:d,u=n.rootBoundary,h=void 0===u?i.o:u,g=n.elementContext,m=void 0===g?i.i:g,v=n.altBoundary,y=void 0!==v&&v,$=n.padding,C=void 0===$?0:$,k=Object(w.a)("number"!=typeof C?C:Object(O.a)(C,i.b)),S=m===i.i?i.j:i.i,j=t.rects.popper,E=t.elements[y?S:m],M=x(Object(p.a)(E)?E:E.contextElement||Object(o.a)(t.elements.popper),c,h,l),A=Object(f.a)(t.elements.reference),P=Object(_.a)({reference:A,element:j,strategy:"absolute",placement:a}),T=b(Object.assign({},j,P)),L=m===i.i?T:A,D={top:M.top-L.top+k.top,bottom:L.bottom-M.bottom+k.bottom,left:M.left-L.left+k.left,right:L.right-M.right+k.right},I=t.modifiersData.offset;if(m===i.i&&I){var N=I[a];Object.keys(D).forEach((function(t){var e=[i.k,i.c].indexOf(t)>=0?1:-1,n=[i.m,i.c].indexOf(t)>=0?"y":"x";D[t]+=N[n]*e}))}return D}},,,,,,,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(67),l=n.n(s),d=n(123),c=n.n(d),u=n(29),h=n.n(u),p=n(49),f=n(75),g=n(68),m=n(4),v=n(2),b=n(25);function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(t,e)}(t,e)||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 x(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var _=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},w=function(t){var e=document.querySelector("#wrapper-circle-chart-".concat(t.target.renderTo.id," .pb-circle-chart-block")),n=document.querySelector("#".concat(t.target.renderTo.id));null!==e&&null!==n&&(e.style.height="".concat(t.target.chartHeight,"px"),e.style.width="".concat(t.target.chartWidth,"px"),null!==n.firstChild&&n.firstChild.before(e))};e.a=function(t){var e=t.align,n=void 0===e?"center":e,o=t.aria,s=void 0===o?{}:o,d=t.rounded,u=void 0!==d&&d,x=t.borderColor,O=void 0===x?u?null:"":x,$=t.borderWidth,C=void 0===$?u?20:null:$,k=t.chartData,S=t.children,j=(t.className,t.colors),E=void 0===j?[]:j,M=t.customOptions,A=void 0===M?{}:M,P=t.dark,T=void 0!==P&&P,L=t.data,D=void 0===L?{}:L,I=t.dataLabelHtml,N=void 0===I?"<div>{point.name}</div>":I,R=t.dataLabels,F=void 0!==R&&R,B=t.height,z=t.htmlOptions,H=void 0===z?{}:z,W=t.id,U=t.innerSize,Y=void 0===U?"md":U,G=t.legend,V=void 0!==G&&G,X=t.maxPointSize,q=void 0===X?null:X,K=t.minPointSize,Z=void 0===K?null:K,J=t.startAngle,Q=void 0===J?null:J,tt=t.style,et=void 0===tt?"pie":tt,nt=t.title,it=t.tooltipHtml,rt=t.useHtml,ot=void 0!==rt&&rt,at=t.zMin,st=void 0===at?null:at,lt=t.layout,dt=void 0===lt?"horizontal":lt,ct=t.verticalAlign,ut=void 0===ct?"bottom":ct,ht=t.x,pt=void 0===ht?0:ht,ft=t.y,gt=void 0===ft?0:ft,mt=_(t,["align","aria","rounded","borderColor","borderWidth","chartData","children","className","colors","customOptions","dark","data","dataLabelHtml","dataLabels","height","htmlOptions","id","innerSize","legend","maxPointSize","minPointSize","startAngle","style","title","tooltipHtml","useHtml","zMin","layout","verticalAlign","x","y"]),vt=Object(v.a)(s),bt=Object(v.c)(D),yt=Object(v.d)(H);c()(h.a);T?h.a.setOptions(f.a):h.a.setOptions(p.a),h.a.setOptions({tooltip:{headerFormat:null,pointFormat:it||'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>',useHTML:ot}});var xt={sm:"35%",md:"50%",lg:"85%",none:"0%"},_t=Object.assign({},mt);delete _t.verticalAlign;var wt=y(Object(i.useState)({}),2),Ot=wt[0],$t=wt[1];return Object(i.useEffect)((function(){var t,e=k.map((function(t){return t.y=t.value,delete t.value,t})),i={title:{text:nt},chart:{height:B,type:et,events:{render:function(t){return w(t)},redraw:function(t){return w(t)}}},legend:{align:n,verticalAlign:ut,layout:dt,x:pt,y:gt},plotOptions:{pie:{colors:E.length>0?Object(g.a)(E):p.a.colors,dataLabels:{enabled:F,connectorShape:"straight",connectorWidth:3,format:N},showInLegend:V}},series:[{minPointSize:Z,maxPointSize:q,innerSize:20==C?"100%":(t=Y,xt[t]),data:e,zMin:st,startAngle:Q,borderWidth:C,borderColor:O}],credits:!1};$t(Object(b.merge)(i,A))}),[k]),r.a.createElement(r.a.Fragment,null,S?r.a.createElement("div",{id:"wrapper-circle-chart-".concat(W)},r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()("pb_circle_chart",Object(m.c)(_t)),id:W},vt),bt),yt),highcharts:h.a,options:Ot}),r.a.createElement("div",{className:"pb-circle-chart-block"},S)):r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()("pb_circle_chart",Object(m.c)(_t)),id:W},vt),bt),yt),highcharts:h.a,options:Ot}))}},function(t,e,n){var i;"undefined"!=typeof self&&self,t.exports=(i=n(0),function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"HighchartsReact",(function(){return c}));var s=n(1),l=n.n(s),d="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,c=Object(s.memo)(Object(s.forwardRef)((function(t,e){var n=Object(s.useRef)(),o=Object(s.useRef)(),c=Object(s.useRef)(t.constructorType),u=Object(s.useRef)(t.highcharts);return d((function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":a(window))&&window.Highcharts,i=t.constructorType||"chart";e?e[i]?t.options?o.current=e[i](n.current,t.options,t.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(o.current){if(!1!==t.allowChartUpdate)if(t.constructorType!==c.current||t.highcharts!==u.current)c.current=t.constructorType,u.current=t.highcharts,e();else if(!t.immutable&&o.current){var i;(i=o.current).update.apply(i,[t.options].concat(r(t.updateArgs||[!0,!0])))}else e()}else e()}),[t.options,t.allowChartUpdate,t.updateArgs,t.containerProps,t.highcharts,t.constructorType]),d((function(){return function(){o.current&&(o.current.destroy(),o.current=null)}}),[]),Object(s.useImperativeHandle)(e,(function(){return{get chart(){return o.current},container:n}}),[]),l.a.createElement("div",i({},t.containerProps,{ref:n}))})));e.default=c},function(t,e){t.exports=i}]))},function(t,e,n){"use strict";var i=n(8),r=n.n(i);e.a=function(t){var e=/(data)\-[1-8]/;return t.map((function(t){return e.test(t)?"".concat(r.a["data_".concat(t[t.length-1])]):t}))}},function(t,e,n){"use strict";function i(t){return t.split("-")[1]}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(28),r=n(34),o=n(37),a=n(161);function s(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),l=1,d=1;e&&Object(i.b)(t)&&(l=t.offsetWidth>0&&Object(r.c)(s.width)/t.offsetWidth||1,d=t.offsetHeight>0&&Object(r.c)(s.height)/t.offsetHeight||1);var c=(Object(i.a)(t)?Object(o.a)(t):window).visualViewport,u=!Object(a.a)()&&n,h=(s.left+(u&&c?c.offsetLeft:0))/l,p=(s.top+(u&&c?c.offsetTop:0))/d,f=s.width/l,g=s.height/d;return{width:f,height:g,top:p,right:h+f,bottom:p+g,left:h,x:h,y:p}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(12),l=n(5),d=n(36),c=n(4),u=n(2);e.a=function(t){var e=t.className,n=t.htmlOptions,i=void 0===n?{}:n,o=t.id,h=t.text,p=t.name,f=t.onClick,g=void 0===f?function(){}:f,m=t.avatarUrl,v=t.closeProps,b=void 0===v?{}:v,y=t.size,x=void 0===y?"":y,_=t.textTransform,w=void 0===_?"none":_,O=a()("pb_form_pill_kit_".concat("primary"),Object(c.c)(t),e,"small"===x?"small":null,w),$=Object(u.d)(i);return r.a.createElement("div",Object.assign({className:O,id:o},$),p&&r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{imageUrl:m,name:p,size:"xs",status:null}),r.a.createElement(s.a,{className:"pb_form_pill_text",size:4,text:p})),h&&r.a.createElement(s.a,{className:"pb_form_pill_tag",size:4,text:h}),r.a.createElement("div",Object.assign({className:"pb_form_pill_close",onClick:g},b),r.a.createElement(l.a,{fixedWidth:!0,icon:"times"})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(73),r=n(21),o=n(0),a=n(52),s=(n(42),n(109),n(140),n(146),n(147),n(141),n(142),n(143),n(144),n(145),n(91),n(148),n(122),n(30),n(86),Object(o.forwardRef)((function(t,e){var n=Object(i.a)(t);return o.createElement(a.a,Object(r.a)({ref:e},n))})))},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(18),r=n(40),o=n(50),a=n(0),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function l(t){var e=t.defaultInputValue,n=void 0===e?"":e,l=t.defaultMenuIsOpen,d=void 0!==l&&l,c=t.defaultValue,u=void 0===c?null:c,h=t.inputValue,p=t.menuIsOpen,f=t.onChange,g=t.onInputChange,m=t.onMenuClose,v=t.onMenuOpen,b=t.value,y=Object(o.a)(t,s),x=Object(a.useState)(void 0!==h?h:n),_=Object(r.a)(x,2),w=_[0],O=_[1],$=Object(a.useState)(void 0!==p?p:d),C=Object(r.a)($,2),k=C[0],S=C[1],j=Object(a.useState)(void 0!==b?b:u),E=Object(r.a)(j,2),M=E[0],A=E[1],P=Object(a.useCallback)((function(t,e){"function"==typeof f&&f(t,e),A(t)}),[f]),T=Object(a.useCallback)((function(t,e){var n;"function"==typeof g&&(n=g(t,e)),O(void 0!==n?n:t)}),[g]),L=Object(a.useCallback)((function(){"function"==typeof v&&v(),S(!0)}),[v]),D=Object(a.useCallback)((function(){"function"==typeof m&&m(),S(!1)}),[m]),I=void 0!==h?h:w,N=void 0!==p?p:k,R=void 0!==b?b:M;return Object(i.a)(Object(i.a)({},y),{},{inputValue:I,menuIsOpen:N,onChange:P,onInputChange:T,onMenuClose:D,onMenuOpen:L,value:R})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(30),a=n.n(o),s=i.createContext(),l=i.createContext();function d(t){var e=t.children,n=i.useState(null),r=n[0],o=n[1],a=i.useRef(!1);i.useEffect((function(){return function(){a.current=!0}}),[]);var d=i.useCallback((function(t){a.current||o(t)}),[]);return i.createElement(s.Provider,{value:r},i.createElement(l.Provider,{value:d},e))}var c=function(t){return Array.isArray(t)?t[0]:t},u=function(t){if("function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return t.apply(void 0,n)}},h=function(t,e){if("function"==typeof t)return u(t,e);null!=t&&(t.current=e)},p=function(t){return t.reduce((function(t,e){var n=e[0],i=e[1];return t[n]=i,t}),{})},f="undefined"!=typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,g=n(298),m=n(228),v=n.n(m),b=[],y=function(){},x=function(){return Promise.resolve(null)},_=[];function w(t){var e=t.placement,n=void 0===e?"bottom":e,r=t.strategy,a=void 0===r?"absolute":r,l=t.modifiers,d=void 0===l?_:l,u=t.referenceElement,m=t.onFirstUpdate,w=t.innerRef,O=t.children,$=i.useContext(s),C=i.useState(null),k=C[0],S=C[1],j=i.useState(null),E=j[0],M=j[1];i.useEffect((function(){h(w,k)}),[w,k]);var A=i.useMemo((function(){return{placement:n,strategy:a,onFirstUpdate:m,modifiers:[].concat(d,[{name:"arrow",enabled:null!=E,options:{element:E}}])}}),[n,a,m,d,E]),P=function(t,e,n){void 0===n&&(n={});var r=i.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||b},s=i.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],d=s[1],c=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);o.flushSync((function(){d({styles:p(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:p(n.map((function(t){return[t,e.attributes[t]]})))})}))},requires:["computeStyles"]}}),[]),u=i.useMemo((function(){var t={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return v()(r.current,t)?r.current||t:(r.current=t,t)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),h=i.useRef();return f((function(){h.current&&h.current.setOptions(u)}),[u]),f((function(){if(null!=t&&null!=e){var i=(n.createPopper||g.a)(t,e,u);return h.current=i,function(){i.destroy(),h.current=null}}}),[t,e,n.createPopper]),{state:h.current?h.current.state:null,styles:l.styles,attributes:l.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}}(u||$,k,A),T=P.state,L=P.styles,D=P.forceUpdate,I=P.update,N=i.useMemo((function(){return{ref:S,style:L.popper,placement:T?T.placement:n,hasPopperEscaped:T&&T.modifiersData.hide?T.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:T&&T.modifiersData.hide?T.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:L.arrow,ref:M},forceUpdate:D||y,update:I||x}}),[S,M,n,T,L,I,D]);return c(O)(N)}var O=n(181),$=n.n(O);function C(t){var e=t.children,n=t.innerRef,r=i.useContext(l),o=i.useCallback((function(t){h(n,t),u(r,t)}),[n,r]);return i.useEffect((function(){return function(){return h(n,null)}}),[]),i.useEffect((function(){$()(Boolean(r),"`Reference` should not be used outside of a `Manager` component.")}),[r]),c(e)({ref:o})}var k=n(2),S=n(3),j=n.n(S),E=n(4),M=n(227),A=n.n(M);function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t,e)||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 T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var L={offset:{enabled:!0,name:"offset",options:{offset:[0,20]},phase:"main"}},D=function(t){var e=t.modifiers;return t.offset?e.concat([L.offset]):e},I=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,a=t.data,s=void 0===a?{}:a,l=t.htmlOptions,d=void 0===l?{}:l,c=t.id,u=t.modifiers,h=t.offset,p=t.placement,f=t.referenceElement,g=t.zIndex,m=t.maxHeight,v=t.maxWidth,b=t.minHeight,y=t.minWidth,x=t.targetId,_=Object(E.c)(t).includes("dark")||!Object(E.c)(t)?"p_sm":Object(E.c)(t),O=m||v?"overflow_handling":"",$=g?{zIndex:g}:{},C=Object(k.a)(n),S=Object(k.c)(s),M=Object(k.d)(d),A=j()(Object(k.b)("pb_popover_kit"),Object(E.c)(t),i);return r.a.createElement(w,{modifiers:D({modifiers:u,offset:h}),placement:p,referenceElement:f},(function(t){var e=t.placement,n=t.ref,i=t.style;return r.a.createElement("div",Object.assign({},C,S,M,{className:A,"data-placement":e,id:c,ref:n,style:Object.assign({},i,$)}),r.a.createElement("div",{className:j()("".concat(Object(k.b)("pb_popover_tooltip")," show"))},r.a.createElement("div",{className:j()("pb_popover_body",_,O),id:x,style:Object.assign({},m?{maxHeight:m}:{},v?{maxWidth:v}:{},b?{minHeight:b}:{},y?{minWidth:y}:{})},o)))}))};e.a=function(t){var e=P(Object(i.useState)(A()("id-")),1)[0],n=t.className,o=t.children,s=t.modifiers,l=void 0===s?[]:s,c=t.offset,u=void 0!==c&&c,h=t.placement,p=void 0===h?"left":h,f=t.portal,g=void 0===f?"body":f,m=t.reference,v=t.referenceElement,b=t.show,y=void 0!==b&&b,x=t.usePortal,_=void 0===x||x,w=t.zIndex,O=t.maxHeight,$=t.maxWidth,S=t.minHeight,j=t.minWidth;Object(i.useEffect)((function(){var n=t.closeOnClick,i=t.shouldClosePopover,r=void 0===i?k.e:i;n&&document.body.addEventListener("click",(function(t){var i=t.target,o=null!==i.closest("#"+e),a=null!==i.closest("#reference-"+e),s=function(){setTimeout((function(){return r(!0)}),0)};switch(n){case"outside":o||a||s();break;case"inside":o&&s();break;case"any":(o||!o&&!a)&&s()}}),{capture:!0})}),[]);var E=r.a.createElement(I,Object.assign({className:n,maxHeight:O,maxWidth:$,minHeight:S,minWidth:j,modifiers:l,offset:u,placement:p,referenceElement:v,targetId:e,zIndex:w},t),o);return r.a.createElement(d,null,r.a.createElement(r.a.Fragment,null,m&&!v&&r.a.createElement(C,null,(function(t){var n=t.ref;return r.a.createElement("span",{className:"pb_popover_reference_wrapper",id:"reference-"+e,ref:n},r.a.createElement(m.type,Object.assign({},m.props)))})),y&&(_?r.a.createElement(r.a.Fragment,null,a.a.createPortal(E,document.querySelector(g))):{popoverComponent:E})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(8),r=n.n(i),o=n(10),a=n.n(o),s={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:void 0,plotShadow:!1,plotBorderWidth:0},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_3}},subtitle:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_base}},xAxis:{gridLineWidth:0,lineColor:r.a.border_dark,tickColor:r.a.border_dark,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{color:r.a.text_dk_default,fontFamily:a.a.font_family_base,fontWeight:a.a.regular,fontSize:a.a.heading_4}}},yAxis:{alternateGridColor:void 0,minorTickInterval:null,gridLineColor:r.a.border_dark,minorGridLineColor:r.a.border_dark,lineWidth:0,tickWidth:0,labels:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}},title:{style:{fontFamily:a.a.font_family_base,color:r.a.text_dk_lighter,fontWeight:a.a.bold,fontSize:a.a.text_smaller}}},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom",itemStyle:{fontFamily:a.a.font_family_base,color:r.a.text_dk_light,fontWeight:a.a.regular,fontSize:a.a.text_smaller},itemHoverStyle:{color:r.a.text_dk_default},itemHiddenStyle:{color:r.a.text_dk_lighter}},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:a.a.font_family_base,color:r.a.text_lt_default,fontWeight:a.a.regular,fontSize:a.a.text_smaller}},pane:{background:{borderColor:r.a.border_dark}},plotOptions:{series:{borderColor:r.a.bg_dark_card,borderWidth:2,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:a.a.font_family_base,fontSize:a.a.text_smaller,color:r.a.text_dk_light,fontWeight:a.a.regular}}},line:{dataLabels:{color:r.a.text_dk_light},marker:{lineColor:r.a.border_dark}},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],dataLabels:{enabled:!0,style:{fontFamily:a.a.font_family_base,fontWeight:a.a.bold,fontSize:a.a.heading_4}},levels:[{level:1,dataLabels:{enabled:!1}}],traverseUpButton:{position:{y:-50}}}},credits:{enabled:!1}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n(37),r=n(45),o=n(54),a=n(28);function s(t){return["table","td","th"].indexOf(Object(r.a)(t))>=0}var l=n(87),d=n(131);function c(t){return Object(a.b)(t)&&"fixed"!==Object(o.a)(t).position?t.offsetParent:null}function u(t){for(var e=Object(i.a)(t),n=c(t);n&&s(n)&&"static"===Object(o.a)(n).position;)n=c(n);return n&&("html"===Object(r.a)(n)||"body"===Object(r.a)(n)&&"static"===Object(o.a)(n).position)?e:n||function(t){var e=/firefox/i.test(Object(d.a)());if(/Trident/i.test(Object(d.a)())&&Object(a.b)(t)&&"fixed"===Object(o.a)(t).position)return null;var n=Object(l.a)(t);for(Object(a.c)(n)&&(n=n.host);Object(a.b)(n)&&["html","body"].indexOf(Object(r.a)(n))<0;){var i=Object(o.a)(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}},,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(9),a=n(3),s=n.n(a),l=n(2),d=n(4),c=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},u=function(t,e){var n=t.aria,i=void 0===n?{}:n,a=t.alignment,u=t.children,h=t.className,p=t.dark,f=void 0!==p&&p,g=t.data,m=void 0===g?{}:g,v=t.disabled,b=void 0!==v&&v,y=t.error,x=void 0!==y&&y,_=t.htmlOptions,w=void 0===_?{}:_,O=t.id,$=t.label,C=t.name,k=void 0===C?"radio_name":C,S=t.text,j=void 0===S?"Radio Text":S,E=t.value,M=void 0===E?"radio_text":E,A=t.onChange,P=void 0===A?function(){}:A,T=c(t,["aria","alignment","children","className","dark","data","disabled","error","htmlOptions","id","label","name","text","value","onChange"]),L=Object(l.a)(i),D=Object(l.c)(m),I=Object(l.d)(w),N=s()(Object(l.b)("pb_radio_kit",a),f?"dark":null,x?"error":null,Object(d.c)(T),h);return r.a.createElement("label",Object.assign({},L,D,I,{className:N,htmlFor:O}),r.a.createElement(r.a.Fragment,null,function(t){return u||r.a.createElement("input",Object.assign({disabled:b,id:O,name:k,onChange:P,ref:e,text:j,type:"radio",value:M},t))}(T)),r.a.createElement("span",{className:"pb_radio_button"}),r.a.createElement(o.a,{dark:f,status:x?"negative":null,text:$,variant:null}))};e.a=Object(i.forwardRef)(u)},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(9),a=n(5),s=n(2),l=n(3),d=n.n(l),c=n(4);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,l=t.checked,u=void 0!==l&&l,h=t.children,p=t.className,f=t.dark,g=void 0!==f&&f,m=t.data,v=void 0===m?{}:m,b=t.disabled,y=void 0!==b&&b,x=t.error,_=void 0!==x&&x,w=t.htmlOptions,O=void 0===w?{}:w,$=t.id,C=t.indeterminate,k=void 0!==C&&C,S=t.name,j=void 0===S?"":S,E=t.onChange,M=void 0===E?function(){}:E,A=t.tabIndex,P=t.text,T=void 0===P?"":P,L=t.value,D=void 0===L?"":L,I=Object(i.useRef)(null),N=Object(s.a)(n),R=Object(s.c)(v),F=Object(s.d)(O),B=d()(Object(s.b)("pb_checkbox_kit",u?"checked":null,_?"error":null,k?"indeterminate":null),Object(c.c)(t),p);Object(i.useEffect)((function(){I.current&&(I.current.checked=u,I.current.indeterminate=k)}),[k,u]);return r.a.createElement("label",Object.assign({},N,R,F,{className:B,id:$}),r.a.createElement(r.a.Fragment,null,h||r.a.createElement("input",{defaultChecked:u,disabled:y,name:j,onChange:M,ref:I,tabIndex:A,type:"checkbox",value:D})),!k&&r.a.createElement("span",{className:"pb_checkbox_checkmark"},r.a.createElement(a.a,{className:"check_icon",fixedWidth:!0,icon:"check"})),k&&r.a.createElement("span",{className:"pb_checkbox_indeterminate"},r.a.createElement(a.a,{className:"indeterminate_icon",fixedWidth:!0,icon:"minus"})),r.a.createElement(o.a,{className:"pb_checkbox_label",dark:g,status:_?"negative":null,variant:null},T))}},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(164);function r(t,e,n){return(e=Object(i.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r}));function i(t,e,n){var i="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):i+=n+" "})),i}var r=function(t,e,n){var i=t.key+"-"+e.name;!1===n&&void 0===t.registered[i]&&(t.registered[i]=e.styles)},o=function(t,e,n){r(t,e,n);var i=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var o=e;do{t.insert(e===o?"."+i:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},,,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(4),a=n(2),s=n(67),l=n.n(s),d=n(29),c=n.n(d),u=n(49),h=n(75),p=n(68),f=n(25),g=n(3),m=n.n(g);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||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 b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,s=t.data,d=void 0===s?{}:s,g=t.align,b=void 0===g?"center":g,x=t.axisTitle,_=t.dark,w=void 0!==_&&_,O=t.chartData,$=t.className,C=void 0===$?"pb_bar_graph":$,k=t.colors,S=t.htmlOptions,j=void 0===S?{}:S,E=t.customOptions,M=void 0===E?{}:E,A=t.axisFormat,P=t.id,T=t.pointStart,L=t.stacking,D=t.subTitle,I=t.type,N=void 0===I?"column":I,R=t.title,F=void 0===R?"Title":R,B=t.xAxisCategories,z=t.yAxisMin,H=t.yAxisMax,W=t.legend,U=void 0!==W&&W,Y=t.toggleLegendClick,G=void 0===Y||Y,V=t.height,X=t.layout,q=void 0===X?"horizontal":X,K=t.verticalAlign,Z=void 0===K?"bottom":K,J=t.x,Q=void 0===J?0:J,tt=t.y,et=void 0===tt?0:tt,nt=y(t,["aria","data","align","axisTitle","dark","chartData","className","colors","htmlOptions","customOptions","axisFormat","id","pointStart","stacking","subTitle","type","title","xAxisCategories","yAxisMin","yAxisMax","legend","toggleLegendClick","height","layout","verticalAlign","x","y"]),it=Object(a.a)(n),rt=Object(a.c)(d),ot=Object(a.d)(j);w?c.a.setOptions(h.a):c.a.setOptions(u.a);var at={title:{text:F},chart:{height:V,type:N},subtitle:{text:D},yAxis:[{labels:{format:"string"==typeof A?A:A&&A[0]?A[0].format:""},min:z,max:H,opposite:!1,title:{text:Array.isArray(x)?x.length>0?x[0].name:null:x},plotLines:null!=z?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}],xAxis:{categories:B},legend:{enabled:U,align:b,verticalAlign:Z,layout:q,x:Q,y:et},colors:void 0!==k&&k.length>0?Object(p.a)(k):u.a.colors,plotOptions:{series:{stacking:L,pointStart:T,borderWidth:L?0:"",events:{},dataLabels:{enabled:!1}}},series:O,credits:!1};Array.isArray(x)&&x.length>1&&x[1].name&&at.yAxis.push({labels:{format:"string"==typeof A?A:A[1].format},min:z,max:H,opposite:!0,title:{text:x[1].name},plotLines:null!=z?[]:[{value:0,zIndex:10,color:"#E4E8F0"}]}),G||(at.plotOptions.series.events={legendItemClick:function(){return!1}});var st=Object.assign({},nt);delete st.verticalAlign;var lt=v(Object(i.useState)({}),2),dt=lt[0],ct=lt[1];return Object(i.useEffect)((function(){ct(Object(f.merge)(at,M))}),[O]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:m()(Object(o.c)(st),C),id:P},it),rt),ot),highcharts:c.a,options:dt})}},function(t,e,n){"use strict";var i=n(0),r=i.useLayoutEffect;e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(45),r=n(48),o=n(28);function a(t){return"html"===Object(i.a)(t)?t:t.assignedSlot||t.parentNode||(Object(o.c)(t)?t.host:null)||Object(r.a)(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(132);var r=n(163);function o(t){return function(t){if(Array.isArray(t))return Object(i.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(r.a)(t)||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(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var i=n(34);function r(t,e,n){return Object(i.a)(t,Object(i.b)(e,n))}function o(t,e,n){var i=r(t,e,n);return i>n?n:i}},,,,function(t,e,n){"use strict";var i={};n.r(i),n.d(i,"Control",(function(){return A})),n.d(i,"ClearIndicator",(function(){return P})),n.d(i,"IndicatorsContainer",(function(){return T})),n.d(i,"MenuList",(function(){return L})),n.d(i,"MultiValue",(function(){return N})),n.d(i,"Option",(function(){return F})),n.d(i,"Placeholder",(function(){return z})),n.d(i,"ValueContainer",(function(){return H}));var r=n(0),o=n.n(r),a=n(72),s=n(21),l=n(52),d=n(73),c=n(81),u=n(18),h=n(40),p=n(50),f=n(22),g=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function m(t){var e=t.defaultOptions,n=void 0!==e&&e,i=t.cacheOptions,o=void 0!==i&&i,a=t.loadOptions;t.options;var s=t.isLoading,l=void 0!==s&&s,d=t.onInputChange,m=t.filterOption,v=void 0===m?null:m,b=Object(p.a)(t,g),y=b.inputValue,x=Object(r.useRef)(void 0),_=Object(r.useRef)(!1),w=Object(r.useState)(Array.isArray(n)?n:void 0),O=Object(h.a)(w,2),$=O[0],C=O[1],k=Object(r.useState)(void 0!==y?y:""),S=Object(h.a)(k,2),j=S[0],E=S[1],M=Object(r.useState)(!0===n),A=Object(h.a)(M,2),P=A[0],T=A[1],L=Object(r.useState)(void 0),D=Object(h.a)(L,2),I=D[0],N=D[1],R=Object(r.useState)([]),F=Object(h.a)(R,2),B=F[0],z=F[1],H=Object(r.useState)(!1),W=Object(h.a)(H,2),U=W[0],Y=W[1],G=Object(r.useState)({}),V=Object(h.a)(G,2),X=V[0],q=V[1],K=Object(r.useState)(void 0),Z=Object(h.a)(K,2),J=Z[0],Q=Z[1],tt=Object(r.useState)(void 0),et=Object(h.a)(tt,2),nt=et[0],it=et[1];o!==nt&&(q({}),it(o)),n!==J&&(C(Array.isArray(n)?n:void 0),Q(n)),Object(r.useEffect)((function(){return _.current=!0,function(){_.current=!1}}),[]);var rt=Object(r.useCallback)((function(t,e){if(!a)return e();var n=a(t,e);n&&"function"==typeof n.then&&n.then(e,(function(){return e()}))}),[a]);Object(r.useEffect)((function(){!0===n&&rt(j,(function(t){_.current&&(C(t||[]),T(!!x.current))}))}),[]);var ot=Object(r.useCallback)((function(t,e){var n=Object(f.l)(t,e,d);if(!n)return x.current=void 0,E(""),N(""),z([]),T(!1),void Y(!1);if(o&&X[n])E(n),N(n),z(X[n]),T(!1),Y(!1);else{var i=x.current={};E(n),T(!0),Y(!I),rt(n,(function(t){_&&i===x.current&&(x.current=void 0,T(!1),N(n),z(t||[]),Y(!1),q(t?Object(u.a)(Object(u.a)({},X),{},Object(c.a)({},n,t)):X))}))}}),[o,rt,I,X,d]),at=U?[]:j&&I?B:$||[];return Object(u.a)(Object(u.a)({},b),{},{options:at,isLoading:P||l,onInputChange:ot,filterOption:v})}n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(91),n(148),n(122),n(30),n(86);var v=Object(r.forwardRef)((function(t,e){var n=m(t),i=Object(d.a)(n);return r.createElement(l.a,Object(s.a)({ref:e},i))})),b=n(88),y=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),r=String(n.getOptionValue(e)).toLowerCase(),o=String(n.getOptionLabel(e)).toLowerCase();return r===i||o===i},_={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,e,n,i){return!(!t||e.some((function(e){return x(t,e,i)}))||n.some((function(e){return x(t,e,i)})))},getNewOptionData:function(t,e){return{label:e,value:t,__isNew__:!0}}};function w(t){var e=t.allowCreateWhileLoading,n=void 0!==e&&e,i=t.createOptionPosition,o=void 0===i?"last":i,a=t.formatCreateLabel,s=void 0===a?_.formatCreateLabel:a,d=t.isValidNewOption,c=void 0===d?_.isValidNewOption:d,h=t.getNewOptionData,g=void 0===h?_.getNewOptionData:h,m=t.onCreateOption,v=t.options,x=void 0===v?[]:v,w=t.onChange,O=Object(p.a)(t,y),$=O.getOptionValue,C=void 0===$?l.c:$,k=O.getOptionLabel,S=void 0===k?l.b:k,j=O.inputValue,E=O.isLoading,M=O.isMulti,A=O.value,P=O.name,T=Object(r.useMemo)((function(){return c(j,Object(f.h)(A),x,{getOptionValue:C,getOptionLabel:S})?g(j,s(j)):void 0}),[s,g,S,C,j,c,x,A]),L=Object(r.useMemo)((function(){return!n&&E||!T?x:"first"===o?[T].concat(Object(b.a)(x)):[].concat(Object(b.a)(x),[T])}),[n,o,E,T,x]),D=Object(r.useCallback)((function(t,e){if("select-option"!==e.action)return w(t,e);var n=Array.isArray(t)?t:[t];if(n[n.length-1]!==T)w(t,e);else if(m)m(j);else{var i=g(j,j),r={action:"create-option",name:P,option:i};w(Object(f.d)(M,[].concat(Object(b.a)(Object(f.h)(A)),[i]),i),r)}}),[g,j,M,P,T,m,w,A]);return Object(u.a)(Object(u.a)({},O),{},{options:L,onChange:D})}var O=Object(r.forwardRef)((function(t,e){var n=w(Object(d.a)(t));return r.createElement(l.a,Object(s.a)({ref:e},n))})),$=Object(r.forwardRef)((function(t,e){var n=m(t),i=w(Object(d.a)(n));return r.createElement(l.a,Object(s.a)({ref:e},i))})),C=n(25),k=n(4),S=n(3),j=n.n(S),E=n(6),M=n(35),A=function(t){return o.a.createElement("div",{className:"pb_typeahead_wrapper"},o.a.createElement(M.a,{dark:t.selectProps.dark,error:t.selectProps.error,label:t.selectProps.label},o.a.createElement(E.a,null,o.a.createElement(f.p.Control,Object.assign({className:"text_input"},t)))))},P=function(t){var e=t.selectProps,n=t.clearValue;return Object(r.useEffect)((function(){document.addEventListener("pb-typeahead-kit-".concat(e.id,":clear"),n)}),[n,e.id]),o.a.createElement(f.p.ClearIndicator,Object.assign({className:"clear_indicator"},t))},T=function(t){return o.a.createElement(f.p.IndicatorsContainer,Object.assign({className:"text_input_indicators"},t))},L=function(t){return o.a.createElement(f.p.MenuList,Object.assign({},t),t.children,t.footer)},D=n(44),I=n(71),N=function(t){var e=t.removeProps,n=t.data,i=n.imageUrl,r=n.label,a=t.selectProps.multiKit;return"string"==typeof i&&({marginRight:"xs",name:r,avatarUrl:""}.avatarUrl=i),o.a.createElement(f.p.MultiValueContainer,Object.assign({className:"text_input_multivalue_container"},t),"badge"===a&&o.a.createElement(D.a,{closeProps:e,removeIcon:!0,text:r,variant:"primary"}),"badge"!==a&&i&&o.a.createElement(I.a,{avatarUrl:i,closeProps:e,marginRight:"xs",name:r,size:"smallPill"===a?"small":"",text:""}),"badge"!==a&&!i&&o.a.createElement(I.a,{closeProps:e,marginRight:"xs",name:"",size:"smallPill"===a?"small":"",text:r}))},R=n(125),F=function(t){var e=t.data.imageUrl,n=t.selectProps.valueComponent;return o.a.createElement(f.p.Option,Object.assign({},t),o.a.createElement(o.a.Fragment,null,!n&&e&&o.a.createElement(R.a,{align:"left",avatarUrl:e,dark:t.selectProps.dark,name:t.label,orientation:"horizontal"}),n&&n(t.data),!n&&!e&&t.label))},B=n(5),z=function(t){return o.a.createElement(o.a.Fragment,null,o.a.createElement(E.a,{align:"center",className:"placeholder"},o.a.createElement(f.p.IndicatorsContainer,Object.assign({},t)),t.selectProps.plusIcon&&o.a.createElement(B.a,{className:"typeahead-plus-icon",icon:"plus"})))},H=function(t){return o.a.createElement(f.p.ValueContainer,Object.assign({className:"text_input_value_container"},t))},W=n(2),U=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},Y=function(t){var e=t.async,n=t.className,i=t.components,r=void 0===i?{}:i,s=t.createable,l=t.error,d=void 0===l?"":l,c=t.data,u=void 0===c?{}:c,h=t.getOptionLabel,p=t.getOptionValue,f=t.htmlOptions,g=void 0===f?{}:f,m=t.id,b=t.loadOptions,y=void 0===b?W.e:b,x=U(t,["async","className","components","createable","error","data","getOptionLabel","getOptionValue","htmlOptions","id","loadOptions"]),_=Object.assign({cacheOptions:!0,components:Object.assign({Control:A,ClearIndicator:P,IndicatorsContainer:T,IndicatorSeparator:null,MenuList:L,MultiValue:N,Option:F,Placeholder:z,ValueContainer:H},r),loadOptions:Object(C.isString)(y)?Object(C.get)(window,y):y,getOptionLabel:Object(C.isString)(h)?Object(C.get)(window,h):h,getOptionValue:Object(C.isString)(p)?Object(C.get)(window,p):p,defaultOptions:!0,id:m||Object(C.uniqueId)(),inline:!1,isClearable:!0,isSearchable:!0,name:name,multiKit:"",onCreateOption:null,plusIcon:!1,onMultiValueClick:function(t){}},x),w=s?e?$:O:e?v:a.a,S=Object(W.c)(u),E=Object(W.d)(g),M=j()("pb_typeahead_kit react-select",Object(k.c)(x),n),D=_.inline?"inline":null;return o.a.createElement("div",Object.assign({},S,E,{className:j()(M,D)}),o.a.createElement(w,Object.assign({classNamePrefix:"typeahead-kit-select",error:d,onChange:function(t,e){var n=e.action,i=e.option,r=e.removedValue;if("select-option"===n){_.onMultiValueClick&&_.onMultiValueClick(i);var o=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-select"),{detail:i||t});document.dispatchEvent(o)}if("remove-value"===n||"pop-value"===n){var a=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-option-remove"),{detail:r});document.dispatchEvent(a)}if("clear"===n){var s=new CustomEvent("pb-typeahead-kit-".concat(_.id,"-result-clear"));document.dispatchEvent(s)}}},_)))};Object.keys(i).forEach((function(t){Y[t]=i[t]}));e.a=Y},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(9),c=n(16),u=n(47),h=n(6),p=n(5),f=n(74),g=n(35);function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,v=t.confirmation,b=void 0!==v&&v,y=t.data,x=void 0===y?{}:y,_=t.dark,w=void 0!==_&&_,O=t.htmlOptions,$=void 0===O?{}:O,C=t.id,k=t.inputProps,S=void 0===k?{}:k,j=t.label,E=void 0===j?b?"Confirm Passphrase":"Passphrase":j,M=t.onChange,A=void 0===M?function(){}:M,P=t.showTipsBelow,T=void 0===P?"always":P,L=t.tips,D=void 0===L?[]:L,I=t.uncontrolled,N=void 0!==I&&I,R=t.value,F=void 0===R?"":R,B=m(Object(i.useState)(""),2),z=B[0],H=B[1],W=m(Object(i.useState)(!1),2),U=W[0],Y=W[1],G=m(Object(i.useState)(!1),2),V=G[0],X=G[1],q=Object(i.useCallback)((function(t){return N?H(t.target.value):A(t)}),[N,A]),K=Object(i.useMemo)((function(){return N?z:F}),[F,z,N]),Z=a()("passphrase-popover","always"===T?null:"show-below-".concat(T)),J=Object(s.a)(n),Q=a()(Object(s.b)("pb_passphrase"),Object(l.c)(t),o),tt=Object(s.c)(x),et=Object(s.d)($),nt=r.a.createElement(u.a,{className:Z,dark:w,icon:"info-circle",onClick:function(){return Y(!U)},variant:"link"});return r.a.createElement("div",Object.assign({},J,tt,et,{className:Q,id:C}),r.a.createElement("label",null,r.a.createElement(h.a,{align:"baseline"},r.a.createElement(c.a,{className:"passphrase-label",text:E}),D.length>0&&!b&&r.a.createElement(f.a,{className:"passphrase-tips",closeOnClick:"outside",placement:"right",reference:nt,shouldClosePopover:function(t){Y(!t)},show:U},r.a.createElement(h.a,{align:"center",orientation:"column"},r.a.createElement(c.a,{marginBottom:"xs",text:"Tips for a good passphrase"}),r.a.createElement("div",null,D.map((function(t,e){return r.a.createElement(c.a,{key:e,marginBottom:"xs",size:"xs"},r.a.createElement(p.a,{icon:"shield-check",marginRight:"xs"}),t)})))))),r.a.createElement("div",{className:"passphrase-text-input-wrapper"},r.a.createElement(g.a,Object.assign({className:"passphrase-text-input",dark:w,marginBottom:"xs",onChange:q,placeholder:"Enter a passphrase...",type:V?"text":"password",value:K},S)),r.a.createElement("span",{className:"show-passphrase-icon",onClick:function(t){t.preventDefault(),X(!V)}},r.a.createElement(d.a,{className:V?"hide-icon":"",color:"light",dark:w},r.a.createElement(p.a,{icon:"eye-slash"})),r.a.createElement(d.a,{className:V?"":"hide-icon",color:"light",dark:w},r.a.createElement(p.a,{icon:"eye"}))))))}},,function(t,e,n){"use strict";var i=function(t,e){return t===e};e.a=function(t,e){var n;void 0===e&&(e=i);var r,o=[],a=!1,s=function(t,n){return e(t,o[n],n)};return function(){for(var e=arguments.length,i=new Array(e),l=0;l<e;l++)i[l]=arguments[l];return a&&n===this&&i.length===o.length&&i.every(s)||(r=t.apply(this,i),a=!0,n=this,o=i),r}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return x}));var i=n(70),r=n(106),o=n(37),a=n(28);var s=n(45),l=n(105),d=n(48),c=n(107),u=n(34);function h(t,e,n){void 0===n&&(n=!1);var h,p,f=Object(a.b)(e),g=Object(a.b)(e)&&function(t){var e=t.getBoundingClientRect(),n=Object(u.c)(e.width)/t.offsetWidth||1,i=Object(u.c)(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),m=Object(d.a)(e),v=Object(i.a)(t,g,n),b={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(f||!f&&!n)&&(("body"!==Object(s.a)(e)||Object(c.a)(m))&&(b=(h=e)!==Object(o.a)(h)&&Object(a.b)(h)?{scrollLeft:(p=h).scrollLeft,scrollTop:p.scrollTop}:Object(r.a)(h)),Object(a.b)(e)?((y=Object(i.a)(e,!0)).x+=e.clientLeft,y.y+=e.clientTop):m&&(y.x=Object(l.a)(m))),{x:v.left+b.scrollLeft-y.x,y:v.top+b.scrollTop-y.y,width:v.width,height:v.height}}var p=n(108),f=n(114),g=n(76),m=n(11);function v(t){var e=new Map,n=new Set,i=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(i){if(!n.has(i)){var r=e.get(i);r&&t(r)}})),i.push(r)}(t)})),i}var b={placement:"bottom",modifiers:[],strategy:"absolute"};function y(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function x(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?b:r;return function(t,e,n){void 0===n&&(n=o);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},b,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},d=[],c=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;x(),l.options=Object.assign({},o,l.options,r),l.scrollParents={reference:Object(a.a)(t)?Object(f.a)(t):t.contextElement?Object(f.a)(t.contextElement):[],popper:Object(f.a)(e)};var s=function(t){var e=v(t);return m.g.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,l.options.modifiers)));return l.orderedModifiers=s.filter((function(t){return t.enabled})),l.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:l,name:e,instance:u,options:i});d.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var t=l.elements,e=t.reference,n=t.popper;if(y(e,n)){l.rects={reference:h(e,Object(g.a)(n),"fixed"===l.options.strategy),popper:Object(p.a)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(t){return l.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<l.orderedModifiers.length;i++)if(!0!==l.reset){var r=l.orderedModifiers[i],o=r.fn,a=r.options,s=void 0===a?{}:a,d=r.name;"function"==typeof o&&(l=o({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(t){u.forceUpdate(),t(l)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){x(),c=!0}};if(!y(t,e))return u;function x(){d.forEach((function(t){return t()})),d=[]}return u.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(117),c=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.container,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=t.dragId,v=Object(d.a)(),b=v.isDragging,y=v.handleDragStart,x=v.handleDragEnter,_=v.handleDragEnd,w=Object(s.a)(n),O=Object(s.c)(h),$=Object(s.d)(f),C=a()(Object(s.b)("pb_draggable_item"),"".concat(b===m?"is_dragging":""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},w,O,$,{className:C,draggable:!0,id:g,key:m,onDragEnd:function(){return _()},onDragEnter:function(){return x(m,c)},onDragStart:function(){return y(m,c)}}),i)},u=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.children,d=t.data,c=void 0===d?{}:d,u=t.htmlOptions,h=void 0===u?{}:u,p=t.id,f=Object(s.a)(n),g=Object(s.c)(c),m=Object(s.d)(h),v=a()(Object(s.b)("pb_draggable"),Object(l.c)(t),i);return r.a.createElement("div",Object.assign({},f,g,m,{className:v,id:p}),o)};u.Container=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.children,o=t.className,c=t.container,u=t.data,h=void 0===u?{}:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=Object(d.a)(),v=m.handleDragOver,b=m.handleDrop,y=m.activeContainer,x=Object(s.a)(n),_=Object(s.c)(h),w=Object(s.d)(f),O=a()(Object(s.b)("pb_draggable_container"),"".concat(y===c?"active":""),Object(l.c)(t),o);return r.a.createElement("div",Object.assign({},x,_,w,{className:O,id:g,key:c,onDragOver:function(t){return v(t,c)},onDrop:function(){return b(c)}}),i)},u.Item=c;e.a=u},function(t,e,n){"use strict";function i(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(70),r=n(48),o=n(106);function a(t){return Object(i.a)(Object(r.a)(t)).left+Object(o.a)(t).scrollLeft}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(37);function r(t){var e=Object(i.a)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(54);function r(t){var e=Object(i.a)(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(70);function r(t){var e=Object(i.a)(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return rt}));var i=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(t){0}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),r="-ms-",o="-moz-",a="-webkit-",s="comm",l="rule",d="decl",c="@keyframes",u=Math.abs,h=String.fromCharCode,p=Object.assign;function f(t,e){return 45^y(t,0)?(((e<<2^y(t,0))<<2^y(t,1))<<2^y(t,2))<<2^y(t,3):0}function g(t){return t.trim()}function m(t,e){return(t=e.exec(t))?t[0]:t}function v(t,e,n){return t.replace(e,n)}function b(t,e){return t.indexOf(e)}function y(t,e){return 0|t.charCodeAt(e)}function x(t,e,n){return t.slice(e,n)}function _(t){return t.length}function w(t){return t.length}function O(t,e){return e.push(t),t}function $(t,e){return t.map(e).join("")}var C=1,k=1,S=0,j=0,E=0,M="";function A(t,e,n,i,r,o,a){return{value:t,root:e,parent:n,type:i,props:r,children:o,line:C,column:k,length:a,return:""}}function P(t,e){return p(A("",null,null,"",null,null,0),t,{length:-t.length},e)}function T(){return E=j<S?y(M,j++):0,k++,10===E&&(k=1,C++),E}function L(){return y(M,j)}function D(){return j}function I(t,e){return x(M,t,e)}function N(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(t){return C=k=1,S=_(M=t),j=0,[]}function F(t){return M="",t}function B(t){return g(I(j-1,function t(e){for(;T();)switch(E){case e:return j;case 34:case 39:34!==e&&39!==e&&t(E);break;case 40:41===e&&t(e);break;case 92:T()}return j}(91===t?t+2:40===t?t+1:t)))}function z(t){for(;(E=L())&&E<33;)T();return N(t)>2||N(E)>3?"":" "}function H(t,e){for(;--e&&T()&&!(E<48||E>102||E>57&&E<65||E>70&&E<97););return I(t,D()+(e<6&&32==L()&&32==T()))}function W(t,e){for(;T()&&t+E!==57&&(t+E!==84||47!==L()););return"/*"+I(e,j-1)+"*"+h(47===t?t:T())}function U(t){for(;!N(L());)T();return I(t,j)}function Y(t){return F(function t(e,n,i,r,o,a,s,l,d){var c=0,u=0,p=s,f=0,g=0,m=0,x=1,w=1,$=1,S=0,A="",P=o,I=a,N=r,R=A;for(;w;)switch(m=S,S=T()){case 40:if(108!=m&&58==y(R,p-1)){-1!=b(R+=v(B(S),"&","&\f"),"&\f")&&($=-1);break}case 34:case 39:case 91:R+=B(S);break;case 9:case 10:case 13:case 32:R+=z(m);break;case 92:R+=H(D()-1,7);continue;case 47:switch(L()){case 42:case 47:O(V(W(T(),D()),n,i),d);break;default:R+="/"}break;case 123*x:l[c++]=_(R)*$;case 125*x:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+u:-1==$&&(R=v(R,/\f/g,"")),g>0&&_(R)-p&&O(g>32?X(R+";",r,i,p-1):X(v(R," ","")+";",r,i,p-2),d);break;case 59:R+=";";default:if(O(N=G(R,n,i,c,u,o,l,A,P=[],I=[],p),a),123===S)if(0===u)t(R,n,N,N,P,a,p,l,I);else switch(99===f&&110===y(R,3)?100:f){case 100:case 108:case 109:case 115:t(e,N,N,r&&O(G(e,N,N,0,0,o,l,A,o,P=[],p),I),o,I,p,l,r?P:I);break;default:t(R,N,N,N,[""],I,0,l,I)}}c=u=g=0,x=$=1,A=R="",p=s;break;case 58:p=1+_(R),g=m;default:if(x<1)if(123==S)--x;else if(125==S&&0==x++&&125==(E=j>0?y(M,--j):0,k--,10===E&&(k=1,C--),E))continue;switch(R+=h(S),S*x){case 38:$=u>0?1:(R+="\f",-1);break;case 44:l[c++]=(_(R)-1)*$,$=1;break;case 64:45===L()&&(R+=B(T())),f=L(),u=p=_(A=R+=U(D())),S++;break;case 45:45===m&&2==_(R)&&(x=0)}}return a}("",null,null,null,[""],t=R(t),0,[0],t))}function G(t,e,n,i,r,o,a,s,d,c,h){for(var p=r-1,f=0===r?o:[""],m=w(f),b=0,y=0,_=0;b<i;++b)for(var O=0,$=x(t,p+1,p=u(y=a[b])),C=t;O<m;++O)(C=g(y>0?f[O]+" "+$:v($,/&\f/g,f[O])))&&(d[_++]=C);return A(t,e,n,0===r?l:s,d,c,h)}function V(t,e,n){return A(t,e,n,s,h(E),x(t,2,-2),0)}function X(t,e,n,i){return A(t,e,n,d,x(t,0,i),x(t,i+1,-1),i)}function q(t,e){for(var n="",i=w(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function K(t,e,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case d:return t.return=t.return||t.value;case s:return"";case c:return t.return=t.value+"{"+q(t.children,i)+"}";case l:t.value=t.props.join(",")}return _(n=q(t.children,i))?t.return=t.value+"{"+n+"}":""}function Z(t){return function(e){e.root||(e=e.return)&&t(e)}}n(124),n(183);var J=function(t,e,n){for(var i=0,r=0;i=r,r=L(),38===i&&12===r&&(e[n]=1),!N(r);)T();return I(t,j)},Q=function(t,e){return F(function(t,e){var n=-1,i=44;do{switch(N(i)){case 0:38===i&&12===L()&&(e[n]=1),t[n]+=J(j-1,e,n);break;case 2:t[n]+=B(i);break;case 4:if(44===i){t[++n]=58===L()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=h(i)}}while(i=T());return t}(R(t),e))},tt=new WeakMap,et=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||tt.get(n))&&!i){tt.set(t,!0);for(var r=[],o=Q(e,r),a=n.props,s=0,l=0;s<o.length;s++)for(var d=0;d<a.length;d++,l++)t.props[l]=r[s]?o[s].replace(/&\f/g,a[d]):a[d]+" "+o[s]}}},nt=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};var it=[function(t,e,n,i){if(t.length>-1&&!t.return)switch(t.type){case d:t.return=function t(e,n){switch(f(e,n)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+o+e+r+e+e;case 6828:case 4268:return a+e+r+e+e;case 6165:return a+e+r+"flex-"+e+e;case 5187:return a+e+v(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return a+e+r+"flex-item-"+v(e,/flex-|-self/,"")+e;case 4675:return a+e+r+"flex-line-pack"+v(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+r+v(e,"shrink","negative")+e;case 5292:return a+e+r+v(e,"basis","preferred-size")+e;case 6060:return a+"box-"+v(e,"-grow","")+a+e+r+v(e,"grow","positive")+e;case 4554:return a+v(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return v(v(v(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return v(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return v(v(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return v(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(e)-1-n>6)switch(y(e,n+1)){case 109:if(45!==y(e,n+4))break;case 102:return v(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==y(e,n+3)?"$3":"$2-$3"))+e;case 115:return~b(e,"stretch")?t(v(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==y(e,n+1))break;case 6444:switch(y(e,_(e)-3-(~b(e,"!important")&&10))){case 107:return v(e,":",":"+a)+e;case 101:return v(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===y(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+r+"$2box$3")+e}break;case 5936:switch(y(e,n+11)){case 114:return a+e+r+v(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+r+v(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+r+v(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+r+e+e}return e}(t.value,t.length);break;case c:return q([P(t,{value:v(t.value,"@","@"+a)})],i);case l:if(t.length)return $(t.props,(function(e){switch(m(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([P(t,{props:[v(e,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return q([P(t,{props:[v(e,/:(plac\w+)/,":"+a+"input-$1")]}),P(t,{props:[v(e,/:(plac\w+)/,":-moz-$1")]}),P(t,{props:[v(e,/:(plac\w+)/,r+"input-$1")]})],i)}return""}))}}],rt=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var r=t.stylisPlugins||it;var o,a,s={},l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;l.push(t)}));var d=[et,nt];var c,u=[K,Z((function(t){c.insert(t)}))],h=function(t){var e=w(t);return function(n,i,r,o){for(var a="",s=0;s<e;s++)a+=t[s](n,i,r,o)||"";return a}}(d.concat(r,u));a=function(t,e,n,i){c=n,q(Y(t?t+"{"+e.styles+"}":e.styles),h),i&&(p.inserted[e.name]=!0)};var p={key:e,sheet:new i({key:e,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return p.sheet.hydrate(l),p}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){return/^((?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])|\uFE0F|\u200D|\u20E3)+$/.test(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var i=n(0),r=!!i.useInsertionEffect&&i.useInsertionEffect,o=r||function(t){return t()},a=r||i.useLayoutEffect},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i={animationIterationCount:1,aspectRatio: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},r=n(183),o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},l=function(t){return null!=t&&"boolean"!=typeof t},d=Object(r.a)((function(t){return s(t)?t:t.replace(o,"-$&").toLowerCase()})),c=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(a,(function(t,e,n){return h={name:e,styles:n,next:h},e}))}return 1===i[t]||s(t)||"number"!=typeof e||0===e?e:e+"px"};function u(t,e,n){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 h={name:n.name,styles:n.styles,next:h},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)h={name:i.name,styles:i.styles,next:h},i=i.next;return n.styles+";"}return function(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=u(t,e,n[r])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=e&&void 0!==e[a]?i+=o+"{"+e[a]+"}":l(a)&&(i+=d(o)+":"+c(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=u(t,e,a);switch(o){case"animation":case"animationName":i+=d(o)+":"+s+";";break;default:i+=o+"{"+s+"}"}}else for(var h=0;h<a.length;h++)l(a[h])&&(i+=d(o)+":"+c(o,a[h])+";")}return i}(t,e,n);case"function":if(void 0!==t){var r=h,o=n(t);return h=r,u(t,e,o)}break;case"string":}if(null==e)return n;var a=e[n];return void 0!==a?a:n}var h,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i=!0,r="";h=void 0;var o=t[0];null==o||void 0===o.raw?(i=!1,r+=u(n,e,o)):r+=o[0];for(var a=1;a<t.length;a++)r+=u(n,e,t[a]),i&&(r+=o[a]);p.lastIndex=0;for(var s,l="";null!==(s=p.exec(r));)l+="-"+s[1];return{name:function(t){for(var e,n=0,i=0,r=t.length;r>=4;++i,r-=4)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l,styles:r,next:h}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(87),r=n(107),o=n(45),a=n(28);var s=n(37);function l(t,e){var n;void 0===e&&(e=[]);var d=function t(e){return["html","body","#document"].indexOf(Object(o.a)(e))>=0?e.ownerDocument.body:Object(a.b)(e)&&Object(r.a)(e)?e:t(Object(i.a)(e))}(t),c=d===(null==(n=t.ownerDocument)?void 0:n.body),u=Object(s.a)(d),h=c?[u].concat(u.visualViewport||[],Object(r.a)(d)?d:[]):d,p=e.concat(h);return c?p:p.concat(l(Object(i.a)(h)))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2);e.a=function(t){var e=t.aria,n=void 0===e?{}:e,i=t.className,o=t.data,d=void 0===o?{}:o,c=t.htmlOptions,u=void 0===c?{}:c,h=t.id,p=t.status,f=void 0===p?"offline":p;n.label=f;var g=Object(l.a)(n),m=Object(l.c)(d),v=Object(l.d)(u),b=a()(Object(l.b)("pb_online_status_kit",f),Object(s.c)(t),i);return r.a.createElement("div",Object.assign({},g,m,v,{className:b,id:h}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4);function d(t,e,n){var i;return(e="symbol"==typeof(i=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?i:i+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var h={xs:"(max-width: 575px)",sm:"(min-width: 576px) and (max-width: 767px)",md:"(min-width: 768px) and (max-width: 991px)",lg:"(min-width: 992px) and (max-width: 1199px)",xl:"(min-width: 1200px)"},p=function(t){if("string"==typeof t)return t;for(var e=0,n=Object.entries(t||{});e<n.length;e++){var i=c(n[e],2),r=i[0],o=i[1];if("default"!==r&&window.matchMedia(h[r]).matches)return o}return(null==t?void 0:t.default)||void 0};e.a=function(t){var e,n=t.alt,o=void 0===n?void 0:n,u=t.aria,h=void 0===u?{}:u,f=t.backgroundColor,g=void 0===f?"light":f,m=t.backgroundPosition,v=void 0===m?"":m,b=t.backgroundRepeat,y=void 0===b?"initial":b,x=t.backgroundSize,_=void 0===x?"cover":x,w=t.children,O=t.className,$=t.customColor,C=t.data,k=void 0===C?{}:C,S=t.htmlOptions,j=void 0===S?{}:S,E=t.id,M=t.imageUrl,A=void 0===M?"":M,P=t.tag,T=void 0===P?"div":P,L=t.transition,D=void 0===L?"":L,I=c(Object(i.useState)({backgroundSize:p(_),backgroundPosition:p(v),backgroundRepeat:p(y),backgroundColor:p(g),imageUrl:p(A)}),2),N=I[0],R=I[1];Object(i.useEffect)((function(){var e=function(){R({backgroundSize:p(t.backgroundSize),backgroundPosition:p(t.backgroundPosition),backgroundRepeat:p(t.backgroundRepeat),backgroundColor:p(t.backgroundColor),imageUrl:p(t.imageUrl)})};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[t]);var F=N.backgroundColor,B=N.backgroundPosition,z=N.backgroundRepeat,H=N.backgroundSize,W=N.imageUrl,U=a()(Object(s.b)("pb_background_kit"),"lazyload",Object(l.c)(t),D,(d(e={},"pb_background_color_".concat(F),F&&!$),d(e,"pb_background_custom_color",!!$),e),O),Y=Object.assign({backgroundColor:$||void 0},""!==W?{backgroundImage:W?"url(".concat(W,")"):void 0,backgroundRepeat:z||void 0,backgroundPosition:B||void 0,backgroundSize:H||void 0}:{}),G="".concat(T),V=Object(s.a)(h),X=Object(s.c)(k),q=Object(s.d)(j);return r.a.createElement(G,Object.assign({},V,X,q,{alt:o,className:U,id:E,style:Y}),w)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return p}));var i=n(0),r=n.n(i);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||s(t,e)||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 a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||s(t)||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 s(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var d={items:[],dragData:{id:"",initialGroup:""},isDragging:"",activeContainer:""},c=function(t,e){switch(e.type){case"SET_ITEMS":return Object.assign(Object.assign({},t),{items:e.payload});case"SET_DRAG_DATA":return Object.assign(Object.assign({},t),{dragData:e.payload});case"SET_IS_DRAGGING":return Object.assign(Object.assign({},t),{isDragging:e.payload});case"SET_ACTIVE_CONTAINER":return Object.assign(Object.assign({},t),{activeContainer:e.payload});case"CHANGE_CATEGORY":return Object.assign(Object.assign({},t),{items:t.items.map((function(t){return t.id===e.payload.itemId?Object.assign(Object.assign({},t),{container:e.payload.container}):t}))});case"REORDER_ITEMS":var n=e.payload,i=n.dragId,r=n.targetId,o=a(t.items),s=o.find((function(t){return t.id===i})),l=o.indexOf(s),d=o.findIndex((function(t){return t.id===r}));return o.splice(l,1),o.splice(d,0,s),Object.assign(Object.assign({},t),{items:o});default:return t}},u=Object(i.createContext)({}),h=function(){return Object(i.useContext)(u)},p=function(t){var e=t.children,n=t.initialItems,a=t.onReorder,s=t.onDragStart,l=t.onDragEnter,h=t.onDragEnd,p=t.onDrop,f=t.onDragOver,g=o(Object(i.useReducer)(c,d),2),m=g[0],v=g[1];Object(i.useEffect)((function(){v({type:"SET_ITEMS",payload:n})}),[n]),Object(i.useEffect)((function(){a(m.items)}),[m.items]);var b=function(t,e){v({type:"SET_DRAG_DATA",payload:{id:t,initialGroup:e}}),v({type:"SET_IS_DRAGGING",payload:t}),s&&s(t,e)},y=function(t,e){m.dragData.id!==t&&(v({type:"REORDER_ITEMS",payload:{dragId:m.dragData.id,targetId:t}}),v({type:"SET_DRAG_DATA",payload:{id:m.dragData.id,initialGroup:e}})),l&&l(t,e)},x=function(){v({type:"SET_IS_DRAGGING",payload:""}),v({type:"SET_ACTIVE_CONTAINER",payload:""}),h&&h()},_=function(t){v({type:"SET_IS_DRAGGING",payload:""}),v({type:"SET_ACTIVE_CONTAINER",payload:""}),function(t,e){v({type:"CHANGE_CATEGORY",payload:{itemId:t,container:e}})}(m.dragData.id,t),p&&p(t)},w=function(t,e){t.preventDefault(),v({type:"SET_ACTIVE_CONTAINER",payload:e}),f&&f(t,e)},O=Object(i.useMemo)((function(){return{items:m.items,dragData:m.dragData,isDragging:m.isDragging,activeContainer:m.activeContainer,handleDragStart:b,handleDragEnter:y,handleDragEnd:x,handleDrop:_,handleDragOver:w}}),[m]);return r.a.createElement(u.Provider,{value:O},e)}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(67),c=n.n(d),u=n(29),h=n.n(u),p=n(49),f=n(75),g=n(68),m=n(233),v=n.n(m),b=n(25);function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(t,e)}(t,e)||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 x(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var _=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,d=void 0===o?{}:o,u=t.chartData,m=t.colors,x=t.customOptions,w=void 0===x?{}:x,O=t.dark,$=void 0!==O&&O,C=t.drillable,k=void 0!==C&&C,S=t.grouped,j=void 0!==S&&S,E=t.height,M=t.htmlOptions,A=void 0===M?{}:M,P=t.id,T=t.title,L=void 0===T?"":T,D=t.tooltipHtml,I=void 0===D?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.value}</b>':D,N=t.type,R=void 0===N?"treemap":N,F=_(t,["aria","data","chartData","colors","customOptions","dark","drillable","grouped","height","htmlOptions","id","title","tooltipHtml","type"]),B=Object(l.a)(n),z=Object(l.c)(d),H=Object(l.d)(A);v()(h.a),$?h.a.setOptions(f.a):h.a.setOptions(p.a);var W={title:{text:L},chart:{height:E,type:R},credits:!1,series:[{data:u}],plotOptions:{treemap:{tooltip:{pointFormat:I},allowTraversingTree:k,colorByPoint:!j,colors:void 0!==m&&m.length>0?Object(g.a)(m):p.a.colors}}},U=y(Object(i.useState)((function(){return Object(b.merge)(W,w)})),2),Y=U[0],G=U[1];return Object(i.useEffect)((function(){G((function(t){return Object(b.merge)(t,{series:[{data:u}]})}))}),[u]),r.a.createElement(c.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()(Object(s.c)(F),"pb_treemap_chart"),id:P},B),z),H),highcharts:h.a,options:Y})}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(79),c=n(78),u=n(9),h=n(5),p=n(71),f=n(47),g=n(25);function m(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||b(t)||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 v(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=b(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},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 o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function b(t,e){if(t){if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(t,e):void 0}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var x=function(t,e){var n=[];return function t(e,i){var r,o=v(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.id.toLowerCase()===i.toLowerCase())return void n.push(a);a.children&&a.children.length>0&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n},_=function t(e){var n=[];if(Array.isArray(e))return e.forEach((function(e){if(e.checked&&n.push(e),e.children&&e.children.length>0){var i=t(e.children);n.push.apply(n,m(i))}})),n},w=function(t){var e=[];return function t(n){Array.isArray(n)&&n.forEach((function(i){if(i.checked)if(i.children&&i.children.length>0){if(0===i.children.filter((function(t){return!t.checked})).length)return void e.push(i)}else{var r=n.find((function(t){return t.id===i.parentId}));r&&r.checked||e.push(i)}i.children&&i.children.length>0&&t(i.children)}))}(t),e};function O(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||C(t)||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 $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||C(t,e)||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 C(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,b=t.data,y=void 0===b?{}:b,C=t.htmlOptions,k=void 0===C?{}:C,S=t.id,j=t.inputDisplay,E=void 0===j?"pills":j,M=t.inputName,A=t.name,P=t.returnAllSelected,T=void 0!==P&&P,L=t.treeData,D=t.onSelect,I=void 0===D?function(){return null}:D,N=t.selectedIds,R=t.variant,F=void 0===R?"multi":R,B=Object(l.a)(n),z=Object(l.c)(y),H=Object(l.d)(k),W=a()(Object(l.b)("pb_multi_level_select"),Object(s.c)(t),o),U=Object(i.useRef)(null),Y=$(Object(i.useState)(!0),2),G=Y[0],V=Y[1],X=$(Object(i.useState)(""),2),q=X[0],K=X[1],Z=$(Object(i.useState)([]),2),J=Z[0],Q=Z[1],tt=$(Object(i.useState)([]),2),et=tt[0],nt=tt[1],it=$(Object(i.useState)([]),2),rt=it[0],ot=it[1],at=function(t,e){var n=[];return function t(i){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=0;o<i.length;o++){var a=i[o],s=[].concat(m(r),[a]);if(a.expanded&&n.push(a.id),e&&e.length&&e.includes(a.id)&&n.push.apply(n,m(s.map((function(t){return t.id})))),Array.isArray(a.children)){var l=a.children.some((function(t){return t.checked}));l&&n.push.apply(n,m(s.map((function(t){return t.id})))),t(a.children,s)}}}(t),n}(L,N),st=$(Object(i.useState)(at),2),lt=st[0],dt=st[1],ct=$(Object(i.useState)({id:[],value:"",item:[]}),2),ut=ct[0],ht=ct[1],pt=function t(e,n){if(Array.isArray(e))return e.map((function(e){return e.checked=n,e.children=t(e.children,n),e}))};Object(i.useEffect)((function(){var t=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(Array.isArray(e))return e.map((function(e){var o=Object.assign(Object.assign({},e),{checked:Boolean(n&&n.length&&n.includes(e.id)),parent_id:i,depth:r});if(o.children&&o.children.length>0){var a=e.checked&&!T?pt(e.children,!0):e.children;o.children=t(a,n,o.id,r+1)}return o}))}(L,"single"===F?[null==N?void 0:N[0]]:N);if(Q(t),"single"===F)if(0!==(null==N?void 0:N.length)&&(null==N?void 0:N.length)){if(0!==(null==N?void 0:N.length)&&!ut.value){var e=x(t,N[0]);if(e.length){var n=e[0],i=n.id,r=n.value;ht({id:[i],value:r,item:e})}else ht({id:[],value:"",item:[]})}}else ht({id:[],value:"",item:[]})}),[L,N]),Object(i.useEffect)((function(){T?nt(_(J)):ot("single"===F?ut.item:w(J))}),[J]),Object(i.useEffect)((function(){var t=function(t){U.current&&!U.current.contains(t.target)&&V(!0)};return window.addEventListener("click",t),function(){window.removeEventListener("click",t)}}),[]);var ft=function t(e,n,i){if(Array.isArray(n))return n.map((function(n){return n.id!=e?n.children=t(e,n.children,i):(n.checked=i,n.children=pt(n.children,"single"===F?!i:i)),n}))},gt=function(t){var e=Object(g.cloneDeep)(J);return T?ft(t.id,e,!0):function t(e,n){if(null!==e.parent_id){var i=x(n,e.parent_id);if(i[0].children.every((function(t){return t.checked})))i[0].checked=!0,null!==i[0].parent_id&&t(i[0],n)}return n}(t,ft(t.id,e,!0))},mt=function(t){var e=Object(g.cloneDeep)(J);return T?ft(t.id,e,!1):function t(e,n){if(n.parent_id){var i=x(e,n.parent_id);i[0].checked=!1,i[0].parent_id&&t(e,i[0])}return e}(ft(t.id,e,!1),t)},vt=function(t,e){var n=e?gt(t):mt(t);return Q(n),n},bt=function(t,e){t.stopPropagation();var n=vt(e,!1);I(T?_(n):w(n))},yt=function(t){return lt.indexOf(t.id)>-1},xt=function(){var t;return T&&et&&et.length?t=et.length:!T&&rt&&rt.length&&(t=rt.length),t};return r.a.createElement("div",Object.assign({},B,z,H,{className:W,id:S}),r.a.createElement("div",{className:"wrapper",ref:U},r.a.createElement("div",{className:"input_wrapper",onClick:function(t){t.stopPropagation(),"multiselect_input"===t.target.id||t.target.classList.contains("pb_form_pill_tag")||V(!G)}},r.a.createElement("div",{className:"input_inner_container"},"single"===F&&0!==rt.length?rt.map((function(t){return r.a.createElement("input",{key:t.id,name:"".concat(A,"[]"),type:"hidden",value:t.id})})):null,"single"!==F&&r.a.createElement(r.a.Fragment,null,T&&0!==et.length?et.map((function(t){return r.a.createElement("input",{key:t.id,name:"".concat(A,"[]"),type:"hidden",value:t.id})})):null,T&&0!==et.length&&"pills"===E?et.map((function(t,e){return r.a.createElement(p.a,{key:e,onClick:function(e){return bt(e,t)},size:"small",text:t.label})})):null,T||0===rt.length||"pills"!==E?null:rt.map((function(t,e){return r.a.createElement(p.a,{key:e,onClick:function(e){return bt(e,t)},size:"small",text:t.label})})),T&&0!==et.length&&"pills"===E&&r.a.createElement("br",null),!T&&0!==rt.length&&"pills"===E&&r.a.createElement("br",null)),r.a.createElement("input",{id:"multiselect_input",onChange:function(t){var e;"single"===F?(e=t.target.value,pt(J,!1),ot([]),ht({id:[],value:e,item:[]}),K(e)):K(t.target.value)},onClick:function(){return V(!1)},placeholder:"none"===E&&xt()?"".concat(xt()," ").concat(1===xt()?"item":"items"," selected"):"Start typing...",value:ut.value||q})),G?r.a.createElement("div",{key:"chevron-down"},r.a.createElement(h.a,{icon:"chevron-down",size:"xs"})):r.a.createElement("div",{key:"chevron-up"},r.a.createElement(h.a,{icon:"chevron-up",size:"xs"}))),r.a.createElement("div",{className:"dropdown_menu ".concat(G?"close":"open")},function t(e){return r.a.createElement("ul",null,Array.isArray(e)&&e.map((function(e){return r.a.createElement("div",{key:e.id},r.a.createElement("li",{className:"dropdown_item","data-name":e.id},r.a.createElement("div",{className:"dropdown_item_checkbox_row"},e.parent_id||e.children?r.a.createElement("div",{key:yt(e)?"chevron-down":"chevron-right"},r.a.createElement(f.a,{className:e.children&&e.children.length>0?"":"toggle_icon",icon:yt(e)?"chevron-down":"chevron-right",onClick:function(t){return function(t,e){e.stopPropagation();var n=x(J,t);if(n){var i=O(lt);yt(n[0])?i=i.filter((function(t){return t!=n[0].id})):i.push(n[0].id),dt(i)}}(e.id,t)},variant:"link"})):null,"single"===F?e.hideRadio?r.a.createElement(u.a,null,e.label):r.a.createElement(c.a,{checked:e.checked,id:"".concat(e.id,"-").concat(e.label),label:e.label,name:M,onChange:function(t){return function(t){var e=t.target,n=e.id,i=e.value,r=n.match(/^[^-]*/)[0],o=pt(J,!1),a=ft(r,o,!0),s=x(a,r);Q(a),ht({id:[r],value:i,item:s}),K(""),V(!0),I(s)}(t)},padding:e.children?"none":"xs",type:"radio",value:e.label}):r.a.createElement(d.a,{id:e.id,text:e.label},r.a.createElement("input",{checked:e.checked,name:e.label,onChange:function(t){!function(t,e){var n=t.target.parentNode.id;K("");var i=x(J,n),r=vt(i[0],e);I(T?_(r):w(r))}(t,!e.checked)},type:"checkbox",value:e.label}))),yt(e)&&e.children&&e.children.length>0&&("single"===F||!q)&&r.a.createElement("div",null,t(e.children))))})))}(q?function(t,e){var n=[];return function t(e,i){var r,o=v(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.label.toLowerCase().includes(i.toLowerCase())&&n.push(a),a.children&&t(a.children,i)}}catch(t){o.e(t)}finally{o.f()}}(t,e),n}(J,q):J))))}},,function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(173),l=n(4),d=n(2),c=Object(i.createContext)({}),u=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},h=function(t){var e=t.children,n=t.className,o=u(t,["children","className"]),s=Object(i.useContext)(c),h=Object(d.b)("pb_collapsible_content_kit"),p=Object(l.c)(o),f=Object(i.useRef)(null);return Object(i.useEffect)((function(){var t;f.current&&(s.collapsed?((t=f.current).style.height=t.scrollHeight+"px",window.setTimeout((function(){t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0",t.style.overflow="hidden"}),1),window.setTimeout((function(){t.classList.remove("is-visible"),t.style.overflow=""}),300)):function(t){t.style.display="block";var e=t.scrollHeight+"px";t.style.height=e,t.classList.add("is-visible"),t.style.overflow="hidden",window.setTimeout((function(){t.style.height="",t.style.overflow="visible"}),300)}(f.current))}),[s.collapsed]),r.a.createElement("div",{className:a()(h,p,"toggle-content",n),"data-collapsible-content":"true",ref:f},e)},p=n(6),f=n(17),g=n(5),m={default:"#242B42",light:"#687887",lighter:"#C1CDD6",link:"#0056CF",error:"#FF2229",success:"#00CA74"},v=function(t){var e=t.collapsed,n=t.icon,i=t.iconSize,o=t.iconColor,a=t.onIconClick,s=m[o],l=function(t){return"string"==typeof t?[t,t]:t},d=function(t){a&&(t.stopPropagation(),a())};return r.a.createElement(r.a.Fragment,null,e?r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[0]:"chevron-down",onClick:function(t){return d(t)},style:{verticalAlign:"middle",color:s}},r.a.createElement(g.a,{icon:n?l(n)[0]:"chevron-down",size:i})):r.a.createElement("div",{className:"icon_wrapper",key:n?l(n)[1]:"chevron-up",onClick:function(t){return d(t)},style:{verticalAlign:"middle",color:s}},r.a.createElement(g.a,{icon:n?l(n)[1]:"chevron-up",size:i})))},b=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},y=function(t){var e=t.children,n=t.className,o=t.cursor,s=void 0===o?"pointer":o,u=b(t,["children","className","cursor"]),h=Object(i.useContext)(c),g=h.collapsed,m=h.toggle,y=h.icon,x=h.iconSize,_=h.iconColor,w=h.onIconClick,O=h.onClick,$=Object(d.b)("pb_collapsible_main_kit"),C=Object(l.c)(u,{cursor:s});return r.a.createElement("div",{className:a()($,C,n)},r.a.createElement("div",{onClick:function(){O&&O(),!0!==(O&&O())&&m()}},r.a.createElement(p.a,{spacing:"between",vertical:"center"},r.a.createElement(f.a,null,e),r.a.createElement(f.a,null,r.a.createElement(v,{collapsed:g,icon:y,iconColor:_,iconSize:x,onIconClick:w})))))};function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var w=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n},O=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.className,u=t.children,p=t.collapsed,f=void 0===p||p,g=t.data,m=void 0===g?{}:g,v=t.htmlOptions,b=void 0===v?{}:v,_=t.icon,O=t.iconColor,$=void 0===O?"default":O,C=t.iconSize,k=t.onIconClick,S=t.onClick,j=t.id,E=w(t,["aria","className","children","collapsed","data","htmlOptions","icon","iconColor","iconSize","onIconClick","onClick","id"]),M=x(Object(s.a)(f),3),A=M[0],P=M[1],T=M[2];if(Object(i.useEffect)((function(){T(f)}),[f]),2!==u.length)throw new Error("Collapsible requires <CollapsibleMain> and <CollapsibleContent> to function properly.");var L=u[0],D=L.type===y?L:null,I=u[1],N=D?D.props:{},R=N.children,F=void 0===R?null:R,B=w(N,["children"]),z=I.props,H=z.children,W=w(z,["children"]),U=Object(d.a)(n),Y=Object(d.c)(m),G=Object(d.d)(b),V=a()(Object(d.b)("pb_collapsible_kit"),Object(l.c)(E),o);return r.a.createElement(c.Provider,{value:{collapsed:A,toggle:P,icon:_,iconSize:C,iconColor:$,onIconClick:k,onClick:S}},r.a.createElement("div",Object.assign({},U,Y,G,{className:V,id:j}),D?r.a.createElement(y,Object.assign({},B),F):L,r.a.createElement(h,Object.assign({},W),H)))};O.Main=y,O.Content=h,O.Icon=v;e.a=O},function(t,e,n){var i=n(211);t.exports=function(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i,r;!function(o){t.exports?(o.default=o,t.exports=o):(i=[n(29)],void 0===(r=function(t){return o(t),o.Highcharts=t,o}.apply(e,i))||(t.exports=r))}((function(t){function e(t,e,n,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){function o(t,e,n,i,r){var o=!0,a=n[0],d=n[1],c=Math.sqrt(Math.pow(t-a,2)+Math.pow(e-d,2));return l(i)&&l(r)&&(t=Math.atan2(s(e-d,8),s(t-a,8)),r!==i&&(o=i>r?t>=i&&t<=Math.PI||t<=r&&t>=-Math.PI:t>=i&&t<=s(r,8))),c<=Math.ceil(n[2]/2)&&o}var a=r.addEvent,s=r.correctFloat,l=r.defined,d=r.extend,c=r.merge,u=r.pick,h=r.splat;return t.prototype.collectionsWithUpdate.push("pane"),r=function(){function t(t,e){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(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=c(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=h(e),t=Math.max(e.length,this.background.length||0),n=0;n<t;n++)e[n]&&this.axis?this.renderBackground(c(this.defaultBackgroundOptions,e[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},t.prototype.renderBackground=function(t,e){var n="animate",i={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||d(i,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),n="attr"),this.background[e][n]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(i)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=e.getCenter.call(this)},t.prototype.update=function(t,e){c(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t){t.pane===this&&(t.pane=null,t.update({},e))}),this)},t}(),t.prototype.getHoverPane=function(t){var e,n=this;return t&&n.pane.forEach((function(i){o(t.chartX-n.plotLeft,t.chartY-n.plotTop,i.center)&&(e=i)})),e},a(t,"afterIsInsidePlot",(function(t){if(this.polar){if(t.options.inverted){var e=[t.y,t.x];t.x=e[0],t.y=e[1]}t.isInsidePlot=this.pane.some((function(e){return o(t.x,t.y,e.center,e.axis&&e.axis.normalizedStartAngleRad,e.axis&&e.axis.normalizedEndAngleRad)}))}})),a(i,"beforeGetHoverData",(function(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(n){return n.visible&&!(!t.shared&&n.directTouch)&&u(n.options.enableMouseTracking,!0)&&(!e.hoverPane||n.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0})),a(i,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!o(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),n.Pane=r,n.Pane})),e(t,"Series/AreaRange/AreaRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=(t=t.seriesTypes.area.prototype).pointClass.prototype,r=e.defined,o=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.high=void 0,e.low=void 0,e.options=void 0,e.plotX=void 0,e.series=void 0,e}return n(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,n=e.chart.polar;r(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),r(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,n&&o(this.plotHighX)&&(this.plotX=this.plotHighX),i.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],n&&o(this.plotLowX)&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),i.setState.apply(this,arguments)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&o(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(e=i.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&o(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(i.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return o(this.low)&&o(this.high)},e}(t.pointClass)})),e(t,"Series/AreaRange/AreaRangeSeries.js",[t["Series/AreaRange/AreaRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.seriesTypes,a=o.area,s=o.area.prototype,l=o.column.prototype;o=i.addEvent;var d=i.defined,c=i.extend,u=i.isArray,h=i.isNumber,p=i.pick,f=i.merge,g={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}};return o(i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.lowerStateMarkerGraphic=void 0,e.xAxis=void 0,e}return r(e,t),e.prototype.toYData=function(t){return[t.low,t.high]},e.prototype.highToXY=function(t){var e=this.chart,n=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-(t.plotHigh||0));t.plotHighX=n.x-e.plotLeft,t.plotHigh=n.y-e.plotTop,t.plotLowX=t.plotX},e.prototype.getGraphPath=function(t){var e,n=[],i=[],r=s.getGraphPath,o=this.options,a=this.chart.polar,l=a&&!1!==o.connectEnds,d=o.connectNulls,c=o.step;for(e=(t=t||this.points).length;e--;){var u=t[e],h=a?{plotX:u.rectPlotX,plotY:u.yBottom,doCurve:!1}:{plotX:u.plotX,plotY:u.plotY,doCurve:!1};u.isNull||l||d||t[e+1]&&!t[e+1].isNull||i.push(h);var f={polarPlotY:u.polarPlotY,rectPlotX:u.rectPlotX,yBottom:u.yBottom,plotX:p(u.plotHighX,u.plotX),plotY:u.plotHigh,isNull:u.isNull};i.push(f),n.push(f),u.isNull||l||d||t[e-1]&&!t[e-1].isNull||i.push(h)}return t=r.call(this,t),c&&(!0===c&&(c="left"),o.step={left:"right",center:"center",right:"left"}[c]),n=r.call(this,n),i=r.call(this,i),o.step=c,o=[].concat(t,n),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=o,this.areaPath=t.concat(i),o.isArea=!0,o.xMap=t.xMap,this.areaPath.xMap=t.xMap,o},e.prototype.drawDataLabels=function(){var t,e,n=this.points,i=n.length,r=[],o=this.options.dataLabels,a=this.chart.inverted;if(o){if(u(o))var l=o[0]||{enabled:!1},d=o[1]||{enabled:!1};else(l=c({},o)).x=o.xHigh,l.y=o.yHigh,(d=c({},o)).x=o.xLow,d.y=o.yLow;if(l.enabled||this._hasPointLabels){for(t=i;t--;)if(e=n[t]){var h=e.plotHigh;h=void 0===h?0:h;var p=e.plotLow;p=void 0===p?0:p,p=l.inside?h<p:h>p,e.y=e.high,e._plotY=e.plotY,e.plotY=h,r[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=p,a?l.align||(l.align=p?"right":"left"):l.verticalAlign||(l.verticalAlign=p?"top":"bottom")}for(this.options.dataLabels=l,s.drawDataLabels&&s.drawDataLabels.apply(this,arguments),t=i;t--;)(e=n[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=r[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(d.enabled||this._hasPointLabels){for(t=i;t--;)(e=n[t])&&(h=void 0===(r=e.plotHigh)?0:r,p=void 0===(r=e.plotLow)?0:r,p=d.inside?h<p:h>p,e.below=!p,a?d.align||(d.align=p?"left":"right"):d.verticalAlign||(d.verticalAlign=p?"bottom":"top"));this.options.dataLabels=d,s.drawDataLabels&&s.drawDataLabels.apply(this,arguments)}if(l.enabled)for(t=i;t--;)(e=n[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=o}},e.prototype.alignDataLabel=function(){l.alignDataLabel.apply(this,arguments)},e.prototype.drawPoints=function(){var t,e=this.points.length;for(s.drawPoints.apply(this,arguments),t=0;t<e;){var n=this.points[t];n.graphics=n.graphics||[],n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},(n.graphic||n.graphics[0])&&(n.graphics[0]=n.graphic),n.graphic=n.graphics[1],n.plotY=n.plotHigh,d(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=p(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),t++}for(s.drawPoints.apply(this,arguments),t=0;t<e;)(n=this.points[t]).graphics=n.graphics||[],(n.graphic||n.graphics[1])&&(n.graphics[1]=n.graphic),n.graphic=n.graphics[0],n.origProps&&(c(n,n.origProps),delete n.origProps),t++},e.defaultOptions=f(a.defaultOptions,g),e}(a),"afterTranslate",(function(){var t=this;"low,high"===this.pointArrayMap.join(",")&&this.points.forEach((function(e){var n=e.high,i=e.plotY;e.isNull?e.plotY=void 0:(e.plotLow=i,e.plotHigh=h(n)?t.yAxis.translate(t.dataModify?t.dataModify.modifyValue(n):n,!1,!0,void 0,!0):void 0,t.dataModify&&(e.yBottom=e.plotHigh))}))}),{order:0}),o(i,"afterTranslate",(function(){var t=this;this.points.forEach((function(e){if(t.chart.polar)t.highToXY(e),e.plotLow=e.plotY,e.tooltipPos=[((e.plotHighX||0)+(e.plotLowX||0))/2,((e.plotHigh||0)+(e.plotLow||0))/2];else{var n=e.pos(!1,e.plotLow),i=e.pos(!1,e.plotHigh);n&&i&&(n[0]=(n[0]+i[0])/2,n[1]=(n[1]+i[1])/2),e.tooltipPos=n}}))}),{order:3}),c(i.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:t,pointValKey:"low",setStackedPoints:e}),n.registerSeriesType("arearange",i),i})),e(t,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[t["Series/AreaRange/AreaRangeSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=e.seriesTypes.spline.prototype,o=n.merge;n=n.extend;var a=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return i(n,e),n.defaultOptions=o(t.defaultOptions),n}(t);return n(a.prototype,{getPointSpline:r.getPointSpline}),e.registerSeriesType("areasplinerange",a),a})),e(t,"Series/BoxPlot/BoxPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=i.extend,a=i.merge,s=i.pick;return i=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.pointAttribs=function(){return{}},n.prototype.translate=function(){var t=this.yAxis,n=this.pointArrayMap;e.prototype.translate.apply(this),this.points.forEach((function(e){n.forEach((function(n){null!==e[n]&&(e[n+"Plot"]=t.translate(e[n],0,1,0,1))})),e.plotHigh=e.highPlot}))},n.prototype.drawPoints=function(){var t,e,n,i,r,o,a,l,d,c,u,h=this,p=h.options,f=h.chart,g=f.renderer,m=0,v=!1!==h.doQuartiles,b=h.options.whiskerLength;h.points.forEach((function(y){var x=y.graphic,_=x?"animate":"attr",w=y.shapeArgs,O={},$={},C={},k={},S=y.color||h.color;void 0!==y.plotY&&(a=Math.round(w.width),l=Math.floor(w.x),d=l+a,c=Math.round(a/2),t=Math.floor(v?y.q1Plot:y.lowPlot),e=Math.floor(v?y.q3Plot:y.lowPlot),n=Math.floor(y.highPlot),i=Math.floor(y.lowPlot),x||(y.graphic=x=g.g("point").add(h.group),y.stem=g.path().addClass("highcharts-boxplot-stem").add(x),b&&(y.whiskers=g.path().addClass("highcharts-boxplot-whisker").add(x)),v&&(y.box=g.path(void 0).addClass("highcharts-boxplot-box").add(x)),y.medianShape=g.path(void 0).addClass("highcharts-boxplot-median").add(x)),f.styledMode||($.stroke=y.stemColor||p.stemColor||S,$["stroke-width"]=s(y.stemWidth,p.stemWidth,p.lineWidth),$.dashstyle=y.stemDashStyle||p.stemDashStyle||p.dashStyle,y.stem.attr($),b&&(C.stroke=y.whiskerColor||p.whiskerColor||S,C["stroke-width"]=s(y.whiskerWidth,p.whiskerWidth,p.lineWidth),C.dashstyle=y.whiskerDashStyle||p.whiskerDashStyle||p.dashStyle,y.whiskers.attr(C)),v&&(O.fill=y.fillColor||p.fillColor||S,O.stroke=p.lineColor||S,O["stroke-width"]=p.lineWidth||0,O.dashstyle=y.boxDashStyle||p.boxDashStyle||p.dashStyle,y.box.attr(O)),k.stroke=y.medianColor||p.medianColor||S,k["stroke-width"]=s(y.medianWidth,p.medianWidth,p.lineWidth),k.dashstyle=y.medianDashStyle||p.medianDashStyle||p.dashStyle,y.medianShape.attr(k)),o=y.stem.strokeWidth()%2/2,x=[["M",m=l+c+o,e],["L",m,n],["M",m,t],["L",m,i]],y.stem[_]({d:x}),v&&(o=y.box.strokeWidth()%2/2,t=Math.floor(t)+o,e=Math.floor(e)+o,x=[["M",l+=o,e],["L",l,t],["L",d+=o,t],["L",d,e],["L",l,e],["Z"]],y.box[_]({d:x})),b&&(o=y.whiskers.strokeWidth()%2/2,n+=o,i+=o,u=/%$/.test(b)?c*parseFloat(b)/100:b/2,x=[["M",m-u,n],["L",m+u,n],["M",m-u,i],["L",m+u,i]],y.whiskers[_]({d:x})),r=Math.round(y.medianPlot),o=y.medianShape.strokeWidth()%2/2,x=[["M",l,r+=o],["L",d,r]],y.medianShape[_]({d:x}))}))},n.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},n.defaultOptions=a(t.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}(t),o(i.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),n.registerSeriesType("boxplot",i),i})),e(t,"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}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=t.parse,o=n.noop,a=i.arrayMax,s=i.arrayMin,l=i.isNumber,d=i.merge,c=i.pick,u=i.stableSort;return t=function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,n=c(t.options.itemDistance,20),i=this.legendItem||{},r=this.options,o=r.ranges,a=r.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(r.labels.style.fontSize),o&&o.length&&l(o[0].value)?(u(o,(function(t,e){return e.value-t.value})),this.ranges=o,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(o=this.ranges[0].radius),a=0<(a=a-o+t.width)?a:0,this.maxLabel=t,this.movementX="left"===r.labels.align?a:0,i.labelWidth=e+a+n,i.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,n=this.chart.series[e.seriesIndex],i=this.legend.baseline,o={zIndex:e.zIndex,"stroke-width":e.borderWidth},a={zIndex:e.zIndex,"stroke-width":e.connectorWidth},s={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=n.options.marker.fillOpacity,u=this.chart.styledMode;t.forEach((function(h,p){u||(o.stroke=c(h.borderColor,e.borderColor,n.color),o.fill=c(h.color,e.color,1!==l?r(n.color).setOpacity(l).get("rgba"):n.color),a.stroke=c(h.connectorColor,e.connectorColor,n.color)),t[p].radius=this.getRangeRadius(h.value),t[p]=d(t[p],{center:t[0].radius-t[p].radius+i}),u||d(!0,t[p],{bubbleAttribs:d(o),connectorAttribs:d(a),labelAttribs:s})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,n=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item"),t.symbol.translateX=0,e=t.symbol.translateY=0;for(var i=this.ranges;e<i.length;e++){var r=i[e];r.value>=n&&this.renderRange(r)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,n=e.labels,i=this.chart,r=i.series[e.seriesIndex],o=i.renderer,a=this.symbols;i=a.labels;var s=t.center,l=Math.abs(t.radius),d=e.connectorDistance||0,c=n.align,u=e.connectorWidth,h=this.ranges[0].radius||0,p=s-l-e.borderWidth/2+u/2,f=this.fontMetrics;f=f.f/2-(f.h-f.f)/2;var g=o.styledMode;d=this.legend.options.rtl||"left"===c?-d:d,"center"===c&&(d=0,e.connectorDistance=0,t.labelAttribs.align="center"),c=p+e.labels.y;var m=h+d+e.labels.x;a.bubbleItems.push(o.circle(h,s+((p%1?1:.5)-(u%2?0:.5)),l).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),a.connectors.push(o.path(o.crispLine([["M",h,p],["L",h+d,p]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=o.text(this.formatLabel(t),m,c+f).attr(g?{}:t.labelAttribs).css(g?{}:n.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),i.push(t),t.placed=!0,t.alignAttr={x:m,y:c+f}},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach((function(n){e=n.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var n=this.options,i=n.labels.formatter;n=n.labels.format;var r=this.chart.numberFormatter;return n?e.format(n,t):i?i.call(t):r(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,n){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[n].show():e.connectors[n].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,n=e.options.ranges,i=Number.MAX_VALUE,r=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&((t=e.zData.filter(l)).length&&(i=c(e.options.zMin,Math.min(i,Math.max(s(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),r=c(e.options.zMax,Math.max(r,a(t)))))}));var o=i===r?[{value:r}]:[{value:i},{value:(i+r)/2},{value:r,autoRanges:!0}];return n.length&&n[0].radius&&o.reverse(),o.forEach((function(t,e){n&&n[e]&&(o[e]=d(n[e],t))})),o},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,n=t.legend.options,i=n.floating,r=(n="horizontal"===n.layout)?t.legend.lastLineHeight:0,o=t.plotSizeX,a=t.plotSizeY,s=t.series[this.options.seriesIndex],l=s.getPxExtremes();t=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var d=Math.min(a,o);return s=s.options.maxSize,i||!/%$/.test(s)?e=l:(s=parseFloat(s),e=(d+r-e.h/2)*s/100/(s/100+1),(n&&a-e>=o||!n&&o-e>=a)&&(e=l)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var n=this.legend.options.bubbleLegend;n.minSize=t,n.maxSize=e,n.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}()})),e(t,"Series/Bubble/BubbleLegendComposition.js",[t["Series/Bubble/BubbleLegendDefaults.js"],t["Series/Bubble/BubbleLegendItem.js"],t["Core/Defaults.js"],t["Core/Utilities.js"]],(function(t,e,n,i){function r(t,e,n){var i,r=this.legend,s=0<=o(this);if(r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&s){var l=r.bubbleLegend.options;s=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(s[0],s[1]),l.placed||(r.group.placed=!1,r.allItems.forEach((function(t){(i=t.legendItem||{}).group&&(i.group.translateY=null)}))),r.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),l.placed||(t.setScale(),t.updateNames(),h(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),l.placed=!0,this.getMargins(),t.call(this,e,n),r.bubbleLegend.correctSizes(),d(r,a(r))}else t.call(this,e,n),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),d(r,a(r)))}function o(t){t=t.series;for(var e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1}function a(t){var e,n=[],i=(t=t.allItems).length,r=0;for(e=0;e<i;e++){var o=t[e].legendItem||{},a=(t[e+1]||{}).legendItem||{};if(o.labelHeight&&(t[e].itemHeight=o.labelHeight),t[e]===t[i-1]||o.y!==a.y){for(n.push({height:0}),o=n[n.length-1];r<=e;r++)t[r].itemHeight>o.height&&(o.height=t[r].itemHeight);o.step=e}}return n}function s(t){var n=this.bubbleLegend,i=this.options,r=i.bubbleLegend,a=o(this.chart);n&&n.ranges&&n.ranges.length&&(r.ranges.length&&(r.autoRanges=!!r.ranges[0].autoRanges),this.destroyItem(n)),0<=a&&i.enabled&&r.enabled&&(r.seriesIndex=a,this.bubbleLegend=new e(r,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=o(t),n.bubbleLegend.visible!==t&&(n.update({bubbleLegend:{enabled:t}}),n.bubbleLegend.visible=t),this.visible=e)}function d(t,e){var n,i,r,o,a=t.options.rtl,s=0;t.allItems.forEach((function(t,l){(o=t.legendItem||{}).group&&(n=o.group.translateX||0,i=o.y||0,((r=t.movementX)||a&&t.ranges)&&(r=a?n-t.options.maxSize/2:n+r,o.group.attr({translateX:r})),l>e[s].step&&s++,o.group.attr({translateY:Math.round(i+e[s].height/2)}),o.y=i+e[s].height/2)}))}var c=n.setOptions,u=i.addEvent,h=i.objectEach,p=i.wrap,f=[];return{compose:function(e,n,i){-1===f.indexOf(e)&&(f.push(e),c({legend:{bubbleLegend:t}}),p(e.prototype,"drawChartBox",r)),-1===f.indexOf(n)&&(f.push(n),u(n,"afterGetAllItems",s)),-1===f.indexOf(i)&&(f.push(i),u(i,"legendItemClick",l))}}})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return(n=n.extend)((e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i(n,e),n.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},n}(e.seriesTypes.scatter.prototype.pointClass)).prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o){function a(){var t,e=this,n=this.len,i=this.chart,r=this.isXAxis,o=r?"xData":"yData",a=this.min,s=this.max-a,l=0,d=n,c=n/s;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!i.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var u=n[o];if(r&&((n.onPoint||n).getRadii(0,0,n),n.onPoint&&(n.radii=n.onPoint.radii)),0<s)for(var h=u.length;h--;)if(m(u[h])&&e.dataMin<=u[h]&&u[h]<=e.max){var p=n.radii&&n.radii[h]||0;l=Math.min((u[h]-a)*c-p,l),d=Math.max((u[h]-a)*c+p,d)}}})),t&&0<s&&!this.logarithmic&&(d-=n,c*=(n+Math.max(0,l)-Math.min(d,n))/n,[["min","userMin",l],["max","userMax",d]].forEach((function(t){void 0===b(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/c)})))}var s=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=n.parse;n=i.noop;var d=r.series,c=r.seriesTypes;i=c.column.prototype;var u=c.scatter;c=o.addEvent;var h=o.arrayMax,p=o.arrayMin,f=o.clamp,g=o.extend,m=o.isNumber,v=o.merge,b=o.pick,y=[];return o=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 s(n,e),n.compose=function(e,n,i,r){t.compose(n,i,r),-1===y.indexOf(e)&&(y.push(e),e.prototype.beforePadding=a)},n.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},n.prototype.getRadii=function(){var t=this,e=this.zData,n=this.yData,i=[],r=this.chart.bubbleZExtremes,o=this.getPxExtremes(),a=o.minPxSize,s=o.maxPxSize;if(!r){var l,d=Number.MAX_VALUE,c=-Number.MAX_VALUE;this.chart.series.forEach((function(e){e.bubblePadding&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&(e=(e.onPoint||e).getZExtremes())&&(d=Math.min(d||e.zMin,e.zMin),c=Math.max(c||e.zMax,e.zMax),l=!0)})),l?(r={zMin:d,zMax:c},this.chart.bubbleZExtremes=r):r={zMin:0,zMax:0}}var u=0;for(o=e.length;u<o;u++){var h=e[u];i.push(this.getRadius(r.zMin,r.zMax,a,s,h,n&&n[u]))}this.radii=i},n.prototype.getRadius=function(t,e,n,i,r,o){var a=this.options,s="width"!==a.sizeBy,l=a.zThreshold,d=e-t,c=.5;if(null===o||null===r)return null;if(m(r)){if(a.sizeByAbsoluteValue&&(r=Math.abs(r-l),d=Math.max(e-l,Math.abs(t-l)),t=0),r<t)return n/2-1;0<d&&(c=(r-t)/d)}return s&&0<=c&&(c=Math.sqrt(c)),Math.ceil(n+c*(i-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(t,e){var n=this.options.marker.fillOpacity;return t=d.prototype.pointAttribs.call(this,t,e),1!==n&&(t.fill=l(t.fill).setOpacity(n).get("rgba")),t},n.prototype.translate=function(){e.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var t=this.data,e=this.radii,n=this.getPxExtremes().minPxSize,i=t.length;i--;){var r=t[i],o=e?e[i]:0;m(o)&&o>=n/2?(r.marker=g(r.marker,{radius:o,width:2*o,height:2*o}),r.dlBox={x:r.plotX-o,y:r.plotY-o,width:2*o,height:2*o}):(r.shapeArgs=r.plotY=r.dlBox=void 0,r.isInside=!1)}},n.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"==typeof e){var n=/%$/.test(e);e=parseInt(e,10)}return n?t*e/100:e},n=e(b(this.options.minSize,8));return{minPxSize:n,maxPxSize:e=Math.max(e(b(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(m);if(e.length){var n=b(t.zMin,f(p(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=b(t.zMax,h(e)),m(n)&&m(t))return{zMin:n,zMax:t}}},n.defaultOptions=v(u.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return m(e)?t(e,-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}(u),g(o.prototype,{alignDataLabel:i.alignDataLabel,applyZones:n,bubblePadding:!0,buildKDTree:n,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),c(o,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),c(o,"remove",(function(t){delete t.target.chart.bubbleZExtremes})),r.registerSeriesType("bubble",o),o})),e(t,"Series/ColumnRange/ColumnRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=t.seriesTypes;t=i.column.prototype.pointClass.prototype;var r=e.extend,o=e.isNumber;return r((e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.isValid=function(){return o(this.low)},e}(i.arearange.prototype.pointClass)).prototype,{setState:t.setState}),e})),e(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.seriesTypes,a=o.arearange,s=o.column,l=o.column.prototype,d=i.clamp;o=i.extend;var c=i.isNumber,u=i.merge,h=i.pick,p={pointRange:null,marker:null,states:{hover:{halo:!1}}};return i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.setOptions=function(){return u(!0,arguments[0],{stacking:void 0}),a.prototype.setOptions.apply(this,arguments)},e.prototype.translate=function(){var t,e,n,i,r=this,o=this.yAxis,a=this.xAxis,s=a.startAngleRad,u=this.chart,p=this.xAxis.isRadial,f=Math.max(u.chartWidth,u.chartHeight)+999;l.translate.apply(this),this.points.forEach((function(l){var g=l.shapeArgs||{},m=r.options.minPointLength,v=l.plotY,b=o.translate(l.high,0,1,0,1);c(b)&&c(v)&&(l.plotHigh=d(b,-f,f),l.plotLow=d(v,-f,f),i=l.plotHigh,t=h(l.rectPlotY,l.plotY)-l.plotHigh,Math.abs(t)<m?(t+=e=m-t,i-=e/2):0>t&&(i-=t*=-1),p&&r.polar?(n=l.barX+s,l.shapeType="arc",l.shapeArgs=r.polar.arc(i+t,i,n,n+l.pointWidth)):(g.height=t,g.y=i,m=void 0===(m=g.x)?0:m,g=void 0===(g=g.width)?0:g,l.tooltipPos=u.inverted?[o.len+o.pos-u.plotLeft-i-t/2,a.len+a.pos-u.plotTop-m-g/2,t]:[a.left-u.plotLeft+m+g/2,o.pos-u.plotTop+i+t/2,t]))}))},e.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},e.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},e.defaultOptions=u(s.defaultOptions,a.defaultOptions,p),e}(a),o(i.prototype,{directTouch:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:l.adjustForMissingColumns,animate:l.animate,crispCol:l.crispCol,drawGraph:e,drawPoints:l.drawPoints,getSymbol:e,drawTracker:l.drawTracker,getColumnMetrics:l.getColumnMetrics}),n.registerSeriesType("columnrange",i),i})),e(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=t.prototype,o=n.clamp,a=n.merge,s=n.pick;return n=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 i(n,e),n.prototype.translate=function(){var t=this,e=t.chart,n=t.options,i=t.dense=2>t.closestPointRange*t.xAxis.transA;i=t.borderWidth=s(n.borderWidth,i?0:1);var a=t.yAxis,l=n.threshold,d=t.translatedThreshold=a.getThreshold(l),c=s(n.minPointLength,5),u=t.getColumnMetrics(),h=u.width,p=t.barW=Math.max(h,1+2*i),f=t.pointXOffset=u.offset;e.inverted&&(d-=.5),n.pointPadding&&(p=Math.ceil(p)),r.translate.apply(t),t.points.forEach((function(i){var r=s(i.yBottom,d),u=999+Math.abs(r),g=o(i.plotY,-u,a.len+u);u=i.plotX+f;var m,v=p/2,b=Math.min(g,r);r=Math.max(g,r)-b,i.barX=u,i.pointWidth=h,i.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-g,t.xAxis.len-u-v,r]:[u+v,g+a.pos-e.plotTop,r],g=l+(i.total||i.y),"percent"===n.stacking&&(g=l+(0>i.y)?-100:100),g=a.toPixels(g,!0);var y=(m=e.plotHeight-g-(e.plotHeight-d))?v*(b-g)/m:0,x=m?v*(b+r-g)/m:0;m=u-y+v,y=u+y+v;var _=u+x+v;x=u-x+v;var w=b-c,O=b+r;0>i.y&&(w=b,O=b+r+c),e.inverted&&(x=v*(g-((_=a.width-b)-r))/(m=g-(a.width-d)),y=(m=u+v+(y=v*(g-_)/m))-2*y,_=u-x+v,x=u+x+v,w=b,O=b+r-c,0>i.y&&(O=b+r+c)),i.shapeType="path",i.shapeArgs={x:m,y:w,width:y-m,height:r,d:[["M",m,w],["L",y,w],["L",_,O],["L",x,O],["Z"]]}}))},n.defaultOptions=a(t.defaultOptions,{}),n}(t),e.registerSeriesType("columnpyramid",n),n})),e(t,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],(function(){return{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}})),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Series/ErrorBar/ErrorBarSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=i.seriesTypes.arearange,s=r.addEvent,l=r.merge;r=r.extend;var d=function(i){function r(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(r,i),r.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},r.prototype.drawDataLabels=function(){var t=this.pointValKey;a&&(a.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]})))},r.prototype.toYData=function(t){return[t.low,t.high]},r.defaultOptions=l(t.defaultOptions,n),r}(t);return s(d,"afterTranslate",(function(){this.points.forEach((function(t){t.plotLow=t.plotY}))}),{order:0}),r(d.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),i.registerSeriesType("errorbar",d),d})),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.shapeArgs=void 0,e}return e(n,t),n.prototype.setState=function(t){this.state=t},n}(t.series.prototype.pointClass)})),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();e=e.noop;var o=n.series,a=n.seriesTypes.column,s=i.clamp,l=i.isNumber,d=i.extend,c=i.merge,u=i.pick,h=i.pInt;return d((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e.yAxis=void 0,e}return r(e,t),e.prototype.translate=function(){var t=this.yAxis,e=this.options,n=t.center;this.generatePoints(),this.points.forEach((function(i){var r=c(e.dial,i.dial),o=h(r.radius)*n[2]/200,a=h(r.baseLength)*o/100,d=h(r.rearLength)*o/100,u=r.baseWidth,p=r.topWidth,f=e.overshoot,g=t.startAngleRad+t.translate(i.y,void 0,void 0,void 0,!0);(l(f)||!1===e.wrap)&&(f=l(f)?f/180*Math.PI:0,g=s(g,t.startAngleRad-f,t.endAngleRad+f)),g=180*g/Math.PI,i.shapeType="path",i.shapeArgs={d:r.path||[["M",-d,-u/2],["L",a,-u/2],["L",o,-p/2],["L",o,p/2],["L",a,u/2],["L",-d,u/2],["Z"]],translateX:n[0],translateY:n[1],rotation:g},i.plotX=n[0],i.plotY=n[1]}))},e.prototype.drawPoints=function(){var t=this,e=t.chart,n=t.yAxis.center,i=t.pivot,r=t.options,o=r.pivot,a=e.renderer;t.points.forEach((function(n){var i=n.graphic,o=n.shapeArgs,s=o.d,l=c(r.dial,n.dial);i?(i.animate(o),o.d=s):n.graphic=a[n.shapeType](o).attr({rotation:o.rotation,zIndex:1}).addClass("highcharts-dial").add(t.group),e.styledMode||n.graphic[i?"animate":"attr"]({stroke:l.borderColor,"stroke-width":l.borderWidth,fill:l.backgroundColor})})),i?i.animate({translateX:n[0],translateY:n[1]}):o&&(t.pivot=a.circle(0,0,o.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(t.group),e.styledMode||t.pivot.attr({fill:o.backgroundColor,stroke:o.borderColor,"stroke-width":o.borderWidth}))},e.prototype.animate=function(t){var e=this;t||e.points.forEach((function(t){var n=t.graphic;n&&(n.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),n.animate({rotation:t.shapeArgs.rotation},e.options.animation))}))},e.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),o.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){o.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),u(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=c(o.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),e}(o)).prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:a.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",i),i})),e(t,"Series/DragNodesComposition.js",[t["Core/Utilities.js"]],(function(t){function e(){var t,e,i,r=this;r.container&&(t=n(r.container,"mousedown",(function(t){var o=r.hoverPoint;o&&o.series&&o.series.hasDraggableNodes&&o.series.options.draggable&&(o.series.onMouseDown(o,t),e=n(r.container,"mousemove",(function(t){return o&&o.series&&o.series.onMouseMove(o,t)})),i=n(r.container.ownerDocument,"mouseup",(function(t){return e(),i(),o&&o.series&&o.series.onMouseUp(o,t)})))}))),n(r,"destroy",(function(){t()}))}var n=t.addEvent,i=[];return{compose:function(t){-1===i.indexOf(t)&&(i.push(t),n(t,"load",e))},onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var n=this.chart,i=n.pointer.normalize(e);e=t.fixedPosition.chartX-i.chartX,i=t.fixedPosition.chartY-i.chartY;var r=n.graphLayoutsLookup,o=void 0,a=void 0;(5<Math.abs(e)||5<Math.abs(i))&&(o=t.fixedPosition.plotX-e,a=t.fixedPosition.plotY-i,n.isInsidePlot(o,a)&&(t.plotX=o,t.plotY=a,t.hasDragged=!0,this.redrawHalo(t),r.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}}})),e(t,"Series/GraphLayoutComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Utilities.js"]],(function(t,e){function n(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw())}function i(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())}function r(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))}function o(){var t=!1,e=function(e){e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()&&!e.enableSimulation&&(e.beforeStep&&e.beforeStep(),e.step(),n=!1,t=!0)};if(this.graphLayoutsLookup){for(a(!1,this),this.graphLayoutsLookup.forEach((function(t){return t.start()}));!n;){var n=!0;this.graphLayoutsLookup.forEach(e)}t&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}}var a=t.setAnimation,s=e.addEvent,l=[];return{compose:function(t){l.indexOf(t)&&(l.push(t),s(t,"afterPrint",n),s(t,"beforePrint",i),s(t,"predraw",r),s(t,"render",o))},integrations:{},layouts:{}}})),e(t,"Series/PackedBubble/PackedBubblePoint.js",[t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();return function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.degree=NaN,t.mass=NaN,t.radius=NaN,t.options=void 0,t.series=void 0,t.value=null,t}return i(r,n),r.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e.prototype.destroy.apply(this,arguments)},r.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var n=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,e.prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=n}else e.prototype.firePointEvent.apply(this,arguments)},r.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,e.prototype.select.apply(this,arguments),n.getSelectedPoints=t.prototype.getSelectedPoints):e.prototype.select.apply(this,arguments)},r}(n.seriesTypes.bubble.prototype.pointClass)})),e(t,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[t["Core/Utilities.js"]],(function(t){var e=t.isNumber;return{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 t=this.series.chart.numberFormatter,n=this.point.value;return e(n)?t(n,-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}}})),e(t,"Series/Networkgraph/VerletIntegration.js",[],(function(){return{attractive:function(t,e,n){var i=t.getMass(),r=-n.x*e*this.diffTemperature;e=-n.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=r*i.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*i.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=r*i.toNode/t.toNode.degree,t.toNode.plotY+=e*i.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return(e-t)/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,n=(n-(this.box.top+this.box.height)/2)*t,this.nodes.forEach((function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=n/t.mass/t.degree)}))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)},integrate:function(t,e){var n=-t.options.friction,i=t.options.maxSpeed,r=(e.plotX+e.dispX-e.prevX)*n;n*=e.plotY+e.dispY-e.prevY;var o=Math.abs,a=o(r)/(r||1);o=o(n)/(n||1),r=a*Math.min(i,Math.abs(r)),n=o*Math.min(i,Math.abs(n)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=r,e.plotY+=n,e.temperature=t.vectorLength({x:r,y:n})},repulsive:function(t,e,n){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=n.x*e,t.plotY+=n.y*e)},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)}}})),e(t,"Series/PackedBubble/PackedBubbleIntegration.js",[t["Core/Globals.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e){return{barycenter:function(){for(var t,e,n=this.options.gravitationalConstant,i=this.box,r=this.nodes,o=0;o<r.length;o++){var a=r[o];this.options.splitSeries&&!a.isParentNode?(t=a.series.parentNode.plotX,e=a.series.parentNode.plotY):(t=i.width/2,e=i.height/2),a.fixedPosition||(a.plotX-=(a.plotX-t)*n/(a.mass*Math.sqrt(r.length)),a.plotY-=(a.plotY-e)*n/(a.mass*Math.sqrt(r.length)))}},getK:t.noop,integrate:e.integrate,repulsive:function(t,e,n,i){var r=e*this.diffTemperature/t.mass/t.degree;e=n.x*r,n=n.y*r,t.fixedPosition||(t.plotX+=e,t.plotY+=n),i.fixedPosition||(i.plotX-=e,i.plotY-=n)},repulsiveForceFunction:function(t,e,n,i){return Math.min(t,(n.marker.radius+i.marker.radius)/2)}}})),e(t,"Series/Networkgraph/EulerIntegration.js",[],(function(){return{attractive:function(t,e,n,i){var r=t.getMass(),o=n.x/i*e;e*=n.y/i,t.fromNode.fixedPosition||(t.fromNode.dispX-=o*r.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*r.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=o*r.toNode/t.toNode.degree,t.toNode.dispY+=e*r.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach((function(i){if(!i.fixedPosition){var r=i.getDegree();r*=1+r/2,i.dispX+=(e-i.plotX)*t*r/i.degree,i.dispY+=(n-i.plotY)*t*r/i.degree}}))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var n=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==n&&(e.plotX+=e.dispX/n*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/n*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,n,i){t.dispX+=n.x/i*e/t.degree,t.dispY+=n.y/i*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}}})),e(t,"Series/Networkgraph/QuadTreeNode.js",[],(function(){return function(){function t(t){this.isInternal=this.isEmpty=this.body=!1,this.nodes=[],this.box=t,this.boxSize=Math.min(t.width,t.height)}return t.prototype.divideBox=function(){var e=this.box.width/2,n=this.box.height/2;this.nodes[0]=new t({left:this.box.left,top:this.box.top,width:e,height:n}),this.nodes[1]=new t({left:this.box.left+e,top:this.box.top,width:e,height:n}),this.nodes[2]=new t({left:this.box.left+e,top:this.box.top+n,width:e,height:n}),this.nodes[3]=new t({left:this.box.left,top:this.box.top+n,width:e,height:n})},t.prototype.getBoxPosition=function(t){var e=t.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2},t.prototype.insert=function(e,n){this.isInternal?this.nodes[this.getBoxPosition(e)].insert(e,n-1):(this.isEmpty=!1,this.body?n?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,n-1),this.body=!0),this.nodes[this.getBoxPosition(e)].insert(e,n-1)):((n=new t({top:e.plotX||NaN,left:e.plotY||NaN,width:.1,height:.1})).body=e,n.isInternal=!1,this.nodes.push(n)):(this.isInternal=!1,this.body=e))},t.prototype.updateMassAndCenter=function(){var t=0,e=0,n=0;if(this.isInternal){for(var i=0,r=this.nodes;i<r.length;i++){var o=r[i];o.isEmpty||(t+=o.mass,e+=o.plotX*o.mass,n+=o.plotY*o.mass)}e/=t,n/=t}else this.body&&(t=this.body.mass,e=this.body.plotX,n=this.body.plotY);this.mass=t,this.plotX=e,this.plotY=n},t}()})),e(t,"Series/Networkgraph/QuadTree.js",[t["Series/Networkgraph/QuadTreeNode.js"]],(function(t){return function(){function e(e,n,i,r){this.box={left:e,top:n,width:i,height:r},this.maxDepth=25,this.root=new t(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}return e.prototype.calculateMassAndCenter=function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))},e.prototype.insertNodes=function(t){for(var e=0;e<t.length;e++)this.root.insert(t[e],this.maxDepth)},e.prototype.visitNodeRecursive=function(t,e,n){var i;if(t||(t=this.root),t===this.root&&e&&(i=e(t)),!1!==i){for(var r=0,o=t.nodes;r<o.length;r++){var a=o[r];if(a.isInternal){if(e&&(i=e(a)),!1===i)continue;this.visitNodeRecursive(a,e,n)}else a.body&&e&&e(a.body);n&&n(a)}t===this.root&&n&&n(t)}},e}()})),e(t,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[t["Series/Networkgraph/EulerIntegration.js"],t["Core/Globals.js"],t["Series/GraphLayoutComposition.js"],t["Series/Networkgraph/QuadTree.js"],t["Core/Utilities.js"],t["Series/Networkgraph/VerletIntegration.js"]],(function(t,e,n,i,r,o){var a=e.win,s=r.clamp,l=r.defined,d=r.isFunction,c=r.pick;return function(){function e(){this.attractiveForce=void 0,this.box={},this.currentStep=0,this.initialRendering=!0,this.integration=void 0,this.links=[],this.nodes=[],this.repulsiveForce=this.quadTree=this.options=void 0,this.series=[],this.simulation=!1}return e.compose=function(i){n.compose(i),n.integrations.euler=t,n.integrations.verlet=o,n.layouts["reingold-fruchterman"]=e},e.prototype.init=function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.integrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=c(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},e.prototype.updateSimulation=function(t){this.enableSimulation=c(t,this.options.enableSimulation)},e.prototype.start=function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach((function(t){t.finishedAnimating=!0,t.render()}))),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},e.prototype.step=function(){var t=this,e=this.series;this.currentStep++,"barnes-hut"===this.approximation&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(var n=0,i=this.forces||[];n<i.length;n++)this[i[n]+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(n=0;n<e.length;n++)(i=e[n]).chart&&i.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&a.cancelAnimationFrame(this.simulation),this.simulation=a.requestAnimationFrame((function(){return t.step()}))):this.simulation=!1}},e.prototype.stop=function(){this.simulation&&a.cancelAnimationFrame(this.simulation)},e.prototype.setArea=function(t,e,n,i){this.box={left:t,top:e,width:n,height:i}},e.prototype.setK=function(){this.k=this.options.linkLength||this.integration.getK(this)},e.prototype.addElementsToCollection=function(t,e){for(var n=0;n<t.length;n++){var i=t[n];-1===e.indexOf(i)&&e.push(i)}},e.prototype.removeElementFromCollection=function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},e.prototype.clear=function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},e.prototype.resetSimulation=function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},e.prototype.restartSimulation=function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},e.prototype.setMaxIterations=function(t){this.maxIterations=c(t,this.options.maxIterations)},e.prototype.setTemperature=function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},e.prototype.setDiffTemperature=function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},e.prototype.setInitialRendering=function(t){this.initialRendering=t},e.prototype.createQuadTree=function(){this.quadTree=new i(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},e.prototype.initPositions=function(){var t=this.options.initialPositions;if(d(t)){t.call(this),t=0;for(var e=this.nodes;t<e.length;t++){var n=e[t];l(n.prevX)||(n.prevX=n.plotX),l(n.prevY)||(n.prevY=n.plotY),n.dispX=0,n.dispY=0}}else"circle"===t?this.setCircularPositions():this.setRandomPositions()},e.prototype.setCircularPositions=function(){for(var t=this.box,e=this.nodes,n=2*Math.PI/(e.length+1),i=e.filter((function(t){return 0===t.linksTo.length})),r={},o=this.options.initialPositionRadius,a=function(t){var e=0;for(t=t.linksFrom||[];e<t.length;e++){var n=t[e];r[n.toNode.id]||(r[n.toNode.id]=!0,s.push(n.toNode),a(n.toNode))}},s=[],l=0;l<i.length;l++){var d=i[l];s.push(d),a(d)}if(s.length)for(i=0;i<e.length;i++)l=e[i],-1===s.indexOf(l)&&s.push(l);else s=e;for(i=0,l=s.length;i<l;++i)(e=s[i]).plotX=e.prevX=c(e.plotX,t.width/2+o*Math.cos(i*n)),e.plotY=e.prevY=c(e.plotY,t.height/2+o*Math.sin(i*n)),e.dispX=0,e.dispY=0},e.prototype.setRandomPositions=function(){for(var t,e=this.box,n=this.nodes,i=n.length+1,r=function(t){return(t=t*t/Math.PI)-Math.floor(t)},o=0,a=n.length;o<a;++o)(t=n[o]).plotX=t.prevX=c(t.plotX,e.width*r(o)),t.plotY=t.prevY=c(t.plotY,e.height*r(i+o)),t.dispX=0,t.dispY=0},e.prototype.force=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.integration[t].apply(this,e)},e.prototype.barycenterForces=function(){this.getBarycenter(),this.force("barycenter")},e.prototype.getBarycenter=function(){for(var t=0,e=0,n=0,i=0,r=this.nodes;i<r.length;i++){var o=r[i];e+=o.plotX*o.mass,n+=o.plotY*o.mass,t+=o.mass}return this.barycenter={x:e,y:n,xFactor:e/t,yFactor:n/t}},e.prototype.barnesHutApproximation=function(t,e){var n=this.getDistXY(t,e),i=this.vectorLength(n);if(t!==e&&0!==i)if(e.isInternal)if(e.boxSize/i<this.options.theta&&0!==i){var r=this.repulsiveForce(i,this.k);this.force("repulsive",t,r*e.mass,n,i);var o=!1}else o=!0;else r=this.repulsiveForce(i,this.k),this.force("repulsive",t,r*e.mass,n,i);return o},e.prototype.repulsiveForces=function(){var t=this;if("barnes-hut"===this.approximation)for(var e=function(e){n.quadTree.visitNodeRecursive(null,(function(n){return t.barnesHutApproximation(e,n)}))},n=this,i=0,r=this.nodes;i<r.length;i++){var o=r[i];e(o)}else{r=i=e=void 0;for(var a=0,s=this.nodes;a<s.length;a++){o=s[a];for(var l=0,d=this.nodes;l<d.length;l++){var c=d[l];o===c||o.fixedPosition||(r=this.getDistXY(o,c),0!==(i=this.vectorLength(r))&&(e=this.repulsiveForce(i,this.k),this.force("repulsive",o,e*c.mass,r,i)))}}}},e.prototype.attractiveForces=function(){for(var t,e,n,i=0,r=this.links;i<r.length;i++){var o=r[i];o.fromNode&&o.toNode&&(t=this.getDistXY(o.fromNode,o.toNode),0!==(e=this.vectorLength(t))&&(n=this.attractiveForce(e,this.k),this.force("attractive",o,n,t,e)))}},e.prototype.applyLimits=function(){for(var t=0,e=this.nodes;t<e.length;t++){var n=e[t];if(n.fixedPosition)break;this.integration.integrate(this,n),this.applyLimitBox(n,this.box),n.dispX=0,n.dispY=0}},e.prototype.applyLimitBox=function(t,e){var n=t.radius;t.plotX=s(t.plotX,e.left+n,e.width-n),t.plotY=s(t.plotY,e.top+n,e.height-n)},e.prototype.coolDown=function(t,e,n){return t-e*n},e.prototype.isStable=function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},e.prototype.getSystemTemperature=function(){for(var t=0,e=0,n=this.nodes;e<n.length;e++)t+=n[e].temperature;return t},e.prototype.vectorLength=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.prototype.getDistR=function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},e.prototype.getDistXY=function(t,e){var n=t.plotX-e.plotX;return{x:n,y:t=t.plotY-e.plotY,absX:Math.abs(n),absY:Math.abs(t)}},e}()})),e(t,"Series/PackedBubble/PackedBubbleLayout.js",[t["Series/GraphLayoutComposition.js"],t["Series/PackedBubble/PackedBubbleIntegration.js"],t["Series/Networkgraph/ReingoldFruchtermanLayout.js"],t["Core/Utilities.js"]],(function(t,e,n,i){function r(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t}function o(){this.allDataPoints&&delete this.allDataPoints}var a=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=i.addEvent,l=i.pick,d=[];return i=function(i){function c(){var t=null!==i&&i.apply(this,arguments)||this;return t.index=NaN,t.nodes=[],t.options=void 0,t.series=[],t}return a(c,i),c.compose=function(i){n.compose(i),t.integrations.packedbubble=e,t.layouts.packedbubble=c,-1===d.indexOf(i)&&(d.push(i),s(i,"beforeRedraw",o),i.prototype.getSelectedParentNodes=r)},c.prototype.beforeStep=function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},c.prototype.isStable=function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>t||0>=this.temperature},c.prototype.setCircularPositions=function(){for(var t,e,n=this.box,i=this.nodes,r=2*Math.PI/(i.length+1),o=this.options.initialPositionRadius,a=0,s=0;s<i.length;s++){var d=i[s];this.options.splitSeries&&!d.isParentNode?(t=d.series.parentNode.plotX,e=d.series.parentNode.plotY):(t=n.width/2,e=n.height/2),d.plotX=d.prevX=l(d.plotX,t+o*Math.cos(d.index||a*r)),d.plotY=d.prevY=l(d.plotY,e+o*Math.sin(d.index||a*r)),d.dispX=0,d.dispY=0,a++}},c.prototype.repulsiveForces=function(){var t,e,n,i=this,r=i.options.bubblePadding;i.nodes.forEach((function(o){o.degree=o.mass,o.neighbours=0,i.nodes.forEach((function(a){t=0,o===a||o.fixedPosition||!i.options.seriesInteraction&&o.series!==a.series||(n=i.getDistXY(o,a),0>(e=i.vectorLength(n)-(o.marker.radius+a.marker.radius+r))&&(o.degree+=.01,o.neighbours++,t=i.repulsiveForce(-e/Math.sqrt(o.neighbours),i.k,o,a)),i.force("repulsive",o,t*a.mass,n,a,e))}))}))},c.prototype.applyLimitBox=function(t,e){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var n=this.getDistXY(t,t.series.parentNode),r=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(n);0>r&&r>-2*t.marker.radius&&(t.plotX-=.01*n.x,t.plotY-=.01*n.y)}i.prototype.applyLimitBox.call(this,t,e)},c}(n),t.layouts.packedbubble=i})),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Series/DragNodesComposition.js"],t["Series/GraphLayoutComposition.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],t["Series/PackedBubble/PackedBubbleLayout.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r,o,a,s,l){var d=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=t.parse;t=i.noop;var u=s.series.prototype,h=s.seriesTypes.bubble,p=l.addEvent,f=l.clamp,g=l.defined,m=l.extend,v=l.fireEvent,b=l.isArray,y=l.isNumber,x=l.merge,_=l.pick;return l=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.layout=void 0,e.options=void 0,e.parentNodeMass=0,e.points=void 0,e.xData=void 0,e}return d(i,t),i.compose=function(t,n,i,r){h.compose(t,n,i,r),e.compose(n),a.compose(n)},i.prototype.accumulateAllPoints=function(){for(var t,e=this.chart,n=[],i=0,r=e.series;i<r.length;i++){var o=r[i];if(o.is("packedbubble")&&o.visible||!e.options.chart.ignoreHiddenSeries){t=o.yData||[];for(var a=0;a<t.length;a++)n.push([null,null,t[a],o.index,a,{id:a,marker:{radius:0}}])}}return n},i.prototype.addLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",i=this.chart.options.chart,r=this.chart.graphLayoutsStorage,o=this.chart.graphLayoutsLookup;r||(this.chart.graphLayoutsStorage=r={},this.chart.graphLayoutsLookup=o=[]);var a=r[e];a||(t.enableSimulation=g(i.forExport)?!i.forExport:t.enableSimulation,r[e]=a=new n.layouts[e],a.init(t),o.splice(a.index,0,a)),this.layout=a,this.points.forEach((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),a.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),a.addElementsToCollection([this],a.series),a.addElementsToCollection(this.points,a.nodes)},i.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},e=t.type||"packedbubble",i=this.chart.graphLayoutsStorage,r=this.chart.graphLayoutsLookup;t=x(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation});var o=i[e+"-series"];o||(i[e+"-series"]=o=new n.layouts[e],o.init(t),r.splice(o.index,0,o)),this.parentNodeLayout=o,this.createParentNodes()},i.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=f(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},i.prototype.calculateZExtremes=function(){var t=this.options.zMin,e=this.options.zMax,n=1/0,i=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){g(t)&&(t>i&&(i=t),t<n&&(n=t))}))})),[t=_(t,n),e=_(e,i)])},i.prototype.checkOverlap=function(t,e){var n=t[0]-e[0],i=t[1]-e[1];return-.001>Math.sqrt(n*n+i*i)-Math.abs(t[2]+e[2])},i.prototype.createParentNodes=function(){var t,e=this,n=this.pointClass,i=this.chart,r=this.parentNodeLayout,o=this.layout.options,a=this.parentNode,s={radius:this.parentNodeRadius,lineColor:this.color,fillColor:c(this.color).brighten(.4).get()};o.parentNodeOptions&&(s=x(o.parentNodeOptions.marker||{},s)),this.parentNodeMass=0,this.points.forEach((function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)})),this.calculateParentRadius(),r.nodes.forEach((function(n){n.seriesIndex===e.index&&(t=!0)})),r.setArea(0,0,i.plotWidth,i.plotHeight),t||(a||(a=(new n).init(this,{mass:this.parentNodeRadius/2,marker:s,dataLabels:{inside:!1},states:{normal:{marker:s},hover:{marker:s}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(a.plotX=this.parentNode.plotX,a.plotY=this.parentNode.plotY),this.parentNode=a,r.addElementsToCollection([this],r.series),r.addElementsToCollection([a],r.nodes))},i.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},i.prototype.destroy=function(){var t=this;this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(e){e.removeElementFromCollection(t,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())),u.destroy.apply(this,arguments)},i.prototype.drawDataLabels=function(){u.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",u.drawDataLabels.call(this,[this.parentNode]))},i.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker;e={fill:e.fillColor||c(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":_(e.lineWidth,this.options.lineWidth)},this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius();var n=x({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},e);this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(e.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(n)}},i.prototype.drawTracker=function(){var e=this.parentNode;if(t.prototype.drawTracker.call(this),e){var n=b(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[];e.graphic&&(e.graphic.element.point=e),n.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))}},i.prototype.getPointRadius=function(){var t,e,n,i,r=this,o=this.chart,a=this.options,s=a.useSimulation,l=Math.min(o.plotWidth,o.plotHeight),d={},c=[],u=o.allDataPoints||[],h=u.length;["minSize","maxSize"].forEach((function(t){var e=parseInt(a[t],10),n=/%$/.test(a[t]);d[t]=n?l*e/100:e*Math.sqrt(h)})),o.minRadius=t=d.minSize/Math.sqrt(h),o.maxRadius=e=d.maxSize/Math.sqrt(h);var p=s?this.calculateZExtremes():[t,e];u.forEach((function(o,a){n=s?f(o[2],p[0],p[1]):o[2],0===(i=r.getRadius(p[0],p[1],t,e,n))&&(i=null),u[a][2]=i,c.push(i)})),this.radii=c},i.prototype.init=function(){return u.init.apply(this,arguments),this.eventsToUnbind.push(p(this,"updatedData",(function(){var t=this;this.chart.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)}),this)}))),this},i.prototype.onMouseUp=function(t){var n=t;if(n.fixedPosition&&!n.removed){var i,r=this.layout,o=this.parentNodeLayout;o&&r.options.dragBetweenSeries&&o.nodes.forEach((function(t){n&&n.marker&&t!==n.series.parentNode&&(i=r.getDistXY(n,t),0>r.vectorLength(i)-t.marker.radius-n.marker.radius&&(t.series.addPoint(x(n.options,{plotX:n.plotX,plotY:n.plotY}),!1),r.removeElementFromCollection(n,r.nodes),n.remove()))})),e.onMouseUp.apply(this,arguments)}},i.prototype.placeBubbles=function(t){var e,n=this.checkOverlap,i=this.positionBubble,r=[],o=1,a=0,s=0,l=[];if((t=t.sort((function(t,e){return e[2]-t[2]}))).length){if(r.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(r.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,n(l=i(r[o][a],r[o-1][s],t[e]),r[o][0])?(r.push([]),s=0,r[o+1].push(i(r[o][a],r[o][0],t[e])),o++,a=0):1<o&&r[o-1][s+1]&&n(l,r[o-1][s+1])?(s++,r[o].push(i(r[o][a],r[o-1][s],t[e])),a++):(a++,r[o].push(l));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),l=this.chart.rawPositions}return l},i.prototype.pointAttribs=function(t,e){var n=this.options,i=n.marker;return t&&t.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(i=n.layoutAlgorithm.parentNodeOptions.marker),n=i.fillOpacity,t=u.pointAttribs.call(this,t,e),1!==n&&(t["fill-opacity"]=n),t},i.prototype.positionBubble=function(t,e,n){var i=Math.sqrt,r=Math.asin,o=Math.acos,a=Math.pow,s=Math.abs;return i=i(a(t[0]-e[0],2)+a(t[1]-e[1],2)),o=o((a(i,2)+a(n[2]+e[2],2)-a(n[2]+t[2],2))/(2*(n[2]+e[2])*i)),r=r(s(t[0]-e[0])/i),t=(0>t[1]-e[1]?0:Math.PI)+o+r*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+n[2])*Math.sin(t),e[1]-(e[2]+n[2])*Math.cos(t),n[2],n[3],n[4]]},i.prototype.render=function(){var t=[];u.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){b(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},i.prototype.resizeRadius=function(){for(var t,e,n=this.chart,i=n.rawPositions,r=Math.min,o=Math.max,a=n.plotLeft,s=n.plotTop,l=n.plotHeight,d=n.plotWidth,c=t=Number.POSITIVE_INFINITY,u=e=Number.NEGATIVE_INFINITY,h=0;h<i.length;h++){var p=i[h],f=p[2];c=r(c,p[0]-f),u=o(u,p[0]+f),t=r(t,p[1]-f),e=o(e,p[1]+f)}if(p=[u-c,e-t],r=r.apply([],[(d-a)/p[0],(l-s)/p[1]]),1e-10<Math.abs(r-1)){for(n=0;n<i.length;n++)(p=i[n])[2]*=r;this.placeBubbles(i)}else n.diffY=l/2+s-t-(e-t)/2,n.diffX=d/2+a-c-(u-c)/2},i.prototype.seriesBox=function(){var t,e=this.chart,n=Math.max,i=Math.min,r=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){g(e.plotX)&&g(e.plotY)&&e.marker.radius&&(t=e.marker.radius,r[0]=i(r[0],e.plotX-t),r[1]=n(r[1],e.plotX+t),r[2]=i(r[2],e.plotY-t),r[3]=n(r[3],e.plotY+t))})),y(r.width/r.height)?r:null},i.prototype.setVisible=function(){var t=this;u.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach((function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)})))},i.prototype.translate=function(){var t=this.chart,e=this.data,n=this.index,i=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),g(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),i)var r=t.allDataPoints;else r=this.placeBubbles(t.allDataPoints),this.options.draggable=!1;for(var o=0,a=r;o<a.length;o++){var s=a[o];if(s[3]===n){r=e[s[4]];var l=_(s[2],void 0);i||(r.plotX=s[0]-t.plotLeft+t.diffX,r.plotY=s[1]-t.plotTop+t.diffY),y(l)&&(r.marker=m(r.marker,{radius:l,width:2*l,height:2*l}),r.radius=l)}}i&&this.deferLayout(),v(this,"afterTranslate")},i.defaultOptions=x(h.defaultOptions,o),i}(h),m(l.prototype,{pointClass:r,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],alignDataLabel:u.alignDataLabel,indexateNodes:t,onMouseDown:e.onMouseDown,onMouseMove:e.onMouseMove,redrawHalo:e.redrawHalo,searchPoint:t}),s.registerSeriesType("packedbubble",l),l})),e(t,"Series/Polygon/PolygonSeries.js",[t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();t=t.noop;var o=n.series,a=n.seriesTypes,s=a.area,l=a.line,d=a.scatter;a=i.extend;var c=i.merge;return a((i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getGraphPath=function(){for(var t=l.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,s.prototype.drawGraph.call(this)},e.defaultOptions=c(d.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),e}(d)).prototype,{type:"polygon",drawLegendSymbol:e.drawRectangle,drawTracker:o.prototype.drawTracker,setStackedPoints:t}),n.registerSeriesType("polygon",i),i})),e(t,"Core/Axis/WaterfallAxis.js",[t["Core/Axis/Stacking/StackItem.js"],t["Core/Utilities.js"]],(function(t,e){var n,i=e.addEvent,r=e.objectEach;return function(e){function n(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function o(){var t=this.options.stackLabels;t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function a(){for(var t=this.axes,e=this.series,n=e.length;n--;)e[n].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function e(t){this.axis=t,this.stacks={changed:!1}}return e.prototype.renderStackTotals=function(){var e=this.axis,n=e.waterfall.stacks,i=e.stacking&&e.stacking.stackTotalGroup,o=new t(e,e.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=o,i&&r(n,(function(e){r(e,(function(e,n){o.total=e.stackTotal,o.x=+n,e.label&&(o.label=e.label),t.prototype.render.call(o,i),e.label=o.label,delete o.label}))})),o.total=null},e}();e.Composition=l,e.compose=function(t,e){i(t,"init",s),i(t,"afterBuildStacks",n),i(t,"afterRender",o),i(e,"beforeRedraw",a)}}(n||(n={})),n})),e(t,"Series/Waterfall/WaterfallPoint.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,n){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=n.isNumber;return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return i(n,t),n.prototype.getClassName=function(){var t=e.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},n.prototype.isValid=function(){return r(this.y)||this.isSum||!!this.isIntermediateSum},n}(t.prototype.pointClass)})),e(t,"Series/Waterfall/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/WaterfallAxis.js"],t["Series/Waterfall/WaterfallPoint.js"]],(function(t,e,n,i,r,o){var a=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=n.seriesTypes,l=s.column,d=s.line,c=i.arrayMax,u=i.arrayMin,h=i.correctFloat;s=i.extend;var p=i.isNumber,f=i.merge,g=i.objectEach,m=i.pick;return i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.stackedYNeg=void 0,e.stackedYPos=void 0,e.stackKey=void 0,e.xData=void 0,e.yAxis=void 0,e.yData=void 0,e}return a(e,t),e.prototype.generatePoints=function(){l.prototype.generatePoints.apply(this);for(var t=0,e=this.points.length;t<e;t++){var n=this.points[t],i=this.processedYData[t];p(i)&&(n.isIntermediateSum||n.isSum)&&(n.y=h(i))}},e.prototype.translate=function(){var t=this.options,e=this.yAxis,n=m(t.minPointLength,5),i=n/2,r=t.threshold||0;t=t.stacking;var o=e.waterfall.stacks[this.stackKey],a=r,s=r;l.prototype.translate.apply(this);for(var d=this.points,c=0;c<d.length;c++){var u=d[c],h=this.processedYData[c],f=u.shapeArgs;if(f&&p(h)){var g=[0,h],v=u.y;if(t){if(o){if(g=o[c],"overlap"===t){var b=g.stackState[g.stateIndex--];b=0<=v?b:b-v,Object.hasOwnProperty.call(g,"absolutePos")&&delete g.absolutePos,Object.hasOwnProperty.call(g,"absoluteNeg")&&delete g.absoluteNeg}else 0<=v?(b=g.threshold+g.posTotal,g.posTotal-=v):(b=g.threshold+g.negTotal,g.negTotal-=v,b-=v),!g.posTotal&&p(g.absolutePos)&&Object.hasOwnProperty.call(g,"absolutePos")&&(g.posTotal=g.absolutePos,delete g.absolutePos),!g.negTotal&&p(g.absoluteNeg)&&Object.hasOwnProperty.call(g,"absoluteNeg")&&(g.negTotal=g.absoluteNeg,delete g.absoluteNeg);u.isSum||(g.connectorThreshold=g.threshold+g.stackTotal),e.reversed?(h=0<=v?b-v:b+v,v=b):(h=b,v=b-v),u.below=h<=r,f.y=e.translate(h,!1,!0,!1,!0),f.height=Math.abs(f.y-e.translate(v,!1,!0,!1,!0)),(v=e.waterfall.dummyStackItem)&&(v.x=c,v.label=o[c].label,v.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[c],this.stackedYPos[c],void 0,this.xAxis))}}else b=Math.max(s,s+v)+g[0],f.y=e.translate(b,!1,!0,!1,!0),u.isSum?(f.y=e.translate(g[1],!1,!0,!1,!0),f.height=Math.min(e.translate(g[0],!1,!0,!1,!0),e.len)-f.y,u.below=g[1]<=r):u.isIntermediateSum?(0<=v?(h=g[1]+a,v=a):(h=a,v=g[1]+a),e.reversed&&(h^=v,h^=v^=h),f.y=e.translate(h,!1,!0,!1,!0),f.height=Math.abs(f.y-Math.min(e.translate(v,!1,!0,!1,!0),e.len)),a+=g[1],u.below=h<=r):(f.height=0<h?e.translate(s,!1,!0,!1,!0)-f.y:e.translate(s,!1,!0,!1,!0)-e.translate(s-h,!1,!0,!1,!0),s+=h,u.below=s<r),0>f.height&&(f.y+=f.height,f.height*=-1);u.plotY=f.y=Math.round(f.y||0)-this.borderWidth%2/2,f.height=Math.max(Math.round(f.height||0),.001),u.yBottom=f.y+f.height,f.height<=n&&!u.isNull?(f.height=n,f.y-=i,u.plotY=f.y,u.minPointLengthOffset=0>u.y?-i:i):(u.isNull&&(f.width=0),u.minPointLengthOffset=0),v=u.plotY+(u.negative?f.height:0),u.below&&(u.plotY+=f.height),u.tooltipPos&&(this.chart.inverted?u.tooltipPos[0]=e.len-v:u.tooltipPos[1]=v),u.isInside=this.isPointInside(u)}}},e.prototype.processData=function(e){var n,i,r,o,a,s=this.options,l=this.yData,d=s.data,c=l.length,u=s.threshold||0;for(a=i=n=r=o=0;a<c;a++){var p=l[a],f=d&&d[a]?d[a]:{};"sum"===p||f.isSum?l[a]=h(i):"intermediateSum"===p||f.isIntermediateSum?(l[a]=h(n),n=0):(i+=p,n+=p),r=Math.min(i,r),o=Math.max(i,o)}t.prototype.processData.call(this,e),s.stacking||(this.dataMin=r+u,this.dataMax=o)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.updateParallelArrays=function(e,n){t.prototype.updateParallelArrays.call(this,e,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},e.prototype.pointAttribs=function(t,e){var n=this.options.upColor;return n&&!t.options.color&&(t.color=0<t.y?n:void 0),delete(t=l.prototype.pointAttribs.call(this,t,e)).dashstyle,t},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){var t,e=this.data,n=this.yAxis,i=e.length,r=Math.round(this.graph.strokeWidth())%2/2,o=Math.round(this.borderWidth)%2/2,a=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,d=[];for(t=1;t<i;t++){var c=e[t].shapeArgs,u=e[t-1],h=e[t-1].shapeArgs,p=n.waterfall.stacks[this.stackKey],f=0<u.y?-h.height:0;p&&h&&c&&(p=p[t-1],l?(p=p.connectorThreshold,f=Math.round(n.translate(p,!1,!0,!1,!0)+(s?f:0))-r):f=h.y+u.minPointLengthOffset+o-r,d.push(["M",(h.x||0)+(a?0:h.width||0),f],["L",(c.x||0)+(a&&c.width||0),f])),h&&d.length&&(!l&&0>u.y&&!s||0<u.y&&s)&&((u=d[d.length-2])&&"number"==typeof u[2]&&(u[2]+=h.height||0),(u=d[d.length-1])&&"number"==typeof u[2]&&(u[2]+=h.height||0))}return d},e.prototype.drawGraph=function(){d.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(){function t(t,e,n,i){if(m){if(x)for(;n<x;n++)m.stackState[n]+=i;else m.stackState[0]=t,x=m.stackState.length;m.stackState.push(m.stackState[x-1]+e)}}var e,n,i,r=this.options,o=this.yAxis.waterfall.stacks,a=r.threshold||0,s=a,l=s,d=this.stackKey,c=this.xData,u=c.length;this.yAxis.stacking.usePercentage=!1;var h=e=n=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var p=o.changed;if((i=o.alreadyChanged)&&0>i.indexOf(d)&&(p=!0),o[d]||(o[d]={}),i=o[d])for(var f=0;f<u;f++){var g=c[f];i[g]&&!p||(i[g]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:p&&i[g]?i[g].label:void 0});var m=i[g],v=this.yData[f];0<=v?m.posTotal+=v:m.negTotal+=v;var b=r.data[f];g=m.absolutePos=m.posTotal;var y=m.absoluteNeg=m.negTotal;m.stackTotal=g+y;var x=m.stackState.length;b&&b.isIntermediateSum?(t(n,e,0,n),n=e,e=a,s^=l,s^=l^=s):b&&b.isSum?(t(a,h,x,0),s=a):(t(s,v,0,h),b&&(h+=v,e+=v)),m.stateIndex++,m.threshold=s,s+=m.stackTotal}o.changed=!1,o.alreadyChanged||(o.alreadyChanged=[]),o.alreadyChanged.push(d)}},e.prototype.getExtremes=function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var n=this.stackedYNeg=[],i=this.stackedYPos=[];return g(e[this.stackKey],"overlap"===t?function(t){n.push(u(t.stackState)),i.push(c(t.stackState))}:function(t){n.push(t.negTotal+t.threshold),i.push(t.posTotal+t.threshold)}),{dataMin:u(n),dataMax:c(i)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=f(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),e}(l),s(i.prototype,{getZonesGraphs:d.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:o}),n.registerSeriesType("waterfall",i),r.compose(t,e),i})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/AxisDefaults.js"],t["Core/Defaults.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,i){var r,o=e.defaultOptions,a=n.noop,s=i.addEvent,l=i.correctFloat,d=i.defined,c=i.extend,u=i.fireEvent,h=i.merge,p=i.pick,f=i.relativeLength,g=i.wrap;return function(e){function n(){this.autoConnect=this.isCircular&&void 0===p(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 i(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&t.options.labels&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map((function(e){return t.ticks[e]&&t.ticks[e].label})).filter((function(t){return!!t}))}}function r(){return a}function m(t,e,n){var i=this.pane.center,r=t.value;if(this.isCircular){if(d(r))t.point&&((o=t.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x));else{var o=t.chartX||0,a=t.chartY||0;r=this.translate(Math.atan2(a-n,o-e)-this.startAngleRad,!0)}o=(t=this.getPosition(r)).x,a=t.y}else d(r)||(o=t.chartX,a=t.chartY),d(o)&&d(a)&&(n=i[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(o-e,2)+Math.pow(a-n,2)),i[2]/2)-i[3]/2,!0));return[r,o||0,a||0]}function v(t,e,n){t=this.pane.center;var i=this.chart,r=this.left||0,o=this.top||0,a=p(e,t[2]/2-this.offset);return void 0===n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(a+=n),this.isCircular||void 0!==e?((e=this.chart.renderer.symbols.arc(r+t[0],o+t[1],a,a,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+t[0]],e.yBounds=[o+t[1]-a]):(e=this.postTranslate(this.angleRad,a),e=[["M",this.center[0]+i.plotLeft,this.center[1]+i.plotTop],["L",e.x,e.y]]),e}function b(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function y(t,e,n){var i=this.chart,r=function(t){if("string"==typeof t){var e=parseInt(t,10);return u.test(t)&&(e=e*s/100),e}return t},o=this.center,a=this.startAngleRad,s=o[2]/2,l=Math.min(this.offset,0),d=this.left||0,c=this.top||0,u=/%$/,h=this.isCircular,f=p(r(n.outerRadius),s),g=r(n.innerRadius);if(r=p(r(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),h||(f=t||0,g=e||0),"circle"!==n.shape&&h)n=a+(t||0),a+=e||0;else{n=-Math.PI/2,a=1.5*Math.PI;var m=!0}f-=l,l=i.renderer.symbols.arc(d+o[0],c+o[1],f,f,{start:Math.min(n,a),end:Math.max(n,a),innerR:p(g,f-(r-l)),open:m}),h&&(h=(a+n)/2,d=d+o[0]+o[2]/2*Math.cos(h),l.xBounds=h>-Math.PI/2&&h<Math.PI/2?[d,i.plotWidth]:[0,d],l.yBounds=[c+o[1]+o[2]/2*Math.sin(h)],l.yBounds[0]+=h>-Math.PI&&0>h||h>Math.PI?-10:10)}return l}function x(t){var e=this,n=this.pane.center,i=this.chart,r=i.inverted,o=t.reverse,a=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=a.innerRadius||"0%",l=a.outerRadius||"100%",d=n[0]+i.plotLeft,c=n[1]+i.plotTop,u=this.height,h=t.isCrosshair;a=n[3]/2;var p,g=t.value,m=this.getPosition(g),v=m.x;if(m=m.y,h&&(g=(m=this.getCrosshairPosition(t,d,c))[0],v=m[1],m=m[2]),this.isCircular)g=Math.sqrt(Math.pow(v-d,2)+Math.pow(m-c,2)),o="string"==typeof s?f(s,1):s/g,i="string"==typeof l?f(l,1):l/g,n&&a&&(o<(a/=g)&&(o=a),i<a&&(i=a)),n=[["M",d+o*(v-d),c-o*(c-m)],["L",v-(1-i)*(v-d),m+(1-i)*(c-m)]];else if((g=this.translate(g))&&(0>g||g>u)&&(g=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,g,a);else if(n=[],i[r?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(p=t)})),p)for(d=p.tickPositions,p.autoConnect&&(d=d.concat([d[0]])),o&&(d=d.slice().reverse()),g&&(g+=a),c=0;c<d.length;c++)a=p.getPosition(d[c],g),n.push(c?["L",a.x,a.y]:["M",a.x,a.y]);return n}function _(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,p(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)}function w(){var t=this.center,e=this.chart,n=this.options.title;return{x:e.plotLeft+t[0]+(n.x||0),y:e.plotTop+t[1]-{high:.5,middle:.25,low:0}[n.align]*t[2]+(n.y||0)}}function O(t){t.beforeSetTickPositions=n,t.createLabelCollector=i,t.getCrosshairPosition=m,t.getLinePath=v,t.getOffset=b,t.getPlotBandPath=y,t.getPlotLinePath=x,t.getPosition=_,t.getTitlePosition=w,t.postTranslate=A,t.setAxisSize=T,t.setAxisTranslation=L,t.setOptions=D}function $(){var t=this.chart,e=this.options,n=this.pane,i=n&&n.options;t.angular&&this.isXAxis||!n||!t.angular&&!t.polar||(t=2*Math.PI,n=(p(i.startAngle,0)-90)*Math.PI/180,i=(p(i.endAngle,p(i.startAngle,0)+360)-90)*Math.PI/180,this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=n,this.endAngleRad=i,this.offset=e.offset||0,i=(i%t+t)%t,(e=(n%t+t)%t)>Math.PI&&(e-=t),i>Math.PI&&(i-=t),this.normalizedStartAngleRad=e,this.normalizedEndAngleRad=i)}function C(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function k(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}}function S(e){var n,i=this.chart,o=i.inverted,s=i.angular,l=i.polar,d=this.isXAxis,c=this.coll,u=s&&d;e=e.userOptions.pane||0,e=this.pane=i.pane&&i.pane[e],"colorAxis"===c?this.isRadial=!1:(s?(u?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=a,this.render=this.redraw=P,this.setTitle=this.setCategories=this.setScale=a):O(this),(n=!d)&&(this.defaultPolarOptions=F)):l&&(O(this),this.defaultPolarOptions=(n=this.horiz)?R:h("xAxis"===c?t.defaultXAxisOptions:t.defaultYAxisOptions,B),o&&"yAxis"===c&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,e&&n&&(e.axis=this),this.isCircular=n)}function j(){this.isRadial&&this.beforeSetTickPositions()}function E(t){var e=this.label;if(e){var n=this.axis,i=e.getBBox(),r=n.options.labels,o=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,a=Math.round(o),s=d(r.y)?0:.3*-i.height,l=r.y,c=20,u=r.align,h="end",g=0>a?a+360:a,m=g,v=0,b=0;if(n.isRadial){var y=n.getPosition(this.pos,n.center[2]/2+f(p(r.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===r.rotation?e.attr({rotation:o}):d(l)||(l=n.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-i.height/2),d(u)||(n.isCircular?(i.width>n.len*n.tickInterval/(n.max-n.min)&&(c=0),u=o>c&&o<180-c?"left":o>180+c&&o<360-c?"right":"center"):u="center",e.attr({align:u})),"auto"===u&&2===n.tickPositions.length&&n.isCircular&&(90<g&&180>g?g=180-g:270<g&&360>=g&&(g=540-g),180<m&&360>=m&&(m=360-m),n.pane.options.startAngle!==a&&n.pane.options.startAngle!==a+360&&n.pane.options.startAngle!==a-360||(h="start"),u=-90<=a&&90>=a||-360<=a&&-270>=a||270<=a&&360>=a?"start"===h?"right":"left":"start"===h?"left":"right",70<m&&110>m&&(u="center"),15>g||180<=g&&195>g?v=.3*i.height:15<=g&&35>=g?v="start"===h?0:.75*i.height:195<=g&&215>=g?v="start"===h?.75*i.height:0:35<g&&90>=g?v="start"===h?.25*-i.height:i.height:215<g&&270>=g&&(v="start"===h?i.height:.25*-i.height),15>m?b="start"===h?.15*-i.height:.15*i.height:165<m&&180>=m&&(b="start"===h?.15*i.height:.15*-i.height),e.attr({align:u}),e.translate(b,v+s)),t.pos.x=y.x+(r.x||0),t.pos.y=y.y+(l||0)}}}function M(t){this.axis.getPosition&&c(t.pos,this.axis.getPosition(this.pos))}function A(t,e){var n=this.chart,i=this.center;return t=this.startAngleRad+t,{x:n.plotLeft+i[0]+Math.cos(t)*e,y:n.plotTop+i[1]+Math.sin(t)*e}}function P(){this.isDirty=!1}function T(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var e=this.postTranslate(this.angleRad,t[3]/2);t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop}this.len=this.width=this.height=(t[2]-t[3])*p(this.sector,1)/2}}function L(){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 D(t){(t=this.options=h(this.constructor.defaultOptions,this.defaultPolarOptions,o[this.coll],t)).plotBands||(t.plotBands=[]),u(this,"afterSetOptions")}function I(t,e,n,i,r,o,a){var s=this.axis;return s.isRadial?e=["M",e,n,"L",(t=s.getPosition(this.pos,s.center[2]/2+i)).x,t.y]:e=t.call(this,e,n,i,r,o,a),e}var N=[],R={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},F={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}};e.compose=function(t,e){return-1===N.indexOf(t)&&(N.push(t),s(t,"afterInit",$),s(t,"autoLabelAlign",C),s(t,"destroy",k),s(t,"init",S),s(t,"initialAxisTranslation",j)),-1===N.indexOf(e)&&(N.push(e),s(e,"afterGetLabelPosition",E),s(e,"afterGetPosition",M),g(e.prototype,"getMarkPath",I)),t}}(r||(r={})),r})),e(t,"Series/PolarComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Axis/RadialAxis.js"],t["Core/Utilities.js"]],(function(t,e,n,i,r){function o(){(this.pane||[]).forEach((function(t){t.render()}))}function a(t){var e=t.args[0].xAxis,n=t.args[0].yAxis;t=t.args[0].chart,e&&n&&("polygon"===n.gridLineInterpolation?(e.startOnTick=!0,e.endOnTick=!0):"polygon"===e.gridLineInterpolation&&t.inverted&&(n.startOnTick=!0,n.endOnTick=!0))}function s(){var t=this;this.pane||(this.pane=[]),this.options.pane=E(this.options.pane),this.options.pane.forEach((function(e){new n(e,t)}),this)}function l(t){var e=t.args.marker,n=this.chart.xAxis[0],i=this.chart.yAxis[0],r=this.chart.inverted,o=r?i:n;if(n=r?n:i,this.chart.polar){t.preventDefault(),i=(e.attr?e.attr("start"):e.start)-o.startAngleRad,r=e.attr?e.attr("r"):e.r;var a=(e.attr?e.attr("end"):e.end)-o.startAngleRad;e=e.attr?e.attr("innerR"):e.innerR,t.result.x=i+o.pos,t.result.width=a-i,t.result.y=n.len+n.pos-e,t.result.height=e-r}}function d(t){var e=this.chart;if(e.polar&&e.hoverPane&&e.hoverPane.axis){t.preventDefault();var n=e.hoverPane.center,i=this.mouseDownX||0,r=this.mouseDownY||0,o=t.args.chartY,a=t.args.chartX,s=2*Math.PI,l=e.hoverPane.axis.startAngleRad,d=e.hoverPane.axis.endAngleRad,c=e.inverted?e.xAxis[0]:e.yAxis[0],u={},h="arc";if(u.x=n[0]+e.plotLeft,u.y=n[1]+e.plotTop,this.zoomHor){var f=0<l?d-l:Math.abs(l)+Math.abs(d),g=Math.atan2(r-e.plotTop-n[1],i-e.plotLeft-n[0])-l,m=Math.atan2(o-e.plotTop-n[1],a-e.plotLeft-n[0])-l;u.r=n[2]/2,u.innerR=n[3]/2,0>=g&&(g+=s),0>=m&&(m+=s),m<g&&(m=[g,g=m][0]),f<s&&l+m>d+(s-f)/2&&(m=g,g=0>=l?l:0),s=u.start=Math.max(g+l,l),g=u.end=Math.min(m+l,d),"polygon"===c.options.gridLineInterpolation&&(f=s-(m=e.hoverPane.axis).startAngleRad+m.pos,g-=s,h=c.getPlotLinePath({value:c.max}),s=m.toValue(f),f=m.toValue(f+g),s<m.getExtremes().min&&(s=(g=m.getExtremes()).max-(g.min-s)),f<m.getExtremes().min&&(f=(g=m.getExtremes()).max-(g.min-f)),f<s&&(f=[s,s=f][0]),(h=p(h,s,f,m)).push(["L",n[0]+e.plotLeft,e.plotTop+n[1]]),u.d=h,h="path")}this.zoomVert&&(m=e.inverted?e.xAxis[0]:e.yAxis[0],i=Math.sqrt(Math.pow(i-e.plotLeft-n[0],2)+Math.pow(r-e.plotTop-n[1],2)),(o=Math.sqrt(Math.pow(a-e.plotLeft-n[0],2)+Math.pow(o-e.plotTop-n[1],2)))<i&&(i=[o,o=i][0]),o>n[2]/2&&(o=n[2]/2),i<n[3]/2&&(i=n[3]/2),this.zoomHor||(u.start=l,u.end=d),u.r=o,u.innerR=i,"polygon"===m.options.gridLineInterpolation&&(g=m.toValue(m.len+m.pos-i),s=m.toValue(m.len+m.pos-o),h=m.getPlotLinePath({value:s}).concat(m.getPlotLinePath({value:g,reverse:!0})),u.d=h,h="path")),this.zoomHor&&this.zoomVert&&"polygon"===c.options.gridLineInterpolation&&(m=e.hoverPane.axis,s=u.start||0,g=u.end||0,f=s-m.startAngleRad+m.pos,g-=s,s=m.toValue(f),f=m.toValue(f+g),u.d instanceof Array&&(n=u.d.slice(0,u.d.length/2),l=u.d.slice(u.d.length/2,u.d.length),l=w([],l,!0).reverse(),n=p(n,s,f,e=e.hoverPane.axis),(l=p(l,s,f,e))&&(l[0][0]="L"),l=w([],l,!0).reverse(),u.d=n.concat(l),h="path")),t.attrs=u,t.shapeType=h}}function c(){var t=this.chart;t.polar&&(this.polar=new T(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function u(){if(this.chart.polar&&this.xAxis){var t=this.chart;(this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=h:this.options.findNearestPointBy="xy";for(var n=this.points,i=n.length;i--;)this.preventPostTranslate||this.polar.toXY(n[i]),t.hasParallelCoordinates||this.yAxis.reversed||(j(n[i].y,Number.MIN_VALUE)<this.yAxis.min||n[i].x<this.xAxis.min||n[i].x>this.xAxis.max?(n[i].isNull=!0,n[i].plotY=NaN):n[i].isNull=n[i].isValid&&!n[i].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push($(this,"afterRender",(function(){if(t.polar){var n=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:n[0],y:n[1],r:n[2]/2,innerR:n[3]/2});else{var i=t.renderer,r=n[0],o=n[1],a=n[2]/2,s=n[3]/2;n=M();var l=i.createElement("clipPath").attr({id:n}).add(i.defs);(i=s?i.arc(r,o,a,s,0,2*Math.PI).add(l):i.circle(r,o,a).add(l)).id=n,i.clipPath=l,this.clipCircle=i}this.group.clip(this.clipCircle),this.setClip=e.noop}}))))}}function h(t){var e=this.chart,n=this.xAxis;return n=n.pane&&n.pane.center,this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-(n&&n[0]||0)-e.plotLeft,t.chartY-(n&&n[1]||0)-e.plotTop)})}function p(t,e,n,i){var r=i.tickInterval;i=i.tickPositions;var o=k(i,(function(t){return t>=n})),a=k(w([],i,!0).reverse(),(function(t){return t<=e}));return C(o)||(o=i[i.length-1]),C(a)||(a=i[0],o+=r,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(i.indexOf(a),i.indexOf(o)+1))[0][0]="M",t}function f(t,e){return k(this.pane||[],(function(t){return t.options.id===e}))||t.call(this,e)}function g(t,e,n,i,r,o){var a=this.chart,s=j(i.inside,!!this.options.stacking);a.polar?(t=e.rectPlotX/Math.PI*180,a.inverted?(this.forceDL=a.isInsidePlot(e.plotX,e.plotY),s&&e.shapeArgs?(r=e.shapeArgs,r={x:(r=this.yAxis.postTranslate(((r.start||0)+(r.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-a.plotLeft,y:r.y-a.plotTop}):e.tooltipPos&&(r={x:e.tooltipPos[0],y:e.tooltipPos[1]}),i.align=j(i.align,"center"),i.verticalAlign=j(i.verticalAlign,"middle")):(null===i.align&&(i.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===i.verticalAlign&&(i.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,e,n,i,r,o),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end?n.hide():n.show()):t.call(this,e,n,i,r,o)}function m(t){var e=this.options,n=e.stacking,i=this.chart,o=this.xAxis,a=this.yAxis,s=a.reversed,l=a.center,d=o.startAngleRad,c=o.endAngleRad-d,u=0,h=0,p=0;if(this.preventPostTranslate=!0,t.call(this),o.isRadial){o=(t=this.points).length;var f=a.translate(a.min),g=a.translate(a.max);for(e=e.threshold||0,i.inverted&&S(e)&&(u=a.translate(e),C(u)&&(0>u?u=0:u>c&&(u=c),this.translatedThreshold=u+d));o--;){var m=(e=t[o]).barX,v=e.x,b=e.y;e.shapeType="arc",i.inverted?(e.plotY=a.translate(b),n&&a.stacking?(b=a.stacking.stacks[(0>b?"-":"")+this.stackKey],this.visible&&b&&b[v]&&!e.isNull&&(p=b[v].points[this.getStackIndicator(void 0,v,this.index).key],h=a.translate(p[0]),p=a.translate(p[1]),C(h)&&(h=r.clamp(h,0,c)))):(h=u,p=e.plotY),h>p&&(p=[h,h=p][0]),s?p>f?p=f:h<g?h=g:(h>f||p<g)&&(h=p=c):h<f?h=f:p>g?p=g:(p<f||h>g)&&(h=p=0),a.min>a.max&&(h=p=s?c:0),h+=d,p+=d,l&&(e.barX=m+=l[3]/2),v=Math.max(m,0),b=Math.max(m+e.pointWidth,0),e.shapeArgs={x:l&&l[0],y:l&&l[1],r:b,innerR:v,start:h,end:p},e.opacity=h===p?0:void 0,e.plotY=(C(this.translatedThreshold)&&(h<this.translatedThreshold?h:p))-d):(h=m+d,e.shapeArgs=this.polar.arc(e.yBottom,e.plotY,h,h+e.pointWidth)),this.polar.toXY(e),i.inverted?(m=a.postTranslate(e.rectPlotY,m+e.pointWidth/2),e.tooltipPos=[m.x-i.plotLeft,m.y-i.plotTop]):e.tooltipPos=[e.plotX,e.plotY],l&&(e.ttBelow=e.plotY>l[1])}}}function v(t,e){var n=this;if(this.chart.polar){e=e||this.points;for(var i=0;i<e.length;i++)if(!e[i].isNull){var r=i;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,e.splice(e.length,0,e[r]);var o=!0}e.forEach((function(t){void 0===t.polarPlotY&&n.polar.toXY(t)}))}return r=t.apply(this,[].slice.call(arguments,1)),o&&e.pop(),r}function b(t,e){var n=this.chart,i={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach((function(t){if("colorAxis"!==t.coll){var r=t.isXAxis,o=t.center,a=e.chartX-o[0]-n.plotLeft;o=e.chartY-o[1]-n.plotTop,i[r?"xAxis":"yAxis"].push({axis:t,value:t.translate(r?Math.PI-Math.atan2(a,o):Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),!0)})}})):i=t.call(this,e),i}function y(t,e){this.chart.polar||t.call(this,e)}function x(t,n){var i,r,o,a,s=this,l=this.chart,d=this.group,c=this.markerGroup,u=this.xAxis&&this.xAxis.center,h=l.plotLeft,p=l.plotTop,f=this.options.animation;if(l.polar){if(s.isRadialBar)n||(s.startAngleRad=j(s.translatedThreshold,s.xAxis.startAngleRad),e.seriesTypes.pie.prototype.animate.call(s,n));else if(l.renderer.isSVG)if(f=O(f),s.is("column")){if(!n){var g=u[3]/2;s.points.forEach((function(t){i=t.graphic,o=(r=t.shapeArgs)&&r.r,a=r&&r.innerR,i&&r&&(i.attr({r:g,innerR:g}),i.animate({r:o,innerR:a},s.options.animation))}))}}else n?(t={translateX:u[0]+h,translateY:u[1]+p,scaleX:.001,scaleY:.001},d.attr(t),c&&c.attr(t)):(t={translateX:h,translateY:p,scaleX:1,scaleY:1},d.animate(t,f),c&&c.animate(t,f))}else t.call(this,n)}function _(t,e,n,i){return this.chart.polar?i?(t=function t(e,n,i,r){var o=r?1:0,a=0<=n&&n<=e.length-1?n:0>n?e.length-1+n:0,s=e[n=0>a-1?e.length-(1+o):a-1];o=e[a+1>e.length-1?o:a+1];var l=s.plotY,d=o.plotX,c=o.plotY;o=e[a].plotX,a=e[a].plotY,s=(1.5*o+s.plotX)/2.5,l=(1.5*a+l)/2.5,d=(1.5*o+d)/2.5;var u=(1.5*a+c)/2.5;c=Math.sqrt(Math.pow(s-o,2)+Math.pow(l-a,2));var h=Math.sqrt(Math.pow(d-o,2)+Math.pow(u-a,2));return s=Math.atan2(l-a,s-o),u=Math.PI/2+(s+Math.atan2(u-a,d-o))/2,Math.abs(s-u)>Math.PI/2&&(u-=Math.PI),s=o+Math.cos(u)*c,l=a+Math.sin(u)*c,o={rightContX:d=o+Math.cos(Math.PI+u)*h,rightContY:u=a+Math.sin(Math.PI+u)*h,leftContX:s,leftContY:l,plotX:o,plotY:a},i&&(o.prevPointCont=t(e,n,!1,r)),o}(e,i,!0,this.connectEnds),e=t.prevPointCont&&t.prevPointCont.rightContX,n=t.prevPointCont&&t.prevPointCont.rightContY,t=["C",S(e)?e:t.plotX,S(n)?n:t.plotY,S(t.leftContX)?t.leftContX:t.plotX,S(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):t=["M",n.plotX,n.plotY]:t=t.call(this,e,n,i),t}var w=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))},O=t.animObject,$=r.addEvent,C=r.defined,k=r.find,S=r.isNumber,j=r.pick,E=r.splat,M=r.uniqueKey,A=r.wrap,P=[],T=function(){function t(t){this.series=t}return t.compose=function(t,e,n,r,h,p,w,O,C){i.compose(t,h),-1===P.indexOf(e)&&(P.push(e),$(e,"afterDrawChartBox",o),$(e,"getAxes",s),$(e,"init",a),A(e.prototype,"get",f)),-1===P.indexOf(n)&&(P.push(n),t=n.prototype,A(t,"getCoordinates",b),A(t,"pinch",y),$(n,"getSelectionMarkerAttrs",d),$(n,"getSelectionBox",l)),-1===P.indexOf(r)&&(P.push(r),$(r,"afterInit",c),$(r,"afterTranslate",u,{order:2}),A(r.prototype,"animate",x)),w&&-1===P.indexOf(w)&&(P.push(w),n=w.prototype,A(n,"alignDataLabel",g),A(n,"animate",x),A(n,"translate",m)),O&&-1===P.indexOf(O)&&(P.push(O),A(O.prototype,"getGraphPath",v)),C&&-1===P.indexOf(C)&&(P.push(C),O=C.prototype,A(O,"getPointSpline",_),p&&-1===P.indexOf(p)&&(P.push(p),p.prototype.getPointSpline=O.getPointSpline))},t.prototype.arc=function(t,e,n,i){var r=this.series,o=r.xAxis.center,a=r.yAxis.len,s=o[3]/2;return e=a-e+s,t=a-j(t,a)+s,r.yAxis.reversed&&(0>e&&(e=s),0>t&&(t=s)),{x:o[0],y:o[1],r:e,innerR:t,start:n,end:i}},t.prototype.toXY=function(t){var e=this.series,n=e.chart,i=e.xAxis,r=e.yAxis,o=t.plotX,a=n.inverted,s=t.y,l=t.plotY,d=a?o:r.len-l;a&&e&&!e.isRadialBar&&(t.plotY=l=S(s)?r.translate(s):0),t.rectPlotX=o,t.rectPlotY=l,r.center&&(d+=r.center[3]/2),S(l)&&(r=a?r.postTranslate(l,d):i.postTranslate(o,d),t.plotX=t.polarPlotX=r.x-n.plotLeft,t.plotY=t.polarPlotY=r.y-n.plotTop),e.kdByAngle?(0>(e=(o/Math.PI*180+i.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},t}();return T})),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Bubble/BubbleSeries.js"],t["Series/PackedBubble/PackedBubbleSeries.js"],t["Series/PolarComposition.js"]],(function(t,e,n,i,r){n.compose(t.Axis,t.Chart,t.Legend,t.Series),i.compose(t.Axis,t.Chart,t.Legend,t.Series),r.compose(t.Axis,t.Chart,t.Pointer,t.Series,t.Tick,e.seriesTypes.areasplinerange,e.seriesTypes.column,e.seriesTypes.line,e.seriesTypes.spline)}))}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){var e=new WeakMap;return function(n){if(e.has(n))return e.get(n);var i=t(n);return e.set(n,i),i}}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(2),l=n(4),d=n(36),c=n(9),u=n(12);e.a=function(t){var e=t.align,n=void 0===e?"left":e,i=t.aria,o=void 0===i?{}:i,h=t.avatar,p=void 0!==h&&h,f=t.avatarUrl,g=t.className,m=t.dark,v=void 0!==m&&m,b=t.data,y=void 0===b?{}:b,x=t.htmlOptions,_=void 0===x?{}:x,w=t.id,O=t.name,$=t.orientation,C=void 0===$?"horizontal":$,k=t.size,S=void 0===k?"sm":k,j=t.subtitle,E=t.territory,M=void 0===E?"":E,A=t.title,P=void 0===A?"":A,T=Object(s.c)(y),L=Object(s.a)(o),D=Object(s.d)(_),I=a()(Object(s.b)("pb_user_kit",n,C,S),Object(l.c)(t),g),N=p||f;return r.a.createElement("div",Object.assign({},L,T,D,{className:I,id:w}),N&&r.a.createElement(d.a,{imageUrl:f,name:O,size:S,status:null}),r.a.createElement("div",{className:"content_wrapper"},r.a.createElement(u.a,{dark:v,size:"lg"==S?3:4,text:O}),r.a.createElement(c.a,{color:"light",dark:v,variant:null},""===M?P:"".concat(M," • ").concat(P)),"string"==typeof j&&r.a.createElement(c.a,{color:"light",dark:v,text:j,variant:null}),"string"!=typeof j&&r.a.createElement(r.a.Fragment,null,j)))}},,,,,,function(t,e,n){"use strict";function i(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}n.d(e,"a",(function(){return i}))},,function(t,e,n){"use strict";t.exports=n(286)},function(t,e,n){"use strict";var i=n(223),r=n.n(i),o=n(0),a=n.n(o),s=n(3),l=n.n(s),d=n(4),c=n(2);e.a=function(t){var e=t.children,n=t.className,i=void 0===n?"pb_highlight_kit":n,o=t.data,s=void 0===o?{}:o,u=t.highlightedText,h=void 0===u?["highlight"]:u,p=t.htmlOptions,f=void 0===p?{}:p,g=t.id,m=void 0===g?"":g,v=t.text,b=void 0===v?"":v,y=Object(c.d)(f),x=b||e;return a.a.createElement(r.a,Object.assign({autoEscape:!0,data:s,highlightClassName:l()(Object(d.c)(t),i),highlightTag:"mark",id:m,searchWords:h,textToHighlight:x},y))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(4),l=n(2),d=n(67),c=n.n(d),u=n(29),h=n.n(u),p=n(49),f=n(75),g=n(68),m=n(25);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(t,e)}(t,e)||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 b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var y=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.data,d=void 0===o?{}:o,u=t.align,b=void 0===u?"center":u,x=t.className,_=void 0===x?"pb_bar_graph":x,w=t.customOptions,O=void 0===w?{}:w,$=t.dark,C=void 0!==$&&$,k=(t.gradient,t.type),S=void 0===k?"line":k,j=t.htmlOptions,E=void 0===j?{}:j,M=t.id,A=t.legend,P=void 0!==A&&A,T=t.toggleLegendClick,L=void 0===T||T,D=t.layout,I=void 0===D?"horizontal":D,N=t.verticalAlign,R=void 0===N?"bottom":N,F=t.x,B=void 0===F?0:F,z=t.y,H=void 0===z?0:z,W=t.axisTitle,U=t.xAxisCategories,Y=t.yAxisMin,G=t.yAxisMax,V=t.chartData,X=t.pointStart,q=t.subTitle,K=t.title,Z=t.height,J=t.colors,Q=void 0===J?[]:J,tt=y(t,["aria","data","align","className","customOptions","dark","gradient","type","htmlOptions","id","legend","toggleLegendClick","layout","verticalAlign","x","y","axisTitle","xAxisCategories","yAxisMin","yAxisMax","chartData","pointStart","subTitle","title","height","colors"]),et=Object(l.a)(n),nt=Object(l.c)(d),it=Object(l.d)(E);C?h.a.setOptions(f.a):h.a.setOptions(p.a);var rt={title:{text:K},chart:{height:Z,type:S},subtitle:{text:q},yAxis:{min:Y,max:G,title:{text:W}},xAxis:{categories:U},legend:{enabled:P,align:b,verticalAlign:R,layout:I,x:B,y:H},colors:void 0!==Q&&Q.length>0?Object(g.a)(Q):p.a.colors,plotOptions:{series:{pointStart:X,events:{},dataLabels:{enabled:!1}}},series:V,credits:!1};L||(rt.plotOptions.series.events={legendItemClick:function(){return!1}});var ot=Object.assign({},tt);delete ot.verticalAlign;var at=v(Object(i.useState)({}),2),st=at[0],lt=at[1];return Object(i.useEffect)((function(){lt(Object(m.merge)(rt,O))}),[V]),r.a.createElement(c.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()(Object(s.c)(ot),_),id:M},et),nt),it),highcharts:h.a,options:st})}},,,,function(t,e,n){var i=n(122);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}t.exports=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(211);function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(273);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(274),r=n(275),o=n(276);t.exports=function(t){var e=r();return function(){var n,r=i(t);if(e){var a=i(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return o(this,n)}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(278),r=n(279),o=n(213),a=n(280);t.exports=function(t){return i(t)||r(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(281),r=n(282),o=n(213),a=n(283);t.exports=function(t,e){return i(t)||r(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(284);t.exports=function(t,e){if(null==t)return{};var n,r,o=i(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(0),r=n.n(i).a.createContext(null)},function(t,e,n){"use strict";var i=n(37),r={passive:!0};e.a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,a=o.scroll,s=void 0===a||a,l=o.resize,d=void 0===l||l,c=Object(i.a)(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach((function(t){t.addEventListener("scroll",n.update,r)})),d&&c.addEventListener("resize",n.update,r),function(){s&&u.forEach((function(t){t.removeEventListener("scroll",n.update,r)})),d&&c.removeEventListener("resize",n.update,r)}},data:{}}},function(t,e,n){"use strict";var i=n(155);e.a={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Object(i.a)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n(43),r=n(69),o=n(104),a=n(11);function s(t){var e,n=t.reference,s=t.element,l=t.placement,d=l?Object(i.a)(l):null,c=l?Object(r.a)(l):null,u=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2;switch(d){case a.m:e={x:u,y:n.y-s.height};break;case a.c:e={x:u,y:n.y+n.height};break;case a.k:e={x:n.x+n.width,y:h};break;case a.f:e={x:n.x-s.width,y:h};break;default:e={x:n.x,y:n.y}}var p=d?Object(o.a)(d):null;if(null!=p){var f="y"===p?"height":"width";switch(c){case a.l:e[p]=e[p]-(n[f]/2-s[f]/2);break;case a.e:e[p]=e[p]+(n[f]/2-s[f]/2)}}return e}},function(t,e,n){"use strict";var i=n(11),r=n(76),o=n(37),a=n(48),s=n(54),l=n(43),d=n(69),c=n(34),u={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h(t){var e,n=t.popper,l=t.popperRect,d=t.placement,h=t.variation,p=t.offsets,f=t.position,g=t.gpuAcceleration,m=t.adaptive,v=t.roundOffsets,b=t.isFixed,y=p.x,x=void 0===y?0:y,_=p.y,w=void 0===_?0:_,O="function"==typeof v?v({x:x,y:w}):{x:x,y:w};x=O.x,w=O.y;var $=p.hasOwnProperty("x"),C=p.hasOwnProperty("y"),k=i.f,S=i.m,j=window;if(m){var E=Object(r.a)(n),M="clientHeight",A="clientWidth";if(E===Object(o.a)(n)&&(E=Object(a.a)(n),"static"!==Object(s.a)(E).position&&"absolute"===f&&(M="scrollHeight",A="scrollWidth")),E=E,d===i.m||(d===i.f||d===i.k)&&h===i.e)S=i.c,w-=(b&&E===j&&j.visualViewport?j.visualViewport.height:E[M])-l.height,w*=g?1:-1;if(d===i.f||(d===i.m||d===i.c)&&h===i.e)k=i.k,x-=(b&&E===j&&j.visualViewport?j.visualViewport.width:E[A])-l.width,x*=g?1:-1}var P,T=Object.assign({position:f},m&&u),L=!0===v?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Object(c.c)(e*i)/i||0,y:Object(c.c)(n*i)/i||0}}({x:x,y:w}):{x:x,y:w};return x=L.x,w=L.y,g?Object.assign({},T,((P={})[S]=C?"0":"",P[k]=$?"0":"",P.transform=(j.devicePixelRatio||1)<=1?"translate("+x+"px, "+w+"px)":"translate3d("+x+"px, "+w+"px, 0)",P)):Object.assign({},T,((e={})[S]=C?w+"px":"",e[k]=$?x+"px":"",e.transform="",e))}e.a={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:Object(l.a)(e.placement),variation:Object(d.a)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,h(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,h(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},function(t,e,n){"use strict";var i=n(45),r=n(28);e.a={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},a=e.elements[t];Object(r.b)(a)&&Object(i.a)(a)&&(Object.assign(a.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Object(r.b)(o)&&Object(i.a)(o)&&(Object.assign(o.style,s),Object.keys(a).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(159);function r(t){return Object.assign({},Object(i.a)(),t)}},function(t,e,n){"use strict";function i(){return{top:0,right:0,bottom:0,left:0}}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(131);function r(){return!/^((?!chrome|android).)*safari/i.test(Object(i.a)())}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(28);function r(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Object(i.c)(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(132);function r(t,e){if(t){if("string"==typeof t)return Object(i.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(t,e):void 0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(80);function r(t){var e=function(t,e){if("object"!==Object(i.a)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==Object(i.a)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Object(i.a)(e)?e:String(e)}},,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var i;
15
15
  /*!
16
16
  Copyright (c) 2015 Jed Watson.
17
17
  Based on code that is Copyright 2013-2015, Facebook, Inc.
@@ -28,7 +28,7 @@
28
28
  *
29
29
  * http://api.jqueryui.com/category/ui-core/
30
30
  */
31
- var i=/input|select|textarea|button|object|iframe/;function r(t){var e=t.offsetWidth<=0&&t.offsetHeight<=0;if(e&&!t.innerHTML)return!0;try{var n=window.getComputedStyle(t),i=n.getPropertyValue("display");return e?"contents"!==i&&function(t,e){return"visible"!==e.getPropertyValue("overflow")||t.scrollWidth<=0&&t.scrollHeight<=0}(t,n):"none"===i}catch(t){return console.warn("Failed to inspect element style"),!1}}function o(t,e){var n=t.nodeName.toLowerCase();return(i.test(n)&&!t.disabled||"a"===n&&t.href||e)&&function(t){for(var e=t,n=t.getRootNode&&t.getRootNode();e&&e!==document.body;){if(n&&e===n&&(e=n.host.parentNode),r(e))return!1;e=e.parentNode}return!0}(t)}function a(t){var e=t.getAttribute("tabindex");null===e&&(e=void 0);var n=isNaN(e);return(n||e>=0)&&o(t,!n)}t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(t){return t.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(t){return t.removeAttribute("aria-hidden")})));s=null},e.log=function(){0},e.assertNodeList=l,e.setElement=function(t){var e=t;if("string"==typeof e&&a.canUseDOM){var n=document.querySelectorAll(e);l(n,e),e=n}return s=e||s},e.validateElement=d,e.hide=function(t){var e=!0,n=!1,i=void 0;try{for(var r,o=d(t)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){r.value.setAttribute("aria-hidden","true")}}catch(t){n=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw i}}},e.show=function(t){var e=!0,n=!1,i=void 0;try{for(var r,o=d(t)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){r.value.removeAttribute("aria-hidden")}}catch(t){n=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw i}}},e.documentNotReadyOrSSRTesting=function(){s=null};var i,r=n(181),o=(i=r)&&i.__esModule?i:{default:i},a=n(179);var s=null;function l(t,e){if(!t||!t.length)throw new Error("react-modal: No elements were found for selector "+e+".")}function d(t){var e=t||s;return e?Array.isArray(e)||e instanceof HTMLCollection||e instanceof NodeList?e:[e]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(t){return console.log(t)})),console.log("end portalOpenInstances ----------")},e.resetState=function(){r=new i};var i=function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.register=function(t){-1===e.openInstances.indexOf(t)&&(e.openInstances.push(t),e.emit("register"))},this.deregister=function(t){var n=e.openInstances.indexOf(t);-1!==n&&(e.openInstances.splice(n,1),e.emit("deregister"))},this.subscribe=function(t){e.subscribers.push(t)},this.emit=function(t){e.subscribers.forEach((function(n){return n(t,e.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new i;e.default=r},function(t,e,n){var i=n(91).default,r=n(272);t.exports=function(t){var e=r(t,"string");return"symbol"===i(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(212);t.exports=function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(226),l=n.n(s),d=n(2),c=n(4),u=n(9),h=n(26),p=n(197),f=n(195),g=n(196),m=n(6),v=n(56),b=n(12),y=n(152);function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var w=function t(e){var n=e.aria,o=void 0===n?{}:n,s=e.cancelButton,p=e.confirmButton,f=e.className,g=e.data,_=void 0===g?{}:g,w=e.htmlOptions,O=void 0===w?{}:w,$=e.id,C=e.size,k=void 0===C?"md":C,S=e.children,j=e.loading,E=void 0!==j&&j,M=e.fullHeight,A=void 0!==M&&M,P=e.opened,T=e.onCancel,L=e.onConfirm,D=e.onClose,I=e.placement,N=void 0===I?"center":I,R=e.portalClassName,F=e.shouldCloseOnOverlayClick,B=void 0===F||F,z=e.status,H=e.text,W=e.title,U=e.trigger,Y=Object(d.a)(o),G=Object(d.c)(_),V=Object(d.d)(O),X={base:a()("pb_dialog",Object(d.b)("pb_dialog",k,N)),afterOpen:"pb_dialog_after_open",beforeClose:"pb_dialog_before_close"},q={base:"pb_dialog_overlay ".concat(null!==A&&(A?"xl"===k?"full_height_center":"full_height_".concat(N):null)),afterOpen:"pb_dialog_overlay_after_open",beforeClose:"pb_dialog_overlay_before_close"},K=a()(Object(d.b)("pb_dialog_wrapper"),Object(c.c)(e),f),Z=x(Object(i.useState)(!1),2),J=Z[0],Q=Z[1],tt=U?J:P,et={onClose:U?function(){Q(!1)}:D};U&&document.querySelector(U).addEventListener("click",(function(){Q(!0),document.querySelector("#cancel-button").addEventListener("click",(function(){Q(!1)}))}),{once:!0});var nt={default:{icon:"exclamation-circle",variant:"default",size:"lg"},info:{icon:"info-circle",variant:"default",size:"lg"},caution:{icon:"exclamation-triangle",variant:"yellow",size:"lg"},delete:{icon:"trash-alt",variant:"red",size:"lg"},error:{icon:"times-circle",variant:"red",size:"lg"},success:{icon:"check-circle",variant:"green",size:"lg"}};return r.a.createElement(y.a.Provider,{value:et},r.a.createElement("div",Object.assign({},Y,G,V,{className:K}),r.a.createElement(l.a,{ariaHideApp:!1,className:X,closeTimeoutMS:200,contentLabel:"Minimal Modal Example",id:$,isOpen:tt,onRequestClose:D,overlayClassName:q,portalClassName:R,shouldCloseOnOverlayClick:B},r.a.createElement(r.a.Fragment,null,W&&!z?r.a.createElement(t.Header,null,W):null,!z&&H?r.a.createElement(t.Body,null,H):null,z&&r.a.createElement(t.Body,{className:"dialog_status_text_align",padding:"md"},r.a.createElement(m.a,{align:"center",orientation:"column"},r.a.createElement(v.a,{icon:nt[z].icon,size:nt[z].size,variant:nt[z].variant}),r.a.createElement(b.a,{marginTop:"sm",size:3},W),r.a.createElement(u.a,{marginTop:"xs",text:H}))),s&&p?r.a.createElement(t.Footer,null,r.a.createElement(h.a,{htmlType:"button",loading:E,onClick:L,variant:"primary"},p),r.a.createElement(h.a,{htmlType:"button",id:"cancel-button",onClick:T,variant:"link"},s)):null,S))))};w.Header=p.a,w.Body=g.a,w.Footer=f.a,e.a=w},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(67),l=n.n(s),d=n(29),c=n.n(d),u=n(49),h=n(75),p=n(68),f=n(123),g=n.n(f),m=n(229),v=n.n(m),b=n(8),y=n.n(b),x=n(10),_=n.n(x),w=n(2),O=n(4),$=n(25);function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(t,e)}(t,e)||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 k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var S=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.chartData,s=t.customOptions,d=void 0===s?{}:s,f=t.dark,m=void 0!==f&&f,b=t.data,x=void 0===b?{}:b,k=t.disableAnimation,j=void 0!==k&&k,E=t.fullCircle,M=void 0!==E&&E,A=t.height,P=void 0===A?null:A,T=t.htmlOptions,L=void 0===T?{}:T,D=t.id,I=t.max,N=void 0===I?100:I,R=t.min,F=void 0===R?0:R,B=t.prefix,z=void 0===B?"":B,H=t.showLabels,W=void 0!==H&&H,U=t.style,Y=void 0===U?"solidgauge":U,G=t.suffix,V=void 0===G?"":G,X=t.title,q=void 0===X?"":X,K=t.tooltipHtml,Z=void 0===K?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>':K,J=t.colors,Q=void 0===J?[]:J,tt=t.minorTickInterval,et=void 0===tt?null:tt,nt=t.circumference,it=void 0===nt?M?[0,360]:[-100,100]:nt,rt=S(t,["aria","chartData","customOptions","dark","data","disableAnimation","fullCircle","height","htmlOptions","id","max","min","prefix","showLabels","style","suffix","title","tooltipHtml","colors","minorTickInterval","circumference"]),ot=Object(w.a)(n),at=Object(w.c)(x),st=Object(w.d)(L);g()(c.a),v()(c.a);m?c.a.setOptions(h.a):c.a.setOptions(u.a),c.a.setOptions({tooltip:{pointFormat:Z,followPointer:!0}});var lt=Object(w.b)({pb_gauge_kit:!0}),dt=C(Object(i.useState)({}),2),ct=dt[0],ut=dt[1];return Object(i.useEffect)((function(){var t=o.map((function(t){return t.y=t.value,delete t.value,t})),e={chart:{events:{load:function(){setTimeout(this.reflow.bind(this),0)}},type:Y,height:P},title:{text:q},yAxis:{min:F,max:N,lineWidth:0,tickWidth:0,minorTickInterval:et,tickAmount:2,tickPositions:[F,N],labels:{y:26,enabled:W}},credits:!1,series:[{data:t}],pane:{center:["50%","50%"],size:"90%",startAngle:it[0],endAngle:it[1],background:{borderWidth:20,innerRadius:"90%",outerRadius:"90%",shape:"arc",className:"gauge-pane"}},colors:void 0!==Q&&Q.length>0?Object(p.a)(Q):u.a.colors,plotOptions:{series:{animation:!j},solidgauge:{borderColor:void 0!==Q&&1===Q.length?Object(p.a)(Q).join():u.a.colors[0],borderWidth:20,radius:90,innerRadius:"90%",dataLabels:{borderWidth:0,color:y.a.text_lt_default,enabled:!0,format:'<span class="prefix">'.concat(z,"</span>")+'<span class="fix">{y:,f}</span>'+'<span class="suffix">'.concat(V,"</span>"),style:{fontFamily:_.a.font_family_base,fontWeight:_.a.regular,fontSize:_.a.heading_2},y:-26}}}};ut(Object($.merge)(e,d)),document.querySelector(".prefix")&&(document.querySelectorAll(".prefix").forEach((function(t){t.setAttribute("y","28")})),document.querySelectorAll(".fix").forEach((function(t){return t.setAttribute("y","38")})))}),[o]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()(lt,Object(O.c)(rt)),id:D},ot),at),st),highcharts:c.a,options:ct})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var i=n(55),r=n(298);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function l(t,e){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}();return function(){var n,i=u(t);if(e){var r=u(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return c(this,n)}}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=[0,20],p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(c,t);var e,n,i,s=d(c);function c(){return o(this,c),s.apply(this,arguments)}return e=c,i=[{key:"selector",get:function(){return"[data-pb-popover-kit]"}}],(n=[{key:"moveTooltip",value:function(){document.querySelector("body").appendChild(this.tooltip)}},{key:"connect",value:function(){var t=this;this.moveTooltip(),this.popper=Object(r.a)(this.triggerElement,this.tooltip,{placement:this.position,strategy:"fixed",modifiers:[{name:"offset",options:{offset:this.offset}}]}),this.triggerElement.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),t.tooltip.classList.contains("show")||t.checkCloseTooltip(),setTimeout((function(){t.toggleTooltip(),t.popper.update()}),0)}))}},{key:"checkCloseTooltip",value:function(){var t=this;document.querySelector("body").addEventListener("click",(function(e){var n=e.target,i=null!==n.closest("#".concat(t.tooltipId)),r=null!==n.closest("#".concat(t.triggerElementId));switch(t.closeOnClick){case"any":(i||!i&&!r)&&t.hideTooltip();break;case"outside":i||r||t.hideTooltip();break;case"inside":i&&t.hideTooltip()}}),!0)}},{key:"hideTooltip",value:function(){this.tooltip.classList.remove("show"),this.tooltip.classList.add("hide")}},{key:"toggleTooltip",value:function(){this.tooltip.classList.toggle("show"),this.tooltip.classList.toggle("hide")}},{key:"triggerElement",get:function(){return this._triggerElement=this._triggerElement||document.querySelector("#".concat(this.triggerElementId))}},{key:"tooltip",get:function(){return this._tooltip=this._tooltip||this.element.querySelector("#".concat(this.tooltipId))}},{key:"position",get:function(){return this.element.dataset.pbPopoverPosition}},{key:"triggerElementId",get:function(){return this.element.dataset.pbPopoverTriggerElementId}},{key:"tooltipId",get:function(){return this.element.dataset.pbPopoverTooltipId}},{key:"offset",get:function(){return"true"===this.element.dataset.pbPopoverOffset?h:[0,0]}},{key:"closeOnClick",get:function(){return this.element.dataset.pbPopoverCloseOnClick}}])&&a(e.prototype,n),i&&a(e,i),Object.defineProperty(e,"prototype",{writable:!1}),c}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var i=n(55),r=n(186),o=n(188),a=n(191),s=n(190);function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function c(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function u(t,e){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}();return function(){var n,i=f(t);if(e){var r=f(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p(this,n)}}function p(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=[0,20],m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(p,t);var e,n,i,c=h(p);function p(){return l(this,p),c.apply(this,arguments)}return e=p,i=[{key:"selector",get:function(){return"[data-pb-tooltip-kit]"}}],(n=[{key:"connect",value:function(){var t=this;this.triggerElements.forEach((function(e){e.addEventListener("mouseenter",(function(){t.mouseenterTimeout=setTimeout((function(){t.showTooltip(e),t.checkCloseTooltip(e)}),250),e.addEventListener("mouseleave",(function(){clearTimeout(t.mouseenterTimeout),setTimeout((function(){t.hideTooltip()}),0)}),{once:!0})}))})),this.tooltip.addEventListener("mouseenter",(function(){clearTimeout(t.mouseenterTimeout)})),this.tooltip.addEventListener("mouseleave",(function(){t.hideTooltip()}))}},{key:"checkCloseTooltip",value:function(t){var e=this;document.querySelector("body").addEventListener("click",(function(n){var i=n.target,r=i.closest("#".concat(e.tooltipId))===e.tooltip;i.closest(e.triggerElementSelector)===t||r?e.checkCloseTooltip(t):e.hideTooltip()}),{once:!0})}},{key:"showTooltip",value:function(t){"false"!==this.shouldShowTooltip&&(this.popper=Object(r.a)(t,this.tooltip,{placement:this.position,strategy:"fixed",modifiers:[{name:"offset",options:{offset:g}},{name:"arrow",options:{element:document.querySelector("#".concat(this.tooltipId,"-arrow"))}},o.a,a.a,s.a]}),this.tooltip.classList.add("show"))}},{key:"hideTooltip",value:function(){var t=this;this.tooltip.classList.add("fade_out"),setTimeout((function(){t.popper&&(t.popper.destroy(),t.tooltip.classList.remove("show"),t.tooltip.classList.remove("fade_out"))}),250)}},{key:"triggerElements",get:function(){var t;return(t=this.triggerElementId?document.querySelector("#".concat(this.triggerElementId)):this.triggerElementSelector.indexOf("#")>-1?document.querySelector("".concat(this.triggerElementSelector)):document.querySelectorAll("".concat(this.triggerElementSelector)))?(t.length||(t=[t]),this._triggerElements=this._triggerElements||t):(console.error("Tooltip Kit: an invalid or unavailable DOM reference was provided!"),[])}},{key:"tooltip",get:function(){return this._tooltip=this._tooltip||this.element.querySelector("#".concat(this.tooltipId))}},{key:"position",get:function(){return this.element.dataset.pbTooltipPosition}},{key:"triggerElementId",get:function(){return this.element.dataset.pbTooltipTriggerElementId}},{key:"tooltipId",get:function(){return this.element.dataset.pbTooltipTooltipId}},{key:"triggerElementSelector",get:function(){return this.element.dataset.pbTooltipTriggerElementSelector}},{key:"shouldShowTooltip",get:function(){return this.element.dataset.pbTooltipShowTooltip}}])&&d(e.prototype,n),i&&d(e,i),Object.defineProperty(e,"prototype",{writable:!1}),p}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i=n(55),r=n(25);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},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 o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,d(i.key),i)}}function d(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function c(t,e){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}();return function(){var n,i=p(t);if(e){var r=p(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return h(this,n)}}function h(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(d,t);var e,n,i,a=u(d);function d(){return s(this,d),a.apply(this,arguments)}return e=d,i=[{key:"selector",get:function(){return"[data-pb-typeahead-kit]"}}],(n=[{key:"connect",value:function(){var t=this;this.element.addEventListener("keydown",(function(e){return t.handleKeydown(e)})),this.searchInput.addEventListener("focus",(function(){return t.debouncedSearch()})),this.searchInput.addEventListener("input",(function(){return t.debouncedSearch()})),this.resultsElement.addEventListener("click",(function(e){return t.optionSelected(e)}))}},{key:"handleKeydown",value:function(t){"ArrowUp"===t.key?(t.preventDefault(),this.focusPreviousOption()):"ArrowDown"===t.key&&(t.preventDefault(),this.focusNextOption())}},{key:"search",value:function(){var t=this;if(this.searchTerm.length<parseInt(this.searchTermMinimumLength))return this.clearResults();this.toggleResultsLoadingIndicator(!0),this.showResults();var e=this.searchTerm,n=this.searchContext,i={searchingFor:e,searchingContext:n,setResults:function(i){t.resultsCacheUpdate(e,n,i)}};this.element.dispatchEvent(new CustomEvent("pb-typeahead-kit-search",{bubbles:!0,detail:i}))}},{key:"resultsCacheUpdate",value:function(t,e,n){var i=this.cacheKeyFor(t,e);this.resultsOptionCache.has(i)&&this.resultsOptionCache.delete(i),this.resultsOptionCache.size>32&&this.resultsOptionCache.delete(this.resultsOptionCache.keys().next().value),this.resultsOptionCache.set(i,n),this.showResults()}},{key:"resultsCacheClear",value:function(){this.resultsOptionCache.clear()}},{key:"debouncedSearch",get:function(){return this._debouncedSearch=this._debouncedSearch||Object(r.debounce)(this.search,parseInt(this.searchDebounceTimeout)).bind(this)}},{key:"showResults",value:function(){var t=this;if(this.resultsOptionCache.has(this.searchTermAndContext)){this.toggleResultsLoadingIndicator(!1),this.clearResults();var e,n=o(this.resultsOptionCache.get(this.searchTermAndContext));try{for(n.s();!(e=n.n()).done;){var i=e.value;this.resultsElement.appendChild(this.newResultOption(i.cloneNode(!0)))}}catch(t){n.e(t)}finally{n.f()}var r,a=o(this.resultsElement.querySelectorAll("[data-result-option-item]"));try{for(a.s();!(r=a.n()).done;)r.value.addEventListener("mousedown",(function(e){return t.optionSelected(e)}))}catch(t){a.e(t)}finally{a.f()}}}},{key:"optionSelected",value:function(t){var e=t.target.closest("[data-result-option-item]");e&&(this.resultsCacheClear(),this.searchInputClear(),this.clearResults(),this.element.dispatchEvent(new CustomEvent("pb-typeahead-kit-result-option-selected",{bubbles:!0,detail:{selected:e,typeahead:this}})))}},{key:"clearResults",value:function(){this.resultsElement.innerHTML=""}},{key:"newResultOption",value:function(t){var e=this.resultOptionTemplate.content.cloneNode(!0);return e.querySelector('slot[name="content"]').replaceWith(t),e}},{key:"focusPreviousOption",value:function(){var t=this.resultOptionItems.indexOf(this.currentSelectedResultOptionItem)-1;(this.resultOptionItems[t]||this.resultOptionItems[this.resultOptionItems.length-1]).focus()}},{key:"focusNextOption",value:function(){var t=this.resultOptionItems.indexOf(this.currentSelectedResultOptionItem)+1;(this.resultOptionItems[t]||this.resultOptionItems[0]).focus()}},{key:"resultOptionItems",get:function(){return Array.from(this.resultsElement.querySelectorAll("[data-result-option-item]"))}},{key:"currentSelectedResultOptionItem",get:function(){return document.activeElement.closest("[data-result-option-item]")}},{key:"searchInput",get:function(){return this._searchInput=this._searchInput||this.element.querySelector('input[type="search"]')}},{key:"searchTerm",get:function(){return this.searchInput.value}},{key:"searchContext",get:function(){if(this._searchContext)return this._searchContext;var t=this.element.dataset.searchContextValueSelector;return t?(this.element.parentNode.querySelector(t)||this.element.closest(t)).value:null},set:function(t){this._searchContext=t}},{key:"searchTermAndContext",get:function(){return this.cacheKeyFor(this.searchTerm,this.searchContext)}},{key:"cacheKeyFor",value:function(t,e){return[t,JSON.stringify(e)].join()}},{key:"searchInputClear",value:function(){this.searchInput.value=""}},{key:"searchTermMinimumLength",get:function(){return this.element.dataset.pbTypeaheadKitSearchTermMinimumLength}},{key:"searchDebounceTimeout",get:function(){return this.element.dataset.pbTypeaheadKitSearchDebounceTimeout}},{key:"resultsElement",get:function(){return this._resultsElement=this._resultsElement||this.element.querySelector("[data-pb-typeahead-kit-results]")}},{key:"resultOptionTemplate",get:function(){return this._resultOptionTemplate=this._resultOptionTemplate||this.element.querySelector("template[data-pb-typeahead-kit-result-option]")}},{key:"resultsOptionCache",get:function(){return this._resultsOptionCache=this._resultsOptionCache||new Map}},{key:"resultsLoadingIndicator",get:function(){return this._resultsLoadingIndicator=this._resultsLoadingIndicator||this.element.querySelector("[data-pb-typeahead-kit-loading-indicator]")}},{key:"toggleResultsLoadingIndicator",value:function(t){var e="0";t&&(e="1"),this.resultsLoadingIndicator.style.opacity=e}}])&&l(e.prototype,n),i&&l(e,i),Object.defineProperty(e,"prototype",{writable:!1}),d}(i.a)},function(t,e,n){"use strict";e.a=function(){var t=document.querySelectorAll("[data-open-dialog]"),e=document.querySelectorAll("[data-close-dialog]"),n=document.querySelectorAll(".pb_dialog_rails");t.forEach((function(t){t.addEventListener("click",(function(){var e=t.dataset.openDialog,n=document.getElementById(e);n.open||n.showModal()}))})),e.forEach((function(t){t.addEventListener("click",(function(){var e=t.dataset.closeDialog;document.getElementById(e).close()}))})),n.forEach((function(t){t.addEventListener("mousedown",(function(e){if("overlay_close"!==t.parentElement.dataset.overlayClick){var n=e.target.getBoundingClientRect();(e.clientX<n.left||e.clientX>n.right||e.clientY<n.top||e.clientY>n.bottom)&&(t.close(),e.stopPropagation())}}))}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=function(){var t=event.target.closest(".pb_rich_text_editor_kit");t.classList.contains("inline")&&t.classList.toggle("focused")},l=function(){document.querySelectorAll(".focus-editor-targets trix-editor").forEach((function(t){var e=t.toolbarElement;t==document.activeElement?(t.classList.add("focused-editor"),e.style.display="block"):e.contains(document.activeElement)||(t.classList.remove("focused-editor"),e.style.display="none")}))},d=n(4),c=n(2),u=n(232),h=n(116),p=n(6),f=n(17),g=n(53),m=n(5),v=n(175),b=function(t){var e=t.classname,n=t.disable,i=t.onclick,o=t.icon,a=t.text;return r.a.createElement(v.a,{delay:{open:2e3},interaction:!0,placement:"top",text:a},r.a.createElement("button",{className:e,disabled:n,onClick:i,role:"button",type:"button"},r.a.createElement(p.a,{align:"center",className:"toolbar_button_icon",justify:"center"},r.a.createElement(m.a,{icon:o,size:"lg"}))))},y=n(74),x=n(26),_=n(46),w=n(27);function O(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return $(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $(t,e)}(t,e)||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 $(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var C=function(t){for(var e=t.editor,n=O(Object(i.useState)(!1),2),o=n[0],a=n[1],s=[{node:"paragraph",icon:"paragraph",isActive:e.isActive("paragraph"),text:"Paragraph",onclick:function(){return e.chain().focus().setParagraph().run()}},{node:"heading-1",icon:"h1",isActive:e.isActive("heading",{level:1}),text:"Heading 1",onclick:function(){return e.chain().focus().toggleHeading({level:1}).run()}},{node:"heading-2",icon:"h2",isActive:e.isActive("heading",{level:2}),text:"Heading 2",onclick:function(){return e.chain().focus().toggleHeading({level:2}).run()}},{node:"heading-3",icon:"h3",isActive:e.isActive("heading",{level:3}),text:"Heading 3",onclick:function(){return e.chain().focus().toggleHeading({level:3}).run()}},{node:"bulletList",icon:"list",isActive:e.isActive("bulletList"),text:"Bullet List",onclick:function(){return e.chain().focus().toggleBulletList().run()}},{node:"orderedList",icon:"list-ol",isActive:e.isActive("orderedList"),text:"Ordered List",onclick:function(){return e.chain().focus().toggleOrderedList().run()}},{node:"blockquote",icon:"block-quote",isActive:e.isActive("blockquote"),text:"Block Quote",onclick:function(){return e.chain().focus().toggleBlockquote().run()}}],l=0,d=[],c=0,u=s;c<u.length;c++){var h=u[c],f=h.text,g=h.isActive,v=h.icon;g&&(l++,d.push(r.a.createElement(p.a,{align:"center",gap:"xs",key:v},r.a.createElement(m.a,{icon:v,size:"lg"}),r.a.createElement("div",null,f),r.a.createElement(p.a,{className:o?"fa-flip-vertical":"",display:"inline_flex"},r.a.createElement(m.a,{fixedWidth:!0,icon:"angle-down","margin-left":"xs"})))))}var b=r.a.createElement(x.a,{className:"editor-dropdown-button",onClick:function(){a(!0)},variant:"secondary"},2===l?d[1]:1===l?d[0]||null:r.a.createElement(p.a,{align:"center",gap:"xs",key:"paragraph"},r.a.createElement(m.a,{icon:"paragraph",size:"lg"}),r.a.createElement("div",null,"Paragraph"),r.a.createElement(p.a,{className:o?"fa-flip-vertical":"",display:"inline_flex"},r.a.createElement(m.a,{fixedWidth:!0,icon:"angle-down","margin-left":"xs"}))));return r.a.createElement(y.a,{closeOnClick:"outside",padding:"none",placement:"bottom",reference:b,shouldClosePopover:function(t){a(!t)},show:o},r.a.createElement(_.a,{paddingBottom:"xs",paddingTop:"xs",variant:"subtle"},s.map((function(t,e){var n=t.icon,i=t.text,o=t.onclick,s=t.isActive;return r.a.createElement(w.a,{className:"pb_tiptap_toolbar_dropdown_list_item ".concat(s?"is-active":""),cursor:"pointer",iconLeft:n,key:"".concat(i,"_").concat(e),margin:"none",onClick:function(){o(),a(!1)},paddingBottom:"xxs",paddingTop:"xxs",text:i})}))))},k=function(t){var e=t.editor,n=Object(i.useCallback)((function(){var t=e.getAttributes("link").href,n=window.prompt("URL",t);null!==n&&(""!==n?e.chain().focus().extendMarkRange("link").setLink({href:n}).run():e.chain().focus().extendMarkRange("link").unsetLink().run())}),[e]),o=[{onclick:function(){return e.chain().focus().toggleCodeBlock().run()},icon:"code",isActive:e.isActive("codeBlock"),text:"Codeblock"},{onclick:n,icon:"link",isActive:e.isActive("link"),text:"Link"}];return r.a.createElement(r.a.Fragment,null,o.map((function(t,e){var n=t.onclick,i=t.icon,o=t.text,a=t.isActive;return r.a.createElement(b,{classname:"toolbar_button ".concat(a?"is-active":""),icon:i,key:e,onclick:n,text:o})})))},S=function(t){var e=t.editor,n=[{classname:"toolbar_button",icon:"undo",text:"Undo",onclick:function(){return e.chain().focus().undo().run()},disable:!e.can().chain().focus().undo().run()},{classname:"toolbar_button",icon:"redo",text:"Redo",onclick:function(){return e.chain().focus().redo().run()},disable:!e.can().chain().focus().redo().run()}];return r.a.createElement(r.a.Fragment,null,r.a.createElement(f.a,{displayFlex:!0},n.map((function(t,e){var n=t.onclick,i=t.classname,o=t.disable,a=t.icon,s=t.text;return r.a.createElement(b,{classname:i,disable:o,icon:a,key:e,onclick:n,text:s})}))))};function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(t,e)}(t,e)||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 E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var M=function(t){var e=t.extensions,n=j(Object(i.useState)(!1),2),o=n[0],a=n[1],s=r.a.createElement("button",{className:"toolbar_button",onClick:function(){a(!0)},role:"button",type:"button"},r.a.createElement(p.a,{align:"center",className:"toolbar_button_icon",justify:"center"},r.a.createElement(m.a,{icon:"ellipsis",size:"lg"})));return r.a.createElement(y.a,{closeOnClick:"outside",padding:"none",placement:"bottom",reference:s,shouldClosePopover:function(t){a(!t)},show:o},r.a.createElement(_.a,{paddingBottom:e.length>1?"xs":"none",paddingTop:e.length>1?"xs":"none",variant:"subtle"},e&&e.map((function(t,e){var n=t.icon,i=t.text,o=t.onclick,s=t.isActive;return r.a.createElement(w.a,{className:"pb_tiptap_toolbar_dropdown_list_item ".concat(s?"is-active":""),cursor:"pointer",iconLeft:n,key:"".concat(i,"_").concat(e),margin:"none",onClick:function(){o(),a(!1)},paddingBottom:"xxs",paddingTop:"xxs",text:i})}))))},A=function(t){var e=t.editor,n=t.extensions,i=[{icon:"bold",text:"Bold",classname:"toolbar_button ".concat(e.isActive("bold")?"is-active":""),onclick:function(){return e.chain().focus().toggleBold().run()}},{icon:"italic",text:"Italic",classname:"toolbar_button ".concat(e.isActive("italic")?"is-active":""),onclick:function(){return e.chain().focus().toggleItalic().run()}},{icon:"strikethrough",text:"Strikethrough",classname:"toolbar_button ".concat(e.isActive("strike")?"is-active":""),onclick:function(){return e.chain().focus().toggleStrike().run()}}];return r.a.createElement(h.a,{backgroundColor:"white",className:"toolbar"},r.a.createElement(p.a,{flex:"0",justify:"between",paddingX:"sm",paddingY:"xxs"},r.a.createElement(f.a,{className:"toolbar_block",displayFlex:!0},r.a.createElement(C,{editor:e}),r.a.createElement(g.a,{orientation:"vertical"}),i&&i.map((function(t,e){var n=t.icon,i=t.text,o=t.classname,a=t.onclick;return r.a.createElement(b,{classname:o,icon:n,key:e,onclick:a,text:i})})),r.a.createElement(g.a,{orientation:"vertical"}),r.a.createElement(k,{editor:e}),n&&r.a.createElement(r.a.Fragment,null,r.a.createElement(M,{extensions:n}))),r.a.createElement(S,{editor:e})))};function P(t,e,n){var i;return(e="symbol"==typeof(i=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?i:i+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,e)}(t,e)||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 L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}try{n(270).config.textAttributes.inlineCode={tagName:"code",inheritable:!0}}catch(t){}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.advancedEditor,h=t.advancedEditorToolbar,p=void 0===h||h,f=t.toolbarBottom,g=void 0!==f&&f,m=t.children,v=t.className,b=t.data,y=void 0===b?{}:b,x=t.focus,_=void 0!==x&&x,w=t.htmlOptions,O=void 0===w?{}:w,$=t.inline,C=void 0!==$&&$,k=t.extensions,S=t.name,j=t.onChange,E=void 0===j?c.e:j,M=t.placeholder,L=t.simple,D=void 0!==L&&L,I=t.sticky,N=void 0!==I&&I,R=t.template,F=void 0===R?"":R,B=t.value,z=void 0===B?"":B,H=t.maxWidth,W=void 0===H?"md":H,U=Object(c.a)(n),Y=Object(c.c)(y),G=T(Object(i.useState)(),2),V=G[0],X=G[1],q=Object(c.d)(O),K=null==V?void 0:V.element;if(V){var Z=K.parentElement.querySelector("trix-toolbar"),J=Z.querySelector("[data-trix-attribute=code]"),Q=Z.querySelector("[data-trix-attribute=inlineCode]");Q||(Q=J.cloneNode(!0),J.hidden=!0,Q.dataset.trixAttribute="inlineCode",J.insertAdjacentElement("afterend",Q)),g&&V.element.after(Z),_&&(document.addEventListener("trix-focus",l),document.addEventListener("trix-blur",l),l()),document.addEventListener("trix-focus",s),document.addEventListener("trix-blur",s)}Object(i.useEffect)((function(){V&&F&&(V.loadHTML(""),V.setSelectedRange([0,0]),V.insertHTML(F))}),[V,F]),Object(i.useEffect)((function(){K&&K.addEventListener("click",(function(t){var e=t.target;if(e.closest(".pb_rich_text_editor_kit")){var n=e.closest("a");n&&n.hasAttribute("href")&&window.open(n.href)}}))}),[K]);var tt=D?"simple":"",et=_?"focus-editor-targets":"",nt=N?"sticky":"",it=C?"inline":"",rt=g?"toolbar-bottom":"",ot=a()(Object(d.c)(t,{maxWidth:W}),v);return ot=a()("pb_rich_text_editor_kit",tt,et,nt,it,rt,ot),r.a.createElement("div",Object.assign({},U,Y,q,{className:ot}),o?r.a.createElement("div",{className:a()("pb_rich_text_editor_advanced_container",P({},"toolbar-active",p))},p&&r.a.createElement(A,{editor:o,extensions:k}),m):r.a.createElement(u.TrixEditor,{className:"",fileParamName:S,mergeTags:[],onChange:E,onEditorReady:function(t){return X(t)},placeholder:M,value:z}))}},,function(t){t.exports=JSON.parse('{"aliases":{"arrow-alt-circle-right":"circle-right","angles-down":"angle-double-down","arrow-alt-down":"down","arrow-alt-up":"up","arrow-right-long":"long-arrow-right","arrow-to-bottom":"arrow-down-to-line","arrows-h":"arrows-left-right","calendar-days":"calendar-alt","circle-arrow-right":"arrow-circle-right","clock-rotate-left":"history","close":["times","xmark"],"ellipsis-h":"ellipsis","exclamation-circle":"circle-exclamation","external-link":"arrow-up-right-from-square","file-lines":"file-alt","gear":"cog","home":"house","info-circle":"circle-info","map-o":"map","message":"comment-alt","minus-circle":"circle-minus","money":"money-bill","mouse-pointer":"arrow-pointer","nitro":"nitro-n","play-circle":"circle-play","plus-circle":"circle-plus","plus-square":"square-plus","powergon":"powergon-p","question-circle":"circle-question","roofing":"product-roofing","shelves":"inventory","th-list":"table-list"}}')},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=n(2),o=(i=r)&&i.__esModule?i:{default:i};e.default=o.default,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function r(t){return t&&t.__esModule?t:{default:t}}e.default=d;var o=n(3),a=r(n(4)),s=n(14),l=r(n(15));function d(t){var e=t.activeClassName,n=void 0===e?"":e,r=t.activeIndex,a=void 0===r?-1:r,d=t.activeStyle,c=t.autoEscape,u=t.caseSensitive,h=void 0!==u&&u,p=t.className,f=t.findChunks,g=t.highlightClassName,m=void 0===g?"":g,v=t.highlightStyle,b=void 0===v?{}:v,y=t.highlightTag,x=void 0===y?"mark":y,_=t.sanitize,w=t.searchWords,O=t.textToHighlight,$=t.unhighlightTag,C=void 0===$?"span":$,k=t.unhighlightClassName,S=void 0===k?"":k,j=t.unhighlightStyle,E=function(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(t,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),M=(0,o.findAll)({autoEscape:c,caseSensitive:h,findChunks:f,sanitize:_,searchWords:w,textToHighlight:O}),A=x,P=-1,T="",L=void 0,D=(0,l.default)((function(t){var e={};for(var n in t)e[n.toLowerCase()]=t[n];return e}));return(0,s.createElement)("span",i({className:p},E,{children:M.map((function(t,e){var i=O.substr(t.start,t.end-t.start);if(t.highlight){P++;var r=void 0;r="object"==typeof m?h?m[i]:(m=D(m))[i.toLowerCase()]:m;var o=P===+a;T=r+" "+(o?n:""),L=!0===o&&null!=d?Object.assign({},b,d):b;var l={children:i,className:T,key:e,style:L};return"string"!=typeof A&&(l.highlightIndex=P),(0,s.createElement)(A,l)}return(0,s.createElement)(C,{children:i,className:S,key:e,style:j})}))}))}d.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},t.exports=e.default},function(t,e){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2);Object.defineProperty(e,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(e,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(e,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(e,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.findAll=function(t){var e=t.autoEscape,o=t.caseSensitive,a=void 0!==o&&o,s=t.findChunks,l=void 0===s?i:s,d=t.sanitize,c=t.searchWords,u=t.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:e,caseSensitive:a,sanitize:d,searchWords:c,textToHighlight:u})}),totalLength:u?u.length:0})};var n=e.combineChunks=function(t){var e=t.chunks;return e=e.sort((function(t,e){return t.start-e.start})).reduce((function(t,e){if(0===t.length)return[e];var n=t.pop();if(e.start<=n.end){var i=Math.max(n.end,e.end);t.push({start:n.start,end:i})}else t.push(n,e);return t}),[])},i=function(t){var e=t.autoEscape,n=t.caseSensitive,i=t.sanitize,r=void 0===i?o:i,a=t.searchWords,s=t.textToHighlight;return s=r(s),a.filter((function(t){return t})).reduce((function(t,i){i=r(i),e&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,d=o.lastIndex;d>l&&t.push({start:l,end:d}),a.index==o.lastIndex&&o.lastIndex++}return t}),[])};e.findChunks=i;var r=e.fillInChunks=function(t){var e=t.chunksToHighlight,n=t.totalLength,i=[],r=function(t,e,n){e-t>0&&i.push({start:t,end:e,highlight:n})};if(0===e.length)r(0,n,!1);else{var o=0;e.forEach((function(t){r(o,t.start,!1),r(t.start,t.end,!0),o=t.end})),r(o,n,!1)}return i};function o(t){return t}}])},function(t,e,n){(function(e){if("production"!==e.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n(6)((function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i}),!0)}else t.exports=n(13)()}).call(e,n(5))},function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,d=[],c=!1,u=-1;function h(){c&&l&&(c=!1,l.length?d=l.concat(d):u=-1,d.length&&p())}function p(){if(!c){var t=s(h);c=!0;for(var e=d.length;e;){for(l=d,d=[];++u<e;)l&&l[u].run();u=-1,e=d.length}l=null,c=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function g(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new f(t,e)),1!==d.length||c||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e,n){(function(e){"use strict";var i=n(7),r=n(8),o=n(9),a=n(10),s=n(11),l=n(12);t.exports=function(t,n){var d="function"==typeof Symbol&&Symbol.iterator;var c={array:f("array"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:p(i.thatReturnsNull),arrayOf:function(t){return p((function(e,n,i,r,o){if("function"!=typeof t)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a))return new h("Invalid "+r+" `"+o+"` of type `"+m(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var d=t(a,l,i,r,o+"["+l+"]",s);if(d instanceof Error)return d}return null}))},element:p((function(e,n,i,r,o){var a=e[n];return t(a)?null:new h("Invalid "+r+" `"+o+"` of type `"+m(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(t){return p((function(e,n,i,r,o){if(!(e[n]instanceof t)){var a=t.name||"<<anonymous>>";return new h("Invalid "+r+" `"+o+"` of type `"+function(t){if(!t.constructor||!t.constructor.name)return"<<anonymous>>";return t.constructor.name}(e[n])+"` supplied to `"+i+"`, expected instance of `"+a+"`.")}return null}))},node:p((function(t,e,n,i,r){return g(t[e])?null:new h("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(t){return p((function(e,n,i,r,o){if("function"!=typeof t)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=e[n],l=m(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var d in a)if(a.hasOwnProperty(d)){var c=t(a,d,i,r,o+"."+d,s);if(c instanceof Error)return c}return null}))},oneOf:function(t){if(!Array.isArray(t))return"production"!==e.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return p((function(e,n,i,r,o){for(var a=e[n],s=0;s<t.length;s++)if(u(a,t[s]))return null;return new h("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(t)+".")}))},oneOfType:function(t){if(!Array.isArray(t))return"production"!==e.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<t.length;n++){var r=t[n];if("function"!=typeof r)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return p((function(e,n,i,r,o){for(var a=0;a<t.length;a++){if(null==(0,t[a])(e,n,i,r,o,s))return null}return new h("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(t){return p((function(e,n,i,r,o){var a=e[n],l=m(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var d in t){var c=t[d];if(c){var u=c(a,d,i,r,o+"."+d,s);if(u)return u}}return null}))},exact:function(t){return p((function(e,n,i,r,o){var l=e[n],d=m(l);if("object"!==d)return new h("Invalid "+r+" `"+o+"` of type `"+d+"` supplied to `"+i+"`, expected `object`.");var c=a({},e[n],t);for(var u in c){var p=t[u];if(!p)return new h("Invalid "+r+" `"+o+"` key `"+u+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(e[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var f=p(l,u,i,r,o+"."+u,s);if(f)return f}return null}))}};function u(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function h(t){this.message=t,this.stack=""}function p(t){if("production"!==e.env.NODE_ENV)var i={},a=0;function l(l,d,c,u,p,f,g){if(u=u||"<<anonymous>>",f=f||c,g!==s)if(n)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==e.env.NODE_ENV&&"undefined"!=typeof console){var m=u+":"+c;!i[m]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",f,u),i[m]=!0,a++)}return null==d[c]?l?null===d[c]?new h("The "+p+" `"+f+"` is marked as required in `"+u+"`, but its value is `null`."):new h("The "+p+" `"+f+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:t(d,c,u,p,f)}var d=l.bind(null,!1);return d.isRequired=l.bind(null,!0),d}function f(t){return p((function(e,n,i,r,o,a){var s=e[n];return m(s)!==t?new h("Invalid "+r+" `"+o+"` of type `"+v(s)+"` supplied to `"+i+"`, expected `"+t+"`."):null}))}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||t(e))return!0;var n=function(t){var e=t&&(d&&t[d]||t["@@iterator"]);if("function"==typeof e)return e}(e);if(!n)return!1;var i,r=n.call(e);if(n!==e.entries){for(;!(i=r.next()).done;)if(!g(i.value))return!1}else for(;!(i=r.next()).done;){var o=i.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,t)?"symbol":e}function v(t){if(null==t)return""+t;var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function b(t){var e=v(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return h.prototype=Error.prototype,c.checkPropTypes=l,c.PropTypes=c,c}}).call(e,n(5))},function(t,e){"use strict";function n(t){return function(){return t}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){(function(e){"use strict";var n=function(t){};"production"!==e.env.NODE_ENV&&(n=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=function(t,e,i,r,o,a,s,l){if(n(e),!t){var d;if(void 0===e)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,o,a,s,l],u=0;(d=new Error(e.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw d.framesToPop=1,d}}}).call(e,n(5))},function(t,e,n){(function(e){"use strict";var i=n(7);if("production"!==e.env.NODE_ENV){var r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+t.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(t){}};i=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];r.apply(void 0,[e].concat(i))}}}t.exports=i}).call(e,n(5))},function(t,e){
31
+ var i=/input|select|textarea|button|object|iframe/;function r(t){var e=t.offsetWidth<=0&&t.offsetHeight<=0;if(e&&!t.innerHTML)return!0;try{var n=window.getComputedStyle(t),i=n.getPropertyValue("display");return e?"contents"!==i&&function(t,e){return"visible"!==e.getPropertyValue("overflow")||t.scrollWidth<=0&&t.scrollHeight<=0}(t,n):"none"===i}catch(t){return console.warn("Failed to inspect element style"),!1}}function o(t,e){var n=t.nodeName.toLowerCase();return(i.test(n)&&!t.disabled||"a"===n&&t.href||e)&&function(t){for(var e=t,n=t.getRootNode&&t.getRootNode();e&&e!==document.body;){if(n&&e===n&&(e=n.host.parentNode),r(e))return!1;e=e.parentNode}return!0}(t)}function a(t){var e=t.getAttribute("tabindex");null===e&&(e=void 0);var n=isNaN(e);return(n||e>=0)&&o(t,!n)}t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(t){return t.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(t){return t.removeAttribute("aria-hidden")})));s=null},e.log=function(){0},e.assertNodeList=l,e.setElement=function(t){var e=t;if("string"==typeof e&&a.canUseDOM){var n=document.querySelectorAll(e);l(n,e),e=n}return s=e||s},e.validateElement=d,e.hide=function(t){var e=!0,n=!1,i=void 0;try{for(var r,o=d(t)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){r.value.setAttribute("aria-hidden","true")}}catch(t){n=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw i}}},e.show=function(t){var e=!0,n=!1,i=void 0;try{for(var r,o=d(t)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){r.value.removeAttribute("aria-hidden")}}catch(t){n=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw i}}},e.documentNotReadyOrSSRTesting=function(){s=null};var i,r=n(181),o=(i=r)&&i.__esModule?i:{default:i},a=n(179);var s=null;function l(t,e){if(!t||!t.length)throw new Error("react-modal: No elements were found for selector "+e+".")}function d(t){var e=t||s;return e?Array.isArray(e)||e instanceof HTMLCollection||e instanceof NodeList?e:[e]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(t){return console.log(t)})),console.log("end portalOpenInstances ----------")},e.resetState=function(){r=new i};var i=function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.register=function(t){-1===e.openInstances.indexOf(t)&&(e.openInstances.push(t),e.emit("register"))},this.deregister=function(t){var n=e.openInstances.indexOf(t);-1!==n&&(e.openInstances.splice(n,1),e.emit("deregister"))},this.subscribe=function(t){e.subscribers.push(t)},this.emit=function(t){e.subscribers.forEach((function(n){return n(t,e.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new i;e.default=r},function(t,e,n){var i=n(91).default,r=n(272);t.exports=function(t){var e=r(t,"string");return"symbol"===i(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var i=n(212);t.exports=function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(226),l=n.n(s),d=n(2),c=n(4),u=n(9),h=n(26),p=n(197),f=n(195),g=n(196),m=n(6),v=n(56),b=n(12),y=n(152);function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t,e)||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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var w=function t(e){var n=e.aria,o=void 0===n?{}:n,s=e.cancelButton,p=e.confirmButton,f=e.className,g=e.data,_=void 0===g?{}:g,w=e.htmlOptions,O=void 0===w?{}:w,$=e.id,C=e.size,k=void 0===C?"md":C,S=e.children,j=e.loading,E=void 0!==j&&j,M=e.fullHeight,A=void 0!==M&&M,P=e.opened,T=e.onCancel,L=e.onConfirm,D=e.onClose,I=e.placement,N=void 0===I?"center":I,R=e.portalClassName,F=e.shouldCloseOnOverlayClick,B=void 0===F||F,z=e.status,H=e.text,W=e.title,U=e.trigger,Y=Object(d.a)(o),G=Object(d.c)(_),V=Object(d.d)(O),X={base:a()("pb_dialog",Object(d.b)("pb_dialog",k,N)),afterOpen:"pb_dialog_after_open",beforeClose:"pb_dialog_before_close"},q={base:"pb_dialog_overlay ".concat(null!==A&&(A?"xl"===k?"full_height_center":"full_height_".concat(N):null)),afterOpen:"pb_dialog_overlay_after_open",beforeClose:"pb_dialog_overlay_before_close"},K=a()(Object(d.b)("pb_dialog_wrapper"),Object(c.c)(e),f),Z=x(Object(i.useState)(!1),2),J=Z[0],Q=Z[1],tt=U?J:P,et={onClose:U?function(){Q(!1)}:D};U&&document.querySelector(U).addEventListener("click",(function(){Q(!0),document.querySelector("#cancel-button").addEventListener("click",(function(){Q(!1)}))}),{once:!0});var nt={default:{icon:"exclamation-circle",variant:"default",size:"lg"},info:{icon:"info-circle",variant:"default",size:"lg"},caution:{icon:"exclamation-triangle",variant:"yellow",size:"lg"},delete:{icon:"trash-alt",variant:"red",size:"lg"},error:{icon:"times-circle",variant:"red",size:"lg"},success:{icon:"check-circle",variant:"green",size:"lg"}};return r.a.createElement(y.a.Provider,{value:et},r.a.createElement("div",Object.assign({},Y,G,V,{className:K}),r.a.createElement(l.a,{ariaHideApp:!1,className:X,closeTimeoutMS:200,contentLabel:"Minimal Modal Example",id:$,isOpen:tt,onRequestClose:D,overlayClassName:q,portalClassName:R,shouldCloseOnOverlayClick:B},r.a.createElement(r.a.Fragment,null,W&&!z?r.a.createElement(t.Header,null,W):null,!z&&H?r.a.createElement(t.Body,null,H):null,z&&r.a.createElement(t.Body,{className:"dialog_status_text_align",padding:"md"},r.a.createElement(m.a,{align:"center",orientation:"column"},r.a.createElement(v.a,{icon:nt[z].icon,size:nt[z].size,variant:nt[z].variant}),r.a.createElement(b.a,{marginTop:"sm",size:3},W),r.a.createElement(u.a,{marginTop:"xs",text:H}))),s&&p?r.a.createElement(t.Footer,null,r.a.createElement(h.a,{htmlType:"button",loading:E,onClick:L,variant:"primary"},p),r.a.createElement(h.a,{htmlType:"button",id:"cancel-button",onClick:T,variant:"link"},s)):null,S))))};w.Header=p.a,w.Body=g.a,w.Footer=f.a,e.a=w},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=n(67),l=n.n(s),d=n(29),c=n.n(d),u=n(49),h=n(75),p=n(68),f=n(123),g=n.n(f),m=n(229),v=n.n(m),b=n(8),y=n.n(b),x=n(10),_=n.n(x),w=n(2),O=n(4),$=n(25);function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(t,e)}(t,e)||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 k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var S=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.chartData,s=t.customOptions,d=void 0===s?{}:s,f=t.dark,m=void 0!==f&&f,b=t.data,x=void 0===b?{}:b,k=t.disableAnimation,j=void 0!==k&&k,E=t.fullCircle,M=void 0!==E&&E,A=t.height,P=void 0===A?null:A,T=t.htmlOptions,L=void 0===T?{}:T,D=t.id,I=t.max,N=void 0===I?100:I,R=t.min,F=void 0===R?0:R,B=t.prefix,z=void 0===B?"":B,H=t.showLabels,W=void 0!==H&&H,U=t.style,Y=void 0===U?"solidgauge":U,G=t.suffix,V=void 0===G?"":G,X=t.title,q=void 0===X?"":X,K=t.tooltipHtml,Z=void 0===K?'<span style="font-weight: bold; color:{point.color};">●</span>{point.name}: <b>{point.y}</b>':K,J=t.colors,Q=void 0===J?[]:J,tt=t.minorTickInterval,et=void 0===tt?null:tt,nt=t.circumference,it=void 0===nt?M?[0,360]:[-100,100]:nt,rt=S(t,["aria","chartData","customOptions","dark","data","disableAnimation","fullCircle","height","htmlOptions","id","max","min","prefix","showLabels","style","suffix","title","tooltipHtml","colors","minorTickInterval","circumference"]),ot=Object(w.a)(n),at=Object(w.c)(x),st=Object(w.d)(L);g()(c.a),v()(c.a);m?c.a.setOptions(h.a):c.a.setOptions(u.a),c.a.setOptions({tooltip:{pointFormat:Z,followPointer:!0}});var lt=Object(w.b)({pb_gauge_kit:!0}),dt=C(Object(i.useState)({}),2),ct=dt[0],ut=dt[1];return Object(i.useEffect)((function(){var t=o.map((function(t){return t.y=t.value,delete t.value,t})),e={chart:{events:{load:function(){setTimeout(this.reflow.bind(this),0)}},type:Y,height:P},title:{text:q},yAxis:{min:F,max:N,lineWidth:0,tickWidth:0,minorTickInterval:et,tickAmount:2,tickPositions:[F,N],labels:{y:26,enabled:W}},credits:!1,series:[{data:t}],pane:{center:["50%","50%"],size:"90%",startAngle:it[0],endAngle:it[1],background:{borderWidth:20,innerRadius:"90%",outerRadius:"90%",shape:"arc",className:"gauge-pane"}},colors:void 0!==Q&&Q.length>0?Object(p.a)(Q):u.a.colors,plotOptions:{series:{animation:!j},solidgauge:{borderColor:void 0!==Q&&1===Q.length?Object(p.a)(Q).join():u.a.colors[0],borderWidth:20,radius:90,innerRadius:"90%",dataLabels:{borderWidth:0,color:y.a.text_lt_default,enabled:!0,format:'<span class="prefix">'.concat(z,"</span>")+'<span class="fix">{y:,f}</span>'+'<span class="suffix">'.concat(V,"</span>"),style:{fontFamily:_.a.font_family_base,fontWeight:_.a.regular,fontSize:_.a.heading_2},y:-26}}}};ut(Object($.merge)(e,d)),document.querySelector(".prefix")&&(document.querySelectorAll(".prefix").forEach((function(t){t.setAttribute("y","28")})),document.querySelectorAll(".fix").forEach((function(t){return t.setAttribute("y","38")})))}),[o]),r.a.createElement(l.a,{containerProps:Object.assign(Object.assign(Object.assign({className:a()(lt,Object(O.c)(rt)),id:D},ot),at),st),highcharts:c.a,options:ct})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var i=n(55),r=n(298);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function l(t,e){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}();return function(){var n,i=u(t);if(e){var r=u(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return c(this,n)}}function c(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=[0,20],p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(c,t);var e,n,i,s=d(c);function c(){return o(this,c),s.apply(this,arguments)}return e=c,i=[{key:"selector",get:function(){return"[data-pb-popover-kit]"}}],(n=[{key:"moveTooltip",value:function(){document.querySelector("body").appendChild(this.tooltip)}},{key:"connect",value:function(){var t=this;this.moveTooltip(),this.popper=Object(r.a)(this.triggerElement,this.tooltip,{placement:this.position,strategy:"fixed",modifiers:[{name:"offset",options:{offset:this.offset}}]}),this.triggerElement.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),t.tooltip.classList.contains("show")||t.checkCloseTooltip(),setTimeout((function(){t.toggleTooltip(),t.popper.update()}),0)}))}},{key:"checkCloseTooltip",value:function(){var t=this;document.querySelector("body").addEventListener("click",(function(e){var n=e.target,i=null!==n.closest("#".concat(t.tooltipId)),r=null!==n.closest("#".concat(t.triggerElementId));switch(t.closeOnClick){case"any":(i||!i&&!r)&&t.hideTooltip();break;case"outside":i||r||t.hideTooltip();break;case"inside":i&&t.hideTooltip()}}),!0)}},{key:"hideTooltip",value:function(){this.tooltip.classList.remove("show"),this.tooltip.classList.add("hide")}},{key:"toggleTooltip",value:function(){this.tooltip.classList.toggle("show"),this.tooltip.classList.toggle("hide")}},{key:"triggerElement",get:function(){return this._triggerElement=this._triggerElement||document.querySelector("#".concat(this.triggerElementId))}},{key:"tooltip",get:function(){return this._tooltip=this._tooltip||this.element.querySelector("#".concat(this.tooltipId))}},{key:"position",get:function(){return this.element.dataset.pbPopoverPosition}},{key:"triggerElementId",get:function(){return this.element.dataset.pbPopoverTriggerElementId}},{key:"tooltipId",get:function(){return this.element.dataset.pbPopoverTooltipId}},{key:"offset",get:function(){return"true"===this.element.dataset.pbPopoverOffset?h:[0,0]}},{key:"closeOnClick",get:function(){return this.element.dataset.pbPopoverCloseOnClick}}])&&a(e.prototype,n),i&&a(e,i),Object.defineProperty(e,"prototype",{writable:!1}),c}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var i=n(55),r=n(186),o=n(188),a=n(191),s=n(190);function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,c(i.key),i)}}function c(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function u(t,e){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}();return function(){var n,i=f(t);if(e){var r=f(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p(this,n)}}function p(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=[0,20],m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(p,t);var e,n,i,c=h(p);function p(){return l(this,p),c.apply(this,arguments)}return e=p,i=[{key:"selector",get:function(){return"[data-pb-tooltip-kit]"}}],(n=[{key:"connect",value:function(){var t=this;this.triggerElements.forEach((function(e){e.addEventListener("mouseenter",(function(){t.mouseenterTimeout=setTimeout((function(){t.showTooltip(e),t.checkCloseTooltip(e)}),250),e.addEventListener("mouseleave",(function(){clearTimeout(t.mouseenterTimeout),setTimeout((function(){t.hideTooltip()}),0)}),{once:!0})}))})),this.tooltip.addEventListener("mouseenter",(function(){clearTimeout(t.mouseenterTimeout)})),this.tooltip.addEventListener("mouseleave",(function(){t.hideTooltip()}))}},{key:"checkCloseTooltip",value:function(t){var e=this;document.querySelector("body").addEventListener("click",(function(n){var i=n.target,r=i.closest("#".concat(e.tooltipId))===e.tooltip;i.closest(e.triggerElementSelector)===t||r?e.checkCloseTooltip(t):e.hideTooltip()}),{once:!0})}},{key:"showTooltip",value:function(t){"false"!==this.shouldShowTooltip&&(this.popper=Object(r.a)(t,this.tooltip,{placement:this.position,strategy:"fixed",modifiers:[{name:"offset",options:{offset:g}},{name:"arrow",options:{element:document.querySelector("#".concat(this.tooltipId,"-arrow"))}},o.a,a.a,s.a]}),this.tooltip.classList.add("show"))}},{key:"hideTooltip",value:function(){var t=this;this.tooltip.classList.add("fade_out"),setTimeout((function(){t.popper&&(t.popper.destroy(),t.tooltip.classList.remove("show"),t.tooltip.classList.remove("fade_out"))}),250)}},{key:"triggerElements",get:function(){var t;return(t=this.triggerElementId?document.querySelector("#".concat(this.triggerElementId)):this.triggerElementSelector.indexOf("#")>-1?document.querySelector("".concat(this.triggerElementSelector)):document.querySelectorAll("".concat(this.triggerElementSelector)))?(t.length||(t=[t]),this._triggerElements=this._triggerElements||t):(console.error("Tooltip Kit: an invalid or unavailable DOM reference was provided!"),[])}},{key:"tooltip",get:function(){return this._tooltip=this._tooltip||this.element.querySelector("#".concat(this.tooltipId))}},{key:"position",get:function(){return this.element.dataset.pbTooltipPosition}},{key:"triggerElementId",get:function(){return this.element.dataset.pbTooltipTriggerElementId}},{key:"tooltipId",get:function(){return this.element.dataset.pbTooltipTooltipId}},{key:"triggerElementSelector",get:function(){return this.element.dataset.pbTooltipTriggerElementSelector}},{key:"shouldShowTooltip",get:function(){return this.element.dataset.pbTooltipShowTooltip}}])&&d(e.prototype,n),i&&d(e,i),Object.defineProperty(e,"prototype",{writable:!1}),p}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i=n(55),r=n(25);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},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 o,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,d(i.key),i)}}function d(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function c(t,e){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function u(t){var e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}();return function(){var n,i=p(t);if(e){var r=p(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return h(this,n)}}function h(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(d,t);var e,n,i,a=u(d);function d(){return s(this,d),a.apply(this,arguments)}return e=d,i=[{key:"selector",get:function(){return"[data-pb-typeahead-kit]"}}],(n=[{key:"connect",value:function(){var t=this;this.element.addEventListener("keydown",(function(e){return t.handleKeydown(e)})),this.searchInput.addEventListener("focus",(function(){return t.debouncedSearch})),this.searchInput.addEventListener("input",(function(){return t.debouncedSearch})),this.resultsElement.addEventListener("click",(function(e){return t.optionSelected(e)}))}},{key:"handleKeydown",value:function(t){"ArrowUp"===t.key?(t.preventDefault(),this.focusPreviousOption()):"ArrowDown"===t.key&&(t.preventDefault(),this.focusNextOption())}},{key:"search",value:function(){var t=this;if(this.searchTerm.length<parseInt(this.searchTermMinimumLength))return this.clearResults();this.toggleResultsLoadingIndicator(!0),this.showResults();var e=this.searchTerm,n=this.searchContext,i={searchingFor:e,searchingContext:n,setResults:function(i){t.resultsCacheUpdate(e,n,i)}};this.element.dispatchEvent(new CustomEvent("pb-typeahead-kit-search",{bubbles:!0,detail:i}))}},{key:"resultsCacheUpdate",value:function(t,e,n){var i=this.cacheKeyFor(t,e);this.resultsOptionCache.has(i)&&this.resultsOptionCache.delete(i),this.resultsOptionCache.size>32&&this.resultsOptionCache.delete(this.resultsOptionCache.keys().next().value),this.resultsOptionCache.set(i,n),this.showResults()}},{key:"resultsCacheClear",value:function(){this.resultsOptionCache.clear()}},{key:"debouncedSearch",get:function(){return this._debouncedSearch=this._debouncedSearch||Object(r.debounce)(this.search,parseInt(this.searchDebounceTimeout)).bind(this)}},{key:"showResults",value:function(){var t=this;if(this.resultsOptionCache.has(this.searchTermAndContext)){this.toggleResultsLoadingIndicator(!1),this.clearResults();var e,n=o(this.resultsOptionCache.get(this.searchTermAndContext));try{for(n.s();!(e=n.n()).done;){var i=e.value;this.resultsElement.appendChild(this.newResultOption(i.cloneNode(!0)))}}catch(t){n.e(t)}finally{n.f()}var r,a=o(this.resultsElement.querySelectorAll("[data-result-option-item]"));try{for(a.s();!(r=a.n()).done;)r.value.addEventListener("mousedown",(function(e){return t.optionSelected(e)}))}catch(t){a.e(t)}finally{a.f()}}}},{key:"optionSelected",value:function(t){var e=t.target.closest("[data-result-option-item]");e&&(this.resultsCacheClear(),this.searchInputClear(),this.clearResults(),this.element.dispatchEvent(new CustomEvent("pb-typeahead-kit-result-option-selected",{bubbles:!0,detail:{selected:e,typeahead:this}})))}},{key:"clearResults",value:function(){this.resultsElement.innerHTML=""}},{key:"newResultOption",value:function(t){var e=this.resultOptionTemplate.content.cloneNode(!0);return e.querySelector('slot[name="content"]').replaceWith(t),e}},{key:"focusPreviousOption",value:function(){var t=this.resultOptionItems.indexOf(this.currentSelectedResultOptionItem)-1;(this.resultOptionItems[t]||this.resultOptionItems[this.resultOptionItems.length-1]).focus()}},{key:"focusNextOption",value:function(){var t=this.resultOptionItems.indexOf(this.currentSelectedResultOptionItem)+1;(this.resultOptionItems[t]||this.resultOptionItems[0]).focus()}},{key:"resultOptionItems",get:function(){return Array.from(this.resultsElement.querySelectorAll("[data-result-option-item]"))}},{key:"currentSelectedResultOptionItem",get:function(){return document.activeElement.closest("[data-result-option-item]")}},{key:"searchInput",get:function(){return this._searchInput=this._searchInput||this.element.querySelector('input[type="search"]')}},{key:"searchTerm",get:function(){return this.searchInput.value}},{key:"searchContext",get:function(){if(this._searchContext)return this._searchContext;var t=this.element.dataset.searchContextValueSelector;return t?(this.element.parentNode.querySelector(t)||this.element.closest(t)).value:null},set:function(t){this._searchContext=t}},{key:"searchTermAndContext",get:function(){return this.cacheKeyFor(this.searchTerm,this.searchContext)}},{key:"cacheKeyFor",value:function(t,e){return[t,JSON.stringify(e)].join()}},{key:"searchInputClear",value:function(){this.searchInput.value=""}},{key:"searchTermMinimumLength",get:function(){return this.element.dataset.pbTypeaheadKitSearchTermMinimumLength}},{key:"searchDebounceTimeout",get:function(){return this.element.dataset.pbTypeaheadKitSearchDebounceTimeout}},{key:"resultsElement",get:function(){return this._resultsElement=this._resultsElement||this.element.querySelector("[data-pb-typeahead-kit-results]")}},{key:"resultOptionTemplate",get:function(){return this._resultOptionTemplate=this._resultOptionTemplate||this.element.querySelector("template[data-pb-typeahead-kit-result-option]")}},{key:"resultsOptionCache",get:function(){return this._resultsOptionCache=this._resultsOptionCache||new Map}},{key:"resultsLoadingIndicator",get:function(){return this._resultsLoadingIndicator=this._resultsLoadingIndicator||this.element.querySelector("[data-pb-typeahead-kit-loading-indicator]")}},{key:"toggleResultsLoadingIndicator",value:function(t){var e="0";t&&(e="1"),this.resultsLoadingIndicator.style.opacity=e}}])&&l(e.prototype,n),i&&l(e,i),Object.defineProperty(e,"prototype",{writable:!1}),d}(i.a)},function(t,e,n){"use strict";e.a=function(){var t=document.querySelectorAll("[data-open-dialog]"),e=document.querySelectorAll("[data-close-dialog]"),n=document.querySelectorAll(".pb_dialog_rails");t.forEach((function(t){t.addEventListener("click",(function(){var e=t.dataset.openDialog,n=document.getElementById(e);n.open||n.showModal()}))})),e.forEach((function(t){t.addEventListener("click",(function(){var e=t.dataset.closeDialog;document.getElementById(e).close()}))})),n.forEach((function(t){t.addEventListener("mousedown",(function(e){if("overlay_close"!==t.parentElement.dataset.overlayClick){var n=e.target.getBoundingClientRect();(e.clientX<n.left||e.clientX>n.right||e.clientY<n.top||e.clientY>n.bottom)&&(t.close(),e.stopPropagation())}}))}))}},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(3),a=n.n(o),s=function(){var t=event.target.closest(".pb_rich_text_editor_kit");t.classList.contains("inline")&&t.classList.toggle("focused")},l=function(){document.querySelectorAll(".focus-editor-targets trix-editor").forEach((function(t){var e=t.toolbarElement;t==document.activeElement?(t.classList.add("focused-editor"),e.style.display="block"):e.contains(document.activeElement)||(t.classList.remove("focused-editor"),e.style.display="none")}))},d=n(4),c=n(2),u=n(232),h=n(116),p=n(6),f=n(17),g=n(53),m=n(5),v=n(175),b=function(t){var e=t.classname,n=t.disable,i=t.onclick,o=t.icon,a=t.text;return r.a.createElement(v.a,{delay:{open:2e3},interaction:!0,placement:"top",text:a},r.a.createElement("button",{className:e,disabled:n,onClick:i,role:"button",type:"button"},r.a.createElement(p.a,{align:"center",className:"toolbar_button_icon",justify:"center"},r.a.createElement(m.a,{icon:o,size:"lg"}))))},y=n(74),x=n(26),_=n(46),w=n(27);function O(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return $(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $(t,e)}(t,e)||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 $(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var C=function(t){for(var e=t.editor,n=O(Object(i.useState)(!1),2),o=n[0],a=n[1],s=[{node:"paragraph",icon:"paragraph",isActive:e.isActive("paragraph"),text:"Paragraph",onclick:function(){return e.chain().focus().setParagraph().run()}},{node:"heading-1",icon:"h1",isActive:e.isActive("heading",{level:1}),text:"Heading 1",onclick:function(){return e.chain().focus().toggleHeading({level:1}).run()}},{node:"heading-2",icon:"h2",isActive:e.isActive("heading",{level:2}),text:"Heading 2",onclick:function(){return e.chain().focus().toggleHeading({level:2}).run()}},{node:"heading-3",icon:"h3",isActive:e.isActive("heading",{level:3}),text:"Heading 3",onclick:function(){return e.chain().focus().toggleHeading({level:3}).run()}},{node:"bulletList",icon:"list",isActive:e.isActive("bulletList"),text:"Bullet List",onclick:function(){return e.chain().focus().toggleBulletList().run()}},{node:"orderedList",icon:"list-ol",isActive:e.isActive("orderedList"),text:"Ordered List",onclick:function(){return e.chain().focus().toggleOrderedList().run()}},{node:"blockquote",icon:"block-quote",isActive:e.isActive("blockquote"),text:"Block Quote",onclick:function(){return e.chain().focus().toggleBlockquote().run()}}],l=0,d=[],c=0,u=s;c<u.length;c++){var h=u[c],f=h.text,g=h.isActive,v=h.icon;g&&(l++,d.push(r.a.createElement(p.a,{align:"center",gap:"xs",key:v},r.a.createElement(m.a,{icon:v,size:"lg"}),r.a.createElement("div",null,f),r.a.createElement(p.a,{className:o?"fa-flip-vertical":"",display:"inline_flex"},r.a.createElement(m.a,{fixedWidth:!0,icon:"angle-down","margin-left":"xs"})))))}var b=r.a.createElement(x.a,{className:"editor-dropdown-button",onClick:function(){a(!0)},variant:"secondary"},2===l?d[1]:1===l?d[0]||null:r.a.createElement(p.a,{align:"center",gap:"xs",key:"paragraph"},r.a.createElement(m.a,{icon:"paragraph",size:"lg"}),r.a.createElement("div",null,"Paragraph"),r.a.createElement(p.a,{className:o?"fa-flip-vertical":"",display:"inline_flex"},r.a.createElement(m.a,{fixedWidth:!0,icon:"angle-down","margin-left":"xs"}))));return r.a.createElement(y.a,{closeOnClick:"outside",padding:"none",placement:"bottom",reference:b,shouldClosePopover:function(t){a(!t)},show:o},r.a.createElement(_.a,{paddingBottom:"xs",paddingTop:"xs",variant:"subtle"},s.map((function(t,e){var n=t.icon,i=t.text,o=t.onclick,s=t.isActive;return r.a.createElement(w.a,{className:"pb_tiptap_toolbar_dropdown_list_item ".concat(s?"is-active":""),cursor:"pointer",iconLeft:n,key:"".concat(i,"_").concat(e),margin:"none",onClick:function(){o(),a(!1)},paddingBottom:"xxs",paddingTop:"xxs",text:i})}))))},k=function(t){var e=t.editor,n=Object(i.useCallback)((function(){var t=e.getAttributes("link").href,n=window.prompt("URL",t);null!==n&&(""!==n?e.chain().focus().extendMarkRange("link").setLink({href:n}).run():e.chain().focus().extendMarkRange("link").unsetLink().run())}),[e]),o=[{onclick:function(){return e.chain().focus().toggleCodeBlock().run()},icon:"code",isActive:e.isActive("codeBlock"),text:"Codeblock"},{onclick:n,icon:"link",isActive:e.isActive("link"),text:"Link"}];return r.a.createElement(r.a.Fragment,null,o.map((function(t,e){var n=t.onclick,i=t.icon,o=t.text,a=t.isActive;return r.a.createElement(b,{classname:"toolbar_button ".concat(a?"is-active":""),icon:i,key:e,onclick:n,text:o})})))},S=function(t){var e=t.editor,n=[{classname:"toolbar_button",icon:"undo",text:"Undo",onclick:function(){return e.chain().focus().undo().run()},disable:!e.can().chain().focus().undo().run()},{classname:"toolbar_button",icon:"redo",text:"Redo",onclick:function(){return e.chain().focus().redo().run()},disable:!e.can().chain().focus().redo().run()}];return r.a.createElement(r.a.Fragment,null,r.a.createElement(f.a,{displayFlex:!0},n.map((function(t,e){var n=t.onclick,i=t.classname,o=t.disable,a=t.icon,s=t.text;return r.a.createElement(b,{classname:i,disable:o,icon:a,key:e,onclick:n,text:s})}))))};function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(t,e)}(t,e)||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 E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var M=function(t){var e=t.extensions,n=j(Object(i.useState)(!1),2),o=n[0],a=n[1],s=r.a.createElement("button",{className:"toolbar_button",onClick:function(){a(!0)},role:"button",type:"button"},r.a.createElement(p.a,{align:"center",className:"toolbar_button_icon",justify:"center"},r.a.createElement(m.a,{icon:"ellipsis",size:"lg"})));return r.a.createElement(y.a,{closeOnClick:"outside",padding:"none",placement:"bottom",reference:s,shouldClosePopover:function(t){a(!t)},show:o},r.a.createElement(_.a,{paddingBottom:e.length>1?"xs":"none",paddingTop:e.length>1?"xs":"none",variant:"subtle"},e&&e.map((function(t,e){var n=t.icon,i=t.text,o=t.onclick,s=t.isActive;return r.a.createElement(w.a,{className:"pb_tiptap_toolbar_dropdown_list_item ".concat(s?"is-active":""),cursor:"pointer",iconLeft:n,key:"".concat(i,"_").concat(e),margin:"none",onClick:function(){o(),a(!1)},paddingBottom:"xxs",paddingTop:"xxs",text:i})}))))},A=function(t){var e=t.editor,n=t.extensions,i=[{icon:"bold",text:"Bold",classname:"toolbar_button ".concat(e.isActive("bold")?"is-active":""),onclick:function(){return e.chain().focus().toggleBold().run()}},{icon:"italic",text:"Italic",classname:"toolbar_button ".concat(e.isActive("italic")?"is-active":""),onclick:function(){return e.chain().focus().toggleItalic().run()}},{icon:"strikethrough",text:"Strikethrough",classname:"toolbar_button ".concat(e.isActive("strike")?"is-active":""),onclick:function(){return e.chain().focus().toggleStrike().run()}}];return r.a.createElement(h.a,{backgroundColor:"white",className:"toolbar"},r.a.createElement(p.a,{flex:"0",justify:"between",paddingX:"sm",paddingY:"xxs"},r.a.createElement(f.a,{className:"toolbar_block",displayFlex:!0},r.a.createElement(C,{editor:e}),r.a.createElement(g.a,{orientation:"vertical"}),i&&i.map((function(t,e){var n=t.icon,i=t.text,o=t.classname,a=t.onclick;return r.a.createElement(b,{classname:o,icon:n,key:e,onclick:a,text:i})})),r.a.createElement(g.a,{orientation:"vertical"}),r.a.createElement(k,{editor:e}),n&&r.a.createElement(r.a.Fragment,null,r.a.createElement(M,{extensions:n}))),r.a.createElement(S,{editor:e})))};function P(t,e,n){var i;return(e="symbol"==typeof(i=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?i:i+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,d=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){d=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(t,e)}(t,e)||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 L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}try{n(270).config.textAttributes.inlineCode={tagName:"code",inheritable:!0}}catch(t){}e.a=function(t){var e=t.aria,n=void 0===e?{}:e,o=t.advancedEditor,h=t.advancedEditorToolbar,p=void 0===h||h,f=t.toolbarBottom,g=void 0!==f&&f,m=t.children,v=t.className,b=t.data,y=void 0===b?{}:b,x=t.focus,_=void 0!==x&&x,w=t.htmlOptions,O=void 0===w?{}:w,$=t.inline,C=void 0!==$&&$,k=t.extensions,S=t.name,j=t.onChange,E=void 0===j?c.e:j,M=t.placeholder,L=t.simple,D=void 0!==L&&L,I=t.sticky,N=void 0!==I&&I,R=t.template,F=void 0===R?"":R,B=t.value,z=void 0===B?"":B,H=t.maxWidth,W=void 0===H?"md":H,U=Object(c.a)(n),Y=Object(c.c)(y),G=T(Object(i.useState)(),2),V=G[0],X=G[1],q=Object(c.d)(O),K=null==V?void 0:V.element;if(V){var Z=K.parentElement.querySelector("trix-toolbar"),J=Z.querySelector("[data-trix-attribute=code]"),Q=Z.querySelector("[data-trix-attribute=inlineCode]");Q||(Q=J.cloneNode(!0),J.hidden=!0,Q.dataset.trixAttribute="inlineCode",J.insertAdjacentElement("afterend",Q)),g&&V.element.after(Z),_&&(document.addEventListener("trix-focus",l),document.addEventListener("trix-blur",l),l()),document.addEventListener("trix-focus",s),document.addEventListener("trix-blur",s)}Object(i.useEffect)((function(){V&&F&&(V.loadHTML(""),V.setSelectedRange([0,0]),V.insertHTML(F))}),[V,F]),Object(i.useEffect)((function(){K&&K.addEventListener("click",(function(t){var e=t.target;if(e.closest(".pb_rich_text_editor_kit")){var n=e.closest("a");n&&n.hasAttribute("href")&&window.open(n.href)}}))}),[K]);var tt=D?"simple":"",et=_?"focus-editor-targets":"",nt=N?"sticky":"",it=C?"inline":"",rt=g?"toolbar-bottom":"",ot=a()(Object(d.c)(t,{maxWidth:W}),v);return ot=a()("pb_rich_text_editor_kit",tt,et,nt,it,rt,ot),r.a.createElement("div",Object.assign({},U,Y,q,{className:ot}),o?r.a.createElement("div",{className:a()("pb_rich_text_editor_advanced_container",P({},"toolbar-active",p))},p&&r.a.createElement(A,{editor:o,extensions:k}),m):r.a.createElement(u.TrixEditor,{className:"",fileParamName:S,mergeTags:[],onChange:E,onEditorReady:function(t){return X(t)},placeholder:M,value:z}))}},,function(t){t.exports=JSON.parse('{"aliases":{"arrow-alt-circle-right":"circle-right","angles-down":"angle-double-down","arrow-alt-down":"down","arrow-alt-up":"up","arrow-right-long":"long-arrow-right","arrow-to-bottom":"arrow-down-to-line","arrows-h":"arrows-left-right","calendar-days":"calendar-alt","circle-arrow-right":"arrow-circle-right","clock-rotate-left":"history","close":["times","xmark"],"ellipsis-h":"ellipsis","exclamation-circle":"circle-exclamation","external-link":"arrow-up-right-from-square","file-lines":"file-alt","gear":"cog","home":"house","info-circle":"circle-info","map-o":"map","message":"comment-alt","minus-circle":"circle-minus","money":"money-bill","mouse-pointer":"arrow-pointer","nitro":"nitro-n","play-circle":"circle-play","plus-circle":"circle-plus","plus-square":"square-plus","powergon":"powergon-p","question-circle":"circle-question","roofing":"product-roofing","shelves":"inventory","th-list":"table-list"}}')},function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=n(2),o=(i=r)&&i.__esModule?i:{default:i};e.default=o.default,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function r(t){return t&&t.__esModule?t:{default:t}}e.default=d;var o=n(3),a=r(n(4)),s=n(14),l=r(n(15));function d(t){var e=t.activeClassName,n=void 0===e?"":e,r=t.activeIndex,a=void 0===r?-1:r,d=t.activeStyle,c=t.autoEscape,u=t.caseSensitive,h=void 0!==u&&u,p=t.className,f=t.findChunks,g=t.highlightClassName,m=void 0===g?"":g,v=t.highlightStyle,b=void 0===v?{}:v,y=t.highlightTag,x=void 0===y?"mark":y,_=t.sanitize,w=t.searchWords,O=t.textToHighlight,$=t.unhighlightTag,C=void 0===$?"span":$,k=t.unhighlightClassName,S=void 0===k?"":k,j=t.unhighlightStyle,E=function(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(t,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),M=(0,o.findAll)({autoEscape:c,caseSensitive:h,findChunks:f,sanitize:_,searchWords:w,textToHighlight:O}),A=x,P=-1,T="",L=void 0,D=(0,l.default)((function(t){var e={};for(var n in t)e[n.toLowerCase()]=t[n];return e}));return(0,s.createElement)("span",i({className:p},E,{children:M.map((function(t,e){var i=O.substr(t.start,t.end-t.start);if(t.highlight){P++;var r=void 0;r="object"==typeof m?h?m[i]:(m=D(m))[i.toLowerCase()]:m;var o=P===+a;T=r+" "+(o?n:""),L=!0===o&&null!=d?Object.assign({},b,d):b;var l={children:i,className:T,key:e,style:L};return"string"!=typeof A&&(l.highlightIndex=P),(0,s.createElement)(A,l)}return(0,s.createElement)(C,{children:i,className:S,key:e,style:j})}))}))}d.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},t.exports=e.default},function(t,e){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2);Object.defineProperty(e,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(e,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(e,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(e,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.findAll=function(t){var e=t.autoEscape,o=t.caseSensitive,a=void 0!==o&&o,s=t.findChunks,l=void 0===s?i:s,d=t.sanitize,c=t.searchWords,u=t.textToHighlight;return r({chunksToHighlight:n({chunks:l({autoEscape:e,caseSensitive:a,sanitize:d,searchWords:c,textToHighlight:u})}),totalLength:u?u.length:0})};var n=e.combineChunks=function(t){var e=t.chunks;return e=e.sort((function(t,e){return t.start-e.start})).reduce((function(t,e){if(0===t.length)return[e];var n=t.pop();if(e.start<=n.end){var i=Math.max(n.end,e.end);t.push({start:n.start,end:i})}else t.push(n,e);return t}),[])},i=function(t){var e=t.autoEscape,n=t.caseSensitive,i=t.sanitize,r=void 0===i?o:i,a=t.searchWords,s=t.textToHighlight;return s=r(s),a.filter((function(t){return t})).reduce((function(t,i){i=r(i),e&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(i,n?"g":"gi"),a=void 0;a=o.exec(s);){var l=a.index,d=o.lastIndex;d>l&&t.push({start:l,end:d}),a.index==o.lastIndex&&o.lastIndex++}return t}),[])};e.findChunks=i;var r=e.fillInChunks=function(t){var e=t.chunksToHighlight,n=t.totalLength,i=[],r=function(t,e,n){e-t>0&&i.push({start:t,end:e,highlight:n})};if(0===e.length)r(0,n,!1);else{var o=0;e.forEach((function(t){r(o,t.start,!1),r(t.start,t.end,!0),o=t.end})),r(o,n,!1)}return i};function o(t){return t}}])},function(t,e,n){(function(e){if("production"!==e.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n(6)((function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i}),!0)}else t.exports=n(13)()}).call(e,n(5))},function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,d=[],c=!1,u=-1;function h(){c&&l&&(c=!1,l.length?d=l.concat(d):u=-1,d.length&&p())}function p(){if(!c){var t=s(h);c=!0;for(var e=d.length;e;){for(l=d,d=[];++u<e;)l&&l[u].run();u=-1,e=d.length}l=null,c=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function g(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new f(t,e)),1!==d.length||c||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=g,r.addListener=g,r.once=g,r.off=g,r.removeListener=g,r.removeAllListeners=g,r.emit=g,r.prependListener=g,r.prependOnceListener=g,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e,n){(function(e){"use strict";var i=n(7),r=n(8),o=n(9),a=n(10),s=n(11),l=n(12);t.exports=function(t,n){var d="function"==typeof Symbol&&Symbol.iterator;var c={array:f("array"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:p(i.thatReturnsNull),arrayOf:function(t){return p((function(e,n,i,r,o){if("function"!=typeof t)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a))return new h("Invalid "+r+" `"+o+"` of type `"+m(a)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<a.length;l++){var d=t(a,l,i,r,o+"["+l+"]",s);if(d instanceof Error)return d}return null}))},element:p((function(e,n,i,r,o){var a=e[n];return t(a)?null:new h("Invalid "+r+" `"+o+"` of type `"+m(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(t){return p((function(e,n,i,r,o){if(!(e[n]instanceof t)){var a=t.name||"<<anonymous>>";return new h("Invalid "+r+" `"+o+"` of type `"+function(t){if(!t.constructor||!t.constructor.name)return"<<anonymous>>";return t.constructor.name}(e[n])+"` supplied to `"+i+"`, expected instance of `"+a+"`.")}return null}))},node:p((function(t,e,n,i,r){return g(t[e])?null:new h("Invalid "+i+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(t){return p((function(e,n,i,r,o){if("function"!=typeof t)return new h("Property `"+o+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=e[n],l=m(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var d in a)if(a.hasOwnProperty(d)){var c=t(a,d,i,r,o+"."+d,s);if(c instanceof Error)return c}return null}))},oneOf:function(t){if(!Array.isArray(t))return"production"!==e.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return p((function(e,n,i,r,o){for(var a=e[n],s=0;s<t.length;s++)if(u(a,t[s]))return null;return new h("Invalid "+r+" `"+o+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(t)+".")}))},oneOfType:function(t){if(!Array.isArray(t))return"production"!==e.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<t.length;n++){var r=t[n];if("function"!=typeof r)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",b(r),n),i.thatReturnsNull}return p((function(e,n,i,r,o){for(var a=0;a<t.length;a++){if(null==(0,t[a])(e,n,i,r,o,s))return null}return new h("Invalid "+r+" `"+o+"` supplied to `"+i+"`.")}))},shape:function(t){return p((function(e,n,i,r,o){var a=e[n],l=m(a);if("object"!==l)return new h("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var d in t){var c=t[d];if(c){var u=c(a,d,i,r,o+"."+d,s);if(u)return u}}return null}))},exact:function(t){return p((function(e,n,i,r,o){var l=e[n],d=m(l);if("object"!==d)return new h("Invalid "+r+" `"+o+"` of type `"+d+"` supplied to `"+i+"`, expected `object`.");var c=a({},e[n],t);for(var u in c){var p=t[u];if(!p)return new h("Invalid "+r+" `"+o+"` key `"+u+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(e[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var f=p(l,u,i,r,o+"."+u,s);if(f)return f}return null}))}};function u(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function h(t){this.message=t,this.stack=""}function p(t){if("production"!==e.env.NODE_ENV)var i={},a=0;function l(l,d,c,u,p,f,g){if(u=u||"<<anonymous>>",f=f||c,g!==s)if(n)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==e.env.NODE_ENV&&"undefined"!=typeof console){var m=u+":"+c;!i[m]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",f,u),i[m]=!0,a++)}return null==d[c]?l?null===d[c]?new h("The "+p+" `"+f+"` is marked as required in `"+u+"`, but its value is `null`."):new h("The "+p+" `"+f+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:t(d,c,u,p,f)}var d=l.bind(null,!1);return d.isRequired=l.bind(null,!0),d}function f(t){return p((function(e,n,i,r,o,a){var s=e[n];return m(s)!==t?new h("Invalid "+r+" `"+o+"` of type `"+v(s)+"` supplied to `"+i+"`, expected `"+t+"`."):null}))}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||t(e))return!0;var n=function(t){var e=t&&(d&&t[d]||t["@@iterator"]);if("function"==typeof e)return e}(e);if(!n)return!1;var i,r=n.call(e);if(n!==e.entries){for(;!(i=r.next()).done;)if(!g(i.value))return!1}else for(;!(i=r.next()).done;){var o=i.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,t)?"symbol":e}function v(t){if(null==t)return""+t;var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function b(t){var e=v(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return h.prototype=Error.prototype,c.checkPropTypes=l,c.PropTypes=c,c}}).call(e,n(5))},function(t,e){"use strict";function n(t){return function(){return t}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){(function(e){"use strict";var n=function(t){};"production"!==e.env.NODE_ENV&&(n=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=function(t,e,i,r,o,a,s,l){if(n(e),!t){var d;if(void 0===e)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[i,r,o,a,s,l],u=0;(d=new Error(e.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw d.framesToPop=1,d}}}).call(e,n(5))},function(t,e,n){(function(e){"use strict";var i=n(7);if("production"!==e.env.NODE_ENV){var r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r=0,o="Warning: "+t.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(t){}};i=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];r.apply(void 0,[e].concat(i))}}}t.exports=i}).call(e,n(5))},function(t,e){
32
32
  /*
33
33
  object-assign
34
34
  (c) Sindre Sorhus