excalidraw/static/js/2.3fb278bc.chunk.js

3 lines
170 KiB
JavaScript

/*! For license information please see 2.3fb278bc.chunk.js.LICENSE */
(this.webpackJsonpreact=this.webpackJsonpreact||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(13)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){return(a="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}function i(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(r=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){a=!0,i=u}finally{try{r||null==o.return||o.return()}finally{if(a)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(1),a=n(2),i=n(4),l=n(3),o=n(5),u="undefined"!==typeof self,s=function(){function e(t,n){Object(r.a)(this,e),this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1},this.config=t||{},this.surface=n,this.config.options&&(this.defaultOptions=this._options(this.config.options))}return Object(a.a)(e,[{key:"_options",value:function(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}},{key:"_drawable",value:function(e,t,n){return{shape:e,sets:t||[],options:n||this.defaultOptions}}},{key:"getCanvasSize",value:function(){var e=function(e){return e&&"object"===typeof e&&e.baseVal&&e.baseVal.value?e.baseVal.value:e||100};return this.surface?[e(this.surface.width),e(this.surface.height)]:[100,100]}},{key:"computePolygonSize",value:function(e){if(e.length){for(var t=e[0][0],n=e[0][0],r=e[0][1],a=e[0][1],i=1;i<e.length;i++)t=Math.min(t,e[i][0]),n=Math.max(n,e[i][0]),r=Math.min(r,e[i][1]),a=Math.max(a,e[i][1]);return[n-t,a-r]}return[0,0]}},{key:"polygonPath",value:function(e){var t="";if(e.length){t="M".concat(e[0][0],",").concat(e[0][1]);for(var n=1;n<e.length;n++)t="".concat(t," L").concat(e[n][0],",").concat(e[n][1])}return t}},{key:"computePathSize",value:function(e){var t=[0,0];if(u&&self.document)try{var n="http://www.w3.org/2000/svg",r=self.document.createElementNS(n,"svg");r.setAttribute("width","0"),r.setAttribute("height","0");var a=self.document.createElementNS(n,"path");a.setAttribute("d",e),r.appendChild(a),self.document.body.appendChild(r);var i=a.getBBox();i&&(t[0]=i.width||0,t[1]=i.height||0),self.document.body.removeChild(r)}catch(o){}var l=this.getCanvasSize();return t[0]*t[1]||(t=l),t}},{key:"toPaths",value:function(e){var t=e.sets||[],n=e.options||this.defaultOptions,r=[],a=!0,i=!1,l=void 0;try{for(var o,u=t[Symbol.iterator]();!(a=(o=u.next()).done);a=!0){var s=o.value,c=null;switch(s.type){case"path":c={d:this.opsToPath(s),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:"none"};break;case"fillPath":c={d:this.opsToPath(s),stroke:"none",strokeWidth:0,fill:n.fill||"none"};break;case"fillSketch":c=this.fillSketch(s,n);break;case"path2Dfill":c={d:s.path||"",stroke:"none",strokeWidth:0,fill:n.fill||"none"};break;case"path2Dpattern":var f=s.size,d={x:0,y:0,width:1,height:1,viewBox:"0 0 ".concat(Math.round(f[0])," ").concat(Math.round(f[1])),patternUnits:"objectBoundingBox",path:this.fillSketch(s,n)};c={d:s.path,stroke:"none",strokeWidth:0,pattern:d}}c&&r.push(c)}}catch(p){i=!0,l=p}finally{try{a||null==u.return||u.return()}finally{if(i)throw l}}return r}},{key:"fillSketch",value:function(e,t){var n=t.fillWeight;return n<0&&(n=t.strokeWidth/2),{d:this.opsToPath(e),stroke:t.fill||"none",strokeWidth:n,fill:"none"}}},{key:"opsToPath",value:function(e){var t="",n=!0,r=!1,a=void 0;try{for(var i,l=e.ops[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var o=i.value,u=o.data;switch(o.op){case"move":t+="M".concat(u[0]," ").concat(u[1]," ");break;case"bcurveTo":t+="C".concat(u[0]," ").concat(u[1],", ").concat(u[2]," ").concat(u[3],", ").concat(u[4]," ").concat(u[5]," ");break;case"qcurveTo":t+="Q".concat(u[0]," ").concat(u[1],", ").concat(u[2]," ").concat(u[3]," ");break;case"lineTo":t+="L".concat(u[0]," ").concat(u[1]," ")}}}catch(s){r=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}return t.trim()}}]),e}();function c(e,t){return e.type===t}var f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:4,t:2,V:1,v:1,Z:0,z:0},d=function(){function e(t){Object(r.a)(this,e),this.COMMAND=0,this.NUMBER=1,this.EOD=2,this.segments=[],this.parseData(t),this.processPoints()}return Object(a.a)(e,[{key:"tokenize",value:function(e){for(var t=new Array;""!==e;)if(e.match(/^([ \t\r\n,]+)/))e=e.substr(RegExp.$1.length);else if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))t[t.length]={type:this.COMMAND,text:RegExp.$1},e=e.substr(RegExp.$1.length);else{if(!e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return console.error("Unrecognized segment command: "+e),[];t[t.length]={type:this.NUMBER,text:"".concat(parseFloat(RegExp.$1))},e=e.substr(RegExp.$1.length)}return t[t.length]={type:this.EOD,text:""},t}},{key:"parseData",value:function(e){var t=this.tokenize(e),n=0,r=t[n],a="BOD";for(this.segments=new Array;!c(r,this.EOD);){var i=void 0,l=new Array;if("BOD"===a){if("M"!==r.text&&"m"!==r.text)return void this.parseData("M0,0"+e);n++,i=f[r.text],a=r.text}else c(r,this.NUMBER)?i=f[a]:(n++,i=f[r.text],a=r.text);if(n+i<t.length){for(var o=n;o<n+i;o++){var u=t[o];if(!c(u,this.NUMBER))return void console.error("Parameter type is not a number: "+a+","+u.text);l[l.length]=+u.text}if("number"!==typeof f[a])return void console.error("Unsupported segment type: "+a);var s={key:a,data:l};this.segments.push(s),r=t[n+=i],"M"===a&&(a="L"),"m"===a&&(a="l")}else console.error("Path data ended before all parameters were found")}}},{key:"processPoints",value:function(){for(var e=null,t=[0,0],n=0;n<this.segments.length;n++){var r=this.segments[n];switch(r.key){case"M":case"L":case"T":r.point=[r.data[0],r.data[1]];break;case"m":case"l":case"t":r.point=[r.data[0]+t[0],r.data[1]+t[1]];break;case"H":r.point=[r.data[0],t[1]];break;case"h":r.point=[r.data[0]+t[0],t[1]];break;case"V":r.point=[t[0],r.data[0]];break;case"v":r.point=[t[0],r.data[0]+t[1]];break;case"z":case"Z":e&&(r.point=[e[0],e[1]]);break;case"C":r.point=[r.data[4],r.data[5]];break;case"c":r.point=[r.data[4]+t[0],r.data[5]+t[1]];break;case"S":r.point=[r.data[2],r.data[3]];break;case"s":r.point=[r.data[2]+t[0],r.data[3]+t[1]];break;case"Q":r.point=[r.data[2],r.data[3]];break;case"q":r.point=[r.data[2]+t[0],r.data[3]+t[1]];break;case"A":r.point=[r.data[5],r.data[6]];break;case"a":r.point=[r.data[5]+t[0],r.data[6]+t[1]]}"m"!==r.key&&"M"!==r.key||(e=null),r.point&&(t=r.point,e||(e=r.point)),"z"!==r.key&&"Z"!==r.key||(e=null)}}},{key:"closed",get:function(){if("undefined"===typeof this._closed){this._closed=!1;var e=!0,t=!1,n=void 0;try{for(var r,a=this.segments[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){"z"===r.value.key.toLowerCase()&&(this._closed=!0)}}catch(i){t=!0,n=i}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}}return this._closed}}]),e}(),p=function(){function e(t){Object(r.a)(this,e),this._position=[0,0],this._first=null,this.bezierReflectionPoint=null,this.quadReflectionPoint=null,this.parsed=new d(t)}return Object(a.a)(e,[{key:"setPosition",value:function(e,t){this._position=[e,t],this._first||(this._first=[e,t])}},{key:"segments",get:function(){return this.parsed.segments}},{key:"closed",get:function(){return this.parsed.closed}},{key:"linearPoints",get:function(){if(!this._linearPoints){var e=[],t=[],n=!0,r=!1,a=void 0;try{for(var i,l=this.parsed.segments[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var o=i.value,u=o.key.toLowerCase();("m"!==u&&"z"!==u||(t.length&&(e.push(t),t=[]),"z"!==u))&&(o.point&&t.push(o.point))}}catch(s){r=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}t.length&&(e.push(t),t=[]),this._linearPoints=e}return this._linearPoints}},{key:"first",get:function(){return this._first},set:function(e){this._first=e}},{key:"position",get:function(){return this._position}},{key:"x",get:function(){return this._position[0]}},{key:"y",get:function(){return this._position[1]}}]),e}(),h=function(){function e(t,n,a,i,l,o){if(Object(r.a)(this,e),this._segIndex=0,this._numSegs=0,this._rx=0,this._ry=0,this._sinPhi=0,this._cosPhi=0,this._C=[0,0],this._theta=0,this._delta=0,this._T=0,this._from=t,t[0]!==n[0]||t[1]!==n[1]){var u=Math.PI/180;this._rx=Math.abs(a[0]),this._ry=Math.abs(a[1]),this._sinPhi=Math.sin(i*u),this._cosPhi=Math.cos(i*u);var s=this._cosPhi*(t[0]-n[0])/2+this._sinPhi*(t[1]-n[1])/2,c=-this._sinPhi*(t[0]-n[0])/2+this._cosPhi*(t[1]-n[1])/2,f=0,d=this._rx*this._rx*this._ry*this._ry-this._rx*this._rx*c*c-this._ry*this._ry*s*s;if(d<0){var p=Math.sqrt(1-d/(this._rx*this._rx*this._ry*this._ry));this._rx=this._rx*p,this._ry=this._ry*p,f=0}else f=(l===o?-1:1)*Math.sqrt(d/(this._rx*this._rx*c*c+this._ry*this._ry*s*s));var h=f*this._rx*c/this._ry,v=-f*this._ry*s/this._rx;this._C=[0,0],this._C[0]=this._cosPhi*h-this._sinPhi*v+(t[0]+n[0])/2,this._C[1]=this._sinPhi*h+this._cosPhi*v+(t[1]+n[1])/2,this._theta=this.calculateVectorAngle(1,0,(s-h)/this._rx,(c-v)/this._ry);var m=this.calculateVectorAngle((s-h)/this._rx,(c-v)/this._ry,(-s-h)/this._rx,(-c-v)/this._ry);!o&&m>0?m-=2*Math.PI:o&&m<0&&(m+=2*Math.PI),this._numSegs=Math.ceil(Math.abs(m/(Math.PI/2))),this._delta=m/this._numSegs,this._T=8/3*Math.sin(this._delta/4)*Math.sin(this._delta/4)/Math.sin(this._delta/2)}}return Object(a.a)(e,[{key:"getNextSegment",value:function(){if(this._segIndex===this._numSegs)return null;var e=Math.cos(this._theta),t=Math.sin(this._theta),n=this._theta+this._delta,r=Math.cos(n),a=Math.sin(n),i=[this._cosPhi*this._rx*r-this._sinPhi*this._ry*a+this._C[0],this._sinPhi*this._rx*r+this._cosPhi*this._ry*a+this._C[1]],l=[this._from[0]+this._T*(-this._cosPhi*this._rx*t-this._sinPhi*this._ry*e),this._from[1]+this._T*(-this._sinPhi*this._rx*t+this._cosPhi*this._ry*e)],o=[i[0]+this._T*(this._cosPhi*this._rx*a+this._sinPhi*this._ry*r),i[1]+this._T*(this._sinPhi*this._rx*a-this._cosPhi*this._ry*r)];return this._theta=n,this._from=[i[0],i[1]],this._segIndex++,{cp1:l,cp2:o,to:i}}},{key:"calculateVectorAngle",value:function(e,t,n,r){var a=Math.atan2(t,e),i=Math.atan2(r,n);return i>=a?i-a:2*Math.PI-(a-i)}}]),e}(),v=function(){function e(t,n){Object(r.a)(this,e),this.sets=t,this.closed=n}return Object(a.a)(e,[{key:"fit",value:function(e){var t=[],n=!0,r=!1,a=void 0;try{for(var i,l=this.sets[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var o=i.value,u=o.length,s=Math.floor(e*u);if(s<5){if(u<=5)continue;s=5}t.push(this.reduce(o,s))}}catch(m){r=!0,a=m}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}for(var c="",f=0,d=t;f<d.length;f++){for(var p=d[f],h=0;h<p.length;h++){var v=p[h];c+=0===h?"M"+v[0]+","+v[1]:"L"+v[0]+","+v[1]}this.closed&&(c+="z ")}return c}},{key:"distance",value:function(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}},{key:"reduce",value:function(e,t){if(e.length<=t)return e;for(var n=e.slice(0);n.length>t;){for(var r=[],a=-1,i=-1,l=1;l<n.length-1;l++){var o=this.distance(n[l-1],n[l]),u=this.distance(n[l],n[l+1]),s=this.distance(n[l-1],n[l+1]),c=(o+u+s)/2,f=Math.sqrt(c*(c-o)*(c-u)*(c-s));r.push(f),(a<0||f<a)&&(a=f,i=l)}if(!(i>0))break;n.splice(i,1)}return n}}]),e}(),m=function(){function e(t,n){Object(r.a)(this,e),this.xi=Number.MAX_VALUE,this.yi=Number.MAX_VALUE,this.px1=t[0],this.py1=t[1],this.px2=n[0],this.py2=n[1],this.a=this.py2-this.py1,this.b=this.px1-this.px2,this.c=this.px2*this.py1-this.px1*this.py2,this._undefined=0===this.a&&0===this.b&&0===this.c}return Object(a.a)(e,[{key:"isUndefined",value:function(){return this._undefined}},{key:"intersects",value:function(e){if(this.isUndefined()||e.isUndefined())return!1;var t=Number.MAX_VALUE,n=Number.MAX_VALUE,r=0,a=0,i=this.a,l=this.b,o=this.c;return Math.abs(l)>1e-5&&(t=-i/l,r=-o/l),Math.abs(e.b)>1e-5&&(n=-e.a/e.b,a=-e.c/e.b),t===Number.MAX_VALUE?n===Number.MAX_VALUE?-o/i===-e.c/e.a&&(this.py1>=Math.min(e.py1,e.py2)&&this.py1<=Math.max(e.py1,e.py2)?(this.xi=this.px1,this.yi=this.py1,!0):this.py2>=Math.min(e.py1,e.py2)&&this.py2<=Math.max(e.py1,e.py2)&&(this.xi=this.px2,this.yi=this.py2,!0)):(this.xi=this.px1,this.yi=n*this.xi+a,!((this.py1-this.yi)*(this.yi-this.py2)<-1e-5||(e.py1-this.yi)*(this.yi-e.py2)<-1e-5)&&(!(Math.abs(e.a)<1e-5)||!((e.px1-this.xi)*(this.xi-e.px2)<-1e-5))):n===Number.MAX_VALUE?(this.xi=e.px1,this.yi=t*this.xi+r,!((e.py1-this.yi)*(this.yi-e.py2)<-1e-5||(this.py1-this.yi)*(this.yi-this.py2)<-1e-5)&&(!(Math.abs(i)<1e-5)||!((this.px1-this.xi)*(this.xi-this.px2)<-1e-5))):t===n?r===a&&(this.px1>=Math.min(e.px1,e.px2)&&this.px1<=Math.max(e.py1,e.py2)?(this.xi=this.px1,this.yi=this.py1,!0):this.px2>=Math.min(e.px1,e.px2)&&this.px2<=Math.max(e.px1,e.px2)&&(this.xi=this.px2,this.yi=this.py2,!0)):(this.xi=(a-r)/(t-n),this.yi=t*this.xi+r,!((this.px1-this.xi)*(this.xi-this.px2)<-1e-5||(e.px1-this.xi)*(this.xi-e.px2)<-1e-5))}}]),e}();var y=function(){function e(t,n,a,i,l,o,u,s){Object(r.a)(this,e),this.deltaX=0,this.hGap=0,this.top=t,this.bottom=n,this.left=a,this.right=i,this.gap=l,this.sinAngle=o,this.tanAngle=s,Math.abs(o)<1e-4?this.pos=a+l:Math.abs(o)>.9999?this.pos=t+l:(this.deltaX=(n-t)*Math.abs(s),this.pos=a-Math.abs(this.deltaX),this.hGap=Math.abs(l/u),this.sLeft=new m([a,n],[a,t]),this.sRight=new m([i,n],[i,t]))}return Object(a.a)(e,[{key:"nextLine",value:function(){if(Math.abs(this.sinAngle)<1e-4){if(this.pos<this.right){var e=[this.pos,this.top,this.pos,this.bottom];return this.pos+=this.gap,e}}else if(Math.abs(this.sinAngle)>.9999){if(this.pos<this.bottom){var t=[this.left,this.pos,this.right,this.pos];return this.pos+=this.gap,t}}else{var n=this.pos-this.deltaX/2,r=this.pos+this.deltaX/2,a=this.bottom,i=this.top;if(this.pos<this.right+this.deltaX){for(;n<this.left&&r<this.left||n>this.right&&r>this.right;)if(this.pos+=this.hGap,n=this.pos-this.deltaX/2,r=this.pos+this.deltaX/2,this.pos>this.right+this.deltaX)return null;var l=new m([n,a],[r,i]);this.sLeft&&l.intersects(this.sLeft)&&(n=l.xi,a=l.yi),this.sRight&&l.intersects(this.sRight)&&(r=l.xi,i=l.yi),this.tanAngle>0&&(n=this.right-(n-this.left),r=this.right-(r-this.left));var o=[n,a,r,i];return this.pos+=this.hGap,o}}return null}}]),e}();function g(e){var t=e[0],n=e[1];return Math.sqrt(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2))}function b(e,t){for(var n=[],r=new m([e[0],e[1]],[e[2],e[3]]),a=0;a<t.length;a++){var i=new m(t[a],t[(a+1)%t.length]);r.intersects(i)&&n.push([r.xi,r.yi])}return n}function k(e,t,n,r,a,i,l){return[-n*i-r*a+n+i*e+a*t,l*(n*a-r*i)+r+-l*a*e+l*i*t]}function w(e,t){var n=[];if(e&&e.length){for(var r=e[0][0],a=e[0][0],i=e[0][1],l=e[0][1],o=1;o<e.length;o++)r=Math.min(r,e[o][0]),a=Math.max(a,e[o][0]),i=Math.min(i,e[o][1]),l=Math.max(l,e[o][1]);var u=t.hachureAngle,s=t.hachureGap;s<0&&(s=4*t.strokeWidth),s=Math.max(s,.1);for(var c,f=u%180*(Math.PI/180),d=Math.cos(f),p=Math.sin(f),h=Math.tan(f),v=new y(i-1,l+1,r-1,a+1,s,p,d,h);null!=(c=v.nextLine());)for(var m=b(c,e),g=0;g<m.length;g++)if(g<m.length-1){var k=m[g],w=m[g+1];n.push([k,w])}}return n}function x(e,t,n,r,a,i){var l=[],o=Math.abs(r/2),u=Math.abs(a/2);o+=e.randOffset(.05*o,i),u+=e.randOffset(.05*u,i);var s=i.hachureAngle,c=i.hachureGap;c<=0&&(c=4*i.strokeWidth);var f=i.fillWeight;f<0&&(f=i.strokeWidth/2);for(var d=s%180*(Math.PI/180),p=Math.tan(d),h=u/o,v=Math.sqrt(h*p*h*p+1),m=h*p/v,y=1/v,g=c/(o*u/Math.sqrt(u*y*(u*y)+o*m*(o*m))/o),b=Math.sqrt(o*o-(t-o+g)*(t-o+g)),w=t-o+g;w<t+o;w+=g){var x=k(w,n-(b=Math.sqrt(o*o-(t-w)*(t-w))),t,n,m,y,h),E=k(w,n+b,t,n,m,y,h);l.push([x,E])}return l}var E=function(){function e(t){Object(r.a)(this,e),this.helper=t}return Object(a.a)(e,[{key:"fillPolygon",value:function(e,t){return this._fillPolygon(e,t)}},{key:"fillEllipse",value:function(e,t,n,r,a){return this._fillEllipse(e,t,n,r,a)}},{key:"fillArc",value:function(e,t,n,r,a,i,l){return null}},{key:"_fillPolygon",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=w(e,t),a=this.renderLines(r,t,n);return{type:"fillSketch",ops:a}}},{key:"_fillEllipse",value:function(e,t,n,r,a){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=x(this.helper,e,t,n,r,a),o=this.renderLines(l,a,i);return{type:"fillSketch",ops:o}}},{key:"renderLines",value:function(e,t,n){var r=[],a=null,i=!0,l=!1,o=void 0;try{for(var u,s=e[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value;r=r.concat(this.helper.doubleLineOps(c[0][0],c[0][1],c[1][0],c[1][1],t)),n&&a&&(r=r.concat(this.helper.doubleLineOps(a[0],a[1],c[0][0],c[0][1],t))),a=c[1]}}catch(f){l=!0,o=f}finally{try{i||null==s.return||s.return()}finally{if(l)throw o}}return r}}]),e}(),T=function(e){function t(){return Object(r.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(o.a)(t,e),Object(a.a)(t,[{key:"fillPolygon",value:function(e,t){return this._fillPolygon(e,t,!0)}},{key:"fillEllipse",value:function(e,t,n,r,a){return this._fillEllipse(e,t,n,r,a,!0)}}]),t}(E),S=function(e){function t(){return Object(r.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(o.a)(t,e),Object(a.a)(t,[{key:"fillPolygon",value:function(e,t){var n=this._fillPolygon(e,t),r=Object.assign({},t,{hachureAngle:t.hachureAngle+90}),a=this._fillPolygon(e,r);return n.ops=n.ops.concat(a.ops),n}},{key:"fillEllipse",value:function(e,t,n,r,a){var i=this._fillEllipse(e,t,n,r,a),l=Object.assign({},a,{hachureAngle:a.hachureAngle+90}),o=this._fillEllipse(e,t,n,r,l);return i.ops=i.ops.concat(o.ops),i}}]),t}(E),_=function(){function e(t){Object(r.a)(this,e),this.helper=t}return Object(a.a)(e,[{key:"fillPolygon",value:function(e,t){var n=w(e,t=Object.assign({},t,{curveStepCount:4,hachureAngle:0}));return this.dotsOnLines(n,t)}},{key:"fillEllipse",value:function(e,t,n,r,a){a=Object.assign({},a,{curveStepCount:4,hachureAngle:0});var i=x(this.helper,e,t,n,r,a);return this.dotsOnLines(i,a)}},{key:"fillArc",value:function(e,t,n,r,a,i,l){return null}},{key:"dotsOnLines",value:function(e,t){var n=[],r=t.hachureGap;r<0&&(r=4*t.strokeWidth),r=Math.max(r,.1);var a=t.fillWeight;a<0&&(a=t.strokeWidth/2);var i=!0,l=!1,o=void 0;try{for(var u,s=e[Symbol.iterator]();!(i=(u=s.next()).done);i=!0)for(var c=u.value,f=g(c)/r,d=Math.ceil(f)-1,p=Math.atan((c[1][1]-c[0][1])/(c[1][0]-c[0][0])),h=0;h<d;h++){var v=r*(h+1),m=v*Math.sin(p),y=v*Math.cos(p),b=[c[0][0]-y,c[0][1]+m],k=this.helper.randOffsetWithRange(b[0]-r/4,b[0]+r/4,t),w=this.helper.randOffsetWithRange(b[1]-r/4,b[1]+r/4,t),x=this.helper.ellipse(k,w,a,a,t);n=n.concat(x.ops)}}catch(E){l=!0,o=E}finally{try{i||null==s.return||s.return()}finally{if(l)throw o}}return{type:"fillSketch",ops:n}}}]),e}(),P=function(){function e(t){Object(r.a)(this,e),this.helper=t}return Object(a.a)(e,[{key:"fillPolygon",value:function(e,t){var n=[Number.MAX_SAFE_INTEGER,Number.MIN_SAFE_INTEGER],r=[Number.MAX_SAFE_INTEGER,Number.MIN_SAFE_INTEGER];e.forEach((function(e){n[0]=Math.min(n[0],e[0]),n[1]=Math.max(n[1],e[0]),r[0]=Math.min(r[0],e[1]),r[1]=Math.max(r[1],e[1])}));var a=function(e){for(var t=0,n=0,r=0,a=0;a<e.length;a++){var i=e[a],l=a===e.length-1?e[0]:e[a+1];t+=i[0]*l[1]-l[0]*i[1]}t/=2;for(var o=0;o<e.length;o++){var u=e[o],s=o===e.length-1?e[0]:e[o+1];n+=(u[0]+s[0])*(u[0]*s[1]-s[0]*u[1]),r+=(u[1]+s[1])*(u[0]*s[1]-s[0]*u[1])}return[n/(6*t),r/(6*t)]}(e),i=Math.max(Math.sqrt(Math.pow(a[0]-n[0],2)+Math.pow(a[1]-r[0],2)),Math.sqrt(Math.pow(a[0]-n[1],2)+Math.pow(a[1]-r[1],2))),l=t.hachureGap>0?t.hachureGap:4*t.strokeWidth,o=[];if(e.length>2)for(var u=0;u<e.length;u++)u===e.length-1?o.push([e[u],e[0]]):o.push([e[u],e[u+1]]);for(var s=[],c=Math.max(1,Math.PI*i/l),f=function(e){var t=e*Math.PI/c,l=[a,[a[0]+i*Math.cos(t),a[1]+i*Math.sin(t)]];o.forEach((function(e){var t=function(e,t){var n=e[1][1]-e[0][1],r=e[0][0]-e[1][0],a=n*e[0][0]+r*e[0][1],i=t[1][1]-t[0][1],l=t[0][0]-t[1][0],o=i*t[0][0]+l*t[0][1],u=n*l-i*r;return u?[Math.round((l*a-r*o)/u),Math.round((n*o-i*a)/u)]:null}(e,l);t&&t[0]>=n[0]&&t[0]<=n[1]&&t[1]>=r[0]&&t[1]<=r[1]&&s.push(t)}))},d=0;d<c;d++)f(d);s=this.removeDuplocatePoints(s);var p=this.createLinesFromCenter(a,s);return{type:"fillSketch",ops:this.drawLines(p,t)}}},{key:"fillEllipse",value:function(e,t,n,r,a){return this.fillArcSegment(e,t,n,r,0,2*Math.PI,a)}},{key:"fillArc",value:function(e,t,n,r,a,i,l){return this.fillArcSegment(e,t,n,r,a,i,l)}},{key:"fillArcSegment",value:function(e,t,n,r,a,i,l){var o=[e,t],u=n/2,s=r/2,c=Math.max(n/2,r/2),f=l.hachureGap;f<0&&(f=4*l.strokeWidth);for(var d=Math.max(1,Math.abs(i-a)*c/f),p=[],h=0;h<d;h++){var v=h*((i-a)/d)+a,m=c*Math.cos(v),y=c*Math.sin(v),g=Math.sqrt(u*u*y*y+s*s*m*m),b=u*s*m/g,k=u*s*y/g;p.push([o[0]+b,o[1]+k])}p=this.removeDuplocatePoints(p);var w=this.createLinesFromCenter(o,p);return{type:"fillSketch",ops:this.drawLines(w,l)}}},{key:"drawLines",value:function(e,t){var n=this,r=[];return e.forEach((function(e){var a=e[0],i=e[1];r=r.concat(n.helper.doubleLineOps(a[0],a[1],i[0],i[1],t))})),r}},{key:"createLinesFromCenter",value:function(e,t){return t.map((function(t){return[e,t]}))}},{key:"removeDuplocatePoints",value:function(e){var t=new Set;return e.filter((function(e){var n=e.join(",");return!t.has(n)&&(t.add(n),!0)}))}}]),e}(),C=function(){function e(t){Object(r.a)(this,e),this.helper=t}return Object(a.a)(e,[{key:"fillPolygon",value:function(e,t){var n=w(e,t);return{type:"fillSketch",ops:this.dashedLine(n,t)}}},{key:"fillEllipse",value:function(e,t,n,r,a){var i=x(this.helper,e,t,n,r,a);return{type:"fillSketch",ops:this.dashedLine(i,a)}}},{key:"fillArc",value:function(e,t,n,r,a,i,l){return null}},{key:"dashedLine",value:function(e,t){var n=this,r=t.dashOffset<0?t.hachureGap<0?4*t.strokeWidth:t.hachureGap:t.dashOffset,a=t.dashGap<0?t.hachureGap<0?4*t.strokeWidth:t.hachureGap:t.dashGap,i=[];return e.forEach((function(e){var l=g(e),o=Math.floor(l/(r+a)),u=(l+a-o*(r+a))/2,s=e[0],c=e[1];s[0]>c[0]&&(s=e[1],c=e[0]);for(var f=Math.atan((c[1]-s[1])/(c[0]-s[0])),d=0;d<o;d++){var p=d*(r+a),h=p+r,v=[s[0]+p*Math.cos(f)+u*Math.cos(f),s[1]+p*Math.sin(f)+u*Math.sin(f)],m=[s[0]+h*Math.cos(f)+u*Math.cos(f),s[1]+h*Math.sin(f)+u*Math.sin(f)];i=i.concat(n.helper.doubleLineOps(v[0],v[1],m[0],m[1],t))}})),i}}]),e}(),M=function(){function e(t){Object(r.a)(this,e),this.helper=t}return Object(a.a)(e,[{key:"fillPolygon",value:function(e,t){var n=t.hachureGap<0?4*t.strokeWidth:t.hachureGap,r=t.zigzagOffset<0?n:t.zigzagOffset,a=w(e,t=Object.assign({},t,{hachureGap:n+r}));return{type:"fillSketch",ops:this.zigzagLines(a,r,t)}}},{key:"fillEllipse",value:function(e,t,n,r,a){var i=a.hachureGap<0?4*a.strokeWidth:a.hachureGap,l=a.zigzagOffset<0?i:a.zigzagOffset;a=Object.assign({},a,{hachureGap:i+l});var o=x(this.helper,e,t,n,r,a);return{type:"fillSketch",ops:this.zigzagLines(o,l,a)}}},{key:"fillArc",value:function(e,t,n,r,a,i,l){return null}},{key:"zigzagLines",value:function(e,t,n){var r=this,a=[];return e.forEach((function(e){var i=g(e),l=Math.round(i/(2*t)),o=e[0],u=e[1];o[0]>u[0]&&(o=e[1],u=e[0]);for(var s=Math.atan((u[1]-o[1])/(u[0]-o[0])),c=0;c<l;c++){var f=2*c*t,d=2*(c+1)*t,p=Math.sqrt(2*Math.pow(t,2)),h=[o[0]+f*Math.cos(s),o[1]+f*Math.sin(s)],v=[o[0]+d*Math.cos(s),o[1]+d*Math.sin(s)],m=[h[0]+p*Math.cos(s+Math.PI/4),h[1]+p*Math.sin(s+Math.PI/4)];a=(a=a.concat(r.helper.doubleLineOps(h[0],h[1],m[0],m[1],n))).concat(r.helper.doubleLineOps(m[0],m[1],v[0],v[1],n))}})),a}}]),e}(),O={};function N(e,t){var n=e.fillStyle||"hachure";if(!O[n])switch(n){case"zigzag":O[n]||(O[n]=new T(t));break;case"cross-hatch":O[n]||(O[n]=new S(t));break;case"dots":O[n]||(O[n]=new _(t));break;case"starburst":O[n]||(O[n]=new P(t));break;case"dashed":O[n]||(O[n]=new C(t));break;case"zigzag-line":O[n]||(O[n]=new M(t));break;case"hachure":default:O[n="hachure"]||(O[n]=new E(t))}return O[n]}var z={randOffset:function(e,t){return B(e,t)},randOffsetWithRange:function(e,t,n){return V(e,t,n)},ellipse:L,doubleLineOps:function(e,t,n,r,a){return $(e,t,n,r,a)}};function A(e,t,n,r,a){return{type:"path",ops:$(e,t,n,r,a)}}function I(e,t,n){var r=(e||[]).length;if(r>2){for(var a=[],i=0;i<r-1;i++)a=a.concat($(e[i][0],e[i][1],e[i+1][0],e[i+1][1],n));return t&&(a=a.concat($(e[r-1][0],e[r-1][1],e[0][0],e[0][1],n))),{type:"path",ops:a}}return 2===r?A(e[0][0],e[0][1],e[1][0],e[1][1],n):{type:"path",ops:[]}}function R(e,t,n,r,a){return function(e,t){return I(e,!0,t)}([[e,t],[e+n,t],[e+n,t+r],[e,t+r]],a)}function j(e,t){var n=H(e,1*(1+.2*t.roughness),t),r=H(e,1.5*(1+.22*t.roughness),t);return{type:"path",ops:n.concat(r)}}function L(e,t,n,r,a){var i=2*Math.PI/a.curveStepCount,l=Math.abs(n/2),o=Math.abs(r/2),u=G(i,e,t,l+=B(.05*l,a),o+=B(.05*o,a),1,i*V(.1,V(.4,1,a),a),a),s=G(i,e,t,l,o,1.5,0,a);return{type:"path",ops:u.concat(s)}}function D(e,t,n,r,a,i,l,o,u){var s=e,c=t,f=Math.abs(n/2),d=Math.abs(r/2);f+=B(.01*f,u),d+=B(.01*d,u);for(var p=a,h=i;p<0;)p+=2*Math.PI,h+=2*Math.PI;h-p>2*Math.PI&&(p=0,h=2*Math.PI);var v=2*Math.PI/u.curveStepCount,m=Math.min(v/2,(h-p)/2),y=K(m,s,c,f,d,p,h,1,u),g=K(m,s,c,f,d,p,h,1.5,u),b=y.concat(g);return l&&(o?b=(b=b.concat($(s,c,s+f*Math.cos(p),c+d*Math.sin(p),u))).concat($(s,c,s+f*Math.cos(h),c+d*Math.sin(h),u)):(b.push({op:"lineTo",data:[s,c]}),b.push({op:"lineTo",data:[s+f*Math.cos(p),c+d*Math.sin(p)]}))),{type:"path",ops:b}}function U(e,t){var n=[];if(e.length){var r=t.maxRandomnessOffset||0,a=e.length;if(a>2){n.push({op:"move",data:[e[0][0]+B(r,t),e[0][1]+B(r,t)]});for(var i=1;i<a;i++)n.push({op:"lineTo",data:[e[i][0]+B(r,t),e[i][1]+B(r,t)]})}}return{type:"fillPath",ops:n}}function F(e,t){return N(t,z).fillPolygon(e,t)}function W(e,t,n,r,a,i,l){var o=N(l,z).fillArc(e,t,n,r,a,i,l);if(o)return o;var u=e,s=t,c=Math.abs(n/2),f=Math.abs(r/2);c+=B(.01*c,l),f+=B(.01*f,l);for(var d=a,p=i;d<0;)d+=2*Math.PI,p+=2*Math.PI;p-d>2*Math.PI&&(d=0,p=2*Math.PI);for(var h=(p-d)/l.curveStepCount,v=[],m=d;m<=p;m+=h)v.push([u+c*Math.cos(m),s+f*Math.sin(m)]);return v.push([u+c*Math.cos(p),s+f*Math.sin(p)]),v.push([u,s]),F(v,l)}function V(e,t,n){return n.roughness*(Math.random()*(t-e)+e)}function B(e,t){return V(-e,e,t)}function $(e,t,n,r,a){var i=q(e,t,n,r,a,!0,!1),l=q(e,t,n,r,a,!0,!0);return i.concat(l)}function q(e,t,n,r,a,i,l){var o=Math.pow(e-n,2)+Math.pow(t-r,2),u=a.maxRandomnessOffset||0;u*u*100>o&&(u=Math.sqrt(o)/10);var s=u/2,c=.2+.2*Math.random(),f=a.bowing*a.maxRandomnessOffset*(r-t)/200,d=a.bowing*a.maxRandomnessOffset*(e-n)/200;f=B(f,a),d=B(d,a);var p=[],h=function(){return B(s,a)},v=function(){return B(u,a)};return i&&(l?p.push({op:"move",data:[e+h(),t+h()]}):p.push({op:"move",data:[e+B(u,a),t+B(u,a)]})),l?p.push({op:"bcurveTo",data:[f+e+(n-e)*c+h(),d+t+(r-t)*c+h(),f+e+2*(n-e)*c+h(),d+t+2*(r-t)*c+h(),n+h(),r+h()]}):p.push({op:"bcurveTo",data:[f+e+(n-e)*c+v(),d+t+(r-t)*c+v(),f+e+2*(n-e)*c+v(),d+t+2*(r-t)*c+v(),n+v(),r+v()]}),p}function H(e,t,n){var r=[];r.push([e[0][0]+B(t,n),e[0][1]+B(t,n)]),r.push([e[0][0]+B(t,n),e[0][1]+B(t,n)]);for(var a=1;a<e.length;a++)r.push([e[a][0]+B(t,n),e[a][1]+B(t,n)]),a===e.length-1&&r.push([e[a][0]+B(t,n),e[a][1]+B(t,n)]);return Q(r,null,n)}function Q(e,t,n){var r=e.length,a=[];if(r>3){var i=[],l=1-n.curveTightness;a.push({op:"move",data:[e[1][0],e[1][1]]});for(var o=1;o+2<r;o++){var u=e[o];i[0]=[u[0],u[1]],i[1]=[u[0]+(l*e[o+1][0]-l*e[o-1][0])/6,u[1]+(l*e[o+1][1]-l*e[o-1][1])/6],i[2]=[e[o+1][0]+(l*e[o][0]-l*e[o+2][0])/6,e[o+1][1]+(l*e[o][1]-l*e[o+2][1])/6],i[3]=[e[o+1][0],e[o+1][1]],a.push({op:"bcurveTo",data:[i[1][0],i[1][1],i[2][0],i[2][1],i[3][0],i[3][1]]})}if(t&&2===t.length){var s=n.maxRandomnessOffset;a.push({op:"lineTo",data:[t[0]+B(s,n),t[1]+B(s,n)]})}}else 3===r?(a.push({op:"move",data:[e[1][0],e[1][1]]}),a.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):2===r&&(a=a.concat($(e[0][0],e[0][1],e[1][0],e[1][1],n)));return a}function G(e,t,n,r,a,i,l,o){var u=B(.5,o)-Math.PI/2,s=[];s.push([B(i,o)+t+.9*r*Math.cos(u-e),B(i,o)+n+.9*a*Math.sin(u-e)]);for(var c=u;c<2*Math.PI+u-.01;c+=e)s.push([B(i,o)+t+r*Math.cos(c),B(i,o)+n+a*Math.sin(c)]);return s.push([B(i,o)+t+r*Math.cos(u+2*Math.PI+.5*l),B(i,o)+n+a*Math.sin(u+2*Math.PI+.5*l)]),s.push([B(i,o)+t+.98*r*Math.cos(u+l),B(i,o)+n+.98*a*Math.sin(u+l)]),s.push([B(i,o)+t+.9*r*Math.cos(u+.5*l),B(i,o)+n+.9*a*Math.sin(u+.5*l)]),Q(s,null,o)}function K(e,t,n,r,a,i,l,o,u){var s=i+B(.1,u),c=[];c.push([B(o,u)+t+.9*r*Math.cos(s-e),B(o,u)+n+.9*a*Math.sin(s-e)]);for(var f=s;f<=l;f+=e)c.push([B(o,u)+t+r*Math.cos(f),B(o,u)+n+a*Math.sin(f)]);return c.push([t+r*Math.cos(l),n+a*Math.sin(l)]),c.push([t+r*Math.cos(l),n+a*Math.sin(l)]),Q(c,null,u)}function X(e,t,n,r,a,i,l,o){for(var u=[],s=[o.maxRandomnessOffset||1,(o.maxRandomnessOffset||1)+.5],c=[0,0],f=0;f<2;f++)0===f?u.push({op:"move",data:[l.x,l.y]}):u.push({op:"move",data:[l.x+B(s[0],o),l.y+B(s[0],o)]}),c=[a+B(s[f],o),i+B(s[f],o)],u.push({op:"bcurveTo",data:[e+B(s[f],o),t+B(s[f],o),n+B(s[f],o),r+B(s[f],o),c[0],c[1]]});return l.setPosition(c[0],c[1]),u}function Y(e,t,n,r){var a=[];switch(t.key){case"M":case"m":var i="m"===t.key;if(t.data.length>=2){var l=+t.data[0],o=+t.data[1];i&&(l+=e.x,o+=e.y);var u=1*(r.maxRandomnessOffset||0);l+=B(u,r),o+=B(u,r),e.setPosition(l,o),a.push({op:"move",data:[l,o]})}break;case"L":case"l":var s="l"===t.key;if(t.data.length>=2){var c=+t.data[0],f=+t.data[1];s&&(c+=e.x,f+=e.y),a=a.concat($(e.x,e.y,c,f,r)),e.setPosition(c,f)}break;case"H":case"h":var d="h"===t.key;if(t.data.length){var p=+t.data[0];d&&(p+=e.x),a=a.concat($(e.x,e.y,p,e.y,r)),e.setPosition(p,e.y)}break;case"V":case"v":var v="v"===t.key;if(t.data.length){var m=+t.data[0];v&&(m+=e.y),a=a.concat($(e.x,e.y,e.x,m,r)),e.setPosition(e.x,m)}break;case"Z":case"z":e.first&&(a=a.concat($(e.x,e.y,e.first[0],e.first[1],r)),e.setPosition(e.first[0],e.first[1]),e.first=null);break;case"C":case"c":var y="c"===t.key;if(t.data.length>=6){var g=+t.data[0],b=+t.data[1],k=+t.data[2],w=+t.data[3],x=+t.data[4],E=+t.data[5];y&&(g+=e.x,k+=e.x,x+=e.x,b+=e.y,w+=e.y,E+=e.y);var T=X(g,b,k,w,x,E,e,r);a=a.concat(T),e.bezierReflectionPoint=[x+(x-k),E+(E-w)]}break;case"S":case"s":var S="s"===t.key;if(t.data.length>=4){var _=+t.data[0],P=+t.data[1],C=+t.data[2],M=+t.data[3];S&&(_+=e.x,C+=e.x,P+=e.y,M+=e.y);var O=_,N=P,z=n?n.key:"",A=null;"c"!==z&&"C"!==z&&"s"!==z&&"S"!==z||(A=e.bezierReflectionPoint),A&&(O=A[0],N=A[1]);var I=X(O,N,_,P,C,M,e,r);a=a.concat(I),e.bezierReflectionPoint=[C+(C-_),M+(M-P)]}break;case"Q":case"q":var R="q"===t.key;if(t.data.length>=4){var j=+t.data[0],L=+t.data[1],D=+t.data[2],U=+t.data[3];R&&(j+=e.x,D+=e.x,L+=e.y,U+=e.y);var F=1*(1+.2*r.roughness),W=1.5*(1+.22*r.roughness);a.push({op:"move",data:[e.x+B(F,r),e.y+B(F,r)]});var V=[D+B(F,r),U+B(F,r)];a.push({op:"qcurveTo",data:[j+B(F,r),L+B(F,r),V[0],V[1]]}),a.push({op:"move",data:[e.x+B(W,r),e.y+B(W,r)]}),V=[D+B(W,r),U+B(W,r)],a.push({op:"qcurveTo",data:[j+B(W,r),L+B(W,r),V[0],V[1]]}),e.setPosition(V[0],V[1]),e.quadReflectionPoint=[D+(D-j),U+(U-L)]}break;case"T":case"t":var q="t"===t.key;if(t.data.length>=2){var H=+t.data[0],Q=+t.data[1];q&&(H+=e.x,Q+=e.y);var G=H,K=Q,Y=n?n.key:"",Z=null;"q"!==Y&&"Q"!==Y&&"t"!==Y&&"T"!==Y||(Z=e.quadReflectionPoint),Z&&(G=Z[0],K=Z[1]);var J=1*(1+.2*r.roughness),ee=1.5*(1+.22*r.roughness);a.push({op:"move",data:[e.x+B(J,r),e.y+B(J,r)]});var te=[H+B(J,r),Q+B(J,r)];a.push({op:"qcurveTo",data:[G+B(J,r),K+B(J,r),te[0],te[1]]}),a.push({op:"move",data:[e.x+B(ee,r),e.y+B(ee,r)]}),te=[H+B(ee,r),Q+B(ee,r)],a.push({op:"qcurveTo",data:[G+B(ee,r),K+B(ee,r),te[0],te[1]]}),e.setPosition(te[0],te[1]),e.quadReflectionPoint=[H+(H-G),Q+(Q-K)]}break;case"A":case"a":var ne="a"===t.key;if(t.data.length>=7){var re=+t.data[0],ae=+t.data[1],ie=+t.data[2],le=+t.data[3],oe=+t.data[4],ue=+t.data[5],se=+t.data[6];if(ne&&(ue+=e.x,se+=e.y),ue===e.x&&se===e.y)break;if(0===re||0===ae)a=a.concat($(e.x,e.y,ue,se,r)),e.setPosition(ue,se);else for(var ce=0;ce<1;ce++)for(var fe=new h([e.x,e.y],[ue,se],[re,ae],ie,!!le,!!oe),de=fe.getNextSegment();de;){var pe=X(de.cp1[0],de.cp1[1],de.cp2[0],de.cp2[1],de.to[0],de.to[1],e,r);a=a.concat(pe),de=fe.getNextSegment()}}}return a}var Z=function(e){function t(){return Object(r.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(o.a)(t,e),Object(a.a)(t,[{key:"line",value:function(e,t,n,r,a){var i=this._options(a);return this._drawable("line",[A(e,t,n,r,i)],i)}},{key:"rectangle",value:function(e,t,n,r,a){var i=this._options(a),l=[];if(i.fill){var o=[[e,t],[e+n,t],[e+n,t+r],[e,t+r]];"solid"===i.fillStyle?l.push(U(o,i)):l.push(F(o,i))}return l.push(R(e,t,n,r,i)),this._drawable("rectangle",l,i)}},{key:"ellipse",value:function(e,t,n,r,a){var i=this._options(a),l=[];if(i.fill)if("solid"===i.fillStyle){var o=L(e,t,n,r,i);o.type="fillPath",l.push(o)}else l.push(function(e,t,n,r,a){return N(a,z).fillEllipse(e,t,n,r,a)}(e,t,n,r,i));return l.push(L(e,t,n,r,i)),this._drawable("ellipse",l,i)}},{key:"circle",value:function(e,t,n,r){var a=this.ellipse(e,t,n,n,r);return a.shape="circle",a}},{key:"linearPath",value:function(e,t){var n=this._options(t);return this._drawable("linearPath",[I(e,!1,n)],n)}},{key:"arc",value:function(e,t,n,r,a,i){var l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=arguments.length>7?arguments[7]:void 0,u=this._options(o),s=[];if(l&&u.fill)if("solid"===u.fillStyle){var c=D(e,t,n,r,a,i,!0,!1,u);c.type="fillPath",s.push(c)}else s.push(W(e,t,n,r,a,i,u));return s.push(D(e,t,n,r,a,i,l,!0,u)),this._drawable("arc",s,u)}},{key:"curve",value:function(e,t){var n=this._options(t);return this._drawable("curve",[j(e,n)],n)}},{key:"polygon",value:function(e,t){var n=this._options(t),r=[];if(n.fill)if("solid"===n.fillStyle)r.push(U(e,n));else{var a=this.computePolygonSize(e),i=F([[0,0],[a[0],0],[a[0],a[1]],[0,a[1]]],n);i.type="path2Dpattern",i.size=a,i.path=this.polygonPath(e),r.push(i)}return r.push(I(e,!0,n)),this._drawable("polygon",r,n)}},{key:"path",value:function(e,t){var n=this._options(t),r=[];if(!e)return this._drawable("path",r,n);if(n.fill)if("solid"===n.fillStyle){var a={type:"path2Dfill",path:e,ops:[]};r.push(a)}else{var i=this.computePathSize(e),l=F([[0,0],[i[0],0],[i[0],i[1]],[0,i[1]]],n);l.type="path2Dpattern",l.size=i,l.path=e,r.push(l)}return r.push(function(e,t){e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");var n=new p(e);if(t.simplification){var r=new v(n.linearPoints,n.closed).fit(t.simplification);n=new p(r)}for(var a=[],i=n.segments||[],l=0;l<i.length;l++){var o=Y(n,i[l],l>0?i[l-1]:null,t);o&&o.length&&(a=a.concat(o))}return{type:"path",ops:a}}(e,n)),this._drawable("path",r,n)}}]),t}(s),J="undefined"!==typeof document,ee=function(e){function t(e,n){var a;return Object(r.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).gen=new Z(n||null,a.canvas),a}return Object(o.a)(t,e),Object(a.a)(t,[{key:"getDefaultOptions",value:function(){return this.gen.defaultOptions}},{key:"line",value:function(e,t,n,r,a){var i=this.gen.line(e,t,n,r,a);return this.draw(i),i}},{key:"rectangle",value:function(e,t,n,r,a){var i=this.gen.rectangle(e,t,n,r,a);return this.draw(i),i}},{key:"ellipse",value:function(e,t,n,r,a){var i=this.gen.ellipse(e,t,n,r,a);return this.draw(i),i}},{key:"circle",value:function(e,t,n,r){var a=this.gen.circle(e,t,n,r);return this.draw(a),a}},{key:"linearPath",value:function(e,t){var n=this.gen.linearPath(e,t);return this.draw(n),n}},{key:"polygon",value:function(e,t){var n=this.gen.polygon(e,t);return this.draw(n),n}},{key:"arc",value:function(e,t,n,r,a,i){var l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=arguments.length>7?arguments[7]:void 0,u=this.gen.arc(e,t,n,r,a,i,l,o);return this.draw(u),u}},{key:"curve",value:function(e,t){var n=this.gen.curve(e,t);return this.draw(n),n}},{key:"path",value:function(e,t){var n=this.gen.path(e,t);return this.draw(n),n}},{key:"generator",get:function(){return this.gen}}]),t}(function(){function e(t){Object(r.a)(this,e),this.canvas=t,this.ctx=this.canvas.getContext("2d")}return Object(a.a)(e,[{key:"draw",value:function(e){var t=e.sets||[],n=e.options||this.getDefaultOptions(),r=this.ctx,a=!0,i=!1,l=void 0;try{for(var o,u=t[Symbol.iterator]();!(a=(o=u.next()).done);a=!0){var s=o.value;switch(s.type){case"path":r.save(),r.strokeStyle=n.stroke,r.lineWidth=n.strokeWidth,this._drawToContext(r,s),r.restore();break;case"fillPath":r.save(),r.fillStyle=n.fill||"",this._drawToContext(r,s),r.restore();break;case"fillSketch":this.fillSketch(r,s,n);break;case"path2Dfill":this.ctx.save(),this.ctx.fillStyle=n.fill||"";var c=new Path2D(s.path);this.ctx.fill(c),this.ctx.restore();break;case"path2Dpattern":var f=this.canvas.ownerDocument||J&&document;if(f){var d=s.size,p=f.createElement("canvas"),h=p.getContext("2d"),v=this.computeBBox(s.path);v&&(v.width||v.height)?(p.width=this.canvas.width,p.height=this.canvas.height,h.translate(v.x||0,v.y||0)):(p.width=d[0],p.height=d[1]),this.fillSketch(h,s,n),this.ctx.save(),this.ctx.fillStyle=this.ctx.createPattern(p,"repeat");var m=new Path2D(s.path);this.ctx.fill(m),this.ctx.restore()}else console.error("Cannot render path2Dpattern. No defs/document defined.")}}}catch(y){i=!0,l=y}finally{try{a||null==u.return||u.return()}finally{if(i)throw l}}}},{key:"computeBBox",value:function(e){if(J)try{var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");n.setAttribute("width","0"),n.setAttribute("height","0");var r=self.document.createElementNS(t,"path");r.setAttribute("d",e),n.appendChild(r),document.body.appendChild(n);var a=r.getBBox();return document.body.removeChild(n),a}catch(i){}return null}},{key:"fillSketch",value:function(e,t,n){var r=n.fillWeight;r<0&&(r=n.strokeWidth/2),e.save(),e.strokeStyle=n.fill||"",e.lineWidth=r,this._drawToContext(e,t),e.restore()}},{key:"_drawToContext",value:function(e,t){e.beginPath();var n=!0,r=!1,a=void 0;try{for(var i,l=t.ops[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var o=i.value,u=o.data;switch(o.op){case"move":e.moveTo(u[0],u[1]);break;case"bcurveTo":e.bezierCurveTo(u[0],u[1],u[2],u[3],u[4],u[5]);break;case"qcurveTo":e.quadraticCurveTo(u[0],u[1],u[2],u[3]);break;case"lineTo":e.lineTo(u[0],u[1])}}}catch(s){r=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}"fillPath"===t.type?e.fill():e.stroke()}}]),e}()),te="undefined"!==typeof document,ne=function(e){function t(e,n){var a;return Object(r.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).gen=new Z(n||null,a.svg),a}return Object(o.a)(t,e),Object(a.a)(t,[{key:"getDefaultOptions",value:function(){return this.gen.defaultOptions}},{key:"opsToPath",value:function(e){return this.gen.opsToPath(e)}},{key:"line",value:function(e,t,n,r,a){var i=this.gen.line(e,t,n,r,a);return this.draw(i)}},{key:"rectangle",value:function(e,t,n,r,a){var i=this.gen.rectangle(e,t,n,r,a);return this.draw(i)}},{key:"ellipse",value:function(e,t,n,r,a){var i=this.gen.ellipse(e,t,n,r,a);return this.draw(i)}},{key:"circle",value:function(e,t,n,r){var a=this.gen.circle(e,t,n,r);return this.draw(a)}},{key:"linearPath",value:function(e,t){var n=this.gen.linearPath(e,t);return this.draw(n)}},{key:"polygon",value:function(e,t){var n=this.gen.polygon(e,t);return this.draw(n)}},{key:"arc",value:function(e,t,n,r,a,i){var l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=arguments.length>7?arguments[7]:void 0,u=this.gen.arc(e,t,n,r,a,i,l,o);return this.draw(u)}},{key:"curve",value:function(e,t){var n=this.gen.curve(e,t);return this.draw(n)}},{key:"path",value:function(e,t){var n=this.gen.path(e,t);return this.draw(n)}},{key:"generator",get:function(){return this.gen}}]),t}(function(){function e(t){Object(r.a)(this,e),this.svg=t}return Object(a.a)(e,[{key:"draw",value:function(e){var t=e.sets||[],n=e.options||this.getDefaultOptions(),r=this.svg.ownerDocument||window.document,a=r.createElementNS("http://www.w3.org/2000/svg","g"),i=!0,l=!1,o=void 0;try{for(var u,s=t[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value,f=null;switch(c.type){case"path":(f=r.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d",this.opsToPath(c)),f.style.stroke=n.stroke,f.style.strokeWidth=n.strokeWidth+"",f.style.fill="none";break;case"fillPath":(f=r.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d",this.opsToPath(c)),f.style.stroke="none",f.style.strokeWidth="0",f.style.fill=n.fill||null;break;case"fillSketch":f=this.fillSketch(r,c,n);break;case"path2Dfill":(f=r.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d",c.path||""),f.style.stroke="none",f.style.strokeWidth="0",f.style.fill=n.fill||null;break;case"path2Dpattern":if(this.defs){var d=c.size,p=r.createElementNS("http://www.w3.org/2000/svg","pattern"),h="rough-".concat(Math.floor(Math.random()*(Number.MAX_SAFE_INTEGER||999999)));p.setAttribute("id",h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("width","1"),p.setAttribute("height","1"),p.setAttribute("height","1"),p.setAttribute("viewBox","0 0 ".concat(Math.round(d[0])," ").concat(Math.round(d[1]))),p.setAttribute("patternUnits","objectBoundingBox");var v=this.fillSketch(r,c,n);p.appendChild(v),this.defs.appendChild(p),(f=r.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d",c.path||""),f.style.stroke="none",f.style.strokeWidth="0",f.style.fill="url(#".concat(h,")")}else console.error("Cannot render path2Dpattern. No defs/document defined.")}f&&a.appendChild(f)}}catch(m){l=!0,o=m}finally{try{i||null==s.return||s.return()}finally{if(l)throw o}}return a}},{key:"fillSketch",value:function(e,t,n){var r=n.fillWeight;r<0&&(r=n.strokeWidth/2);var a=e.createElementNS("http://www.w3.org/2000/svg","path");return a.setAttribute("d",this.opsToPath(t)),a.style.stroke=n.fill||null,a.style.strokeWidth=r+"",a.style.fill="none",a}},{key:"defs",get:function(){var e=this.svg.ownerDocument||te&&document;if(e&&!this._defs){var t=e.createElementNS("http://www.w3.org/2000/svg","defs");this.svg.firstChild?this.svg.insertBefore(t,this.svg.firstChild):this.svg.appendChild(t),this._defs=t}return this._defs||null}}]),e}());t.a={canvas:function(e,t){return new ee(e,t)},svg:function(e,t){return new ne(e,t)},generator:function(e,t){return new Z(e,t)}}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(14)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function l(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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(a){return!1}}()?Object.assign:function(e,t){for(var n,o,u=l(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))a.call(n,c)&&(u[c]=n[c]);if(r){o=r(n);for(var f=0;f<o.length;f++)i.call(n,o[f])&&(u[o[f]]=n[o[f]])}}return u}},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";var r=n(10),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,s=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113;a&&Symbol.for("react.suspense_list");var h=a?Symbol.for("react.memo"):60115,v=a?Symbol.for("react.lazy"):60116;a&&Symbol.for("react.fundamental"),a&&Symbol.for("react.responder"),a&&Symbol.for("react.scope");var m="function"===typeof Symbol&&Symbol.iterator;function y(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 g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function k(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}function w(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=k.prototype;var E=x.prototype=new w;E.constructor=x,r(E,k.prototype),E.isPureReactComponent=!0;var T={current:null},S={current:null},_=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0};function C(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)_.call(t,r)&&!P.hasOwnProperty(r)&&(a[r]=t[r]);var u=arguments.length-2;if(1===u)a.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}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:S.current}}function M(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var O=/\/+/g,N=[];function z(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 A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function I(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?"."+R(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+R(o=t[s],s);u+=e(o,c,r,a)}else if(null===t||"object"!==typeof t?c=null:c="function"===typeof(c=m&&t[m]||t["@@iterator"])?c:null,"function"===typeof c)for(t=c.call(t),s=0;!(o=t.next()).done;)u+=e(o=o.value,c=n+R(o,s++),r,a);else if("object"===o)throw r=""+t,Error(y(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function R(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 j(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)?D(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(O,"$&/")+"/")+n)),r.push(e))}function D(e,t,n,r,a){var i="";null!=n&&(i=(""+n).replace(O,"$&/")+"/"),I(e,L,t=z(t,i,r,a)),A(t)}function U(){var e=T.current;if(null===e)throw Error(y(321));return e}var F={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;I(e,j,t=z(null,null,t,n)),A(t)},count:function(e){return I(e,(function(){return null}),null)},toArray:function(e){var t=[];return D(e,t,null,(function(e){return e})),t},only:function(e){if(!M(e))throw Error(y(143));return e}},createRef:function(){return{current:null}},Component:k,PureComponent:x,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:c,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:v,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return U().useCallback(e,t)},useContext:function(e,t){return U().useContext(e,t)},useEffect:function(e,t){return U().useEffect(e,t)},useImperativeHandle:function(e,t,n){return U().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return U().useLayoutEffect(e,t)},useMemo:function(e,t){return U().useMemo(e,t)},useReducer:function(e,t,n){return U().useReducer(e,t,n)},useRef:function(e){return U().useRef(e)},useState:function(e){return U().useState(e)},Fragment:o,Profiler:s,StrictMode:u,Suspense:p,createElement:C,cloneElement:function(e,t,n){if(null===e||void 0===e)throw Error(y(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=S.current),void 0!==t.key&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)_.call(t,c)&&!P.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];a.children=s}return{$$typeof:i,type:e.type,key:l,ref:o,props:a,_owner:u}},createFactory:function(e){var t=C.bind(null,e);return t.type=e,t},isValidElement:M,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:r}},W={default:F},V=W&&F||W;e.exports=V.default||V},function(e,t,n){"use strict";var r=n(0),a=n(10),i=n(15);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=null,u={};function s(){if(o)for(var e in u){var t=u[e],n=o.indexOf(e);if(!(-1<n))throw Error(l(96,e));if(!f[n]){if(!t.extractEvents)throw Error(l(97,e));for(var r in f[n]=t,n=t.eventTypes){var a=void 0,i=n[r],s=t,p=r;if(d.hasOwnProperty(p))throw Error(l(99,p));d[p]=i;var h=i.phasedRegistrationNames;if(h){for(a in h)h.hasOwnProperty(a)&&c(h[a],s,p);a=!0}else i.registrationName?(c(i.registrationName,s,p),a=!0):a=!1;if(!a)throw Error(l(98,r,e))}}}}function c(e,t,n){if(p[e])throw Error(l(100,e));p[e]=t,h[e]=t.eventTypes[n].dependencies}var f=[],d={},p={},h={};function v(e,t,n,r,a,i,l,o,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var m=!1,y=null,g=!1,b=null,k={onError:function(e){m=!0,y=e}};function w(e,t,n,r,a,i,l,o,u){m=!1,y=null,v.apply(k,arguments)}var x=null,E=null,T=null;function S(e,t,n){var r=e.type||"unknown-event";e.currentTarget=T(n),function(e,t,n,r,a,i,o,u,s){if(w.apply(this,arguments),m){if(!m)throw Error(l(198));var c=y;m=!1,y=null,g||(g=!0,b=c)}}(r,t,void 0,e),e.currentTarget=null}function _(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 P(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var C=null;function M(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)S(e,t[r],n[r]);else t&&S(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function O(e){if(null!==e&&(C=_(C,e)),e=C,C=null,e){if(P(e,M),C)throw Error(l(95));if(g)throw e=b,g=!1,b=null,e}}var N={injectEventPluginOrder:function(e){if(o)throw Error(l(101));o=Array.prototype.slice.call(e),s()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!u.hasOwnProperty(t)||u[t]!==r){if(u[t])throw Error(l(102,t));u[t]=r,n=!0}}n&&s()}};function z(e,t){var n=e.stateNode;if(!n)return null;var r=x(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":(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}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;A.hasOwnProperty("ReactCurrentDispatcher")||(A.ReactCurrentDispatcher={current:null}),A.hasOwnProperty("ReactCurrentBatchConfig")||(A.ReactCurrentBatchConfig={suspense:null});var I=/^(.*)[\\\/]/,R="function"===typeof Symbol&&Symbol.for,j=R?Symbol.for("react.element"):60103,L=R?Symbol.for("react.portal"):60106,D=R?Symbol.for("react.fragment"):60107,U=R?Symbol.for("react.strict_mode"):60108,F=R?Symbol.for("react.profiler"):60114,W=R?Symbol.for("react.provider"):60109,V=R?Symbol.for("react.context"):60110,B=R?Symbol.for("react.concurrent_mode"):60111,$=R?Symbol.for("react.forward_ref"):60112,q=R?Symbol.for("react.suspense"):60113,H=R?Symbol.for("react.suspense_list"):60120,Q=R?Symbol.for("react.memo"):60115,G=R?Symbol.for("react.lazy"):60116;R&&Symbol.for("react.fundamental"),R&&Symbol.for("react.responder"),R&&Symbol.for("react.scope");var K="function"===typeof Symbol&&Symbol.iterator;function X(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=K&&e[K]||e["@@iterator"])?e:null}function Y(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 D:return"Fragment";case L:return"Portal";case F:return"Profiler";case U:return"StrictMode";case q:return"Suspense";case H:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case V:return"Context.Consumer";case W:return"Context.Provider";case $:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Q:return Y(e.type);case G:if(e=1===e._status?e._result:null)return Y(e)}return null}function Z(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=Y(e.type);n=null,r&&(n=Y(r.type)),r=i,i="",a?i=" (at "+a.fileName.replace(I,"")+":"+a.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var J=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),ee=null,te=null,ne=null;function re(e){if(e=E(e)){if("function"!==typeof ee)throw Error(l(280));var t=x(e.stateNode);ee(e.stateNode,e.type,t)}}function ae(e){te?ne?ne.push(e):ne=[e]:te=e}function ie(){if(te){var e=te,t=ne;if(ne=te=null,re(e),t)for(e=0;e<t.length;e++)re(t[e])}}function le(e,t){return e(t)}function oe(e,t,n,r){return e(t,n,r)}function ue(){}var se=le,ce=!1,fe=!1;function de(){null===te&&null===ne||(ue(),ie())}new Map;var pe=/^[: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]*$/,he=Object.prototype.hasOwnProperty,ve={},me={};function ye(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 ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ge[e]=new ye(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ge[t]=new ye(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ge[e]=new ye(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ge[e]=new ye(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){ge[e]=new ye(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ge[e]=new ye(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){ge[e]=new ye(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){ge[e]=new ye(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){ge[e]=new ye(e,5,!1,e.toLowerCase(),null,!1)}));var be=/[\-:]([a-z])/g;function ke(e){return e[1].toUpperCase()}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function xe(e,t,n,r){var a=ge.hasOwnProperty(t)?ge[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||"undefined"===typeof 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!!he.call(me,e)||!he.call(ve,e)&&(pe.test(e)?me[e]=!0:(ve[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))))}function Ee(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Te(e){e._valueTracker||(e._valueTracker=function(e){var t=Ee(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof 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 Se(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ee(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function _e(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 Pe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=we(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 Ce(e,t){null!=(t=t.checked)&&xe(e,"checked",t,!1)}function Me(e,t){Ce(e,t);var n=we(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")?Ne(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ne(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Oe(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.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ne(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ze(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 Ae(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=""+we(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 Ie(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(l(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Re(e,t){var n=t.value;if(null==n){if(n=t.defaultValue,null!=(t=t.children)){if(null!=n)throw Error(l(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(l(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:we(n)}}function je(e,t){var n=we(t.value),r=we(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 Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"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(be,ke);ge[t]=new ye(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(be,ke);ge[t]=new ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(be,ke);ge[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){ge[e]=new ye(e,1,!1,e.toLowerCase(),null,!1)})),ge.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){ge[e]=new ye(e,1,!1,e.toLowerCase(),null,!0)}));var De="http://www.w3.org/1999/xhtml",Ue="http://www.w3.org/2000/svg";function Fe(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 We(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ve,Be=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(e.namespaceURI!==Ue||"innerHTML"in e)e.innerHTML=t;else{for((Ve=Ve||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ve.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function $e(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 qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionend:qe("Transition","TransitionEnd")},Qe={},Ge={};function Ke(e){if(Qe[e])return Qe[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ge)return Qe[e]=n[t];return e}J&&(Ge=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Xe=Ke("animationend"),Ye=Ke("animationiteration"),Ze=Ke("animationstart"),Je=Ke("transitionend"),et="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");function tt(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 nt(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 rt(e){if(tt(e)!==e)throw Error(l(188))}function at(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=tt(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 rt(a),e;if(i===r)return rt(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}var it,lt,ot,ut=!1,st=[],ct=null,ft=null,dt=null,pt=new Map,ht=new Map,vt=[],mt="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(" "),yt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function gt(e,t,n,r){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:r}}function bt(e,t){switch(e){case"focus":case"blur":ct=null;break;case"dragenter":case"dragleave":ft=null;break;case"mouseover":case"mouseout":dt=null;break;case"pointerover":case"pointerout":pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ht.delete(t.pointerId)}}function kt(e,t,n,r,a){return null===e||e.nativeEvent!==a?(e=gt(t,n,r,a),null!==t&&(null!==(t=sr(t))&&lt(t)),e):(e.eventSystemFlags|=r,e)}function wt(e){var t=ur(e.target);if(null!==t){var n=tt(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=nt(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){ot(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function xt(e){if(null!==e.blockedOn)return!1;var t=Nn(e.topLevelType,e.eventSystemFlags,e.nativeEvent);if(null!==t){var n=sr(t);return null!==n&&lt(n),e.blockedOn=t,!1}return!0}function Et(e,t,n){xt(e)&&n.delete(t)}function Tt(){for(ut=!1;0<st.length;){var e=st[0];if(null!==e.blockedOn){null!==(e=sr(e.blockedOn))&&it(e);break}var t=Nn(e.topLevelType,e.eventSystemFlags,e.nativeEvent);null!==t?e.blockedOn=t:st.shift()}null!==ct&&xt(ct)&&(ct=null),null!==ft&&xt(ft)&&(ft=null),null!==dt&&xt(dt)&&(dt=null),pt.forEach(Et),ht.forEach(Et)}function St(e,t){e.blockedOn===t&&(e.blockedOn=null,ut||(ut=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Tt)))}function _t(e){function t(t){return St(t,e)}if(0<st.length){St(st[0],e);for(var n=1;n<st.length;n++){var r=st[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ct&&St(ct,e),null!==ft&&St(ft,e),null!==dt&&St(dt,e),pt.forEach(t),ht.forEach(t),n=0;n<vt.length;n++)(r=vt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<vt.length&&null===(n=vt[0]).blockedOn;)wt(n),null===n.blockedOn&&vt.shift()}function Pt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ct(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Mt(e,t,n){(t=z(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=_(n._dispatchListeners,t),n._dispatchInstances=_(n._dispatchInstances,e))}function Ot(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Ct(t);for(t=n.length;0<t--;)Mt(n[t],"captured",e);for(t=0;t<n.length;t++)Mt(n[t],"bubbled",e)}}function Nt(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=z(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=_(n._dispatchListeners,t),n._dispatchInstances=_(n._dispatchInstances,e))}function zt(e){e&&e.dispatchConfig.registrationName&&Nt(e._targetInst,null,e)}function At(e){P(e,Ot)}function It(){return!0}function Rt(){return!1}function jt(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)?It:Rt,this.isPropagationStopped=Rt,this}function Lt(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 Dt(e){if(!(e instanceof this))throw Error(l(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Ut(e){e.eventPool=[],e.getPooled=Lt,e.release=Dt}a(jt.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=It)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=It)},persist:function(){this.isPersistent=It},isPersistent:Rt,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=Rt,this._dispatchInstances=this._dispatchListeners=null}}),jt.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},jt.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,Ut(n),n},Ut(jt);var Ft=jt.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Wt=jt.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Vt=jt.extend({view:null,detail:null}),Bt=Vt.extend({relatedTarget:null});function $t(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 qt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ht={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"},Qt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Qt[e])&&!!t[e]}function Kt(){return Gt}for(var Xt=Vt.extend({key:function(e){if(e.key){var t=qt[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=$t(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ht[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Kt,charCode:function(e){return"keypress"===e.type?$t(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?$t(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Yt=0,Zt=0,Jt=!1,en=!1,tn=Vt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Kt,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=Yt;return Yt=e.screenX,Jt?"mousemove"===e.type?e.screenX-t:0:(Jt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Zt;return Zt=e.screenY,en?"mousemove"===e.type?e.screenY-t:0:(en=!0,0)}}),nn=tn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),rn=tn.extend({dataTransfer:null}),an=Vt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Kt}),ln=jt.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),on=tn.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}),un=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[Xe,"animationEnd",2],[Ye,"animationIteration",2],[Ze,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[Je,"transitionEnd",2],["waiting","waiting",2]],sn={},cn={},fn=0;fn<un.length;fn++){var dn=un[fn],pn=dn[0],hn=dn[1],vn=dn[2],mn="on"+(hn[0].toUpperCase()+hn.slice(1)),yn={phasedRegistrationNames:{bubbled:mn,captured:mn+"Capture"},dependencies:[pn],eventPriority:vn};sn[hn]=yn,cn[pn]=yn}var gn={eventTypes:sn,getEventPriority:function(e){return void 0!==(e=cn[e])?e.eventPriority:2},extractEvents:function(e,t,n,r){var a=cn[e];if(!a)return null;switch(e){case"keypress":if(0===$t(n))return null;case"keydown":case"keyup":e=Xt;break;case"blur":case"focus":e=Bt;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=tn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=rn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=an;break;case Xe:case Ye:case Ze:e=Ft;break;case Je:e=ln;break;case"scroll":e=Vt;break;case"wheel":e=on;break;case"copy":case"cut":case"paste":e=Wt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=nn;break;default:e=jt}return At(t=e.getPooled(a,t,n,r)),t}},bn=i.unstable_UserBlockingPriority,kn=i.unstable_runWithPriority,wn=gn.getEventPriority,xn=[];function En(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=ur(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=Pt(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,l=e.eventSystemFlags,o=null,u=0;u<f.length;u++){var s=f[u];s&&(s=s.extractEvents(r,t,i,a,l))&&(o=_(o,s))}O(o)}}var Tn=!0;function Sn(e,t){_n(t,e,!1)}function _n(e,t,n){switch(wn(t)){case 0:var r=Pn.bind(null,t,1);break;case 1:r=Cn.bind(null,t,1);break;default:r=On.bind(null,t,1)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Pn(e,t,n){ce||ue();var r=On,a=ce;ce=!0;try{oe(r,e,t,n)}finally{(ce=a)||de()}}function Cn(e,t,n){kn(bn,On.bind(null,e,t,n))}function Mn(e,t,n,r){if(xn.length){var a=xn.pop();a.topLevelType=e,a.eventSystemFlags=t,a.nativeEvent=n,a.targetInst=r,e=a}else e={topLevelType:e,eventSystemFlags:t,nativeEvent:n,targetInst:r,ancestors:[]};try{if(t=En,n=e,fe)t(n,void 0);else{fe=!0;try{se(t,n,void 0)}finally{fe=!1,de()}}}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,xn.length<10&&xn.push(e)}}function On(e,t,n){if(Tn)if(0<st.length&&-1<mt.indexOf(e))e=gt(null,e,t,n),st.push(e);else{var r=Nn(e,t,n);null===r?bt(e,n):-1<mt.indexOf(e)?(e=gt(r,e,t,n),st.push(e)):function(e,t,n,r){switch(t){case"focus":return ct=kt(ct,e,t,n,r),!0;case"dragenter":return ft=kt(ft,e,t,n,r),!0;case"mouseover":return dt=kt(dt,e,t,n,r),!0;case"pointerover":var a=r.pointerId;return pt.set(a,kt(pt.get(a)||null,e,t,n,r)),!0;case"gotpointercapture":return a=r.pointerId,ht.set(a,kt(ht.get(a)||null,e,t,n,r)),!0}return!1}(r,e,t,n)||(bt(e,n),Mn(e,t,n,null))}}function Nn(e,t,n){var r=Pt(n);if(null!==(r=ur(r))){var a=tt(r);if(null===a)r=null;else{var i=a.tag;if(13===i){if(null!==(r=nt(a)))return r;r=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;r=null}else a!==r&&(r=null)}}return Mn(e,t,n,r),null}function zn(e){if(!J)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 An=new("function"===typeof WeakMap?WeakMap:Map);function In(e){var t=An.get(e);return void 0===t&&(t=new Set,An.set(e,t)),t}function Rn(e,t,n){if(!n.has(e)){switch(e){case"scroll":_n(t,"scroll",!0);break;case"focus":case"blur":_n(t,"focus",!0),_n(t,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":zn(e)&&_n(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===et.indexOf(e)&&Sn(e,t)}n.add(e)}}var jn={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},Ln=["Webkit","ms","Moz","O"];function Dn(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||jn.hasOwnProperty(e)&&jn[e]?(""+t).trim():t+"px"}function Un(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=Dn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(jn).forEach((function(e){Ln.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jn[t]=jn[e]}))}));var Fn=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 Wn(e,t){if(t){if(Fn[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 Vn(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}}function Bn(e,t){var n=In(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=h[t];for(var r=0;r<t.length;r++)Rn(t[r],e,n)}function $n(){}function qn(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Hn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qn(e,t){var n,r=Hn(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=Hn(r)}}function Gn(){for(var e=window,t=qn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=qn((e=t.contentWindow).document)}return t}function Kn(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 Xn=null,Yn=null;function Zn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Jn(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 er="function"===typeof setTimeout?setTimeout:void 0,tr="function"===typeof clearTimeout?clearTimeout:void 0;function nr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function rr(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 ar=Math.random().toString(36).slice(2),ir="__reactInternalInstance$"+ar,lr="__reactEventHandlers$"+ar,or="__reactContainere$"+ar;function ur(e){var t=e[ir];if(t)return t;for(var n=e.parentNode;n;){if(t=n[or]||n[ir]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rr(e);null!==e;){if(n=e[ir])return n;e=rr(e)}return t}n=(e=n).parentNode}return null}function sr(e){return!(e=e[ir]||e[or])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function cr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(l(33))}function fr(e){return e[lr]||null}var dr=null,pr=null,hr=null;function vr(){if(hr)return hr;var e,t,n=pr,r=n.length,a="value"in dr?dr.value:dr.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 hr=a.slice(e,1<t?1-t:void 0)}var mr=jt.extend({data:null}),yr=jt.extend({data:null}),gr=[9,13,27,32],br=J&&"CompositionEvent"in window,kr=null;J&&"documentMode"in document&&(kr=document.documentMode);var wr=J&&"TextEvent"in window&&!kr,xr=J&&(!br||kr&&8<kr&&11>=kr),Er=String.fromCharCode(32),Tr={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(" ")}},Sr=!1;function _r(e,t){switch(e){case"keyup":return-1!==gr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Pr(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Cr=!1;var Mr={eventTypes:Tr,extractEvents:function(e,t,n,r){var a;if(br)e:{switch(e){case"compositionstart":var i=Tr.compositionStart;break e;case"compositionend":i=Tr.compositionEnd;break e;case"compositionupdate":i=Tr.compositionUpdate;break e}i=void 0}else Cr?_r(e,n)&&(i=Tr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Tr.compositionStart);return i?(xr&&"ko"!==n.locale&&(Cr||i!==Tr.compositionStart?i===Tr.compositionEnd&&Cr&&(a=vr()):(pr="value"in(dr=r)?dr.value:dr.textContent,Cr=!0)),i=mr.getPooled(i,t,n,r),a?i.data=a:null!==(a=Pr(n))&&(i.data=a),At(i),a=i):a=null,(e=wr?function(e,t){switch(e){case"compositionend":return Pr(t);case"keypress":return 32!==t.which?null:(Sr=!0,Er);case"textInput":return(e=t.data)===Er&&Sr?null:e;default:return null}}(e,n):function(e,t){if(Cr)return"compositionend"===e||!br&&_r(e,t)?(e=vr(),hr=pr=dr=null,Cr=!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 xr&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=yr.getPooled(Tr.beforeInput,t,n,r)).data=e,At(t)):t=null,null===a?t:null===t?a:[a,t]}},Or={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 Nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Or[e.type]:"textarea"===t}var zr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Ar(e,t,n){return(e=jt.getPooled(zr.change,e,t,n)).type="change",ae(n),At(e),e}var Ir=null,Rr=null;function jr(e){O(e)}function Lr(e){if(Se(cr(e)))return e}function Dr(e,t){if("change"===e)return t}var Ur=!1;function Fr(){Ir&&(Ir.detachEvent("onpropertychange",Wr),Rr=Ir=null)}function Wr(e){if("value"===e.propertyName&&Lr(Rr))if(e=Ar(Rr,e,Pt(e)),ce)O(e);else{ce=!0;try{le(jr,e)}finally{ce=!1,de()}}}function Vr(e,t,n){"focus"===e?(Fr(),Rr=n,(Ir=t).attachEvent("onpropertychange",Wr)):"blur"===e&&Fr()}function Br(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Lr(Rr)}function $r(e,t){if("click"===e)return Lr(t)}function qr(e,t){if("input"===e||"change"===e)return Lr(t)}J&&(Ur=zn("input")&&(!document.documentMode||9<document.documentMode));var Hr,Qr={eventTypes:zr,_isInputEventSupported:Ur,extractEvents:function(e,t,n,r){var a=t?cr(t):window,i=a.nodeName&&a.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===a.type)var l=Dr;else if(Nr(a))if(Ur)l=qr;else{l=Br;var o=Vr}else(i=a.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(l=$r);if(l&&(l=l(e,t)))return Ar(l,n,r);o&&o(e,a,t),"blur"===e&&(e=a._wrapperState)&&e.controlled&&"number"===a.type&&Ne(a,"number",a.value)}},Gr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Kr={eventTypes:Gr,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(a=r.window===r?r:(a=r.ownerDocument)?a.defaultView||a.parentWindow:window,l?(l=t,null!==(t=(t=n.relatedTarget||n.toElement)?ur(t):null)&&(t!==(i=tt(t))||5!==t.tag&&6!==t.tag)&&(t=null)):l=null,l===t)return null;if("mouseout"===e||"mouseover"===e)var o=tn,u=Gr.mouseLeave,s=Gr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(o=nn,u=Gr.pointerLeave,s=Gr.pointerEnter,c="pointer");if(e=null==l?a:cr(l),a=null==t?a:cr(t),(u=o.getPooled(u,l,n,r)).type=c+"leave",u.target=e,u.relatedTarget=a,(r=o.getPooled(s,t,n,r)).type=c+"enter",r.target=a,r.relatedTarget=e,c=t,(o=l)&&c)e:{for(e=c,l=0,t=s=o;t;t=Ct(t))l++;for(t=0,a=e;a;a=Ct(a))t++;for(;0<l-t;)s=Ct(s),l--;for(;0<t-l;)e=Ct(e),t--;for(;l--;){if(s===e||s===e.alternate)break e;s=Ct(s),e=Ct(e)}s=null}else s=null;for(e=s,s=[];o&&o!==e&&(null===(l=o.alternate)||l!==e);)s.push(o),o=Ct(o);for(o=[];c&&c!==e&&(null===(l=c.alternate)||l!==e);)o.push(c),c=Ct(c);for(c=0;c<s.length;c++)Nt(s[c],"bubbled",u);for(c=o.length;0<c--;)Nt(o[c],"captured",r);return n===Hr?(Hr=null,[u]):(Hr=n,[u,r])}};var Xr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Yr=Object.prototype.hasOwnProperty;function Zr(e,t){if(Xr(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(!Yr.call(t,n[r])||!Xr(e[n[r]],t[n[r]]))return!1;return!0}var Jr=J&&"documentMode"in document&&11>=document.documentMode,ea={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ta=null,na=null,ra=null,aa=!1;function ia(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return aa||null==ta||ta!==qn(n)?null:("selectionStart"in(n=ta)&&Kn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},ra&&Zr(ra,n)?null:(ra=n,(e=jt.getPooled(ea.select,na,e,t)).type="select",e.target=ta,At(e),e))}var la={eventTypes:ea,extractEvents:function(e,t,n,r){var a,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(a=!i)){e:{i=In(i),a=h.onSelect;for(var l=0;l<a.length;l++)if(!i.has(a[l])){i=!1;break e}i=!0}a=!i}if(a)return null;switch(i=t?cr(t):window,e){case"focus":(Nr(i)||"true"===i.contentEditable)&&(ta=i,na=t,ra=null);break;case"blur":ra=na=ta=null;break;case"mousedown":aa=!0;break;case"contextmenu":case"mouseup":case"dragend":return aa=!1,ia(n,r);case"selectionchange":if(Jr)break;case"keydown":case"keyup":return ia(n,r)}return null}};N.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=fr,E=sr,T=cr,N.injectEventPluginsByName({SimpleEventPlugin:gn,EnterLeaveEventPlugin:Kr,ChangeEventPlugin:Qr,SelectEventPlugin:la,BeforeInputEventPlugin:Mr}),new Set;var oa=[],ua=-1;function sa(e){0>ua||(e.current=oa[ua],oa[ua]=null,ua--)}function ca(e,t){ua++,oa[ua]=e.current,e.current=t}var fa={},da={current:fa},pa={current:!1},ha=fa;function va(e,t){var n=e.type.contextTypes;if(!n)return fa;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 ma(e){return null!==(e=e.childContextTypes)&&void 0!==e}function ya(e){sa(pa),sa(da)}function ga(e){sa(pa),sa(da)}function ba(e,t,n){if(da.current!==fa)throw Error(l(168));ca(da,t),ca(pa,n)}function ka(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,Y(t)||"Unknown",i));return a({},n,{},r)}function wa(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||fa,ha=da.current,ca(da,t),ca(pa,pa.current),!0}function xa(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(t=ka(e,t,ha),r.__reactInternalMemoizedMergedChildContext=t,sa(pa),sa(da),ca(da,t)):sa(pa),ca(pa,n)}var Ea=i.unstable_runWithPriority,Ta=i.unstable_scheduleCallback,Sa=i.unstable_cancelCallback,_a=i.unstable_shouldYield,Pa=i.unstable_requestPaint,Ca=i.unstable_now,Ma=i.unstable_getCurrentPriorityLevel,Oa=i.unstable_ImmediatePriority,Na=i.unstable_UserBlockingPriority,za=i.unstable_NormalPriority,Aa=i.unstable_LowPriority,Ia=i.unstable_IdlePriority,Ra={},ja=void 0!==Pa?Pa:function(){},La=null,Da=null,Ua=!1,Fa=Ca(),Wa=1e4>Fa?Ca:function(){return Ca()-Fa};function Va(){switch(Ma()){case Oa:return 99;case Na:return 98;case za:return 97;case Aa:return 96;case Ia:return 95;default:throw Error(l(332))}}function Ba(e){switch(e){case 99:return Oa;case 98:return Na;case 97:return za;case 96:return Aa;case 95:return Ia;default:throw Error(l(332))}}function $a(e,t){return e=Ba(e),Ea(e,t)}function qa(e,t,n){return e=Ba(e),Ta(e,t,n)}function Ha(e){return null===La?(La=[e],Da=Ta(Oa,Ga)):La.push(e),Ra}function Qa(){if(null!==Da){var e=Da;Da=null,Sa(e)}Ga()}function Ga(){if(!Ua&&null!==La){Ua=!0;var e=0;try{var t=La;$a(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),La=null}catch(n){throw null!==La&&(La=La.slice(e+1)),Ta(Oa,Qa),n}finally{Ua=!1}}}var Ka=3;function Xa(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ya(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 Za={current:null},Ja=null,ei=null,ti=null;function ni(){ti=ei=Ja=null}function ri(e,t){var n=e.type._context;ca(Za,n._currentValue),n._currentValue=t}function ai(e){var t=Za.current;sa(Za),e.type._context._currentValue=t}function ii(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 li(e,t){Ja=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Fl=!0),e.firstContext=null)}function oi(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Ja)throw Error(l(308));ei=t,Ja.dependencies={expirationTime:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var ui=!1;function si(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ci(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function fi(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function di(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function pi(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,a=null;null===r&&(r=e.updateQueue=si(e.memoizedState))}else r=e.updateQueue,a=n.updateQueue,null===r?null===a?(r=e.updateQueue=si(e.memoizedState),a=n.updateQueue=si(n.memoizedState)):r=e.updateQueue=ci(a):null===a&&(a=n.updateQueue=ci(r));null===a||r===a?di(r,t):null===r.lastUpdate||null===a.lastUpdate?(di(r,t),di(a,t)):(di(r,t),a.lastUpdate=t)}function hi(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=si(e.memoizedState):vi(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function vi(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=ci(t)),t}function mi(e,t,n,r,i,l){switch(n.tag){case 1:return"function"===typeof(e=n.payload)?e.call(l,r,i):e;case 3:e.effectTag=-4097&e.effectTag|64;case 0:if(null===(i="function"===typeof(e=n.payload)?e.call(l,r,i):e)||void 0===i)break;return a({},r,i);case 2:ui=!0}return r}function yi(e,t,n,r,a){ui=!1;for(var i=(t=vi(e,t)).baseState,l=null,o=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;c<a?(null===l&&(l=u,i=s),o<c&&(o=c)):(fu(c,u.suspenseConfig),s=mi(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f<a?(null===c&&(c=u,null===l&&(i=s)),o<f&&(o=f)):(s=mi(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===l&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===l&&null===c&&(i=s),t.baseState=i,t.firstUpdate=l,t.firstCapturedUpdate=c,du(o),e.expirationTime=o,e.memoizedState=s}function gi(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),bi(t.firstEffect,n),t.firstEffect=t.lastEffect=null,bi(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function bi(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!==typeof n)throw Error(l(191,n));n.call(r)}e=e.nextEffect}}var ki=A.ReactCurrentBatchConfig,wi=(new r.Component).refs;function xi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:a({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var Ei={isMounted:function(e){return!!(e=e._reactInternalFiber)&&tt(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Zo(),a=ki.suspense;(a=fi(r=Jo(r,e,a),a)).payload=t,void 0!==n&&null!==n&&(a.callback=n),pi(e,a),eu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Zo(),a=ki.suspense;(a=fi(r=Jo(r,e,a),a)).tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),pi(e,a),eu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Zo(),r=ki.suspense;(r=fi(n=Jo(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),pi(e,r),eu(e,n)}};function Ti(e,t,n,r,a,i,l){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,l):!t.prototype||!t.prototype.isPureReactComponent||(!Zr(n,r)||!Zr(a,i))}function Si(e,t,n){var r=!1,a=fa,i=t.contextType;return"object"===typeof i&&null!==i?i=oi(i):(a=ma(t)?ha:da.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?va(e,a):fa),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ei,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function _i(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&&Ei.enqueueReplaceState(t,t.state,null)}function Pi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=wi;var i=t.contextType;"object"===typeof i&&null!==i?a.context=oi(i):(i=ma(t)?ha:da.current,a.context=va(e,i)),null!==(i=e.updateQueue)&&(yi(e,i,n,a,r),a.state=e.memoizedState),"function"===typeof(i=t.getDerivedStateFromProps)&&(xi(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&&Ei.enqueueReplaceState(a,a.state,null),null!==(i=e.updateQueue)&&(yi(e,i,n,a,r),a.state=e.memoizedState)),"function"===typeof a.componentDidMount&&(e.effectTag|=4)}var Ci=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===wi&&(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 Oi(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 Ni(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,n){return(e=zu(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=Ru(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(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=Au(n.type,n.key,n.props,null,e.mode,r)).ref=Mi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ju(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=Iu(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=Ru(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case j:return(n=Au(t.type,t.key,t.props,null,e.mode,n)).ref=Mi(e,null,t),n.return=e,n;case L:return(t=ju(t,e.mode,n)).return=e,t}if(Ci(t)||X(t))return(t=Iu(t,e.mode,n,null)).return=e,t;Oi(e,t)}return null}function p(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===D?f(e,t,n.props.children,r,a):s(e,t,n,r):null;case L:return n.key===a?c(e,t,n,r):null}if(Ci(n)||X(n))return null!==a?null:f(e,t,n,r,null);Oi(e,n)}return null}function h(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===D?f(t,e,r.props.children,a,r.key):s(t,e,r,a);case L:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(Ci(r)||X(r))return f(t,e=e.get(n)||null,r,a,null);Oi(t,r)}return null}function v(a,l,o,u){for(var s=null,c=null,f=l,v=l=0,m=null;null!==f&&v<o.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var y=p(a,f,o[v],u);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(a,f),l=i(y,l,v),null===c?s=y:c.sibling=y,c=y,f=m}if(v===o.length)return n(a,f),s;if(null===f){for(;v<o.length;v++)null!==(f=d(a,o[v],u))&&(l=i(f,l,v),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(a,f);v<o.length;v++)null!==(m=h(f,a,v,o[v],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),l=i(m,l,v),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(a,e)})),s}function m(a,o,u,s){var c=X(u);if("function"!==typeof c)throw Error(l(150));if(null==(u=c.call(u)))throw Error(l(151));for(var f=c=null,v=o,m=o=0,y=null,g=u.next();null!==v&&!g.done;m++,g=u.next()){v.index>m?(y=v,v=null):y=v.sibling;var b=p(a,v,g.value,s);if(null===b){null===v&&(v=y);break}e&&v&&null===b.alternate&&t(a,v),o=i(b,o,m),null===f?c=b:f.sibling=b,f=b,v=y}if(g.done)return n(a,v),c;if(null===v){for(;!g.done;m++,g=u.next())null!==(g=d(a,g.value,s))&&(o=i(g,o,m),null===f?c=g:f.sibling=g,f=g);return c}for(v=r(a,v);!g.done;m++,g=u.next())null!==(g=h(v,a,m,g.value,s))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),o=i(g,o,m),null===f?c=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(a,e)})),c}return function(e,r,i,u){var s="object"===typeof i&&null!==i&&i.type===D&&null===i.key;s&&(i=i.props.children);var c="object"===typeof i&&null!==i;if(c)switch(i.$$typeof){case j:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?i.type===D:s.elementType===i.type){n(e,s.sibling),(r=a(s,i.type===D?i.props.children:i.props)).ref=Mi(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===D?((r=Iu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Au(i.type,i.key,i.props,null,e.mode,u)).ref=Mi(e,r,i),u.return=e,e=u)}return o(e);case L:e:{for(s=i.key;null!==r;){if(r.key===s){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=ju(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=Ru(i,e.mode,u)).return=e,e=r),o(e);if(Ci(i))return v(e,r,i,u);if(X(i))return m(e,r,i,u);if(c&&Oi(e,i),"undefined"===typeof i&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(l(152,e.displayName||e.name||"Component"))}return n(e,r)}}var zi=Ni(!0),Ai=Ni(!1),Ii={},Ri={current:Ii},ji={current:Ii},Li={current:Ii};function Di(e){if(e===Ii)throw Error(l(174));return e}function Ui(e,t){ca(Li,t),ca(ji,e),ca(Ri,Ii);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:We(null,"");break;default:t=We(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}sa(Ri),ca(Ri,t)}function Fi(e){sa(Ri),sa(ji),sa(Li)}function Wi(e){Di(Li.current);var t=Di(Ri.current),n=We(t,e.type);t!==n&&(ca(ji,e),ca(Ri,n))}function Vi(e){ji.current===e&&(sa(Ri),sa(ji))}var Bi={current:0};function $i(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 qi(e,t){return{responder:e,props:t}}var Hi=A.ReactCurrentDispatcher,Qi=A.ReactCurrentBatchConfig,Gi=0,Ki=null,Xi=null,Yi=null,Zi=null,Ji=null,el=null,tl=0,nl=null,rl=0,al=!1,il=null,ll=0;function ol(){throw Error(l(321))}function ul(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Xr(e[n],t[n]))return!1;return!0}function sl(e,t,n,r,a,i){if(Gi=i,Ki=t,Yi=null!==e?e.memoizedState:null,Hi.current=null===Yi?Cl:Ml,t=n(r,a),al){do{al=!1,ll+=1,Yi=null!==e?e.memoizedState:null,el=Zi,nl=Ji=Xi=null,Hi.current=Ml,t=n(r,a)}while(al);il=null,ll=0}if(Hi.current=Pl,(e=Ki).memoizedState=Zi,e.expirationTime=tl,e.updateQueue=nl,e.effectTag|=rl,e=null!==Xi&&null!==Xi.next,Gi=0,el=Ji=Zi=Yi=Xi=Ki=null,tl=0,nl=null,rl=0,e)throw Error(l(300));return t}function cl(){Hi.current=Pl,Gi=0,el=Ji=Zi=Yi=Xi=Ki=null,tl=0,nl=null,rl=0,al=!1,il=null,ll=0}function fl(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Ji?Zi=Ji=e:Ji=Ji.next=e,Ji}function dl(){if(null!==el)el=(Ji=el).next,Yi=null!==(Xi=Yi)?Xi.next:null;else{if(null===Yi)throw Error(l(310));var e={memoizedState:(Xi=Yi).memoizedState,baseState:Xi.baseState,queue:Xi.queue,baseUpdate:Xi.baseUpdate,next:null};Ji=null===Ji?Zi=e:Ji.next=e,Yi=Xi.next}return Ji}function pl(e,t){return"function"===typeof t?t(e):t}function hl(e){var t=dl(),n=t.queue;if(null===n)throw Error(l(311));if(n.lastRenderedReducer=e,0<ll){var r=n.dispatch;if(null!==il){var a=il.get(n);if(void 0!==a){il.delete(n);var i=t.memoizedState;do{i=e(i,a.action),a=a.next}while(null!==a);return Xr(i,t.memoizedState)||(Fl=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,r]}}return[t.memoizedState,r]}r=n.last;var o=t.baseUpdate;if(i=t.baseState,null!==o?(null!==r&&(r.next=null),r=o.next):r=null!==r?r.next:null,null!==r){var u=a=null,s=r,c=!1;do{var f=s.expirationTime;f<Gi?(c||(c=!0,u=o,a=i),f>tl&&du(tl=f)):(fu(f,s.suspenseConfig),i=s.eagerReducer===e?s.eagerState:e(i,s.action)),o=s,s=s.next}while(null!==s&&s!==r);c||(u=o,a=i),Xr(i,t.memoizedState)||(Fl=!0),t.memoizedState=i,t.baseUpdate=u,t.baseState=a,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function vl(e){var t=fl();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:pl,lastRenderedState:e}).dispatch=_l.bind(null,Ki,e),[t.memoizedState,e]}function ml(e){return hl(pl)}function yl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===nl?(nl={lastEffect:null}).lastEffect=e.next=e:null===(t=nl.lastEffect)?nl.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,nl.lastEffect=e),e}function gl(e,t,n,r){var a=fl();rl|=e,a.memoizedState=yl(t,n,void 0,void 0===r?null:r)}function bl(e,t,n,r){var a=dl();r=void 0===r?null:r;var i=void 0;if(null!==Xi){var l=Xi.memoizedState;if(i=l.destroy,null!==r&&ul(r,l.deps))return void yl(0,n,i,r)}rl|=e,a.memoizedState=yl(t,n,i,r)}function kl(e,t){return gl(516,192,e,t)}function wl(e,t){return bl(516,192,e,t)}function xl(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function El(){}function Tl(e,t){return fl().memoizedState=[e,void 0===t?null:t],e}function Sl(e,t){var n=dl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ul(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _l(e,t,n){if(!(25>ll))throw Error(l(301));var r=e.alternate;if(e===Ki||null!==r&&r===Ki)if(al=!0,e={expirationTime:Gi,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===il&&(il=new Map),void 0===(n=il.get(t)))il.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var a=Zo(),i=ki.suspense;i={expirationTime:a=Jo(a,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.last;if(null===o)i.next=i;else{var u=o.next;null!==u&&(i.next=u),o.next=i}if(t.last=i,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=r(s,n);if(i.eagerReducer=r,i.eagerState=c,Xr(c,s))return}catch(f){}eu(e,a)}}var Pl={readContext:oi,useCallback:ol,useContext:ol,useEffect:ol,useImperativeHandle:ol,useLayoutEffect:ol,useMemo:ol,useReducer:ol,useRef:ol,useState:ol,useDebugValue:ol,useResponder:ol,useDeferredValue:ol,useTransition:ol},Cl={readContext:oi,useCallback:Tl,useContext:oi,useEffect:kl,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,gl(4,36,xl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gl(4,36,e,t)},useMemo:function(e,t){var n=fl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=_l.bind(null,Ki,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},fl().memoizedState=e},useState:vl,useDebugValue:El,useResponder:qi,useDeferredValue:function(e,t){var n=vl(e),r=n[0],a=n[1];return kl((function(){i.unstable_next((function(){var n=Qi.suspense;Qi.suspense=void 0===t?null:t;try{a(e)}finally{Qi.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=vl(!1),n=t[0],r=t[1];return[Tl((function(t){r(!0),i.unstable_next((function(){var n=Qi.suspense;Qi.suspense=void 0===e?null:e;try{r(!1),t()}finally{Qi.suspense=n}}))}),[e,n]),n]}},Ml={readContext:oi,useCallback:Sl,useContext:oi,useEffect:wl,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,bl(4,36,xl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bl(4,36,e,t)},useMemo:function(e,t){var n=dl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ul(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:hl,useRef:function(){return dl().memoizedState},useState:ml,useDebugValue:El,useResponder:qi,useDeferredValue:function(e,t){var n=ml(),r=n[0],a=n[1];return wl((function(){i.unstable_next((function(){var n=Qi.suspense;Qi.suspense=void 0===t?null:t;try{a(e)}finally{Qi.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=ml(),n=t[0],r=t[1];return[Sl((function(t){r(!0),i.unstable_next((function(){var n=Qi.suspense;Qi.suspense=void 0===e?null:e;try{r(!1),t()}finally{Qi.suspense=n}}))}),[e,n]),n]}},Ol=null,Nl=null,zl=!1;function Al(e,t){var n=Ou(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 Il(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 Rl(e){if(zl){var t=Nl;if(t){var n=t;if(!Il(e,t)){if(!(t=nr(n.nextSibling))||!Il(e,t))return e.effectTag=-1025&e.effectTag|2,zl=!1,void(Ol=e);Al(Ol,n)}Ol=e,Nl=nr(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,zl=!1,Ol=e}}function jl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ol=e}function Ll(e){if(e!==Ol)return!1;if(!zl)return jl(e),zl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Jn(t,e.memoizedProps))for(t=Nl;t;)Al(e,t),t=nr(t.nextSibling);if(jl(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){Nl=nr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Nl=null}}else Nl=Ol?nr(e.stateNode.nextSibling):null;return!0}function Dl(){Nl=Ol=null,zl=!1}var Ul=A.ReactCurrentOwner,Fl=!1;function Wl(e,t,n,r){t.child=null===e?Ai(t,null,n,r):zi(t,e.child,n,r)}function Vl(e,t,n,r,a){n=n.render;var i=t.ref;return li(t,a),r=sl(e,t,n,r,i,a),null===e||Fl?(t.effectTag|=1,Wl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),ao(e,t,a))}function Bl(e,t,n,r,a,i){if(null===e){var l=n.type;return"function"!==typeof l||Nu(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Au(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,$l(e,t,l,r,a,i))}return l=e.child,a<i&&(a=l.memoizedProps,(n=null!==(n=n.compare)?n:Zr)(a,r)&&e.ref===t.ref)?ao(e,t,i):(t.effectTag|=1,(e=zu(l,r)).ref=t.ref,e.return=t,t.child=e)}function $l(e,t,n,r,a,i){return null!==e&&Zr(e.memoizedProps,r)&&e.ref===t.ref&&(Fl=!1,a<i)?ao(e,t,i):Hl(e,t,n,r,i)}function ql(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Hl(e,t,n,r,a){var i=ma(n)?ha:da.current;return i=va(t,i),li(t,a),n=sl(e,t,n,r,i,a),null===e||Fl?(t.effectTag|=1,Wl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),ao(e,t,a))}function Ql(e,t,n,r,a){if(ma(n)){var i=!0;wa(t)}else i=!1;if(li(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Si(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,s=n.contextType;"object"===typeof s&&null!==s?s=oi(s):s=va(t,s=ma(n)?ha:da.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof l.getSnapshotBeforeUpdate;f||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(o!==r||u!==s)&&_i(t,l,r,s),ui=!1;var d=t.memoizedState;u=l.state=d;var p=t.updateQueue;null!==p&&(yi(t,p,r,l,a),u=t.memoizedState),o!==r||d!==u||pa.current||ui?("function"===typeof c&&(xi(t,n,c,r),u=t.memoizedState),(o=ui||Ti(t,n,o,r,d,u,s))?(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=s,r=o):("function"===typeof l.componentDidMount&&(t.effectTag|=4),r=!1)}else l=t.stateNode,o=t.memoizedProps,l.props=t.type===t.elementType?o:Ya(t.type,o),u=l.context,"object"===typeof(s=n.contextType)&&null!==s?s=oi(s):s=va(t,s=ma(n)?ha:da.current),(f="function"===typeof(c=n.getDerivedStateFromProps)||"function"===typeof l.getSnapshotBeforeUpdate)||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(o!==r||u!==s)&&_i(t,l,r,s),ui=!1,u=t.memoizedState,d=l.state=u,null!==(p=t.updateQueue)&&(yi(t,p,r,l,a),d=t.memoizedState),o!==r||u!==d||pa.current||ui?("function"===typeof c&&(xi(t,n,c,r),d=t.memoizedState),(c=ui||Ti(t,n,o,r,u,d,s))?(f||"function"!==typeof l.UNSAFE_componentWillUpdate&&"function"!==typeof l.componentWillUpdate||("function"===typeof l.componentWillUpdate&&l.componentWillUpdate(r,d,s),"function"===typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,d,s)),"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=s,r=c):("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 Gl(e,t,n,r,i,a)}function Gl(e,t,n,r,a,i){ql(e,t);var l=0!==(64&t.effectTag);if(!r&&!l)return a&&xa(t,n,!1),ao(e,t,i);r=t.stateNode,Ul.current=t;var o=l&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&l?(t.child=zi(t,e.child,null,i),t.child=zi(t,null,o,i)):Wl(e,t,o,i),t.memoizedState=r.state,a&&xa(t,n,!0),t.child}function Kl(e){var t=e.stateNode;t.pendingContext?ba(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ba(0,t.context,!1),Ui(e,t.containerInfo)}var Xl,Yl,Zl,Jl={dehydrated:null,retryTime:0};function eo(e,t,n){var r,a=t.mode,i=t.pendingProps,l=Bi.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),ca(Bi,1&l),null===e){if(void 0!==i.fallback&&Rl(t),o){if(o=i.fallback,(i=Iu(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=Iu(o,a,n,null)).return=t,i.sibling=n,t.memoizedState=Jl,t.child=i,n}return a=i.children,t.memoizedState=null,t.child=Ai(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,o){if(i=i.fallback,(n=zu(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=zu(a,i,a.expirationTime)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Jl,t.child=n,a}return n=zi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,o){if(o=i.fallback,(i=Iu(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=Iu(o,a,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Jl,t.child=i,n}return t.memoizedState=null,t.child=zi(t,e,i.children,n)}function to(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ii(e.return,t)}function no(e,t,n,r,a,i){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:a,lastEffect:i}:(l.isBackwards=t,l.rendering=null,l.last=r,l.tail=n,l.tailExpiration=0,l.tailMode=a,l.lastEffect=i)}function ro(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(Wl(e,t,r.children,n),0!==(2&(r=Bi.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&&to(e,n);else if(19===e.tag)to(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(ca(Bi,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===$i(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),no(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===$i(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}no(t,!0,n,null,i,t.lastEffect);break;case"together":no(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ao(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&du(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=zu(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zu(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function io(e){e.effectTag|=4}function lo(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 oo(e){switch(e.tag){case 1:ma(e.type)&&ya();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Fi(),ga(),0!==(64&(t=e.effectTag)))throw Error(l(285));return e.effectTag=-4097&t|64,e;case 5:return Vi(e),null;case 13:return sa(Bi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return sa(Bi),null;case 4:return Fi(),null;case 10:return ai(e),null;default:return null}}function uo(e,t){return{value:e,source:t,stack:Z(t)}}Xl=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}},Yl=function(e,t,n,r,i){var l=e.memoizedProps;if(l!==r){var o,u,s=t.stateNode;switch(Di(Ri.current),e=null,n){case"input":l=_e(s,l),r=_e(s,r),e=[];break;case"option":l=ze(s,l),r=ze(s,r),e=[];break;case"select":l=a({},l,{value:void 0}),r=a({},r,{value:void 0}),e=[];break;case"textarea":l=Ie(s,l),r=Ie(s,r),e=[];break;default:"function"!==typeof l.onClick&&"function"===typeof r.onClick&&(s.onclick=$n)}for(o in Wn(n,r),n=null,l)if(!r.hasOwnProperty(o)&&l.hasOwnProperty(o)&&null!=l[o])if("style"===o)for(u in s=l[o])s.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==o&&"children"!==o&&"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(p.hasOwnProperty(o)?e||(e=[]):(e=e||[]).push(o,null));for(o in r){var c=r[o];if(s=null!=l?l[o]:void 0,r.hasOwnProperty(o)&&c!==s&&(null!=c||null!=s))if("style"===o)if(s){for(u in s)!s.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&s[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(o,n)),n=c;else"dangerouslySetInnerHTML"===o?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(o,""+c)):"children"===o?s===c||"string"!==typeof c&&"number"!==typeof c||(e=e||[]).push(o,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&(p.hasOwnProperty(o)?(null!=c&&Bn(i,o),e||s===c||(e=[])):(e=e||[]).push(o,c))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&io(t)}},Zl=function(e,t,n,r){n!==r&&io(t)};var so="function"===typeof WeakSet?WeakSet:Set;function co(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=Z(n)),null!==n&&Y(n.type),t=t.value,null!==e&&1===e.tag&&Y(e.type);try{console.error(t)}catch(a){setTimeout((function(){throw a}))}}function fo(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Tu(e,n)}else t.current=null}function po(e,t){switch(t.tag){case 0:case 11:case 15:ho(2,0,t);break;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:Ya(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(l(163))}}function ho(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!==(r.tag&e)){var a=r.destroy;r.destroy=void 0,void 0!==a&&a()}0!==(r.tag&t)&&(a=r.create,r.destroy=a()),r=r.next}while(r!==n)}}function vo(e,t,n){switch("function"===typeof Cu&&Cu(t),t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;$a(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(i){Tu(a,i)}}e=e.next}while(e!==r)}))}break;case 1:fo(t),"function"===typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){Tu(e,n)}}(t,n);break;case 5:fo(t);break;case 4:bo(e,t,n)}}function mo(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,null!==t&&mo(t)}function yo(e){return 5===e.tag||3===e.tag||4===e.tag}function go(e){e:{for(var t=e.return;null!==t;){if(yo(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&&($e(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||yo(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}}for(var a=e;;){var i=5===a.tag||6===a.tag;if(i){var o=i?a.stateNode:a.stateNode.instance;if(n)if(r){var u=o;o=n,8===(i=t).nodeType?i.parentNode.insertBefore(u,o):i.insertBefore(u,o)}else t.insertBefore(o,n);else r?(8===(u=t).nodeType?(i=u.parentNode).insertBefore(o,u):(i=u).appendChild(o),null!==(u=u._reactRootContainer)&&void 0!==u||null!==i.onclick||(i.onclick=$n)):t.appendChild(o)}else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)break;for(;null===a.sibling;){if(null===a.return||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function bo(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,s=i,c=n,f=s;;)if(vo(u,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break;for(;null===f.sibling;){if(null===f.return||f.return===s)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}a?(u=r,s=i.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):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(vo(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 ko(e,t){switch(t.tag){case 0:case 11:case 14:case 15:ho(4,8,t);break;case 1:break;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[lr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Ce(n,r),Vn(e,a),t=Vn(e,r),a=0;a<i.length;a+=2){var o=i[a],u=i[a+1];"style"===o?Un(n,u):"dangerouslySetInnerHTML"===o?Be(n,u):"children"===o?$e(n,u):xe(n,o,u,t)}switch(e){case"input":Me(n,r);break;case"textarea":je(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ae(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ae(n,!!r.multiple,r.defaultValue,!0):Ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===t.stateNode)throw Error(l(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:(t=t.stateNode).hydrate&&(t.hydrate=!1,_t(t.containerInfo));break;case 12:break;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Fo=Wa()),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=Dn("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 e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}wo(t);break;case 19:wo(t);break;case 17:case 20:case 21:break;default:throw Error(l(163))}}function wo(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new so),t.forEach((function(t){var r=_u.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var xo="function"===typeof WeakMap?WeakMap:Map;function Eo(e,t,n){(n=fi(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vo||(Vo=!0,Bo=r),co(e,t)},n}function To(e,t,n){(n=fi(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return co(e,t),r(a)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===$o?$o=new Set([this]):$o.add(this),co(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var So,_o=Math.ceil,Po=A.ReactCurrentDispatcher,Co=A.ReactCurrentOwner,Mo=0,Oo=null,No=null,zo=0,Ao=0,Io=null,Ro=1073741823,jo=1073741823,Lo=null,Do=0,Uo=!1,Fo=0,Wo=null,Vo=!1,Bo=null,$o=null,qo=!1,Ho=null,Qo=90,Go=null,Ko=0,Xo=null,Yo=0;function Zo(){return 0!==(48&Mo)?1073741821-(Wa()/10|0):0!==Yo?Yo:Yo=1073741821-(Wa()/10|0)}function Jo(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=Va();if(0===(4&t))return 99===r?1073741823:1073741822;if(0!==(16&Mo))return zo;if(null!==n)e=Xa(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xa(e,150,100);break;case 97:case 96:e=Xa(e,5e3,250);break;case 95:e=2;break;default:throw Error(l(326))}return null!==Oo&&e===zo&&--e,e}function eu(e,t){if(50<Ko)throw Ko=0,Xo=null,Error(l(185));if(null!==(e=tu(e,t))){var n=Va();1073741823===t?0!==(8&Mo)&&0===(48&Mo)?iu(e):(ru(e),0===Mo&&Qa()):ru(e),0===(4&Mo)||98!==n&&99!==n||(null===Go?Go=new Map([[e,t]]):(void 0===(n=Go.get(e))||n>t)&&Go.set(e,t))}}function tu(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&&(Oo===a&&(du(t),4===Ao&&Uu(a,zo)),Fu(a,t)),a}function nu(e){var t=e.lastExpiredTime;return 0!==t?t:Du(e,t=e.firstPendingTime)?(t=e.lastPingedTime)>(e=e.nextKnownPendingLevel)?t:e:t}function ru(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ha(iu.bind(null,e));else{var t=nu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Zo();if(1073741823===t?r=99:1===t||2===t?r=95:r=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!==Ra&&Sa(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ha(iu.bind(null,e)):qa(r,au.bind(null,e),{timeout:10*(1073741821-t)-Wa()}),e.callbackNode=t}}}function au(e,t){if(Yo=0,t)return Wu(e,t=Zo()),ru(e),null;var n=nu(e);if(0!==n){if(t=e.callbackNode,0!==(48&Mo))throw Error(l(327));if(wu(),e===Oo&&n===zo||uu(e,n),null!==No){var r=Mo;Mo|=16;for(var a=cu();;)try{hu();break}catch(u){su(e,u)}if(ni(),Mo=r,Po.current=a,1===Ao)throw t=Io,uu(e,n),Uu(e,n),ru(e),t;if(null===No)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Ao,Oo=null,r){case 0:case 1:throw Error(l(345));case 2:Wu(e,2<n?2:n);break;case 3:if(Uu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=yu(a)),1073741823===Ro&&10<(a=Fo+500-Wa())){if(Uo){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,uu(e,n);break}}if(0!==(i=nu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=er(gu.bind(null,e),a);break}gu(e);break;case 4:if(Uu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=yu(a)),Uo&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,uu(e,n);break}if(0!==(a=nu(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==jo?r=10*(1073741821-jo)-Wa():1073741823===Ro?r=0:(r=10*(1073741821-Ro)-5e3,0>(r=(a=Wa())-r)&&(r=0),(n=10*(1073741821-n)-a)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_o(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=er(gu.bind(null,e),r);break}gu(e);break;case 5:if(1073741823!==Ro&&null!==Lo){i=Ro;var o=Lo;if(0>=(r=0|o.busyMinDurationMs)?r=0:(a=0|o.busyDelayMs,r=(i=Wa()-(10*(1073741821-i)-(0|o.timeoutMs||5e3)))<=a?0:a+r-i),10<r){Uu(e,n),e.timeoutHandle=er(gu.bind(null,e),r);break}}gu(e);break;default:throw Error(l(329))}if(ru(e),e.callbackNode===t)return au.bind(null,e)}}return null}function iu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,e.finishedExpirationTime===t)gu(e);else{if(0!==(48&Mo))throw Error(l(327));if(wu(),e===Oo&&t===zo||uu(e,t),null!==No){var n=Mo;Mo|=16;for(var r=cu();;)try{pu();break}catch(a){su(e,a)}if(ni(),Mo=n,Po.current=r,1===Ao)throw n=Io,uu(e,t),Uu(e,t),ru(e),n;if(null!==No)throw Error(l(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Oo=null,gu(e),ru(e)}}return null}function lu(e,t){var n=Mo;Mo|=1;try{return e(t)}finally{0===(Mo=n)&&Qa()}}function ou(e,t){var n=Mo;Mo&=-2,Mo|=8;try{return e(t)}finally{0===(Mo=n)&&Qa()}}function uu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,tr(n)),null!==No)for(n=No.return;null!==n;){var r=n;switch(r.tag){case 1:var a=r.type.childContextTypes;null!==a&&void 0!==a&&ya();break;case 3:Fi(),ga();break;case 5:Vi(r);break;case 4:Fi();break;case 13:case 19:sa(Bi);break;case 10:ai(r)}n=n.return}Oo=e,No=zu(e.current,null),zo=t,Ao=0,Io=null,jo=Ro=1073741823,Lo=null,Do=0,Uo=!1}function su(e,t){for(;;){try{if(ni(),cl(),null===No||null===No.return)return Ao=1,Io=t,null;e:{var n=e,r=No.return,a=No,i=t;if(t=zo,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==i&&"object"===typeof i&&"function"===typeof i.then){var l=i,o=0!==(1&Bi.current),u=r;do{var s;if(s=13===u.tag){var c=u.memoizedState;if(null!==c)s=null!==c.dehydrated;else{var f=u.memoizedProps;s=void 0!==f.fallback&&(!0!==f.unstable_avoidThisFallback||!o)}}if(s){var d=u.updateQueue;if(null===d){var p=new Set;p.add(l),u.updateQueue=p}else d.add(l);if(0===(2&u.mode)){if(u.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var h=fi(1073741823,null);h.tag=2,pi(a,h)}a.expirationTime=1073741823;break e}i=void 0,a=t;var v=n.pingCache;if(null===v?(v=n.pingCache=new xo,i=new Set,v.set(l,i)):void 0===(i=v.get(l))&&(i=new Set,v.set(l,i)),!i.has(a)){i.add(a);var m=Su.bind(null,n,l,a);l.then(m,m)}u.effectTag|=4096,u.expirationTime=t;break e}u=u.return}while(null!==u);i=Error((Y(a.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."+Z(a))}5!==Ao&&(Ao=2),i=uo(i,a),u=r;do{switch(u.tag){case 3:l=i,u.effectTag|=4096,u.expirationTime=t,hi(u,Eo(u,l,t));break e;case 1:l=i;var y=u.type,g=u.stateNode;if(0===(64&u.effectTag)&&("function"===typeof y.getDerivedStateFromError||null!==g&&"function"===typeof g.componentDidCatch&&(null===$o||!$o.has(g)))){u.effectTag|=4096,u.expirationTime=t,hi(u,To(u,l,t));break e}}u=u.return}while(null!==u)}No=mu(No)}catch(b){t=b;continue}break}}function cu(){var e=Po.current;return Po.current=Pl,null===e?Pl:e}function fu(e,t){e<Ro&&2<e&&(Ro=e),null!==t&&e<jo&&2<e&&(jo=e,Lo=t)}function du(e){e>Do&&(Do=e)}function pu(){for(;null!==No;)No=vu(No)}function hu(){for(;null!==No&&!_a();)No=vu(No)}function vu(e){var t=So(e.alternate,e,zo);return e.memoizedProps=e.pendingProps,null===t&&(t=mu(e)),Co.current=null,t}function mu(e){No=e;do{var t=No.alternate;if(e=No.return,0===(2048&No.effectTag)){e:{var n=t,r=zo,i=(t=No).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:ma(t.type)&&ya();break;case 3:Fi(),ga(),(i=t.stateNode).pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(null===n||null===n.child)&&Ll(t)&&io(t);break;case 5:Vi(t),r=Di(Li.current);var o=t.type;if(null!==n&&null!=t.stateNode)Yl(n,t,o,i,r),n.ref!==t.ref&&(t.effectTag|=128);else if(i){var u=Di(Ri.current);if(Ll(t)){var s=(i=t).stateNode;n=i.type;var c=i.memoizedProps,f=r;switch(s[ir]=i,s[lr]=c,o=void 0,r=s,n){case"iframe":case"object":case"embed":Sn("load",r);break;case"video":case"audio":for(s=0;s<et.length;s++)Sn(et[s],r);break;case"source":Sn("error",r);break;case"img":case"image":case"link":Sn("error",r),Sn("load",r);break;case"form":Sn("reset",r),Sn("submit",r);break;case"details":Sn("toggle",r);break;case"input":Pe(r,c),Sn("invalid",r),Bn(f,"onChange");break;case"select":r._wrapperState={wasMultiple:!!c.multiple},Sn("invalid",r),Bn(f,"onChange");break;case"textarea":Re(r,c),Sn("invalid",r),Bn(f,"onChange")}for(o in Wn(n,c),s=null,c)c.hasOwnProperty(o)&&(u=c[o],"children"===o?"string"===typeof u?r.textContent!==u&&(s=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(s=["children",""+u]):p.hasOwnProperty(o)&&null!=u&&Bn(f,o));switch(n){case"input":Te(r),Oe(r,c,!0);break;case"textarea":Te(r),Le(r);break;case"select":case"option":break;default:"function"===typeof c.onClick&&(r.onclick=$n)}o=s,i.updateQueue=o,(i=null!==o)&&io(t)}else{n=t,f=o,c=i,s=9===r.nodeType?r:r.ownerDocument,u===De&&(u=Fe(f)),u===De?"script"===f?((c=s.createElement("div")).innerHTML="<script><\/script>",s=c.removeChild(c.firstChild)):"string"===typeof c.is?s=s.createElement(f,{is:c.is}):(s=s.createElement(f),"select"===f&&(f=s,c.multiple?f.multiple=!0:c.size&&(f.size=c.size))):s=s.createElementNS(u,f),(c=s)[ir]=n,c[lr]=i,Xl(c,t),t.stateNode=c;var d=r,h=Vn(f=o,n=i);switch(f){case"iframe":case"object":case"embed":Sn("load",c),r=n;break;case"video":case"audio":for(r=0;r<et.length;r++)Sn(et[r],c);r=n;break;case"source":Sn("error",c),r=n;break;case"img":case"image":case"link":Sn("error",c),Sn("load",c),r=n;break;case"form":Sn("reset",c),Sn("submit",c),r=n;break;case"details":Sn("toggle",c),r=n;break;case"input":Pe(c,n),r=_e(c,n),Sn("invalid",c),Bn(d,"onChange");break;case"option":r=ze(c,n);break;case"select":c._wrapperState={wasMultiple:!!n.multiple},r=a({},n,{value:void 0}),Sn("invalid",c),Bn(d,"onChange");break;case"textarea":Re(c,n),r=Ie(c,n),Sn("invalid",c),Bn(d,"onChange");break;default:r=n}Wn(f,r),s=void 0,u=f;var v=c,m=r;for(s in m)if(m.hasOwnProperty(s)){var y=m[s];"style"===s?Un(v,y):"dangerouslySetInnerHTML"===s?null!=(y=y?y.__html:void 0)&&Be(v,y):"children"===s?"string"===typeof y?("textarea"!==u||""!==y)&&$e(v,y):"number"===typeof y&&$e(v,""+y):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?null!=y&&Bn(d,s):null!=y&&xe(v,s,y,h))}switch(f){case"input":Te(c),Oe(c,n,!1);break;case"textarea":Te(c),Le(c);break;case"option":null!=n.value&&c.setAttribute("value",""+we(n.value));break;case"select":(r=c).multiple=!!n.multiple,null!=(c=n.value)?Ae(r,!!n.multiple,c,!1):null!=n.defaultValue&&Ae(r,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof r.onClick&&(c.onclick=$n)}(i=Zn(o,i))&&io(t)}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw Error(l(166));break;case 6:if(n&&null!=t.stateNode)Zl(0,t,n.memoizedProps,i);else{if("string"!==typeof i&&null===t.stateNode)throw Error(l(166));r=Di(Li.current),Di(Ri.current),Ll(t)?(o=(i=t).stateNode,r=i.memoizedProps,o[ir]=i,(i=o.nodeValue!==r)&&io(t)):(o=t,(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[ir]=o,t.stateNode=i)}break;case 11:break;case 13:if(sa(Bi),i=t.memoizedState,0!==(64&t.effectTag)){t.expirationTime=r;break e}i=null!==i,o=!1,null===n?void 0!==t.memoizedProps.fallback&&Ll(t):(o=null!==(r=n.memoizedState),i||null===r||null!==(r=n.child.sibling)&&(null!==(c=t.firstEffect)?(t.firstEffect=r,r.nextEffect=c):(t.firstEffect=t.lastEffect=r,r.nextEffect=null),r.effectTag=8)),i&&!o&&0!==(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Bi.current)?0===Ao&&(Ao=3):(0!==Ao&&3!==Ao||(Ao=4),0!==Do&&null!==Oo&&(Uu(Oo,zo),Fu(Oo,Do)))),(i||o)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Fi();break;case 10:ai(t);break;case 9:case 14:break;case 17:ma(t.type)&&ya();break;case 19:if(sa(Bi),null===(i=t.memoizedState))break;if(o=0!==(64&t.effectTag),null===(c=i.rendering)){if(o)lo(i,!1);else if(0!==Ao||null!==n&&0!==(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(c=$i(n))){for(t.effectTag|=64,lo(i,!1),null!==(o=c.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===i.lastEffect&&(t.firstEffect=null),t.lastEffect=i.lastEffect,i=r,o=t.child;null!==o;)n=i,(r=o).effectTag&=2,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null,null===(c=r.alternate)?(r.childExpirationTime=0,r.expirationTime=n,r.child=null,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null):(r.childExpirationTime=c.childExpirationTime,r.expirationTime=c.expirationTime,r.child=c.child,r.memoizedProps=c.memoizedProps,r.memoizedState=c.memoizedState,r.updateQueue=c.updateQueue,n=c.dependencies,r.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),o=o.sibling;ca(Bi,1&Bi.current|2),t=t.child;break e}n=n.sibling}}else{if(!o)if(null!==(n=$i(c))){if(t.effectTag|=64,o=!0,null!==(r=n.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),lo(i,!0),null===i.tail&&"hidden"===i.tailMode&&!c.alternate){null!==(t=t.lastEffect=i.lastEffect)&&(t.nextEffect=null);break}}else Wa()>i.tailExpiration&&1<r&&(t.effectTag|=64,o=!0,lo(i,!1),t.expirationTime=t.childExpirationTime=r-1);i.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=i.last)?r.sibling=c:t.child=c,i.last=c)}if(null!==i.tail){0===i.tailExpiration&&(i.tailExpiration=Wa()+500),r=i.tail,i.rendering=r,i.tail=r.sibling,i.lastEffect=t.lastEffect,r.sibling=null,i=Bi.current,ca(Bi,i=o?1&i|2:1&i),t=r;break e}break;case 20:case 21:break;default:throw Error(l(156,t.tag))}t=null}if(i=No,1===zo||1!==i.childExpirationTime){for(o=0,r=i.child;null!==r;)(n=r.expirationTime)>o&&(o=n),(c=r.childExpirationTime)>o&&(o=c),r=r.sibling;i.childExpirationTime=o}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=No.firstEffect),null!==No.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=No.firstEffect),e.lastEffect=No.lastEffect),1<No.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=No:e.firstEffect=No,e.lastEffect=No))}else{if(null!==(t=oo(No)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=No.sibling))return t;No=e}while(null!==No);return 0===Ao&&(Ao=5),null}function yu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function gu(e){var t=Va();return $a(99,bu.bind(null,e,t)),null}function bu(e,t){do{wu()}while(null!==Ho);if(0!==(48&Mo))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=yu(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===Oo&&(No=Oo=null,zo=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var i=Mo;Mo|=32,Co.current=null,Xn=Tn;var o=Gn();if(Kn(o)){if("selectionStart"in o)var u={start:o.selectionStart,end:o.selectionEnd};else e:{var s=(u=(u=o.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{u.nodeType,f.nodeType}catch(R){u=null;break e}var d=0,p=-1,h=-1,v=0,m=0,y=o,g=null;t:for(;;){for(var b;y!==u||0!==c&&3!==y.nodeType||(p=d+c),y!==f||0!==s&&3!==y.nodeType||(h=d+s),3===y.nodeType&&(d+=y.nodeValue.length),null!==(b=y.firstChild);)g=y,y=b;for(;;){if(y===o)break t;if(g===u&&++v===c&&(p=d),g===f&&++m===s&&(h=d),null!==(b=y.nextSibling))break;g=(y=g).parentNode}y=b}u=-1===p||-1===h?null:{start:p,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;Yn={focusedElem:o,selectionRange:u},Tn=!1,Wo=a;do{try{ku()}catch(R){if(null===Wo)throw Error(l(330));Tu(Wo,R),Wo=Wo.nextEffect}}while(null!==Wo);Wo=a;do{try{for(o=e,u=t;null!==Wo;){var k=Wo.effectTag;if(16&k&&$e(Wo.stateNode,""),128&k){var w=Wo.alternate;if(null!==w){var x=w.ref;null!==x&&("function"===typeof x?x(null):x.current=null)}}switch(1038&k){case 2:go(Wo),Wo.effectTag&=-3;break;case 6:go(Wo),Wo.effectTag&=-3,ko(Wo.alternate,Wo);break;case 1024:Wo.effectTag&=-1025;break;case 1028:Wo.effectTag&=-1025,ko(Wo.alternate,Wo);break;case 4:ko(Wo.alternate,Wo);break;case 8:bo(o,c=Wo,u),mo(c)}Wo=Wo.nextEffect}}catch(R){if(null===Wo)throw Error(l(330));Tu(Wo,R),Wo=Wo.nextEffect}}while(null!==Wo);if(x=Yn,w=Gn(),k=x.focusedElem,u=x.selectionRange,w!==k&&k&&k.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))))}(k.ownerDocument.documentElement,k)){null!==u&&Kn(k)&&(w=u.start,void 0===(x=u.end)&&(x=w),"selectionStart"in k?(k.selectionStart=w,k.selectionEnd=Math.min(x,k.value.length)):(x=(w=k.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),c=k.textContent.length,o=Math.min(u.start,c),u=void 0===u.end?o:Math.min(u.end,c),!x.extend&&o>u&&(c=u,u=o,o=c),c=Qn(k,o),f=Qn(k,u),c&&f&&(1!==x.rangeCount||x.anchorNode!==c.node||x.anchorOffset!==c.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.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=k;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof k.focus&&k.focus(),k=0;k<w.length;k++)(x=w[k]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Yn=null,Tn=!!Xn,Xn=null,e.current=n,Wo=a;do{try{for(k=r;null!==Wo;){var E=Wo.effectTag;if(36&E){var T=Wo.alternate;switch(x=k,(w=Wo).tag){case 0:case 11:case 15:ho(16,32,w);break;case 1:var S=w.stateNode;if(4&w.effectTag)if(null===T)S.componentDidMount();else{var _=w.elementType===w.type?T.memoizedProps:Ya(w.type,T.memoizedProps);S.componentDidUpdate(_,T.memoizedState,S.__reactInternalSnapshotBeforeUpdate)}var P=w.updateQueue;null!==P&&gi(0,P,S);break;case 3:var C=w.updateQueue;if(null!==C){if(o=null,null!==w.child)switch(w.child.tag){case 5:o=w.child.stateNode;break;case 1:o=w.child.stateNode}gi(0,C,o)}break;case 5:var M=w.stateNode;null===T&&4&w.effectTag&&Zn(w.type,w.memoizedProps)&&M.focus();break;case 6:case 4:case 12:break;case 13:if(null===w.memoizedState){var O=w.alternate;if(null!==O){var N=O.memoizedState;if(null!==N){var z=N.dehydrated;null!==z&&_t(z)}}}break;case 19:case 17:case 20:case 21:break;default:throw Error(l(163))}}if(128&E){w=void 0;var A=Wo.ref;if(null!==A){var I=Wo.stateNode;switch(Wo.tag){case 5:w=I;break;default:w=I}"function"===typeof A?A(w):A.current=w}}Wo=Wo.nextEffect}}catch(R){if(null===Wo)throw Error(l(330));Tu(Wo,R),Wo=Wo.nextEffect}}while(null!==Wo);Wo=null,ja(),Mo=i}else e.current=n;if(qo)qo=!1,Ho=e,Qo=t;else for(Wo=a;null!==Wo;)t=Wo.nextEffect,Wo.nextEffect=null,Wo=t;if(0===(t=e.firstPendingTime)&&($o=null),1073741823===t?e===Xo?Ko++:(Ko=0,Xo=e):Ko=0,"function"===typeof Pu&&Pu(n.stateNode,r),ru(e),Vo)throw Vo=!1,e=Bo,Bo=null,e;return 0!==(8&Mo)?null:(Qa(),null)}function ku(){for(;null!==Wo;){var e=Wo.effectTag;0!==(256&e)&&po(Wo.alternate,Wo),0===(512&e)||qo||(qo=!0,qa(97,(function(){return wu(),null}))),Wo=Wo.nextEffect}}function wu(){if(90!==Qo){var e=97<Qo?97:Qo;return Qo=90,$a(e,xu)}}function xu(){if(null===Ho)return!1;var e=Ho;if(Ho=null,0!==(48&Mo))throw Error(l(331));var t=Mo;for(Mo|=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:ho(128,0,n),ho(0,64,n)}}catch(r){if(null===e)throw Error(l(330));Tu(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return Mo=t,Qa(),!0}function Eu(e,t,n){pi(e,t=Eo(e,t=uo(n,t),1073741823)),null!==(e=tu(e,1073741823))&&ru(e)}function Tu(e,t){if(3===e.tag)Eu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Eu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===$o||!$o.has(r))){pi(n,e=To(n,e=uo(t,e),1073741823)),null!==(n=tu(n,1073741823))&&ru(n);break}}n=n.return}}function Su(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Oo===e&&zo===n?4===Ao||3===Ao&&1073741823===Ro&&Wa()-Fo<500?uu(e,zo):Uo=!0:Du(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),ru(e)))}function _u(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Jo(t=Zo(),e,null)),null!==(e=tu(e,t))&&ru(e)}So=function(e,t,n){var r=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||pa.current)Fl=!0;else{if(r<n){switch(Fl=!1,t.tag){case 3:Kl(t),Dl();break;case 5:if(Wi(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:ma(t.type)&&wa(t);break;case 4:Ui(t,t.stateNode.containerInfo);break;case 10:ri(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?eo(e,t,n):(ca(Bi,1&Bi.current),null!==(t=ao(e,t,n))?t.sibling:null);ca(Bi,1&Bi.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return ro(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),ca(Bi,Bi.current),!r)return null}return ao(e,t,n)}Fl=!1}}else Fl=!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=va(t,da.current),li(t,n),a=sl(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,cl(),ma(r)){var i=!0;wa(t)}else i=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null;var o=r.getDerivedStateFromProps;"function"===typeof o&&xi(t,r,o,e),a.updater=Ei,t.stateNode=a,a._reactInternalFiber=t,Pi(t,r,e,n),t=Gl(null,t,r,!0,i,n)}else t.tag=0,Wl(null,t,a,n),t=t.child;return t;case 16: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 Nu(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===$)return 11;if(e===Q)return 14}return 2}(a),e=Ya(a,e),i){case 0:t=Hl(null,t,a,e,n);break;case 1:t=Ql(null,t,a,e,n);break;case 11:t=Vl(null,t,a,e,n);break;case 14:t=Bl(null,t,a,Ya(a.type,e),r,n);break;default:throw Error(l(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Hl(e,t,r,a=t.elementType===r?a:Ya(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ql(e,t,r,a=t.elementType===r?a:Ya(r,a),n);case 3:if(Kl(t),null===(r=t.updateQueue))throw Error(l(282));if(a=null!==(a=t.memoizedState)?a.element:null,yi(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===a)Dl(),t=ao(e,t,n);else{if((a=t.stateNode.hydrate)&&(Nl=nr(t.stateNode.containerInfo.firstChild),Ol=t,a=zl=!0),a)for(n=Ai(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Wl(e,t,r,n),Dl();t=t.child}return t;case 5:return Wi(t),null===e&&Rl(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,o=a.children,Jn(r,a)?o=null:null!==i&&Jn(r,i)&&(t.effectTag|=16),ql(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Wl(e,t,o,n),t=t.child),t;case 6:return null===e&&Rl(t),null;case 13:return eo(e,t,n);case 4:return Ui(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=zi(t,null,r,n):Wl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Vl(e,t,r,a=t.elementType===r?a:Ya(r,a),n);case 7:return Wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,ri(t,i=a.value),null!==o){var u=o.value;if(0===(i=Xr(u,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(o.children===a.children&&!pa.current){t=ao(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){o=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&i)){1===u.tag&&((c=fi(n,null)).tag=2,pi(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),ii(u.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.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}}Wl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(i=t.pendingProps).children,li(t,n),r=r(a=oi(a,i.unstable_observedBits)),t.effectTag|=1,Wl(e,t,r,n),t.child;case 14:return i=Ya(a=t.type,t.pendingProps),Bl(e,t,a,i=Ya(a.type,i),r,n);case 15:return $l(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ya(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,ma(r)?(e=!0,wa(t)):e=!1,li(t,n),Si(t,r,a),Pi(t,r,a,n),Gl(null,t,r,!0,e,n);case 19:return ro(e,t,n)}throw Error(l(156,t.tag))};var Pu=null,Cu=null;function Mu(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}function Ou(e,t,n,r){return new Mu(e,t,n,r)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zu(e,t){var n=e.alternate;return null===n?((n=Ou(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 Au(e,t,n,r,a,i){var o=2;if(r=e,"function"===typeof e)Nu(e)&&(o=1);else if("string"===typeof e)o=5;else e:switch(e){case D:return Iu(n.children,a,i,t);case B:o=8,a|=7;break;case U:o=8,a|=1;break;case F:return(e=Ou(12,n,t,8|a)).elementType=F,e.type=F,e.expirationTime=i,e;case q:return(e=Ou(13,n,t,a)).type=q,e.elementType=q,e.expirationTime=i,e;case H:return(e=Ou(19,n,t,a)).elementType=H,e.expirationTime=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case W:o=10;break e;case V:o=9;break e;case $:o=11;break e;case Q:o=14;break e;case G:o=16,r=null;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=Ou(o,n,t,a)).elementType=e,t.type=r,t.expirationTime=i,t}function Iu(e,t,n,r){return(e=Ou(7,e,r,t)).expirationTime=n,e}function Ru(e,t,n){return(e=Ou(6,e,null,t)).expirationTime=n,e}function ju(e,t,n){return(t=Ou(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lu(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}function Du(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Uu(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 Fu(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 Wu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Vu(e,t,n,r){var a=t.current,i=Zo(),o=ki.suspense;i=Jo(i,a,o);e:if(n){t:{if(tt(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(ma(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(l(171))}if(1===n.tag){var s=n.type;if(ma(s)){n=ka(n,s,u);break e}}n=u}else n=fa;return null===t.context?t.context=n:t.pendingContext=n,(t=fi(i,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),pi(a,t),eu(a,i),i}function Bu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $u(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function qu(e,t){$u(e,t),(e=e.alternate)&&$u(e,t)}function Hu(e,t,n){var r=new Lu(e,t,n=null!=n&&!0===n.hydrate),a=Ou(3,null,null,2===t?7:1===t?3:0);r.current=a,a.stateNode=r,e[or]=r.current,n&&0!==t&&function(e){var t=In(e);mt.forEach((function(n){Rn(n,e,t)})),yt.forEach((function(n){Rn(n,e,t)}))}(9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gu(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=Bu(l);o.call(e)}}Vu(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 Hu(e,0,t?{hydrate:!0}:void 0)}(n,r),l=i._internalRoot,"function"===typeof a){var u=a;a=function(){var e=Bu(l);u.call(e)}}ou((function(){Vu(t,l,e,a)}))}return Bu(l)}function Ku(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:L,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Xu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(l(200));return Ku(e,t,null,n)}Hu.prototype.render=function(e,t){Vu(e,this._internalRoot,null,void 0===t?null:t)},Hu.prototype.unmount=function(e){var t=this._internalRoot,n=void 0===e?null:e,r=t.containerInfo;Vu(null,t,null,(function(){r[or]=null,null!==n&&n()}))},it=function(e){if(13===e.tag){var t=Xa(Zo(),150,100);eu(e,t),qu(e,t)}},lt=function(e){if(13===e.tag){Zo();var t=Ka++;eu(e,t),qu(e,t)}},ot=function(e){if(13===e.tag){var t=Zo();eu(e,t=Jo(t,e,null)),qu(e,t)}},ee=function(e,t,n){switch(t){case"input":if(Me(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=fr(r);if(!a)throw Error(l(90));Se(r),Me(r,a)}}}break;case"textarea":je(e,n);break;case"select":null!=(t=n.value)&&Ae(e,!!n.multiple,t,!1)}},le=lu,oe=function(e,t,n,r){var a=Mo;Mo|=4;try{return $a(98,e.bind(null,t,n,r))}finally{0===(Mo=a)&&Qa()}},ue=function(){0===(49&Mo)&&(function(){if(null!==Go){var e=Go;Go=null,e.forEach((function(e,t){Wu(t,e),ru(t)})),Qa()}}(),wu())},se=function(e,t){var n=Mo;Mo|=2;try{return e(t)}finally{0===(Mo=n)&&Qa()}};var Yu={createPortal:Xu,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 e=null===(e=at(t))?null:e.stateNode},hydrate:function(e,t,n){if(!Qu(t))throw Error(l(200));return Gu(null,e,t,!0,n)},render:function(e,t,n){if(!Qu(t))throw Error(l(200));return Gu(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Qu(n))throw Error(l(200));if(null==e||void 0===e._reactInternalFiber)throw Error(l(38));return Gu(e,t,n,!1,r)},unmountComponentAtNode:function(e){if(!Qu(e))throw Error(l(40));return!!e._reactRootContainer&&(ou((function(){Gu(null,null,e,!1,(function(){e._reactRootContainer=null,e[or]=null}))})),!0)},unstable_createPortal:function(){return Xu.apply(void 0,arguments)},unstable_batchedUpdates:lu,flushSync:function(e,t){if(0!==(48&Mo))throw Error(l(187));var n=Mo;Mo|=1;try{return $a(99,e.bind(null,t))}finally{Mo=n,Qa()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[sr,cr,fr,N.injectEventPluginsByName,d,At,function(e){P(e,zt)},ae,ie,On,O,wu,{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(r){}},Cu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(a({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=at(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:ur,bundleType:0,version:"16.12.0",rendererPackageName:"react-dom"});var Zu={default:Yu},Ju=Zu&&Yu||Zu;e.exports=Ju.default||Ju},function(e,t,n){"use strict";e.exports=n(16)},function(e,t,n){"use strict";var r,a,i,l,o;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,s=null,c=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},a=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},l=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,v=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 y=p.now();t.unstable_now=function(){return p.now()-y}}var g=!1,b=null,k=-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 E=new MessageChannel,T=E.port2;E.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+w;try{b(!0,e)?T.postMessage(null):(g=!1,b=null)}catch(n){throw T.postMessage(null),n}}else g=!1},r=function(e){b=e,g||(g=!0,T.postMessage(null))},a=function(e,n){k=h((function(){e(t.unstable_now())}),n)},i=function(){v(k),k=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),a=e[r];if(!(void 0!==a&&0<C(a,t)))break e;e[r]=t,e[n]=a,n=r}}function _(e){return void 0===(e=e[0])?null:e}function P(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>C(l,n))void 0!==u&&0>C(u,l)?(e[r]=u,e[o]=n,r=o):(e[r]=l,e[i]=n,r=i);else{if(!(void 0!==u&&0>C(u,n)))break e;e[r]=u,e[o]=n,r=o}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var M=[],O=[],N=1,z=null,A=3,I=!1,R=!1,j=!1;function L(e){for(var t=_(O);null!==t;){if(null===t.callback)P(O);else{if(!(t.startTime<=e))break;P(O),t.sortIndex=t.expirationTime,S(M,t)}t=_(O)}}function D(e){if(j=!1,L(e),!R)if(null!==_(M))R=!0,r(U);else{var t=_(O);null!==t&&a(D,t.startTime-e)}}function U(e,n){R=!1,j&&(j=!1,i()),I=!0;var r=A;try{for(L(n),z=_(M);null!==z&&(!(z.expirationTime>n)||e&&!l());){var o=z.callback;if(null!==o){z.callback=null,A=z.priorityLevel;var u=o(z.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?z.callback=u:z===_(M)&&P(M),L(n)}else P(M);z=_(M)}if(null!==z)var s=!0;else{var c=_(O);null!==c&&a(D,c.startTime-n),s=!1}return s}finally{z=null,A=r,I=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var W=o;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=A;A=e;try{return t()}finally{A=n}},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=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:F(e)}else l=F(e),u=o;return e={id:N++,callback:n,priorityLevel:e,startTime:u,expirationTime:l=u+l,sortIndex:-1},u>o?(e.sortIndex=u,S(O,e),null===_(M)&&e===_(O)&&(j?i():j=!0,a(D,u-o))):(e.sortIndex=l,S(M,e),R||I||(R=!0,r(U))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_shouldYield=function(){var e=t.unstable_now();L(e);var n=_(M);return n!==z&&null!==z&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<z.expirationTime||l()},t.unstable_requestPaint=W,t.unstable_continueExecution=function(){R||I||(R=!0,r(U))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return _(M)},t.unstable_Profiling=null}]]);
//# sourceMappingURL=2.3fb278bc.chunk.js.map