forked from looker/viz-bar_gauge-marketplace
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbargauge.js
30 lines (30 loc) · 246 KB
/
bargauge.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.bargauge=t():e.bargauge=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=29)}([function(e,t,n){var r={};!function(e){function t(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function n(e,t){for(var n="";n.length<t;)n+=e;return n}function r(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function a(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}e.version="0.10.3";var l=Math.pow(2,32);function o(e,t){return e>l||e<-l?function(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}(Math.round(e),t)}function u(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var c=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],s=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function f(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e[65535]="General"}var d={};function h(e,t,n){for(var r=e<0?-1:1,a=e*r,i=0,l=1,o=0,u=1,c=0,s=0,f=Math.floor(a);c<t&&(o=(f=Math.floor(a))*l+i,s=f*c+u,!(a-f<5e-8));)a=1/(a-f),i=l,l=o,u=c,c=s;if(s>t&&(c>t?(s=u,o=i):(s=c,o=l)),!n)return[0,r*o,s];var d=Math.floor(r*o/s);return[d,r*o-d*s,s]}function p(e,t,n){if(e>2958465||e<0)return null;var r=0|e,a=Math.floor(86400*(e-r)),i=0,l=[],o={D:r,T:a,u:86400*(e-r)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(r+=1462),o.u>.9999&&(o.u=0,86400==++a&&(o.T=a=0,++r,++o.D)),60===r)l=n?[1317,10,29]:[1900,2,29],i=3;else if(0===r)l=n?[1317,8,29]:[1900,1,0],i=6;else{r>60&&--r;var u=new Date(1900,0,1);u.setDate(u.getDate()+r-1),l=[u.getFullYear(),u.getMonth()+1,u.getDate()],i=u.getDay(),r<60&&(i=(i+6)%7),n&&(i=0)}return o.y=l[0],o.m=l[1],o.d=l[2],o.S=a%60,a=Math.floor(a/60),o.M=a%60,a=Math.floor(a/60),o.H=a,o.q=i,o}f(d),e.parse_date_code=p;var g=new Date(1899,11,31,0,0,0),m=g.getTime(),v=new Date(1900,2,1,0,0,0);function y(e,t){var n=e.getTime();return t?n-=1262304e5:e>=v&&(n+=864e5),(n-(m+6e4*(e.getTimezoneOffset()-g.getTimezoneOffset())))/864e5}e._general_int=function(e){return e.toString(10)};var b=function(){var e=/\.(\d*[1-9])0+$/,t=/\.0*$/,n=/\.(\d*[1-9])0+/,r=/\.0*[Ee]/,a=/(E[+-])(\d)$/;function i(n){return n.indexOf(".")>-1?n.replace(t,"").replace(e,".$1"):n}return function(t){var l=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return i(function(e){for(var t=0;t!=e.length;++t)if(101==(32|e.charCodeAt(t)))return e.replace(n,".$1").replace(r,"E").replace("e","E").replace(a,"$10$2");return e}(l>=-4&&l<=-1?t.toPrecision(10+l):Math.abs(l)<=9?function(e){var t=e<0?12:11,n=i(e.toFixed(12));return n.length<=t||(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(t):10===l?t.toFixed(10).substr(0,12):function(t){var n=t.toFixed(11).replace(e,".$1");return n.length>(t<0?12:11)&&(n=t.toPrecision(6)),n}(t)))}}();function _(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):b(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return A(14,y(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function w(e,t,n,a){var i,l="",o=0,u=0,f=n.y,d=0;switch(e){case 98:f=n.y+543;case 121:switch(t.length){case 1:case 2:i=f%100,d=2;break;default:i=f%1e4,d=4}break;case 109:switch(t.length){case 1:case 2:i=n.m,d=t.length;break;case 3:return s[n.m-1][1];case 5:return s[n.m-1][0];default:return s[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:i=n.d,d=t.length;break;case 3:return c[n.q][0];default:return c[n.q][1]}break;case 104:switch(t.length){case 1:case 2:i=1+(n.H+11)%12,d=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:i=n.H,d=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:i=n.M,d=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(u=a>=2?3===a?1e3:100:1===a?10:1,(o=Math.round(u*(n.S+n.u)))>=60*u&&(o=0),"s"===t?0===o?"0":""+o/u:(l=r(o,2+a),"ss"===t?l.substr(0,2):"."+l.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":i=24*n.D+n.H;break;case"[m]":case"[mm]":i=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":i=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}d=3===t.length?1:2;break;case 101:i=f,d=1}return d>0?r(i,d):""}function x(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}e._general_num=b,e._general=_;var k=function(){var e=/%/g,l=/# (\?+)( ?)\/( ?)(\d+)/,u=/^#*0*\.([0#]+)/,c=/\).*[0#]/,s=/\(###\) ###\\?-####/;function f(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function d(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function p(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?0:Math.round((e-Math.floor(e))*Math.pow(10,t))}function g(m,v,y){if(40===m.charCodeAt(0)&&!v.match(c)){var b=v.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return y>=0?g("n",b,y):"("+g("n",b,-y)+")"}if(44===v.charCodeAt(v.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return k(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(m,v,y);if(-1!==v.indexOf("%"))return function(t,r,a){var i=r.replace(e,""),l=r.length-i.length;return k(t,i,a*Math.pow(10,2*l))+n("%",l)}(m,v,y);if(-1!==v.indexOf("E"))return function e(t,n){var r,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var l=Math.floor(Math.log(n)*Math.LOG10E)%i;if(l<0&&(l+=i),-1===(r=(n/Math.pow(10,l)).toPrecision(a+1+(i+l)%i)).indexOf("e")){var o=Math.floor(Math.log(n)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+l):r+="E+"+(o-l);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+l)%i)+"."+r.substr(l)+"E"}))}else r=n.toExponential(a);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(v,y);if(36===v.charCodeAt(0))return"$"+g(m,v.substr(" "==v.charAt(1)?2:1),y);var _,w,T,E,C=Math.abs(y),S=y<0?"-":"";if(v.match(/^00+$/))return S+o(C,v.length);if(v.match(/^[#?]+$/))return"0"===(_=o(y,0))&&(_=""),_.length>v.length?_:f(v.substr(0,v.length-_.length))+_;if(w=v.match(l))return function(e,t,i){var l=parseInt(e[4],10),o=Math.round(t*l),u=Math.floor(o/l),c=o-u*l,s=l;return i+(0===u?"":""+u)+" "+(0===c?n(" ",e[1].length+1+e[4].length):a(c,e[1].length)+e[2]+"/"+e[3]+r(s,e[4].length))}(w,C,S);if(v.match(/^#+0+$/))return S+o(C,v.length-v.indexOf("0"));if(w=v.match(u))return _=d(y,w[1].length).replace(/^([^\.]+)$/,"$1."+f(w[1])).replace(/\.$/,"."+f(w[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",f(w[1]).length-t.length)})),-1!==v.indexOf("0.")?_:_.replace(/^0\./,".");if(v=v.replace(/^#+([0.])/,"$1"),w=v.match(/^(0*)\.(#*)$/))return S+d(C,w[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,w[1].length?"0.":".");if(w=v.match(/^#{1,3},##0(\.?)$/))return S+x(o(C,0));if(w=v.match(/^#,##0\.([#0]*0)$/))return y<0?"-"+g(m,v,-y):x(""+(Math.floor(y)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(y,w[1].length)))+"."+r(p(y,w[1].length),w[1].length);if(w=v.match(/^#,#*,#0/))return g(m,v.replace(/^#,#*,/,""),y);if(w=v.match(/^([0#]+)(\\?-([0#]+))+$/))return _=t(g(m,v.replace(/[\\-]/g,""),y)),T=0,t(t(v.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return T<_.length?_.charAt(T++):"0"===e?"0":""})));if(v.match(s))return"("+(_=g(m,"##########",y)).substr(0,3)+") "+_.substr(3,3)+"-"+_.substr(6);var M="";if(w=v.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return T=Math.min(w[4].length,7),E=h(C,Math.pow(10,T)-1,!1),_=""+S," "==(M=k("n",w[1],E[1])).charAt(M.length-1)&&(M=M.substr(0,M.length-1)+"0"),_+=M+w[2]+"/"+w[3],(M=i(E[2],T)).length<w[4].length&&(M=f(w[4].substr(w[4].length-M.length))+M),_+=M;if(w=v.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return T=Math.min(Math.max(w[1].length,w[4].length),7),S+((E=h(C,Math.pow(10,T)-1,!0))[0]||(E[1]?"":"0"))+" "+(E[1]?a(E[1],T)+w[2]+"/"+w[3]+i(E[2],T):n(" ",2*T+1+w[2].length+w[3].length));if(w=v.match(/^[#0?]+$/))return _=o(y,0),v.length<=_.length?_:f(v.substr(0,v.length-_.length))+_;if(w=v.match(/^([#0?]+)\.([#0]+)$/)){_=""+y.toFixed(Math.min(w[2].length,10)).replace(/([^0])0+$/,"$1"),T=_.indexOf(".");var P=v.indexOf(".")-T,N=v.length-_.length-P;return f(v.substr(0,P)+_+v.substr(v.length-N))}if(w=v.match(/^00,000\.([#0]*0)$/))return T=p(y,w[1].length),y<0?"-"+g(m,v,-y):x(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(y)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(T,w[1].length);switch(v){case"###,##0.00":return g(m,"#,##0.00",y);case"###,###":case"##,###":case"#,###":var A=x(o(C,0));return"0"!==A?S+A:"";case"###,###.00":return g(m,"###,##0.00",y).replace(/^0\./,".");case"#,###.00":return g(m,"#,##0.00",y).replace(/^0\./,".")}throw new Error("unsupported format |"+v+"|")}function m(o,d,p){if(40===o.charCodeAt(0)&&!d.match(c)){var g=d.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return p>=0?m("n",g,p):"("+m("n",g,-p)+")"}if(44===d.charCodeAt(d.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return k(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(o,d,p);if(-1!==d.indexOf("%"))return function(t,r,a){var i=r.replace(e,""),l=r.length-i.length;return k(t,i,a*Math.pow(10,2*l))+n("%",l)}(o,d,p);if(-1!==d.indexOf("E"))return function e(t,n){var r,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var l=Math.floor(Math.log(n)*Math.LOG10E)%i;if(l<0&&(l+=i),!(r=(n/Math.pow(10,l)).toPrecision(a+1+(i+l)%i)).match(/[Ee]/)){var o=Math.floor(Math.log(n)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+l):r+="E+"+(o-l),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(i+l)%i)+"."+r.substr(l)+"E"}))}else r=n.toExponential(a);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(d,p);if(36===d.charCodeAt(0))return"$"+m(o,d.substr(" "==d.charAt(1)?2:1),p);var v,y,b,_,w=Math.abs(p),T=p<0?"-":"";if(d.match(/^00+$/))return T+r(w,d.length);if(d.match(/^[#?]+$/))return v=""+p,0===p&&(v=""),v.length>d.length?v:f(d.substr(0,d.length-v.length))+v;if(y=d.match(l))return function(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}(y,w,T);if(d.match(/^#+0+$/))return T+r(w,d.length-d.indexOf("0"));if(y=d.match(u))return v=(v=(""+p).replace(/^([^\.]+)$/,"$1."+f(y[1])).replace(/\.$/,"."+f(y[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",f(y[1]).length-t.length)})),-1!==d.indexOf("0.")?v:v.replace(/^0\./,".");if(d=d.replace(/^#+([0.])/,"$1"),y=d.match(/^(0*)\.(#*)$/))return T+(""+w).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,y[1].length?"0.":".");if(y=d.match(/^#{1,3},##0(\.?)$/))return T+x(""+w);if(y=d.match(/^#,##0\.([#0]*0)$/))return p<0?"-"+m(o,d,-p):x(""+p)+"."+n("0",y[1].length);if(y=d.match(/^#,#*,#0/))return m(o,d.replace(/^#,#*,/,""),p);if(y=d.match(/^([0#]+)(\\?-([0#]+))+$/))return v=t(m(o,d.replace(/[\\-]/g,""),p)),b=0,t(t(d.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return b<v.length?v.charAt(b++):"0"===e?"0":""})));if(d.match(s))return"("+(v=m(o,"##########",p)).substr(0,3)+") "+v.substr(3,3)+"-"+v.substr(6);var E="";if(y=d.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return b=Math.min(y[4].length,7),_=h(w,Math.pow(10,b)-1,!1),v=""+T," "==(E=k("n",y[1],_[1])).charAt(E.length-1)&&(E=E.substr(0,E.length-1)+"0"),v+=E+y[2]+"/"+y[3],(E=i(_[2],b)).length<y[4].length&&(E=f(y[4].substr(y[4].length-E.length))+E),v+=E;if(y=d.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return b=Math.min(Math.max(y[1].length,y[4].length),7),T+((_=h(w,Math.pow(10,b)-1,!0))[0]||(_[1]?"":"0"))+" "+(_[1]?a(_[1],b)+y[2]+"/"+y[3]+i(_[2],b):n(" ",2*b+1+y[2].length+y[3].length));if(y=d.match(/^[#0?]+$/))return v=""+p,d.length<=v.length?v:f(d.substr(0,d.length-v.length))+v;if(y=d.match(/^([#0]+)\.([#0]+)$/)){v=""+p.toFixed(Math.min(y[2].length,10)).replace(/([^0])0+$/,"$1"),b=v.indexOf(".");var C=d.indexOf(".")-b,S=d.length-v.length-C;return f(d.substr(0,C)+v+d.substr(d.length-S))}if(y=d.match(/^00,000\.([#0]*0)$/))return p<0?"-"+m(o,d,-p):x(""+p).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(0,y[1].length);switch(d){case"###,###":case"##,###":case"#,###":var M=x(""+w);return"0"!==M?T+M:"";default:if(d.match(/\.[0#?]*$/))return m(o,d.slice(0,d.lastIndexOf(".")),p)+f(d.slice(d.lastIndexOf(".")))}throw new Error("unsupported format |"+d+"|")}return function(e,t,n){return(0|n)===n?m(e,t,n):g(e,t,n)}}();function T(e){for(var t=[],n=!1,r=0,a=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(a,r-a),a=r+1}if(t[t.length]=e.substr(a),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}e._split=T;var E=/\[[HhMmSs]*\]/;function C(e){for(var t=0,n="",r="";t<e.length;)switch(n=e.charAt(t)){case"G":u(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(r=n;"]"!==e.charAt(t++)&&t<e.length;)r+=e.charAt(t);if(r.match(E))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":default:++t}return!1}function S(e,t,n,r){for(var a,i,l,o=[],c="",s=0,f="",d="t",h="H";s<e.length;)switch(f=e.charAt(s)){case"G":if(!u(e,s))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"G",v:"General"},s+=7;break;case'"':for(c="";34!==(l=e.charCodeAt(++s))&&s<e.length;)c+=String.fromCharCode(l);o[o.length]={t:"t",v:c},++s;break;case"\\":var g=e.charAt(++s),m="("===g||")"===g?g:"t";o[o.length]={t:m,v:g},++s;break;case"_":o[o.length]={t:"t",v:" "},s+=2;break;case"@":o[o.length]={t:"T",v:t},++s;break;case"B":case"b":if("1"===e.charAt(s+1)||"2"===e.charAt(s+1)){if(null==a&&null==(a=p(t,n,"2"===e.charAt(s+1))))return"";o[o.length]={t:"X",v:e.substr(s,2)},d=f,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&null==(a=p(t,n)))return"";for(c=f;++s<e.length&&e.charAt(s).toLowerCase()===f;)c+=f;"m"===f&&"h"===d.toLowerCase()&&(f="M"),"h"===f&&(f=h),o[o.length]={t:f,v:c},d=f;break;case"A":case"a":var v={t:f,v:f};if(null==a&&(a=p(t,n)),"A/P"===e.substr(s,3).toUpperCase()?(null!=a&&(v.v=a.H>=12?"P":"A"),v.t="T",h="h",s+=3):"AM/PM"===e.substr(s,5).toUpperCase()?(null!=a&&(v.v=a.H>=12?"PM":"AM"),v.t="T",s+=5,h="h"):(v.t="t",++s),null==a&&"T"===v.t)return"";o[o.length]=v,d=f;break;case"[":for(c=f;"]"!==e.charAt(s++)&&s<e.length;)c+=e.charAt(s);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(E)){if(null==a&&null==(a=p(t,n)))return"";o[o.length]={t:"Z",v:c.toLowerCase()},d=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",C(e)||(o[o.length]={t:"t",v:c}));break;case".":if(null!=a){for(c=f;++s<e.length&&"0"===(f=e.charAt(s));)c+=f;o[o.length]={t:"s",v:c};break}case"0":case"#":for(c=f;++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(s))>-1||"\\"==f&&"-"==e.charAt(s+1)&&s<e.length-2&&"0#".indexOf(e.charAt(s+2))>-1;)c+=f;o[o.length]={t:"n",v:c};break;case"?":for(c=f;e.charAt(++s)===f;)c+=f;o[o.length]={t:f,v:c},d=f;break;case"*":++s," "!=e.charAt(s)&&"*"!=e.charAt(s)||++s;break;case"(":case")":o[o.length]={t:1===r?"t":f,v:f},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=f;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)c+=e.charAt(s);o[o.length]={t:"D",v:c};break;case" ":o[o.length]={t:f,v:f},++s;break;case"$":o[o.length]={t:"t",v:"$"},++s;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"t",v:f},++s}var y,b=0,x=0;for(s=o.length-1,d="t";s>=0;--s)switch(o[s].t){case"h":case"H":o[s].t=h,d="h",b<1&&(b=1);break;case"s":(y=o[s].v.match(/\.0+$/))&&(x=Math.max(x,y[0].length-1)),b<3&&(b=3);case"d":case"y":case"M":case"e":d=o[s].t;break;case"m":"s"===d&&(o[s].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&o[s].v.match(/[Hh]/)&&(b=1),b<2&&o[s].v.match(/[Mm]/)&&(b=2),b<3&&o[s].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var T,S="";for(s=0;s<o.length;++s)switch(o[s].t){case"t":case"T":case" ":case"D":break;case"X":o[s].v="",o[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":o[s].v=w(o[s].t.charCodeAt(0),o[s].v,a,x),o[s].t="t";break;case"n":case"(":case"?":for(T=s+1;null!=o[T]&&("?"===(f=o[T].t)||"D"===f||(" "===f||"t"===f)&&null!=o[T+1]&&("?"===o[T+1].t||"t"===o[T+1].t&&"/"===o[T+1].v)||"("===o[s].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===o[T].v||" "===o[T].v&&null!=o[T+1]&&"?"==o[T+1].t));)o[s].v+=o[T].v,o[T]={v:"",t:";"},++T;S+=o[s].v,s=T-1;break;case"G":o[s].t="t",o[s].v=_(t,n)}var M,P,N="";if(S.length>0){40==S.charCodeAt(0)?(M=t<0&&45===S.charCodeAt(0)?-t:t,P=k("(",S,M)):(P=k("n",S,M=t<0&&r>1?-t:t),M<0&&o[0]&&"t"==o[0].t&&(P=P.substr(1),o[0].v="-"+o[0].v)),T=P.length-1;var A=o.length;for(s=0;s<o.length;++s)if(null!=o[s]&&"t"!=o[s].t&&o[s].v.indexOf(".")>-1){A=s;break}var O=o.length;if(A===o.length&&-1===P.indexOf("E")){for(s=o.length-1;s>=0;--s)null!=o[s]&&-1!=="n?(".indexOf(o[s].t)&&(T>=o[s].v.length-1?(T-=o[s].v.length,o[s].v=P.substr(T+1,o[s].v.length)):T<0?o[s].v="":(o[s].v=P.substr(0,T+1),T=-1),o[s].t="t",O=s);T>=0&&O<o.length&&(o[O].v=P.substr(0,T+1)+o[O].v)}else if(A!==o.length&&-1===P.indexOf("E")){for(T=P.indexOf(".")-1,s=A;s>=0;--s)if(null!=o[s]&&-1!=="n?(".indexOf(o[s].t)){for(i=o[s].v.indexOf(".")>-1&&s===A?o[s].v.indexOf(".")-1:o[s].v.length-1,N=o[s].v.substr(i+1);i>=0;--i)T>=0&&("0"===o[s].v.charAt(i)||"#"===o[s].v.charAt(i))&&(N=P.charAt(T--)+N);o[s].v=N,o[s].t="t",O=s}for(T>=0&&O<o.length&&(o[O].v=P.substr(0,T+1)+o[O].v),T=P.indexOf(".")+1,s=A;s<o.length;++s)if(null!=o[s]&&(-1!=="n?(".indexOf(o[s].t)||s===A)){for(i=o[s].v.indexOf(".")>-1&&s===A?o[s].v.indexOf(".")+1:0,N=o[s].v.substr(0,i);i<o[s].v.length;++i)T<P.length&&(N+=P.charAt(T++));o[s].v=N,o[s].t="t",O=s}}}for(s=0;s<o.length;++s)null!=o[s]&&"n(?".indexOf(o[s].t)>-1&&(M=r>1&&t<0&&s>0&&"-"===o[s-1].v?-t:t,o[s].v=k(o[s].t,o[s].v,M),o[s].t="t");var z="";for(s=0;s!==o.length;++s)null!=o[s]&&(z+=o[s].v);return z}e.is_date=C,e._eval=S;var M=/\[[=<>]/,P=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function N(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function A(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:d)[e]}if(u(r,0))return _(t,n);t instanceof Date&&(t=y(t,n.date1904));var a=function(e,t){var n=T(e),r=n.length,a=n[r-1].indexOf("@");if(r<4&&a>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||a>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=a>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=a>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=a>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var i=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,i];if(null!=n[0].match(M)||null!=n[1].match(M)){var l=n[0].match(P),o=n[1].match(P);return N(t,l)?[r,n[0]]:N(t,o)?[r,n[1]]:[r,n[null!=l&&null!=o?2:1]]}return[r,i]}(r,t);if(u(a[1]))return _(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return S(a[1],t,n,a[0])}function O(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=d[n]){if(d[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return d[t]=e,t}e.load=O,e._table=d,e.get_table=function(){return d},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&O(e[t],t)},e.init_table=f,e.format=A}(r),"undefined"==typeof DO_NOT_EXPORT_SSF&&(e.exports=r)},function(e,t,n){"use strict";e.exports=n(25)},,,,,,,,,,function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(26)},,,,function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))a.call(n,c)&&(o[c]=n[c]);if(r){l=r(n);for(var s=0;s<l.length;s++)i.call(n,l[s])&&(o[l[s]]=n[l[s]])}}return o}},,,,,,,,,,function(e,t,n){"use strict";
/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(15),a="function"==typeof Symbol&&Symbol.for,i=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,c=a?Symbol.for("react.profiler"):60114,s=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.forward_ref"):60112,h=a?Symbol.for("react.suspense"):60113,p=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var k=x.prototype=new w;k.constructor=x,r(k,_.prototype),k.isPureReactComponent=!0;var T={current:null},E=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,a={},l=null,o=null;if(null!=t)for(r in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(l=""+t.key),t)E.call(t,r)&&!C.hasOwnProperty(r)&&(a[r]=t[r]);var u=arguments.length-2;if(1===u)a.children=n;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];a.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===a[r]&&(a[r]=u[r]);return{$$typeof:i,type:e,key:l,ref:o,props:a,_owner:T.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var P=/\/+/g,N=[];function A(e,t,n,r){if(N.length){var a=N.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function z(e,t,n){return null==e?0:function e(t,n,r,a){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var u=!1;if(null===t)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case l:u=!0}}if(u)return r(a,t,""===n?"."+B(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+B(o=t[c],c);u+=e(o,s,r,a)}else if("function"==typeof(s=null===t||"object"!=typeof t?null:"function"==typeof(s=m&&t[m]||t["@@iterator"])?s:null))for(t=s.call(t),c=0;!(o=t.next()).done;)u+=e(o=o.value,s=n+B(o,c++),r,a);else if("object"===o)throw r=""+t,Error(v(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function B(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?R(e,r,n,(function(e){return e})):null!=e&&(M(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),r.push(e))}function R(e,t,n,r,a){var i="";null!=n&&(i=(""+n).replace(P,"$&/")+"/"),z(e,L,t=A(t,i,r,a)),O(t)}var F={current:null};function U(){var e=F.current;if(null===e)throw Error(v(321));return e}var I={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return R(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;z(e,D,t=A(null,null,t,n)),O(t)},count:function(e){return z(e,(function(){return null}),null)},toArray:function(e){var t=[];return R(e,t,null,(function(e){return e})),t},only:function(e){if(!M(e))throw Error(v(143));return e}},t.Component=_,t.Fragment=o,t.Profiler=c,t.PureComponent=x,t.StrictMode=u,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var a=r({},e.props),l=e.key,o=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,u=T.current),void 0!==t.key&&(l=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)E.call(t,s)&&!C.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];a.children=c}return{$$typeof:i,type:e.type,key:l,ref:o,props:a,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=M,t.lazy=function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return U().useCallback(e,t)},t.useContext=function(e,t){return U().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return U().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return U().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return U().useLayoutEffect(e,t)},t.useMemo=function(e,t){return U().useMemo(e,t)},t.useReducer=function(e,t,n){return U().useReducer(e,t,n)},t.useRef=function(e){return U().useRef(e)},t.useState=function(e){return U().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(1),a=n(15),i=n(27);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(l(227));var o=!1,u=null,c=!1,s=null,f={onError:function(e){o=!0,u=e}};function d(e,t,n,r,a,i,l,c,s){o=!1,u=null,function(e,t,n,r,a,i,l,o,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}.apply(f,arguments)}var h=null,p=null,g=null;function m(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,a,i,f,h,p){if(d.apply(this,arguments),o){if(!o)throw Error(l(198));var g=u;o=!1,u=null,c||(c=!0,s=g)}}(r,t,void 0,e),e.currentTarget=null}var v=null,y={};function b(){if(v)for(var e in y){var t=y[e],n=v.indexOf(e);if(!(-1<n))throw Error(l(96,e));if(!w[n]){if(!t.extractEvents)throw Error(l(97,e));for(var r in w[n]=t,n=t.eventTypes){var a=void 0,i=n[r],o=t,u=r;if(x.hasOwnProperty(u))throw Error(l(99,u));x[u]=i;var c=i.phasedRegistrationNames;if(c){for(a in c)c.hasOwnProperty(a)&&_(c[a],o,u);a=!0}else i.registrationName?(_(i.registrationName,o,u),a=!0):a=!1;if(!a)throw Error(l(98,r,e))}}}}function _(e,t,n){if(k[e])throw Error(l(100,e));k[e]=t,T[e]=t.eventTypes[n].dependencies}var w=[],x={},k={},T={};function E(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(l(102,t));y[t]=r,n=!0}}n&&b()}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),S=null,M=null,P=null;function N(e){if(e=p(e)){if("function"!=typeof S)throw Error(l(280));var t=e.stateNode;t&&(t=h(t),S(e.stateNode,e.type,t))}}function A(e){M?P?P.push(e):P=[e]:M=e}function O(){if(M){var e=M,t=P;if(P=M=null,N(e),t)for(e=0;e<t.length;e++)N(t[e])}}function z(e,t){return e(t)}function B(e,t,n,r,a){return e(t,n,r,a)}function D(){}var L=z,R=!1,F=!1;function U(){null===M&&null===P||(D(),O())}function I(e,t,n){if(F)return e(t,n);F=!0;try{return L(e,t,n)}finally{F=!1,U()}}var $=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,j=Object.prototype.hasOwnProperty,H={},V={};function W(e,t,n,r,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Y[e]=new W(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Y[t]=new W(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Y[e]=new W(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Y[e]=new W(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Y[e]=new W(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Y[e]=new W(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Y[e]=new W(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Y[e]=new W(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Y[e]=new W(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function Q(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,Q);Y[t]=new W(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,Q);Y[t]=new W(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,Q);Y[t]=new W(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Y[e]=new W(e,1,!1,e.toLowerCase(),null,!1)})),Y.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Y[e]=new W(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function K(e,t,n,r){var a=Y.hasOwnProperty(t)?Y[t]:null;(null!==a?0===a.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!j.call(V,e)||!j.call(H,e)&&($.test(e)?V[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var G=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,J=Z?Symbol.for("react.element"):60103,ee=Z?Symbol.for("react.portal"):60106,te=Z?Symbol.for("react.fragment"):60107,ne=Z?Symbol.for("react.strict_mode"):60108,re=Z?Symbol.for("react.profiler"):60114,ae=Z?Symbol.for("react.provider"):60109,ie=Z?Symbol.for("react.context"):60110,le=Z?Symbol.for("react.concurrent_mode"):60111,oe=Z?Symbol.for("react.forward_ref"):60112,ue=Z?Symbol.for("react.suspense"):60113,ce=Z?Symbol.for("react.suspense_list"):60120,se=Z?Symbol.for("react.memo"):60115,fe=Z?Symbol.for("react.lazy"):60116,de=Z?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function pe(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case te:return"Fragment";case ee:return"Portal";case re:return"Profiler";case ne:return"StrictMode";case ue:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ie:return"Context.Consumer";case ae:return"Context.Provider";case oe:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case se:return ge(e.type);case de:return ge(e.render);case fe:if(e=1===e._status?e._result:null)return ge(e)}return null}function me(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,a=e._debugSource,i=ge(e.type);n=null,r&&(n=ge(r.type)),r=i,i="",a?i=" (at "+a.fileName.replace(G,"")+":"+a.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function be(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function we(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function xe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ke(e,t){null!=(t=t.checked)&&K(e,"checked",t,!1)}function Te(e,t){ke(e,t);var n=ve(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ee(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Se(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Me(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ve(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Pe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(l(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ne(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(l(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(l(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function Ae(e,t){var n=ve(t.value),r=ve(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ze(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Be(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ze(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var De,Le=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((De=De||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=De.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Re(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Fe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ue={animationend:Fe("Animation","AnimationEnd"),animationiteration:Fe("Animation","AnimationIteration"),animationstart:Fe("Animation","AnimationStart"),transitionend:Fe("Transition","TransitionEnd")},Ie={},$e={};function je(e){if(Ie[e])return Ie[e];if(!Ue[e])return e;var t,n=Ue[e];for(t in n)if(n.hasOwnProperty(t)&&t in $e)return Ie[e]=n[t];return e}C&&($e=document.createElement("div").style,"AnimationEvent"in window||(delete Ue.animationend.animation,delete Ue.animationiteration.animation,delete Ue.animationstart.animation),"TransitionEvent"in window||delete Ue.transitionend.transition);var He=je("animationend"),Ve=je("animationiteration"),We=je("animationstart"),Ye=je("transitionend"),qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.set(e,t)),t}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ge(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ze(e){if(Ke(e)!==e)throw Error(l(188))}function Je(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Ze(a),e;if(i===r)return Ze(a),t;i=i.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=i;else{for(var o=!1,u=a.child;u;){if(u===n){o=!0,n=a,r=i;break}if(u===r){o=!0,r=a,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=a;break}if(u===r){o=!0,r=i,n=a;break}u=u.sibling}if(!o)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){if(null==t)throw Error(l(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function tt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var nt=null;function rt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)m(e,t[r],n[r]);else t&&m(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function at(e){if(null!==e&&(nt=et(nt,e)),e=nt,nt=null,e){if(tt(e,rt),nt)throw Error(l(95));if(c)throw e=s,c=!1,s=null,e}}function it(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!C)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ot=[];function ut(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ot.length&&ot.push(e)}function ct(e,t,n,r){if(ot.length){var a=ot.pop();return a.topLevelType=e,a.eventSystemFlags=r,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function st(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=xn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=it(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,l=e.eventSystemFlags;0===n&&(l|=64);for(var o=null,u=0;u<w.length;u++){var c=w[u];c&&(c=c.extractEvents(r,t,i,a,l))&&(o=et(o,c))}at(o)}}function ft(e,t,n){if(!n.has(e)){switch(e){case"scroll":Wt(t,"scroll",!0);break;case"focus":case"blur":Wt(t,"focus",!0),Wt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&Wt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===qe.indexOf(e)&&Vt(e,t)}n.set(e,null)}}var dt,ht,pt,gt=!1,mt=[],vt=null,yt=null,bt=null,_t=new Map,wt=new Map,xt=[],kt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Tt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Et(e,t,n,r,a){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:a,container:r}}function Ct(e,t){switch(e){case"focus":case"blur":vt=null;break;case"dragenter":case"dragleave":yt=null;break;case"mouseover":case"mouseout":bt=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":wt.delete(t.pointerId)}}function St(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e=Et(t,n,r,a,i),null!==t&&null!==(t=kn(t))&&ht(t),e):(e.eventSystemFlags|=r,e)}function Mt(e){var t=xn(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ge(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){pt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Pt(e){if(null!==e.blockedOn)return!1;var t=qt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=kn(t);return null!==n&&ht(n),e.blockedOn=t,!1}return!0}function Nt(e,t,n){Pt(e)&&n.delete(t)}function At(){for(gt=!1;0<mt.length;){var e=mt[0];if(null!==e.blockedOn){null!==(e=kn(e.blockedOn))&&dt(e);break}var t=qt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:mt.shift()}null!==vt&&Pt(vt)&&(vt=null),null!==yt&&Pt(yt)&&(yt=null),null!==bt&&Pt(bt)&&(bt=null),_t.forEach(Nt),wt.forEach(Nt)}function Ot(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,At)))}function zt(e){function t(t){return Ot(t,e)}if(0<mt.length){Ot(mt[0],e);for(var n=1;n<mt.length;n++){var r=mt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==vt&&Ot(vt,e),null!==yt&&Ot(yt,e),null!==bt&&Ot(bt,e),_t.forEach(t),wt.forEach(t),n=0;n<xt.length;n++)(r=xt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<xt.length&&null===(n=xt[0]).blockedOn;)Mt(n),null===n.blockedOn&&xt.shift()}var Bt={},Dt=new Map,Lt=new Map,Rt=["abort","abort",He,"animationEnd",Ve,"animationIteration",We,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function Ft(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1],i="on"+(a[0].toUpperCase()+a.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Lt.set(r,t),Dt.set(r,i),Bt[a]=i}}Ft("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ft("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ft(Rt,2);for(var Ut="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),It=0;It<Ut.length;It++)Lt.set(Ut[It],0);var $t=i.unstable_UserBlockingPriority,jt=i.unstable_runWithPriority,Ht=!0;function Vt(e,t){Wt(t,e,!1)}function Wt(e,t,n){var r=Lt.get(t);switch(void 0===r?2:r){case 0:r=function(e,t,n,r){R||D();var a=Yt,i=R;R=!0;try{B(a,e,t,n,r)}finally{(R=i)||U()}}.bind(null,t,1,e);break;case 1:r=function(e,t,n,r){jt($t,Yt.bind(null,e,t,n,r))}.bind(null,t,1,e);break;default:r=Yt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){if(Ht)if(0<mt.length&&-1<kt.indexOf(e))e=Et(null,e,t,n,r),mt.push(e);else{var a=qt(e,t,n,r);if(null===a)Ct(e,r);else if(-1<kt.indexOf(e))e=Et(a,e,t,n,r),mt.push(e);else if(!function(e,t,n,r,a){switch(t){case"focus":return vt=St(vt,e,t,n,r,a),!0;case"dragenter":return yt=St(yt,e,t,n,r,a),!0;case"mouseover":return bt=St(bt,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return _t.set(i,St(_t.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,wt.set(i,St(wt.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r)){Ct(e,r),e=ct(e,r,null,t);try{I(st,e)}finally{ut(e)}}}}function qt(e,t,n,r){if(null!==(n=xn(n=it(r)))){var a=Ke(n);if(null===a)n=null;else{var i=a.tag;if(13===i){if(null!==(n=Ge(a)))return n;n=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}e=ct(e,r,n,t);try{I(st,e)}finally{ut(e)}return null}var Qt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Xt=["Webkit","ms","Moz","O"];function Kt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Qt.hasOwnProperty(e)&&Qt[e]?(""+t).trim():t+"px"}function Gt(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=Kt(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(Qt).forEach((function(e){Xt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qt[t]=Qt[e]}))}));var Zt=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jt(e,t){if(t){if(Zt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(l(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(l(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(l(62,""))}}function en(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tn="http://www.w3.org/1999/xhtml";function nn(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=T[t];for(var r=0;r<t.length;r++)ft(t[r],e,n)}function rn(){}function an(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function on(e,t){var n,r=ln(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ln(r)}}function un(){for(var e=window,t=an();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=an((e=t.contentWindow).document)}return t}function cn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var sn=null,fn=null;function dn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function hn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var pn="function"==typeof setTimeout?setTimeout:void 0,gn="function"==typeof clearTimeout?clearTimeout:void 0;function mn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function vn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var yn=Math.random().toString(36).slice(2),bn="__reactInternalInstance$"+yn,_n="__reactEventHandlers$"+yn,wn="__reactContainere$"+yn;function xn(e){var t=e[bn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wn]||n[bn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=vn(e);null!==e;){if(n=e[bn])return n;e=vn(e)}return t}n=(e=n).parentNode}return null}function kn(e){return!(e=e[bn]||e[wn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Tn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(l(33))}function En(e){return e[_n]||null}function Cn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Sn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}function Mn(e,t,n){(t=Sn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=et(n._dispatchListeners,t),n._dispatchInstances=et(n._dispatchInstances,e))}function Pn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Cn(t);for(t=n.length;0<t--;)Mn(n[t],"captured",e);for(t=0;t<n.length;t++)Mn(n[t],"bubbled",e)}}function Nn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Sn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=et(n._dispatchListeners,t),n._dispatchInstances=et(n._dispatchInstances,e))}function An(e){e&&e.dispatchConfig.registrationName&&Nn(e._targetInst,null,e)}function On(e){tt(e,Pn)}var zn=null,Bn=null,Dn=null;function Ln(){if(Dn)return Dn;var e,t,n=Bn,r=n.length,a="value"in zn?zn.value:zn.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===a[i-t];t++);return Dn=a.slice(e,1<t?1-t:void 0)}function Rn(){return!0}function Fn(){return!1}function Un(e,t,n,r){for(var a in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(a)&&((t=e[a])?this[a]=t(n):"target"===a?this.target=r:this[a]=n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Rn:Fn,this.isPropagationStopped=Fn,this}function In(e,t,n,r){if(this.eventPool.length){var a=this.eventPool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)}function $n(e){if(!(e instanceof this))throw Error(l(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function jn(e){e.eventPool=[],e.getPooled=In,e.release=$n}a(Un.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Rn)},persist:function(){this.isPersistent=Rn},isPersistent:Fn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Fn,this._dispatchInstances=this._dispatchListeners=null}}),Un.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Un.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return a(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,jn(n),n},jn(Un);var Hn=Un.extend({data:null}),Vn=Un.extend({data:null}),Wn=[9,13,27,32],Yn=C&&"CompositionEvent"in window,qn=null;C&&"documentMode"in document&&(qn=document.documentMode);var Qn=C&&"TextEvent"in window&&!qn,Xn=C&&(!Yn||qn&&8<qn&&11>=qn),Kn=String.fromCharCode(32),Gn={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Zn=!1;function Jn(e,t){switch(e){case"keyup":return-1!==Wn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function er(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var tr=!1,nr={eventTypes:Gn,extractEvents:function(e,t,n,r){var a;if(Yn)e:{switch(e){case"compositionstart":var i=Gn.compositionStart;break e;case"compositionend":i=Gn.compositionEnd;break e;case"compositionupdate":i=Gn.compositionUpdate;break e}i=void 0}else tr?Jn(e,n)&&(i=Gn.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Gn.compositionStart);return i?(Xn&&"ko"!==n.locale&&(tr||i!==Gn.compositionStart?i===Gn.compositionEnd&&tr&&(a=Ln()):(Bn="value"in(zn=r)?zn.value:zn.textContent,tr=!0)),i=Hn.getPooled(i,t,n,r),(a||null!==(a=er(n)))&&(i.data=a),On(i),a=i):a=null,(e=Qn?function(e,t){switch(e){case"compositionend":return er(t);case"keypress":return 32!==t.which?null:(Zn=!0,Kn);case"textInput":return(e=t.data)===Kn&&Zn?null:e;default:return null}}(e,n):function(e,t){if(tr)return"compositionend"===e||!Yn&&Jn(e,t)?(e=Ln(),Dn=Bn=zn=null,tr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Vn.getPooled(Gn.beforeInput,t,n,r)).data=e,On(t)):t=null,null===a?t:null===t?a:[a,t]}},rr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ar(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rr[e.type]:"textarea"===t}var ir={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function lr(e,t,n){return(e=Un.getPooled(ir.change,e,t,n)).type="change",A(n),On(e),e}var or=null,ur=null;function cr(e){at(e)}function sr(e){if(_e(Tn(e)))return e}function fr(e,t){if("change"===e)return t}var dr=!1;function hr(){or&&(or.detachEvent("onpropertychange",pr),ur=or=null)}function pr(e){if("value"===e.propertyName&&sr(ur))if(e=lr(ur,e,it(e)),R)at(e);else{R=!0;try{z(cr,e)}finally{R=!1,U()}}}function gr(e,t,n){"focus"===e?(hr(),ur=n,(or=t).attachEvent("onpropertychange",pr)):"blur"===e&&hr()}function mr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return sr(ur)}function vr(e,t){if("click"===e)return sr(t)}function yr(e,t){if("input"===e||"change"===e)return sr(t)}C&&(dr=lt("input")&&(!document.documentMode||9<document.documentMode));var br={eventTypes:ir,_isInputEventSupported:dr,extractEvents:function(e,t,n,r){var a=t?Tn(t):window,i=a.nodeName&&a.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===a.type)var l=fr;else if(ar(a))if(dr)l=yr;else{l=mr;var o=gr}else(i=a.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(l=vr);if(l&&(l=l(e,t)))return lr(l,n,r);o&&o(e,a,t),"blur"===e&&(e=a._wrapperState)&&e.controlled&&"number"===a.type&&Ce(a,"number",a.value)}},_r=Un.extend({view:null,detail:null}),wr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wr[e])&&!!t[e]}function kr(){return xr}var Tr=0,Er=0,Cr=!1,Sr=!1,Mr=_r.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:kr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Tr;return Tr=e.screenX,Cr?"mousemove"===e.type?e.screenX-t:0:(Cr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Er;return Er=e.screenY,Sr?"mousemove"===e.type?e.screenY-t:0:(Sr=!0,0)}}),Pr=Mr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Nr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Ar={eventTypes:Nr,extractEvents:function(e,t,n,r,a){var i="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e;if(i&&0==(32&a)&&(n.relatedTarget||n.fromElement)||!l&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,l?(l=t,null!==(t=(t=n.relatedTarget||n.toElement)?xn(t):null)&&(t!==Ke(t)||5!==t.tag&&6!==t.tag)&&(t=null)):l=null,l===t)return null;if("mouseout"===e||"mouseover"===e)var o=Mr,u=Nr.mouseLeave,c=Nr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(o=Pr,u=Nr.pointerLeave,c=Nr.pointerEnter,s="pointer");if(e=null==l?i:Tn(l),i=null==t?i:Tn(t),(u=o.getPooled(u,l,n,r)).type=s+"leave",u.target=e,u.relatedTarget=i,(n=o.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=l)&&s)e:{for(c=s,l=0,e=o=r;e;e=Cn(e))l++;for(e=0,t=c;t;t=Cn(t))e++;for(;0<l-e;)o=Cn(o),l--;for(;0<e-l;)c=Cn(c),e--;for(;l--;){if(o===c||o===c.alternate)break e;o=Cn(o),c=Cn(c)}o=null}else o=null;for(c=o,o=[];r&&r!==c&&(null===(l=r.alternate)||l!==c);)o.push(r),r=Cn(r);for(r=[];s&&s!==c&&(null===(l=s.alternate)||l!==c);)r.push(s),s=Cn(s);for(s=0;s<o.length;s++)Nn(o[s],"bubbled",u);for(s=r.length;0<s--;)Nn(r[s],"captured",n);return 0==(64&a)?[u]:[u,n]}},Or="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},zr=Object.prototype.hasOwnProperty;function Br(e,t){if(Or(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!zr.call(t,n[r])||!Or(e[n[r]],t[n[r]]))return!1;return!0}var Dr=C&&"documentMode"in document&&11>=document.documentMode,Lr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Rr=null,Fr=null,Ur=null,Ir=!1;function $r(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Ir||null==Rr||Rr!==an(n)?null:(n="selectionStart"in(n=Rr)&&cn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Ur&&Br(Ur,n)?null:(Ur=n,(e=Un.getPooled(Lr.select,Fr,e,t)).type="select",e.target=Rr,On(e),e))}var jr={eventTypes:Lr,extractEvents:function(e,t,n,r,a,i){if(!(i=!(a=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{a=Xe(a),i=T.onSelect;for(var l=0;l<i.length;l++)if(!a.has(i[l])){a=!1;break e}a=!0}i=!a}if(i)return null;switch(a=t?Tn(t):window,e){case"focus":(ar(a)||"true"===a.contentEditable)&&(Rr=a,Fr=t,Ur=null);break;case"blur":Ur=Fr=Rr=null;break;case"mousedown":Ir=!0;break;case"contextmenu":case"mouseup":case"dragend":return Ir=!1,$r(n,r);case"selectionchange":if(Dr)break;case"keydown":case"keyup":return $r(n,r)}return null}},Hr=Un.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Vr=Un.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wr=_r.extend({relatedTarget:null});function Yr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var qr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Xr=_r.extend({key:function(e){if(e.key){var t=qr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Qr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:kr,charCode:function(e){return"keypress"===e.type?Yr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Kr=Mr.extend({dataTransfer:null}),Gr=_r.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:kr}),Zr=Un.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Jr=Mr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ea={eventTypes:Bt,extractEvents:function(e,t,n,r){var a=Dt.get(e);if(!a)return null;switch(e){case"keypress":if(0===Yr(n))return null;case"keydown":case"keyup":e=Xr;break;case"blur":case"focus":e=Wr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Mr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=Kr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=Gr;break;case He:case Ve:case We:e=Hr;break;case Ye:e=Zr;break;case"scroll":e=_r;break;case"wheel":e=Jr;break;case"copy":case"cut":case"paste":e=Vr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Pr;break;default:e=Un}return On(t=e.getPooled(a,t,n,r)),t}};if(v)throw Error(l(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),b(),h=En,p=kn,g=Tn,E({SimpleEventPlugin:ea,EnterLeaveEventPlugin:Ar,ChangeEventPlugin:br,SelectEventPlugin:jr,BeforeInputEventPlugin:nr});var ta=[],na=-1;function ra(e){0>na||(e.current=ta[na],ta[na]=null,na--)}function aa(e,t){ta[++na]=e.current,e.current=t}var ia={},la={current:ia},oa={current:!1},ua=ia;function ca(e,t){var n=e.type.contextTypes;if(!n)return ia;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function sa(e){return null!==(e=e.childContextTypes)&&void 0!==e}function fa(){ra(oa),ra(la)}function da(e,t,n){if(la.current!==ia)throw Error(l(168));aa(la,t),aa(oa,n)}function ha(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(l(108,ge(t)||"Unknown",i));return a({},n,{},r)}function pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ia,ua=la.current,aa(la,e),aa(oa,oa.current),!0}function ga(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=ha(e,t,ua),r.__reactInternalMemoizedMergedChildContext=e,ra(oa),ra(la),aa(la,e)):ra(oa),aa(oa,n)}var ma=i.unstable_runWithPriority,va=i.unstable_scheduleCallback,ya=i.unstable_cancelCallback,ba=i.unstable_requestPaint,_a=i.unstable_now,wa=i.unstable_getCurrentPriorityLevel,xa=i.unstable_ImmediatePriority,ka=i.unstable_UserBlockingPriority,Ta=i.unstable_NormalPriority,Ea=i.unstable_LowPriority,Ca=i.unstable_IdlePriority,Sa={},Ma=i.unstable_shouldYield,Pa=void 0!==ba?ba:function(){},Na=null,Aa=null,Oa=!1,za=_a(),Ba=1e4>za?_a:function(){return _a()-za};function Da(){switch(wa()){case xa:return 99;case ka:return 98;case Ta:return 97;case Ea:return 96;case Ca:return 95;default:throw Error(l(332))}}function La(e){switch(e){case 99:return xa;case 98:return ka;case 97:return Ta;case 96:return Ea;case 95:return Ca;default:throw Error(l(332))}}function Ra(e,t){return e=La(e),ma(e,t)}function Fa(e,t,n){return e=La(e),va(e,t,n)}function Ua(e){return null===Na?(Na=[e],Aa=va(xa,$a)):Na.push(e),Sa}function Ia(){if(null!==Aa){var e=Aa;Aa=null,ya(e)}$a()}function $a(){if(!Oa&&null!==Na){Oa=!0;var e=0;try{var t=Na;Ra(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Na=null}catch(t){throw null!==Na&&(Na=Na.slice(e+1)),va(xa,Ia),t}finally{Oa=!1}}}function ja(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ha(e,t){if(e&&e.defaultProps)for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Va={current:null},Wa=null,Ya=null,qa=null;function Qa(){qa=Ya=Wa=null}function Xa(e){var t=Va.current;ra(Va),e.type._context._currentValue=t}function Ka(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function Ga(e,t){Wa=e,qa=Ya=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Tl=!0),e.firstContext=null)}function Za(e,t){if(qa!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(qa=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ya){if(null===Wa)throw Error(l(308));Ya=t,Wa.dependencies={expirationTime:0,firstContext:t,responders:null}}else Ya=Ya.next=t;return e._currentValue}var Ja=!1;function ei(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ti(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ni(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ri(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ai(e,t){var n=e.alternate;null!==n&&ti(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function ii(e,t,n,r){var i=e.updateQueue;Ja=!1;var l=i.baseQueue,o=i.shared.pending;if(null!==o){if(null!==l){var u=l.next;l.next=o.next,o.next=u}l=o,i.shared.pending=null,null!==(u=e.alternate)&&null!==(u=u.updateQueue)&&(u.baseQueue=o)}if(null!==l){u=l.next;var c=i.baseState,s=0,f=null,d=null,h=null;if(null!==u)for(var p=u;;){if((o=p.expirationTime)<r){var g={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===h?(d=h=g,f=c):h=h.next=g,o>s&&(s=o)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),eu(o,p.suspenseConfig);e:{var m=e,v=p;switch(o=t,g=n,v.tag){case 1:if("function"==typeof(m=v.payload)){c=m.call(g,c,o);break e}c=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null===(o="function"==typeof(m=v.payload)?m.call(g,c,o):m)||void 0===o)break e;c=a({},c,o);break e;case 2:Ja=!0}}null!==p.callback&&(e.effectTag|=32,null===(o=i.effects)?i.effects=[p]:o.push(p))}if(null===(p=p.next)||p===u){if(null===(o=i.shared.pending))break;p=l.next=o.next,o.next=u,i.baseQueue=l=o,i.shared.pending=null}}null===h?f=c:h.next=d,i.baseState=f,i.baseQueue=h,tu(s),e.expirationTime=s,e.memoizedState=c}}function li(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=a,a=n,"function"!=typeof r)throw Error(l(191,r));r.call(a)}}}var oi=X.ReactCurrentBatchConfig,ui=(new r.Component).refs;function ci(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:a({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var si={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=jo(),a=oi.suspense;(a=ni(r=Ho(r,e,a),a)).payload=t,null!=n&&(a.callback=n),ri(e,a),Vo(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=jo(),a=oi.suspense;(a=ni(r=Ho(r,e,a),a)).tag=1,a.payload=t,null!=n&&(a.callback=n),ri(e,a),Vo(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=jo(),r=oi.suspense;(r=ni(n=Ho(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ri(e,r),Vo(e,n)}};function fi(e,t,n,r,a,i,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,l):!(t.prototype&&t.prototype.isPureReactComponent&&Br(n,r)&&Br(a,i))}function di(e,t,n){var r=!1,a=ia,i=t.contextType;return"object"==typeof i&&null!==i?i=Za(i):(a=sa(t)?ua:la.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?ca(e,a):ia),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=si,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function hi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&si.enqueueReplaceState(t,t.state,null)}function pi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=ui,ei(e);var i=t.contextType;"object"==typeof i&&null!==i?a.context=Za(i):(i=sa(t)?ua:la.current,a.context=ca(e,i)),ii(e,n,a,r),a.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ci(e,t,i,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&si.enqueueReplaceState(a,a.state,null),ii(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=4)}var gi=Array.isArray;function mi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(l(309));var r=n.stateNode}if(!r)throw Error(l(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=r.refs;t===ui&&(t=r.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(l(284));if(!n._owner)throw Error(l(290,e))}return e}function vi(e,t){if("textarea"!==e.type)throw Error(l(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function yi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=yu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function o(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=wu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=mi(e,t,n),r.return=e,r):((r=bu(n.type,n.key,n.props,null,e.mode,r)).ref=mi(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=xu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=_u(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=wu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case J:return(n=bu(t.type,t.key,t.props,null,e.mode,n)).ref=mi(e,null,t),n.return=e,n;case ee:return(t=xu(t,e.mode,n)).return=e,t}if(gi(t)||pe(t))return(t=_u(t,e.mode,n,null)).return=e,t;vi(e,t)}return null}function h(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case J:return n.key===a?n.type===te?f(e,t,n.props.children,r,a):c(e,t,n,r):null;case ee:return n.key===a?s(e,t,n,r):null}if(gi(n)||pe(n))return null!==a?null:f(e,t,n,r,null);vi(e,n)}return null}function p(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case J:return e=e.get(null===r.key?n:r.key)||null,r.type===te?f(t,e,r.props.children,a,r.key):c(t,e,r,a);case ee:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(gi(r)||pe(r))return f(t,e=e.get(n)||null,r,a,null);vi(t,r)}return null}function g(a,l,o,u){for(var c=null,s=null,f=l,g=l=0,m=null;null!==f&&g<o.length;g++){f.index>g?(m=f,f=null):m=f.sibling;var v=h(a,f,o[g],u);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(a,f),l=i(v,l,g),null===s?c=v:s.sibling=v,s=v,f=m}if(g===o.length)return n(a,f),c;if(null===f){for(;g<o.length;g++)null!==(f=d(a,o[g],u))&&(l=i(f,l,g),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(a,f);g<o.length;g++)null!==(m=p(f,a,g,o[g],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?g:m.key),l=i(m,l,g),null===s?c=m:s.sibling=m,s=m);return e&&f.forEach((function(e){return t(a,e)})),c}function m(a,o,u,c){var s=pe(u);if("function"!=typeof s)throw Error(l(150));if(null==(u=s.call(u)))throw Error(l(151));for(var f=s=null,g=o,m=o=0,v=null,y=u.next();null!==g&&!y.done;m++,y=u.next()){g.index>m?(v=g,g=null):v=g.sibling;var b=h(a,g,y.value,c);if(null===b){null===g&&(g=v);break}e&&g&&null===b.alternate&&t(a,g),o=i(b,o,m),null===f?s=b:f.sibling=b,f=b,g=v}if(y.done)return n(a,g),s;if(null===g){for(;!y.done;m++,y=u.next())null!==(y=d(a,y.value,c))&&(o=i(y,o,m),null===f?s=y:f.sibling=y,f=y);return s}for(g=r(a,g);!y.done;m++,y=u.next())null!==(y=p(g,a,m,y.value,c))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),o=i(y,o,m),null===f?s=y:f.sibling=y,f=y);return e&&g.forEach((function(e){return t(a,e)})),s}return function(e,r,i,u){var c="object"==typeof i&&null!==i&&i.type===te&&null===i.key;c&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case J:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(i.type===te){n(e,c.sibling),(r=a(c,i.props.children)).return=e,e=r;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(r=a(c,i.props)).ref=mi(e,c,i),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===te?((r=_u(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=bu(i.type,i.key,i.props,null,e.mode,u)).ref=mi(e,r,i),u.return=e,e=u)}return o(e);case ee:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=a(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=xu(i,e.mode,u)).return=e,e=r}return o(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,i)).return=e,e=r):(n(e,r),(r=wu(i,e.mode,u)).return=e,e=r),o(e);if(gi(i))return g(e,r,i,u);if(pe(i))return m(e,r,i,u);if(s&&vi(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(l(152,e.displayName||e.name||"Component"))}return n(e,r)}}var bi=yi(!0),_i=yi(!1),wi={},xi={current:wi},ki={current:wi},Ti={current:wi};function Ei(e){if(e===wi)throw Error(l(174));return e}function Ci(e,t){switch(aa(Ti,t),aa(ki,e),aa(xi,wi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Be(null,"");break;default:t=Be(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ra(xi),aa(xi,t)}function Si(){ra(xi),ra(ki),ra(Ti)}function Mi(e){Ei(Ti.current);var t=Ei(xi.current),n=Be(t,e.type);t!==n&&(aa(ki,e),aa(xi,n))}function Pi(e){ki.current===e&&(ra(xi),ra(ki))}var Ni={current:0};function Ai(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Oi(e,t){return{responder:e,props:t}}var zi=X.ReactCurrentDispatcher,Bi=X.ReactCurrentBatchConfig,Di=0,Li=null,Ri=null,Fi=null,Ui=!1;function Ii(){throw Error(l(321))}function $i(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Or(e[n],t[n]))return!1;return!0}function ji(e,t,n,r,a,i){if(Di=i,Li=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,zi.current=null===e||null===e.memoizedState?fl:dl,e=n(r,a),t.expirationTime===Di){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(l(301));i+=1,Fi=Ri=null,t.updateQueue=null,zi.current=hl,e=n(r,a)}while(t.expirationTime===Di)}if(zi.current=sl,t=null!==Ri&&null!==Ri.next,Di=0,Fi=Ri=Li=null,Ui=!1,t)throw Error(l(300));return e}function Hi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Fi?Li.memoizedState=Fi=e:Fi=Fi.next=e,Fi}function Vi(){if(null===Ri){var e=Li.alternate;e=null!==e?e.memoizedState:null}else e=Ri.next;var t=null===Fi?Li.memoizedState:Fi.next;if(null!==t)Fi=t,Ri=e;else{if(null===e)throw Error(l(310));e={memoizedState:(Ri=e).memoizedState,baseState:Ri.baseState,baseQueue:Ri.baseQueue,queue:Ri.queue,next:null},null===Fi?Li.memoizedState=Fi=e:Fi=Fi.next=e}return Fi}function Wi(e,t){return"function"==typeof t?t(e):t}function Yi(e){var t=Vi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=Ri,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var o=a.next;a.next=i.next,i.next=o}r.baseQueue=a=i,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var u=o=i=null,c=a;do{var s=c.expirationTime;if(s<Di){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(o=u=f,i=r):u=u.next=f,s>Li.expirationTime&&(Li.expirationTime=s,tu(s))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),eu(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==a);null===u?i=r:u.next=o,Or(r,t.memoizedState)||(Tl=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function qi(e){var t=Vi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var o=a=a.next;do{i=e(i,o.action),o=o.next}while(o!==a);Or(i,t.memoizedState)||(Tl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Qi(e){var t=Hi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Wi,lastRenderedState:e}).dispatch=cl.bind(null,Li,e),[t.memoizedState,e]}function Xi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Li.updateQueue)?(t={lastEffect:null},Li.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ki(){return Vi().memoizedState}function Gi(e,t,n,r){var a=Hi();Li.effectTag|=e,a.memoizedState=Xi(1|t,n,void 0,void 0===r?null:r)}function Zi(e,t,n,r){var a=Vi();r=void 0===r?null:r;var i=void 0;if(null!==Ri){var l=Ri.memoizedState;if(i=l.destroy,null!==r&&$i(r,l.deps))return void Xi(t,n,i,r)}Li.effectTag|=e,a.memoizedState=Xi(1|t,n,i,r)}function Ji(e,t){return Gi(516,4,e,t)}function el(e,t){return Zi(516,4,e,t)}function tl(e,t){return Zi(4,2,e,t)}function nl(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function rl(e,t,n){return n=null!=n?n.concat([e]):null,Zi(4,2,nl.bind(null,t,e),n)}function al(){}function il(e,t){return Hi().memoizedState=[e,void 0===t?null:t],e}function ll(e,t){var n=Vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$i(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ol(e,t){var n=Vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$i(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ul(e,t,n){var r=Da();Ra(98>r?98:r,(function(){e(!0)})),Ra(97<r?97:r,(function(){var r=Bi.suspense;Bi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Bi.suspense=r}}))}function cl(e,t,n){var r=jo(),a=oi.suspense;a={expirationTime:r=Ho(r,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===Li||null!==i&&i===Li)Ui=!0,a.expirationTime=Di,Li.expirationTime=Di;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,o=i(l,n);if(a.eagerReducer=i,a.eagerState=o,Or(o,l))return}catch(e){}Vo(e,r)}}var sl={readContext:Za,useCallback:Ii,useContext:Ii,useEffect:Ii,useImperativeHandle:Ii,useLayoutEffect:Ii,useMemo:Ii,useReducer:Ii,useRef:Ii,useState:Ii,useDebugValue:Ii,useResponder:Ii,useDeferredValue:Ii,useTransition:Ii},fl={readContext:Za,useCallback:il,useContext:Za,useEffect:Ji,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Gi(4,2,nl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Gi(4,2,e,t)},useMemo:function(e,t){var n=Hi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Hi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=cl.bind(null,Li,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Hi().memoizedState=e},useState:Qi,useDebugValue:al,useResponder:Oi,useDeferredValue:function(e,t){var n=Qi(e),r=n[0],a=n[1];return Ji((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{a(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Qi(!1),n=t[0];return t=t[1],[il(ul.bind(null,t,e),[t,e]),n]}},dl={readContext:Za,useCallback:ll,useContext:Za,useEffect:el,useImperativeHandle:rl,useLayoutEffect:tl,useMemo:ol,useReducer:Yi,useRef:Ki,useState:function(){return Yi(Wi)},useDebugValue:al,useResponder:Oi,useDeferredValue:function(e,t){var n=Yi(Wi),r=n[0],a=n[1];return el((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{a(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Yi(Wi),n=t[0];return t=t[1],[ll(ul.bind(null,t,e),[t,e]),n]}},hl={readContext:Za,useCallback:ll,useContext:Za,useEffect:el,useImperativeHandle:rl,useLayoutEffect:tl,useMemo:ol,useReducer:qi,useRef:Ki,useState:function(){return qi(Wi)},useDebugValue:al,useResponder:Oi,useDeferredValue:function(e,t){var n=qi(Wi),r=n[0],a=n[1];return el((function(){var n=Bi.suspense;Bi.suspense=void 0===t?null:t;try{a(e)}finally{Bi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=qi(Wi),n=t[0];return t=t[1],[ll(ul.bind(null,t,e),[t,e]),n]}},pl=null,gl=null,ml=!1;function vl(e,t){var n=mu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function yl(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function bl(e){if(ml){var t=gl;if(t){var n=t;if(!yl(e,t)){if(!(t=mn(n.nextSibling))||!yl(e,t))return e.effectTag=-1025&e.effectTag|2,ml=!1,void(pl=e);vl(pl,n)}pl=e,gl=mn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ml=!1,pl=e}}function _l(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;pl=e}function wl(e){if(e!==pl)return!1;if(!ml)return _l(e),ml=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!hn(t,e.memoizedProps))for(t=gl;t;)vl(e,t),t=mn(t.nextSibling);if(_l(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){gl=mn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}gl=null}}else gl=pl?mn(e.stateNode.nextSibling):null;return!0}function xl(){gl=pl=null,ml=!1}var kl=X.ReactCurrentOwner,Tl=!1;function El(e,t,n,r){t.child=null===e?_i(t,null,n,r):bi(t,e.child,n,r)}function Cl(e,t,n,r,a){n=n.render;var i=t.ref;return Ga(t,a),r=ji(e,t,n,r,i,a),null===e||Tl?(t.effectTag|=1,El(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Hl(e,t,a))}function Sl(e,t,n,r,a,i){if(null===e){var l=n.type;return"function"!=typeof l||vu(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=bu(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,Ml(e,t,l,r,a,i))}return l=e.child,a<i&&(a=l.memoizedProps,(n=null!==(n=n.compare)?n:Br)(a,r)&&e.ref===t.ref)?Hl(e,t,i):(t.effectTag|=1,(e=yu(l,r)).ref=t.ref,e.return=t,t.child=e)}function Ml(e,t,n,r,a,i){return null!==e&&Br(e.memoizedProps,r)&&e.ref===t.ref&&(Tl=!1,a<i)?(t.expirationTime=e.expirationTime,Hl(e,t,i)):Nl(e,t,n,r,i)}function Pl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Nl(e,t,n,r,a){var i=sa(n)?ua:la.current;return i=ca(t,i),Ga(t,a),n=ji(e,t,n,r,i,a),null===e||Tl?(t.effectTag|=1,El(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Hl(e,t,a))}function Al(e,t,n,r,a){if(sa(n)){var i=!0;pa(t)}else i=!1;if(Ga(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),di(t,n,r),pi(t,n,r,a),r=!0;else if(null===e){var l=t.stateNode,o=t.memoizedProps;l.props=o;var u=l.context,c=n.contextType;c="object"==typeof c&&null!==c?Za(c):ca(t,c=sa(n)?ua:la.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(o!==r||u!==c)&&hi(t,l,r,c),Ja=!1;var d=t.memoizedState;l.state=d,ii(t,r,l,a),u=t.memoizedState,o!==r||d!==u||oa.current||Ja?("function"==typeof s&&(ci(t,n,s,r),u=t.memoizedState),(o=Ja||fi(t,n,o,r,d,u,c))?(f||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.effectTag|=4)):("function"==typeof l.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=c,r=o):("function"==typeof l.componentDidMount&&(t.effectTag|=4),r=!1)}else l=t.stateNode,ti(e,t),o=t.memoizedProps,l.props=t.type===t.elementType?o:Ha(t.type,o),u=l.context,c="object"==typeof(c=n.contextType)&&null!==c?Za(c):ca(t,c=sa(n)?ua:la.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(o!==r||u!==c)&&hi(t,l,r,c),Ja=!1,u=t.memoizedState,l.state=u,ii(t,r,l,a),d=t.memoizedState,o!==r||u!==d||oa.current||Ja?("function"==typeof s&&(ci(t,n,s,r),d=t.memoizedState),(s=Ja||fi(t,n,o,r,u,d,c))?(f||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,d,c),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,d,c)),"function"==typeof l.componentDidUpdate&&(t.effectTag|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof l.componentDidUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),l.props=r,l.state=d,l.context=c,r=s):("function"!=typeof l.componentDidUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||o===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ol(e,t,n,r,i,a)}function Ol(e,t,n,r,a,i){Pl(e,t);var l=0!=(64&t.effectTag);if(!r&&!l)return a&&ga(t,n,!1),Hl(e,t,i);r=t.stateNode,kl.current=t;var o=l&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&l?(t.child=bi(t,e.child,null,i),t.child=bi(t,null,o,i)):El(e,t,o,i),t.memoizedState=r.state,a&&ga(t,n,!0),t.child}function zl(e){var t=e.stateNode;t.pendingContext?da(0,t.pendingContext,t.pendingContext!==t.context):t.context&&da(0,t.context,!1),Ci(e,t.containerInfo)}var Bl,Dl,Ll,Rl,Fl={dehydrated:null,retryTime:0};function Ul(e,t,n){var r,a=t.mode,i=t.pendingProps,l=Ni.current,o=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&l)&&(null===e||null!==e.memoizedState)),r?(o=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(l|=1),aa(Ni,1&l),null===e){if(void 0!==i.fallback&&bl(t),o){if(o=i.fallback,(i=_u(null,a,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=_u(o,a,n,null)).return=t,i.sibling=n,t.memoizedState=Fl,t.child=i,n}return a=i.children,t.memoizedState=null,t.child=_i(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,o){if(i=i.fallback,(n=yu(e,e.pendingProps)).return=t,0==(2&t.mode)&&(o=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=o;null!==o;)o.return=n,o=o.sibling;return(a=yu(a,i)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Fl,t.child=n,a}return n=bi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,o){if(o=i.fallback,(i=_u(null,a,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=_u(o,a,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Fl,t.child=i,n}return t.memoizedState=null,t.child=bi(t,e,i.children,n)}function Il(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),Ka(e.return,t)}function $l(e,t,n,r,a,i){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:a,lastEffect:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailExpiration=0,l.tailMode=a,l.lastEffect=i)}function jl(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(El(e,t,r.children,n),0!=(2&(r=Ni.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Il(e,n);else if(19===e.tag)Il(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(aa(Ni,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Ai(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$l(t,!1,a,n,i,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Ai(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$l(t,!0,n,null,i,t.lastEffect);break;case"together":$l(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Hl(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&tu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=yu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=yu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Wl(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return sa(t.type)&&fa(),null;case 3:return Si(),ra(oa),ra(la),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!wl(t)||(t.effectTag|=4),Dl(t),null;case 5:Pi(t),n=Ei(Ti.current);var i=t.type;if(null!==e&&null!=t.stateNode)Ll(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(l(166));return null}if(e=Ei(xi.current),wl(t)){r=t.stateNode,i=t.type;var o=t.memoizedProps;switch(r[bn]=t,r[_n]=o,i){case"iframe":case"object":case"embed":Vt("load",r);break;case"video":case"audio":for(e=0;e<qe.length;e++)Vt(qe[e],r);break;case"source":Vt("error",r);break;case"img":case"image":case"link":Vt("error",r),Vt("load",r);break;case"form":Vt("reset",r),Vt("submit",r);break;case"details":Vt("toggle",r);break;case"input":xe(r,o),Vt("invalid",r),nn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Vt("invalid",r),nn(n,"onChange");break;case"textarea":Ne(r,o),Vt("invalid",r),nn(n,"onChange")}for(var u in Jt(i,o),e=null,o)if(o.hasOwnProperty(u)){var c=o[u];"children"===u?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):k.hasOwnProperty(u)&&null!=c&&nn(n,u)}switch(i){case"input":be(r),Ee(r,o,!0);break;case"textarea":be(r),Oe(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=rn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===tn&&(e=ze(i)),e===tn?"script"===i?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),"select"===i&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[bn]=t,e[_n]=r,Bl(e,t,!1,!1),t.stateNode=e,u=en(i,r),i){case"iframe":case"object":case"embed":Vt("load",e),c=r;break;case"video":case"audio":for(c=0;c<qe.length;c++)Vt(qe[c],e);c=r;break;case"source":Vt("error",e),c=r;break;case"img":case"image":case"link":Vt("error",e),Vt("load",e),c=r;break;case"form":Vt("reset",e),Vt("submit",e),c=r;break;case"details":Vt("toggle",e),c=r;break;case"input":xe(e,r),c=we(e,r),Vt("invalid",e),nn(n,"onChange");break;case"option":c=Se(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=a({},r,{value:void 0}),Vt("invalid",e),nn(n,"onChange");break;case"textarea":Ne(e,r),c=Pe(e,r),Vt("invalid",e),nn(n,"onChange");break;default:c=r}Jt(i,c);var s=c;for(o in s)if(s.hasOwnProperty(o)){var f=s[o];"style"===o?Gt(e,f):"dangerouslySetInnerHTML"===o?null!=(f=f?f.__html:void 0)&&Le(e,f):"children"===o?"string"==typeof f?("textarea"!==i||""!==f)&&Re(e,f):"number"==typeof f&&Re(e,""+f):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(k.hasOwnProperty(o)?null!=f&&nn(n,o):null!=f&&K(e,o,f,u))}switch(i){case"input":be(e),Ee(e,r,!1);break;case"textarea":be(e),Oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Me(e,!!r.multiple,n,!1):null!=r.defaultValue&&Me(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=rn)}dn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Rl(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));n=Ei(Ti.current),Ei(xi.current),wl(t)?(n=t.stateNode,r=t.memoizedProps,n[bn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[bn]=t,t.stateNode=n)}return null;case 13:return ra(Ni),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&wl(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(o=t.firstEffect)?(t.firstEffect=i,i.nextEffect=o):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ni.current)?ko===mo&&(ko=vo):(ko!==mo&&ko!==vo||(ko=yo),0!==Mo&&null!==_o&&(Tu(_o,xo),Eu(_o,Mo)))),(n||r)&&(t.effectTag|=4),null);case 4:return Si(),Dl(t),null;case 10:return Xa(t),null;case 17:return sa(t.type)&&fa(),null;case 19:if(ra(Ni),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(o=r.rendering)){if(i)Vl(r,!1);else if(ko!==mo||null!==e&&0!=(64&e.effectTag))for(o=t.child;null!==o;){if(null!==(e=Ai(o))){for(t.effectTag|=64,Vl(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)o=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=o,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,o=e.dependencies,i.dependencies=null===o?null:{expirationTime:o.expirationTime,firstContext:o.firstContext,responders:o.responders}),r=r.sibling;return aa(Ni,1&Ni.current|2),t.child}o=o.sibling}}else{if(!i)if(null!==(e=Ai(o))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Vl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ba()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Vl(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=r.last)?n.sibling=o:t.child=o,r.last=o)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ba()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ba(),n.sibling=null,t=Ni.current,aa(Ni,i?1&t|2:1&t),n):null}throw Error(l(156,t.tag))}function Yl(e){switch(e.tag){case 1:sa(e.type)&&fa();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Si(),ra(oa),ra(la),0!=(64&(t=e.effectTag)))throw Error(l(285));return e.effectTag=-4097&t|64,e;case 5:return Pi(e),null;case 13:return ra(Ni),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ra(Ni),null;case 4:return Si(),null;case 10:return Xa(e),null;default:return null}}function ql(e,t){return{value:e,source:t,stack:me(t)}}Bl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Dl=function(){},Ll=function(e,t,n,r,i){var l=e.memoizedProps;if(l!==r){var o,u,c=t.stateNode;switch(Ei(xi.current),e=null,n){case"input":l=we(c,l),r=we(c,r),e=[];break;case"option":l=Se(c,l),r=Se(c,r),e=[];break;case"select":l=a({},l,{value:void 0}),r=a({},r,{value:void 0}),e=[];break;case"textarea":l=Pe(c,l),r=Pe(c,r),e=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(c.onclick=rn)}for(o in Jt(n,r),n=null,l)if(!r.hasOwnProperty(o)&&l.hasOwnProperty(o)&&null!=l[o])if("style"===o)for(u in c=l[o])c.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==o&&"children"!==o&&"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(k.hasOwnProperty(o)?e||(e=[]):(e=e||[]).push(o,null));for(o in r){var s=r[o];if(c=null!=l?l[o]:void 0,r.hasOwnProperty(o)&&s!==c&&(null!=s||null!=c))if("style"===o)if(c){for(u in c)!c.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in s)s.hasOwnProperty(u)&&c[u]!==s[u]&&(n||(n={}),n[u]=s[u])}else n||(e||(e=[]),e.push(o,n)),n=s;else"dangerouslySetInnerHTML"===o?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(o,s)):"children"===o?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(o,""+s):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&(k.hasOwnProperty(o)?(null!=s&&nn(i,o),e||c===s||(e=[])):(e=e||[]).push(o,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Rl=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Ql="function"==typeof WeakSet?WeakSet:Set;function Xl(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=me(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function Kl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){du(e,t)}else t.current=null}function Gl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ha(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(l(163))}function Zl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function Jl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function eo(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void Jl(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Ha(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&li(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}li(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&dn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&zt(n)))));case 19:case 17:case 20:case 21:return}throw Error(l(163))}function to(e,t,n){switch("function"==typeof gu&&gu(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Ra(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(e){du(a,e)}}e=e.next}while(e!==r)}))}break;case 1:Kl(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){du(e,t)}}(t,n);break;case 5:Kl(t);break;case 4:io(e,t,n)}}function no(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&no(t)}function ro(e){return 5===e.tag||3===e.tag||4===e.tag}function ao(e){e:{for(var t=e.return;null!==t;){if(ro(t)){var n=t;break e}t=t.return}throw Error(l(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(l(161))}16&n.effectTag&&(Re(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ro(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var a=t.tag,i=5===a||6===a;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=rn));else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var a=t.tag,i=5===a||6===a;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==a&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function io(e,t,n){for(var r,a,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(l(160));switch(r=o.stateNode,o.tag){case 5:a=!1;break e;case 3:case 4:r=r.containerInfo,a=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var u=e,c=i,s=n,f=c;;)if(to(u,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}a?(u=r,c=i.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,a=!0,i.child.return=i,i=i.child;continue}}else if(to(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function lo(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void Zl(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,a=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[_n]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ke(n,r),en(e,a),t=en(e,r),a=0;a<i.length;a+=2){var o=i[a],u=i[a+1];"style"===o?Gt(n,u):"dangerouslySetInnerHTML"===o?Le(n,u):"children"===o?Re(n,u):K(n,o,u,t)}switch(e){case"input":Te(n,r);break;case"textarea":Ae(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Me(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Me(n,!!r.multiple,r.defaultValue,!0):Me(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(l(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,zt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,No=Ba()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,a=void 0!==(a=e.memoizedProps.style)&&null!==a&&a.hasOwnProperty("display")?a.display:null,i.style.display=Kt("display",a));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void oo(t);case 19:return void oo(t);case 17:return}throw Error(l(163))}function oo(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ql),t.forEach((function(t){var r=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=Ho(t=jo(),e,null)),null!==(e=Wo(e,t))&&qo(e)}.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var uo="function"==typeof WeakMap?WeakMap:Map;function co(e,t,n){(n=ni(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Oo||(Oo=!0,zo=r),Xl(e,t)},n}function so(e,t,n){(n=ni(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return Xl(e,t),r(a)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Bo?Bo=new Set([this]):Bo.add(this),Xl(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var fo,ho=Math.ceil,po=X.ReactCurrentDispatcher,go=X.ReactCurrentOwner,mo=0,vo=3,yo=4,bo=0,_o=null,wo=null,xo=0,ko=mo,To=null,Eo=1073741823,Co=1073741823,So=null,Mo=0,Po=!1,No=0,Ao=null,Oo=!1,zo=null,Bo=null,Do=!1,Lo=null,Ro=90,Fo=null,Uo=0,Io=null,$o=0;function jo(){return 0!=(48&bo)?1073741821-(Ba()/10|0):0!==$o?$o:$o=1073741821-(Ba()/10|0)}function Ho(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Da();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&bo))return xo;if(null!==n)e=ja(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=ja(e,150,100);break;case 97:case 96:e=ja(e,5e3,250);break;case 95:e=2;break;default:throw Error(l(326))}return null!==_o&&e===xo&&--e,e}function Vo(e,t){if(50<Uo)throw Uo=0,Io=null,Error(l(185));if(null!==(e=Wo(e,t))){var n=Da();1073741823===t?0!=(8&bo)&&0==(48&bo)?Qo(e):(qo(e),0===bo&&Ia()):qo(e),0==(4&bo)||98!==n&&99!==n||(null===Fo?Fo=new Map([[e,t]]):(void 0===(n=Fo.get(e))||n>t)&&Fo.set(e,t))}}function Wo(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,a=null;if(null===r&&3===e.tag)a=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){a=r.stateNode;break}r=r.return}return null!==a&&(_o===a&&(tu(t),ko===yo&&Tu(a,xo)),Eu(a,t)),a}function Yo(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!ku(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function qo(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ua(Qo.bind(null,e));else{var t=Yo(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=jo();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=r)return;n!==Sa&&ya(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ua(Qo.bind(null,e)):Fa(r,function e(t,n){if($o=0,n)return Cu(t,n=jo()),qo(t),null;var r=Yo(t);if(0!==r){if(n=t.callbackNode,0!=(48&bo))throw Error(l(327));if(cu(),t===_o&&r===xo||Go(t,r),null!==wo){var a=bo;bo|=16;for(var i=Jo();;)try{ru();break}catch(e){Zo(t,e)}if(Qa(),bo=a,po.current=i,1===ko)throw n=To,Go(t,r),Tu(t,r),qo(t),n;if(null===wo)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=r,a=ko,_o=null,a){case mo:case 1:throw Error(l(345));case 2:Cu(t,2<r?2:r);break;case vo:if(Tu(t,r),r===(a=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=lu(i)),1073741823===Eo&&10<(i=No+500-Ba())){if(Po){var o=t.lastPingedTime;if(0===o||o>=r){t.lastPingedTime=r,Go(t,r);break}}if(0!==(o=Yo(t))&&o!==r)break;if(0!==a&&a!==r){t.lastPingedTime=a;break}t.timeoutHandle=pn(ou.bind(null,t),i);break}ou(t);break;case yo:if(Tu(t,r),r===(a=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=lu(i)),Po&&(0===(i=t.lastPingedTime)||i>=r)){t.lastPingedTime=r,Go(t,r);break}if(0!==(i=Yo(t))&&i!==r)break;if(0!==a&&a!==r){t.lastPingedTime=a;break}if(1073741823!==Co?a=10*(1073741821-Co)-Ba():1073741823===Eo?a=0:(a=10*(1073741821-Eo)-5e3,0>(a=(i=Ba())-a)&&(a=0),(r=10*(1073741821-r)-i)<(a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*ho(a/1960))-a)&&(a=r)),10<a){t.timeoutHandle=pn(ou.bind(null,t),a);break}ou(t);break;case 5:if(1073741823!==Eo&&null!==So){o=Eo;var u=So;if(0>=(a=0|u.busyMinDurationMs)?a=0:(i=0|u.busyDelayMs,a=(o=Ba()-(10*(1073741821-o)-(0|u.timeoutMs||5e3)))<=i?0:i+a-o),10<a){Tu(t,r),t.timeoutHandle=pn(ou.bind(null,t),a);break}}ou(t);break;default:throw Error(l(329))}if(qo(t),t.callbackNode===n)return e.bind(null,t)}}return null}.bind(null,e),{timeout:10*(1073741821-t)-Ba()}),e.callbackNode=t}}}function Qo(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&bo))throw Error(l(327));if(cu(),e===_o&&t===xo||Go(e,t),null!==wo){var n=bo;bo|=16;for(var r=Jo();;)try{nu();break}catch(t){Zo(e,t)}if(Qa(),bo=n,po.current=r,1===ko)throw n=To,Go(e,t),Tu(e,t),qo(e),n;if(null!==wo)throw Error(l(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,_o=null,ou(e),qo(e)}return null}function Xo(e,t){var n=bo;bo|=1;try{return e(t)}finally{0===(bo=n)&&Ia()}}function Ko(e,t){var n=bo;bo&=-2,bo|=8;try{return e(t)}finally{0===(bo=n)&&Ia()}}function Go(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,gn(n)),null!==wo)for(n=wo.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&fa();break;case 3:Si(),ra(oa),ra(la);break;case 5:Pi(r);break;case 4:Si();break;case 13:case 19:ra(Ni);break;case 10:Xa(r)}n=n.return}_o=e,wo=yu(e.current,null),xo=t,ko=mo,To=null,Co=Eo=1073741823,So=null,Mo=0,Po=!1}function Zo(e,t){for(;;){try{if(Qa(),zi.current=sl,Ui)for(var n=Li.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Di=0,Fi=Ri=Li=null,Ui=!1,null===wo||null===wo.return)return ko=1,To=t,wo=null;e:{var a=e,i=wo.return,l=wo,o=t;if(t=xo,l.effectTag|=2048,l.firstEffect=l.lastEffect=null,null!==o&&"object"==typeof o&&"function"==typeof o.then){var u=o;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.expirationTime=c.expirationTime):(l.updateQueue=null,l.memoizedState=null)}var s=0!=(1&Ni.current),f=i;do{var d;if(d=13===f.tag){var h=f.memoizedState;if(null!==h)d=null!==h.dehydrated;else{var p=f.memoizedProps;d=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!s)}}if(d){var g=f.updateQueue;if(null===g){var m=new Set;m.add(u),f.updateQueue=m}else g.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,l.effectTag&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=ni(1073741823,null);v.tag=2,ri(l,v)}l.expirationTime=1073741823;break e}o=void 0,l=t;var y=a.pingCache;if(null===y?(y=a.pingCache=new uo,o=new Set,y.set(u,o)):void 0===(o=y.get(u))&&(o=new Set,y.set(u,o)),!o.has(l)){o.add(l);var b=hu.bind(null,a,u,l);u.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);o=Error((ge(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+me(l))}5!==ko&&(ko=2),o=ql(o,l),f=i;do{switch(f.tag){case 3:u=o,f.effectTag|=4096,f.expirationTime=t,ai(f,co(f,u,t));break e;case 1:u=o;var _=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Bo||!Bo.has(w)))){f.effectTag|=4096,f.expirationTime=t,ai(f,so(f,u,t));break e}}f=f.return}while(null!==f)}wo=iu(wo)}catch(e){t=e;continue}break}}function Jo(){var e=po.current;return po.current=sl,null===e?sl:e}function eu(e,t){e<Eo&&2<e&&(Eo=e),null!==t&&e<Co&&2<e&&(Co=e,So=t)}function tu(e){e>Mo&&(Mo=e)}function nu(){for(;null!==wo;)wo=au(wo)}function ru(){for(;null!==wo&&!Ma();)wo=au(wo)}function au(e){var t=fo(e.alternate,e,xo);return e.memoizedProps=e.pendingProps,null===t&&(t=iu(e)),go.current=null,t}function iu(e){wo=e;do{var t=wo.alternate;if(e=wo.return,0==(2048&wo.effectTag)){if(t=Wl(t,wo,xo),1===xo||1!==wo.childExpirationTime){for(var n=0,r=wo.child;null!==r;){var a=r.expirationTime,i=r.childExpirationTime;a>n&&(n=a),i>n&&(n=i),r=r.sibling}wo.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=wo.firstEffect),null!==wo.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=wo.firstEffect),e.lastEffect=wo.lastEffect),1<wo.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=wo:e.firstEffect=wo,e.lastEffect=wo))}else{if(null!==(t=Yl(wo)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=wo.sibling))return t;wo=e}while(null!==wo);return ko===mo&&(ko=5),null}function lu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function ou(e){var t=Da();return Ra(99,function(e,t){do{cu()}while(null!==Lo);if(0!=(48&bo))throw Error(l(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(l(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=lu(n);if(e.firstPendingTime=a,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===_o&&(wo=_o=null,xo=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var i=bo;bo|=32,go.current=null,sn=Ht;var o=un();if(cn(o)){if("selectionStart"in o)var u={start:o.selectionStart,end:o.selectionEnd};else e:{var c=(u=(u=o.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var d=0,h=-1,p=-1,g=0,m=0,v=o,y=null;t:for(;;){for(var b;v!==u||0!==s&&3!==v.nodeType||(h=d+s),v!==f||0!==c&&3!==v.nodeType||(p=d+c),3===v.nodeType&&(d+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===o)break t;if(y===u&&++g===s&&(h=d),y===f&&++m===c&&(p=d),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}u=-1===h||-1===p?null:{start:h,end:p}}else u=null}u=u||{start:0,end:0}}else u=null;fn={activeElementDetached:null,focusedElem:o,selectionRange:u},Ht=!1,Ao=a;do{try{uu()}catch(e){if(null===Ao)throw Error(l(330));du(Ao,e),Ao=Ao.nextEffect}}while(null!==Ao);Ao=a;do{try{for(o=e,u=t;null!==Ao;){var _=Ao.effectTag;if(16&_&&Re(Ao.stateNode,""),128&_){var w=Ao.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&_){case 2:ao(Ao),Ao.effectTag&=-3;break;case 6:ao(Ao),Ao.effectTag&=-3,lo(Ao.alternate,Ao);break;case 1024:Ao.effectTag&=-1025;break;case 1028:Ao.effectTag&=-1025,lo(Ao.alternate,Ao);break;case 4:lo(Ao.alternate,Ao);break;case 8:io(o,s=Ao,u),no(s)}Ao=Ao.nextEffect}}catch(e){if(null===Ao)throw Error(l(330));du(Ao,e),Ao=Ao.nextEffect}}while(null!==Ao);if(x=fn,w=un(),_=x.focusedElem,u=x.selectionRange,w!==_&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==u&&cn(_)&&(w=u.start,void 0===(x=u.end)&&(x=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(x,_.value.length)):(x=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),s=_.textContent.length,o=Math.min(u.start,s),u=void 0===u.end?o:Math.min(u.end,s),!x.extend&&o>u&&(s=u,u=o,o=s),s=on(_,o),f=on(_,u),s&&f&&(1!==x.rangeCount||x.anchorNode!==s.node||x.anchorOffset!==s.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((w=w.createRange()).setStart(s.node,s.offset),x.removeAllRanges(),o>u?(x.addRange(w),x.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),x.addRange(w))))),w=[];for(x=_;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(x=w[_]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Ht=!!sn,fn=sn=null,e.current=n,Ao=a;do{try{for(_=e;null!==Ao;){var k=Ao.effectTag;if(36&k&&eo(_,Ao.alternate,Ao),128&k){w=void 0;var T=Ao.ref;if(null!==T){var E=Ao.stateNode;switch(Ao.tag){case 5:w=E;break;default:w=E}"function"==typeof T?T(w):T.current=w}}Ao=Ao.nextEffect}}catch(e){if(null===Ao)throw Error(l(330));du(Ao,e),Ao=Ao.nextEffect}}while(null!==Ao);Ao=null,Pa(),bo=i}else e.current=n;if(Do)Do=!1,Lo=e,Ro=t;else for(Ao=a;null!==Ao;)t=Ao.nextEffect,Ao.nextEffect=null,Ao=t;if(0===(t=e.firstPendingTime)&&(Bo=null),1073741823===t?e===Io?Uo++:(Uo=0,Io=e):Uo=0,"function"==typeof pu&&pu(n.stateNode,r),qo(e),Oo)throw Oo=!1,e=zo,zo=null,e;return 0!=(8&bo)||Ia(),null}.bind(null,e,t)),null}function uu(){for(;null!==Ao;){var e=Ao.effectTag;0!=(256&e)&&Gl(Ao.alternate,Ao),0==(512&e)||Do||(Do=!0,Fa(97,(function(){return cu(),null}))),Ao=Ao.nextEffect}}function cu(){if(90!==Ro){var e=97<Ro?97:Ro;return Ro=90,Ra(e,su)}}function su(){if(null===Lo)return!1;var e=Lo;if(Lo=null,0!=(48&bo))throw Error(l(331));var t=bo;for(bo|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:Zl(5,n),Jl(5,n)}}catch(t){if(null===e)throw Error(l(330));du(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return bo=t,Ia(),!0}function fu(e,t,n){ri(e,t=co(e,t=ql(n,t),1073741823)),null!==(e=Wo(e,1073741823))&&qo(e)}function du(e,t){if(3===e.tag)fu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){fu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bo||!Bo.has(r))){ri(n,e=so(n,e=ql(t,e),1073741823)),null!==(n=Wo(n,1073741823))&&qo(n);break}}n=n.return}}function hu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),_o===e&&xo===n?ko===yo||ko===vo&&1073741823===Eo&&Ba()-No<500?Go(e,xo):Po=!0:ku(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,qo(e)))}fo=function(e,t,n){var r=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||oa.current)Tl=!0;else{if(r<n){switch(Tl=!1,t.tag){case 3:zl(t),xl();break;case 5:if(Mi(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:sa(t.type)&&pa(t);break;case 4:Ci(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,a=t.type._context,aa(Va,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ul(e,t,n):(aa(Ni,1&Ni.current),null!==(t=Hl(e,t,n))?t.sibling:null);aa(Ni,1&Ni.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return jl(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),aa(Ni,Ni.current),!r)return null}return Hl(e,t,n)}Tl=!1}}else Tl=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,a=ca(t,la.current),Ga(t,n),a=ji(null,t,r,e,a,n),t.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,sa(r)){var i=!0;pa(t)}else i=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,ei(t);var o=r.getDerivedStateFromProps;"function"==typeof o&&ci(t,r,o,e),a.updater=si,t.stateNode=a,a._reactInternalFiber=t,pi(t,r,e,n),t=Ol(null,t,r,!0,i,n)}else t.tag=0,El(null,t,a,n),t=t.child;return t;case 16:e:{if(a=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(a),1!==a._status)throw a._result;switch(a=a._result,t.type=a,i=t.tag=function(e){if("function"==typeof e)return vu(e)?1:0;if(null!=e){if((e=e.$$typeof)===oe)return 11;if(e===se)return 14}return 2}(a),e=Ha(a,e),i){case 0:t=Nl(null,t,a,e,n);break e;case 1:t=Al(null,t,a,e,n);break e;case 11:t=Cl(null,t,a,e,n);break e;case 14:t=Sl(null,t,a,Ha(a.type,e),r,n);break e}throw Error(l(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Nl(e,t,r,a=t.elementType===r?a:Ha(r,a),n);case 1:return r=t.type,a=t.pendingProps,Al(e,t,r,a=t.elementType===r?a:Ha(r,a),n);case 3:if(zl(t),r=t.updateQueue,null===e||null===r)throw Error(l(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,ti(e,t),ii(t,r,null,n),(r=t.memoizedState.element)===a)xl(),t=Hl(e,t,n);else{if((a=t.stateNode.hydrate)&&(gl=mn(t.stateNode.containerInfo.firstChild),pl=t,a=ml=!0),a)for(n=_i(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else El(e,t,r,n),xl();t=t.child}return t;case 5:return Mi(t),null===e&&bl(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,o=a.children,hn(r,a)?o=null:null!==i&&hn(r,i)&&(t.effectTag|=16),Pl(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(El(e,t,o,n),t=t.child),t;case 6:return null===e&&bl(t),null;case 13:return Ul(e,t,n);case 4:return Ci(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=bi(t,null,r,n):El(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Cl(e,t,r,a=t.elementType===r?a:Ha(r,a),n);case 7:return El(e,t,t.pendingProps,n),t.child;case 8:case 12:return El(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value;var u=t.type._context;if(aa(Va,u._currentValue),u._currentValue=i,null!==o)if(u=o.value,0==(i=Or(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(o.children===a.children&&!oa.current){t=Hl(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){o=u.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&i)){1===u.tag&&((s=ni(n,null)).tag=2,ri(u,s)),u.expirationTime<n&&(u.expirationTime=n),null!==(s=u.alternate)&&s.expirationTime<n&&(s.expirationTime=n),Ka(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else o=10===u.tag&&u.type===t.type?null:u.child;if(null!==o)o.return=u;else for(o=u;null!==o;){if(o===t){o=null;break}if(null!==(u=o.sibling)){u.return=o.return,o=u;break}o=o.return}u=o}El(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(i=t.pendingProps).children,Ga(t,n),r=r(a=Za(a,i.unstable_observedBits)),t.effectTag|=1,El(e,t,r,n),t.child;case 14:return i=Ha(a=t.type,t.pendingProps),Sl(e,t,a,i=Ha(a.type,i),r,n);case 15:return Ml(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ha(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,sa(r)?(e=!0,pa(t)):e=!1,Ga(t,n),di(t,r,a),pi(t,r,a,n),Ol(null,t,r,!0,e,n);case 19:return jl(e,t,n)}throw Error(l(156,t.tag))};var pu=null,gu=null;function mu(e,t,n,r){return new function(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}(e,t,n,r)}function vu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function yu(e,t){var n=e.alternate;return null===n?((n=mu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function bu(e,t,n,r,a,i){var o=2;if(r=e,"function"==typeof e)vu(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case te:return _u(n.children,a,i,t);case le:o=8,a|=7;break;case ne:o=8,a|=1;break;case re:return(e=mu(12,n,t,8|a)).elementType=re,e.type=re,e.expirationTime=i,e;case ue:return(e=mu(13,n,t,a)).type=ue,e.elementType=ue,e.expirationTime=i,e;case ce:return(e=mu(19,n,t,a)).elementType=ce,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ae:o=10;break e;case ie:o=9;break e;case oe:o=11;break e;case se:o=14;break e;case fe:o=16,r=null;break e;case de:o=22;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=mu(o,n,t,a)).elementType=e,t.type=r,t.expirationTime=i,t}function _u(e,t,n,r){return(e=mu(7,e,r,t)).expirationTime=n,e}function wu(e,t,n){return(e=mu(6,e,null,t)).expirationTime=n,e}function xu(e,t,n){return(t=mu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ku(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Tu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Eu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Cu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Su(e,t,n,r){var a=t.current,i=jo(),o=oi.suspense;i=Ho(i,a,o);e:if(n){t:{if(Ke(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(l(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(sa(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(l(171))}if(1===n.tag){var c=n.type;if(sa(c)){n=ha(n,c,u);break e}}n=u}else n=ia;return null===t.context?t.context=n:t.pendingContext=n,(t=ni(i,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ri(a,t),Vo(a,i),i}function Mu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Pu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Nu(e,t){Pu(e,t),(e=e.alternate)&&Pu(e,t)}function Au(e,t,n){var r=new function(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}(e,t,n=null!=n&&!0===n.hydrate),a=mu(3,null,null,2===t?7:1===t?3:0);r.current=a,a.stateNode=r,ei(a),e[wn]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);kt.forEach((function(e){ft(e,t,n)})),Tt.forEach((function(e){ft(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Ou(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function zu(e,t,n,r,a){var i=n._reactRootContainer;if(i){var l=i._internalRoot;if("function"==typeof a){var o=a;a=function(){var e=Mu(l);o.call(e)}}Su(t,l,e,a)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Au(e,0,t?{hydrate:!0}:void 0)}(n,r),l=i._internalRoot,"function"==typeof a){var u=a;a=function(){var e=Mu(l);u.call(e)}}Ko((function(){Su(t,l,e,a)}))}return Mu(l)}function Bu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ou(t))throw Error(l(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ee,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Au.prototype.render=function(e){Su(e,this._internalRoot,null,null)},Au.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Su(null,e,null,(function(){t[wn]=null}))},dt=function(e){if(13===e.tag){var t=ja(jo(),150,100);Vo(e,t),Nu(e,t)}},ht=function(e){13===e.tag&&(Vo(e,3),Nu(e,3))},pt=function(e){if(13===e.tag){var t=jo();Vo(e,t=Ho(t,e,null)),Nu(e,t)}},S=function(e,t,n){switch(t){case"input":if(Te(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=En(r);if(!a)throw Error(l(90));_e(r),Te(r,a)}}}break;case"textarea":Ae(e,n);break;case"select":null!=(t=n.value)&&Me(e,!!n.multiple,t,!1)}},z=Xo,B=function(e,t,n,r,a){var i=bo;bo|=4;try{return Ra(98,e.bind(null,t,n,r,a))}finally{0===(bo=i)&&Ia()}},D=function(){0==(49&bo)&&(function(){if(null!==Fo){var e=Fo;Fo=null,e.forEach((function(e,t){Cu(t,e),qo(t)})),Ia()}}(),cu())},L=function(e,t){var n=bo;bo|=2;try{return e(t)}finally{0===(bo=n)&&Ia()}};var Du={Events:[kn,Tn,En,E,x,On,function(e){tt(e,An)},A,O,Yt,at,cu,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);pu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},gu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(a({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:xn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Du,t.createPortal=Bu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,Object.keys(e)))}return null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&bo))throw Error(l(187));var n=bo;bo|=1;try{return Ra(99,e.bind(null,t))}finally{bo=n,Ia()}},t.hydrate=function(e,t,n){if(!Ou(t))throw Error(l(200));return zu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Ou(t))throw Error(l(200));return zu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ou(e))throw Error(l(40));return!!e._reactRootContainer&&(Ko((function(){zu(null,null,e,!1,(function(){e._reactRootContainer=null,e[wn]=null}))})),!0)},t.unstable_batchedUpdates=Xo,t.unstable_createPortal=function(e,t){return Bu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ou(n))throw Error(l(200));if(null==e||void 0===e._reactInternalFiber)throw Error(l(38));return zu(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(28)},function(e,t,n){"use strict";
/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r,a,i,l,o;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},a=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},l=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,h=window.Date,p=window.setTimeout,g=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=h.now();t.unstable_now=function(){return h.now()-v}}var y=!1,b=null,_=-1,w=5,x=0;l=function(){return t.unstable_now()>=x},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,T=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+w;try{b(!0,e)?T.postMessage(null):(y=!1,b=null)}catch(e){throw T.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,T.postMessage(null))},a=function(e,n){_=p((function(){e(t.unstable_now())}),n)},i=function(){g(_),_=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<M(a,t)))break e;e[r]=t,e[n]=a,n=r}}function C(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,l=e[i],o=i+1,u=e[o];if(void 0!==l&&0>M(l,n))void 0!==u&&0>M(u,l)?(e[r]=u,e[o]=n,r=o):(e[r]=l,e[i]=n,r=i);else{if(!(void 0!==u&&0>M(u,n)))break e;e[r]=u,e[o]=n,r=o}}}return t}return null}function M(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],N=[],A=1,O=null,z=3,B=!1,D=!1,L=!1;function R(e){for(var t=C(N);null!==t;){if(null===t.callback)S(N);else{if(!(t.startTime<=e))break;S(N),t.sortIndex=t.expirationTime,E(P,t)}t=C(N)}}function F(e){if(L=!1,R(e),!D)if(null!==C(P))D=!0,r(U);else{var t=C(N);null!==t&&a(F,t.startTime-e)}}function U(e,n){D=!1,L&&(L=!1,i()),B=!0;var r=z;try{for(R(n),O=C(P);null!==O&&(!(O.expirationTime>n)||e&&!l());){var o=O.callback;if(null!==o){O.callback=null,z=O.priorityLevel;var u=o(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?O.callback=u:O===C(P)&&S(P),R(n)}else S(P);O=C(P)}if(null!==O)var c=!0;else{var s=C(N);null!==s&&a(F,s.startTime-n),c=!1}return c}finally{O=null,z=r,B=!1}}function I(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var $=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||B||(D=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return z},t.unstable_getFirstCallbackNode=function(){return C(P)},t.unstable_next=function(e){switch(z){case 1:case 2:case 3:var t=3;break;default:t=z}var n=z;z=t;try{return e()}finally{z=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=$,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=z;z=e;try{return t()}finally{z=n}},t.unstable_scheduleCallback=function(e,n,l){var o=t.unstable_now();if("object"==typeof l&&null!==l){var u=l.delay;u="number"==typeof u&&0<u?o+u:o,l="number"==typeof l.timeout?l.timeout:I(e)}else l=I(e),u=o;return e={id:A++,callback:n,priorityLevel:e,startTime:u,expirationTime:l=u+l,sortIndex:-1},u>o?(e.sortIndex=u,E(N,e),null===C(P)&&e===C(N)&&(L?i():L=!0,a(F,u-o))):(e.sortIndex=l,E(P,e),D||B||(D=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=C(P);return n!==O&&null!==O&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<O.expirationTime||l()},t.unstable_wrapCallback=function(e){var t=z;return function(){var n=z;z=t;try{return e.apply(this,arguments)}finally{z=n}}}},function(e,t,n){"use strict";n.r(t);var r=n(1),a=n.n(r),i=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},l=function(e){return 1===e.length&&(e=function(e){return function(t,n){return i(e(t),n)}}(e)),{left:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var i=r+a>>>1;e(t[i],n)<0?r=i+1:a=i}return r},right:function(t,n,r,a){for(null==r&&(r=0),null==a&&(a=t.length);r<a;){var i=r+a>>>1;e(t[i],n)>0?a=i:r=i+1}return r}}}(i);l.right,l.left;var o=Array.prototype;o.slice,o.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2),Array.prototype.slice;var u={value:function(){}};function c(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new s(r)}function s(e){this._=e}function f(e,t){for(var n,r=0,a=e.length;r<a;++r)if((n=e[r]).name===t)return n.value}function d(e,t,n){for(var r=0,a=e.length;r<a;++r)if(e[r].name===t){e[r]=u,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}s.prototype=c.prototype={constructor:s,on:function(e,t){var n,r=this._,a=function(e,t){return e.trim().split(/^|\s+/).map((function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}(e+"",r),i=-1,l=a.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++i<l;)if(n=(e=a[i]).type)r[n]=d(r[n],e.name,t);else if(null==t)for(n in r)r[n]=d(r[n],e.name,null);return this}for(;++i<l;)if((n=(e=a[i]).type)&&(n=f(r[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new s(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,a=new Array(n),i=0;i<n;++i)a[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=0,n=(r=this._[e]).length;i<n;++i)r[i].value.apply(t,a)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],a=0,i=r.length;a<i;++a)r[a].value.apply(t,n)}};var h=c;function p(){}var g=function(e){return null==e?p:function(){return this.querySelector(e)}};function m(){return[]}var v=function(e){return null==e?m:function(){return this.querySelectorAll(e)}},y=function(e){return function(){return this.matches(e)}},b=function(e){return new Array(e.length)};function _(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}_.prototype={constructor:_,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function w(e,t,n,r,a,i){for(var l,o=0,u=t.length,c=i.length;o<c;++o)(l=t[o])?(l.__data__=i[o],r[o]=l):n[o]=new _(e,i[o]);for(;o<u;++o)(l=t[o])&&(a[o]=l)}function x(e,t,n,r,a,i,l){var o,u,c,s={},f=t.length,d=i.length,h=new Array(f);for(o=0;o<f;++o)(u=t[o])&&(h[o]=c="$"+l.call(u,u.__data__,o,t),c in s?a[o]=u:s[c]=u);for(o=0;o<d;++o)(u=s[c="$"+l.call(e,i[o],o,i)])?(r[o]=u,u.__data__=i[o],s[c]=null):n[o]=new _(e,i[o]);for(o=0;o<f;++o)(u=t[o])&&s[h[o]]===u&&(a[o]=u)}function k(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}var T="http://www.w3.org/1999/xhtml",E={svg:"http://www.w3.org/2000/svg",xhtml:T,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},C=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),E.hasOwnProperty(t)?{space:E[t],local:e}:e},S=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView};function M(e,t){return e.style.getPropertyValue(t)||S(e).getComputedStyle(e,null).getPropertyValue(t)}function P(e){return e.trim().split(/^|\s+/)}function N(e){return e.classList||new A(e)}function A(e){this._node=e,this._names=P(e.getAttribute("class")||"")}function O(e,t){for(var n=N(e),r=-1,a=t.length;++r<a;)n.add(t[r])}function z(e,t){for(var n=N(e),r=-1,a=t.length;++r<a;)n.remove(t[r])}function B(){this.textContent=""}function D(){this.innerHTML=""}function L(){this.nextSibling&&this.parentNode.appendChild(this)}function R(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}A.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var F=function(e){var t=C(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===T&&t.documentElement.namespaceURI===T?t.createElement(e):t.createElementNS(n,e)}})(t)};function U(){return null}function I(){var e=this.parentNode;e&&e.removeChild(this)}function $(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function j(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}var H={},V=null;function W(e,t,n){return e=Y(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function Y(e,t,n){return function(r){var a=V;V=r;try{e.call(this,this.__data__,t,n)}finally{V=a}}}function q(e){return function(){var t=this.__on;if(t){for(var n,r=0,a=-1,i=t.length;r<i;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++a]=n:this.removeEventListener(n.type,n.listener,n.capture);++a?t.length=a:delete this.__on}}}function Q(e,t,n){var r=H.hasOwnProperty(e.type)?W:Y;return function(a,i,l){var o,u=this.__on,c=r(t,i,l);if(u)for(var s=0,f=u.length;s<f;++s)if((o=u[s]).type===e.type&&o.name===e.name)return this.removeEventListener(o.type,o.listener,o.capture),this.addEventListener(o.type,o.listener=c,o.capture=n),void(o.value=t);this.addEventListener(e.type,c,n),o={type:e.type,name:e.name,value:t,listener:c,capture:n},u?u.push(o):this.__on=[o]}}function X(e,t,n){var r=S(e),a=r.CustomEvent;"function"==typeof a?a=new a(t,n):(a=r.document.createEvent("Event"),n?(a.initEvent(t,n.bubbles,n.cancelable),a.detail=n.detail):a.initEvent(t,!1,!1)),e.dispatchEvent(a)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(H={mouseenter:"mouseover",mouseleave:"mouseout"}));var K=[null];function G(e,t){this._groups=e,this._parents=t}function Z(){return new G([[document.documentElement]],K)}G.prototype=Z.prototype={constructor:G,select:function(e){"function"!=typeof e&&(e=g(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var i,l,o=t[a],u=o.length,c=r[a]=new Array(u),s=0;s<u;++s)(i=o[s])&&(l=e.call(i,i.__data__,s,o))&&("__data__"in i&&(l.__data__=i.__data__),c[s]=l);return new G(r,this._parents)},selectAll:function(e){"function"!=typeof e&&(e=v(e));for(var t=this._groups,n=t.length,r=[],a=[],i=0;i<n;++i)for(var l,o=t[i],u=o.length,c=0;c<u;++c)(l=o[c])&&(r.push(e.call(l,l.__data__,c,o)),a.push(l));return new G(r,a)},filter:function(e){"function"!=typeof e&&(e=y(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var i,l=t[a],o=l.length,u=r[a]=[],c=0;c<o;++c)(i=l[c])&&e.call(i,i.__data__,c,l)&&u.push(i);return new G(r,this._parents)},data:function(e,t){if(!e)return h=new Array(this.size()),c=-1,this.each((function(e){h[++c]=e})),h;var n=t?x:w,r=this._parents,a=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var i=a.length,l=new Array(i),o=new Array(i),u=new Array(i),c=0;c<i;++c){var s=r[c],f=a[c],d=f.length,h=e.call(s,s&&s.__data__,c,r),p=h.length,g=o[c]=new Array(p),m=l[c]=new Array(p);n(s,f,g,m,u[c]=new Array(d),h,t);for(var v,y,b=0,_=0;b<p;++b)if(v=g[b]){for(b>=_&&(_=b+1);!(y=m[_])&&++_<p;);v._next=y||null}}return(l=new G(l,r))._enter=o,l._exit=u,l},enter:function(){return new G(this._enter||this._groups.map(b),this._parents)},exit:function(){return new G(this._exit||this._groups.map(b),this._parents)},join:function(e,t,n){var r=this.enter(),a=this,i=this.exit();return r="function"==typeof e?e(r):r.append(e+""),null!=t&&(a=t(a)),null==n?i.remove():n(i),r&&a?r.merge(a).order():a},merge:function(e){for(var t=this._groups,n=e._groups,r=t.length,a=n.length,i=Math.min(r,a),l=new Array(r),o=0;o<i;++o)for(var u,c=t[o],s=n[o],f=c.length,d=l[o]=new Array(f),h=0;h<f;++h)(u=c[h]||s[h])&&(d[h]=u);for(;o<r;++o)l[o]=t[o];return new G(l,this._parents)},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,a=e[t],i=a.length-1,l=a[i];--i>=0;)(r=a[i])&&(l&&4^r.compareDocumentPosition(l)&&l.parentNode.insertBefore(r,l),l=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=k);for(var n=this._groups,r=n.length,a=new Array(r),i=0;i<r;++i){for(var l,o=n[i],u=o.length,c=a[i]=new Array(u),s=0;s<u;++s)(l=o[s])&&(c[s]=l);c.sort(t)}return new G(a,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){var e=new Array(this.size()),t=-1;return this.each((function(){e[++t]=this})),e},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],a=0,i=r.length;a<i;++a){var l=r[a];if(l)return l}return null},size:function(){var e=0;return this.each((function(){++e})),e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var a,i=t[n],l=0,o=i.length;l<o;++l)(a=i[l])&&e.call(a,a.__data__,l,i);return this},attr:function(e,t){var n=C(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"==typeof t?n.local?function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}:function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}:n.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):M(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=P(e+"");if(arguments.length<2){for(var r=N(this.node()),a=-1,i=n.length;++a<i;)if(!r.contains(n[a]))return!1;return!0}return this.each(("function"==typeof t?function(e,t){return function(){(t.apply(this,arguments)?O:z)(this,e)}}:t?function(e){return function(){O(this,e)}}:function(e){return function(){z(this,e)}})(n,t))},text:function(e){return arguments.length?this.each(null==e?B:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?D:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each(L)},lower:function(){return this.each(R)},append:function(e){var t="function"==typeof e?e:F(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:F(e),r=null==t?U:"function"==typeof t?t:g(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(I)},clone:function(e){return this.select(e?j:$)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,a,i=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),l=i.length;if(!(arguments.length<2)){for(o=t?Q:q,null==n&&(n=!1),r=0;r<l;++r)this.each(o(i[r],t,n));return this}var o=this.node().__on;if(o)for(var u,c=0,s=o.length;c<s;++c)for(r=0,u=o[c];r<l;++r)if((a=i[r]).type===u.type&&a.name===u.name)return u.value},dispatch:function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return X(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return X(this,e,t)}})(e,t))}};var J=Z,ee=function(e){return"string"==typeof e?new G([[document.querySelector(e)]],[document.documentElement]):new G([[e]],K)},te=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function ne(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function re(){}var ae="\\s*([+-]?\\d+)\\s*",ie="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",le="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",oe=/^#([0-9a-f]{3,8})$/,ue=new RegExp("^rgb\\("+[ae,ae,ae]+"\\)$"),ce=new RegExp("^rgb\\("+[le,le,le]+"\\)$"),se=new RegExp("^rgba\\("+[ae,ae,ae,ie]+"\\)$"),fe=new RegExp("^rgba\\("+[le,le,le,ie]+"\\)$"),de=new RegExp("^hsl\\("+[ie,le,le]+"\\)$"),he=new RegExp("^hsla\\("+[ie,le,le,ie]+"\\)$"),pe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ge(){return this.rgb().formatHex()}function me(){return this.rgb().formatRgb()}function ve(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=oe.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ye(t):3===n?new we(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?be(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?be(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ue.exec(e))?new we(t[1],t[2],t[3],1):(t=ce.exec(e))?new we(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=se.exec(e))?be(t[1],t[2],t[3],t[4]):(t=fe.exec(e))?be(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=de.exec(e))?Ee(t[1],t[2]/100,t[3]/100,1):(t=he.exec(e))?Ee(t[1],t[2]/100,t[3]/100,t[4]):pe.hasOwnProperty(e)?ye(pe[e]):"transparent"===e?new we(NaN,NaN,NaN,0):null}function ye(e){return new we(e>>16&255,e>>8&255,255&e,1)}function be(e,t,n,r){return r<=0&&(e=t=n=NaN),new we(e,t,n,r)}function _e(e,t,n,r){return 1===arguments.length?function(e){return e instanceof re||(e=ve(e)),e?new we((e=e.rgb()).r,e.g,e.b,e.opacity):new we}(e):new we(e,t,n,null==r?1:r)}function we(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function xe(){return"#"+Te(this.r)+Te(this.g)+Te(this.b)}function ke(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Te(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Ee(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Se(e,t,n,r)}function Ce(e){if(e instanceof Se)return new Se(e.h,e.s,e.l,e.opacity);if(e instanceof re||(e=ve(e)),!e)return new Se;if(e instanceof Se)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),i=Math.max(t,n,r),l=NaN,o=i-a,u=(i+a)/2;return o?(l=t===i?(n-r)/o+6*(n<r):n===i?(r-t)/o+2:(t-n)/o+4,o/=u<.5?i+a:2-i-a,l*=60):o=u>0&&u<1?0:l,new Se(l,o,u,e.opacity)}function Se(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Me(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Pe(e,t,n,r,a){var i=e*e,l=i*e;return((1-3*e+3*i-l)*t+(4-6*i+3*l)*n+(1+3*e+3*i-3*l)*r+l*a)/6}te(re,ve,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ge,formatHex:ge,formatHsl:function(){return Ce(this).formatHsl()},formatRgb:me,toString:me}),te(we,_e,ne(re,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new we(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new we(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:xe,formatHex:xe,formatRgb:ke,toString:ke})),te(Se,(function(e,t,n,r){return 1===arguments.length?Ce(e):new Se(e,t,n,null==r?1:r)}),ne(re,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Se(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Se(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new we(Me(e>=240?e-240:e+120,a,r),Me(e,a,r),Me(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Ne=function(e){return function(){return e}};function Ae(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Ne(isNaN(e)?t:e)}var Oe=function e(t){var n=function(e){return 1==(e=+e)?Ae:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ne(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=_e(e)).r,(t=_e(t)).r),a=n(e.g,t.g),i=n(e.b,t.b),l=Ae(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=i(t),e.opacity=l(t),e+""}}return r.gamma=e,r}(1);function ze(e){return function(t){var n,r,a=t.length,i=new Array(a),l=new Array(a),o=new Array(a);for(n=0;n<a;++n)r=_e(t[n]),i[n]=r.r||0,l[n]=r.g||0,o[n]=r.b||0;return i=e(i),l=e(l),o=e(o),r.opacity=1,function(e){return r.r=i(e),r.g=l(e),r.b=o(e),r+""}}}ze((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[r],i=e[r+1],l=r>0?e[r-1]:2*a-i,o=r<t-1?e[r+2]:2*i-a;return Pe((n-r/t)*t,l,a,i,o)}})),ze((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),a=e[(r+t-1)%t],i=e[r%t],l=e[(r+1)%t],o=e[(r+2)%t];return Pe((n-r/t)*t,a,i,l,o)}}));var Be,De,Le=function(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}},Re=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Fe=new RegExp(Re.source,"g"),Ue=function(e,t){var n,r,a,i=Re.lastIndex=Fe.lastIndex=0,l=-1,o=[],u=[];for(e+="",t+="";(n=Re.exec(e))&&(r=Fe.exec(t));)(a=r.index)>i&&(a=t.slice(i,a),o[l]?o[l]+=a:o[++l]=a),(n=n[0])===(r=r[0])?o[l]?o[l]+=r:o[++l]=r:(o[++l]=null,u.push({i:l,x:Le(n,r)})),i=Fe.lastIndex;return i<t.length&&(a=t.slice(i),o[l]?o[l]+=a:o[++l]=a),o.length<2?u[0]?function(e){return function(t){return e(t)+""}}(u[0].x):function(e){return function(){return e}}(t):(t=u.length,function(e){for(var n,r=0;r<t;++r)o[(n=u[r]).i]=n.x(e);return o.join("")})},Ie=0,$e=0,je=0,He=0,Ve=0,We=0,Ye="object"==typeof performance&&performance.now?performance:Date,qe="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Qe(){return Ve||(qe(Xe),Ve=Ye.now()+We)}function Xe(){Ve=0}function Ke(){this._call=this._time=this._next=null}function Ge(e,t,n){var r=new Ke;return r.restart(e,t,n),r}function Ze(){Ve=(He=Ye.now())+We,Ie=$e=0;try{!function(){Qe(),++Ie;for(var e,t=Be;t;)(e=Ve-t._time)>=0&&t._call.call(null,e),t=t._next;--Ie}()}finally{Ie=0,function(){for(var e,t,n=Be,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Be=t);De=e,et(r)}(),Ve=0}}function Je(){var e=Ye.now(),t=e-He;t>1e3&&(We-=t,He=e)}function et(e){Ie||($e&&($e=clearTimeout($e)),e-Ve>24?(e<1/0&&($e=setTimeout(Ze,e-Ye.now()-We)),je&&(je=clearInterval(je))):(je||(He=Ye.now(),je=setInterval(Je,1e3)),Ie=1,qe(Ze)))}Ke.prototype=Ge.prototype={constructor:Ke,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Qe():+n)+(null==t?0:+t),this._next||De===this||(De?De._next=this:Be=this,De=this),this._call=e,this._time=n,et()},stop:function(){this._call&&(this._call=null,this._time=1/0,et())}};var tt=function(e,t,n){var r=new Ke;return t=null==t?0:+t,r.restart((function(n){r.stop(),e(n+t)}),t,n),r},nt=h("start","end","cancel","interrupt"),rt=[],at=function(e,t,n,r,a,i){var l=e.__transition;if(l){if(n in l)return}else e.__transition={};!function(e,t,n){var r,a=e.__transition;function i(u){var c,s,f,d;if(1!==n.state)return o();for(c in a)if((d=a[c]).name===n.name){if(3===d.state)return tt(i);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete a[c]):+c<t&&(d.state=6,d.timer.stop(),d.on.call("cancel",e,e.__data__,d.index,d.group),delete a[c])}if(tt((function(){3===n.state&&(n.state=4,n.timer.restart(l,n.delay,n.time),l(u))})),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(f=n.tween.length),c=0,s=-1;c<f;++c)(d=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++s]=d);r.length=s+1}}function l(t){for(var a=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(o),n.state=5,1),i=-1,l=r.length;++i<l;)r[i].call(e,a);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),o())}function o(){for(var r in n.state=6,n.timer.stop(),delete a[t],a)return;delete e.__transition}a[t]=n,n.timer=Ge((function(e){n.state=1,n.timer.restart(i,n.delay,n.time),n.delay<=e&&i(e-n.delay)}),0,n.time)}(e,n,{name:t,index:r,group:a,on:nt,tween:rt,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})};function it(e,t){var n=ot(e,t);if(n.state>0)throw new Error("too late; already scheduled");return n}function lt(e,t){var n=ot(e,t);if(n.state>3)throw new Error("too late; already running");return n}function ot(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}var ut,ct,st,ft,dt=180/Math.PI,ht={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},pt=function(e,t,n,r,a,i){var l,o,u;return(l=Math.sqrt(e*e+t*t))&&(e/=l,t/=l),(u=e*n+t*r)&&(n-=e*u,r-=t*u),(o=Math.sqrt(n*n+r*r))&&(n/=o,r/=o,u/=o),e*r<t*n&&(e=-e,t=-t,u=-u,l=-l),{translateX:a,translateY:i,rotate:Math.atan2(t,e)*dt,skewX:Math.atan(u)*dt,scaleX:l,scaleY:o}};function gt(e,t,n,r){function a(e){return e.length?e.pop()+" ":""}return function(i,l){var o=[],u=[];return i=e(i),l=e(l),function(e,r,a,i,l,o){if(e!==a||r!==i){var u=l.push("translate(",null,t,null,n);o.push({i:u-4,x:Le(e,a)},{i:u-2,x:Le(r,i)})}else(a||i)&&l.push("translate("+a+t+i+n)}(i.translateX,i.translateY,l.translateX,l.translateY,o,u),function(e,t,n,i){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(a(n)+"rotate(",null,r)-2,x:Le(e,t)})):t&&n.push(a(n)+"rotate("+t+r)}(i.rotate,l.rotate,o,u),function(e,t,n,i){e!==t?i.push({i:n.push(a(n)+"skewX(",null,r)-2,x:Le(e,t)}):t&&n.push(a(n)+"skewX("+t+r)}(i.skewX,l.skewX,o,u),function(e,t,n,r,i,l){if(e!==n||t!==r){var o=i.push(a(i)+"scale(",null,",",null,")");l.push({i:o-4,x:Le(e,n)},{i:o-2,x:Le(t,r)})}else 1===n&&1===r||i.push(a(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,l.scaleX,l.scaleY,o,u),i=l=null,function(e){for(var t,n=-1,r=u.length;++n<r;)o[(t=u[n]).i]=t.x(e);return o.join("")}}}var mt=gt((function(e){return"none"===e?ht:(ut||(ut=document.createElement("DIV"),ct=document.documentElement,st=document.defaultView),ut.style.transform=e,e=st.getComputedStyle(ct.appendChild(ut),null).getPropertyValue("transform"),ct.removeChild(ut),e=e.slice(7,-1).split(","),pt(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}),"px, ","px)","deg)"),vt=gt((function(e){return null==e?ht:(ft||(ft=document.createElementNS("http://www.w3.org/2000/svg","g")),ft.setAttribute("transform",e),(e=ft.transform.baseVal.consolidate())?(e=e.matrix,pt(e.a,e.b,e.c,e.d,e.e,e.f)):ht)}),", ",")",")");function yt(e,t,n){var r=e._id;return e.each((function(){var e=lt(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return ot(e,r).value[t]}}var bt=function(e,t){var n;return("number"==typeof t?Le:t instanceof ve?Oe:(n=ve(t))?(t=n,Oe):Ue)(e,t)},_t=J.prototype.constructor;function wt(e){return function(){this.style.removeProperty(e)}}var xt=0;function kt(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Tt(){return++xt}var Et=J.prototype;kt.prototype=function(e){return J().transition(e)}.prototype={constructor:kt,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=g(e));for(var r=this._groups,a=r.length,i=new Array(a),l=0;l<a;++l)for(var o,u,c=r[l],s=c.length,f=i[l]=new Array(s),d=0;d<s;++d)(o=c[d])&&(u=e.call(o,o.__data__,d,c))&&("__data__"in o&&(u.__data__=o.__data__),f[d]=u,at(f[d],t,n,d,f,ot(o,n)));return new kt(i,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=v(e));for(var r=this._groups,a=r.length,i=[],l=[],o=0;o<a;++o)for(var u,c=r[o],s=c.length,f=0;f<s;++f)if(u=c[f]){for(var d,h=e.call(u,u.__data__,f,c),p=ot(u,n),g=0,m=h.length;g<m;++g)(d=h[g])&&at(d,t,n,g,h,p);i.push(h),l.push(u)}return new kt(i,l,t,n)},filter:function(e){"function"!=typeof e&&(e=y(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var i,l=t[a],o=l.length,u=r[a]=[],c=0;c<o;++c)(i=l[c])&&e.call(i,i.__data__,c,l)&&u.push(i);return new kt(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,a=n.length,i=Math.min(r,a),l=new Array(r),o=0;o<i;++o)for(var u,c=t[o],s=n[o],f=c.length,d=l[o]=new Array(f),h=0;h<f;++h)(u=c[h]||s[h])&&(d[h]=u);for(;o<r;++o)l[o]=t[o];return new kt(l,this._parents,this._name,this._id)},selection:function(){return new _t(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Tt(),r=this._groups,a=r.length,i=0;i<a;++i)for(var l,o=r[i],u=o.length,c=0;c<u;++c)if(l=o[c]){var s=ot(l,t);at(l,e,n,c,o,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new kt(r,this._parents,e,n)},call:Et.call,nodes:Et.nodes,node:Et.node,size:Et.size,empty:Et.empty,each:Et.each,on:function(e,t){var n=this._id;return arguments.length<2?ot(this.node(),n).on.on(e):this.each(function(e,t,n){var r,a,i=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?it:lt;return function(){var l=i(this,e),o=l.on;o!==r&&(a=(r=o).copy()).on(t,n),l.on=a}}(n,e,t))},attr:function(e,t){var n=C(e),r="transform"===n?vt:bt;return this.attrTween(e,"function"==typeof t?(n.local?function(e,t,n){var r,a,i;return function(){var l,o,u=n(this);if(null!=u)return(l=this.getAttributeNS(e.space,e.local))===(o=u+"")?null:l===r&&o===a?i:(a=o,i=t(r=l,u));this.removeAttributeNS(e.space,e.local)}}:function(e,t,n){var r,a,i;return function(){var l,o,u=n(this);if(null!=u)return(l=this.getAttribute(e))===(o=u+"")?null:l===r&&o===a?i:(a=o,i=t(r=l,u));this.removeAttribute(e)}})(n,r,yt(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,a,i=n+"";return function(){var l=this.getAttributeNS(e.space,e.local);return l===i?null:l===r?a:a=t(r=l,n)}}:function(e,t,n){var r,a,i=n+"";return function(){var l=this.getAttribute(e);return l===i?null:l===r?a:a=t(r=l,n)}})(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=C(e);return this.tween(n,(r.local?function(e,t){var n,r;function a(){var a=t.apply(this,arguments);return a!==r&&(n=(r=a)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,a)),n}return a._value=t,a}:function(e,t){var n,r;function a(){var a=t.apply(this,arguments);return a!==r&&(n=(r=a)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,a)),n}return a._value=t,a})(r,t))},style:function(e,t,n){var r="transform"==(e+="")?mt:bt;return null==t?this.styleTween(e,function(e,t){var n,r,a;return function(){var i=M(this,e),l=(this.style.removeProperty(e),M(this,e));return i===l?null:i===n&&l===r?a:a=t(n=i,r=l)}}(e,r)).on("end.style."+e,wt(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,a,i;return function(){var l=M(this,e),o=n(this),u=o+"";return null==o&&(this.style.removeProperty(e),u=o=M(this,e)),l===u?null:l===r&&u===a?i:(a=u,i=t(r=l,o))}}(e,r,yt(this,"style."+e,t))).each(function(e,t){var n,r,a,i,l="style."+t,o="end."+l;return function(){var u=lt(this,e),c=u.on,s=null==u.value[l]?i||(i=wt(t)):void 0;c===n&&a===s||(r=(n=c).copy()).on(o,a=s),u.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,a,i=n+"";return function(){var l=M(this,e);return l===i?null:l===r?a:a=t(r=l,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,a;function i(){var i=t.apply(this,arguments);return i!==a&&(r=(a=i)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,i,n)),r}return i._value=t,i}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(yt(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,a=ot(this.node(),n).tween,i=0,l=a.length;i<l;++i)if((r=a[i]).name===e)return r.value;return null}return this.each((null==t?function(e,t){var n,r;return function(){var a=lt(this,e),i=a.tween;if(i!==n)for(var l=0,o=(r=n=i).length;l<o;++l)if(r[l].name===t){(r=r.slice()).splice(l,1);break}a.tween=r}}:function(e,t,n){var r,a;if("function"!=typeof n)throw new Error;return function(){var i=lt(this,e),l=i.tween;if(l!==r){a=(r=l).slice();for(var o={name:t,value:n},u=0,c=a.length;u<c;++u)if(a[u].name===t){a[u]=o;break}u===c&&a.push(o)}i.tween=a}})(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){it(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){it(this,e).delay=t}})(t,e)):ot(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){lt(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){lt(this,e).duration=t}})(t,e)):ot(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){lt(this,e).ease=t}}(t,e)):ot(this.node(),t).ease},end:function(){var e,t,n=this,r=n._id,a=n.size();return new Promise((function(i,l){var o={value:l},u={value:function(){0==--a&&i()}};n.each((function(){var n=lt(this,r),a=n.on;a!==e&&((t=(e=a).copy())._.cancel.push(o),t._.interrupt.push(o),t._.end.push(u)),n.on=t}))}))}};var Ct={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function St(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))return Ct.time=Qe(),Ct;return n}function Mt(e){return{type:e}}J.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,a,i=e.__transition,l=!0;if(i){for(a in t=null==t?null:t+"",i)(n=i[a]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete i[a]):l=!1;l&&delete e.__transition}}(this,e)}))},J.prototype.transition=function(e){var t,n;e instanceof kt?(t=e._id,e=e._name):(t=Tt(),(n=Ct).time=Qe(),e=null==e?null:e+"");for(var r=this._groups,a=r.length,i=0;i<a;++i)for(var l,o=r[i],u=o.length,c=0;c<u;++c)(l=o[c])&&at(l,e,t,c,o,n||St(l,t));return new kt(r,this._parents,e,t)},["w","e"].map(Mt),["n","s"].map(Mt),["n","w","e","s","nw","ne","sw","se"].map(Mt),Math.cos,Math.sin,Math.PI,Math.max,Array.prototype.slice;var Pt=Math.PI,Nt=2*Pt,At=Nt-1e-6;function Ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function zt(){}function Bt(e,t){var n=new zt;if(e instanceof zt)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,a=-1,i=e.length;if(null==t)for(;++a<i;)n.set(a,e[a]);else for(;++a<i;)n.set(t(r=e[a],a,e),r)}else if(e)for(var l in e)n.set(l,e[l]);return n}function Dt(){}Ot.prototype=function(){return new Ot}.prototype={constructor:Ot,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,a,i){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+a)+","+(this._y1=+i)},arcTo:function(e,t,n,r,a){e=+e,t=+t,n=+n,r=+r,a=+a;var i=this._x1,l=this._y1,o=n-e,u=r-t,c=i-e,s=l-t,f=c*c+s*s;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(s*o-u*c)>1e-6&&a){var d=n-i,h=r-l,p=o*o+u*u,g=d*d+h*h,m=Math.sqrt(p),v=Math.sqrt(f),y=a*Math.tan((Pt-Math.acos((p+f-g)/(2*m*v)))/2),b=y/v,_=y/m;Math.abs(b-1)>1e-6&&(this._+="L"+(e+b*c)+","+(t+b*s)),this._+="A"+a+","+a+",0,0,"+ +(s*d>c*h)+","+(this._x1=e+_*o)+","+(this._y1=t+_*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,a,i){e=+e,t=+t,i=!!i;var l=(n=+n)*Math.cos(r),o=n*Math.sin(r),u=e+l,c=t+o,s=1^i,f=i?r-a:a-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+u+","+c),n&&(f<0&&(f=f%Nt+Nt),f>At?this._+="A"+n+","+n+",0,1,"+s+","+(e-l)+","+(t-o)+"A"+n+","+n+",0,1,"+s+","+(this._x1=u)+","+(this._y1=c):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Pt)+","+s+","+(this._x1=e+n*Math.cos(a))+","+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},zt.prototype=Bt.prototype={constructor:zt,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var Lt=Bt.prototype;Dt.prototype=function(e,t){var n=new Dt;if(e instanceof Dt)e.each((function(e){n.add(e)}));else if(e){var r=-1,a=e.length;if(null==t)for(;++r<a;)n.add(e[r]);else for(;++r<a;)n.add(t(e[r],r,e))}return n}.prototype={constructor:Dt,has:Lt.has,add:function(e){return this["$"+(e+="")]=e,this},remove:Lt.remove,clear:Lt.clear,values:Lt.keys,size:Lt.size,empty:Lt.empty,each:Lt.each},Array.prototype.slice;var Rt={},Ft={};function Ut(e){return new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+'] || ""'})).join(",")+"}")}function It(e){var t=Object.create(null),n=[];return e.forEach((function(e){for(var r in e)r in t||n.push(t[r]=r)})),n}function $t(e,t){var n=e+"",r=n.length;return r<t?new Array(t-r+1).join(0)+n:n}var jt=function(e){var t=new RegExp('["'+e+"\n\r]"),n=e.charCodeAt(0);function r(e,t){var r,a=[],i=e.length,l=0,o=0,u=i<=0,c=!1;function s(){if(u)return Ft;if(c)return c=!1,Rt;var t,r,a=l;if(34===e.charCodeAt(a)){for(;l++<i&&34!==e.charCodeAt(l)||34===e.charCodeAt(++l););return(t=l)>=i?u=!0:10===(r=e.charCodeAt(l++))?c=!0:13===r&&(c=!0,10===e.charCodeAt(l)&&++l),e.slice(a+1,t-1).replace(/""/g,'"')}for(;l<i;){if(10===(r=e.charCodeAt(t=l++)))c=!0;else if(13===r)c=!0,10===e.charCodeAt(l)&&++l;else if(r!==n)continue;return e.slice(a,t)}return u=!0,e.slice(a,i)}for(10===e.charCodeAt(i-1)&&--i,13===e.charCodeAt(i-1)&&--i;(r=s())!==Ft;){for(var f=[];r!==Rt&&r!==Ft;)f.push(r),r=s();t&&null==(f=t(f,o++))||a.push(f)}return a}function a(t,n){return t.map((function(t){return n.map((function(e){return l(t[e])})).join(e)}))}function i(t){return t.map(l).join(e)}function l(e){return null==e?"":e instanceof Date?function(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),a=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":function(e){return e<0?"-"+$t(-e,6):e>9999?"+"+$t(e,6):$t(e,4)}(e.getUTCFullYear())+"-"+$t(e.getUTCMonth()+1,2)+"-"+$t(e.getUTCDate(),2)+(a?"T"+$t(t,2)+":"+$t(n,2)+":"+$t(r,2)+"."+$t(a,3)+"Z":r?"T"+$t(t,2)+":"+$t(n,2)+":"+$t(r,2)+"Z":n||t?"T"+$t(t,2)+":"+$t(n,2)+"Z":"")}(e):t.test(e+="")?'"'+e.replace(/"/g,'""')+'"':e}return{parse:function(e,t){var n,a,i=r(e,(function(e,r){if(n)return n(e,r-1);a=e,n=t?function(e,t){var n=Ut(e);return function(r,a){return t(n(r),a,e)}}(e,t):Ut(e)}));return i.columns=a||[],i},parseRows:r,format:function(t,n){return null==n&&(n=It(t)),[n.map(l).join(e)].concat(a(t,n)).join("\n")},formatBody:function(e,t){return null==t&&(t=It(e)),a(e,t).join("\n")},formatRows:function(e){return e.map(i).join("\n")},formatRow:i,formatValue:l}},Ht=jt(","),Vt=Ht.parse,Wt=(Ht.parseRows,Ht.format,Ht.formatBody,Ht.formatRows,Ht.formatRow,Ht.formatValue,jt("\t")),Yt=Wt.parse;function qt(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.text()}Wt.parseRows,Wt.format,Wt.formatBody,Wt.formatRows,Wt.formatRow,Wt.formatValue;var Qt=function(e,t){return fetch(e,t).then(qt)};function Xt(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),Qt(t,n).then((function(t){return e(t,r)}))}}function Kt(e){return function(t,n){return Qt(t,n).then((function(t){return(new DOMParser).parseFromString(t,e)}))}}function Gt(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var a,i,l,o,u,c,s,f,d,h=e._root,p={data:r},g=e._x0,m=e._y0,v=e._x1,y=e._y1;if(!h)return e._root=p,e;for(;h.length;)if((c=t>=(i=(g+v)/2))?g=i:v=i,(s=n>=(l=(m+y)/2))?m=l:y=l,a=h,!(h=h[f=s<<1|c]))return a[f]=p,e;if(o=+e._x.call(null,h.data),u=+e._y.call(null,h.data),t===o&&n===u)return p.next=h,a?a[f]=p:e._root=p,e;do{a=a?a[f]=new Array(4):e._root=new Array(4),(c=t>=(i=(g+v)/2))?g=i:v=i,(s=n>=(l=(m+y)/2))?m=l:y=l}while((f=s<<1|c)==(d=(u>=l)<<1|o>=i));return a[d]=h,a[f]=p,e}Xt(Vt),Xt(Yt),Kt("application/xml"),Kt("text/html"),Kt("image/svg+xml");var Zt=function(e,t,n,r,a){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=a};function Jt(e){return e[0]}function en(e){return e[1]}function tn(e,t,n,r,a,i){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=a,this._y1=i,this._root=void 0}function nn(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var rn=function(e,t,n){var r=new tn(null==t?Jt:t,null==n?en:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}.prototype=tn.prototype;rn.copy=function(){var e,t,n=new tn(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=nn(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var a=0;a<4;++a)(t=r.source[a])&&(t.length?e.push({source:t,target:r.target[a]=new Array(4)}):r.target[a]=nn(t));return n},rn.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return Gt(this.cover(t,n),t,n,e)},rn.addAll=function(e){var t,n,r,a,i=e.length,l=new Array(i),o=new Array(i),u=1/0,c=1/0,s=-1/0,f=-1/0;for(n=0;n<i;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(a=+this._y.call(null,t))||(l[n]=r,o[n]=a,r<u&&(u=r),r>s&&(s=r),a<c&&(c=a),a>f&&(f=a));if(u>s||c>f)return this;for(this.cover(u,c).cover(s,f),n=0;n<i;++n)Gt(this,l[n],o[n],e[n]);return this},rn.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,a=this._x1,i=this._y1;if(isNaN(n))a=(n=Math.floor(e))+1,i=(r=Math.floor(t))+1;else{for(var l,o,u=a-n,c=this._root;n>e||e>=a||r>t||t>=i;)switch(o=(t<r)<<1|e<n,(l=new Array(4))[o]=c,c=l,u*=2,o){case 0:a=n+u,i=r+u;break;case 1:n=a-u,i=r+u;break;case 2:a=n+u,r=i-u;break;case 3:n=a-u,r=i-u}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=a,this._y1=i,this},rn.data=function(){var e=[];return this.visit((function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)})),e},rn.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},rn.find=function(e,t,n){var r,a,i,l,o,u,c,s=this._x0,f=this._y0,d=this._x1,h=this._y1,p=[],g=this._root;for(g&&p.push(new Zt(g,s,f,d,h)),null==n?n=1/0:(s=e-n,f=t-n,d=e+n,h=t+n,n*=n);u=p.pop();)if(!(!(g=u.node)||(a=u.x0)>d||(i=u.y0)>h||(l=u.x1)<s||(o=u.y1)<f))if(g.length){var m=(a+l)/2,v=(i+o)/2;p.push(new Zt(g[3],m,v,l,o),new Zt(g[2],a,v,m,o),new Zt(g[1],m,i,l,v),new Zt(g[0],a,i,m,v)),(c=(t>=v)<<1|e>=m)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var y=e-+this._x.call(null,g.data),b=t-+this._y.call(null,g.data),_=y*y+b*b;if(_<n){var w=Math.sqrt(n=_);s=e-w,f=t-w,d=e+w,h=t+w,r=g.data}}return r},rn.remove=function(e){if(isNaN(i=+this._x.call(null,e))||isNaN(l=+this._y.call(null,e)))return this;var t,n,r,a,i,l,o,u,c,s,f,d,h=this._root,p=this._x0,g=this._y0,m=this._x1,v=this._y1;if(!h)return this;if(h.length)for(;;){if((c=i>=(o=(p+m)/2))?p=o:m=o,(s=l>=(u=(g+v)/2))?g=u:v=u,t=h,!(h=h[f=s<<1|c]))return this;if(!h.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,d=f)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(a=h.next)&&delete h.next,r?(a?r.next=a:delete r.next,this):t?(a?t[f]=a:delete t[f],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=a,this)},rn.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},rn.root=function(){return this._root},rn.size=function(){var e=0;return this.visit((function(t){if(!t.length)do{++e}while(t=t.next)})),e},rn.visit=function(e){var t,n,r,a,i,l,o=[],u=this._root;for(u&&o.push(new Zt(u,this._x0,this._y0,this._x1,this._y1));t=o.pop();)if(!e(u=t.node,r=t.x0,a=t.y0,i=t.x1,l=t.y1)&&u.length){var c=(r+i)/2,s=(a+l)/2;(n=u[3])&&o.push(new Zt(n,c,s,i,l)),(n=u[2])&&o.push(new Zt(n,r,s,c,l)),(n=u[1])&&o.push(new Zt(n,c,a,i,s)),(n=u[0])&&o.push(new Zt(n,r,a,c,s))}return this},rn.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new Zt(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var a=t.node;if(a.length){var i,l=t.x0,o=t.y0,u=t.x1,c=t.y1,s=(l+u)/2,f=(o+c)/2;(i=a[0])&&n.push(new Zt(i,l,o,s,f)),(i=a[1])&&n.push(new Zt(i,s,o,u,f)),(i=a[2])&&n.push(new Zt(i,l,f,s,c)),(i=a[3])&&n.push(new Zt(i,s,f,u,c))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},rn.x=function(e){return arguments.length?(this._x=e,this):this._x},rn.y=function(e){return arguments.length?(this._y=e,this):this._y},Math.PI,Math.sqrt(5);var an=function(){return Math.random()},ln=(function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(an),function e(t){function n(e,n){var r,a;return e=null==e?0:+e,n=null==n?1:+n,function(){var i;if(null!=r)i=r,r=null;else do{r=2*t()-1,i=2*t()-1,a=r*r+i*i}while(!a||a>1);return e+n*i*Math.sqrt(-2*Math.log(a)/a)}}return n.source=e,n}(an)),on=(function e(t){function n(){var e=ln.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(an),function e(t){function n(e){return function(){for(var n=0,r=0;r<e;++r)n+=t();return n}}return n.source=e,n}(an));(function e(t){function n(e){var n=on.source(t)(e);return function(){return n()/e}}return n.source=e,n})(an),function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(an);var un=Array.prototype;un.map,un.slice;var cn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function sn(e){if(!(t=cn.exec(e)))throw new Error("invalid format: "+e);var t;return new fn({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function fn(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}sn.prototype=fn.prototype,fn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var dn,hn,pn=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},gn=function(e,t){var n=pn(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")},mn={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return gn(100*e,t)},r:gn,s:function(e,t){var n=pn(e,t);if(!n)return e+"";var r=n[0],a=n[1],i=a-(dn=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,l=r.length;return i===l?r:i>l?r+new Array(i-l+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+pn(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},vn=function(e){return e},yn=Array.prototype.map,bn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];(hn=function(e){var t=void 0===e.grouping||void 0===e.thousands?vn:function(e,t){return function(n,r){for(var a=n.length,i=[],l=0,o=e[0],u=0;a>0&&o>0&&(u+o+1>r&&(o=Math.max(1,r-u)),i.push(n.substring(a-=o,a+o)),!((u+=o+1)>r));)o=e[l=(l+1)%e.length];return i.reverse().join(t)}}(yn.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",i=void 0===e.numerals?vn:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(yn.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",o=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function c(e){var c=(e=sn(e)).fill,s=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,m=e.precision,v=e.trim,y=e.type;"n"===y?(g=!0,y="g"):mn[y]||(void 0===m&&(m=12),v=!0,y="g"),(h||"0"===c&&"="===s)&&(h=!0,c="0",s="=");var b="$"===d?n:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===d?r:/[%p]/.test(y)?l:"",w=mn[y],x=/[defgprs%]/.test(y);function k(e){var n,r,l,d=b,k=_;if("c"===y)k=w(e)+k,e="";else{var T=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),T&&0==+e&&"+"!==f&&(T=!1),d=(T?"("===f?f:o:"-"===f||"("===f?"":f)+d,k=("s"===y?bn[8+dn/3]:"")+k+(T&&"("===f?")":""),x)for(n=-1,r=e.length;++n<r;)if(48>(l=e.charCodeAt(n))||l>57){k=(46===l?a+e.slice(n+1):e.slice(n))+k,e=e.slice(0,n);break}}g&&!h&&(e=t(e,1/0));var E=d.length+e.length+k.length,C=E<p?new Array(p-E+1).join(c):"";switch(g&&h&&(e=t(C+e,C.length?p-k.length:1/0),C=""),s){case"<":e=d+e+k+C;break;case"=":e=d+C+e+k;break;case"^":e=C.slice(0,E=C.length>>1)+d+e+k+C.slice(E);break;default:e=C+d+e+k}return i(e)}return m=void 0===m?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:c,formatPrefix:function(e,t){var n=c(((e=sn(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=pn(Math.abs(e)))?e[1]:NaN}(t)/3))),a=Math.pow(10,-r),i=bn[8+r/3];return function(e){return n(a*e)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})).format,hn.formatPrefix;var _n=new Date,wn=new Date;function xn(e,t,n,r){function a(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return a.floor=function(t){return e(t=new Date(+t)),t},a.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},a.round=function(e){var t=a(e),n=a.ceil(e);return e-t<n-e?t:n},a.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},a.range=function(n,r,i){var l,o=[];if(n=a.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return o;do{o.push(l=new Date(+n)),t(n,i),e(n)}while(l<n&&n<r);return o},a.filter=function(n){return xn((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(a.count=function(t,r){return _n.setTime(+t),wn.setTime(+r),e(_n),e(wn),Math.floor(n(_n,wn))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(r?function(t){return r(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var kn=xn((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));kn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?xn((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var Tn=kn,En=((kn.range,xn((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))).range,6e4),Cn=6048e5;function Sn(e){return xn((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*En)/Cn}))}var Mn=Sn(0),Pn=Sn(1),Nn=Sn(2),An=Sn(3),On=Sn(4),zn=Sn(5),Bn=Sn(6),Dn=(Mn.range,Pn.range,Nn.range,An.range,On.range,zn.range,Bn.range,xn((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*En)/864e5}),(function(e){return e.getDate()-1}))),Ln=Dn,Rn=((((Dn.range,xn((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-e.getMinutes()*En)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getHours()}))).range,xn((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(+e+t*En)}),(function(e,t){return(t-e)/En}),(function(e){return e.getMinutes()}))).range,xn((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+1e3*t)}),(function(e,t){return(t-e)/1e3}),(function(e){return e.getUTCSeconds()}))).range,xn((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));function Fn(e){return xn((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Cn}))}Rn.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?xn((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Rn:null},Rn.range;var Un=Fn(0),In=Fn(1),$n=Fn(2),jn=Fn(3),Hn=Fn(4),Vn=Fn(5),Wn=Fn(6),Yn=(Un.range,In.range,$n.range,jn.range,Hn.range,Vn.range,Wn.range,xn((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/864e5}),(function(e){return e.getUTCDate()-1}))),qn=Yn,Qn=(Yn.range,xn((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Qn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?xn((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var Xn=Qn;function Kn(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Gn(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Zn(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}Qn.range;var Jn,er={"-":"",_:" ",0:"0"},tr=/^\s*\d+/,nr=/^%/,rr=/[\\^$*+?|[\]().{}]/g;function ar(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",i=a.length;return r+(i<n?new Array(n-i+1).join(t)+a:a)}function ir(e){return e.replace(rr,"\\$&")}function lr(e){return new RegExp("^(?:"+e.map(ir).join("|")+")","i")}function or(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function ur(e,t,n){var r=tr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function cr(e,t,n){var r=tr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function sr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function fr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function dr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function hr(e,t,n){var r=tr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function pr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function gr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function mr(e,t,n){var r=tr.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function vr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function yr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function br(e,t,n){var r=tr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function _r(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function wr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function xr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function kr(e,t,n){var r=tr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Tr(e,t,n){var r=tr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Er(e,t,n){var r=nr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Cr(e,t,n){var r=tr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Sr(e,t,n){var r=tr.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Mr(e,t){return ar(e.getDate(),t,2)}function Pr(e,t){return ar(e.getHours(),t,2)}function Nr(e,t){return ar(e.getHours()%12||12,t,2)}function Ar(e,t){return ar(1+Ln.count(Tn(e),e),t,3)}function Or(e,t){return ar(e.getMilliseconds(),t,3)}function zr(e,t){return Or(e,t)+"000"}function Br(e,t){return ar(e.getMonth()+1,t,2)}function Dr(e,t){return ar(e.getMinutes(),t,2)}function Lr(e,t){return ar(e.getSeconds(),t,2)}function Rr(e){var t=e.getDay();return 0===t?7:t}function Fr(e,t){return ar(Mn.count(Tn(e)-1,e),t,2)}function Ur(e,t){var n=e.getDay();return e=n>=4||0===n?On(e):On.ceil(e),ar(On.count(Tn(e),e)+(4===Tn(e).getDay()),t,2)}function Ir(e){return e.getDay()}function $r(e,t){return ar(Pn.count(Tn(e)-1,e),t,2)}function jr(e,t){return ar(e.getFullYear()%100,t,2)}function Hr(e,t){return ar(e.getFullYear()%1e4,t,4)}function Vr(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ar(t/60|0,"0",2)+ar(t%60,"0",2)}function Wr(e,t){return ar(e.getUTCDate(),t,2)}function Yr(e,t){return ar(e.getUTCHours(),t,2)}function qr(e,t){return ar(e.getUTCHours()%12||12,t,2)}function Qr(e,t){return ar(1+qn.count(Xn(e),e),t,3)}function Xr(e,t){return ar(e.getUTCMilliseconds(),t,3)}function Kr(e,t){return Xr(e,t)+"000"}function Gr(e,t){return ar(e.getUTCMonth()+1,t,2)}function Zr(e,t){return ar(e.getUTCMinutes(),t,2)}function Jr(e,t){return ar(e.getUTCSeconds(),t,2)}function ea(e){var t=e.getUTCDay();return 0===t?7:t}function ta(e,t){return ar(Un.count(Xn(e)-1,e),t,2)}function na(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Hn(e):Hn.ceil(e),ar(Hn.count(Xn(e),e)+(4===Xn(e).getUTCDay()),t,2)}function ra(e){return e.getUTCDay()}function aa(e,t){return ar(In.count(Xn(e)-1,e),t,2)}function ia(e,t){return ar(e.getUTCFullYear()%100,t,2)}function la(e,t){return ar(e.getUTCFullYear()%1e4,t,4)}function oa(){return"+0000"}function ua(){return"%"}function ca(e){return+e}function sa(e){return Math.floor(+e/1e3)}function fa(){this._=null}function da(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function ha(e,t){var n=t,r=t.R,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function pa(e,t){var n=t,r=t.L,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function ga(e){for(;e.L;)e=e.L;return e}(Jn=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,i=e.days,l=e.shortDays,o=e.months,u=e.shortMonths,c=lr(a),s=or(a),f=lr(i),d=or(i),h=lr(l),p=or(l),g=lr(o),m=or(o),v=lr(u),y=or(u),b={a:function(e){return l[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return o[e.getMonth()]},c:null,d:Mr,e:Mr,f:zr,H:Pr,I:Nr,j:Ar,L:Or,m:Br,M:Dr,p:function(e){return a[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ca,s:sa,S:Lr,u:Rr,U:Fr,V:Ur,w:Ir,W:$r,x:null,X:null,y:jr,Y:Hr,Z:Vr,"%":ua},_={a:function(e){return l[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return o[e.getUTCMonth()]},c:null,d:Wr,e:Wr,f:Kr,H:Yr,I:qr,j:Qr,L:Xr,m:Gr,M:Zr,p:function(e){return a[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ca,s:sa,S:Jr,u:ea,U:ta,V:na,w:ra,W:aa,x:null,X:null,y:ia,Y:la,Z:oa,"%":ua},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return T(e,t,n,r)},d:yr,e:yr,f:Tr,H:_r,I:_r,j:br,L:kr,m:vr,M:wr,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=s[r[0].toLowerCase()],n+r[0].length):-1},q:mr,Q:Cr,s:Sr,S:xr,u:cr,U:sr,V:fr,w:ur,W:dr,x:function(e,t,r){return T(e,n,t,r)},X:function(e,t,n){return T(e,r,t,n)},y:pr,Y:hr,Z:gr,"%":Er};function x(e,t){return function(n){var r,a,i,l=[],o=-1,u=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++o<c;)37===e.charCodeAt(o)&&(l.push(e.slice(u,o)),null!=(a=er[r=e.charAt(++o)])?r=e.charAt(++o):a="e"===r?" ":"0",(i=t[r])&&(r=i(n,a)),l.push(r),u=o+1);return l.push(e.slice(u,o)),l.join("")}}function k(e,t){return function(n){var r,a,i=Zn(1900,void 0,1);if(T(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!t||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(r=(a=(r=Gn(Zn(i.y,0,1))).getUTCDay())>4||0===a?In.ceil(r):In(r),r=qn.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(r=(a=(r=Kn(Zn(i.y,0,1))).getDay())>4||0===a?Pn.ceil(r):Pn(r),r=Ln.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),a="Z"in i?Gn(Zn(i.y,0,1)).getUTCDay():Kn(Zn(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Gn(i)):Kn(i)}}function T(e,t,n,r){for(var a,i,l=0,o=t.length,u=n.length;l<o;){if(r>=u)return-1;if(37===(a=t.charCodeAt(l++))){if(a=t.charAt(l++),!(i=w[a in er?t.charAt(l++):a])||(r=i(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return b.x=x(n,b),b.X=x(r,b),b.c=x(t,b),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,Jn.parse,Jn.utcFormat,Jn.utcParse,((xn((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})).range,xn((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getUTCHours()}))).range,xn((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*En)}),(function(e,t){return(t-e)/En}),(function(e){return e.getUTCMinutes()}))).range,fa.prototype={constructor:fa,insert:function(e,t){var n,r,a;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=ga(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(a=r.R)&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.R&&(ha(this,n),n=(e=n).U),n.C=!1,r.C=!0,pa(this,r)):(a=r.L)&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.L&&(pa(this,n),n=(e=n).U),n.C=!1,r.C=!0,ha(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,a=e.U,i=e.L,l=e.R;if(n=i?l?ga(l):i:l,a?a.L===e?a.L=n:a.R=n:this._=n,i&&l?(r=n.C,n.C=e.C,n.L=i,i.U=n,n!==l?(a=n.U,n.U=e.U,e=n.R,a.L=e,n.R=l,l.U=n):(n.U=a,a=n,e=n.R)):(r=e.C,e=n),e&&(e.U=a),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===a.L){if((t=a.R).C&&(t.C=!1,a.C=!0,ha(this,a),t=a.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,pa(this,t),t=a.R),t.C=a.C,a.C=t.R.C=!1,ha(this,a),e=this._;break}}else if((t=a.L).C&&(t.C=!1,a.C=!0,pa(this,a),t=a.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,ha(this,t),t=a.L),t.C=a.C,a.C=t.L.C=!1,pa(this,a),e=this._;break}t.C=!0,e=a,a=a.U}while(!e.C);e&&(e.C=!1)}}};var ma=fa;function va(e,t,n,r){var a=[null,null],i=Ua.push(a)-1;return a.left=e,a.right=t,n&&ba(a,e,t,n),r&&ba(a,t,e,r),Ra[e.index].halfedges.push(i),Ra[t.index].halfedges.push(i),a}function ya(e,t,n){var r=[t,n];return r.left=e,r}function ba(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function _a(e,t,n,r,a){var i,l=e[0],o=e[1],u=l[0],c=l[1],s=0,f=1,d=o[0]-u,h=o[1]-c;if(i=t-u,d||!(i>0)){if(i/=d,d<0){if(i<s)return;i<f&&(f=i)}else if(d>0){if(i>f)return;i>s&&(s=i)}if(i=r-u,d||!(i<0)){if(i/=d,d<0){if(i>f)return;i>s&&(s=i)}else if(d>0){if(i<s)return;i<f&&(f=i)}if(i=n-c,h||!(i>0)){if(i/=h,h<0){if(i<s)return;i<f&&(f=i)}else if(h>0){if(i>f)return;i>s&&(s=i)}if(i=a-c,h||!(i<0)){if(i/=h,h<0){if(i>f)return;i>s&&(s=i)}else if(h>0){if(i<s)return;i<f&&(f=i)}return!(s>0||f<1)||(s>0&&(e[0]=[u+s*d,c+s*h]),f<1&&(e[1]=[u+f*d,c+f*h]),!0)}}}}}function wa(e,t,n,r,a){var i=e[1];if(i)return!0;var l,o,u=e[0],c=e.left,s=e.right,f=c[0],d=c[1],h=s[0],p=s[1],g=(f+h)/2,m=(d+p)/2;if(p===d){if(g<t||g>=r)return;if(f>h){if(u){if(u[1]>=a)return}else u=[g,n];i=[g,a]}else{if(u){if(u[1]<n)return}else u=[g,a];i=[g,n]}}else if(o=m-(l=(f-h)/(p-d))*g,l<-1||l>1)if(f>h){if(u){if(u[1]>=a)return}else u=[(n-o)/l,n];i=[(a-o)/l,a]}else{if(u){if(u[1]<n)return}else u=[(a-o)/l,a];i=[(n-o)/l,n]}else if(d<p){if(u){if(u[0]>=r)return}else u=[t,l*t+o];i=[r,l*r+o]}else{if(u){if(u[0]<t)return}else u=[r,l*r+o];i=[t,l*t+o]}return e[0]=u,e[1]=i,!0}function xa(e,t){var n=e.site,r=t.left,a=t.right;return n===a&&(a=r,r=n),a?Math.atan2(a[1]-r[1],a[0]-r[0]):(n===r?(r=t[1],a=t[0]):(r=t[0],a=t[1]),Math.atan2(r[0]-a[0],a[1]-r[1]))}function ka(e,t){return t[+(t.left!==e.site)]}function Ta(e,t){return t[+(t.left===e.site)]}var Ea,Ca=[];function Sa(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,a=e.site,i=n.site;if(r!==i){var l=a[0],o=a[1],u=r[0]-l,c=r[1]-o,s=i[0]-l,f=i[1]-o,d=2*(u*f-c*s);if(!(d>=-$a)){var h=u*u+c*c,p=s*s+f*f,g=(f*h-c*p)/d,m=(u*p-s*h)/d,v=Ca.pop()||new function(){da(this),this.x=this.y=this.arc=this.site=this.cy=null};v.arc=e,v.site=a,v.x=g+l,v.y=(v.cy=m+o)+Math.sqrt(g*g+m*m),e.circle=v;for(var y=null,b=Fa._;b;)if(v.y<b.y||v.y===b.y&&v.x<=b.x){if(!b.L){y=b.P;break}b=b.L}else{if(!b.R){y=b;break}b=b.R}Fa.insert(y,v),y||(Ea=v)}}}}function Ma(e){var t=e.circle;t&&(t.P||(Ea=t.N),Fa.remove(t),Ca.push(t),da(t),e.circle=null)}var Pa=[];function Na(e){var t=Pa.pop()||new function(){da(this),this.edge=this.site=this.circle=null};return t.site=e,t}function Aa(e){Ma(e),La.remove(e),Pa.push(e),da(e)}function Oa(e){var t=e.circle,n=t.x,r=t.cy,a=[n,r],i=e.P,l=e.N,o=[e];Aa(e);for(var u=i;u.circle&&Math.abs(n-u.circle.x)<Ia&&Math.abs(r-u.circle.cy)<Ia;)i=u.P,o.unshift(u),Aa(u),u=i;o.unshift(u),Ma(u);for(var c=l;c.circle&&Math.abs(n-c.circle.x)<Ia&&Math.abs(r-c.circle.cy)<Ia;)l=c.N,o.push(c),Aa(c),c=l;o.push(c),Ma(c);var s,f=o.length;for(s=1;s<f;++s)c=o[s],u=o[s-1],ba(c.edge,u.site,c.site,a);u=o[0],(c=o[f-1]).edge=va(u.site,c.site,null,a),Sa(u),Sa(c)}function za(e){for(var t,n,r,a,i=e[0],l=e[1],o=La._;o;)if((r=Ba(o,l)-i)>Ia)o=o.L;else{if(!((a=i-Da(o,l))>Ia)){r>-Ia?(t=o.P,n=o):a>-Ia?(t=o,n=o.N):t=n=o;break}if(!o.R){t=o;break}o=o.R}!function(e){Ra[e.index]={site:e,halfedges:[]}}(e);var u=Na(e);if(La.insert(t,u),t||n){if(t===n)return Ma(t),n=Na(t.site),La.insert(u,n),u.edge=n.edge=va(t.site,u.site),Sa(t),void Sa(n);if(n){Ma(t),Ma(n);var c=t.site,s=c[0],f=c[1],d=e[0]-s,h=e[1]-f,p=n.site,g=p[0]-s,m=p[1]-f,v=2*(d*m-h*g),y=d*d+h*h,b=g*g+m*m,_=[(m*y-h*b)/v+s,(d*b-g*y)/v+f];ba(n.edge,c,p,_),u.edge=va(c,e,null,_),n.edge=va(e,p,null,_),Sa(t),Sa(n)}else u.edge=va(t.site,u.site)}}function Ba(e,t){var n=e.site,r=n[0],a=n[1],i=a-t;if(!i)return r;var l=e.P;if(!l)return-1/0;var o=(n=l.site)[0],u=n[1],c=u-t;if(!c)return o;var s=o-r,f=1/i-1/c,d=s/c;return f?(-d+Math.sqrt(d*d-2*f*(s*s/(-2*c)-u+c/2+a-i/2)))/f+r:(r+o)/2}function Da(e,t){var n=e.N;if(n)return Ba(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var La,Ra,Fa,Ua,Ia=1e-6,$a=1e-12;function ja(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function Ha(e,t){return t[1]-e[1]||t[0]-e[0]}function Va(e,t){var n,r,a,i=e.sort(Ha).pop();for(Ua=[],Ra=new Array(e.length),La=new ma,Fa=new ma;;)if(a=Ea,i&&(!a||i[1]<a.y||i[1]===a.y&&i[0]<a.x))i[0]===n&&i[1]===r||(za(i),n=i[0],r=i[1]),i=e.pop();else{if(!a)break;Oa(a.arc)}if(function(){for(var e,t,n,r,a=0,i=Ra.length;a<i;++a)if((e=Ra[a])&&(r=(t=e.halfedges).length)){var l=new Array(r),o=new Array(r);for(n=0;n<r;++n)l[n]=n,o[n]=xa(e,Ua[t[n]]);for(l.sort((function(e,t){return o[t]-o[e]})),n=0;n<r;++n)o[n]=t[l[n]];for(n=0;n<r;++n)t[n]=o[n]}}(),t){var l=+t[0][0],o=+t[0][1],u=+t[1][0],c=+t[1][1];!function(e,t,n,r){for(var a,i=Ua.length;i--;)wa(a=Ua[i],e,t,n,r)&&_a(a,e,t,n,r)&&(Math.abs(a[0][0]-a[1][0])>Ia||Math.abs(a[0][1]-a[1][1])>Ia)||delete Ua[i]}(l,o,u,c),function(e,t,n,r){var a,i,l,o,u,c,s,f,d,h,p,g,m=Ra.length,v=!0;for(a=0;a<m;++a)if(i=Ra[a]){for(l=i.site,o=(u=i.halfedges).length;o--;)Ua[u[o]]||u.splice(o,1);for(o=0,c=u.length;o<c;)p=(h=Ta(i,Ua[u[o]]))[0],g=h[1],f=(s=ka(i,Ua[u[++o%c]]))[0],d=s[1],(Math.abs(p-f)>Ia||Math.abs(g-d)>Ia)&&(u.splice(o,0,Ua.push(ya(l,h,Math.abs(p-e)<Ia&&r-g>Ia?[e,Math.abs(f-e)<Ia?d:r]:Math.abs(g-r)<Ia&&n-p>Ia?[Math.abs(d-r)<Ia?f:n,r]:Math.abs(p-n)<Ia&&g-t>Ia?[n,Math.abs(f-n)<Ia?d:t]:Math.abs(g-t)<Ia&&p-e>Ia?[Math.abs(d-t)<Ia?f:e,t]:null))-1),++c);c&&(v=!1)}if(v){var y,b,_,w=1/0;for(a=0,v=null;a<m;++a)(i=Ra[a])&&(_=(y=(l=i.site)[0]-e)*y+(b=l[1]-t)*b)<w&&(w=_,v=i);if(v){var x=[e,t],k=[e,r],T=[n,r],E=[n,t];v.halfedges.push(Ua.push(ya(l=v.site,x,k))-1,Ua.push(ya(l,k,T))-1,Ua.push(ya(l,T,E))-1,Ua.push(ya(l,E,x))-1)}}for(a=0;a<m;++a)(i=Ra[a])&&(i.halfedges.length||delete Ra[a])}(l,o,u,c)}this.edges=Ua,this.cells=Ra,La=Fa=Ua=Ra=null}function Wa(e,t,n){this.k=e,this.x=t,this.y=n}Va.prototype={constructor:Va,polygons:function(){var e=this.edges;return this.cells.map((function(t){var n=t.halfedges.map((function(n){return ka(t,e[n])}));return n.data=t.site.data,n}))},triangles:function(){var e=[],t=this.edges;return this.cells.forEach((function(n,r){if(i=(a=n.halfedges).length)for(var a,i,l,o=n.site,u=-1,c=t[a[i-1]],s=c.left===o?c.right:c.left;++u<i;)l=s,s=(c=t[a[u]]).left===o?c.right:c.left,l&&s&&r<l.index&&r<s.index&&ja(o,l,s)<0&&e.push([o.data,l.data,s.data])})),e},links:function(){return this.edges.filter((function(e){return e.right})).map((function(e){return{source:e.left.data,target:e.right.data}}))},find:function(e,t,n){for(var r,a,i=this,l=i._found||0,o=i.cells.length;!(a=i.cells[l]);)if(++l>=o)return null;var u=e-a.site[0],c=t-a.site[1],s=u*u+c*c;do{a=i.cells[r=l],l=null,a.halfedges.forEach((function(n){var r=i.edges[n],o=r.left;if(o!==a.site&&o||(o=r.right)){var u=e-o[0],c=t-o[1],f=u*u+c*c;f<s&&(s=f,l=o.index)}}))}while(null!==l);return i._found=r,null==n||s<=n*n?a.site:null}},Math.SQRT2,Wa.prototype={constructor:Wa,scale:function(e){return 1===e?this:new Wa(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new Wa(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Wa(1,0,0),Wa.prototype;var Ya=n(0),qa=n.n(Ya);function Qa(e,t,n,r,a){return(n-t)*(e-r)/(a-r)+t}var Xa=function(e){return Object(r.useEffect)((function(){ee(".viz > *").remove(),function(e){ee(".viz > *").remove(),ee(".viz").style("overflow-x","hidden").style("overflow-y","hidden").style("position","fixed").attr("height","100%");var t=ee(".viz").append("svg");t.attr("width",e.w).attr("height",e.h).attr("id","svg-viz").attr("preserveAspectRatio","xMidYMid meet").attr("viewBox","".concat(e.w/-2," ").concat(e.h/-2," ").concat(e.w," ").concat(.9*e.h));var n=Qa(e.value,0,1,e.range[0],e.range[1]);if(t.append("rect").attr("class","vertical-gauge").attr("width",50).attr("height","100%").style("fill",e.gauge_background).attr("x",0-ee(".vertical-gauge").node().getBBox().width/2).attr("y",e.h/-2),t.append("rect").attr("class","top-arm").attr("width",ee(".vertical-gauge").attr("width")*(e.arm/100+1)).attr("height","".concat(e.arm_weight/3,"px")).attr("z-index","5").style("fill",e.gauge_background).attr("x",0-ee(".vertical-gauge").node().getBBox().width/2).attr("y",e.h/-2),t.append("rect").attr("class","bottom-arm").attr("width",ee(".vertical-gauge").attr("width")*(e.arm/100+1)).attr("height","".concat(e.arm_weight/3,"px")).attr("z-index","5").style("fill",e.gauge_background).attr("x",0-ee(".vertical-gauge").node().getBBox().width/2).attr("y",ee(".vertical-gauge").node().getBBox().y+ee(".vertical-gauge").node().getBBox().height-ee(".bottom-arm").node().getBBox().height),t.append("text").attr("class","max-label").attr("dx","-.35em").style("font-weight","bold").text(void 0===e.range_formatting||""===e.range_formatting?e.range[1]:qa.a.format(e.range_formatting,e.range[1])).style("font-family","Arial, Helvetica, sans-serif").style("fill",e.range_color).style("font-size","".concat(e.label_font).concat(e.limiting_aspect)).attr("x",0-ee(".vertical-gauge").node().getBBox().width/2-ee(".max-label").node().getBBox().width).attr("y",e.h/-2+ee(".top-arm").node().getBBox().height),t.append("text").attr("class","min-label").attr("dx","-.35em").attr("dy",".7em").style("font-weight","bold").text(void 0===e.range_formatting||""===e.range_formatting?e.range[0]:qa.a.format(e.range_formatting,e.range[0])).style("font-family","Arial, Helvetica, sans-serif").style("fill",e.range_color).style("font-size","".concat(e.label_font).concat(e.limiting_aspect)).attr("x",0-ee(".vertical-gauge").node().getBBox().width/2-ee(".min-label").node().getBBox().width).attr("y",ee(".bottom-arm").node().getBBox().y),t.append("rect").attr("class","vertical-fill").attr("width",ee(".vertical-gauge").attr("width")).attr("height","".concat(n*(ee(".vertical-gauge").node().getBBox().height-2*ee(".top-arm").node().getBBox().height))).style("fill",e.color).attr("x",0-ee(".vertical-gauge").node().getBBox().width/2).attr("y",ee(".vertical-gauge").node().getBBox().y+ee(".vertical-gauge").node().getBBox().height-ee(".vertical-fill").node().getBBox().height-ee(".bottom-arm").node().getBBox().height),t.append("rect").attr("class","value-line").attr("stroke",e.spinner_background).attr("width","".concat(e.spinner/2,"px")).attr("height","".concat(e.spinner_weight/2,"px")).style("fill",e.spinner_background).attr("x",0+ee(".vertical-gauge").attr("width")/2-e.spinner/2).attr("y",ee(".vertical-fill").attr("y")),"value"!==e.value_label_type&&"both"!==e.value_label_type&&"dboth"!==e.value_label_type||t.append("text").attr("class","value-label").text(e.value_rendered).attr("dy",".7em").attr("dx","-".concat(e.value_label_padding/100,"em")).style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(.75*e.value_label_font).concat(e.limiting_aspect)).attr("x",ee(".value-line").node().getBBox().x-ee(".value-label").node().getBBox().width).attr("y",ee(".vertical-fill").attr("y")),"label"!==e.value_label_type&&"both"!==e.value_label_type||t.append("text").attr("class","value-label-label").text(e.value_label).attr("dx","-".concat(e.value_label_padding/100,"em")).attr("dy",".5em").style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(.45*e.value_label_font).concat(e.limiting_aspect)).attr("x",ee(".value-line").node().getBBox().x-ee(".value-label-label").node().getBBox().width).attr("y",ee(".value-line").node().getBBox().y+("label"===e.value_label_type?0:ee(".value-label").node().getBBox().height)),"dim"!==e.value_label_type&&"dboth"!==e.value_label_type||t.append("text").attr("class","value-label-label").text(e.value_dimension).attr("dx","-".concat(e.value_label_padding/100,"em")).attr("dy",".5em").style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(.45*e.value_label_font).concat(e.limiting_aspect)).attr("x",ee(".value-line").node().getBBox().x-ee(".value-label-label").node().getBBox().width).attr("y",ee(".value-line").node().getBBox().y+("dim"===e.value_label_type?0:ee(".value-label").node().getBBox().height)),"off"!==e.target_source){var r=Qa(e.target,0,1,e.range[0],e.range[1]);t.append("rect").attr("class","target-fill").attr("width",ee(".vertical-gauge").attr("width")).attr("height","".concat(r*(ee(".vertical-gauge").node().getBBox().height-2*ee(".top-arm").node().getBBox().height))).style("fill","none").attr("x",0-ee(".vertical-gauge").node().getBBox().width/2).attr("y",ee(".vertical-gauge").node().getBBox().y+ee(".vertical-gauge").node().getBBox().height-ee(".target-fill").node().getBBox().height-ee(".bottom-arm").node().getBBox().height),t.append("line").attr("class","target-line").attr("stroke-width","4").attr("fill","none").style("stroke",e.target_background).attr("stroke-dasharray","5").attr("x1",0-.5*ee(".vertical-gauge").attr("width")).attr("y1",ee(".target-fill").attr("y")).attr("x2",0+.7*ee(".vertical-gauge").attr("width")).attr("y2",ee(".target-fill").attr("y")),"value"!==e.target_label_type&&"both"!==e.target_label_type&&"dboth"!==e.target_label_type||t.append("text").attr("class","target-label").text(e.target_rendered).attr("dy",".7em").style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(e.target_label_font).concat(e.limiting_aspect)).attr("x",0+3*ee(".vertical-gauge").attr("width")/4).attr("y",ee(".target-fill").attr("y")),"label"!==e.target_label_type&&"both"!==e.target_label_type||t.append("text").attr("class","target-label-label").text(e.target_label).attr("dy",".7em").style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(.75*e.target_label_font).concat(e.limiting_aspect)).attr("x",0+3*ee(".vertical-gauge").attr("width")/4).attr("y",ee(".target-line").node().getBBox().y+("label"===e.target_label_type?0:ee(".target-label").node().getBBox().height)),"dim"!==e.target_label_type&&"dboth"!==e.target_label_type||t.append("text").attr("class","target-label-label").text(e.target_dimension).attr("dy",".7em").style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(.75*e.target_label_font).concat(e.limiting_aspect)).attr("x",0+3*ee(".vertical-gauge").attr("width")/4).attr("y",ee(".target-line").node().getBBox().y+("dim"===e.target_label_type?0:ee(".target-label").node().getBBox().height))}ee(".value-label").on("click",(function(t,n){LookerCharts.Utils.openDrillMenu({links:e.value_links,event:event})})),ee(".value-label-label").on("click",(function(t,n){LookerCharts.Utils.openDrillMenu({links:e.value_links,event:event})}))}(e)}),[e]),a.a.createElement("div",{className:"viz"})};function Ka(e,t,n,r,a){return(n-t)*(e-r)/(a-r)+t}var Ga,Za=function(e){return Object(r.useEffect)((function(){ee(".viz > *").remove(),function(e){ee(".viz > *").remove(),ee(".viz").style("background-color","#FFF").style("overflow-x","hidden").style("overflow-y","hidden").style("position","fixed").attr("height","100%");var t=ee(".viz").append("svg");t.attr("width",e.w).attr("height",e.h).attr("id","svg-viz").attr("preserveAspectRatio","xMidYMid meet").attr("viewBox","".concat(e.w/-2," ").concat(e.h/-2," ").concat(e.w," ").concat(.9*e.h));var n,r=Ka(e.value,0,1,e.range[0],e.range[1]);if(t.append("rect").attr("class","horizontal-gauge").attr("width","100%").attr("height",50).style("fill",e.gauge_background).attr("y",0-ee(".horizontal-gauge").node().getBBox().height).attr("x",e.w/-2),t.append("rect").attr("class","left-arm").attr("height",ee(".horizontal-gauge").attr("height")*(e.arm/100+1)).attr("width","".concat(e.arm_weight/3,"px")).attr("z-index","5").style("fill",e.gauge_background).attr("y",ee(".horizontal-gauge").node().getBBox().y-(ee(".left-arm").node().getBBox().height-ee(".horizontal-gauge").node().getBBox().height)).attr("x",e.w/-2),t.append("rect").attr("class","right-arm").attr("height",ee(".horizontal-gauge").attr("height")*(e.arm/100+1)).attr("width","".concat(e.arm_weight/3,"px")).attr("z-index","5").style("fill",e.gauge_background).attr("x",e.w/2-ee(".right-arm").node().getBBox().width).attr("y",ee(".horizontal-gauge").node().getBBox().y-(ee(".right-arm").node().getBBox().height-ee(".horizontal-gauge").node().getBBox().height)),t.append("text").attr("class","max-label").style("font-weight","bold").attr("dy",".7em").text(void 0===e.range_formatting||""===e.range_formatting?e.range[1]:qa.a.format(e.range_formatting,e.range[1])).style("font-family","Arial, Helvetica, sans-serif").style("fill",e.range_color).style("font-size","".concat(e.label_font).concat(e.limiting_aspect)).attr("x",0+ee(".horizontal-gauge").node().getBBox().width/2-ee(".left-arm").node().getBBox().width-ee(".max-label").node().getBBox().width).attr("y",ee(".right-arm").node().getBBox().y-ee(".max-label").node().getBBox().height),t.append("text").attr("class","min-label").style("font-weight","bold").attr("dy",".7em").text(void 0===e.range_formatting||""===e.range_formatting?e.range[0]:qa.a.format(e.range_formatting,e.range[0])).style("font-family","Arial, Helvetica, sans-serif").style("fill",e.range_color).style("font-size","".concat(e.label_font).concat(e.limiting_aspect)).attr("x",0-ee(".horizontal-gauge").node().getBBox().width/2+ee(".left-arm").node().getBBox().width).attr("y",ee(".left-arm").node().getBBox().y-ee(".min-label").node().getBBox().height),t.append("rect").attr("class","horizontal-fill").attr("height",ee(".horizontal-gauge").attr("height")).attr("width","".concat(r*(ee(".horizontal-gauge").node().getBBox().width-2*ee(".left-arm").node().getBBox().width))).style("fill",e.color).attr("x",e.w/-2+ee(".left-arm").node().getBBox().width).attr("y",ee(".horizontal-gauge").node().getBBox().y),t.append("rect").attr("class","value-line").attr("stroke",e.spinner_background).attr("height",ee(".horizontal-gauge").attr("height")*(e.spinner/400+1)).attr("width","".concat(e.spinner_weight/2,"px")).style("fill",e.spinner_background).attr("y",ee(".horizontal-fill").attr("y")).attr("x",ee(".horizontal-fill").node().getBBox().x+ee(".horizontal-fill").node().getBBox().width-ee(".value-line").node().getBBox().width),"value"===e.value_label_type||"both"===e.value_label_type||"dboth"===e.value_label_type){var a=t.append("text").attr("class","value-label").text(e.value_rendered).attr("dy","".concat(e.value_label_padding/3)).style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(e.value_label_font).concat(e.limiting_aspect));n=(n=ee(".value-line").node().getBBox().x+ee(".value-line").node().getBBox().width-ee(".value-label").node().getBBox().width)<-.5*e.w?-.5*e.w:n,a.attr("x",n).attr("y",ee(".horizontal-fill").node().getBBox().y+ee(".value-line").node().getBBox().height+3*ee(".value-label").node().getBBox().height/4)}("label"!==e.value_label_type&&"both"!==e.value_label_type||(a=t.append("text").attr("class","value-label-label").text(e.value_label).attr("dy","".concat(e.value_label_padding/2)).style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(3*e.value_label_font/4).concat(e.limiting_aspect)),n=(n=ee(".value-line").node().getBBox().x+ee(".value-line").node().getBBox().width-ee(".value-label-label").node().getBBox().width)<-.5*e.w?-.5*e.w:n,a.attr("x",n).attr("y",ee(".horizontal-fill").node().getBBox().y+ee(".value-line").node().getBBox().height+("label"===e.value_label_type?ee(".value-line").node().getBBox().height/3:1.3*ee(".value-label").node().getBBox().height))),"dim"===e.value_label_type||"dboth"===e.value_label_type)&&(a=t.append("text").attr("class","value-label-label").text(e.value_dimension).attr("dy","".concat(e.value_label_padding)).style("font-family","Arial, Helvetica, sans-serif").style("font-size","".concat(3*e.value_label_font/4).concat(e.limiting_aspect)),n=(n=ee(".value-line").node().getBBox().x+ee(".value-line").node().getBBox().width-ee(".value-label-label").node().getBBox().width)<-.5*e.w?-.5*e.w:n,a.attr("x",n).attr("y",ee(".horizontal-fill").node().getBBox().y+ee(".value-line").node().getBBox().height+("dim"===e.value_label_type?ee(".value-line").node().getBBox().height/3:1.3*ee(".value-label").node().getBBox().height)));if("off"!==e.target_source){var i=Ka(e.target,0,1,e.range[0],e.range[1]);if(t.append("rect").attr("class","target-fill").attr("height",ee(".horizontal-gauge").attr("height")).attr("width","".concat(i*(ee(".horizontal-gauge").node().getBBox().width-2*ee(".left-arm").node().getBBox().width))).style("fill","none").attr("x",e.w/-2+ee(".left-arm").node().getBBox().width).attr("y",ee(".horizontal-gauge").node().getBBox().y),"none"!==e.target_label_type){if(t.append("line").attr("class","target-line").attr("stroke-width","4").attr("fill","none").style("stroke",e.target_background).attr("stroke-dasharray","5").attr("x1",ee(".target-fill").node().getBBox().x+ee(".target-fill").node().getBBox().width).attr("y1",ee(".target-fill").node().getBBox().y).attr("x2",ee(".target-fill").node().getBBox().x+ee(".target-fill").node().getBBox().width).attr("y2",ee(".target-fill").node().getBBox().y+ee(".target-fill").node().getBBox().height),"value"===e.target_label_type)var l="".concat(e.target_rendered);else"label"===e.target_label_type?l="".concat(e.target_label):"both"===e.target_label_type?l="".concat(e.target_rendered," ").concat(e.target_label):"dim"===e.target_label_type?l="".concat(e.target_dimension):"dboth"===e.target_label_type&&(l="".concat(e.target_rendered," ").concat(e.target_dimension));t.append("text").attr("class","target-label").text(l).style("font-size","".concat(e.target_label_font).concat(e.limiting_aspect)).style("font-family","Arial, Helvetica, sans-serif").attr("x",ee(".target-fill").node().getBBox().x+ee(".target-fill").node().getBBox().width).attr("y",ee(".target-fill").node().getBBox().y-ee(".target-label").node().getBBox().height/2)}}ee(".value-label").on("click",(function(t,n){LookerCharts.Utils.openDrillMenu({links:e.value_links,event:event})})),ee(".value-label-label").on("click",(function(t,n){LookerCharts.Utils.openDrillMenu({links:e.value_links,event:event})}))}(e)}),[e]),a.a.createElement("div",{className:"viz"})};function Ja(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ei={id:"gauge",label:"Gauge Visualization",options:{bar_arm_length:{type:"number",label:"Arm Length",default:9,section:"Plot",display:"range",min:0,max:50,step:.5,order:200,display_size:"half"},bar_arm_weight:{type:"number",label:"Thickness",default:48,section:"Plot",display:"range",min:0,max:100,order:300,display_size:"half"},bar_spinner_length:{type:"number",label:"Pointer Length",default:121,section:"Plot",display:"range",min:0,max:200,order:400,display_size:"half"},bar_spinner_weight:(Ga={type:"number",label:"Thickness",default:25,section:"Plot",display:"range",min:0,max:100},Ja(Ga,"default",25),Ja(Ga,"order",500),Ja(Ga,"display_size","half"),Ga),bar_style:{type:"string",label:"Gauge Type",display:"select",section:"Plot",values:[{Vertical:"vertical"},{Horizontal:"horizontal"}],default:"vertical",order:0},bar_range_min:{type:"number",label:"Range Min Override",section:"Plot",order:30,default:0,display_size:"half"},bar_range_max:{type:"number",label:"Range Max Override",section:"Plot",order:31,default:100.701,display_size:"half"},bar_value_label_type:{type:"string",label:"Value Label Type",display:"select",section:"Value",values:[{"Value and Measure Label":"both"},{"Value and Dimension":"dboth"},{"Only Value":"value"},{"Only Label":"label"},{"Only Dimension":"dim"},{None:"none"}],default:"both",order:40},bar_value_label_font:{type:"number",label:"Value Label Font Size",section:"Value",default:8,order:50},bar_value_formatting:{type:"string",label:"Value Formatting Override",section:"Value",order:51},bar_value_label_override:{type:"string",label:"Value Label Override",section:"Value",order:60},bar_value_label_padding:{type:"number",label:"Value Label Padding",default:45,section:"Value",display:"range",min:0,max:120,order:70},bar_target_source:{type:"string",label:"Target Source",display:"select",section:"Target",values:[{"First Measure":"first"},{"Second Measure":"second"},{Override:"override"},{"No Target":"off"}],default:"off",order:80},bar_target_label_type:{type:"string",label:"Target Label Type",display:"select",section:"Target",values:[{"Value and Label":"both"},{"Only Value":"value"},{"Only Label":"label"},{"Value and Dimension":"dboth"},{"Only Dimension":"dim"},{"No Label":"nolabel"}],default:"none",order:90},bar_target_label_font:{type:"number",label:"Target Label Font Size",section:"Target",default:3,order:100},bar_target_label_override:{type:"string",label:"Target Label Override",section:"Target",order:120},bar_target_value_override:{type:"string",label:"Target Value Override",section:"Target",order:110},bar_target_value_format:{type:"string",label:"Target Value Formatting",section:"Target",order:120},bar_label_font_size:{type:"number",label:"Range Label Font Size",section:"Plot",default:3,order:140},bar_range_formatting:{type:"string",label:"Range Label Value Formatting",section:"Plot",order:150},bar_fill_color:{type:"string",label:"Gauge Fill Color",section:"Style",display:"color",default:"#0092E5",order:10},bar_background_color:{type:"string",label:"Background Color",default:"#CECECE",section:"Style",display:"color",order:20},bar_spinner_color:{type:"string",label:"Pointer Color",default:"#282828",section:"Style",display:"color",order:30},bar_range_color:{type:"string",label:"Range Label Color",default:"#282828",section:"Style",display:"color",order:40}}},ti=n(11),ni=n.n(ti);function ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ai(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}looker.plugins.visualizations.add(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ri(Object(n),!0).forEach((function(t){ai(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ri(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ei,{create:function(e,t){this.container=e.appendChild(document.createElement("svg")),this.container.className="gauge-vis"},updateAsync:function(e,t,n,r,i,l){var o=t.clientWidth,u=t.clientHeight;if(this.clearErrors(),r.fields.dimension_like.length>1||r.fields.measure_like.length>2)this.addError({title:"Invalid Input.",message:"This chart accepts up to 1 dimension and 2 measures."});else{var c;if(c=function(e,t,n,r){var a,i,l,o,u,c,s,f,d,h,p,g,m=t.fields.dimension_like,v=t.fields.measure_like;return m.length>0&&(a=m[0].name,e[0][a]),"dim"!==n.bar_value_label_type&&"dboth"!==n.bar_value_label_type||0===m.length&&r&&r.addError({title:"Invalid Input.",message:"Add a dimension or modify label type."}),"dim"!==n.bar_target_label_type&&"dboth"!==n.bar_target_label_type||0===m.length&&r&&r.addError({title:"Invalid Input.",message:"Add a dimension or modify label type."}),i=v[0].name,l=e[0][i],o=void 0===v[0].label_short?v[0].label:v[0].label_short,u=void 0===l.rendered?l.value:l.rendered,"second"===n.bar_target_source?(v.length<2&&r&&r.addError({title:"Invalid Input.",message:"Add a second measure or modify label type."}),c=v[1].name,f=(s=e[0][c]).value,d=void 0===v[1].label_short?v[1].label:v[1].label_short,h=void 0===s.rendered?s.value:s.rendered,p=void 0===n.bar_target_value_format||""===n.bar_target_value_format?h:qa.a.format(n.bar_target_value_format,f),m.length>0&&(g=void 0===n.bar_target_label_override||""===n.bar_target_label_override?e[0][a].value:n.bar_target_label_override)):"first"===n.bar_target_source?(e.length<2&&r&&r.addError({title:"Invalid Input.",message:"No value to target. Add a second row or modify label type."}),f=(s=e[1][i]).value,h=void 0===s.rendered||""===s.rendered?f:s.rendered,d=o,p=void 0===n.bar_target_value_format||""===n.bar_target_value_format?h:qa.a.format(n.bar_target_value_format,f),m.length>0&&(g=void 0===n.bar_target_label_override||""===n.bar_target_label_override?e[1][a].value:n.bar_target_label_override)):"override"===n.bar_target_source&&((void 0===n.bar_target_value_override||""===n.bar_target_value_override&&r)&&r.addError({title:"Invalid Input.",message:"No target override. Add an override value or modify label type."}),h=f=parseFloat(n.bar_target_value_override),d=n.bar_target_label_override,p=void 0===n.bar_target_value_format||""===n.bar_target_value_format?h:qa.a.format(n.bar_target_value_format,f),m.length>0&&(g=void 0===n.bar_target_label_override||""===n.bar_target_label_override?e[0][a].value:n.bar_target_label_override)),{value:l.value,value_links:l.links,value_label:void 0===n.bar_value_label_override||""===n.bar_value_label_override?o:n.bar_value_label_override,value_rendered:void 0===n.bar_value_formatting||""===n.bar_value_formatting?u:qa.a.format(n.bar_value_formatting,l.value),value_dimension:m.length>0?void 0===n.bar_value_label_override||""===n.bar_value_label_override?e[0][a].value:n.bar_value_label_override:null,value_formatting:n.bar_value_formatting,target:f,target_rendered:p,target_label:void 0===n.bar_target_label_override||""===n.bar_target_label_override?d:n.bar_target_label_override,target_dimension:g}}(e,r,n,this),!n.bar_range_max){var s=Math.max(Math.ceil(c.value),c.target?Math.ceil(c.target):0),f=(s+"").length,d=Math.pow(10,f-1),h=Math.ceil(s/d)*d;n.bar_range_max=h}this.barDefaults=function(e,t,n,r,a){var i;return{w:e,h:t,limiting_aspect:e<t?"vw":"vh",margin:{top:20,right:20,bottom:20,left:20},style:r.bar_style,angle:r.bar_angle,cutout:r.bar_cutout,color:r.bar_fill_color,gauge_background:r.bar_background_color,range:[r.bar_range_min,r.bar_range_max],value:a.value>r.bar_range_max?r.bar_range_max:a.value,value_rendered:a.value_rendered,target:a.target>r.bar_range_max?r.bar_range_max:a.target,value_label:a.value_label,target_label:a.target_label,value_dimension:a.value_dimension,target_dimension:a.target_dimension,target_rendered:a.target_rendered,value_links:a.value_links,label_font:r.bar_label_font_size,range_formatting:null!==(i=r.bar_range_formatting)&&void 0!==i?i:a.value_formatting,range_x:r.bar_range_x,range_y:r.bar_range_y,gauge_fill_type:r.bar_gauge_fill_type,fill_colors:r.bar_fill_colors,range_color:r.bar_range_color,spinner:r.bar_spinner_length,spinner_weight:r.bar_spinner_weight,spinner_background:r.bar_spinner_color,arm:r.bar_arm_length,arm_weight:r.bar_arm_weight,target_length:r.bar_target_length,target_gap:r.bar_target_gap,target_weight:r.bar_target_weight,target_background:"#282828",target_source:r.bar_target_source,value_label_type:r.bar_value_label_type,value_label_font:r.bar_value_label_font,value_label_padding:r.bar_value_label_padding,target_label_type:r.bar_target_label_type,target_label_font:r.bar_target_label_font,target_label_padding:r.bar_target_label_padding,wrap_width:100}}(o,u,0,n,c),"vertical"===n.bar_style?this.chart=ni.a.render(a.a.createElement(Xa,this.barDefaults),this.container):"horizontal"===n.bar_style&&(this.chart=ni.a.render(a.a.createElement(Za,this.barDefaults),this.container)),l()}}}))}])}));