@visactor/react-vrender-utils 0.12.15-alpha.3 → 0.12.15-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -4
- package/dist/index.min.js +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -13861,7 +13861,7 @@
|
|
|
13861
13861
|
const groupRef = React.useRef(null);
|
|
13862
13862
|
const [div] = React.useState(() => document.createElement('div'));
|
|
13863
13863
|
const root = React.useMemo(() => reactDomExports.createRoot(div), [div]);
|
|
13864
|
-
const shouldTransform = transform
|
|
13864
|
+
const shouldTransform = transform !== null && transform !== void 0 ? transform : true;
|
|
13865
13865
|
const handleGroupRerender = () => {
|
|
13866
13866
|
if (shouldTransform && groupRef.current) {
|
|
13867
13867
|
if (!groupRef.current.shouldUpdateGlobalMatrix()) {
|
|
@@ -13892,12 +13892,13 @@
|
|
|
13892
13892
|
Object.assign(div, restProps);
|
|
13893
13893
|
};
|
|
13894
13894
|
React.useEffect(() => {
|
|
13895
|
+
var _a, _b;
|
|
13895
13896
|
const group = groupRef.current;
|
|
13896
|
-
if (!group
|
|
13897
|
+
if (!(group === null || group === void 0 ? void 0 : group.stage)) {
|
|
13897
13898
|
return;
|
|
13898
13899
|
}
|
|
13899
13900
|
const stage = group.stage;
|
|
13900
|
-
const htmlContainer = stage.window
|
|
13901
|
+
const htmlContainer = (_b = (_a = stage.window) === null || _a === void 0 ? void 0 : _a.getContainer) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
13901
13902
|
if (!htmlContainer) {
|
|
13902
13903
|
return;
|
|
13903
13904
|
}
|
|
@@ -13908,8 +13909,9 @@
|
|
|
13908
13909
|
stage.hooks.beforeRender.tap(`${group._uid}-render`, handleGroupRerender);
|
|
13909
13910
|
handleGroupRerender();
|
|
13910
13911
|
return () => {
|
|
13912
|
+
var _a;
|
|
13911
13913
|
stage.hooks.beforeRender.unTap(`${group._uid}-render`, handleGroupRerender);
|
|
13912
|
-
div.parentNode
|
|
13914
|
+
(_a = div.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(div);
|
|
13913
13915
|
};
|
|
13914
13916
|
}, [shouldTransform]);
|
|
13915
13917
|
React.useLayoutEffect(() => {
|
package/dist/index.min.js
CHANGED
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
* @return {boolean} True if the event is supported.
|
|
25
25
|
* @internal
|
|
26
26
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
27
|
-
*/function aa(e){if(!qe)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}var ia,la,ua,sa=10,ca=[];function fa(e){if(e.tag===O)return e.stateNode.containerInfo;for(;e.return;)e=e.return;return e.tag!==O?null:e.stateNode.containerInfo}function da(e,t,n,r,o){var a=function(e,t,n,r,o){for(var a=null,i=0;i<je.length;i++){var l=je[i];if(l){var u=l.extractEvents(e,t,n,r,o);u&&(a=Jo(a,u))}}return a}(e,t,n,r,o);ra(a)}function pa(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=fa(n);if(!r)break;var o=n.tag;o!==A&&o!==L||e.ancestors.push(n),n=Su(r)}while(n);for(var a=0;a<e.ancestors.length;a++){t=e.ancestors[a];var i=oa(e.nativeEvent),l=e.topLevelType,u=e.nativeEvent,s=e.eventSystemFlags;0===a&&(s|=Xe),da(l,t,u,i,s)}}function ma(e,t,n,r){var o,a=function(e,t,n,r){if(ca.length){var o=ca.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}(e,n,r,t);try{!function(e,t,n){if(dt)return e(t,n);dt=!0;try{return ct(e,t,n)}finally{dt=!1,pt()}}(pa,a)}finally{(o=a).topLevelType=null,o.nativeEvent=null,o.targetInst=null,o.ancestors.length=0,ca.length<sa&&ca.push(o)}}function ha(e,t,n){if(!n.has(e)){switch(e){case oo:Xa(oo,t);break;case Pr:case er:Xa(Pr,t),Xa(er,t),n.set(er,null),n.set(Pr,null);break;case rr:case ir:aa(e)&&Xa(e,t);break;case Ir:case so:case ro:break;default:-1!==To.indexOf(e)||Ka(e,t)}n.set(e,null)}}var va=!1,ga=[],ya=null,ba=null,wa=null,ka=new Map,xa=new Map,Ta=[],Ea=[Wr,Hr,ho,vo,yo,mr,pr,Kr,Xr,eo,vr,kr,xr,lr,ur,Dr,Or,zr,Nr,fo,ir,rr,fr,dr,$r,ar,or,cr,ro,so],Sa=[Pr,er,gr,br,Br,Vr,Zr,Jr,Rr,Ur];function Ca(e){return Ea.indexOf(e)>-1}function _a(e,t,n){ha(e,t,n)}function Pa(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:n|Ke,nativeEvent:o,container:r}}function Ra(e,t,n,r,o){var a=Pa(e,t,n,r,o);ga.push(a)}function Na(e,t){switch(e){case Pr:case er:ya=null;break;case gr:case br:ba=null;break;case Br:case Vr:wa=null;break;case Zr:case Jr:var n=t.pointerId;ka.delete(n);break;case Rr:case Ur:var r=t.pointerId;xa.delete(r)}}function Ia(e,t,n,r,o,a){if(null===e||e.nativeEvent!==a){var i=Pa(t,n,r,o,a);if(null!==t){var l=Cu(t);null!==l&&la(l)}return i}return e.eventSystemFlags|=r,e}function Da(e){var t=Su(e.target);if(null!==t){var r=Qo(t);if(null!==r){var o=r.tag;if(o===$){var a=qo(r);if(null!==a)return e.blockedOn=a,void n.unstable_runWithPriority(e.priority,(function(){ua(r)}))}else if(o===O&&r.stateNode.hydrate)return void(e.blockedOn=Yo(r))}}e.blockedOn=null}function Oa(e){if(null!==e.blockedOn)return!1;var t=ti(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Cu(t);return null!==n&&la(n),e.blockedOn=t,!1}return!0}function za(e,t,n){Oa(e)&&n.delete(t)}function Ma(){for(va=!1;ga.length>0;){var e=ga[0];if(null!==e.blockedOn){var t=Cu(e.blockedOn);null!==t&&ia(t);break}var n=ti(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==n?e.blockedOn=n:ga.shift()}null!==ya&&Oa(ya)&&(ya=null),null!==ba&&Oa(ba)&&(ba=null),null!==wa&&Oa(wa)&&(wa=null),ka.forEach(za),xa.forEach(za)}function Aa(e,t){e.blockedOn===t&&(e.blockedOn=null,va||(va=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Ma)))}function La(e){if(ga.length>0){Aa(ga[0],e);for(var t=1;t<ga.length;t++){var n=ga[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==ya&&Aa(ya,e),null!==ba&&Aa(ba,e),null!==wa&&Aa(wa,e);var r=function(t){return Aa(t,e)};ka.forEach(r),xa.forEach(r);for(var o=0;o<Ta.length;o++){var a=Ta[o];a.blockedOn===e&&(a.blockedOn=null)}for(;Ta.length>0;){var i=Ta[0];if(null!==i.blockedOn)break;Da(i),null===i.blockedOn&&Ta.shift()}}var Fa={},Ua=new Map,Wa=new Map,ja=[or,lo,fo,ur,lr,sr],Va=[hr,"drag",gr,"dragEnter",yr,"dragExit",br,"dragLeave",wr,"dragOver",jr,"mouseMove",Vr,"mouseOut",Br,"mouseOver",Gr,"pointerMove",Jr,"pointerOut",Zr,"pointerOver",oo,"scroll",mo,"toggle",go,"touchMove",xo,"wheel"],Ba=[Xn,"abort",Gn,"animationEnd",Jn,"animationIteration",Zn,"animationStart",tr,"canPlay",nr,"canPlayThrough",Tr,"durationChange",Er,"emptied",Sr,"encrypted",Cr,"ended",_r,"error",Rr,"gotPointerCapture",Mr,"load",Lr,"loadedData",Fr,"loadedMetadata",Ar,"loadStart",Ur,"lostPointerCapture",Yr,"playing",to,"progress",io,"seeking",uo,"stalled",co,"suspend",po,"timeUpdate",bo,"transitionEnd",ko,"waiting"];function Ha(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],a="on"+(o[0].toUpperCase()+o.slice(1)),i={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[r],eventPriority:t};Wa.set(r,t),Ua.set(r,i),Fa[o]=i}}Ha([er,"blur",rr,"cancel",ar,"click",ir,"close",cr,"contextMenu",fr,"copy",dr,"cut",mr,"auxClick",pr,"doubleClick",vr,"dragEnd",kr,"dragStart",xr,"drop",Pr,"focus",Nr,"input",Ir,"invalid",Dr,"keyDown",Or,"keyPress",zr,"keyUp",Wr,"mouseDown",Hr,"mouseUp",$r,"paste",Qr,"pause",qr,"play",Kr,"pointerCancel",Xr,"pointerDown",eo,"pointerUp",no,"rateChange",ro,"reset",ao,"seeked",so,"submit",ho,"touchCancel",vo,"touchEnd",yo,"touchStart",wo,"volumeChange"],mt),Ha(Va,ht),Ha(Ba,vt),function(e,t){for(var n=0;n<e.length;n++)Wa.set(e[n],t)}(ja,mt);var $a=n.unstable_UserBlockingPriority,Qa=n.unstable_runWithPriority,qa=!0;function Ya(e){qa=!!e}function Ka(e,t){Ga(t,e,!1)}function Xa(e,t){Ga(t,e,!0)}function Ga(e,t,n){var r;switch(function(e){var t=Wa.get(e);return void 0===t?vt:t}(t)){case mt:r=Ja.bind(null,t,Ye,e);break;case ht:r=Za.bind(null,t,Ye,e);break;default:r=ei.bind(null,t,Ye,e)}var o=t;n?function(e,t,n){e.addEventListener(t,n,!0)}(e,o,r):function(e,t,n){e.addEventListener(t,n,!1)}(e,o,r)}function Ja(e,t,n,r){r.timeStamp,ft||ot||st(),function(e,t,n,r,o){var a=ft;ft=!0;try{return ut(e,t,n,r,o)}finally{(ft=a)||pt()}}(ei,e,t,n,r)}function Za(e,t,n,r){Qa($a,ei.bind(null,e,t,n,r))}function ei(e,t,n,r){if(qa)if(ga.length>0&&Ca(e))Ra(null,e,t,n,r);else{var o=ti(e,t,n,r);null!==o?Ca(e)?Ra(o,e,t,n,r):function(e,t,n,r,o){switch(t){case Pr:return ya=Ia(ya,e,t,n,r,o),!0;case gr:return ba=Ia(ba,e,t,n,r,o),!0;case Br:return wa=Ia(wa,e,t,n,r,o),!0;case Zr:var a=o,i=a.pointerId;return ka.set(i,Ia(ka.get(i)||null,e,t,n,r,a)),!0;case Rr:var l=o,u=l.pointerId;return xa.set(u,Ia(xa.get(u)||null,e,t,n,r,l)),!0}return!1}(o,e,t,n,r)||(Na(e,r),ma(e,t,r,null)):Na(e,r)}}function ti(e,t,n,r){var o=Su(oa(r));if(null!==o){var a=Qo(o);if(null===a)o=null;else{var i=a.tag;if(i===$){var l=qo(a);if(null!==l)return l;o=null}else if(i===O){if(a.stateNode.hydrate)return Yo(a);o=null}else a!==o&&(o=null)}}return ma(e,t,r,o),null}var ni={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ri={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},oi=["Webkit","ms","Moz","O"];function ai(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ri.hasOwnProperty(e)&&ri[e]?(""+t).trim():t+"px"}Object.keys(ri).forEach((function(e){oi.forEach((function(t){ri[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=ri[e]}))}));var ii=/([A-Z])/g,li=/^ms-/,ui=/^(?:webkit|moz|o)[A-Z]/,si=/^-ms-/,ci=/-(.)/g,fi=/;\s*$/,di={},pi={},mi=!1,hi=!1,vi=function(e){di.hasOwnProperty(e)&&di[e]||(di[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,e.replace(si,"ms-").replace(ci,(function(e,t){return t.toUpperCase()}))))},gi=function(e,t){e.indexOf("-")>-1?vi(e):ui.test(e)?function(e){di.hasOwnProperty(e)&&di[e]||(di[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):fi.test(t)&&function(e,t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,u('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(fi,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){mi||(mi=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){hi||(hi=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function yi(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o){var a=0===r.indexOf("--");t+=n+(a?r:r.replace(ii,"-$1").toLowerCase().replace(li,"-ms-"))+":",t+=ai(r,o,a),n=";"}}return t||null}function bi(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||gi(r,t[r]);var a=ai(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,a):n[r]=a}}function wi(e){var t={};for(var n in e)for(var r=ni[n]||[n],o=0;o<r.length;o++)t[r[o]]=n;return t}var ki=t({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}),xi="__html",Ti=null;function Ei(e,t){if(t){if(ki[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."+Ti.getStackAddendum());if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==o(t.dangerouslySetInnerHTML)||!(xi in t.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&u("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!==o(t.style))throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."+Ti.getStackAddendum())}}function Si(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}}Ti=i.ReactDebugCurrentFrame;var Ci={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},_i={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Pi={},Ri=new RegExp("^(aria)-["+Et+"]*$"),Ni=new RegExp("^(aria)[A-Z]["+Et+"]*$"),Ii=Object.prototype.hasOwnProperty;function Di(e,t){if(Ii.call(Pi,t)&&Pi[t])return!0;if(Ni.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=_i.hasOwnProperty(n)?n:null;if(null==r)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Pi[t]=!0,!0;if(t!==r)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),Pi[t]=!0,!0}if(Ri.test(t)){var o=t.toLowerCase(),a=_i.hasOwnProperty(o)?o:null;if(null==a)return Pi[t]=!0,!1;if(t!==a)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,a),Pi[t]=!0,!0}return!0}function Oi(e,t){Si(e,t)||function(e,t){var n=[];for(var r in t)Di(0,r)||n.push(r);var o=n.map((function(e){return"`"+e+"`"})).join(", ");1===n.length?u("Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e)}(e,t)}var zi,Mi=!1,Ai={},Li=Object.prototype.hasOwnProperty,Fi=/^on./,Ui=/^on[^A-Z]/,Wi=new RegExp("^(aria)-["+Et+"]*$"),ji=new RegExp("^(aria)[A-Z]["+Et+"]*$");function Vi(e,t,n){Si(e,t)||function(e,t,n){var r=[];for(var o in t)zi(0,o,t[o],n)||r.push(o);var a=r.map((function(e){return"`"+e+"`"})).join(", ");1===r.length?u("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior",a,e):r.length>1&&u("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior",a,e)}(e,t,n)}zi=function(e,t,n,r){if(Li.call(Ai,t)&&Ai[t])return!0;var a=t.toLowerCase();if("onfocusin"===a||"onfocusout"===a)return u("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ai[t]=!0,!0;if(r){if(Be.hasOwnProperty(t))return!0;var i=$e.hasOwnProperty(a)?$e[a]:null;if(null!=i)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,i),Ai[t]=!0,!0;if(Fi.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),Ai[t]=!0,!0}else if(Fi.test(t))return Ui.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ai[t]=!0,!0;if(Wi.test(t)||ji.test(t))return!0;if("innerhtml"===a)return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ai[t]=!0,!0;if("aria"===a)return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ai[t]=!0,!0;if("is"===a&&null!=n&&"string"!=typeof n)return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",o(n)),Ai[t]=!0,!0;if("number"==typeof n&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ai[t]=!0,!0;var l=zt(t),s=null!==l&&l.type===gt;if(Ci.hasOwnProperty(a)){var c=Ci[a];if(c!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,c),Ai[t]=!0,!0}else if(!s&&t!==a)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,a),Ai[t]=!0,!0;return"boolean"==typeof n&&Dt(t,n,l,!1)?(n?u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Ai[t]=!0,!0):!!s||(Dt(t,n,l,!1)?(Ai[t]=!0,!1):("false"!==n&&"true"!==n||null===l||l.type!==bt||(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Ai[t]=!0),!0))};var Bi,Hi,$i,Qi,qi,Yi,Ki,Xi,Gi,Ji,Zi=!1,el=!1,tl="dangerouslySetInnerHTML",nl="suppressContentEditableWarning",rl="suppressHydrationWarning",ol="autoFocus",al="children",il="style",ll="__html",ul=Dn;Bi={time:!0,dialog:!0,webview:!0},$i=function(e,t){Oi(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Mi||(Mi=!0,"select"===e&&t.multiple?u("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),Vi(e,t,!0)},Xi=qe&&!document.documentMode;var sl=/\r\n?/g,cl=/\u0000|\uFFFD/g;function fl(e,t){!function(e,t){for(var n=So(t),r=He[e],o=0;o<r.length;o++)ha(r[o],t,n)}(t,e.nodeType===Vn||e.nodeType===Bn?e:e.ownerDocument)}function dl(e){return e.nodeType===Vn?e:e.ownerDocument}function pl(){}function ml(e){e.onclick=pl}function hl(e,t,n,r){var o,a=Si(t,n);switch($i(t,n),a&&!el&&e.shadyRoot&&(u("%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",Ie()||"A component"),el=!0),t){case"iframe":case"object":case"embed":Ka(Mr,e),o=n;break;case"video":case"audio":for(var i=0;i<To.length;i++)Ka(To[i],e);o=n;break;case"source":Ka(_r,e),o=n;break;case"img":case"image":case"link":Ka(_r,e),Ka(Mr,e),o=n;break;case"form":Ka(ro,e),Ka(so,e),o=n;break;case"details":Ka(mo,e),o=n;break;case"input":un(e,n),o=ln(e,n),Ka(Ir,e),fl(r,"onChange");break;case"option":gn(0,n),o=yn(0,n);break;case"select":Tn(e,n),o=xn(0,n),Ka(Ir,e),fl(r,"onChange");break;case"textarea":Cn(e,n),o=Sn(e,n),Ka(Ir,e),fl(r,"onChange");break;default:o=n}switch(Ei(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===il)i&&Object.freeze(i),bi(t,i);else if(a===tl){var l=i?i[ll]:void 0;null!=l&&Fn(t,l)}else a===al?"string"==typeof i?("textarea"!==e||""!==i)&&Hn(t,i):"number"==typeof i&&Hn(t,""+i):a===nl||a===rl||a===ol||(Be.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&Ki(a,i),fl(n,a)):null!=i&&Ht(t,a,i,o))}}(t,e,r,o,a),t){case"input":Zt(e),fn(e,n,!1);break;case"textarea":Zt(e),Pn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",$t(Qt(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?kn(n,!!t.multiple,r,!1):null!=t.defaultValue&&kn(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&ml(e)}}function vl(e,t,n,r,o){$i(t,r);var a,i,l,s,c=null;switch(t){case"input":a=ln(e,n),i=ln(e,r),c=[];break;case"option":a=yn(0,n),i=yn(0,r),c=[];break;case"select":a=xn(0,n),i=xn(0,r),c=[];break;case"textarea":a=Sn(e,n),i=Sn(e,r),c=[];break;default:i=r,"function"!=typeof(a=n).onClick&&"function"==typeof i.onClick&&ml(e)}Ei(t,i);var f=null;for(l in a)if(!i.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if(l===il){var d=a[l];for(s in d)d.hasOwnProperty(s)&&(f||(f={}),f[s]="")}else l===tl||l===al||l===nl||l===rl||l===ol||(Be.hasOwnProperty(l)?c||(c=[]):(c=c||[]).push(l,null));for(l in i){var p=i[l],m=null!=a?a[l]:void 0;if(i.hasOwnProperty(l)&&p!==m&&(null!=p||null!=m))if(l===il)if(p&&Object.freeze(p),m){for(s in m)!m.hasOwnProperty(s)||p&&p.hasOwnProperty(s)||(f||(f={}),f[s]="");for(s in p)p.hasOwnProperty(s)&&m[s]!==p[s]&&(f||(f={}),f[s]=p[s])}else f||(c||(c=[]),c.push(l,f)),f=p;else if(l===tl){var h=p?p[ll]:void 0,v=m?m[ll]:void 0;null!=h&&v!==h&&(c=c||[]).push(l,h)}else l===al?m===p||"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(l,""+p):l===nl||l===rl||(Be.hasOwnProperty(l)?(null!=p&&("function"!=typeof p&&Ki(l,p),fl(o,l)),c||m===p||(c=[])):(c=c||[]).push(l,p))}return f&&(function(e,t){if(t){var n,r=wi(e),o=wi(t),a={};for(var i in r){var l=r[i],s=o[i];if(s&&l!==s){var c=l+","+s;if(a[c])continue;a[c]=!0,u("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[l])||"boolean"==typeof n||""===n?"Removing":"Updating",l,s)}}}}(f,i[il]),(c=c||[]).push(il,f)),c}function gl(e,t,n,r,o){switch("input"===n&&"radio"===o.type&&null!=o.name&&sn(e,o),Si(n,r),function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===il?bi(e,i):a===tl?Fn(e,i):a===al?Hn(e,i):Ht(e,a,i,r)}}(e,t,0,Si(n,o)),n){case"input":cn(e,o);break;case"textarea":_n(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?kn(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?kn(n,!!t.multiple,t.defaultValue,!0):kn(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function yl(e,t){Qi(e.nodeValue,t)}function bl(e,t){Zi||(Zi=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function wl(e,t){Zi||(Zi=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function kl(e,t,n){Zi||(Zi=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function xl(e,t){""!==t&&(Zi||(Zi=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}function Tl(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function El(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Sl(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Cl(e,t){for(var n=El(e),r=0,o=0;n;){if(n.nodeType===Wn){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=El(Sl(n))}}function _l(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{o.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,r,o){var a=0,i=-1,l=-1,u=0,s=0,c=e,f=null;e:for(;;){for(var d=null;c!==t||0!==n&&c.nodeType!==Wn||(i=a+n),c!==r||0!==o&&c.nodeType!==Wn||(l=a+o),c.nodeType===Wn&&(a+=c.nodeValue.length),null!==(d=c.firstChild);)f=c,c=d;for(;;){if(c===e)break e;if(f===t&&++u===n&&(i=a),f===r&&++s===o&&(l=a),null!==(d=c.nextSibling))break;f=(c=f).parentNode}c=d}return-1===i||-1===l?null:{start:i,end:l}}(e,o,a,i,l)}function Pl(e){return e&&e.nodeType===Wn}function Rl(e,t){return!(!e||!t)&&(e===t||!Pl(e)&&(Pl(t)?Rl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Nl(e){return e&&e.ownerDocument&&Rl(e.ownerDocument.documentElement,e)}function Il(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function Dl(){for(var e=window,t=Tl();t instanceof e.HTMLIFrameElement;){if(!Il(t))return t;t=Tl((e=t.contentWindow).document)}return t}function Ol(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)}function zl(e){var t,n,r,o,a=Dl(),i=e.focusedElem,l=e.selectionRange;if(a!==i&&Nl(i)){null!==l&&Ol(i)&&(t=i,r=(n=l).start,void 0===(o=n.end)&&(o=r),"selectionStart"in t?(t.selectionStart=r,t.selectionEnd=Math.min(o,t.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),l=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>l){var u=l;l=i,i=u}var s=Cl(e,i),c=Cl(e,l);if(s&&c){if(1===o.rangeCount&&o.anchorNode===s.node&&o.anchorOffset===s.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var f=n.createRange();f.setStart(s.node,s.offset),o.removeAllRanges(),i>l?(o.addRange(f),o.extend(c.node,c.offset)):(f.setEnd(c.node,c.offset),o.addRange(f))}}}(t,n));for(var u=[],s=i;s=s.parentNode;)s.nodeType===Un&&u.push({element:s,left:s.scrollLeft,top:s.scrollTop});"function"==typeof i.focus&&i.focus();for(var c=0;c<u.length;c++){var f=u[c];f.element.scrollLeft=f.left,f.element.scrollTop=f.top}}}function Ml(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:_l(e))||{start:0,end:0}}Gi=function(e){return("string"==typeof e?e:""+e).replace(sl,"\n").replace(cl,"")},Qi=function(e,t){if(!Zi){var n=Gi(t),r=Gi(e);r!==n&&(Zi=!0,u('Text content did not match. Server: "%s" Client: "%s"',r,n))}},qi=function(e,t,n){if(!Zi){var r=Gi(n),o=Gi(t);o!==r&&(Zi=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Yi=function(e){if(!Zi){Zi=!0;var t=[];e.forEach((function(e){t.push(e)})),u("Extra attributes from the server: %s",t)}},Ki=function(e,t){!1===t?u("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,o(t))},Ji=function(e,t){var n=e.namespaceURI===ul?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Al=function(){},Ll=function(){},Fl=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Ul=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Wl=Ul.concat(["button"]),jl=["dd","dt","li","option","optgroup","p","rp","rt"],Vl={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ll=function(e,n){var r=t({},e||Vl),o={tag:n};return-1!==Ul.indexOf(n)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==Wl.indexOf(n)&&(r.pTagInButtonScope=null),-1!==Fl.indexOf(n)&&"address"!==n&&"div"!==n&&"p"!==n&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=o,"form"===n&&(r.formTag=o),"a"===n&&(r.aTagInScope=o),"button"===n&&(r.buttonTagInScope=o),"nobr"===n&&(r.nobrTagInScope=o),"p"===n&&(r.pTagInButtonScope=o),"li"===n&&(r.listItemTagAutoclosing=o),"dd"!==n&&"dt"!==n||(r.dlItemTagAutoclosing=o),r};var Bl,Hl={};Al=function(e,t,n){var r=(n=n||Vl).current,o=r&&r.tag;null!=t&&(null!=e&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var a=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===jl.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,i=a?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),l=a||i;if(l){var s=l.tag,c=!!a+"|"+e+"|"+s+"|"+De();if(!Hl[c]){Hl[c]=!0;var f=e,d="";if("#text"===e?/\S/.test(t)?f="Text nodes":(f="Whitespace text nodes",d=" Make sure you don't have any extra whitespace between tags on each line of your source code."):f="<"+e+">",a){var p="";"table"===s&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",f,s,d,p)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",f,s)}}},Bl="suppressHydrationWarning";var $l="$",Ql="/$",ql="$?",Yl="$!",Kl="style",Xl=null,Gl=null;function Jl(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Zl(e){var t;Xl=qa,t=Dl(),Gl={activeElementDetached:null,focusedElem:t,selectionRange:Ol(t)?Ml(t):null},Ya(!1)}function eu(e,t,n,r,o){var a=r;if(Al(e,null,a.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var i=""+t.children,l=Ll(a.ancestorInfo,e);Al(null,i,l)}var s=function(e,t,n,r){var o,a,i=dl(n),l=r;if(l===ul&&(l=zn(e)),l===ul){if((o=Si(e,t))||e===e.toLowerCase()||u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var s=i.createElement("div");s.innerHTML="<script><\/script>";var c=s.firstChild;a=s.removeChild(c)}else if("string"==typeof t.is)a=i.createElement(e,{is:t.is});else if(a=i.createElement(e),"select"===e){var f=a;t.multiple?f.multiple=!0:t.size&&(f.size=t.size)}}else a=i.createElementNS(l,e);return l===ul&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||Object.prototype.hasOwnProperty.call(Bi,e)||(Bi[e]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),a}(e,t,n,a.namespace);return xu(o,s),Ru(s,t),s}function tu(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"===o(t.dangerouslySetInnerHTML)&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function nu(e,t){return!!t.hidden}function ru(e,t,n,r){Al(null,e,n.ancestorInfo);var o=function(e,t){return dl(t).createTextNode(e)}(e,t);return xu(r,o),o}var ou="function"==typeof setTimeout?setTimeout:void 0,au="function"==typeof clearTimeout?clearTimeout:void 0,iu=-1;function lu(e){Hn(e,"")}function uu(e,t){e.removeChild(t)}function su(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function cu(e,t){var n=t[Kl],r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=ai("display",r)}function fu(e,t){e.nodeValue=t}function du(e){return e.data===Yl}function pu(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===Un||t===Wn)break}return e}function mu(e){return pu(e.nextSibling)}function hu(e){return pu(e.firstChild)}function vu(e,t,n,r,o,a){return xu(a,e),Ru(e,n),function(e,t,n,r,o){var a,i;switch(Hi=!0===n[rl],a=Si(t,n),$i(t,n),a&&!el&&e.shadyRoot&&(u("%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",Ie()||"A component"),el=!0),t){case"iframe":case"object":case"embed":Ka(Mr,e);break;case"video":case"audio":for(var l=0;l<To.length;l++)Ka(To[l],e);break;case"source":Ka(_r,e);break;case"img":case"image":case"link":Ka(_r,e),Ka(Mr,e);break;case"form":Ka(ro,e),Ka(so,e);break;case"details":Ka(mo,e);break;case"input":un(e,n),Ka(Ir,e),fl(o,"onChange");break;case"option":gn(0,n);break;case"select":Tn(e,n),Ka(Ir,e),fl(o,"onChange");break;case"textarea":Cn(e,n),Ka(Ir,e),fl(o,"onChange")}Ei(t,n),i=new Set;for(var s=e.attributes,c=0;c<s.length;c++)switch(s[c].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:i.add(s[c].name)}var f,d=null;for(var p in n)if(n.hasOwnProperty(p)){var m=n[p];if(p===al)"string"==typeof m?e.textContent!==m&&(Hi||Qi(e.textContent,m),d=[al,m]):"number"==typeof m&&e.textContent!==""+m&&(Hi||Qi(e.textContent,m),d=[al,""+m]);else if(Be.hasOwnProperty(p))null!=m&&("function"!=typeof m&&Ki(p,m),fl(o,p));else if("boolean"==typeof a){var h=void 0,v=zt(p);if(Hi);else if(p===nl||p===rl||"value"===p||"checked"===p||"selected"===p);else if(p===tl){var g=e.innerHTML,y=m?m[ll]:void 0,b=Ji(e,null!=y?y:"");b!==g&&qi(p,g,b)}else if(p===il){if(i.delete(p),Xi){var w=yi(m);w!==(h=e.getAttribute("style"))&&qi(p,h,w)}}else if(a)i.delete(p.toLowerCase()),m!==(h=Bt(e,p,m))&&qi(p,h,m);else if(!It(p,v,a)&&!Ot(p,m,v,a)){var k=!1;if(null!==v)i.delete(v.attributeName),h=Vt(e,p,m,v);else{var x=r;if(x===ul&&(x=zn(t)),x===ul)i.delete(p.toLowerCase());else{var T=(f=void 0,f=p.toLowerCase(),Ci.hasOwnProperty(f)&&Ci[f]||null);null!==T&&T!==p&&(k=!0,i.delete(T)),i.delete(p)}h=Bt(e,p,m)}m===h||k||qi(p,h,m)}}}switch(i.size>0&&!Hi&&Yi(i),t){case"input":Zt(e),fn(e,n,!0);break;case"textarea":Zt(e),Pn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&ml(e)}return d}(e,t,n,o.namespace,r)}function gu(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===jn){var r=t.data;if(r===$l||r===Yl||r===ql){if(0===n)return t;n--}else r===Ql&&n++}t=t.previousSibling}return null}var yu=Math.random().toString(36).slice(2),bu="__reactInternalInstance$"+yu,wu="__reactEventHandlers$"+yu,ku="__reactContainere$"+yu;function xu(e,t){t[bu]=e}function Tu(e){e[ku]=null}function Eu(e){return!!e[ku]}function Su(e){var t=e[bu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ku]||n[bu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=gu(e);null!==o;){var a=o[bu];if(a)return a;o=gu(o)}return t}n=(e=n).parentNode}return null}function Cu(e){var t=e[bu]||e[ku];return!t||t.tag!==A&&t.tag!==L&&t.tag!==$&&t.tag!==O?null:t}function _u(e){if(e.tag===A||e.tag===L)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Pu(e){return e[wu]||null}function Ru(e,t){e[wu]=t}function Nu(e){do{e=e.return}while(e&&e.tag!==A);return e||null}function Iu(e,t,n,r,o){for(var a=e&&t?function(e,t){for(var n=0,r=e;r;r=Nu(r))n++;for(var o=0,a=t;a;a=Nu(a))o++;for(;n-o>0;)e=Nu(e),n--;for(;o-n>0;)t=Nu(t),o--;for(var i=n;i--;){if(e===t||e===t.alternate)return e;e=Nu(e),t=Nu(t)}return null}(e,t):null,i=[];e&&e!==a;){var l=e.alternate;if(null!==l&&l===a)break;i.push(e),e=Nu(e)}for(var u=[];t&&t!==a;){var s=t.alternate;if(null!==s&&s===a)break;u.push(t),t=Nu(t)}for(var c=0;c<i.length;c++)n(i[c],"bubbled",r);for(var f=u.length;f-- >0;)n(u[f],"captured",o)}function Du(e,t){var n,r=e.stateNode;if(!r)return null;var a=S(r);if(!a)return null;if(n=a[t],function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,a))return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+o(n)+"` type.");return n}function Ou(e,t,n){e||u("Dispatching inst must not be null");var r=function(e,t,n){return Du(e,t.dispatchConfig.phasedRegistrationNames[n])}(e,n,t);r&&(n._dispatchListeners=Jo(n._dispatchListeners,r),n._dispatchInstances=Jo(n._dispatchInstances,e))}function zu(e){e&&e.dispatchConfig.phasedRegistrationNames&&function(e,t,n){for(var r,o=[];e;)o.push(e),e=Nu(e);for(r=o.length;r-- >0;)t(o[r],"captured",n);for(r=0;r<o.length;r++)t(o[r],"bubbled",n)}(e._targetInst,Ou,e)}function Mu(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var r=Du(e,n.dispatchConfig.registrationName);r&&(n._dispatchListeners=Jo(n._dispatchListeners,r),n._dispatchInstances=Jo(n._dispatchInstances,e))}}function Au(e){e&&e.dispatchConfig.registrationName&&Mu(e._targetInst,0,e)}function Lu(e){Zo(e,zu)}var Fu=null,Uu=null,Wu=null;function ju(){if(Wu)return Wu;var e,t,n=Uu,r=n.length,o=Vu(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var l=t>1?1-t:void 0;return Wu=o.slice(e,l)}function Vu(){return"value"in Fu?Fu.value:Fu.textContent}var Bu=10,Hu={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};function $u(){return!0}function Qu(){return!1}function qu(e,t,n,r){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){delete this[a];var i=o[a];i?this[a]=i(n):"target"===a?this.target=r:this[a]=n[a]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?$u:Qu,this.isPropagationStopped=Qu,this}function Yu(e,t){var n="function"==typeof t;return{configurable:!0,set:function(e){return r(n?"setting the method":"setting the property","This is effectively a no-op"),e},get:function(){return r(n?"accessing the method":"accessing the property",n?"This is a no-op function":"This is set to null"),t}};function r(t,n){u("This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}}function Ku(e,t,n,r){var o=this;if(o.eventPool.length){var a=o.eventPool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)}function Xu(e){var t=this;if(!(e instanceof t))throw Error("Trying to release an event instance into a pool of a different type.");e.destructor(),t.eventPool.length<Bu&&t.eventPool.push(e)}function Gu(e){e.eventPool=[],e.getPooled=Ku,e.release=Xu}t(qu.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=$u)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=$u)},persist:function(){this.isPersistent=$u},isPersistent:Qu,destructor:function(){var e=this.constructor.Interface;for(var t in e)Object.defineProperty(this,t,Yu(t,e[t]));this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=Qu,this.isPropagationStopped=Qu,this._dispatchListeners=null,this._dispatchInstances=null,Object.defineProperty(this,"nativeEvent",Yu("nativeEvent",null)),Object.defineProperty(this,"isDefaultPrevented",Yu("isDefaultPrevented",Qu)),Object.defineProperty(this,"isPropagationStopped",Yu("isPropagationStopped",Qu)),Object.defineProperty(this,"preventDefault",Yu("preventDefault",(function(){}))),Object.defineProperty(this,"stopPropagation",Yu("stopPropagation",(function(){})))}}),qu.Interface=Hu,qu.extend=function(e){var n=this,r=function(){};r.prototype=n.prototype;var o=new r;function a(){return n.apply(this,arguments)}return t(o,a.prototype),a.prototype=o,a.prototype.constructor=a,a.Interface=t({},n.Interface,e),a.extend=n.extend,Gu(a),a},Gu(qu);var Ju=qu.extend({data:null}),Zu=qu.extend({data:null}),es=[9,13,27,32],ts=229,ns=qe&&"CompositionEvent"in window,rs=null;qe&&"documentMode"in document&&(rs=document.documentMode);var os=qe&&"TextEvent"in window&&!rs,as=qe&&(!ns||rs&&rs>8&&rs<=11),is=32,ls=String.fromCharCode(is),us={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[lr,Or,fo,$r]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[er,lr,Dr,Or,zr,Wr]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[er,ur,Dr,Or,zr,Wr]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[er,sr,Dr,Or,zr,Wr]}},ss=!1;function cs(e,t){switch(e){case zr:return-1!==es.indexOf(t.keyCode);case Dr:return t.keyCode!==ts;case Or:case Wr:case er:return!0;default:return!1}}function fs(e){var t=e.detail;return"object"===o(t)&&"data"in t?t.data:null}function ds(e){return"ko"===e.locale}var ps=!1;function ms(e,t,n,r){var o,a;if(ns?o=function(e){switch(e){case ur:return us.compositionStart;case lr:return us.compositionEnd;case sr:return us.compositionUpdate}}(e):ps?cs(e,n)&&(o=us.compositionEnd):function(e,t){return e===Dr&&t.keyCode===ts}(e,n)&&(o=us.compositionStart),!o)return null;as&&!ds(n)&&(ps||o!==us.compositionStart?o===us.compositionEnd&&ps&&(a=ju()):ps=function(e){return Fu=e,Uu=Vu(),!0}(r));var i=Ju.getPooled(o,t,n,r);if(a)i.data=a;else{var l=fs(n);null!==l&&(i.data=l)}return Lu(i),i}function hs(e,t){if(ps){if(e===lr||!ns&&cs(e,t)){var n=ju();return Fu=null,Uu=null,Wu=null,ps=!1,n}return null}switch(e){case $r:return null;case Or:if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case lr:return as&&!ds(t)?null:t.data;default:return null}}function vs(e,t,n,r){var o;if(!(o=os?function(e,t){switch(e){case lr:return fs(t);case Or:return t.which!==is?null:(ss=!0,ls);case fo:var n=t.data;return n===ls&&ss?null:n;default:return null}}(e,n):hs(e,n)))return null;var a=Zu.getPooled(us.beforeInput,t,n,r);return a.data=o,Lu(a),a}var gs={eventTypes:us,extractEvents:function(e,t,n,r,o){var a=ms(e,t,n,r),i=vs(e,t,n,r);return null===a?i:null===i?a:[a,i]}},ys={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 bs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ys[e.type]:"textarea"===t}var ws={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[er,or,ar,Pr,Nr,Dr,zr,lo]}};function ks(e,t,n){var r=qu.getPooled(ws.change,e,t,n);return r.type="change",tt(n),Lu(r),r}var xs=null,Ts=null;function Es(e){!function(e,t){if(ft)return e(t);ft=!0;try{return lt(e,t)}finally{ft=!1,pt()}}(Ss,ks(Ts,e,oa(e)))}function Ss(e){ra(e)}function Cs(e){if(en(_u(e)))return e}function _s(e,t){if(e===or)return t}var Ps=!1;function Rs(){xs&&(xs.detachEvent("onpropertychange",Ns),xs=null,Ts=null)}function Ns(e){"value"===e.propertyName&&Cs(Ts)&&Es(e)}function Is(e,t,n){e===Pr?(Rs(),function(e,t){Ts=t,(xs=e).attachEvent("onpropertychange",Ns)}(t,n)):e===er&&Rs()}function Ds(e,t){if(e===lo||e===zr||e===Dr)return Cs(Ts)}function Os(e,t){if(e===ar)return Cs(t)}function zs(e,t){if(e===Nr||e===or)return Cs(t)}qe&&(Ps=aa("input")&&(!document.documentMode||document.documentMode>9));var Ms={eventTypes:ws,_isInputEventSupported:Ps,extractEvents:function(e,t,n,r,o){var a,i,l,u,s,c,f=t?_u(t):window;if("select"===(u=(l=f).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type?a=_s:bs(f)?Ps?a=zs:(a=Ds,i=Is):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(f)&&(a=Os),a){var d=a(e,t);if(d)return ks(d,n,r)}i&&i(e,f,t),e===er&&(c=(s=f)._wrapperState)&&c.controlled&&"number"===s.type&&pn(s,"number",s.value)}},As=qu.extend({view:null,detail:null}),Ls={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fs(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Ls[e];return!!n&&!!t[n]}function Us(e){return Fs}var Ws=0,js=0,Vs=!1,Bs=!1,Hs=As.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Us,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=Ws;return Ws=e.screenX,Vs?"mousemove"===e.type?e.screenX-t:0:(Vs=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=js;return js=e.screenY,Bs?"mousemove"===e.type?e.screenY-t:0:(Bs=!0,0)}}),$s=Hs.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Qs={mouseEnter:{registrationName:"onMouseEnter",dependencies:[Vr,Br]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[Vr,Br]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[Jr,Zr]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[Jr,Zr]}},qs={eventTypes:Qs,extractEvents:function(e,t,n,r,o){var a,i,l,u,s,c,f,d=e===Br||e===Zr,p=e===Vr||e===Jr;if(d&&0==(o&Ke)&&(n.relatedTarget||n.fromElement))return null;if(!p&&!d)return null;if(r.window===r)a=r;else{var m=r.ownerDocument;a=m?m.defaultView||m.parentWindow:window}if(p){i=t;var h=n.relatedTarget||n.toElement;null!==(l=h?Su(h):null)&&(l!==Qo(l)||l.tag!==A&&l.tag!==L)&&(l=null)}else i=null,l=t;if(i===l)return null;e===Vr||e===Br?(u=Hs,s=Qs.mouseLeave,c=Qs.mouseEnter,f="mouse"):e!==Jr&&e!==Zr||(u=$s,s=Qs.pointerLeave,c=Qs.pointerEnter,f="pointer");var v=null==i?a:_u(i),g=null==l?a:_u(l),y=u.getPooled(s,i,n,r);y.type=f+"leave",y.target=v,y.relatedTarget=g;var b=u.getPooled(c,l,n,r);return b.type=f+"enter",b.target=g,b.relatedTarget=v,function(e,t,n,r){Iu(n,r,Mu,e,t)}(y,b,i,l),0==(o&Xe)?[y]:[y,b]}},Ys="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ks=Object.prototype.hasOwnProperty;function Xs(e,t){if(Ys(e,t))return!0;if("object"!==o(e)||null===e||"object"!==o(t)||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0;a<n.length;a++)if(!Ks.call(t,n[a])||!Ys(e[n[a]],t[n[a]]))return!1;return!0}var Gs=qe&&"documentMode"in document&&document.documentMode<=11,Js={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[er,cr,vr,Pr,Dr,zr,Wr,Hr,lo]}},Zs=null,ec=null,tc=null,nc=!1;function rc(e){return e.window===e?e.document:e.nodeType===Vn?e:e.ownerDocument}function oc(e,t){var n=rc(t);if(nc||null==Zs||Zs!==Tl(n))return null;var r=function(e){if("selectionStart"in e&&Ol(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Zs);if(!tc||!Xs(tc,r)){tc=r;var o=qu.getPooled(Js.select,ec,e,t);return o.type="select",o.target=Zs,Lu(o),o}return null}var ac={eventTypes:Js,extractEvents:function(e,t,n,r,o,a){var i=a||rc(r);if(!i||!function(e,t){for(var n=So(t),r=He[e],o=0;o<r.length;o++){var a=r[o];if(!n.has(a))return!1}return!0}("onSelect",i))return null;var l=t?_u(t):window;switch(e){case Pr:(bs(l)||"true"===l.contentEditable)&&(Zs=l,ec=t,tc=null);break;case er:Zs=null,ec=null,tc=null;break;case Wr:nc=!0;break;case cr:case Hr:case vr:return nc=!1,oc(n,r);case lo:if(Gs)break;case Dr:case zr:return oc(n,r)}return null}},ic=qu.extend({animationName:null,elapsedTime:null,pseudoElement:null}),lc=qu.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uc=As.extend({relatedTarget:null});function sc(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}var cc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fc={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"},dc=As.extend({key:function(e){if(e.key){var t=cc[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=sc(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?fc[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Us,charCode:function(e){return"keypress"===e.type?sc(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?sc(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),pc=Hs.extend({dataTransfer:null}),mc=As.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Us}),hc=qu.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vc=Hs.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}),gc=[Xn,rr,tr,nr,ir,Tr,Er,Sr,Cr,_r,Nr,Ir,Mr,Lr,Fr,Ar,Qr,qr,Yr,to,no,ro,ao,io,uo,so,co,po,mo,wo,ko],yc={eventTypes:Fa,extractEvents:function(e,t,n,r,o){var a,i=Ua.get(e);if(!i)return null;switch(e){case Or:if(0===sc(n))return null;case Dr:case zr:a=dc;break;case er:case Pr:a=uc;break;case ar:if(2===n.button)return null;case mr:case pr:case Wr:case jr:case Hr:case Vr:case Br:case cr:a=Hs;break;case hr:case vr:case gr:case yr:case br:case wr:case kr:case xr:a=pc;break;case ho:case vo:case go:case yo:a=mc;break;case Gn:case Jn:case Zn:a=ic;break;case bo:a=hc;break;case oo:a=As;break;case xo:a=vc;break;case fr:case dr:case $r:a=lc;break;case Rr:case Ur:case Kr:case Xr:case Gr:case Jr:case Zr:case eo:a=$s;break;default:-1===gc.indexOf(e)&&u("SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",e),a=qu}var l=a.getPooled(i,t,n,r);return Lu(l),l}};!function(e){if(Ae)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");Ae=Array.prototype.slice.call(e),Fe()}(["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]),S=Pu,C=Cu,(_=_u)&&C||u("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode."),Qe({SimpleEventPlugin:yc,EnterLeaveEventPlugin:qs,ChangeEventPlugin:Ms,SelectEventPlugin:ac,BeforeInputEventPlugin:gs});var bc="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,wc=null,kc=null,xc=null,Tc=!1,Ec=!1,Sc=!1,Cc=0,_c=0,Pc=new Set,Rc=function(e){return"⚛ "+e},Nc=function(e){performance.mark(Rc(e))},Ic=function(e,t,n){var r=Rc(t),o=function(e,t){return(t?"⛔ ":"⚛ ")+e+(t?" Warning: "+t:"")}(e,n);try{performance.measure(o,r)}catch(e){}performance.clearMarks(r),performance.clearMeasures(o)},Dc=function(e,t){return e+" (#"+t+")"},Oc=function(e,t,n){return null===n?e+" ["+(t?"update":"mount")+"]":e+"."+n},zc=function(e,t){var n=Se(e.type)||"Unknown",r=e._debugID,o=null!==e.alternate,a=Oc(n,o,t);if(Tc&&Pc.has(a))return!1;Pc.add(a);var i=Dc(a,r);return Nc(i),!0},Mc=function(e,t){var n,r=Se(e.type)||"Unknown",o=e._debugID,a=null!==e.alternate,i=Oc(r,a,t);n=Dc(i,o),performance.clearMarks(Rc(n))},Ac=function(e,t,n){var r=Se(e.type)||"Unknown",o=e._debugID,a=null!==e.alternate,i=Oc(r,a,t),l=Dc(i,o);Ic(i,l,n)},Lc=function(e){switch(e.tag){case O:case A:case L:case M:case F:case V:case W:case U:return!0;default:return!1}},Fc=function(){null!==kc&&null!==xc&&Mc(xc,kc),xc=null,kc=null,Sc=!1},Uc=function(){for(var e=wc;e;)e._debugIsCurrentlyTiming&&Ac(e,null,null),e=e.return},Wc=function e(t){null!==t.return&&e(t.return),t._debugIsCurrentlyTiming&&zc(t,null)},jc=function(){null!==wc&&Wc(wc)};function Vc(){_c++}function Bc(e){bc&&!Lc(e)&&(wc=e,zc(e,null)&&(e._debugIsCurrentlyTiming=!0))}function Hc(e){bc&&!Lc(e)&&(e._debugIsCurrentlyTiming=!1,Mc(e,null))}function $c(e){bc&&!Lc(e)&&(wc=e.return,e._debugIsCurrentlyTiming&&(e._debugIsCurrentlyTiming=!1,Ac(e,null,null)))}function Qc(e){if(bc&&!Lc(e)&&(wc=e.return,e._debugIsCurrentlyTiming)){e._debugIsCurrentlyTiming=!1;var t=e.tag===$?"Rendering was suspended":"An error was thrown inside this error boundary";Ac(e,null,t)}}function qc(e,t){bc&&(Fc(),zc(e,t)&&(xc=e,kc=t))}function Yc(){bc&&(null!==kc&&null!==xc&&Ac(xc,kc,Sc?"Scheduled a cascading update":null),kc=null,xc=null)}function Kc(e){wc=e,bc&&(Cc=0,Nc("(React Tree Reconciliation)"),jc())}function Xc(e,t){if(bc){var n=null;null!==e?n=e.tag===O?"A top-level update interrupted the previous render":"An update to "+(Se(e.type)||"Unknown")+" interrupted the previous render":Cc>1&&(n="There were cascading updates"),Cc=0;var r=t?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";Uc(),Ic(r,"(React Tree Reconciliation)",n)}}function Gc(){bc&&(_c=0,Nc("(Committing Snapshot Effects)"))}function Jc(){if(bc){var e=_c;_c=0,Ic("(Committing Snapshot Effects: "+e+" Total)","(Committing Snapshot Effects)",null)}}function Zc(){bc&&(_c=0,Nc("(Committing Host Effects)"))}function ef(){if(bc){var e=_c;_c=0,Ic("(Committing Host Effects: "+e+" Total)","(Committing Host Effects)",null)}}function tf(){bc&&(_c=0,Nc("(Calling Lifecycle Methods)"))}function nf(){if(bc){var e=_c;_c=0,Ic("(Calling Lifecycle Methods: "+e+" Total)","(Calling Lifecycle Methods)",null)}}var rf,of=[];rf=[];var af,lf=-1;function uf(e){return{current:e}}function sf(e,t){lf<0?u("Unexpected pop."):(t!==rf[lf]&&u("Unexpected Fiber popped."),e.current=of[lf],of[lf]=null,rf[lf]=null,lf--)}function cf(e,t,n){lf++,of[lf]=e.current,rf[lf]=n,e.current=t}af={};var ff={};Object.freeze(ff);var df=uf(ff),pf=uf(!1),mf=ff;function hf(e,t,n){return n&&bf(t)?mf:df.current}function vf(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function gf(e,t){var n=e.type,o=n.contextTypes;if(!o)return ff;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var i={};for(var l in o)i[l]=t[l];var u=Se(n)||"Unknown";return r(o,i,"context",u,De),a&&vf(e,t,i),i}function yf(){return pf.current}function bf(e){return null!=e.childContextTypes}function wf(e){sf(pf,e),sf(df,e)}function kf(e){sf(pf,e),sf(df,e)}function xf(e,t,n){if(df.current!==ff)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");cf(df,t,e),cf(pf,n,e)}function Tf(e,n,o){var a,i=e.stateNode,l=n.childContextTypes;if("function"!=typeof i.getChildContext){var s=Se(n)||"Unknown";return af[s]||(af[s]=!0,u("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",s,s)),o}for(var c in Me("getChildContext"),qc(e,"getChildContext"),a=i.getChildContext(),Yc(),Me(null),a)if(!(c in l))throw Error((Se(n)||"Unknown")+'.getChildContext(): key "'+c+'" is not defined in childContextTypes.');var f=Se(n)||"Unknown";return r(l,a,"child context",f,De),t({},o,{},a)}function Ef(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ff;return mf=df.current,cf(df,n,e),cf(pf,pf.current,e),!0}function Sf(e,t,n){var r=e.stateNode;if(!r)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=Tf(e,t,mf);r.__reactInternalMemoizedMergedChildContext=o,sf(pf,e),sf(df,e),cf(df,o,e),cf(pf,n,e)}else sf(pf,e),cf(pf,n,e)}function Cf(e){if(!function(e){return Qo(e)===e}(e)||e.tag!==N)throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case O:return t.stateNode.context;case N:if(bf(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var _f=0,Pf=1,Rf=2,Nf=n.unstable_runWithPriority,If=n.unstable_scheduleCallback,Df=n.unstable_cancelCallback,Of=n.unstable_shouldYield,zf=n.unstable_requestPaint,Mf=n.unstable_now,Af=n.unstable_getCurrentPriorityLevel,Lf=n.unstable_ImmediatePriority,Ff=n.unstable_UserBlockingPriority,Uf=n.unstable_NormalPriority,Wf=n.unstable_LowPriority,jf=n.unstable_IdlePriority;if(null==a.__interactionsRef||null==a.__interactionsRef.current)throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");var Vf={},Bf=99,Hf=98,$f=97,Qf=96,qf=95,Yf=90,Kf=Of,Xf=void 0!==zf?zf:function(){},Gf=null,Jf=null,Zf=!1,ed=Mf(),td=ed<1e4?Mf:function(){return Mf()-ed};function nd(){switch(Af()){case Lf:return Bf;case Ff:return Hf;case Uf:return $f;case Wf:return Qf;case jf:return qf;default:throw Error("Unknown priority level.")}}function rd(e){switch(e){case Bf:return Lf;case Hf:return Ff;case $f:return Uf;case Qf:return Wf;case qf:return jf;default:throw Error("Unknown priority level.")}}function od(e,t){var n=rd(e);return Nf(n,t)}function ad(e,t,n){var r=rd(e);return If(r,t,n)}function id(e){return null===Gf?(Gf=[e],Jf=If(Lf,ud)):Gf.push(e),Vf}function ld(){if(null!==Jf){var e=Jf;Jf=null,Df(e)}ud()}function ud(){if(!Zf&&null!==Gf){Zf=!0;var e=0;try{var t=Gf;od(Bf,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Gf=null}catch(t){throw null!==Gf&&(Gf=Gf.slice(e+1)),If(Lf,ld),t}finally{Zf=!1}}}var sd=0,cd=1,fd=2,dd=4,pd=8,md=1073741823,hd=0,vd=1,gd=2,yd=md,bd=yd-1,wd=10,kd=bd-1;function xd(e){return kd-(e/wd|0)}function Td(e){return(kd-e)*wd}function Ed(e,t,n){return kd-(1+((kd-e+t/wd)/(r=n/wd)|0))*r;var r}var Sd=5e3,Cd=250,_d=500,Pd=100;function Rd(e){return Ed(e,_d,Pd)}function Nd(e,t){if(t===yd)return Bf;if(t===vd||t===gd)return qf;var n=Td(t)-Td(e);return n<=0?Bf:n<=_d+Pd?Hf:n<=Sd+Cd?$f:qf}var Id={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Dd=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},Od=[],zd=[],Md=[],Ad=[],Ld=[],Fd=[],Ud=new Set;Id.recordUnsafeLifecycleWarnings=function(e,t){Ud.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Od.push(e),e.mode&cd&&"function"==typeof t.UNSAFE_componentWillMount&&zd.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Md.push(e),e.mode&cd&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Ad.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Ld.push(e),e.mode&cd&&"function"==typeof t.UNSAFE_componentWillUpdate&&Fd.push(e))},Id.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Od.length>0&&(Od.forEach((function(t){e.add(Se(t.type)||"Component"),Ud.add(t.type)})),Od=[]);var t=new Set;zd.length>0&&(zd.forEach((function(e){t.add(Se(e.type)||"Component"),Ud.add(e.type)})),zd=[]);var n=new Set;Md.length>0&&(Md.forEach((function(e){n.add(Se(e.type)||"Component"),Ud.add(e.type)})),Md=[]);var r=new Set;Ad.length>0&&(Ad.forEach((function(e){r.add(Se(e.type)||"Component"),Ud.add(e.type)})),Ad=[]);var o=new Set;Ld.length>0&&(Ld.forEach((function(e){o.add(Se(e.type)||"Component"),Ud.add(e.type)})),Ld=[]);var a=new Set;Fd.length>0&&(Fd.forEach((function(e){a.add(Se(e.type)||"Component"),Ud.add(e.type)})),Fd=[]),t.size>0&&u("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Dd(t)),r.size>0&&u("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n\nPlease update the following components: %s",Dd(r)),a.size>0&&u("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Dd(a)),e.size>0&&l("componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Dd(e)),n.size>0&&l("componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Dd(n)),o.size>0&&l("componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Dd(o))};var Wd=new Map,jd=new Set;Id.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&cd&&(t=n),n=n.return;return t}(e);if(null!==n){if(!jd.has(e.type)){var r=Wd.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],Wd.set(n,r)),r.push(e))}}else u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},Id.flushLegacyContextWarning=function(){Wd.forEach((function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach((function(e){r.add(Se(e.type)||"Component"),jd.add(e.type)})),u("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://fb.me/react-legacy-context%s",Dd(r),Pe(n))}}))},Id.discardPendingWarnings=function(){Od=[],zd=[],Md=[],Ad=[],Ld=[],Fd=[],Wd=new Map};var Vd=null,Bd=null,Hd=function(e){Vd=e};function $d(e){if(null===Vd)return e;var t=Vd(e);return void 0===t?e:t.current}function Qd(e){return $d(e)}function qd(e){if(null===Vd)return e;var t=Vd(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=$d(e.render);if(e.render!==n){var r={$$typeof:fe,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Yd(e,t){if(null===Vd)return!1;var n=e.elementType,r=t.type,a=!1,i="object"===o(r)&&null!==r?r.$$typeof:null;switch(e.tag){case N:"function"==typeof r&&(a=!0);break;case R:("function"==typeof r||i===he)&&(a=!0);break;case B:(i===fe||i===he)&&(a=!0);break;case Q:case q:(i===me||i===he)&&(a=!0);break;default:return!1}if(a){var l=Vd(n);if(void 0!==l&&l===Vd(r))return!0}return!1}function Kd(e){null!==Vd&&"function"==typeof WeakSet&&(null===Bd&&(Bd=new WeakSet),Bd.add(e))}var Xd=function(e,t){if(null!==Vd){var n=t.staleFamilies,r=t.updatedFamilies;cb(),Hy((function(){Jd(e.current,r,n)}))}},Gd=function(e,t){var n,r,o;e.context===ff&&(cb(),od(Bf,function(){fw(t,e,null,null)}.bind(null,n,r,o)))};function Jd(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,l=e.type,u=null;switch(i){case R:case q:case N:u=l;break;case B:u=l.render}if(null===Vd)throw new Error("Expected resolveFamily to be set during hot reload.");var s=!1,c=!1;if(null!==u){var f=Vd(u);void 0!==f&&(n.has(f)?c=!0:t.has(f)&&(i===N?c=!0:s=!0))}null!==Bd&&(Bd.has(e)||null!==r&&Bd.has(r))&&(c=!0),c&&(e._debugNeedsRemount=!0),(c||s)&&Ay(e,yd),null===o||c||Jd(o,t,n),null!==a&&Jd(a,t,n)}var Zd=function(e,t){var n=new Set,r=new Set(t.map((function(e){return e.current})));return ep(e.current,r,n),n};function ep(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,l=null;switch(a){case R:case q:case N:l=i;break;case B:l=i.render}var u=!1;null!==l&&t.has(l)&&(u=!0),u?function(e,t){var n=function(e,t){for(var n=e,r=!1;;){if(n.tag===A)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(!n)for(var r=e;;){switch(r.tag){case A:return void t.add(r.stateNode);case M:case O:return void t.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,n):null!==r&&ep(r,t,n),null!==o&&ep(o,t,n)}function tp(e,n){if(e&&e.defaultProps){var r=t({},n),o=e.defaultProps;for(var a in o)void 0===r[a]&&(r[a]=o[a]);return r}return n}function np(e){if(function(e){if(e._status===we){e._status=ke;var t=(0,e._ctor)();e._result=t,t.then((function(t){if(e._status===ke){var n=t.default;void 0===n&&u("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),e._status=xe,e._result=n}}),(function(t){e._status===ke&&(e._status=Te,e._result=t)}))}}(e),e._status!==xe)throw e._result;return e._result}var rp,op=uf(null);rp={};var ap=null,ip=null,lp=null,up=!1;function sp(){ap=null,ip=null,lp=null,up=!1}function cp(){up=!0}function fp(){up=!1}function dp(e,t){var n=e.type._context;cf(op,n._currentValue,e),n._currentValue=t,void 0!==n._currentRenderer&&null!==n._currentRenderer&&n._currentRenderer!==rp&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=rp}function pp(e){var t=op.current;sf(op,e),e.type._context._currentValue=t}function mp(e,t){for(var n=e;null!==n;){var r=n.alternate;if(n.childExpirationTime<t)n.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}n=n.return}}function hp(e,t){ap=e,ip=null,lp=null;var n=e.dependencies;null!==n&&null!==n.firstContext&&(n.expirationTime>=t&&ng(),n.firstContext=null)}function vp(e,t){if(up&&u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),lp===e);else if(!1===t||0===t);else{var n;"number"!=typeof t||t===md?(lp=e,n=md):n=t;var r={context:e,observedBits:n,next:null};if(null===ip){if(null===ap)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ip=r,ap.dependencies={expirationTime:hd,firstContext:r,responders:null}}else ip=ip.next=r}return e._currentValue}var gp,yp,bp=0,wp=1,kp=2,xp=3,Tp=!1;function Ep(e){var t={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null};e.updateQueue=t}function Sp(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,baseQueue:r.baseQueue,shared:r.shared,effects:r.effects};t.updateQueue=o}}function Cp(e,t){var n={expirationTime:e,suspenseConfig:t,tag:bp,payload:null,callback:null,next:null};return n.next=n,n.priority=nd(),n}function _p(e,t){var n=e.updateQueue;if(null!==n){var r=n.shared,o=r.pending;null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,yp!==r||gp||(u("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),gp=!0)}}function Pp(e,t){var n=e.alternate;null!==n&&Sp(n,e);var r=e.updateQueue,o=r.baseQueue;null===o?(r.baseQueue=t.next=t,t.next=t):(t.next=o.next,o.next=t)}function Rp(e,n,r,o,a,i){switch(r.tag){case wp:var l=r.payload;if("function"==typeof l){cp(),e.mode&cd&&l.call(i,o,a);var u=l.call(i,o,a);return fp(),u}return l;case xp:e.effectTag=e.effectTag&~Ho|Mo;case bp:var s,c=r.payload;return"function"==typeof c?(cp(),e.mode&cd&&c.call(i,o,a),s=c.call(i,o,a),fp()):s=c,null==s?o:t({},o,s);case kp:return Tp=!0,o}return o}function Np(e,t,n,r){var o=e.updateQueue;Tp=!1,yp=o.shared;var a=o.baseQueue,i=o.shared.pending;if(null!==i){if(null!==a){var l=a.next,u=i.next;a.next=u,i.next=l}a=i,o.shared.pending=null;var s=e.alternate;if(null!==s){var c=s.updateQueue;null!==c&&(c.baseQueue=i)}}if(null!==a){var f=a.next,d=o.baseState,p=hd,m=null,h=null,v=null;if(null!==f)for(var g=f;;){var y=g.expirationTime;if(y<r){var b={expirationTime:g.expirationTime,suspenseConfig:g.suspenseConfig,tag:g.tag,payload:g.payload,callback:g.callback,next:null};null===v?(h=v=b,m=d):v=v.next=b,y>p&&(p=y)}else{if(null!==v){var w={expirationTime:yd,suspenseConfig:g.suspenseConfig,tag:g.tag,payload:g.payload,callback:g.callback,next:null};v=v.next=w}if(Gy(y,g.suspenseConfig),d=Rp(e,0,g,d,t,n),null!==g.callback){e.effectTag|=zo;var k=o.effects;null===k?o.effects=[g]:k.push(g)}}if(null===(g=g.next)||g===f){if(null===(i=o.shared.pending))break;g=a.next=i.next,i.next=f,o.baseQueue=a=i,o.shared.pending=null}}null===v?m=d:v.next=h,o.baseState=m,o.baseQueue=v,Jy(p),e.expirationTime=p,e.memoizedState=d}yp=null}function Ip(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Dp(){Tp=!1}function Op(){return Tp}function zp(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,Ip(i,n))}}gp=!1,yp=null;var Mp=i.ReactCurrentBatchConfig;function Ap(){return Mp.suspense}var Lp,Fp,Up,Wp,jp,Vp,Bp,Hp,$p,Qp,qp={},Yp=Array.isArray,Kp=(new e.Component).refs;Lp=new Set,Fp=new Set,Up=new Set,Wp=new Set,Hp=new Set,jp=new Set,$p=new Set,Qp=new Set;var Xp=new Set;function Gp(e,n,r,o){var a=e.memoizedState;e.mode&cd&&r(o,a);var i=r(o,a);Vp(n,i);var l=null==i?a:t({},a,i);e.memoizedState=l,e.expirationTime===hd&&(e.updateQueue.baseState=l)}Bp=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;Xp.has(n)||(Xp.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Vp=function(e,t){if(void 0===t){var n=Se(e)||"Component";jp.has(n)||(jp.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(qp,"_processChildContext",{enumerable:!1,value:function(){throw Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(qp);var Jp,Zp,em,tm,nm,rm,om={isMounted:function(e){var t=$o.current;if(null!==t&&t.tag===N){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||u("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Se(n.type)||"A component"),r._warnedAboutRefsInRender=!0}var o=Co(e);return!!o&&Qo(o)===o},enqueueSetState:function(e,t,n){var r=Co(e),o=zy(),a=Ap(),i=My(o,r,a),l=Cp(i,a);l.payload=t,null!=n&&(Bp(n,"setState"),l.callback=n),_p(r,l),Ay(r,i)},enqueueReplaceState:function(e,t,n){var r=Co(e),o=zy(),a=Ap(),i=My(o,r,a),l=Cp(i,a);l.tag=wp,l.payload=t,null!=n&&(Bp(n,"replaceState"),l.callback=n),_p(r,l),Ay(r,i)},enqueueForceUpdate:function(e,t){var n=Co(e),r=zy(),o=Ap(),a=My(r,n,o),i=Cp(a,o);i.tag=kp,null!=t&&(Bp(t,"forceUpdate"),i.callback=t),_p(n,i),Ay(n,a)}};function am(e,t,n,r,o,a,i){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){e.mode&cd&&l.shouldComponentUpdate(r,a,i),qc(e,"shouldComponentUpdate");var s=l.shouldComponentUpdate(r,a,i);return Yc(),void 0===s&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Se(t)||"Component"),s}return!(t.prototype&&t.prototype.isPureReactComponent&&Xs(n,r)&&Xs(o,a))}function im(e,t){var n;t.updater=om,e.stateNode=t,n=e,t._reactInternalFiber=n,t._reactInternalInstance=qp}function lm(e,t,n){var r=!1,a=ff,i=ff,l=t.contextType;if("contextType"in t&&null!==l&&(void 0===l||l.$$typeof!==se||void 0!==l._context)&&!Qp.has(t)){Qp.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!==o(l)?" However, it is set to a "+o(l)+".":l.$$typeof===ue?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Se(t)||"Component",s)}"object"===o(l)&&null!==l?i=vp(l):(a=hf(0,t,!0),i=(r=null!=t.contextTypes)?gf(e,a):ff),e.mode&cd&&new t(n,i);var c=new t(n,i),f=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(im(e,c),"function"==typeof t.getDerivedStateFromProps&&null===f){var d=Se(t)||"Component";Fp.has(d)||(Fp.add(d),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,null===c.state?"null":"undefined",d))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,m=null,h=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?m="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(m="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?h="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(h="UNSAFE_componentWillUpdate"),null!==p||null!==m||null!==h){var v=Se(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wp.has(v)||(Wp.add(v),u("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-unsafe-component-lifecycles",v,g,null!==p?"\n "+p:"",null!==m?"\n "+m:"",null!==h?"\n "+h:""))}}return r&&vf(e,a,i),c}function um(e,t,n,r){var o=t.state;if(qc(e,"componentWillReceiveProps"),"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),Yc(),t.state!==o){var a=Se(e.type)||"Component";Lp.has(a)||(Lp.add(a),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),om.enqueueReplaceState(t,t.state,null)}}function sm(e,t,n,r){!function(e,t,n){var r=e.stateNode,a=Se(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",a)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||u("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",a),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&u("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",a),r.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),r.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),r.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),t.contextType&&t.contextTypes&&!$p.has(t)&&($p.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",a)),"function"==typeof r.componentShouldUpdate&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",a),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Se(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),"function"==typeof r.componentDidReceiveProps&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",a),"function"==typeof r.componentWillRecieveProps&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),"function"==typeof r.UNSAFE_componentWillRecieveProps&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var i=r.props!==n;void 0!==r.props&&i&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a,a),r.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||Up.has(t)||(Up.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Se(t))),"function"==typeof r.getDerivedStateFromProps&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof r.getDerivedStateFromError&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof t.getSnapshotBeforeUpdate&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a);var l=r.state;l&&("object"!==o(l)||Yp(l))&&u("%s.state: must be set to an object or null",a),"function"==typeof r.getChildContext&&"object"!==o(t.childContextTypes)&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}(e,t,n);var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Kp,Ep(e);var i=t.contextType;if("object"===o(i)&&null!==i)a.context=vp(i);else{var l=hf(0,t,!0);a.context=gf(e,l)}if(a.state===n){var s=Se(t)||"Component";Hp.has(s)||(Hp.add(s),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}e.mode&cd&&Id.recordLegacyContextWarning(e,a),Id.recordUnsafeLifecycleWarnings(e,a),Np(e,n,a,r),a.state=e.memoizedState;var c=t.getDerivedStateFromProps;"function"==typeof c&&(Gp(e,t,c,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(function(e,t){qc(e,"componentWillMount");var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),Yc(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Se(e.type)||"Component"),om.enqueueReplaceState(t,t.state,null))}(e,a),Np(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=No)}Jp=!1,Zp=!1,em={},tm={},nm={},rm=function(e){if(null!==e&&"object"===o(e)&&e._store&&!e._store.validated&&null==e.key){if("object"!==o(e._store))throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var t='Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+De();tm[t]||(tm[t]=!0,u('Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'))}};var cm=Array.isArray;function fm(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!==o(r)){if((e.mode&cd||it)&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var a=Se(e.type)||"Component";em[a]||(u('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref%s',r,Pe(e)),em[a]=!0)}if(n._owner){var i,l=n._owner;if(l){var s=l;if(s.tag!==N)throw Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref");i=s.stateNode}if(!i)throw Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var c=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===c)return t.ref;var f=function(e){var t=i.refs;t===Kp&&(t=i.refs={}),null===e?delete t[c]:t[c]=e};return f._stringRef=c,f}if("string"!=typeof r)throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.")}return r}function dm(e,t){var n;if("textarea"!==e.type)throw n=" If you meant to render a collection of children, use an array instead."+De(),Error("Objects are not valid as a React child (found: "+("[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t)+")."+n)}function pm(){var e="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+De();nm[e]||(nm[e]=!0,u("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function mm(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=Do}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function a(e,t){var n=Gb(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.effectTag=Ro,n):a}return t.effectTag=Ro,n}function l(t){return e&&null===t.alternate&&(t.effectTag=Ro),t}function s(e,t,n,r){if(null===t||t.tag!==L){var o=nw(n,e.mode,r);return o.return=e,o}var i=a(t,n);return i.return=e,i}function c(e,t,n,r){if(null!==t&&(t.elementType===n.type||Yd(t,n))){var o=a(t,n.props);return o.ref=fm(e,t,n),o.return=e,o._debugSource=n._source,o._debugOwner=n._owner,o}var i=ew(n,e.mode,r);return i.ref=fm(e,t,n),i.return=e,i}function f(e,t,n,r){if(null===t||t.tag!==M||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=rw(n,e.mode,r);return o.return=e,o}var i=a(t,n.children||[]);return i.return=e,i}function d(e,t,n,r,o){if(null===t||t.tag!==F){var i=tw(n,e.mode,r,o);return i.return=e,i}var l=a(t,n);return l.return=e,l}function p(e,t,n){if("string"==typeof t||"number"==typeof t){var r=nw(""+t,e.mode,n);return r.return=e,r}if("object"===o(t)&&null!==t){switch(t.$$typeof){case re:var a=ew(t,e.mode,n);return a.ref=fm(e,null,t),a.return=e,a;case oe:var i=rw(t,e.mode,n);return i.return=e,i}if(cm(t)||be(t)){var l=tw(t,e.mode,n,null);return l.return=e,l}dm(e,t)}return"function"==typeof t&&pm(),null}function m(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"===o(n)&&null!==n){switch(n.$$typeof){case re:return n.key===a?n.type===ae?d(e,t,n.props.children,r,a):c(e,t,n,r):null;case oe:return n.key===a?f(e,t,n,r):null}if(cm(n)||be(n))return null!==a?null:d(e,t,n,r,null);dm(e,n)}return"function"==typeof n&&pm(),null}function h(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return s(t,e.get(n)||null,""+r,a);if("object"===o(r)&&null!==r){switch(r.$$typeof){case re:var i=e.get(null===r.key?n:r.key)||null;return r.type===ae?d(t,i,r.props.children,a,r.key):c(t,i,r,a);case oe:return f(t,e.get(null===r.key?n:r.key)||null,r,a)}if(cm(r)||be(r))return d(t,e.get(n)||null,r,a,null);dm(t,r)}return"function"==typeof r&&pm(),null}function v(e,t){if("object"!==o(e)||null===e)return t;switch(e.$$typeof){case re:case oe:rm(e);var n=e.key;if("string"!=typeof n)break;if(null===t){(t=new Set).add(n);break}if(!t.has(n)){t.add(n);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",n)}return t}return function(s,c,f,d){var g="object"===o(f)&&null!==f&&f.type===ae&&null===f.key;g&&(f=f.props.children);var y="object"===o(f)&&null!==f;if(y)switch(f.$$typeof){case re:return l(function(e,r,o,i){for(var l=o.key,u=r;null!==u;){if(u.key===l){if(u.tag===F){if(o.type===ae){n(e,u.sibling);var s=a(u,o.props.children);return s.return=e,s._debugSource=o._source,s._debugOwner=o._owner,s}}else if(u.elementType===o.type||Yd(u,o)){n(e,u.sibling);var c=a(u,o.props);return c.ref=fm(e,u,o),c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}n(e,u);break}t(e,u),u=u.sibling}if(o.type===ae){var f=tw(o.props.children,e.mode,i,o.key);return f.return=e,f}var d=ew(o,e.mode,i);return d.ref=fm(e,r,o),d.return=e,d}(s,c,f,d));case oe:return l(function(e,r,o,i){for(var l=o.key,u=r;null!==u;){if(u.key===l){if(u.tag===M&&u.stateNode.containerInfo===o.containerInfo&&u.stateNode.implementation===o.implementation){n(e,u.sibling);var s=a(u,o.children||[]);return s.return=e,s}n(e,u);break}t(e,u),u=u.sibling}var c=rw(o,e.mode,i);return c.return=e,c}(s,c,f,d))}if("string"==typeof f||"number"==typeof f)return l(function(e,t,r,o){if(null!==t&&t.tag===L){n(e,t.sibling);var i=a(t,r);return i.return=e,i}n(e,t);var l=nw(r,e.mode,o);return l.return=e,l}(s,c,""+f,d));if(cm(f))return function(o,a,l,u){for(var s=null,c=0;c<l.length;c++)s=v(l[c],s);for(var f=null,d=null,g=a,y=0,b=0,w=null;null!==g&&b<l.length;b++){g.index>b?(w=g,g=null):w=g.sibling;var k=m(o,g,l[b],u);if(null===k){null===g&&(g=w);break}e&&g&&null===k.alternate&&t(o,g),y=i(k,y,b),null===d?f=k:d.sibling=k,d=k,g=w}if(b===l.length)return n(o,g),f;if(null===g){for(;b<l.length;b++){var x=p(o,l[b],u);null!==x&&(y=i(x,y,b),null===d?f=x:d.sibling=x,d=x)}return f}for(var T=r(0,g);b<l.length;b++){var E=h(T,o,b,l[b],u);null!==E&&(e&&null!==E.alternate&&T.delete(null===E.key?b:E.key),y=i(E,y,b),null===d?f=E:d.sibling=E,d=E)}return e&&T.forEach((function(e){return t(o,e)})),f}(s,c,f,d);if(be(f))return function(o,a,l,s){var c=be(l);if("function"!=typeof c)throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===l[Symbol.toStringTag]&&(Zp||u("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Zp=!0),l.entries===c&&(Jp||u("Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),Jp=!0);var f=c.call(l);if(f)for(var d=null,g=f.next();!g.done;g=f.next())d=v(g.value,d);var y=c.call(l);if(null==y)throw Error("An iterable object provided no iterator.");for(var b=null,w=null,k=a,x=0,T=0,E=null,S=y.next();null!==k&&!S.done;T++,S=y.next()){k.index>T?(E=k,k=null):E=k.sibling;var C=m(o,k,S.value,s);if(null===C){null===k&&(k=E);break}e&&k&&null===C.alternate&&t(o,k),x=i(C,x,T),null===w?b=C:w.sibling=C,w=C,k=E}if(S.done)return n(o,k),b;if(null===k){for(;!S.done;T++,S=y.next()){var _=p(o,S.value,s);null!==_&&(x=i(_,x,T),null===w?b=_:w.sibling=_,w=_)}return b}for(var P=r(0,k);!S.done;T++,S=y.next()){var R=h(P,o,T,S.value,s);null!==R&&(e&&null!==R.alternate&&P.delete(null===R.key?T:R.key),x=i(R,x,T),null===w?b=R:w.sibling=R,w=R)}return e&&P.forEach((function(e){return t(o,e)})),b}(s,c,f,d);if(y&&dm(s,f),"function"==typeof f&&pm(),void 0===f&&!g)switch(s.tag){case N:if(s.stateNode.render._isMockFunction)break;case R:var b=s.type;throw Error((b.displayName||b.name||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.")}return n(s,c)}}var hm=mm(!0),vm=mm(!1);function gm(e,t){for(var n=e.child;null!==n;)Jb(n,t),n=n.sibling}var ym={},bm=uf(ym),wm=uf(ym),km=uf(ym);function xm(e){if(e===ym)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Tm(){return xm(km.current)}function Em(e,t){cf(km,t,e),cf(wm,e,e),cf(bm,ym,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case Vn:case Bn:t=r===Vn?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:Mn(null,"");break;default:var a=r===jn?e.parentNode:e;n=Mn(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Ll(null,i)}}(t);sf(bm,e),cf(bm,n,e)}function Sm(e){sf(bm,e),sf(wm,e),sf(km,e)}function Cm(){return xm(bm.current)}function _m(e){xm(km.current);var t,n,r,o=xm(bm.current),a=(t=o,n=e.type,{namespace:Mn((r=t).namespace,n),ancestorInfo:Ll(r.ancestorInfo,n)});o!==a&&(cf(wm,e,e),cf(bm,a,e))}function Pm(e){wm.current===e&&(sf(bm,e),sf(wm,e))}var Rm=1,Nm=1,Im=2,Dm=uf(0);function Om(e,t){return 0!=(e&t)}function zm(e){return e&Rm}function Mm(e,t){return e&Rm|t}function Am(e,t){cf(Dm,t,e)}function Lm(e){sf(Dm,e)}function Fm(e,t){var n=e.memoizedState;if(null!==n)return null!==n.dehydrated;var r=e.memoizedProps;return void 0!==r.fallback&&(!0!==r.unstable_avoidThisFallback||!t)}function Um(e){for(var t=e;null!==t;){if(t.tag===$){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||r.data===ql||du(r))return t}}else if(t.tag===G&&void 0!==t.memoizedProps.revealOrder){if((t.effectTag&Mo)!==_o)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 Wm(e,t){var n={responder:e,props:t};return Object.freeze(n),n}var jm,Vm=1,Bm=2,Hm=4,$m=i.ReactCurrentDispatcher,Qm=i.ReactCurrentBatchConfig;jm=new Set;var qm=hd,Ym=null,Km=null,Xm=null,Gm=!1,Jm=25,Zm=null,eh=null,th=-1,nh=!1;function rh(){var e=Zm;null===eh?eh=[e]:eh.push(e)}function oh(){var e=Zm;null!==eh&&(th++,eh[th]!==e&&function(e){var t=Se(Ym.type);if(!jm.has(t)&&(jm.add(t),null!==eh)){for(var n="",r=30,o=0;o<=th;o++){for(var a=eh[o],i=o===th?e:a,l=o+1+". "+a;l.length<r;)l+=" ";n+=l+=i+"\n"}u("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://fb.me/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function ah(e){null==e||Array.isArray(e)||u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Zm,o(e))}function ih(){throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.")}function lh(e,t){if(nh)return!1;if(null===t)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Zm),!1;e.length!==t.length&&u("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Zm,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ys(e[n],t[n]))return!1;return!0}function uh(e,t,n,r,o,a){qm=a,Ym=t,eh=null!==e?e._debugHookTypes:null,th=-1,nh=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.expirationTime=hd,null!==e&&null!==e.memoizedState?$m.current=Kh:$m.current=null!==eh?Yh:qh;var i=n(r,o);if(t.expirationTime===qm){var l=0;do{if(t.expirationTime=hd,!(l<Jm))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,nh=!1,Km=null,Xm=null,t.updateQueue=null,th=-1,$m.current=Xh,i=n(r,o)}while(t.expirationTime===qm)}$m.current=Qh,t._debugHookTypes=eh;var u=null!==Km&&null!==Km.next;if(qm=hd,Ym=null,Km=null,Xm=null,Zm=null,eh=null,th=-1,Gm=!1,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return i}function sh(e,t,n){t.updateQueue=e.updateQueue,t.effectTag&=~(Fo|No),e.expirationTime<=n&&(e.expirationTime=hd)}function ch(){if($m.current=Qh,Gm)for(var e=Ym.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}qm=hd,Ym=null,Km=null,Xm=null,eh=null,th=-1,Zm=null,Gm=!1}function fh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Xm?Ym.memoizedState=Xm=e:Xm=Xm.next=e,Xm}function dh(){var e,t;if(null===Km){var n=Ym.alternate;e=null!==n?n.memoizedState:null}else e=Km.next;if(null!==(t=null===Xm?Ym.memoizedState:Xm.next))t=(Xm=t).next,Km=e;else{if(null===e)throw Error("Rendered more hooks than during the previous render.");var r={memoizedState:(Km=e).memoizedState,baseState:Km.baseState,baseQueue:Km.baseQueue,queue:Km.queue,next:null};null===Xm?Ym.memoizedState=Xm=r:Xm=Xm.next=r}return Xm}function ph(e,t){return"function"==typeof t?t(e):t}function mh(e,t,n){var r,o=fh();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a=o.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i=a.dispatch=$h.bind(null,Ym,a);return[o.memoizedState,i]}function hh(e,t,n){var r=dh(),o=r.queue;if(null===o)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=Km,i=a.baseQueue,l=o.pending;if(null!==l){if(null!==i){var u=i.next,s=l.next;i.next=s,l.next=u}a.baseQueue=i=l,o.pending=null}if(null!==i){var c=i.next,f=a.baseState,d=null,p=null,m=null,h=c;do{var v=h.expirationTime;if(v<qm){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,action:h.action,eagerReducer:h.eagerReducer,eagerState:h.eagerState,next:null};null===m?(p=m=g,d=f):m=m.next=g,v>Ym.expirationTime&&(Ym.expirationTime=v,Jy(v))}else{if(null!==m){var y={expirationTime:yd,suspenseConfig:h.suspenseConfig,action:h.action,eagerReducer:h.eagerReducer,eagerState:h.eagerState,next:null};m=m.next=y}Gy(v,h.suspenseConfig),f=h.eagerReducer===e?h.eagerState:e(f,h.action)}h=h.next}while(null!==h&&h!==c);null===m?d=f:m.next=p,Ys(f,r.memoizedState)||ng(),r.memoizedState=f,r.baseState=d,r.baseQueue=m,o.lastRenderedState=f}var b=o.dispatch;return[r.memoizedState,b]}function vh(e,t,n){var r=dh(),o=r.queue;if(null===o)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,l=r.memoizedState;if(null!==i){o.pending=null;var u=i.next,s=u;do{l=e(l,s.action),s=s.next}while(s!==u);Ys(l,r.memoizedState)||ng(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),o.lastRenderedState=l}return[l,a]}function gh(e){var t=fh();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n=t.queue={pending:null,dispatch:null,lastRenderedReducer:ph,lastRenderedState:e},r=n.dispatch=$h.bind(null,Ym,n);return[t.memoizedState,r]}function yh(e){return hh(ph)}function bh(e){return vh(ph)}function wh(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=Ym.updateQueue;if(null===a)a={lastEffect:null},Ym.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var l=i.next;i.next=o,o.next=l,a.lastEffect=o}}return o}function kh(e){var t=fh(),n={current:e};return Object.seal(n),t.memoizedState=n,n}function xh(e){return dh().memoizedState}function Th(e,t,n,r){var o=fh(),a=void 0===r?null:r;Ym.effectTag|=e,o.memoizedState=wh(Vm|t,n,void 0,a)}function Eh(e,t,n,r){var o=dh(),a=void 0===r?null:r,i=void 0;if(null!==Km){var l=Km.memoizedState;if(i=l.destroy,null!==a&&lh(a,l.deps))return void wh(t,n,i,a)}Ym.effectTag|=e,o.memoizedState=wh(Vm|t,n,i,a)}function Sh(e,t){return"undefined"!=typeof jest&&Cb(Ym),Th(No|Fo,Hm,e,t)}function Ch(e,t){return"undefined"!=typeof jest&&Cb(Ym),Eh(No|Fo,Hm,e,t)}function _h(e,t){return Th(No,Bm,e,t)}function Ph(e,t){return Eh(No,Bm,e,t)}function Rh(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var a=e();return o.current=a,function(){o.current=null}}}function Nh(e,t,n){"function"!=typeof t&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?o(t):"null");var r=null!=n?n.concat([e]):null;return Th(No,Bm,Rh.bind(null,t,e),r)}function Ih(e,t,n){"function"!=typeof t&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?o(t):"null");var r=null!=n?n.concat([e]):null;return Eh(No,Bm,Rh.bind(null,t,e),r)}function Dh(e,t){}var Oh=Dh;function zh(e,t){var n=void 0===t?null:t;return fh().memoizedState=[e,n],e}function Mh(e,t){var n=dh(),r=void 0===t?null:t,o=n.memoizedState;return null!==o&&null!==r&&lh(r,o[1])?o[0]:(n.memoizedState=[e,r],e)}function Ah(e,t){var n=fh(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function Lh(e,t){var n=dh(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&null!==r&&lh(r,o[1]))return o[0];var a=e();return n.memoizedState=[a,r],a}function Fh(e,t){var n=gh(e),r=n[0],o=n[1];return Sh((function(){var n=Qm.suspense;Qm.suspense=void 0===t?null:t;try{o(e)}finally{Qm.suspense=n}}),[e,t]),r}function Uh(e,t){var n=yh(),r=n[0],o=n[1];return Ch((function(){var n=Qm.suspense;Qm.suspense=void 0===t?null:t;try{o(e)}finally{Qm.suspense=n}}),[e,t]),r}function Wh(e,t){var n=bh(),r=n[0],o=n[1];return Ch((function(){var n=Qm.suspense;Qm.suspense=void 0===t?null:t;try{o(e)}finally{Qm.suspense=n}}),[e,t]),r}function jh(e,t,n){var r=nd();od(r<Hf?Hf:r,(function(){e(!0)})),od(r>$f?$f:r,(function(){var r=Qm.suspense;Qm.suspense=void 0===t?null:t;try{e(!1),n()}finally{Qm.suspense=r}}))}function Vh(e){var t=gh(!1),n=t[0],r=t[1];return[zh(jh.bind(null,r,e),[r,e]),n]}function Bh(e){var t=yh(),n=t[0],r=t[1];return[Mh(jh.bind(null,r,e),[r,e]),n]}function Hh(e){var t=bh(),n=t[0],r=t[1];return[Mh(jh.bind(null,r,e),[r,e]),n]}function $h(e,t,n){"function"==typeof arguments[3]&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=zy(),o=Ap(),a=My(r,e,o),i={expirationTime:a,suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};i.priority=nd();var l=t.pending;null===l?i.next=i:(i.next=l.next,l.next=i),t.pending=i;var s=e.alternate;if(e===Ym||null!==s&&s===Ym)Gm=!0,i.expirationTime=qm,Ym.expirationTime=qm;else{if(e.expirationTime===hd&&(null===s||s.expirationTime===hd)){var c=t.lastRenderedReducer;if(null!==c){var f;f=$m.current,$m.current=Jh;try{var d=t.lastRenderedState,p=c(d,n);if(i.eagerReducer=c,i.eagerState=p,Ys(p,d))return}catch(e){}finally{$m.current=f}}}"undefined"!=typeof jest&&(Sb(e),_b(e)),Ay(e,a)}}var Qh={readContext:vp,useCallback:ih,useContext:ih,useEffect:ih,useImperativeHandle:ih,useLayoutEffect:ih,useMemo:ih,useReducer:ih,useRef:ih,useState:ih,useDebugValue:ih,useResponder:ih,useDeferredValue:ih,useTransition:ih},qh=null,Yh=null,Kh=null,Xh=null,Gh=null,Jh=null,Zh=null,ev=function(){u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},tv=function(){u("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://fb.me/rules-of-hooks")};qh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",rh(),ah(t),zh(e,t)},useContext:function(e,t){return Zm="useContext",rh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",rh(),ah(t),Sh(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",rh(),ah(n),Nh(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",rh(),ah(t),_h(e,t)},useMemo:function(e,t){Zm="useMemo",rh(),ah(t);var n=$m.current;$m.current=Gh;try{return Ah(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",rh();var r=$m.current;$m.current=Gh;try{return mh(e,t,n)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",rh(),kh(e)},useState:function(e){Zm="useState",rh();var t=$m.current;$m.current=Gh;try{return gh(e)}finally{$m.current=t}},useDebugValue:function(e,t){Zm="useDebugValue",rh()},useResponder:function(e,t){return Zm="useResponder",rh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",rh(),Fh(e,t)},useTransition:function(e){return Zm="useTransition",rh(),Vh(e)}},Yh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",oh(),zh(e,t)},useContext:function(e,t){return Zm="useContext",oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",oh(),Sh(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",oh(),Nh(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",oh(),_h(e,t)},useMemo:function(e,t){Zm="useMemo",oh();var n=$m.current;$m.current=Gh;try{return Ah(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",oh();var r=$m.current;$m.current=Gh;try{return mh(e,t,n)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",oh(),kh(e)},useState:function(e){Zm="useState",oh();var t=$m.current;$m.current=Gh;try{return gh(e)}finally{$m.current=t}},useDebugValue:function(e,t){Zm="useDebugValue",oh()},useResponder:function(e,t){return Zm="useResponder",oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",oh(),Fh(e,t)},useTransition:function(e){return Zm="useTransition",oh(),Vh(e)}},Kh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",oh();var n=$m.current;$m.current=Jh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",oh();var r=$m.current;$m.current=Jh;try{return hh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",oh(),xh()},useState:function(e){Zm="useState",oh();var t=$m.current;$m.current=Jh;try{return yh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",oh(),Uh(e,t)},useTransition:function(e){return Zm="useTransition",oh(),Bh(e)}},Xh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",oh();var n=$m.current;$m.current=Zh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",oh();var r=$m.current;$m.current=Zh;try{return vh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",oh(),xh()},useState:function(e){Zm="useState",oh();var t=$m.current;$m.current=Zh;try{return bh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",oh(),Wh(e,t)},useTransition:function(e){return Zm="useTransition",oh(),Hh(e)}},Gh={readContext:function(e,t){return ev(),vp(e,t)},useCallback:function(e,t){return Zm="useCallback",tv(),rh(),zh(e,t)},useContext:function(e,t){return Zm="useContext",tv(),rh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",tv(),rh(),Sh(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",tv(),rh(),Nh(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",tv(),rh(),_h(e,t)},useMemo:function(e,t){Zm="useMemo",tv(),rh();var n=$m.current;$m.current=Gh;try{return Ah(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",tv(),rh();var r=$m.current;$m.current=Gh;try{return mh(e,t,n)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",tv(),rh(),kh(e)},useState:function(e){Zm="useState",tv(),rh();var t=$m.current;$m.current=Gh;try{return gh(e)}finally{$m.current=t}},useDebugValue:function(e,t){Zm="useDebugValue",tv(),rh()},useResponder:function(e,t){return Zm="useResponder",tv(),rh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",tv(),rh(),Fh(e,t)},useTransition:function(e){return Zm="useTransition",tv(),rh(),Vh(e)}},Jh={readContext:function(e,t){return ev(),vp(e,t)},useCallback:function(e,t){return Zm="useCallback",tv(),oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",tv(),oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",tv(),oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",tv(),oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",tv(),oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",tv(),oh();var n=$m.current;$m.current=Jh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",tv(),oh();var r=$m.current;$m.current=Jh;try{return hh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",tv(),oh(),xh()},useState:function(e){Zm="useState",tv(),oh();var t=$m.current;$m.current=Jh;try{return yh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",tv(),oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",tv(),oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",tv(),oh(),Uh(e,t)},useTransition:function(e){return Zm="useTransition",tv(),oh(),Bh(e)}},Zh={readContext:function(e,t){return ev(),vp(e,t)},useCallback:function(e,t){return Zm="useCallback",tv(),oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",tv(),oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",tv(),oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",tv(),oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",tv(),oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",tv(),oh();var n=$m.current;$m.current=Jh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",tv(),oh();var r=$m.current;$m.current=Jh;try{return vh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",tv(),oh(),xh()},useState:function(e){Zm="useState",tv(),oh();var t=$m.current;$m.current=Jh;try{return bh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",tv(),oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",tv(),oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",tv(),oh(),Wh(e,t)},useTransition:function(e){return Zm="useTransition",tv(),oh(),Hh(e)}};var nv=n.unstable_now,rv=0,ov=-1;function av(){rv=nv()}function iv(e){ov=nv(),e.actualStartTime<0&&(e.actualStartTime=nv())}function lv(e){ov=-1}function uv(e,t){if(ov>=0){var n=nv()-ov;e.actualDuration+=n,t&&(e.selfBaseDuration=n),ov=-1}}var sv=null,cv=null,fv=!1;function dv(e,t){switch(e.tag){case O:!function(e,t){t.nodeType===Un?bl(e,t):t.nodeType===jn||wl(e,t)}(e.stateNode.containerInfo,t);break;case A:!function(e,t,n,r){!0!==t[Bl]&&(r.nodeType===Un?bl(n,r):r.nodeType===jn||wl(n,r))}(e.type,e.memoizedProps,e.stateNode,t)}var n,r=((n=Kb(A,null,null,sd)).elementType="DELETED",n.type="DELETED",n);r.stateNode=t,r.return=e,r.effectTag=Do,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function pv(e,t){switch(t.effectTag=t.effectTag&~Uo|Ro,e.tag){case O:var n=e.stateNode.containerInfo;switch(t.tag){case A:var r=t.type;t.pendingProps,function(e,t,n){kl(e,t)}(n,r);break;case L:!function(e,t){xl(e,t)}(n,t.pendingProps)}break;case A:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case A:var i=t.type;t.pendingProps,function(e,t,n,r,o){!0!==t[Bl]&&kl(n,r)}(0,o,a,i);break;case L:!function(e,t,n,r){!0!==t[Bl]&&xl(n,r)}(0,o,a,t.pendingProps);break;case $:!function(e,t,n){t[Bl]}(0,o)}break;default:return}}function mv(e,t){switch(e.tag){case A:var n=e.type;e.pendingProps;var r=function(e,t,n){return e.nodeType!==Un||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,!0);case L:var o=function(e,t){return""===t||e.nodeType!==Wn?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,!0);default:return!1}}function hv(e){if(fv){var t=cv;if(!t)return pv(sv,e),fv=!1,void(sv=e);var n=t;if(!mv(e,t)){if(!(t=mu(n))||!mv(e,t))return pv(sv,e),fv=!1,void(sv=e);dv(sv,n)}sv=e,cv=hu(t)}}function vv(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return xu(n,e),function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=sv;if(null!==o)switch(o.tag){case O:o.stateNode.containerInfo,function(e,t,n){yl(t,n)}(0,t,n);break;case A:o.type;var a=o.memoizedProps;o.stateNode,function(e,t,n,r,o){!0!==t[Bl]&&yl(r,o)}(0,a,0,t,n)}}return r}function gv(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===jn){var r=t.data;if(r===Ql){if(0===n)return mu(t);n--}else r!==$l&&r!==Yl&&r!==ql||n++}t=t.nextSibling}return null}(n)}function yv(e){for(var t=e.return;null!==t&&t.tag!==A&&t.tag!==O&&t.tag!==$;)t=t.return;sv=t}function bv(e){if(e!==sv)return!1;if(!fv)return yv(e),fv=!0,!1;var t=e.type;if(e.tag!==A||"head"!==t&&"body"!==t&&!tu(t,e.memoizedProps))for(var n=cv;n;)dv(e,n),n=mu(n);return yv(e),cv=e.tag===$?gv(e):sv?mu(e.stateNode):null,!0}function wv(){sv=null,cv=null,fv=!1}var kv,xv,Tv,Ev,Sv,Cv,_v,Pv,Rv,Nv=i.ReactCurrentOwner,Iv=!1;function Dv(e,t,n,r){t.child=null===e?vm(t,null,n,r):hm(t,e.child,n,r)}function Ov(e,t,n,o,a){if(t.type!==t.elementType){var i=n.propTypes;i&&r(i,o,"prop",Se(n),De)}var l,u=n.render,s=t.ref;return hp(t,a),Nv.current=t,Me("render"),l=uh(e,t,u,o,s,a),t.mode&cd&&null!==t.memoizedState&&(l=uh(e,t,u,o,s,a)),Me(null),null===e||Iv?(t.effectTag|=Po,Dv(e,t,l,a),t.child):(sh(e,t,a),rg(e,t,a))}function zv(e,t,n,o,a,i){if(null===e){var l,u=n.type;if(function(e){return"function"==typeof e&&!Xb(e)&&void 0===e.defaultProps}(u)&&null===n.compare&&void 0===n.defaultProps)return l=$d(u),t.tag=q,t.type=l,Bv(t,u),Mv(e,t,l,o,a,i);var s=u.propTypes;s&&r(s,o,"prop",Se(u),De);var c=Zb(n.type,null,o,null,t.mode,i);return c.ref=t.ref,c.return=t,t.child=c,c}var f=n.type,d=f.propTypes;d&&r(d,o,"prop",Se(f),De);var p=e.child;if(a<i){var m=p.memoizedProps,h=n.compare;if((h=null!==h?h:Xs)(m,o)&&e.ref===t.ref)return rg(e,t,i)}t.effectTag|=Po;var v=Gb(p,o);return v.ref=t.ref,v.return=t,t.child=v,v}function Mv(e,t,n,o,a,i){if(t.type!==t.elementType){var l=t.elementType;l.$$typeof===he&&(l=Ee(l));var u=l&&l.propTypes;u&&r(u,o,"prop",Se(l),De)}return null!==e&&Xs(e.memoizedProps,o)&&e.ref===t.ref&&t.type===e.type&&(Iv=!1,a<i)?(t.expirationTime=e.expirationTime,rg(e,t,i)):Lv(e,t,n,o,i)}function Av(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=Ao)}function Lv(e,t,n,o,a){if(t.type!==t.elementType){var i=n.propTypes;i&&r(i,o,"prop",Se(n),De)}var l,u;return l=gf(t,hf(0,n,!0)),hp(t,a),Nv.current=t,Me("render"),u=uh(e,t,n,o,l,a),t.mode&cd&&null!==t.memoizedState&&(u=uh(e,t,n,o,l,a)),Me(null),null===e||Iv?(t.effectTag|=Po,Dv(e,t,u,a),t.child):(sh(e,t,a),rg(e,t,a))}function Fv(e,t,n,a,i){if(t.type!==t.elementType){var l=n.propTypes;l&&r(l,a,"prop",Se(n),De)}var s,c;bf(n)?(s=!0,Ef(t)):s=!1,hp(t,i),null===t.stateNode?(null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro),lm(t,n,a),sm(t,n,a,i),c=!0):c=null===e?function(e,t,n,r){var a=e.stateNode,i=e.memoizedProps;a.props=i;var l=a.context,u=t.contextType,s=ff;s="object"===o(u)&&null!==u?vp(u):gf(e,hf(0,t,!0));var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===n&&l===s||um(e,a,n,s),Dp();var d=e.memoizedState,p=a.state=d;if(Np(e,n,a,r),p=e.memoizedState,i===n&&d===p&&!yf()&&!Op())return"function"==typeof a.componentDidMount&&(e.effectTag|=No),!1;"function"==typeof c&&(Gp(e,t,c,n),p=e.memoizedState);var m=Op()||am(e,t,i,n,d,p,s);return m?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(qc(e,"componentWillMount"),"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),Yc()),"function"==typeof a.componentDidMount&&(e.effectTag|=No)):("function"==typeof a.componentDidMount&&(e.effectTag|=No),e.memoizedProps=n,e.memoizedState=p),a.props=n,a.state=p,a.context=s,m}(t,n,a,i):function(e,t,n,r,a){var i=t.stateNode;Sp(e,t);var l=t.memoizedProps;i.props=t.type===t.elementType?l:tp(t.type,l);var u=i.context,s=n.contextType,c=ff;c="object"===o(s)&&null!==s?vp(s):gf(t,hf(0,n,!0));var f=n.getDerivedStateFromProps,d="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||l===r&&u===c||um(t,i,r,c),Dp();var p=t.memoizedState,m=i.state=p;if(Np(t,r,i,a),m=t.memoizedState,l===r&&p===m&&!yf()&&!Op())return"function"==typeof i.componentDidUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=No)),"function"==typeof i.getSnapshotBeforeUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Lo)),!1;"function"==typeof f&&(Gp(t,n,f,r),m=t.memoizedState);var h=Op()||am(t,n,l,r,p,m,c);return h?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||(qc(t,"componentWillUpdate"),"function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,c),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,c),Yc()),"function"==typeof i.componentDidUpdate&&(t.effectTag|=No),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=Lo)):("function"==typeof i.componentDidUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=No)),"function"==typeof i.getSnapshotBeforeUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Lo)),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=c,h}(e,t,n,a,i);var f=Uv(e,t,n,c,s,i);return t.stateNode.props!==a&&(Cv||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Se(t.type)||"a component"),Cv=!0),f}function Uv(e,t,n,r,o,a){Av(e,t);var i=(t.effectTag&Mo)!==_o;if(!r&&!i)return o&&Sf(t,n,!1),rg(e,t,a);var l,u=t.stateNode;return Nv.current=t,i&&"function"!=typeof n.getDerivedStateFromError?(l=null,lv()):(Me("render"),l=u.render(),t.mode&cd&&u.render(),Me(null)),t.effectTag|=Po,null!==e&&i?function(e,t,n,r){t.child=hm(t,e.child,null,r),t.child=hm(t,null,n,r)}(e,t,l,a):Dv(e,t,l,a),t.memoizedState=u.state,o&&Sf(t,n,!0),t.child}function Wv(e){var t=e.stateNode;t.pendingContext?xf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xf(e,t.context,!1),Em(e,t.containerInfo)}function jv(e,t,n){Wv(t);var r=t.updateQueue;if(null===e||null===r)throw Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");var o=t.pendingProps,a=t.memoizedState,i=null!==a?a.element:null;Sp(e,t),Np(t,o,null,n);var l,u,s=t.memoizedState.element;if(s===i)return wv(),rg(e,t,n);if(t.stateNode.hydrate&&(u=(l=t).stateNode.containerInfo,cv=hu(u),sv=l,fv=!0,1)){var c=vm(t,null,s,n);t.child=c;for(var f=c;f;)f.effectTag=f.effectTag&~Ro|Uo,f=f.sibling}else Dv(e,t,s,n),wv();return t.child}function Vv(e,t,n,a,i){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro);var l=t.pendingProps;Hc(t);var u=np(n);t.type=u;var s=t.tag=function(e){if("function"==typeof e)return Xb(e)?N:R;if(null!=e){var t=e.$$typeof;if(t===fe)return B;if(t===me)return Q}return I}(u);Bc(t);var c=tp(u,l);switch(s){case R:return Bv(t,u),t.type=u=$d(u),Lv(null,t,u,c,i);case N:return t.type=u=Qd(u),Fv(null,t,u,c,i);case B:return t.type=u=qd(u),Ov(null,t,u,c,i);case Q:if(t.type!==t.elementType){var f=u.propTypes;f&&r(f,c,"prop",Se(u),De)}return zv(null,t,u,tp(u.type,c),a,i)}var d="";throw null!==u&&"object"===o(u)&&u.$$typeof===he&&(d=" Did you wrap a component in React.lazy() more than once?"),Error("Element type is invalid. Received a promise that resolves to: "+u+". Lazy element type must resolve to a class or function."+d)}function Bv(e,t){if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Ie();r&&(n+="\n\nCheck the render method of `"+r+"`.");var a=r||e._debugID||"",i=e._debugSource;i&&(a=i.fileName+":"+i.lineNumber),Sv[a]||(Sv[a]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var l=Se(t)||"Unknown";Ev[l]||(u("%s: Function components do not support getDerivedStateFromProps.",l),Ev[l]=!0)}if("object"===o(t.contextType)&&null!==t.contextType){var s=Se(t)||"Unknown";Tv[s]||(u("%s: Function components do not support contextType.",s),Tv[s]=!0)}}kv={},xv={},Tv={},Ev={},Sv={},Cv=!1,_v=!1,Pv={},Rv={};var Hv={dehydrated:null,retryTime:hd};function $v(e,t,n){var r=t.mode,o=t.pendingProps;ww(t)&&(t.effectTag|=Mo);var a=Dm.current,i=!1;if((t.effectTag&Mo)!==_o||function(e,t,n){return Om(e,Im)&&(null===t||null!==t.memoizedState)}(a,e)?(i=!0,t.effectTag&=~Mo):null!==e&&null===e.memoizedState||void 0!==o.fallback&&!0!==o.unstable_avoidThisFallback&&(a|=Nm),Am(t,a=zm(a)),"maxDuration"in o&&(_v||(_v=!0,u("maxDuration has been removed from React. Remove the maxDuration prop."))),null===e){if(void 0!==o.fallback&&hv(t),i){var l=o.fallback,s=tw(null,r,hd,null);if(s.return=t,(t.mode&fd)===sd){var c=null!==t.memoizedState?t.child.child:t.child;s.child=c;for(var f=c;null!==f;)f.return=s,f=f.sibling}var d=tw(l,r,n,null);return d.return=t,s.sibling=d,t.memoizedState=Hv,t.child=s,d}var p=o.children;return t.memoizedState=null,t.child=vm(t,null,p,n)}if(null!==e.memoizedState){var m=e.child,h=m.sibling;if(i){var v=o.fallback,g=Gb(m,m.pendingProps);if(g.return=t,(t.mode&fd)===sd){var y=null!==t.memoizedState?t.child.child:t.child;if(y!==m.child){g.child=y;for(var b=y;null!==b;)b.return=g,b=b.sibling}}if(t.mode&pd){for(var w=0,k=g.child;null!==k;)w+=k.treeBaseDuration,k=k.sibling;g.treeBaseDuration=w}var x=Gb(h,v);return x.return=t,g.sibling=x,g.childExpirationTime=hd,t.memoizedState=Hv,t.child=g,x}var T=o.children,E=m.child,S=hm(t,E,T,n);return t.memoizedState=null,t.child=S}var C=e.child;if(i){var _=o.fallback,P=tw(null,r,hd,null);if(P.return=t,P.child=C,null!==C&&(C.return=P),(t.mode&fd)===sd){var R=null!==t.memoizedState?t.child.child:t.child;P.child=R;for(var N=R;null!==N;)N.return=P,N=N.sibling}if(t.mode&pd){for(var I=0,D=P.child;null!==D;)I+=D.treeBaseDuration,D=D.sibling;P.treeBaseDuration=I}var O=tw(_,r,n,null);return O.return=t,P.sibling=O,O.effectTag|=Ro,P.childExpirationTime=hd,t.memoizedState=Hv,t.child=P,O}t.memoizedState=null;var z=o.children;return t.child=hm(t,C,z,n)}function Qv(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),mp(e.return,t)}function qv(e,t){var n=Array.isArray(e),r=!n&&"function"==typeof be(e);if(n||r){var o=n?"array":"iterable";return u("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function Yv(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=o,i.lastEffect=a)}function Kv(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,i=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Pv[e])if(Pv[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||Rv[e]||("collapsed"!==e&&"hidden"!==e?(Rv[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Rv[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(a,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(!qv(e[n],n))return}else{var r=be(e);if("function"==typeof r){var o=r.call(e);if(o)for(var a=o.next(),i=0;!a.done;a=o.next()){if(!qv(a.value,i))return;i++}}else u('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(i,o),Dv(e,t,i,n);var l=Dm.current;if(Om(l,Im)?(l=Mm(l,Im),t.effectTag|=Mo):(null!==e&&(e.effectTag&Mo)!==_o&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===$)null!==r.memoizedState&&Qv(r,n);else if(r.tag===G)Qv(r,n);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),l=zm(l)),Am(t,l),(t.mode&fd)===sd)t.memoizedState=null;else switch(o){case"forwards":var s,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Um(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(s=t.child,t.child=null):(s=c.sibling,c.sibling=null),Yv(t,!1,s,c,a,t.lastEffect);break;case"backwards":var f=null,d=t.child;for(t.child=null;null!==d;){var p=d.alternate;if(null!==p&&null===Um(p)){t.child=d;break}var m=d.sibling;d.sibling=f,f=d,d=m}Yv(t,!0,f,null,a,t.lastEffect);break;case"together":Yv(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xv(e,t,n){var o=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,s=t.type.propTypes;if(s&&r(s,a,"prop","Context.Provider",De),dp(t,l),null!==i){var c=function(e,t,n){if(Ys(n,t))return 0;var r="function"==typeof e._calculateChangedBits?e._calculateChangedBits(n,t):md;return(r&md)!==r&&u("calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",r),0|r}(o,l,i.value);if(0===c){if(i.children===a.children&&!yf())return rg(e,t,n)}else!function(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=void 0,i=o.dependencies;if(null!==i){a=o.child;for(var l=i.firstContext;null!==l;){if(l.context===t&&0!=(l.observedBits&n)){if(o.tag===N){var u=Cp(r,null);u.tag=kp,_p(o,u)}o.expirationTime<r&&(o.expirationTime=r);var s=o.alternate;null!==s&&s.expirationTime<r&&(s.expirationTime=r),mp(o.return,r),i.expirationTime<r&&(i.expirationTime=r);break}l=l.next}}else a=o.tag===V&&o.type===e.type?null:o.child;if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===e){a=null;break}var c=a.sibling;if(null!==c){c.return=a.return,a=c;break}a=a.return}o=a}}(t,o,c,n)}return Dv(e,t,a.children,n),t.child}var Gv,Jv,Zv,eg,tg=!1;function ng(){Iv=!0}function rg(e,t,n){Hc(t),null!==e&&(t.dependencies=e.dependencies),lv();var r=t.expirationTime;return r!==hd&&Jy(r),t.childExpirationTime<n?null:(function(e,t){if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=Gb(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=Gb(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child)}function og(e,t,n){var a=t.expirationTime;if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.lastEffect;return null!==a?(a.nextEffect=e,r.lastEffect=e):r.firstEffect=r.lastEffect=e,e.nextEffect=null,e.effectTag=Do,n.effectTag|=Ro,n}(e,t,Zb(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.expirationTime));if(null!==e){var i=e.memoizedProps,l=t.pendingProps;if(i!==l||yf()||t.type!==e.type)Iv=!0;else{if(a<n){switch(Iv=!1,t.tag){case O:Wv(t),wv();break;case A:if(_m(t),t.mode&dd&&n!==vd&&nu(t.type,l))return Nb(vd),t.expirationTime=t.childExpirationTime=vd,null;break;case N:bf(t.type)&&Ef(t);break;case M:Em(t,t.stateNode.containerInfo);break;case V:dp(t,t.memoizedProps.value);break;case H:t.childExpirationTime>=n&&(t.effectTag|=No);break;case $:if(null!==t.memoizedState){var s=t.child.childExpirationTime;if(s!==hd&&s>=n)return $v(e,t,n);Am(t,zm(Dm.current));var c=rg(e,t,n);return null!==c?c.sibling:null}Am(t,zm(Dm.current));break;case G:var f=(e.effectTag&Mo)!==_o,d=t.childExpirationTime>=n;if(f){if(d)return Kv(e,t,n);t.effectTag|=Mo}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null),Am(t,Dm.current),d)break;return null}return rg(e,t,n)}Iv=!1}}else Iv=!1;switch(t.expirationTime=hd,t.tag){case I:return function(e,t,n,r){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro);var a,i,l=t.pendingProps;if(a=gf(t,hf(0,n,!1)),hp(t,r),n.prototype&&"function"==typeof n.prototype.render){var s=Se(n)||"Unknown";kv[s]||(u("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",s,s),kv[s]=!0)}if(t.mode&cd&&Id.recordLegacyContextWarning(t,null),Nv.current=t,i=uh(null,t,n,l,a,r),t.effectTag|=Po,"object"===o(i)&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var c=Se(n)||"Unknown";xv[c]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),xv[c]=!0),t.tag=N,t.memoizedState=null,t.updateQueue=null;var f=!1;bf(n)?(f=!0,Ef(t)):f=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Ep(t);var d=n.getDerivedStateFromProps;return"function"==typeof d&&Gp(t,n,d,l),im(t,i),sm(t,n,l,r),Uv(null,t,n,!0,f,r)}return t.tag=R,t.mode&cd&&null!==t.memoizedState&&(i=uh(null,t,n,l,a,r)),Dv(null,t,i,r),Bv(t,n),t.child}(e,t,t.type,n);case Y:return Vv(e,t,t.elementType,a,n);case R:var m=t.type,h=t.pendingProps;return Lv(e,t,m,t.elementType===m?h:tp(m,h),n);case N:var v=t.type,g=t.pendingProps;return Fv(e,t,v,t.elementType===v?g:tp(v,g),n);case O:return jv(e,t,n);case A:return function(e,t,n){_m(t),null===e&&hv(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return tu(r,o)?i=null:null!==a&&tu(r,a)&&(t.effectTag|=Oo),Av(e,t),t.mode&dd&&n!==vd&&nu(0,o)?(Nb(vd),t.expirationTime=t.childExpirationTime=vd,null):(Dv(e,t,i,n),t.child)}(e,t,n);case L:return function(e,t){return null===e&&hv(t),null}(e,t);case $:return $v(e,t,n);case M:return function(e,t,n){Em(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=hm(t,null,r,n):Dv(e,t,r,n),t.child}(e,t,n);case B:var y=t.type,b=t.pendingProps;return Ov(e,t,y,t.elementType===y?b:tp(y,b),n);case F:return function(e,t,n){return Dv(e,t,t.pendingProps,n),t.child}(e,t,n);case U:return function(e,t,n){return Dv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case H:return function(e,t,n){return t.effectTag|=No,Dv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case V:return Xv(e,t,n);case W:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(tg||(tg=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps,a=o.children;"function"!=typeof a&&u("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),hp(t,n);var i,l=vp(r,o.unstable_observedBits);return Nv.current=t,Me("render"),i=a(l),Me(null),t.effectTag|=Po,Dv(e,t,i,n),t.child}(e,t,n);case Q:var w=t.type,k=tp(w,t.pendingProps);if(t.type!==t.elementType){var x=w.propTypes;x&&r(x,k,"prop",Se(w),De)}return zv(e,t,w,k=tp(w.type,k),a,n);case q:return Mv(e,t,t.type,t.pendingProps,a,n);case K:var T=t.type,E=t.pendingProps;return function(e,t,n,r,o){var a;return null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro),t.tag=N,bf(n)?(a=!0,Ef(t)):a=!1,hp(t,o),lm(t,n,r),sm(t,n,r,o),Uv(null,t,n,!0,a,o)}(e,t,T,t.elementType===T?E:tp(T,E),n);case G:return Kv(e,t,n)}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ag(e){e.effectTag|=No}function ig(e){e.effectTag|=Ao}function lg(e,t){switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function ug(e,t,n){var r=t.pendingProps;switch(t.tag){case I:case Y:case q:case R:case B:case F:case U:case H:case W:case Q:return null;case N:return bf(t.type)&&wf(t),null;case O:Sm(t),kf(t);var o=t.stateNode;return o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(null===e||null===e.child)&&bv(t)&&ag(t),Jv(t),null;case A:Pm(t);var a=Tm(),i=t.type;if(null!==e&&null!=t.stateNode)Zv(e,t,i,r,a),e.ref!==t.ref&&ig(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return null}var l=Cm();if(bv(t))(function(e,t,n){var r=vu(e.stateNode,e.type,e.memoizedProps,t,n,e);return e.updateQueue=r,null!==r})(t,a,l)&&ag(t);else{var u=eu(i,r,a,l,t);Gv(u,t,!1,!1),t.stateNode=u,function(e,t,n,r,o){return hl(e,t,n,r),Jl(t,n)}(u,i,r,a)&&ag(t)}null!==t.ref&&ig(t)}return null;case L:var s=r;if(e&&null!=t.stateNode){var c=e.memoizedProps;eg(e,t,c,s)}else{if("string"!=typeof s&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var f=Tm(),d=Cm();bv(t)?vv(t)&&ag(t):t.stateNode=ru(s,f,d,t)}return null;case $:Lm(t);var p=t.memoizedState;if((t.effectTag&Mo)!==_o)return t.expirationTime=n,t;var m=null!==p,h=!1;if(null===e)void 0!==t.memoizedProps.fallback&&bv(t);else{var v=e.memoizedState;if(h=null!==v,!m&&null!==v){var g=e.child.sibling;if(null!==g){var y=t.firstEffect;null!==y?(t.firstEffect=g,g.nextEffect=y):(t.firstEffect=t.lastEffect=g,g.nextEffect=null),g.effectTag=Do}}}return m&&!h&&(t.mode&fd)!==sd&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||Om(Dm.current,Nm)?uy===Jg&&(uy=ty):(uy!==Jg&&uy!==ty||(uy=ny),py!==hd&&null!==ay&&(uw(ay,ly),sw(ay,py)))),(m||h)&&(t.effectTag|=No),null;case M:return Sm(t),Jv(t),null;case V:return pp(t),null;case K:return bf(t.type)&&wf(t),null;case G:Lm(t);var b=t.memoizedState;if(null===b)return null;var w=(t.effectTag&Mo)!==_o,k=b.rendering;if(null===k){if(w)lg(b,!1);else if(uy!==Jg||null!==e&&(e.effectTag&Mo)!==_o)for(var x=t.child;null!==x;){var T=Um(x);if(null!==T){w=!0,t.effectTag|=Mo,lg(b,!1);var E=T.updateQueue;return null!==E&&(t.updateQueue=E,t.effectTag|=No),null===b.lastEffect&&(t.firstEffect=null),t.lastEffect=b.lastEffect,gm(t,n),Am(t,Mm(Dm.current,Im)),t.child}x=x.sibling}}else{if(!w){var S=Um(k);if(null!==S){t.effectTag|=Mo,w=!0;var C=S.updateQueue;if(null!==C&&(t.updateQueue=C,t.effectTag|=No),lg(b,!0),null===b.tail&&"hidden"===b.tailMode&&!k.alternate){var _=t.lastEffect=b.lastEffect;return null!==_&&(_.nextEffect=null),null}}else if(2*td()-b.renderingStartTime>b.tailExpiration&&n>vd){t.effectTag|=Mo,w=!0,lg(b,!1);var P=n-1;t.expirationTime=t.childExpirationTime=P,Nb(P)}}if(b.isBackwards)k.sibling=t.child,t.child=k;else{var D=b.last;null!==D?D.sibling=k:t.child=k,b.last=k}}if(null!==b.tail){0===b.tailExpiration&&(b.tailExpiration=td()+500);var z=b.tail;b.rendering=z,b.tail=z.sibling,b.lastEffect=t.lastEffect,b.renderingStartTime=td(),z.sibling=null;var j=Dm.current;return Am(t,j=w?Mm(j,Im):zm(j)),z}return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function sg(e,t){switch(e.tag){case N:bf(e.type)&&wf(e);var n=e.effectTag;return n&Ho?(e.effectTag=n&~Ho|Mo,e):null;case O:Sm(e),kf(e);var r=e.effectTag;if((r&Mo)!==_o)throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue.");return e.effectTag=r&~Ho|Mo,e;case A:return Pm(e),null;case $:Lm(e);var o=e.effectTag;return o&Ho?(e.effectTag=o&~Ho|Mo,e):null;case G:return Lm(e),null;case M:return Sm(e),null;case V:return pp(e),null;default:return null}}function cg(e){switch(e.tag){case N:null!=e.type.childContextTypes&&wf(e);break;case O:Sm(e),kf(e);break;case A:Pm(e);break;case M:Sm(e);break;case $:case G:Lm(e);break;case V:pp(e)}}function fg(e,t){return{value:e,source:t,stack:Pe(t)}}Gv=function(e,t,n,r){for(var o,a,i=t.child;null!==i;){if(i.tag===A||i.tag===L)o=e,a=i.stateNode,o.appendChild(a);else if(i.tag===M);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Jv=function(e){},Zv=function(e,t,n,r,a){var i=e.memoizedProps;if(i!==r){var l=function(e,t,n,r,a,i){var l=i;if(o(r.children)!==o(n.children)&&("string"==typeof r.children||"number"==typeof r.children)){var u=""+r.children,s=Ll(l.ancestorInfo,t);Al(null,u,s)}return vl(e,t,n,r,a)}(t.stateNode,n,i,r,a,Cm());t.updateQueue=l,l&&ag(t)}},eg=function(e,t,n,r){n!==r&&ag(t)};var dg=null;dg=new Set;var pg="function"==typeof WeakSet?WeakSet:Set;function mg(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=Pe(n));var o={componentName:null!==n?Se(n.type):null,componentStack:null!==r?r:"",error:t.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};null!==e&&e.tag===N&&(o.errorBoundary=e.stateNode,o.errorBoundaryName=Se(e.type),o.errorBoundaryFound=!0,o.willRetry=!0);try{!function(e){var t=e.error,n=e.componentName,r=e.componentStack,o=e.errorBoundaryName,a=e.errorBoundaryFound,i=e.willRetry;if(null!=t&&t._suppressLogging){if(a&&i)return;console.error(t)}var l=(n?"The above error occurred in the <"+n+"> component:":"The above error occurred in one of your React components:")+r+"\n\n"+(a&&o?i?"React will try to recreate this component tree from scratch using the error boundary you provided, "+o+".":"This error was initially handled by the error boundary "+o+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.");console.error(l)}(o)}catch(e){setTimeout((function(){throw e}))}}var hg=function(e,t){qc(e,"componentWillUnmount"),t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount(),Yc()};function vg(e){var t=e.ref;null!==t&&("function"==typeof t?(w(null,t,null,null),x()&&hb(e,T())):t.current=null)}function gg(e,t){w(null,t,null),x()&&hb(e,T())}function yg(e,t){switch(t.tag){case R:case B:case q:case ee:return;case N:if(t.effectTag&Lo&&null!==e){var n=e.memoizedProps,r=e.memoizedState;qc(t,"getSnapshotBeforeUpdate");var o=t.stateNode;t.type!==t.elementType||Cv||(o.props!==t.memoizedProps&&u("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(t.type)||"instance"),o.state!==t.memoizedState&&u("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(t.type)||"instance"));var a=o.getSnapshotBeforeUpdate(t.elementType===t.type?n:tp(t.type,n),r),i=dg;void 0!==a||i.has(t.type)||(i.add(t.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Se(t.type))),o.__reactInternalSnapshotBeforeUpdate=a,Yc()}return;case O:case A:case L:case M:case K:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function bg(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&i()}a=a.next}while(a!==o)}}function wg(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){var i=a.create;a.destroy=i();var l=a.destroy;void 0!==l&&"function"!=typeof l&&u("An effect function must not return anything besides a function, which is used for clean-up.%s%s",null===l?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof l.then?"\n\nIt looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\nuseEffect(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://fb.me/react-hooks-data-fetching":" You returned: "+l,Pe(t))}a=a.next}while(a!==o)}}function kg(e){if((e.effectTag&Fo)!==_o)switch(e.tag){case R:case B:case q:case ee:bg(Hm|Vm,e),wg(Hm|Vm,e)}}function xg(e,t,n,r){switch(n.tag){case R:case B:case q:case ee:return void wg(Bm|Vm,n);case N:var o=n.stateNode;if(n.effectTag&No)if(null===t)qc(n,"componentDidMount"),n.type!==n.elementType||Cv||(o.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance"),o.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance")),o.componentDidMount(),Yc();else{var a=n.elementType===n.type?t.memoizedProps:tp(n.type,t.memoizedProps),i=t.memoizedState;qc(n,"componentDidUpdate"),n.type!==n.elementType||Cv||(o.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance"),o.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance")),o.componentDidUpdate(a,i,o.__reactInternalSnapshotBeforeUpdate),Yc()}var l=n.updateQueue;return void(null!==l&&(n.type!==n.elementType||Cv||(o.props!==n.memoizedProps&&u("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance"),o.state!==n.memoizedState&&u("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance")),zp(0,l,o)));case O:var s=n.updateQueue;if(null!==s){var c=null;if(null!==n.child)switch(n.child.tag){case A:case N:c=n.child.stateNode}zp(0,s,c)}return;case A:var f=n.stateNode;return void(null===t&&n.effectTag&No&&(p=f,m=n.type,h=n.memoizedProps,Jl(m,h)&&p.focus()));case L:case M:return;case H:var d=n.memoizedProps.onRender;return void("function"==typeof d&&d(n.memoizedProps.id,null===t?"mount":"update",n.actualDuration,n.treeBaseDuration,n.actualStartTime,rv,e.memoizedInteractions));case $:return void function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){La(e)}(o)}}}}(0,n);case G:case K:case J:case Z:return}var p,m,h;throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function Tg(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;e.tag,n=r,"function"==typeof t?t(n):(t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",Se(e.type),Pe(e)),t.current=n)}}function Eg(e){var t=e.ref;null!==t&&("function"==typeof t?t(null):t.current=null)}function Sg(e,t,n){switch("function"==typeof Fb&&Fb(t),t.tag){case R:case B:case Q:case q:case ee:var r=t.updateQueue;if(null!==r){var o=r.lastEffect;if(null!==o){var a=o.next;od(n>$f?$f:n,(function(){var e=a;do{var n=e.destroy;void 0!==n&&gg(t,n),e=e.next}while(e!==a)}))}}return;case N:vg(t);var i=t.stateNode;return void("function"==typeof i.componentWillUnmount&&function(e,t){w(null,hg,null,e,t),x()&&hb(e,T())}(t,i));case A:return void vg(t);case M:return void Dg(e,t,n);case J:case X:case Z:return}}function Cg(e,t,n){for(var r=t;;)if(Sg(e,r,n),null===r.child||r.tag===M){if(r===t)return;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function _g(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&_g(t)}function Pg(e){return e.tag===A||e.tag===O||e.tag===M}function Rg(e){var t,n,r=function(e){for(var t=e.return;null!==t;){if(Pg(t))return t;t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e),o=r.stateNode;switch(r.tag){case A:t=o,n=!1;break;case O:case M:t=o.containerInfo,n=!0;break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}r.effectTag&Oo&&(lu(t),r.effectTag&=~Oo);var a=function(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Pg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==L&&t.tag!==X;){if(t.effectTag&Ro)continue e;if(null===t.child||t.tag===M)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&Ro))return t.stateNode}}(e);n?Ng(e,a,t):Ig(e,a,t)}function Ng(e,t,n){var r=e.tag,o=r===A||r===L;if(o||at){var a=o?e.stateNode:e.stateNode.instance;t?function(e,t,n){e.nodeType===jn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,a,t):function(e,t){var n;e.nodeType===jn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&ml(n)}(n,a)}else if(r===M);else{var i=e.child;if(null!==i){Ng(i,t,n);for(var l=i.sibling;null!==l;)Ng(l,t,n),l=l.sibling}}}function Ig(e,t,n){var r=e.tag,o=r===A||r===L;if(o||at){var a=o?e.stateNode:e.stateNode.instance;t?function(e,t,n){e.insertBefore(t,n)}(n,a,t):function(e,t){e.appendChild(t)}(n,a)}else if(r===M);else{var i=e.child;if(null!==i){Ig(i,t,n);for(var l=i.sibling;null!==l;)Ig(l,t,n),l=l.sibling}}}function Dg(e,t,n){for(var r,o,a,i,l=t,u=!1;;){if(!u){var s=l.return;e:for(;;){if(null===s)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");var c=s.stateNode;switch(s.tag){case A:r=c,o=!1;break e;case O:case M:r=c.containerInfo,o=!0;break e}s=s.return}u=!0}if(l.tag===A||l.tag===L)Cg(e,l,n),o?(a=r,i=l.stateNode,a.nodeType===jn?a.parentNode.removeChild(i):a.removeChild(i)):uu(r,l.stateNode);else if(l.tag===M){if(null!==l.child){r=l.stateNode.containerInfo,o=!0,l.child.return=l,l=l.child;continue}}else if(Sg(e,l,n),null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)return;for(;null===l.sibling;){if(null===l.return||l.return===t)return;(l=l.return).tag===M&&(u=!1)}l.sibling.return=l.return,l=l.sibling}}function Og(e,t,n){Dg(e,t,n),_g(t)}function zg(e,t){switch(t.tag){case R:case B:case Q:case q:case ee:return void bg(Bm|Vm,t);case N:return;case A:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r,a=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,r,o,a){Ru(e,o),gl(e,t,n,r,o)}(n,i,a,o,r)}return;case L:if(null===t.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var l=t.stateNode,u=t.memoizedProps;return null!==e&&e.memoizedProps,void function(e,t,n){e.nodeValue=n}(l,0,u);case O:var s=t.stateNode;return void(s.hydrate&&(s.hydrate=!1,La(s.containerInfo)));case H:return;case $:return function(e){var t,n=e;null===e.memoizedState?t=!1:(t=!0,n=e.child,hy=td()),null!==n&&function(e,t){for(var n=e;;){if(n.tag===A){var r=n.stateNode;t?su(r):cu(n.stateNode,n.memoizedProps)}else if(n.tag===L){var o=n.stateNode;t?o.nodeValue="":fu(o,n.memoizedProps)}else{if(n.tag===$&&null!==n.memoizedState&&null===n.memoizedState.dehydrated){var a=n.child.sibling;a.return=n,n=a;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)return;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(n,t)}(t),void Mg(t);case G:return void Mg(t);case K:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function Mg(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pg),t.forEach((function(t){var r=gb.bind(null,e,t);n.has(t)||(!0!==t.__reactDoNotTraceInteractions&&(r=a.unstable_wrap(r)),n.add(t),t.then(r,r))}))}}function Ag(e){lu(e.stateNode)}var Lg="function"==typeof WeakMap?WeakMap:Map;function Fg(e,t,n){var r=Cp(n,null);r.tag=xp,r.payload={element:null};var o=t.value;return r.callback=function(){pb(o),mg(e,t)},r}function Ug(e,t,n){var r=Cp(n,null);r.tag=xp;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var a=t.value;r.payload=function(){return mg(e,t),o(a)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch?r.callback=function(){var n;Kd(e),"function"!=typeof o&&(n=this,null===wy?wy=new Set([n]):wy.add(n),mg(e,t));var r=t.value,a=t.stack;this.componentDidCatch(r,{componentStack:null!==a?a:""}),"function"!=typeof o&&e.expirationTime!==yd&&u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Se(e.type)||"Unknown")}:r.callback=function(){Kd(e)},r}function Wg(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new Lg,r=new Set,o.set(n,r)):void 0===(r=o.get(n))&&(r=new Set,o.set(n,r)),!r.has(t)){r.add(t);var a=vb.bind(null,e,n,t);n.then(a,a)}}function jg(e,t,n,r,a){if(n.effectTag|=Bo,n.firstEffect=n.lastEffect=null,null!==r&&"object"===o(r)&&"function"==typeof r.then){var i=r;if((n.mode&fd)===sd){var l=n.alternate;l?(n.memoizedState=l.memoizedState,n.expirationTime=l.expirationTime):n.memoizedState=null}var u=Om(Dm.current,Nm),s=t;do{if(s.tag===$&&Fm(s,u)){var c=s.updateQueue;if(null===c){var f=new Set;f.add(i),s.updateQueue=f}else c.add(i);if((s.mode&fd)===sd){if(s.effectTag|=Mo,n.effectTag&=~(jo|Bo),n.tag===N)if(null===n.alternate)n.tag=K;else{var d=Cp(yd,null);d.tag=kp,_p(n,d)}return void(n.expirationTime=yd)}return Wg(e,a,i),s.effectTag|=Ho,void(s.expirationTime=a)}s=s.return}while(null!==s);r=new Error((Se(n.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."+Pe(n))}uy!==ry&&(uy=ey),r=fg(r,n);var p=t;do{switch(p.tag){case O:var m=r;return p.effectTag|=Ho,p.expirationTime=a,void Pp(p,Fg(p,m,a));case N:var h=r,v=p.type,g=p.stateNode;if((p.effectTag&Mo)===_o&&("function"==typeof v.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&!db(g)))return p.effectTag|=Ho,p.expirationTime=a,void Pp(p,Ug(p,h,a))}p=p.return}while(null!==p)}var Vg=Math.ceil,Bg=i.ReactCurrentDispatcher,Hg=i.ReactCurrentOwner,$g=i.IsSomeRendererActing,Qg=0,qg=1,Yg=4,Kg=8,Xg=16,Gg=32,Jg=0,Zg=1,ey=2,ty=3,ny=4,ry=5,oy=Qg,ay=null,iy=null,ly=hd,uy=Jg,sy=null,cy=yd,fy=yd,dy=null,py=hd,my=!1,hy=0,vy=500,gy=null,yy=!1,by=null,wy=null,ky=!1,xy=null,Ty=Yf,Ey=hd,Sy=null,Cy=50,_y=0,Py=null,Ry=50,Ny=0,Iy=null,Dy=null,Oy=hd;function zy(){return(oy&(Xg|Gg))!==Qg?xd(td()):Oy!==hd?Oy:Oy=xd(td())}function My(e,t,n){var r=t.mode;if((r&fd)===sd)return yd;var o,a=nd();if((r&dd)===sd)return a===Bf?yd:bd;if((oy&Xg)!==Qg)return ly;if(null!==n)o=function(e,t){return Ed(e,t,Cd)}(e,0|n.timeoutMs||Sd);else switch(a){case Bf:o=yd;break;case Hf:o=Rd(e);break;case $f:case Qf:o=function(e){return Ed(e,Sd,Cd)}(e);break;case qf:o=gd;break;default:throw Error("Expected a valid priority level")}return null!==ay&&o===ly&&(o-=1),o}var Ay=function(e,t){!function(){if(_y>Cy)throw _y=0,Py=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Ny>Ry&&(Ny=0,u("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),function(e){if((oy&Xg)!==Qg)switch(e.tag){case R:case B:case q:u("Cannot update a component from inside the function body of a different component.");break;case N:switch(Ne){case"getChildContext":if(Tb)return;u("setState(...): Cannot call setState() inside getChildContext()"),Tb=!0;break;case"render":if(xb)return;u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),xb=!0}}}(e);var n=Ly(e,t);if(null!==n){null!==ay&&t>ly&&(Iy=e),Tc&&(Ec=!0),null!==kc&&"componentWillMount"!==kc&&"componentWillReceiveProps"!==kc&&(Sc=!0);var r=nd();if(t===yd?(oy&Kg)!==Qg&&(oy&(Xg|Gg))===Qg?(Db(n,t),jy(n)):(Uy(n),Db(n,t),oy===Qg&&ld()):(Uy(n),Db(n,t)),(oy&Yg)!==Qg&&(r===Hf||r===Bf))if(null===Sy)Sy=new Map([[n,t]]);else{var o=Sy.get(n);(void 0===o||o>t)&&Sy.set(n,t)}}else!function(e){var t=e.tag;if(t===O||t===N||t===R||t===B||t===Q||t===q||t===ee){var n=Se(e.type)||"ReactComponent";if(null!==kb){if(kb.has(n))return;kb.add(n)}else kb=new Set([n]);u("Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s",t===N?"the componentWillUnmount method":"a useEffect cleanup function",Pe(e))}}(e)};function Ly(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&e.tag===O)o=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!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&r.tag===O){o=r.stateNode;break}r=r.return}return null!==o&&(ay===o&&(Jy(t),uy===ny&&uw(o,ly)),sw(o,t)),o}function Fy(e){var t=e.lastExpiredTime;if(t!==hd)return t;var n=e.firstPendingTime;if(!lw(e,n))return n;var r=e.lastPingedTime,o=e.nextKnownPendingLevel,a=r>o?r:o;return a<=gd&&n!==a?hd:a}function Uy(e){if(e.lastExpiredTime!==hd)return e.callbackExpirationTime=yd,e.callbackPriority=Bf,void(e.callbackNode=id(jy.bind(null,e)));var t=Fy(e),n=e.callbackNode;if(t!==hd){var r,o=Nd(zy(),t);if(null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=o)return;!function(e){e!==Vf&&Df(e)}(n)}e.callbackExpirationTime=t,e.callbackPriority=o,r=t===yd?id(jy.bind(null,e)):ad(o,Wy.bind(null,e),{timeout:Td(t)-td()}),e.callbackNode=r}else null!==n&&(e.callbackNode=null,e.callbackExpirationTime=hd,e.callbackPriority=Yf)}function Wy(e,t){if(Oy=hd,t)return cw(e,zy()),Uy(e),null;var n=Fy(e);if(n!==hd){var r=e.callbackNode;if((oy&(Xg|Gg))!==Qg)throw Error("Should not already be working.");if(cb(),e===ay&&n===ly||($y(e,n),Ob(e,n)),null!==iy){var o=oy;oy|=Xg;var a=qy(),i=Ky(e);for(Kc(iy);;)try{eb();break}catch(t){Qy(e,t)}if(sp(),oy=o,Yy(a),Xy(i),uy===Zg){var l=sy;throw bb(),$y(e,n),uw(e,n),Uy(e),l}if(null!==iy)bb();else{yb();var u=e.finishedWork=e.current.alternate;e.finishedExpirationTime=n,function(e,t,n,r){switch(ay=null,n){case Jg:case Zg:throw Error("Root did not complete. This is a bug in React.");case ey:cw(e,r>gd?gd:r);break;case ty:uw(e,r);var o=e.lastSuspendedTime;if(r===o&&(e.nextKnownPendingLevel=rb(t)),cy===yd&&!Eb.current){var a=hy+vy-td();if(a>10){if(my){var i=e.lastPingedTime;if(i===hd||i>=r){e.lastPingedTime=r,$y(e,r);break}}var l=Fy(e);if(l!==hd&&l!==r)break;if(o!==hd&&o!==r){e.lastPingedTime=o;break}e.timeoutHandle=ou(ab.bind(null,e),a);break}}ab(e);break;case ny:uw(e,r);var u=e.lastSuspendedTime;if(r===u&&(e.nextKnownPendingLevel=rb(t)),!Eb.current){if(my){var s=e.lastPingedTime;if(s===hd||s>=r){e.lastPingedTime=r,$y(e,r);break}}var c,f=Fy(e);if(f!==hd&&f!==r)break;if(u!==hd&&u!==r){e.lastPingedTime=u;break}if(fy!==yd)c=Td(fy)-td();else if(cy===yd)c=0;else{var d=function(e){return Td(e)-Sd}(cy),p=td(),m=Td(r)-p,h=p-d;h<0&&(h=0),m<(c=function(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:1960*Vg(e/1960)}(h)-h)&&(c=m)}if(c>10){e.timeoutHandle=ou(ab.bind(null,e),c);break}}ab(e);break;case ry:if(!Eb.current&&cy!==yd&&null!==dy){var v=function(e,t,n){var r=0|n.busyMinDurationMs;if(r<=0)return 0;var o=0|n.busyDelayMs,a=td(),i=function(e,t){return Td(e)-(0|t.timeoutMs||Sd)}(e,n),l=a-i;return l<=o?0:o+r-l}(cy,0,dy);if(v>10){uw(e,r),e.timeoutHandle=ou(ab.bind(null,e),v);break}}ab(e);break;default:throw Error("Unknown root exit status.")}}(e,u,uy,n)}if(Uy(e),e.callbackNode===r)return Wy.bind(null,e)}}return null}function jy(e){var t=e.lastExpiredTime,n=t!==hd?t:yd;if((oy&(Xg|Gg))!==Qg)throw Error("Should not already be working.");if(cb(),e===ay&&n===ly||($y(e,n),Ob(e,n)),null!==iy){var r=oy;oy|=Xg;var o=qy(),a=Ky(e);for(Kc(iy);;)try{Zy();break}catch(t){Qy(e,t)}if(sp(),oy=r,Yy(o),Xy(a),uy===Zg){var i=sy;throw bb(),$y(e,n),uw(e,n),Uy(e),i}if(null!==iy)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");yb(),e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,function(e){ay=null,ab(e)}(e),Uy(e)}return null}function Vy(e,t){var n=oy;oy|=qg;try{return e(t)}finally{(oy=n)===Qg&&ld()}}function By(e,t){var n=oy;oy&=~qg,oy|=Kg;try{return e(t)}finally{(oy=n)===Qg&&ld()}}function Hy(e,t){if((oy&(Xg|Gg))!==Qg)throw Error("flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var n=oy;oy|=qg;try{return od(Bf,e.bind(null,t))}finally{oy=n,ld()}}function $y(e,t){e.finishedWork=null,e.finishedExpirationTime=hd;var n=e.timeoutHandle;if(n!==iu&&(e.timeoutHandle=iu,au(n)),null!==iy)for(var r=iy.return;null!==r;)cg(r),r=r.return;ay=e,iy=Gb(e.current,null),ly=t,uy=Jg,sy=null,cy=yd,fy=yd,dy=null,py=hd,my=!1,Dy=null,Id.discardPendingWarnings()}function Qy(e,t){for(;;){try{if(sp(),ch(),Oe(),null===iy||null===iy.return)return uy=Zg,sy=t,iy=null,null;rt&&iy.mode&pd&&uv(iy,!0),jg(e,iy.return,iy,t,ly),iy=nb(iy)}catch(e){t=e;continue}return}}function qy(e){var t=Bg.current;return Bg.current=Qh,null===t?Qh:t}function Yy(e){Bg.current=e}function Ky(e){var t=a.__interactionsRef.current;return a.__interactionsRef.current=e.memoizedInteractions,t}function Xy(e){a.__interactionsRef.current=e}function Gy(e,t){e<cy&&e>gd&&(cy=e),null!==t&&e<fy&&e>gd&&(fy=e,dy=t)}function Jy(e){e>py&&(py=e)}function Zy(){for(;null!==iy;)iy=tb(iy)}function eb(){for(;null!==iy&&!Kf();)iy=tb(iy)}function tb(e){var t,n=e.alternate;return Bc(e),ze(e),(e.mode&pd)!==sd?(iv(e),t=wb(n,e,ly),uv(e,!0)):t=wb(n,e,ly),Oe(),e.memoizedProps=e.pendingProps,null===t&&(t=nb(e)),Hg.current=null,t}function nb(e){iy=e;do{var t=iy.alternate,n=iy.return;if((iy.effectTag&Bo)===_o){ze(iy);var r=void 0;if((iy.mode&pd)===sd?r=ug(t,iy,ly):(iv(iy),r=ug(t,iy,ly),uv(iy,!1)),$c(iy),Oe(),ob(iy),null!==r)return r;null!==n&&(n.effectTag&Bo)===_o&&(null===n.firstEffect&&(n.firstEffect=iy.firstEffect),null!==iy.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=iy.firstEffect),n.lastEffect=iy.lastEffect),iy.effectTag>Po&&(null!==n.lastEffect?n.lastEffect.nextEffect=iy:n.firstEffect=iy,n.lastEffect=iy))}else{var o=sg(iy);if((iy.mode&pd)!==sd){uv(iy,!1);for(var a=iy.actualDuration,i=iy.child;null!==i;)a+=i.actualDuration,i=i.sibling;iy.actualDuration=a}if(null!==o)return Qc(iy),o.effectTag&=Vo,o;$c(iy),null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=Bo)}var l=iy.sibling;if(null!==l)return l;iy=n}while(null!==iy);return uy===Jg&&(uy=ry),null}function rb(e){var t=e.expirationTime,n=e.childExpirationTime;return t>n?t:n}function ob(e){if(ly===vd||e.childExpirationTime!==vd){var t=hd;if((e.mode&pd)!==sd){for(var n=e.actualDuration,r=e.selfBaseDuration,o=null===e.alternate||e.child!==e.alternate.child,a=e.child;null!==a;){var i=a.expirationTime,l=a.childExpirationTime;i>t&&(t=i),l>t&&(t=l),o&&(n+=a.actualDuration),r+=a.treeBaseDuration,a=a.sibling}e.actualDuration=n,e.treeBaseDuration=r}else for(var u=e.child;null!==u;){var s=u.expirationTime,c=u.childExpirationTime;s>t&&(t=s),c>t&&(t=c),u=u.sibling}e.childExpirationTime=t}}function ab(e){var t=nd();return od(Bf,ib.bind(null,e,t)),null}function ib(e,t){do{cb()}while(null!==xy);if(Id.flushLegacyContextWarning(),Id.flushPendingUnsafeLifecycleWarnings(),(oy&(Xg|Gg))!==Qg)throw Error("Should not already be working.");var n,r=e.finishedWork,o=e.finishedExpirationTime;if(null===r)return null;if(e.finishedWork=null,e.finishedExpirationTime=hd,r===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(e.callbackNode=null,e.callbackExpirationTime=hd,e.callbackPriority=Yf,e.nextKnownPendingLevel=hd,bc&&(Tc=!0,Ec=!1,Pc.clear(),Nc("(Committing Changes)")),function(e,t,n){e.firstPendingTime=n,t<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=hd:t<=e.firstSuspendedTime&&(e.firstSuspendedTime=t-1),t<=e.lastPingedTime&&(e.lastPingedTime=hd),t<=e.lastExpiredTime&&(e.lastExpiredTime=hd)}(e,o,rb(r)),e===ay&&(ay=null,iy=null,ly=hd),r.effectTag>Po?null!==r.lastEffect?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,null!==n){var a=oy;oy|=Gg;var i=Ky(e);Hg.current=null,Gc(),Zl(e.containerInfo),gy=n;do{if(w(null,lb,null),x()){if(null===gy)throw Error("Should be working on an effect.");var l=T();hb(gy,l),gy=gy.nextEffect}}while(null!==gy);Jc(),av(),Zc(),gy=n;do{if(w(null,ub,null,e,t),x()){if(null===gy)throw Error("Should be working on an effect.");var u=T();hb(gy,u),gy=gy.nextEffect}}while(null!==gy);ef(),e.containerInfo,zl(Gl),Ya(Xl),Xl=null,Gl=null,e.current=r,tf(),gy=n;do{if(w(null,sb,null,e,o),x()){if(null===gy)throw Error("Should be working on an effect.");var s=T();hb(gy,s),gy=gy.nextEffect}}while(null!==gy);nf(),gy=null,Xf(),Xy(i),oy=a}else e.current=r,Gc(),Jc(),av(),Zc(),ef(),tf(),nf();!function(){if(bc){var e=null;Ec?e="Lifecycle hook scheduled a cascading update":Cc>0&&(e="Caused by a cascading update in earlier commit"),Ec=!1,Cc++,Tc=!1,Pc.clear(),Ic("(Committing Changes)","(Committing Changes)",e)}}();var c=ky;if(ky)ky=!1,xy=e,Ey=o,Ty=t;else for(gy=n;null!==gy;){var f=gy.nextEffect;gy.nextEffect=null,gy=f}var d=e.firstPendingTime;if(d!==hd){if(null!==Dy){var p=Dy;Dy=null;for(var m=0;m<p.length;m++)Ib(e,p[m],e.memoizedInteractions)}Db(e,d)}else wy=null;if(c||zb(e,o),d===yd?e===Py?_y++:(_y=0,Py=e):_y=0,function(e,t){"function"==typeof Lb&&Lb(e,t)}(r.stateNode,o),Uy(e),yy){yy=!1;var h=by;throw by=null,h}return(oy&Kg)!==Qg||ld(),null}function lb(){for(;null!==gy;){var e=gy.effectTag;(e&Lo)!==_o&&(ze(gy),Vc(),yg(gy.alternate,gy),Oe()),(e&Fo)!==_o&&(ky||(ky=!0,ad($f,(function(){return cb(),null})))),gy=gy.nextEffect}}function ub(e,t){for(;null!==gy;){ze(gy);var n=gy.effectTag;if(n&Oo&&Ag(gy),n&Ao){var r=gy.alternate;null!==r&&Eg(r)}switch(n&(Ro|No|Do|Uo)){case Ro:Rg(gy),gy.effectTag&=~Ro;break;case Io:Rg(gy),gy.effectTag&=~Ro,zg(gy.alternate,gy);break;case Uo:gy.effectTag&=~Uo;break;case Wo:gy.effectTag&=~Uo,zg(gy.alternate,gy);break;case No:zg(gy.alternate,gy);break;case Do:Og(e,gy,t)}Vc(),Oe(),gy=gy.nextEffect}}function sb(e,t){for(;null!==gy;){ze(gy);var n=gy.effectTag;n&(No|zo)&&(Vc(),xg(e,gy.alternate,gy)),n&Ao&&(Vc(),Tg(gy)),Oe(),gy=gy.nextEffect}}function cb(){if(Ty!==Yf){var e=Ty>$f?$f:Ty;return Ty=Yf,od(e,fb)}}function fb(){if(null===xy)return!1;var e=xy,t=Ey;if(xy=null,Ey=hd,(oy&(Xg|Gg))!==Qg)throw Error("Cannot flush passive effects while already rendering.");var n=oy;oy|=Gg;for(var r=Ky(e),o=e.current.firstEffect;null!==o;){if(ze(o),w(null,kg,null,o),x()){if(null===o)throw Error("Should be working on an effect.");hb(o,T())}Oe();var a=o.nextEffect;o.nextEffect=null,o=a}return Xy(r),zb(e,t),oy=n,ld(),Ny=null===xy?0:Ny+1,!0}function db(e){return null!==wy&&wy.has(e)}var pb=function(e){yy||(yy=!0,by=e)};function mb(e,t,n){_p(e,Fg(e,fg(n,t),yd));var r=Ly(e,yd);null!==r&&(Uy(r),Db(r,yd))}function hb(e,t){if(e.tag!==O)for(var n=e.return;null!==n;){if(n.tag===O)return void mb(n,e,t);if(n.tag===N){var r=n.type,o=n.stateNode;if("function"==typeof r.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&!db(o)){_p(n,Ug(n,fg(t,e),yd));var a=Ly(n,yd);return void(null!==a&&(Uy(a),Db(a,yd)))}}n=n.return}else mb(e,e,t)}function vb(e,t,n){var r=e.pingCache;if(null!==r&&r.delete(t),ay!==e||ly!==n){if(lw(e,n)){var o=e.lastPingedTime;o!==hd&&o<n||(e.lastPingedTime=n,Uy(e),Db(e,n))}}else uy===ny||uy===ty&&cy===yd&&td()-hy<vy?$y(e,ly):my=!0}function gb(e,t){var n,r=hd;null!==(n=e.stateNode)&&n.delete(t),function(e,t){t===hd&&(t=My(zy(),e,null));var n=Ly(e,t);null!==n&&(Uy(n),Db(n,t))}(e,r)}function yb(){Xc(Iy,!0),Iy=null}function bb(){Xc(Iy,!1),Iy=null}var wb,kb=null;wb=function(e,t,n){var r=ow(null,t);try{return og(e,t,n)}catch(a){if(null!==a&&"object"===o(a)&&"function"==typeof a.then)throw a;if(sp(),ch(),cg(t),ow(t,r),t.mode&pd&&iv(t),w(null,og,null,e,t,n),x())throw T();throw a}};var xb=!1,Tb=!1,Eb={current:!1};function Sb(e){!0===$g.current&&!0!==Eb.current&&u("It looks like you're using the wrong act() around your test interactions.\nBe sure to use the matching version of act() corresponding to your renderer:\n\n// for react-dom:\nimport {act} from 'react-dom/test-utils';\n// ...\nact(() => ...);\n\n// for react-test-renderer:\nimport TestRenderer from 'react-test-renderer';\nconst {act} = TestRenderer;\n// ...\nact(() => ...);%s",Pe(e))}function Cb(e){(e.mode&cd)!==sd&&!1===$g.current&&!1===Eb.current&&u("An update to %s ran an effect, but was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Se(e.type),Pe(e))}var _b=function(e){oy===Qg&&!1===$g.current&&!1===Eb.current&&u("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Se(e.type),Pe(e))},Pb=!1;function Rb(e,t){return 1e3*t+e.interactionThreadID}function Nb(e){null===Dy?Dy=[e]:Dy.push(e)}function Ib(e,t,n){if(n.size>0){var r=e.pendingInteractionMap,o=r.get(t);null!=o?n.forEach((function(e){o.has(e)||e.__count++,o.add(e)})):(r.set(t,new Set(n)),n.forEach((function(e){e.__count++})));var i=a.__subscriberRef.current;if(null!==i){var l=Rb(e,t);i.onWorkScheduled(n,l)}}}function Db(e,t){Ib(e,t,a.__interactionsRef.current)}function Ob(e,t){var n=new Set;if(e.pendingInteractionMap.forEach((function(e,r){r>=t&&e.forEach((function(e){return n.add(e)}))})),e.memoizedInteractions=n,n.size>0){var r=a.__subscriberRef.current;if(null!==r){var o=Rb(e,t);try{r.onWorkStarted(n,o)}catch(e){ad(Bf,(function(){throw e}))}}}}function zb(e,t){var n,r=e.firstPendingTime;try{if(null!==(n=a.__subscriberRef.current)&&e.memoizedInteractions.size>0){var o=Rb(e,t);n.onWorkStopped(e.memoizedInteractions,o)}}catch(e){ad(Bf,(function(){throw e}))}finally{var i=e.pendingInteractionMap;i.forEach((function(e,t){t>r&&(i.delete(t),e.forEach((function(e){if(e.__count--,null!==n&&0===e.__count)try{n.onInteractionScheduledWorkCompleted(e)}catch(e){ad(Bf,(function(){throw e}))}})))}))}}var Mb,Ab=null,Lb=null,Fb=null,Ub=!1,Wb="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function jb(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return u("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var n=t.inject(e);"function"==typeof t.onScheduleFiberRoot&&(Ab=function(e,r){try{t.onScheduleFiberRoot(n,e,r)}catch(e){Ub||(Ub=!0,u("React instrumentation encountered an error: %s",e))}}),Lb=function(e,r){try{var o=(e.current.effectTag&Mo)===Mo;if(rt){var a=Nd(xd(td()),r);t.onCommitFiberRoot(n,e,a,o)}}catch(e){Ub||(Ub=!0,u("React instrumentation encountered an error: %s",e))}},Fb=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){Ub||(Ub=!0,u("React instrumentation encountered an error: %s",e))}}}catch(e){u("React instrumentation encountered an error: %s.",e)}return!0}Mb=!1;try{var Vb=Object.preventExtensions({}),Bb=new Map([[Vb,null]]),Hb=new Set([Vb]);Bb.set(0,0),Hb.add(0)}catch(e){Mb=!0}var $b=1;function Qb(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.effectTag=_o,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=hd,this.childExpirationTime=hd,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugID=$b++,this._debugIsCurrentlyTiming=!1,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Mb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var qb,Yb,Kb=function(e,t,n,r){return new Qb(e,t,n,r)};function Xb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function Gb(e,t){var n=e.alternate;null===n?((n=Kb(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugID=e._debugID,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=_o,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null,n.actualDuration=0,n.actualStartTime=-1),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case I:case R:case q:n.type=$d(e.type);break;case N:n.type=Qd(e.type);break;case B:n.type=qd(e.type)}return n}function Jb(e,t){e.effectTag&=Ro,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null;var n=e.alternate;if(null===n)e.childExpirationTime=hd,e.expirationTime=t,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childExpirationTime=n.childExpirationTime,e.expirationTime=n.expirationTime,e.child=n.child,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue;var r=n.dependencies;e.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function Zb(e,t,n,r,a,i){var l,s=I,c=e;if("function"==typeof e)Xb(e)?(s=N,c=Qd(c)):c=$d(c);else if("string"==typeof e)s=A;else e:switch(e){case ae:return tw(n.children,a,i,t);case ce:s=U,a|=dd|fd|cd;break;case ie:s=U,a|=cd;break;case le:return function(e,t,n,r){"string"==typeof e.id&&"function"==typeof e.onRender||u('Profiler must specify an "id" string and "onRender" function as props');var o=Kb(H,e,r,t|pd);return o.elementType=le,o.type=le,o.expirationTime=n,o}(n,a,i,t);case de:return function(e,t,n,r){var o=Kb($,e,r,t);return o.type=de,o.elementType=de,o.expirationTime=n,o}(n,a,i,t);case pe:return function(e,t,n,r){var o=Kb(G,e,r,t);return o.type=pe,o.elementType=pe,o.expirationTime=n,o}(n,a,i,t);default:if("object"===o(e)&&null!==e)switch(e.$$typeof){case ue:s=V;break e;case se:s=W;break e;case fe:s=B,c=qd(c);break e;case me:s=Q;break e;case he:s=Y,c=null;break e;case ve:s=ee;break e}var f="";(void 0===e||"object"===o(e)&&null!==e&&0===Object.keys(e).length)&&(f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=r?Se(r.type):null;throw d&&(f+="\n\nCheck the render method of `"+d+"`."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:o(e))+"."+f)}return(l=Kb(s,n,t,a)).elementType=e,l.type=c,l.expirationTime=i,l}function ew(e,t,n){var r;r=e._owner;var o=Zb(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function tw(e,t,n,r){var o=Kb(F,e,r,t);return o.expirationTime=n,o}function nw(e,t,n){var r=Kb(L,e,null,t);return r.expirationTime=n,r}function rw(e,t,n){var r=null!==e.children?e.children:[],o=Kb(M,r,e.key,t);return o.expirationTime=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function ow(e,t){return null===e&&(e=Kb(I,null,null,sd)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.effectTag=t.effectTag,e.nextEffect=t.nextEffect,e.firstEffect=t.firstEffect,e.lastEffect=t.lastEffect,e.expirationTime=t.expirationTime,e.childExpirationTime=t.childExpirationTime,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugID=t._debugID,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugIsCurrentlyTiming=t._debugIsCurrentlyTiming,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function aw(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pendingChildren=null,this.pingCache=null,this.finishedExpirationTime=hd,this.finishedWork=null,this.timeoutHandle=iu,this.context=null,this.pendingContext=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=Yf,this.firstPendingTime=hd,this.firstSuspendedTime=hd,this.lastSuspendedTime=hd,this.nextKnownPendingLevel=hd,this.lastPingedTime=hd,this.lastExpiredTime=hd,this.interactionThreadID=a.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map}function iw(e,t,n,r){var o=new aw(e,t,n),a=function(e){var t;return t=e===Rf?dd|fd|cd:e===Pf?fd|cd:sd,Wb&&(t|=pd),Kb(O,null,null,t)}(t);return o.current=a,a.stateNode=o,Ep(a),o}function lw(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;return n!==hd&&n>=t&&r<=t}function uw(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||n===hd)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=hd),t<=e.lastExpiredTime&&(e.lastExpiredTime=hd)}function sw(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;n!==hd&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=hd:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function cw(e,t){var n=e.lastExpiredTime;(n===hd||n>t)&&(e.lastExpiredTime=t)}function fw(e,t,r,o){!function(e,t){"function"==typeof Ab&&Ab(e,t)}(t,e);var a,i=t.current,l=zy();"undefined"!=typeof jest&&(a=i,!1===Pb&&void 0===n.unstable_flushAllWithoutAsserting&&(a.mode&fd||a.mode&dd)&&(Pb=!0,u("In Concurrent or Sync modes, the \"scheduler\" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest: \njest.mock('scheduler', () => require('scheduler/unstable_mock'));\n\nFor more info, visit https://fb.me/react-mock-scheduler")),Sb(i));var s=Ap(),c=My(l,i,s),f=function(e){if(!e)return ff;var t=Co(e),n=Cf(t);if(t.tag===N){var r=t.type;if(bf(r))return Tf(t,r,n)}return n}(r);null===t.context?t.context=f:t.pendingContext=f,"render"!==Ne||null===Re||qb||(qb=!0,u("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Se(Re.type)||"Unknown"));var d=Cp(c,s);return d.payload={element:e},null!==(o=void 0===o?null:o)&&("function"!=typeof o&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o),d.callback=o),_p(i,d),Ay(i,c),c}function dw(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function pw(e,t){var n=e.memoizedState;null!==n&&null!==n.dehydrated&&n.retryTime<t&&(n.retryTime=t)}function mw(e,t){pw(e,t);var n=e.alternate;n&&pw(n,t)}function hw(e){var t=function(e){var t=Xo(e);if(!t)return null;for(var n=t;;){if(n.tag===A||n.tag===L||at)return n;if(n.child&&n.tag!==M)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}(e);return null===t?null:t.tag===J?t.stateNode.instance:t.stateNode}qb=!1,Yb={};var vw,gw,yw,bw,ww=function(e){return!1},kw=function e(n,r,o,a){if(o>=r.length)return a;var i=r[o],l=Array.isArray(n)?n.slice():t({},n);return l[i]=e(n[i],r,o+1,a),l},xw=function(e,t,n){return kw(e,t,0,n)};function Tw(e,t,n){this._internalRoot=function(e,t,n){var r=null!=n&&!0===n.hydrate;null!=n&&n.hydrationOptions;var o,a=function(e,t,n,r){return iw(e,t,n)}(e,t,r);return o=a.current,e[ku]=o,r&&t!==_f&&function(e,t){var n=So(t);Ea.forEach((function(e){_a(e,t,n)})),Sa.forEach((function(e){_a(e,t,n)}))}(0,e.nodeType===Vn?e:e.ownerDocument),a}(e,t,n)}function Ew(e){return!(!e||e.nodeType!==Un&&e.nodeType!==Vn&&e.nodeType!==Bn&&(e.nodeType!==jn||" react-mount-point-unstable "!==e.nodeValue))}vw=function(e,n,r,o){for(var a=e.memoizedState;null!==a&&n>0;)a=a.next,n--;if(null!==a){var i=xw(a.memoizedState,r,o);a.memoizedState=i,a.baseState=i,e.memoizedProps=t({},e.memoizedProps),Ay(e,yd)}},gw=function(e,t,n){e.pendingProps=xw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),Ay(e,yd)},yw=function(e){Ay(e,yd)},bw=function(e){ww=e},i.IsSomeRendererActing,Tw.prototype.render=function(e){var t=this._internalRoot;"function"==typeof arguments[1]&&u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var n=t.containerInfo;if(n.nodeType!==jn){var r=hw(t.current);r&&r.parentNode!==n&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}fw(e,t,null,null)},Tw.prototype.unmount=function(){"function"==typeof arguments[0]&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot,t=e.containerInfo;fw(null,e,null,(function(){Tu(t)}))};var Sw,Cw=i.ReactCurrentOwner,_w=!1;function Pw(e){return e?e.nodeType===Vn?e.documentElement:e.firstChild:null}function Rw(e,t){var n=t||function(e){var t=Pw(e);return!(!t||t.nodeType!==Un||!t.hasAttribute(St))}(e);if(!n)for(var r,o=!1;r=e.lastChild;)!o&&r.nodeType===Un&&r.hasAttribute(St)&&(o=!0,u("render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),e.removeChild(r);return!n||t||_w||(_w=!0,l("render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML.")),function(e,t){return new Tw(e,_f,t)}(e,n?{hydrate:!0}:void 0)}function Nw(e,t,n,r,o){Sw(n),function(e,t){null!==e&&"function"!=typeof e&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.","render",e)}(void 0===o?null:o);var a,i=n._reactRootContainer;if(i){if(a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=dw(a);l.call(e)}}fw(t,a,e,o)}else{if(i=n._reactRootContainer=Rw(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=dw(a);s.call(e)}}By((function(){fw(t,a,e,o)}))}return dw(a)}Sw=function(e){if(e._reactRootContainer&&e.nodeType!==jn){var t=hw(e._reactRootContainer._internalRoot.current);t&&t.parentNode!==e&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=Pw(e);!(!r||!Cu(r))&&!n&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Un&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};var Iw="16.13.0";ia=function(e){if(e.tag===$){var t=Rd(zy());Ay(e,t),mw(e,t)}},la=function(e){e.tag===$&&(Ay(e,3),mw(e,3))},function(e){ua=e}((function(e){if(e.tag===$){var t=My(zy(),e,null);Ay(e,t),mw(e,t)}}));var Dw,Ow,zw,Mw=!1;function Aw(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!Ew(t))throw Error("Target container is not a DOM element.");return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:oe,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),Ge=function(e,t,n){switch(t){case"input":return void dn(e,n);case"textarea":return void function(e,t){_n(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&kn(n,!!t.multiple,r,!1)}(e,n)}},Dw=function(e,t,n,r,o){var a=oy;oy|=Yg;try{return od(Hf,e.bind(null,t,n,r,o))}finally{(oy=a)===Qg&&ld()}},Ow=function(){(oy&(qg|Xg|Gg))===Qg?(function(){if(null!==Sy){var e=Sy;Sy=null,e.forEach((function(e,t){cw(t,e),Uy(t)})),ld()}}(),cb()):(oy&Xg)!==Qg&&u("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.")},zw=function(e,t){var n=oy;oy|=2;try{return e(t)}finally{(oy=n)===Qg&&ld()}},lt=Vy,ut=Dw,st=Ow,ct=zw;var Lw={Events:[Cu,_u,Pu,Qe,Ve,Lu,function(e){Zo(e,Au)},tt,nt,ei,ra,cb,Eb]},Fw=function(e){var n=e.findFiberByHostInstance,r=i.ReactCurrentDispatcher;return jb(t({},e,{overrideHookState:vw,overrideProps:gw,setSuspenseHandler:bw,scheduleUpdate:yw,currentDispatcherRef:r,findHostInstanceByFiber:function(e){var t=Go(e);return null===t?null:t.stateNode},findFiberByHostInstance:function(e){return n?n(e):null},findHostInstancesForRefresh:Zd,scheduleRefresh:Xd,scheduleRoot:Gd,setRefreshHandler:Hd,getCurrentFiber:function(){return Re}}))}({findFiberByHostInstance:Su,bundleType:1,version:Iw,rendererPackageName:"react-dom"});if(!Fw&&qe&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var Uw=window.location.protocol;/^(https?|file):$/.test(Uw)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===Uw?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lw,z.createPortal=Aw,z.findDOMNode=function(e){var t=Cw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||u("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Se(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===Un?e:function(e,t){var n=Co(e);if(void 0===n)throw"function"==typeof e.render?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(e));var r=Go(n);if(null===r)return null;if(r.mode&cd){var o=Se(n.type)||"Component";Yb[o]||(Yb[o]=!0,n.mode&cd?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,o,Pe(r)):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,o,Pe(r)))}return r.stateNode}(e,"findDOMNode")},z.flushSync=Hy,z.hydrate=function(e,t,n){if(!Ew(t))throw Error("Target container is not a DOM element.");return Eu(t)&&void 0===t._reactRootContainer&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call createRoot(container, {hydrate: true}).render(element)?"),Nw(null,e,t,!0,n)},z.render=function(e,t,n){if(!Ew(t))throw Error("Target container is not a DOM element.");return Eu(t)&&void 0===t._reactRootContainer&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.render(element)?"),Nw(null,e,t,!1,n)},z.unmountComponentAtNode=function(e){if(!Ew(e))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Eu(e)&&void 0===e._reactRootContainer&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=Pw(e);return t&&!Cu(t)&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),By((function(){Nw(null,null,e,!1,(function(){e._reactRootContainer=null,Tu(e)}))})),!0}var n=Pw(e),r=!(!n||!Cu(n)),o=e.nodeType===Un&&Ew(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},z.unstable_batchedUpdates=Vy,z.unstable_createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Mw||(Mw=!0,l('The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),Aw(e,t,n)},z.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(!Ew(n))throw Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternalFiber)throw Error("parentComponent must be a valid React Component");return Nw(e,t,n,!1,r)}(e,t,n,r)},z.version=Iw}()),z);var V=T.exports;e.Html=({children:e,divProps:n,transform:r,transformFunc:o})=>{const a=x.useRef(null),[i]=x.useState((()=>document.createElement("div"))),l=x.useMemo((()=>V.createRoot(i)),[i]),u=r??!0,s=()=>{if(u&&a.current){if(!a.current.shouldUpdateGlobalMatrix())return;let e=a.current.globalTransMatrix.toTransformAttrs();o&&(e=o(e)),i.style.position="absolute",i.style.zIndex="10",i.style.top="0px",i.style.left="0px",i.style.transform=`translate(${e.x}px, ${e.y}px) rotate(${e.rotateDeg}deg) scaleX(${e.scaleX}) scaleY(${e.scaleY})`,i.style.transformOrigin="top left"}else i.style.position="",i.style.zIndex="",i.style.top="",i.style.left="",i.style.transform="",i.style.transformOrigin="";const{style:e,...t}=n||{};Object.assign(i.style,e),Object.assign(i,t)};return x.useEffect((()=>{const e=a.current;if(!e?.stage)return;const t=e.stage,n=t.window?.getContainer?.();return n?(n.appendChild(i),u&&(e=>{const t=window.getComputedStyle(e).position;return!("absolute"===t||"relative"===t)})(n)&&(n.style.position="relative"),t.hooks.beforeRender.tap(`${e._uid}-render`,s),s(),()=>{t.hooks.beforeRender.unTap(`${e._uid}-render`,s),i.parentNode?.removeChild(i)}):void 0}),[u]),x.useLayoutEffect((()=>{s()}),[n]),x.useLayoutEffect((()=>{l.render(e)})),x.useLayoutEffect((()=>()=>{l.unmount()}),[]),x.createElement(t.ShadowRoot,{ref:a})}}));
|
|
27
|
+
*/function aa(e){if(!qe)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}var ia,la,ua,sa=10,ca=[];function fa(e){if(e.tag===O)return e.stateNode.containerInfo;for(;e.return;)e=e.return;return e.tag!==O?null:e.stateNode.containerInfo}function da(e,t,n,r,o){var a=function(e,t,n,r,o){for(var a=null,i=0;i<je.length;i++){var l=je[i];if(l){var u=l.extractEvents(e,t,n,r,o);u&&(a=Jo(a,u))}}return a}(e,t,n,r,o);ra(a)}function pa(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=fa(n);if(!r)break;var o=n.tag;o!==A&&o!==L||e.ancestors.push(n),n=Su(r)}while(n);for(var a=0;a<e.ancestors.length;a++){t=e.ancestors[a];var i=oa(e.nativeEvent),l=e.topLevelType,u=e.nativeEvent,s=e.eventSystemFlags;0===a&&(s|=Xe),da(l,t,u,i,s)}}function ma(e,t,n,r){var o,a=function(e,t,n,r){if(ca.length){var o=ca.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}(e,n,r,t);try{!function(e,t,n){if(dt)return e(t,n);dt=!0;try{return ct(e,t,n)}finally{dt=!1,pt()}}(pa,a)}finally{(o=a).topLevelType=null,o.nativeEvent=null,o.targetInst=null,o.ancestors.length=0,ca.length<sa&&ca.push(o)}}function ha(e,t,n){if(!n.has(e)){switch(e){case oo:Xa(oo,t);break;case Pr:case er:Xa(Pr,t),Xa(er,t),n.set(er,null),n.set(Pr,null);break;case rr:case ir:aa(e)&&Xa(e,t);break;case Ir:case so:case ro:break;default:-1!==To.indexOf(e)||Ka(e,t)}n.set(e,null)}}var va=!1,ga=[],ya=null,ba=null,wa=null,ka=new Map,xa=new Map,Ta=[],Ea=[Wr,Hr,ho,vo,yo,mr,pr,Kr,Xr,eo,vr,kr,xr,lr,ur,Dr,Or,zr,Nr,fo,ir,rr,fr,dr,$r,ar,or,cr,ro,so],Sa=[Pr,er,gr,br,Br,Vr,Zr,Jr,Rr,Ur];function Ca(e){return Ea.indexOf(e)>-1}function _a(e,t,n){ha(e,t,n)}function Pa(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:n|Ke,nativeEvent:o,container:r}}function Ra(e,t,n,r,o){var a=Pa(e,t,n,r,o);ga.push(a)}function Na(e,t){switch(e){case Pr:case er:ya=null;break;case gr:case br:ba=null;break;case Br:case Vr:wa=null;break;case Zr:case Jr:var n=t.pointerId;ka.delete(n);break;case Rr:case Ur:var r=t.pointerId;xa.delete(r)}}function Ia(e,t,n,r,o,a){if(null===e||e.nativeEvent!==a){var i=Pa(t,n,r,o,a);if(null!==t){var l=Cu(t);null!==l&&la(l)}return i}return e.eventSystemFlags|=r,e}function Da(e){var t=Su(e.target);if(null!==t){var r=Qo(t);if(null!==r){var o=r.tag;if(o===$){var a=qo(r);if(null!==a)return e.blockedOn=a,void n.unstable_runWithPriority(e.priority,(function(){ua(r)}))}else if(o===O&&r.stateNode.hydrate)return void(e.blockedOn=Yo(r))}}e.blockedOn=null}function Oa(e){if(null!==e.blockedOn)return!1;var t=ti(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Cu(t);return null!==n&&la(n),e.blockedOn=t,!1}return!0}function za(e,t,n){Oa(e)&&n.delete(t)}function Ma(){for(va=!1;ga.length>0;){var e=ga[0];if(null!==e.blockedOn){var t=Cu(e.blockedOn);null!==t&&ia(t);break}var n=ti(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==n?e.blockedOn=n:ga.shift()}null!==ya&&Oa(ya)&&(ya=null),null!==ba&&Oa(ba)&&(ba=null),null!==wa&&Oa(wa)&&(wa=null),ka.forEach(za),xa.forEach(za)}function Aa(e,t){e.blockedOn===t&&(e.blockedOn=null,va||(va=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Ma)))}function La(e){if(ga.length>0){Aa(ga[0],e);for(var t=1;t<ga.length;t++){var n=ga[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==ya&&Aa(ya,e),null!==ba&&Aa(ba,e),null!==wa&&Aa(wa,e);var r=function(t){return Aa(t,e)};ka.forEach(r),xa.forEach(r);for(var o=0;o<Ta.length;o++){var a=Ta[o];a.blockedOn===e&&(a.blockedOn=null)}for(;Ta.length>0;){var i=Ta[0];if(null!==i.blockedOn)break;Da(i),null===i.blockedOn&&Ta.shift()}}var Fa={},Ua=new Map,Wa=new Map,ja=[or,lo,fo,ur,lr,sr],Va=[hr,"drag",gr,"dragEnter",yr,"dragExit",br,"dragLeave",wr,"dragOver",jr,"mouseMove",Vr,"mouseOut",Br,"mouseOver",Gr,"pointerMove",Jr,"pointerOut",Zr,"pointerOver",oo,"scroll",mo,"toggle",go,"touchMove",xo,"wheel"],Ba=[Xn,"abort",Gn,"animationEnd",Jn,"animationIteration",Zn,"animationStart",tr,"canPlay",nr,"canPlayThrough",Tr,"durationChange",Er,"emptied",Sr,"encrypted",Cr,"ended",_r,"error",Rr,"gotPointerCapture",Mr,"load",Lr,"loadedData",Fr,"loadedMetadata",Ar,"loadStart",Ur,"lostPointerCapture",Yr,"playing",to,"progress",io,"seeking",uo,"stalled",co,"suspend",po,"timeUpdate",bo,"transitionEnd",ko,"waiting"];function Ha(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],a="on"+(o[0].toUpperCase()+o.slice(1)),i={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[r],eventPriority:t};Wa.set(r,t),Ua.set(r,i),Fa[o]=i}}Ha([er,"blur",rr,"cancel",ar,"click",ir,"close",cr,"contextMenu",fr,"copy",dr,"cut",mr,"auxClick",pr,"doubleClick",vr,"dragEnd",kr,"dragStart",xr,"drop",Pr,"focus",Nr,"input",Ir,"invalid",Dr,"keyDown",Or,"keyPress",zr,"keyUp",Wr,"mouseDown",Hr,"mouseUp",$r,"paste",Qr,"pause",qr,"play",Kr,"pointerCancel",Xr,"pointerDown",eo,"pointerUp",no,"rateChange",ro,"reset",ao,"seeked",so,"submit",ho,"touchCancel",vo,"touchEnd",yo,"touchStart",wo,"volumeChange"],mt),Ha(Va,ht),Ha(Ba,vt),function(e,t){for(var n=0;n<e.length;n++)Wa.set(e[n],t)}(ja,mt);var $a=n.unstable_UserBlockingPriority,Qa=n.unstable_runWithPriority,qa=!0;function Ya(e){qa=!!e}function Ka(e,t){Ga(t,e,!1)}function Xa(e,t){Ga(t,e,!0)}function Ga(e,t,n){var r;switch(function(e){var t=Wa.get(e);return void 0===t?vt:t}(t)){case mt:r=Ja.bind(null,t,Ye,e);break;case ht:r=Za.bind(null,t,Ye,e);break;default:r=ei.bind(null,t,Ye,e)}var o=t;n?function(e,t,n){e.addEventListener(t,n,!0)}(e,o,r):function(e,t,n){e.addEventListener(t,n,!1)}(e,o,r)}function Ja(e,t,n,r){r.timeStamp,ft||ot||st(),function(e,t,n,r,o){var a=ft;ft=!0;try{return ut(e,t,n,r,o)}finally{(ft=a)||pt()}}(ei,e,t,n,r)}function Za(e,t,n,r){Qa($a,ei.bind(null,e,t,n,r))}function ei(e,t,n,r){if(qa)if(ga.length>0&&Ca(e))Ra(null,e,t,n,r);else{var o=ti(e,t,n,r);null!==o?Ca(e)?Ra(o,e,t,n,r):function(e,t,n,r,o){switch(t){case Pr:return ya=Ia(ya,e,t,n,r,o),!0;case gr:return ba=Ia(ba,e,t,n,r,o),!0;case Br:return wa=Ia(wa,e,t,n,r,o),!0;case Zr:var a=o,i=a.pointerId;return ka.set(i,Ia(ka.get(i)||null,e,t,n,r,a)),!0;case Rr:var l=o,u=l.pointerId;return xa.set(u,Ia(xa.get(u)||null,e,t,n,r,l)),!0}return!1}(o,e,t,n,r)||(Na(e,r),ma(e,t,r,null)):Na(e,r)}}function ti(e,t,n,r){var o=Su(oa(r));if(null!==o){var a=Qo(o);if(null===a)o=null;else{var i=a.tag;if(i===$){var l=qo(a);if(null!==l)return l;o=null}else if(i===O){if(a.stateNode.hydrate)return Yo(a);o=null}else a!==o&&(o=null)}}return ma(e,t,r,o),null}var ni={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ri={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},oi=["Webkit","ms","Moz","O"];function ai(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ri.hasOwnProperty(e)&&ri[e]?(""+t).trim():t+"px"}Object.keys(ri).forEach((function(e){oi.forEach((function(t){ri[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=ri[e]}))}));var ii=/([A-Z])/g,li=/^ms-/,ui=/^(?:webkit|moz|o)[A-Z]/,si=/^-ms-/,ci=/-(.)/g,fi=/;\s*$/,di={},pi={},mi=!1,hi=!1,vi=function(e){di.hasOwnProperty(e)&&di[e]||(di[e]=!0,u("Unsupported style property %s. Did you mean %s?",e,e.replace(si,"ms-").replace(ci,(function(e,t){return t.toUpperCase()}))))},gi=function(e,t){e.indexOf("-")>-1?vi(e):ui.test(e)?function(e){di.hasOwnProperty(e)&&di[e]||(di[e]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):fi.test(t)&&function(e,t){pi.hasOwnProperty(t)&&pi[t]||(pi[t]=!0,u('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(fi,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){mi||(mi=!0,u("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){hi||(hi=!0,u("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function yi(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o){var a=0===r.indexOf("--");t+=n+(a?r:r.replace(ii,"-$1").toLowerCase().replace(li,"-ms-"))+":",t+=ai(r,o,a),n=";"}}return t||null}function bi(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||gi(r,t[r]);var a=ai(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,a):n[r]=a}}function wi(e){var t={};for(var n in e)for(var r=ni[n]||[n],o=0;o<r.length;o++)t[r[o]]=n;return t}var ki=t({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}),xi="__html",Ti=null;function Ei(e,t){if(t){if(ki[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."+Ti.getStackAddendum());if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==o(t.dangerouslySetInnerHTML)||!(xi in t.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&u("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!==o(t.style))throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."+Ti.getStackAddendum())}}function Si(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}}Ti=i.ReactDebugCurrentFrame;var Ci={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},_i={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Pi={},Ri=new RegExp("^(aria)-["+Et+"]*$"),Ni=new RegExp("^(aria)[A-Z]["+Et+"]*$"),Ii=Object.prototype.hasOwnProperty;function Di(e,t){if(Ii.call(Pi,t)&&Pi[t])return!0;if(Ni.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=_i.hasOwnProperty(n)?n:null;if(null==r)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Pi[t]=!0,!0;if(t!==r)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),Pi[t]=!0,!0}if(Ri.test(t)){var o=t.toLowerCase(),a=_i.hasOwnProperty(o)?o:null;if(null==a)return Pi[t]=!0,!1;if(t!==a)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,a),Pi[t]=!0,!0}return!0}function Oi(e,t){Si(e,t)||function(e,t){var n=[];for(var r in t)Di(0,r)||n.push(r);var o=n.map((function(e){return"`"+e+"`"})).join(", ");1===n.length?u("Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e):n.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e)}(e,t)}var zi,Mi=!1,Ai={},Li=Object.prototype.hasOwnProperty,Fi=/^on./,Ui=/^on[^A-Z]/,Wi=new RegExp("^(aria)-["+Et+"]*$"),ji=new RegExp("^(aria)[A-Z]["+Et+"]*$");function Vi(e,t,n){Si(e,t)||function(e,t,n){var r=[];for(var o in t)zi(0,o,t[o],n)||r.push(o);var a=r.map((function(e){return"`"+e+"`"})).join(", ");1===r.length?u("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior",a,e):r.length>1&&u("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior",a,e)}(e,t,n)}zi=function(e,t,n,r){if(Li.call(Ai,t)&&Ai[t])return!0;var a=t.toLowerCase();if("onfocusin"===a||"onfocusout"===a)return u("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ai[t]=!0,!0;if(r){if(Be.hasOwnProperty(t))return!0;var i=$e.hasOwnProperty(a)?$e[a]:null;if(null!=i)return u("Invalid event handler property `%s`. Did you mean `%s`?",t,i),Ai[t]=!0,!0;if(Fi.test(t))return u("Unknown event handler property `%s`. It will be ignored.",t),Ai[t]=!0,!0}else if(Fi.test(t))return Ui.test(t)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ai[t]=!0,!0;if(Wi.test(t)||ji.test(t))return!0;if("innerhtml"===a)return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ai[t]=!0,!0;if("aria"===a)return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ai[t]=!0,!0;if("is"===a&&null!=n&&"string"!=typeof n)return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",o(n)),Ai[t]=!0,!0;if("number"==typeof n&&isNaN(n))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ai[t]=!0,!0;var l=zt(t),s=null!==l&&l.type===gt;if(Ci.hasOwnProperty(a)){var c=Ci[a];if(c!==t)return u("Invalid DOM property `%s`. Did you mean `%s`?",t,c),Ai[t]=!0,!0}else if(!s&&t!==a)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,a),Ai[t]=!0,!0;return"boolean"==typeof n&&Dt(t,n,l,!1)?(n?u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Ai[t]=!0,!0):!!s||(Dt(t,n,l,!1)?(Ai[t]=!0,!1):("false"!==n&&"true"!==n||null===l||l.type!==bt||(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Ai[t]=!0),!0))};var Bi,Hi,$i,Qi,qi,Yi,Ki,Xi,Gi,Ji,Zi=!1,el=!1,tl="dangerouslySetInnerHTML",nl="suppressContentEditableWarning",rl="suppressHydrationWarning",ol="autoFocus",al="children",il="style",ll="__html",ul=Dn;Bi={time:!0,dialog:!0,webview:!0},$i=function(e,t){Oi(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Mi||(Mi=!0,"select"===e&&t.multiple?u("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),Vi(e,t,!0)},Xi=qe&&!document.documentMode;var sl=/\r\n?/g,cl=/\u0000|\uFFFD/g;function fl(e,t){!function(e,t){for(var n=So(t),r=He[e],o=0;o<r.length;o++)ha(r[o],t,n)}(t,e.nodeType===Vn||e.nodeType===Bn?e:e.ownerDocument)}function dl(e){return e.nodeType===Vn?e:e.ownerDocument}function pl(){}function ml(e){e.onclick=pl}function hl(e,t,n,r){var o,a=Si(t,n);switch($i(t,n),a&&!el&&e.shadyRoot&&(u("%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",Ie()||"A component"),el=!0),t){case"iframe":case"object":case"embed":Ka(Mr,e),o=n;break;case"video":case"audio":for(var i=0;i<To.length;i++)Ka(To[i],e);o=n;break;case"source":Ka(_r,e),o=n;break;case"img":case"image":case"link":Ka(_r,e),Ka(Mr,e),o=n;break;case"form":Ka(ro,e),Ka(so,e),o=n;break;case"details":Ka(mo,e),o=n;break;case"input":un(e,n),o=ln(e,n),Ka(Ir,e),fl(r,"onChange");break;case"option":gn(0,n),o=yn(0,n);break;case"select":Tn(e,n),o=xn(0,n),Ka(Ir,e),fl(r,"onChange");break;case"textarea":Cn(e,n),o=Sn(e,n),Ka(Ir,e),fl(r,"onChange");break;default:o=n}switch(Ei(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===il)i&&Object.freeze(i),bi(t,i);else if(a===tl){var l=i?i[ll]:void 0;null!=l&&Fn(t,l)}else a===al?"string"==typeof i?("textarea"!==e||""!==i)&&Hn(t,i):"number"==typeof i&&Hn(t,""+i):a===nl||a===rl||a===ol||(Be.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&Ki(a,i),fl(n,a)):null!=i&&Ht(t,a,i,o))}}(t,e,r,o,a),t){case"input":Zt(e),fn(e,n,!1);break;case"textarea":Zt(e),Pn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",$t(Qt(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?kn(n,!!t.multiple,r,!1):null!=t.defaultValue&&kn(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&ml(e)}}function vl(e,t,n,r,o){$i(t,r);var a,i,l,s,c=null;switch(t){case"input":a=ln(e,n),i=ln(e,r),c=[];break;case"option":a=yn(0,n),i=yn(0,r),c=[];break;case"select":a=xn(0,n),i=xn(0,r),c=[];break;case"textarea":a=Sn(e,n),i=Sn(e,r),c=[];break;default:i=r,"function"!=typeof(a=n).onClick&&"function"==typeof i.onClick&&ml(e)}Ei(t,i);var f=null;for(l in a)if(!i.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if(l===il){var d=a[l];for(s in d)d.hasOwnProperty(s)&&(f||(f={}),f[s]="")}else l===tl||l===al||l===nl||l===rl||l===ol||(Be.hasOwnProperty(l)?c||(c=[]):(c=c||[]).push(l,null));for(l in i){var p=i[l],m=null!=a?a[l]:void 0;if(i.hasOwnProperty(l)&&p!==m&&(null!=p||null!=m))if(l===il)if(p&&Object.freeze(p),m){for(s in m)!m.hasOwnProperty(s)||p&&p.hasOwnProperty(s)||(f||(f={}),f[s]="");for(s in p)p.hasOwnProperty(s)&&m[s]!==p[s]&&(f||(f={}),f[s]=p[s])}else f||(c||(c=[]),c.push(l,f)),f=p;else if(l===tl){var h=p?p[ll]:void 0,v=m?m[ll]:void 0;null!=h&&v!==h&&(c=c||[]).push(l,h)}else l===al?m===p||"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(l,""+p):l===nl||l===rl||(Be.hasOwnProperty(l)?(null!=p&&("function"!=typeof p&&Ki(l,p),fl(o,l)),c||m===p||(c=[])):(c=c||[]).push(l,p))}return f&&(function(e,t){if(t){var n,r=wi(e),o=wi(t),a={};for(var i in r){var l=r[i],s=o[i];if(s&&l!==s){var c=l+","+s;if(a[c])continue;a[c]=!0,u("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[l])||"boolean"==typeof n||""===n?"Removing":"Updating",l,s)}}}}(f,i[il]),(c=c||[]).push(il,f)),c}function gl(e,t,n,r,o){switch("input"===n&&"radio"===o.type&&null!=o.name&&sn(e,o),Si(n,r),function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===il?bi(e,i):a===tl?Fn(e,i):a===al?Hn(e,i):Ht(e,a,i,r)}}(e,t,0,Si(n,o)),n){case"input":cn(e,o);break;case"textarea":_n(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?kn(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?kn(n,!!t.multiple,t.defaultValue,!0):kn(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function yl(e,t){Qi(e.nodeValue,t)}function bl(e,t){Zi||(Zi=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function wl(e,t){Zi||(Zi=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function kl(e,t,n){Zi||(Zi=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function xl(e,t){""!==t&&(Zi||(Zi=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}function Tl(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function El(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Sl(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Cl(e,t){for(var n=El(e),r=0,o=0;n;){if(n.nodeType===Wn){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=El(Sl(n))}}function _l(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{o.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,r,o){var a=0,i=-1,l=-1,u=0,s=0,c=e,f=null;e:for(;;){for(var d=null;c!==t||0!==n&&c.nodeType!==Wn||(i=a+n),c!==r||0!==o&&c.nodeType!==Wn||(l=a+o),c.nodeType===Wn&&(a+=c.nodeValue.length),null!==(d=c.firstChild);)f=c,c=d;for(;;){if(c===e)break e;if(f===t&&++u===n&&(i=a),f===r&&++s===o&&(l=a),null!==(d=c.nextSibling))break;f=(c=f).parentNode}c=d}return-1===i||-1===l?null:{start:i,end:l}}(e,o,a,i,l)}function Pl(e){return e&&e.nodeType===Wn}function Rl(e,t){return!(!e||!t)&&(e===t||!Pl(e)&&(Pl(t)?Rl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Nl(e){return e&&e.ownerDocument&&Rl(e.ownerDocument.documentElement,e)}function Il(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function Dl(){for(var e=window,t=Tl();t instanceof e.HTMLIFrameElement;){if(!Il(t))return t;t=Tl((e=t.contentWindow).document)}return t}function Ol(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)}function zl(e){var t,n,r,o,a=Dl(),i=e.focusedElem,l=e.selectionRange;if(a!==i&&Nl(i)){null!==l&&Ol(i)&&(t=i,r=(n=l).start,void 0===(o=n.end)&&(o=r),"selectionStart"in t?(t.selectionStart=r,t.selectionEnd=Math.min(o,t.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),l=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>l){var u=l;l=i,i=u}var s=Cl(e,i),c=Cl(e,l);if(s&&c){if(1===o.rangeCount&&o.anchorNode===s.node&&o.anchorOffset===s.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var f=n.createRange();f.setStart(s.node,s.offset),o.removeAllRanges(),i>l?(o.addRange(f),o.extend(c.node,c.offset)):(f.setEnd(c.node,c.offset),o.addRange(f))}}}(t,n));for(var u=[],s=i;s=s.parentNode;)s.nodeType===Un&&u.push({element:s,left:s.scrollLeft,top:s.scrollTop});"function"==typeof i.focus&&i.focus();for(var c=0;c<u.length;c++){var f=u[c];f.element.scrollLeft=f.left,f.element.scrollTop=f.top}}}function Ml(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:_l(e))||{start:0,end:0}}Gi=function(e){return("string"==typeof e?e:""+e).replace(sl,"\n").replace(cl,"")},Qi=function(e,t){if(!Zi){var n=Gi(t),r=Gi(e);r!==n&&(Zi=!0,u('Text content did not match. Server: "%s" Client: "%s"',r,n))}},qi=function(e,t,n){if(!Zi){var r=Gi(n),o=Gi(t);o!==r&&(Zi=!0,u("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Yi=function(e){if(!Zi){Zi=!0;var t=[];e.forEach((function(e){t.push(e)})),u("Extra attributes from the server: %s",t)}},Ki=function(e,t){!1===t?u("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,o(t))},Ji=function(e,t){var n=e.namespaceURI===ul?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Al=function(){},Ll=function(){},Fl=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Ul=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Wl=Ul.concat(["button"]),jl=["dd","dt","li","option","optgroup","p","rp","rt"],Vl={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ll=function(e,n){var r=t({},e||Vl),o={tag:n};return-1!==Ul.indexOf(n)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==Wl.indexOf(n)&&(r.pTagInButtonScope=null),-1!==Fl.indexOf(n)&&"address"!==n&&"div"!==n&&"p"!==n&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=o,"form"===n&&(r.formTag=o),"a"===n&&(r.aTagInScope=o),"button"===n&&(r.buttonTagInScope=o),"nobr"===n&&(r.nobrTagInScope=o),"p"===n&&(r.pTagInButtonScope=o),"li"===n&&(r.listItemTagAutoclosing=o),"dd"!==n&&"dt"!==n||(r.dlItemTagAutoclosing=o),r};var Bl,Hl={};Al=function(e,t,n){var r=(n=n||Vl).current,o=r&&r.tag;null!=t&&(null!=e&&u("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var a=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===jl.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,i=a?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),l=a||i;if(l){var s=l.tag,c=!!a+"|"+e+"|"+s+"|"+De();if(!Hl[c]){Hl[c]=!0;var f=e,d="";if("#text"===e?/\S/.test(t)?f="Text nodes":(f="Whitespace text nodes",d=" Make sure you don't have any extra whitespace between tags on each line of your source code."):f="<"+e+">",a){var p="";"table"===s&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",f,s,d,p)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",f,s)}}},Bl="suppressHydrationWarning";var $l="$",Ql="/$",ql="$?",Yl="$!",Kl="style",Xl=null,Gl=null;function Jl(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Zl(e){var t;Xl=qa,t=Dl(),Gl={activeElementDetached:null,focusedElem:t,selectionRange:Ol(t)?Ml(t):null},Ya(!1)}function eu(e,t,n,r,o){var a=r;if(Al(e,null,a.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var i=""+t.children,l=Ll(a.ancestorInfo,e);Al(null,i,l)}var s=function(e,t,n,r){var o,a,i=dl(n),l=r;if(l===ul&&(l=zn(e)),l===ul){if((o=Si(e,t))||e===e.toLowerCase()||u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var s=i.createElement("div");s.innerHTML="<script><\/script>";var c=s.firstChild;a=s.removeChild(c)}else if("string"==typeof t.is)a=i.createElement(e,{is:t.is});else if(a=i.createElement(e),"select"===e){var f=a;t.multiple?f.multiple=!0:t.size&&(f.size=t.size)}}else a=i.createElementNS(l,e);return l===ul&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||Object.prototype.hasOwnProperty.call(Bi,e)||(Bi[e]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),a}(e,t,n,a.namespace);return xu(o,s),Ru(s,t),s}function tu(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"===o(t.dangerouslySetInnerHTML)&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function nu(e,t){return!!t.hidden}function ru(e,t,n,r){Al(null,e,n.ancestorInfo);var o=function(e,t){return dl(t).createTextNode(e)}(e,t);return xu(r,o),o}var ou="function"==typeof setTimeout?setTimeout:void 0,au="function"==typeof clearTimeout?clearTimeout:void 0,iu=-1;function lu(e){Hn(e,"")}function uu(e,t){e.removeChild(t)}function su(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function cu(e,t){var n=t[Kl],r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=ai("display",r)}function fu(e,t){e.nodeValue=t}function du(e){return e.data===Yl}function pu(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===Un||t===Wn)break}return e}function mu(e){return pu(e.nextSibling)}function hu(e){return pu(e.firstChild)}function vu(e,t,n,r,o,a){return xu(a,e),Ru(e,n),function(e,t,n,r,o){var a,i;switch(Hi=!0===n[rl],a=Si(t,n),$i(t,n),a&&!el&&e.shadyRoot&&(u("%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",Ie()||"A component"),el=!0),t){case"iframe":case"object":case"embed":Ka(Mr,e);break;case"video":case"audio":for(var l=0;l<To.length;l++)Ka(To[l],e);break;case"source":Ka(_r,e);break;case"img":case"image":case"link":Ka(_r,e),Ka(Mr,e);break;case"form":Ka(ro,e),Ka(so,e);break;case"details":Ka(mo,e);break;case"input":un(e,n),Ka(Ir,e),fl(o,"onChange");break;case"option":gn(0,n);break;case"select":Tn(e,n),Ka(Ir,e),fl(o,"onChange");break;case"textarea":Cn(e,n),Ka(Ir,e),fl(o,"onChange")}Ei(t,n),i=new Set;for(var s=e.attributes,c=0;c<s.length;c++)switch(s[c].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:i.add(s[c].name)}var f,d=null;for(var p in n)if(n.hasOwnProperty(p)){var m=n[p];if(p===al)"string"==typeof m?e.textContent!==m&&(Hi||Qi(e.textContent,m),d=[al,m]):"number"==typeof m&&e.textContent!==""+m&&(Hi||Qi(e.textContent,m),d=[al,""+m]);else if(Be.hasOwnProperty(p))null!=m&&("function"!=typeof m&&Ki(p,m),fl(o,p));else if("boolean"==typeof a){var h=void 0,v=zt(p);if(Hi);else if(p===nl||p===rl||"value"===p||"checked"===p||"selected"===p);else if(p===tl){var g=e.innerHTML,y=m?m[ll]:void 0,b=Ji(e,null!=y?y:"");b!==g&&qi(p,g,b)}else if(p===il){if(i.delete(p),Xi){var w=yi(m);w!==(h=e.getAttribute("style"))&&qi(p,h,w)}}else if(a)i.delete(p.toLowerCase()),m!==(h=Bt(e,p,m))&&qi(p,h,m);else if(!It(p,v,a)&&!Ot(p,m,v,a)){var k=!1;if(null!==v)i.delete(v.attributeName),h=Vt(e,p,m,v);else{var x=r;if(x===ul&&(x=zn(t)),x===ul)i.delete(p.toLowerCase());else{var T=(f=void 0,f=p.toLowerCase(),Ci.hasOwnProperty(f)&&Ci[f]||null);null!==T&&T!==p&&(k=!0,i.delete(T)),i.delete(p)}h=Bt(e,p,m)}m===h||k||qi(p,h,m)}}}switch(i.size>0&&!Hi&&Yi(i),t){case"input":Zt(e),fn(e,n,!0);break;case"textarea":Zt(e),Pn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&ml(e)}return d}(e,t,n,o.namespace,r)}function gu(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===jn){var r=t.data;if(r===$l||r===Yl||r===ql){if(0===n)return t;n--}else r===Ql&&n++}t=t.previousSibling}return null}var yu=Math.random().toString(36).slice(2),bu="__reactInternalInstance$"+yu,wu="__reactEventHandlers$"+yu,ku="__reactContainere$"+yu;function xu(e,t){t[bu]=e}function Tu(e){e[ku]=null}function Eu(e){return!!e[ku]}function Su(e){var t=e[bu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ku]||n[bu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=gu(e);null!==o;){var a=o[bu];if(a)return a;o=gu(o)}return t}n=(e=n).parentNode}return null}function Cu(e){var t=e[bu]||e[ku];return!t||t.tag!==A&&t.tag!==L&&t.tag!==$&&t.tag!==O?null:t}function _u(e){if(e.tag===A||e.tag===L)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Pu(e){return e[wu]||null}function Ru(e,t){e[wu]=t}function Nu(e){do{e=e.return}while(e&&e.tag!==A);return e||null}function Iu(e,t,n,r,o){for(var a=e&&t?function(e,t){for(var n=0,r=e;r;r=Nu(r))n++;for(var o=0,a=t;a;a=Nu(a))o++;for(;n-o>0;)e=Nu(e),n--;for(;o-n>0;)t=Nu(t),o--;for(var i=n;i--;){if(e===t||e===t.alternate)return e;e=Nu(e),t=Nu(t)}return null}(e,t):null,i=[];e&&e!==a;){var l=e.alternate;if(null!==l&&l===a)break;i.push(e),e=Nu(e)}for(var u=[];t&&t!==a;){var s=t.alternate;if(null!==s&&s===a)break;u.push(t),t=Nu(t)}for(var c=0;c<i.length;c++)n(i[c],"bubbled",r);for(var f=u.length;f-- >0;)n(u[f],"captured",o)}function Du(e,t){var n,r=e.stateNode;if(!r)return null;var a=S(r);if(!a)return null;if(n=a[t],function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,a))return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+o(n)+"` type.");return n}function Ou(e,t,n){e||u("Dispatching inst must not be null");var r=function(e,t,n){return Du(e,t.dispatchConfig.phasedRegistrationNames[n])}(e,n,t);r&&(n._dispatchListeners=Jo(n._dispatchListeners,r),n._dispatchInstances=Jo(n._dispatchInstances,e))}function zu(e){e&&e.dispatchConfig.phasedRegistrationNames&&function(e,t,n){for(var r,o=[];e;)o.push(e),e=Nu(e);for(r=o.length;r-- >0;)t(o[r],"captured",n);for(r=0;r<o.length;r++)t(o[r],"bubbled",n)}(e._targetInst,Ou,e)}function Mu(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var r=Du(e,n.dispatchConfig.registrationName);r&&(n._dispatchListeners=Jo(n._dispatchListeners,r),n._dispatchInstances=Jo(n._dispatchInstances,e))}}function Au(e){e&&e.dispatchConfig.registrationName&&Mu(e._targetInst,0,e)}function Lu(e){Zo(e,zu)}var Fu=null,Uu=null,Wu=null;function ju(){if(Wu)return Wu;var e,t,n=Uu,r=n.length,o=Vu(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var l=t>1?1-t:void 0;return Wu=o.slice(e,l)}function Vu(){return"value"in Fu?Fu.value:Fu.textContent}var Bu=10,Hu={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};function $u(){return!0}function Qu(){return!1}function qu(e,t,n,r){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){delete this[a];var i=o[a];i?this[a]=i(n):"target"===a?this.target=r:this[a]=n[a]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?$u:Qu,this.isPropagationStopped=Qu,this}function Yu(e,t){var n="function"==typeof t;return{configurable:!0,set:function(e){return r(n?"setting the method":"setting the property","This is effectively a no-op"),e},get:function(){return r(n?"accessing the method":"accessing the property",n?"This is a no-op function":"This is set to null"),t}};function r(t,n){u("This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}}function Ku(e,t,n,r){var o=this;if(o.eventPool.length){var a=o.eventPool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)}function Xu(e){var t=this;if(!(e instanceof t))throw Error("Trying to release an event instance into a pool of a different type.");e.destructor(),t.eventPool.length<Bu&&t.eventPool.push(e)}function Gu(e){e.eventPool=[],e.getPooled=Ku,e.release=Xu}t(qu.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=$u)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=$u)},persist:function(){this.isPersistent=$u},isPersistent:Qu,destructor:function(){var e=this.constructor.Interface;for(var t in e)Object.defineProperty(this,t,Yu(t,e[t]));this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=Qu,this.isPropagationStopped=Qu,this._dispatchListeners=null,this._dispatchInstances=null,Object.defineProperty(this,"nativeEvent",Yu("nativeEvent",null)),Object.defineProperty(this,"isDefaultPrevented",Yu("isDefaultPrevented",Qu)),Object.defineProperty(this,"isPropagationStopped",Yu("isPropagationStopped",Qu)),Object.defineProperty(this,"preventDefault",Yu("preventDefault",(function(){}))),Object.defineProperty(this,"stopPropagation",Yu("stopPropagation",(function(){})))}}),qu.Interface=Hu,qu.extend=function(e){var n=this,r=function(){};r.prototype=n.prototype;var o=new r;function a(){return n.apply(this,arguments)}return t(o,a.prototype),a.prototype=o,a.prototype.constructor=a,a.Interface=t({},n.Interface,e),a.extend=n.extend,Gu(a),a},Gu(qu);var Ju=qu.extend({data:null}),Zu=qu.extend({data:null}),es=[9,13,27,32],ts=229,ns=qe&&"CompositionEvent"in window,rs=null;qe&&"documentMode"in document&&(rs=document.documentMode);var os=qe&&"TextEvent"in window&&!rs,as=qe&&(!ns||rs&&rs>8&&rs<=11),is=32,ls=String.fromCharCode(is),us={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[lr,Or,fo,$r]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[er,lr,Dr,Or,zr,Wr]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[er,ur,Dr,Or,zr,Wr]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[er,sr,Dr,Or,zr,Wr]}},ss=!1;function cs(e,t){switch(e){case zr:return-1!==es.indexOf(t.keyCode);case Dr:return t.keyCode!==ts;case Or:case Wr:case er:return!0;default:return!1}}function fs(e){var t=e.detail;return"object"===o(t)&&"data"in t?t.data:null}function ds(e){return"ko"===e.locale}var ps=!1;function ms(e,t,n,r){var o,a;if(ns?o=function(e){switch(e){case ur:return us.compositionStart;case lr:return us.compositionEnd;case sr:return us.compositionUpdate}}(e):ps?cs(e,n)&&(o=us.compositionEnd):function(e,t){return e===Dr&&t.keyCode===ts}(e,n)&&(o=us.compositionStart),!o)return null;as&&!ds(n)&&(ps||o!==us.compositionStart?o===us.compositionEnd&&ps&&(a=ju()):ps=function(e){return Fu=e,Uu=Vu(),!0}(r));var i=Ju.getPooled(o,t,n,r);if(a)i.data=a;else{var l=fs(n);null!==l&&(i.data=l)}return Lu(i),i}function hs(e,t){if(ps){if(e===lr||!ns&&cs(e,t)){var n=ju();return Fu=null,Uu=null,Wu=null,ps=!1,n}return null}switch(e){case $r:return null;case Or:if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case lr:return as&&!ds(t)?null:t.data;default:return null}}function vs(e,t,n,r){var o;if(!(o=os?function(e,t){switch(e){case lr:return fs(t);case Or:return t.which!==is?null:(ss=!0,ls);case fo:var n=t.data;return n===ls&&ss?null:n;default:return null}}(e,n):hs(e,n)))return null;var a=Zu.getPooled(us.beforeInput,t,n,r);return a.data=o,Lu(a),a}var gs={eventTypes:us,extractEvents:function(e,t,n,r,o){var a=ms(e,t,n,r),i=vs(e,t,n,r);return null===a?i:null===i?a:[a,i]}},ys={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 bs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ys[e.type]:"textarea"===t}var ws={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[er,or,ar,Pr,Nr,Dr,zr,lo]}};function ks(e,t,n){var r=qu.getPooled(ws.change,e,t,n);return r.type="change",tt(n),Lu(r),r}var xs=null,Ts=null;function Es(e){!function(e,t){if(ft)return e(t);ft=!0;try{return lt(e,t)}finally{ft=!1,pt()}}(Ss,ks(Ts,e,oa(e)))}function Ss(e){ra(e)}function Cs(e){if(en(_u(e)))return e}function _s(e,t){if(e===or)return t}var Ps=!1;function Rs(){xs&&(xs.detachEvent("onpropertychange",Ns),xs=null,Ts=null)}function Ns(e){"value"===e.propertyName&&Cs(Ts)&&Es(e)}function Is(e,t,n){e===Pr?(Rs(),function(e,t){Ts=t,(xs=e).attachEvent("onpropertychange",Ns)}(t,n)):e===er&&Rs()}function Ds(e,t){if(e===lo||e===zr||e===Dr)return Cs(Ts)}function Os(e,t){if(e===ar)return Cs(t)}function zs(e,t){if(e===Nr||e===or)return Cs(t)}qe&&(Ps=aa("input")&&(!document.documentMode||document.documentMode>9));var Ms={eventTypes:ws,_isInputEventSupported:Ps,extractEvents:function(e,t,n,r,o){var a,i,l,u,s,c,f=t?_u(t):window;if("select"===(u=(l=f).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type?a=_s:bs(f)?Ps?a=zs:(a=Ds,i=Is):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(f)&&(a=Os),a){var d=a(e,t);if(d)return ks(d,n,r)}i&&i(e,f,t),e===er&&(c=(s=f)._wrapperState)&&c.controlled&&"number"===s.type&&pn(s,"number",s.value)}},As=qu.extend({view:null,detail:null}),Ls={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fs(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Ls[e];return!!n&&!!t[n]}function Us(e){return Fs}var Ws=0,js=0,Vs=!1,Bs=!1,Hs=As.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Us,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=Ws;return Ws=e.screenX,Vs?"mousemove"===e.type?e.screenX-t:0:(Vs=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=js;return js=e.screenY,Bs?"mousemove"===e.type?e.screenY-t:0:(Bs=!0,0)}}),$s=Hs.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Qs={mouseEnter:{registrationName:"onMouseEnter",dependencies:[Vr,Br]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[Vr,Br]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[Jr,Zr]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[Jr,Zr]}},qs={eventTypes:Qs,extractEvents:function(e,t,n,r,o){var a,i,l,u,s,c,f,d=e===Br||e===Zr,p=e===Vr||e===Jr;if(d&&0==(o&Ke)&&(n.relatedTarget||n.fromElement))return null;if(!p&&!d)return null;if(r.window===r)a=r;else{var m=r.ownerDocument;a=m?m.defaultView||m.parentWindow:window}if(p){i=t;var h=n.relatedTarget||n.toElement;null!==(l=h?Su(h):null)&&(l!==Qo(l)||l.tag!==A&&l.tag!==L)&&(l=null)}else i=null,l=t;if(i===l)return null;e===Vr||e===Br?(u=Hs,s=Qs.mouseLeave,c=Qs.mouseEnter,f="mouse"):e!==Jr&&e!==Zr||(u=$s,s=Qs.pointerLeave,c=Qs.pointerEnter,f="pointer");var v=null==i?a:_u(i),g=null==l?a:_u(l),y=u.getPooled(s,i,n,r);y.type=f+"leave",y.target=v,y.relatedTarget=g;var b=u.getPooled(c,l,n,r);return b.type=f+"enter",b.target=g,b.relatedTarget=v,function(e,t,n,r){Iu(n,r,Mu,e,t)}(y,b,i,l),0==(o&Xe)?[y]:[y,b]}},Ys="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ks=Object.prototype.hasOwnProperty;function Xs(e,t){if(Ys(e,t))return!0;if("object"!==o(e)||null===e||"object"!==o(t)||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0;a<n.length;a++)if(!Ks.call(t,n[a])||!Ys(e[n[a]],t[n[a]]))return!1;return!0}var Gs=qe&&"documentMode"in document&&document.documentMode<=11,Js={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[er,cr,vr,Pr,Dr,zr,Wr,Hr,lo]}},Zs=null,ec=null,tc=null,nc=!1;function rc(e){return e.window===e?e.document:e.nodeType===Vn?e:e.ownerDocument}function oc(e,t){var n=rc(t);if(nc||null==Zs||Zs!==Tl(n))return null;var r=function(e){if("selectionStart"in e&&Ol(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Zs);if(!tc||!Xs(tc,r)){tc=r;var o=qu.getPooled(Js.select,ec,e,t);return o.type="select",o.target=Zs,Lu(o),o}return null}var ac={eventTypes:Js,extractEvents:function(e,t,n,r,o,a){var i=a||rc(r);if(!i||!function(e,t){for(var n=So(t),r=He[e],o=0;o<r.length;o++){var a=r[o];if(!n.has(a))return!1}return!0}("onSelect",i))return null;var l=t?_u(t):window;switch(e){case Pr:(bs(l)||"true"===l.contentEditable)&&(Zs=l,ec=t,tc=null);break;case er:Zs=null,ec=null,tc=null;break;case Wr:nc=!0;break;case cr:case Hr:case vr:return nc=!1,oc(n,r);case lo:if(Gs)break;case Dr:case zr:return oc(n,r)}return null}},ic=qu.extend({animationName:null,elapsedTime:null,pseudoElement:null}),lc=qu.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uc=As.extend({relatedTarget:null});function sc(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}var cc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fc={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"},dc=As.extend({key:function(e){if(e.key){var t=cc[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=sc(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?fc[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Us,charCode:function(e){return"keypress"===e.type?sc(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?sc(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),pc=Hs.extend({dataTransfer:null}),mc=As.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Us}),hc=qu.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vc=Hs.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}),gc=[Xn,rr,tr,nr,ir,Tr,Er,Sr,Cr,_r,Nr,Ir,Mr,Lr,Fr,Ar,Qr,qr,Yr,to,no,ro,ao,io,uo,so,co,po,mo,wo,ko],yc={eventTypes:Fa,extractEvents:function(e,t,n,r,o){var a,i=Ua.get(e);if(!i)return null;switch(e){case Or:if(0===sc(n))return null;case Dr:case zr:a=dc;break;case er:case Pr:a=uc;break;case ar:if(2===n.button)return null;case mr:case pr:case Wr:case jr:case Hr:case Vr:case Br:case cr:a=Hs;break;case hr:case vr:case gr:case yr:case br:case wr:case kr:case xr:a=pc;break;case ho:case vo:case go:case yo:a=mc;break;case Gn:case Jn:case Zn:a=ic;break;case bo:a=hc;break;case oo:a=As;break;case xo:a=vc;break;case fr:case dr:case $r:a=lc;break;case Rr:case Ur:case Kr:case Xr:case Gr:case Jr:case Zr:case eo:a=$s;break;default:-1===gc.indexOf(e)&&u("SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",e),a=qu}var l=a.getPooled(i,t,n,r);return Lu(l),l}};!function(e){if(Ae)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");Ae=Array.prototype.slice.call(e),Fe()}(["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]),S=Pu,C=Cu,(_=_u)&&C||u("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode."),Qe({SimpleEventPlugin:yc,EnterLeaveEventPlugin:qs,ChangeEventPlugin:Ms,SelectEventPlugin:ac,BeforeInputEventPlugin:gs});var bc="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,wc=null,kc=null,xc=null,Tc=!1,Ec=!1,Sc=!1,Cc=0,_c=0,Pc=new Set,Rc=function(e){return"⚛ "+e},Nc=function(e){performance.mark(Rc(e))},Ic=function(e,t,n){var r=Rc(t),o=function(e,t){return(t?"⛔ ":"⚛ ")+e+(t?" Warning: "+t:"")}(e,n);try{performance.measure(o,r)}catch(e){}performance.clearMarks(r),performance.clearMeasures(o)},Dc=function(e,t){return e+" (#"+t+")"},Oc=function(e,t,n){return null===n?e+" ["+(t?"update":"mount")+"]":e+"."+n},zc=function(e,t){var n=Se(e.type)||"Unknown",r=e._debugID,o=null!==e.alternate,a=Oc(n,o,t);if(Tc&&Pc.has(a))return!1;Pc.add(a);var i=Dc(a,r);return Nc(i),!0},Mc=function(e,t){var n,r=Se(e.type)||"Unknown",o=e._debugID,a=null!==e.alternate,i=Oc(r,a,t);n=Dc(i,o),performance.clearMarks(Rc(n))},Ac=function(e,t,n){var r=Se(e.type)||"Unknown",o=e._debugID,a=null!==e.alternate,i=Oc(r,a,t),l=Dc(i,o);Ic(i,l,n)},Lc=function(e){switch(e.tag){case O:case A:case L:case M:case F:case V:case W:case U:return!0;default:return!1}},Fc=function(){null!==kc&&null!==xc&&Mc(xc,kc),xc=null,kc=null,Sc=!1},Uc=function(){for(var e=wc;e;)e._debugIsCurrentlyTiming&&Ac(e,null,null),e=e.return},Wc=function e(t){null!==t.return&&e(t.return),t._debugIsCurrentlyTiming&&zc(t,null)},jc=function(){null!==wc&&Wc(wc)};function Vc(){_c++}function Bc(e){bc&&!Lc(e)&&(wc=e,zc(e,null)&&(e._debugIsCurrentlyTiming=!0))}function Hc(e){bc&&!Lc(e)&&(e._debugIsCurrentlyTiming=!1,Mc(e,null))}function $c(e){bc&&!Lc(e)&&(wc=e.return,e._debugIsCurrentlyTiming&&(e._debugIsCurrentlyTiming=!1,Ac(e,null,null)))}function Qc(e){if(bc&&!Lc(e)&&(wc=e.return,e._debugIsCurrentlyTiming)){e._debugIsCurrentlyTiming=!1;var t=e.tag===$?"Rendering was suspended":"An error was thrown inside this error boundary";Ac(e,null,t)}}function qc(e,t){bc&&(Fc(),zc(e,t)&&(xc=e,kc=t))}function Yc(){bc&&(null!==kc&&null!==xc&&Ac(xc,kc,Sc?"Scheduled a cascading update":null),kc=null,xc=null)}function Kc(e){wc=e,bc&&(Cc=0,Nc("(React Tree Reconciliation)"),jc())}function Xc(e,t){if(bc){var n=null;null!==e?n=e.tag===O?"A top-level update interrupted the previous render":"An update to "+(Se(e.type)||"Unknown")+" interrupted the previous render":Cc>1&&(n="There were cascading updates"),Cc=0;var r=t?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";Uc(),Ic(r,"(React Tree Reconciliation)",n)}}function Gc(){bc&&(_c=0,Nc("(Committing Snapshot Effects)"))}function Jc(){if(bc){var e=_c;_c=0,Ic("(Committing Snapshot Effects: "+e+" Total)","(Committing Snapshot Effects)",null)}}function Zc(){bc&&(_c=0,Nc("(Committing Host Effects)"))}function ef(){if(bc){var e=_c;_c=0,Ic("(Committing Host Effects: "+e+" Total)","(Committing Host Effects)",null)}}function tf(){bc&&(_c=0,Nc("(Calling Lifecycle Methods)"))}function nf(){if(bc){var e=_c;_c=0,Ic("(Calling Lifecycle Methods: "+e+" Total)","(Calling Lifecycle Methods)",null)}}var rf,of=[];rf=[];var af,lf=-1;function uf(e){return{current:e}}function sf(e,t){lf<0?u("Unexpected pop."):(t!==rf[lf]&&u("Unexpected Fiber popped."),e.current=of[lf],of[lf]=null,rf[lf]=null,lf--)}function cf(e,t,n){lf++,of[lf]=e.current,rf[lf]=n,e.current=t}af={};var ff={};Object.freeze(ff);var df=uf(ff),pf=uf(!1),mf=ff;function hf(e,t,n){return n&&bf(t)?mf:df.current}function vf(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function gf(e,t){var n=e.type,o=n.contextTypes;if(!o)return ff;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var i={};for(var l in o)i[l]=t[l];var u=Se(n)||"Unknown";return r(o,i,"context",u,De),a&&vf(e,t,i),i}function yf(){return pf.current}function bf(e){return null!=e.childContextTypes}function wf(e){sf(pf,e),sf(df,e)}function kf(e){sf(pf,e),sf(df,e)}function xf(e,t,n){if(df.current!==ff)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");cf(df,t,e),cf(pf,n,e)}function Tf(e,n,o){var a,i=e.stateNode,l=n.childContextTypes;if("function"!=typeof i.getChildContext){var s=Se(n)||"Unknown";return af[s]||(af[s]=!0,u("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",s,s)),o}for(var c in Me("getChildContext"),qc(e,"getChildContext"),a=i.getChildContext(),Yc(),Me(null),a)if(!(c in l))throw Error((Se(n)||"Unknown")+'.getChildContext(): key "'+c+'" is not defined in childContextTypes.');var f=Se(n)||"Unknown";return r(l,a,"child context",f,De),t({},o,{},a)}function Ef(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ff;return mf=df.current,cf(df,n,e),cf(pf,pf.current,e),!0}function Sf(e,t,n){var r=e.stateNode;if(!r)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=Tf(e,t,mf);r.__reactInternalMemoizedMergedChildContext=o,sf(pf,e),sf(df,e),cf(df,o,e),cf(pf,n,e)}else sf(pf,e),cf(pf,n,e)}function Cf(e){if(!function(e){return Qo(e)===e}(e)||e.tag!==N)throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case O:return t.stateNode.context;case N:if(bf(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var _f=0,Pf=1,Rf=2,Nf=n.unstable_runWithPriority,If=n.unstable_scheduleCallback,Df=n.unstable_cancelCallback,Of=n.unstable_shouldYield,zf=n.unstable_requestPaint,Mf=n.unstable_now,Af=n.unstable_getCurrentPriorityLevel,Lf=n.unstable_ImmediatePriority,Ff=n.unstable_UserBlockingPriority,Uf=n.unstable_NormalPriority,Wf=n.unstable_LowPriority,jf=n.unstable_IdlePriority;if(null==a.__interactionsRef||null==a.__interactionsRef.current)throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");var Vf={},Bf=99,Hf=98,$f=97,Qf=96,qf=95,Yf=90,Kf=Of,Xf=void 0!==zf?zf:function(){},Gf=null,Jf=null,Zf=!1,ed=Mf(),td=ed<1e4?Mf:function(){return Mf()-ed};function nd(){switch(Af()){case Lf:return Bf;case Ff:return Hf;case Uf:return $f;case Wf:return Qf;case jf:return qf;default:throw Error("Unknown priority level.")}}function rd(e){switch(e){case Bf:return Lf;case Hf:return Ff;case $f:return Uf;case Qf:return Wf;case qf:return jf;default:throw Error("Unknown priority level.")}}function od(e,t){var n=rd(e);return Nf(n,t)}function ad(e,t,n){var r=rd(e);return If(r,t,n)}function id(e){return null===Gf?(Gf=[e],Jf=If(Lf,ud)):Gf.push(e),Vf}function ld(){if(null!==Jf){var e=Jf;Jf=null,Df(e)}ud()}function ud(){if(!Zf&&null!==Gf){Zf=!0;var e=0;try{var t=Gf;od(Bf,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Gf=null}catch(t){throw null!==Gf&&(Gf=Gf.slice(e+1)),If(Lf,ld),t}finally{Zf=!1}}}var sd=0,cd=1,fd=2,dd=4,pd=8,md=1073741823,hd=0,vd=1,gd=2,yd=md,bd=yd-1,wd=10,kd=bd-1;function xd(e){return kd-(e/wd|0)}function Td(e){return(kd-e)*wd}function Ed(e,t,n){return kd-(1+((kd-e+t/wd)/(r=n/wd)|0))*r;var r}var Sd=5e3,Cd=250,_d=500,Pd=100;function Rd(e){return Ed(e,_d,Pd)}function Nd(e,t){if(t===yd)return Bf;if(t===vd||t===gd)return qf;var n=Td(t)-Td(e);return n<=0?Bf:n<=_d+Pd?Hf:n<=Sd+Cd?$f:qf}var Id={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Dd=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},Od=[],zd=[],Md=[],Ad=[],Ld=[],Fd=[],Ud=new Set;Id.recordUnsafeLifecycleWarnings=function(e,t){Ud.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Od.push(e),e.mode&cd&&"function"==typeof t.UNSAFE_componentWillMount&&zd.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Md.push(e),e.mode&cd&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Ad.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Ld.push(e),e.mode&cd&&"function"==typeof t.UNSAFE_componentWillUpdate&&Fd.push(e))},Id.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Od.length>0&&(Od.forEach((function(t){e.add(Se(t.type)||"Component"),Ud.add(t.type)})),Od=[]);var t=new Set;zd.length>0&&(zd.forEach((function(e){t.add(Se(e.type)||"Component"),Ud.add(e.type)})),zd=[]);var n=new Set;Md.length>0&&(Md.forEach((function(e){n.add(Se(e.type)||"Component"),Ud.add(e.type)})),Md=[]);var r=new Set;Ad.length>0&&(Ad.forEach((function(e){r.add(Se(e.type)||"Component"),Ud.add(e.type)})),Ad=[]);var o=new Set;Ld.length>0&&(Ld.forEach((function(e){o.add(Se(e.type)||"Component"),Ud.add(e.type)})),Ld=[]);var a=new Set;Fd.length>0&&(Fd.forEach((function(e){a.add(Se(e.type)||"Component"),Ud.add(e.type)})),Fd=[]),t.size>0&&u("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Dd(t)),r.size>0&&u("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n\nPlease update the following components: %s",Dd(r)),a.size>0&&u("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Dd(a)),e.size>0&&l("componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Dd(e)),n.size>0&&l("componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Dd(n)),o.size>0&&l("componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Dd(o))};var Wd=new Map,jd=new Set;Id.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&cd&&(t=n),n=n.return;return t}(e);if(null!==n){if(!jd.has(e.type)){var r=Wd.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],Wd.set(n,r)),r.push(e))}}else u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},Id.flushLegacyContextWarning=function(){Wd.forEach((function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach((function(e){r.add(Se(e.type)||"Component"),jd.add(e.type)})),u("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://fb.me/react-legacy-context%s",Dd(r),Pe(n))}}))},Id.discardPendingWarnings=function(){Od=[],zd=[],Md=[],Ad=[],Ld=[],Fd=[],Wd=new Map};var Vd=null,Bd=null,Hd=function(e){Vd=e};function $d(e){if(null===Vd)return e;var t=Vd(e);return void 0===t?e:t.current}function Qd(e){return $d(e)}function qd(e){if(null===Vd)return e;var t=Vd(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=$d(e.render);if(e.render!==n){var r={$$typeof:fe,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Yd(e,t){if(null===Vd)return!1;var n=e.elementType,r=t.type,a=!1,i="object"===o(r)&&null!==r?r.$$typeof:null;switch(e.tag){case N:"function"==typeof r&&(a=!0);break;case R:("function"==typeof r||i===he)&&(a=!0);break;case B:(i===fe||i===he)&&(a=!0);break;case Q:case q:(i===me||i===he)&&(a=!0);break;default:return!1}if(a){var l=Vd(n);if(void 0!==l&&l===Vd(r))return!0}return!1}function Kd(e){null!==Vd&&"function"==typeof WeakSet&&(null===Bd&&(Bd=new WeakSet),Bd.add(e))}var Xd=function(e,t){if(null!==Vd){var n=t.staleFamilies,r=t.updatedFamilies;cb(),Hy((function(){Jd(e.current,r,n)}))}},Gd=function(e,t){var n,r,o;e.context===ff&&(cb(),od(Bf,function(){fw(t,e,null,null)}.bind(null,n,r,o)))};function Jd(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,l=e.type,u=null;switch(i){case R:case q:case N:u=l;break;case B:u=l.render}if(null===Vd)throw new Error("Expected resolveFamily to be set during hot reload.");var s=!1,c=!1;if(null!==u){var f=Vd(u);void 0!==f&&(n.has(f)?c=!0:t.has(f)&&(i===N?c=!0:s=!0))}null!==Bd&&(Bd.has(e)||null!==r&&Bd.has(r))&&(c=!0),c&&(e._debugNeedsRemount=!0),(c||s)&&Ay(e,yd),null===o||c||Jd(o,t,n),null!==a&&Jd(a,t,n)}var Zd=function(e,t){var n=new Set,r=new Set(t.map((function(e){return e.current})));return ep(e.current,r,n),n};function ep(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,l=null;switch(a){case R:case q:case N:l=i;break;case B:l=i.render}var u=!1;null!==l&&t.has(l)&&(u=!0),u?function(e,t){var n=function(e,t){for(var n=e,r=!1;;){if(n.tag===A)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(!n)for(var r=e;;){switch(r.tag){case A:return void t.add(r.stateNode);case M:case O:return void t.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,n):null!==r&&ep(r,t,n),null!==o&&ep(o,t,n)}function tp(e,n){if(e&&e.defaultProps){var r=t({},n),o=e.defaultProps;for(var a in o)void 0===r[a]&&(r[a]=o[a]);return r}return n}function np(e){if(function(e){if(e._status===we){e._status=ke;var t=(0,e._ctor)();e._result=t,t.then((function(t){if(e._status===ke){var n=t.default;void 0===n&&u("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),e._status=xe,e._result=n}}),(function(t){e._status===ke&&(e._status=Te,e._result=t)}))}}(e),e._status!==xe)throw e._result;return e._result}var rp,op=uf(null);rp={};var ap=null,ip=null,lp=null,up=!1;function sp(){ap=null,ip=null,lp=null,up=!1}function cp(){up=!0}function fp(){up=!1}function dp(e,t){var n=e.type._context;cf(op,n._currentValue,e),n._currentValue=t,void 0!==n._currentRenderer&&null!==n._currentRenderer&&n._currentRenderer!==rp&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=rp}function pp(e){var t=op.current;sf(op,e),e.type._context._currentValue=t}function mp(e,t){for(var n=e;null!==n;){var r=n.alternate;if(n.childExpirationTime<t)n.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}n=n.return}}function hp(e,t){ap=e,ip=null,lp=null;var n=e.dependencies;null!==n&&null!==n.firstContext&&(n.expirationTime>=t&&ng(),n.firstContext=null)}function vp(e,t){if(up&&u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),lp===e);else if(!1===t||0===t);else{var n;"number"!=typeof t||t===md?(lp=e,n=md):n=t;var r={context:e,observedBits:n,next:null};if(null===ip){if(null===ap)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ip=r,ap.dependencies={expirationTime:hd,firstContext:r,responders:null}}else ip=ip.next=r}return e._currentValue}var gp,yp,bp=0,wp=1,kp=2,xp=3,Tp=!1;function Ep(e){var t={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null};e.updateQueue=t}function Sp(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,baseQueue:r.baseQueue,shared:r.shared,effects:r.effects};t.updateQueue=o}}function Cp(e,t){var n={expirationTime:e,suspenseConfig:t,tag:bp,payload:null,callback:null,next:null};return n.next=n,n.priority=nd(),n}function _p(e,t){var n=e.updateQueue;if(null!==n){var r=n.shared,o=r.pending;null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,yp!==r||gp||(u("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),gp=!0)}}function Pp(e,t){var n=e.alternate;null!==n&&Sp(n,e);var r=e.updateQueue,o=r.baseQueue;null===o?(r.baseQueue=t.next=t,t.next=t):(t.next=o.next,o.next=t)}function Rp(e,n,r,o,a,i){switch(r.tag){case wp:var l=r.payload;if("function"==typeof l){cp(),e.mode&cd&&l.call(i,o,a);var u=l.call(i,o,a);return fp(),u}return l;case xp:e.effectTag=e.effectTag&~Ho|Mo;case bp:var s,c=r.payload;return"function"==typeof c?(cp(),e.mode&cd&&c.call(i,o,a),s=c.call(i,o,a),fp()):s=c,null==s?o:t({},o,s);case kp:return Tp=!0,o}return o}function Np(e,t,n,r){var o=e.updateQueue;Tp=!1,yp=o.shared;var a=o.baseQueue,i=o.shared.pending;if(null!==i){if(null!==a){var l=a.next,u=i.next;a.next=u,i.next=l}a=i,o.shared.pending=null;var s=e.alternate;if(null!==s){var c=s.updateQueue;null!==c&&(c.baseQueue=i)}}if(null!==a){var f=a.next,d=o.baseState,p=hd,m=null,h=null,v=null;if(null!==f)for(var g=f;;){var y=g.expirationTime;if(y<r){var b={expirationTime:g.expirationTime,suspenseConfig:g.suspenseConfig,tag:g.tag,payload:g.payload,callback:g.callback,next:null};null===v?(h=v=b,m=d):v=v.next=b,y>p&&(p=y)}else{if(null!==v){var w={expirationTime:yd,suspenseConfig:g.suspenseConfig,tag:g.tag,payload:g.payload,callback:g.callback,next:null};v=v.next=w}if(Gy(y,g.suspenseConfig),d=Rp(e,0,g,d,t,n),null!==g.callback){e.effectTag|=zo;var k=o.effects;null===k?o.effects=[g]:k.push(g)}}if(null===(g=g.next)||g===f){if(null===(i=o.shared.pending))break;g=a.next=i.next,i.next=f,o.baseQueue=a=i,o.shared.pending=null}}null===v?m=d:v.next=h,o.baseState=m,o.baseQueue=v,Jy(p),e.expirationTime=p,e.memoizedState=d}yp=null}function Ip(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Dp(){Tp=!1}function Op(){return Tp}function zp(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,Ip(i,n))}}gp=!1,yp=null;var Mp=i.ReactCurrentBatchConfig;function Ap(){return Mp.suspense}var Lp,Fp,Up,Wp,jp,Vp,Bp,Hp,$p,Qp,qp={},Yp=Array.isArray,Kp=(new e.Component).refs;Lp=new Set,Fp=new Set,Up=new Set,Wp=new Set,Hp=new Set,jp=new Set,$p=new Set,Qp=new Set;var Xp=new Set;function Gp(e,n,r,o){var a=e.memoizedState;e.mode&cd&&r(o,a);var i=r(o,a);Vp(n,i);var l=null==i?a:t({},a,i);e.memoizedState=l,e.expirationTime===hd&&(e.updateQueue.baseState=l)}Bp=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;Xp.has(n)||(Xp.add(n),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Vp=function(e,t){if(void 0===t){var n=Se(e)||"Component";jp.has(n)||(jp.add(n),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(qp,"_processChildContext",{enumerable:!1,value:function(){throw Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(qp);var Jp,Zp,em,tm,nm,rm,om={isMounted:function(e){var t=$o.current;if(null!==t&&t.tag===N){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||u("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Se(n.type)||"A component"),r._warnedAboutRefsInRender=!0}var o=Co(e);return!!o&&Qo(o)===o},enqueueSetState:function(e,t,n){var r=Co(e),o=zy(),a=Ap(),i=My(o,r,a),l=Cp(i,a);l.payload=t,null!=n&&(Bp(n,"setState"),l.callback=n),_p(r,l),Ay(r,i)},enqueueReplaceState:function(e,t,n){var r=Co(e),o=zy(),a=Ap(),i=My(o,r,a),l=Cp(i,a);l.tag=wp,l.payload=t,null!=n&&(Bp(n,"replaceState"),l.callback=n),_p(r,l),Ay(r,i)},enqueueForceUpdate:function(e,t){var n=Co(e),r=zy(),o=Ap(),a=My(r,n,o),i=Cp(a,o);i.tag=kp,null!=t&&(Bp(t,"forceUpdate"),i.callback=t),_p(n,i),Ay(n,a)}};function am(e,t,n,r,o,a,i){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){e.mode&cd&&l.shouldComponentUpdate(r,a,i),qc(e,"shouldComponentUpdate");var s=l.shouldComponentUpdate(r,a,i);return Yc(),void 0===s&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Se(t)||"Component"),s}return!(t.prototype&&t.prototype.isPureReactComponent&&Xs(n,r)&&Xs(o,a))}function im(e,t){var n;t.updater=om,e.stateNode=t,n=e,t._reactInternalFiber=n,t._reactInternalInstance=qp}function lm(e,t,n){var r=!1,a=ff,i=ff,l=t.contextType;if("contextType"in t&&null!==l&&(void 0===l||l.$$typeof!==se||void 0!==l._context)&&!Qp.has(t)){Qp.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!==o(l)?" However, it is set to a "+o(l)+".":l.$$typeof===ue?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Se(t)||"Component",s)}"object"===o(l)&&null!==l?i=vp(l):(a=hf(0,t,!0),i=(r=null!=t.contextTypes)?gf(e,a):ff),e.mode&cd&&new t(n,i);var c=new t(n,i),f=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(im(e,c),"function"==typeof t.getDerivedStateFromProps&&null===f){var d=Se(t)||"Component";Fp.has(d)||(Fp.add(d),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,null===c.state?"null":"undefined",d))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,m=null,h=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?m="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(m="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?h="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(h="UNSAFE_componentWillUpdate"),null!==p||null!==m||null!==h){var v=Se(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wp.has(v)||(Wp.add(v),u("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-unsafe-component-lifecycles",v,g,null!==p?"\n "+p:"",null!==m?"\n "+m:"",null!==h?"\n "+h:""))}}return r&&vf(e,a,i),c}function um(e,t,n,r){var o=t.state;if(qc(e,"componentWillReceiveProps"),"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),Yc(),t.state!==o){var a=Se(e.type)||"Component";Lp.has(a)||(Lp.add(a),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),om.enqueueReplaceState(t,t.state,null)}}function sm(e,t,n,r){!function(e,t,n){var r=e.stateNode,a=Se(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",a)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||u("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",a),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&u("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",a),r.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),r.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),r.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),t.contextType&&t.contextTypes&&!$p.has(t)&&($p.add(t),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",a)),"function"==typeof r.componentShouldUpdate&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",a),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Se(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),"function"==typeof r.componentDidReceiveProps&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",a),"function"==typeof r.componentWillRecieveProps&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),"function"==typeof r.UNSAFE_componentWillRecieveProps&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var i=r.props!==n;void 0!==r.props&&i&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a,a),r.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||Up.has(t)||(Up.add(t),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Se(t))),"function"==typeof r.getDerivedStateFromProps&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof r.getDerivedStateFromError&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof t.getSnapshotBeforeUpdate&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a);var l=r.state;l&&("object"!==o(l)||Yp(l))&&u("%s.state: must be set to an object or null",a),"function"==typeof r.getChildContext&&"object"!==o(t.childContextTypes)&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}(e,t,n);var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Kp,Ep(e);var i=t.contextType;if("object"===o(i)&&null!==i)a.context=vp(i);else{var l=hf(0,t,!0);a.context=gf(e,l)}if(a.state===n){var s=Se(t)||"Component";Hp.has(s)||(Hp.add(s),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}e.mode&cd&&Id.recordLegacyContextWarning(e,a),Id.recordUnsafeLifecycleWarnings(e,a),Np(e,n,a,r),a.state=e.memoizedState;var c=t.getDerivedStateFromProps;"function"==typeof c&&(Gp(e,t,c,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(function(e,t){qc(e,"componentWillMount");var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),Yc(),n!==t.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Se(e.type)||"Component"),om.enqueueReplaceState(t,t.state,null))}(e,a),Np(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=No)}Jp=!1,Zp=!1,em={},tm={},nm={},rm=function(e){if(null!==e&&"object"===o(e)&&e._store&&!e._store.validated&&null==e.key){if("object"!==o(e._store))throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var t='Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+De();tm[t]||(tm[t]=!0,u('Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'))}};var cm=Array.isArray;function fm(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!==o(r)){if((e.mode&cd||it)&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var a=Se(e.type)||"Component";em[a]||(u('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref%s',r,Pe(e)),em[a]=!0)}if(n._owner){var i,l=n._owner;if(l){var s=l;if(s.tag!==N)throw Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref");i=s.stateNode}if(!i)throw Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var c=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===c)return t.ref;var f=function(e){var t=i.refs;t===Kp&&(t=i.refs={}),null===e?delete t[c]:t[c]=e};return f._stringRef=c,f}if("string"!=typeof r)throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.")}return r}function dm(e,t){var n;if("textarea"!==e.type)throw n=" If you meant to render a collection of children, use an array instead."+De(),Error("Objects are not valid as a React child (found: "+("[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t)+")."+n)}function pm(){var e="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+De();nm[e]||(nm[e]=!0,u("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function mm(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=Do}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function a(e,t){var n=Gb(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.effectTag=Ro,n):a}return t.effectTag=Ro,n}function l(t){return e&&null===t.alternate&&(t.effectTag=Ro),t}function s(e,t,n,r){if(null===t||t.tag!==L){var o=nw(n,e.mode,r);return o.return=e,o}var i=a(t,n);return i.return=e,i}function c(e,t,n,r){if(null!==t&&(t.elementType===n.type||Yd(t,n))){var o=a(t,n.props);return o.ref=fm(e,t,n),o.return=e,o._debugSource=n._source,o._debugOwner=n._owner,o}var i=ew(n,e.mode,r);return i.ref=fm(e,t,n),i.return=e,i}function f(e,t,n,r){if(null===t||t.tag!==M||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=rw(n,e.mode,r);return o.return=e,o}var i=a(t,n.children||[]);return i.return=e,i}function d(e,t,n,r,o){if(null===t||t.tag!==F){var i=tw(n,e.mode,r,o);return i.return=e,i}var l=a(t,n);return l.return=e,l}function p(e,t,n){if("string"==typeof t||"number"==typeof t){var r=nw(""+t,e.mode,n);return r.return=e,r}if("object"===o(t)&&null!==t){switch(t.$$typeof){case re:var a=ew(t,e.mode,n);return a.ref=fm(e,null,t),a.return=e,a;case oe:var i=rw(t,e.mode,n);return i.return=e,i}if(cm(t)||be(t)){var l=tw(t,e.mode,n,null);return l.return=e,l}dm(e,t)}return"function"==typeof t&&pm(),null}function m(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"===o(n)&&null!==n){switch(n.$$typeof){case re:return n.key===a?n.type===ae?d(e,t,n.props.children,r,a):c(e,t,n,r):null;case oe:return n.key===a?f(e,t,n,r):null}if(cm(n)||be(n))return null!==a?null:d(e,t,n,r,null);dm(e,n)}return"function"==typeof n&&pm(),null}function h(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return s(t,e.get(n)||null,""+r,a);if("object"===o(r)&&null!==r){switch(r.$$typeof){case re:var i=e.get(null===r.key?n:r.key)||null;return r.type===ae?d(t,i,r.props.children,a,r.key):c(t,i,r,a);case oe:return f(t,e.get(null===r.key?n:r.key)||null,r,a)}if(cm(r)||be(r))return d(t,e.get(n)||null,r,a,null);dm(t,r)}return"function"==typeof r&&pm(),null}function v(e,t){if("object"!==o(e)||null===e)return t;switch(e.$$typeof){case re:case oe:rm(e);var n=e.key;if("string"!=typeof n)break;if(null===t){(t=new Set).add(n);break}if(!t.has(n)){t.add(n);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",n)}return t}return function(s,c,f,d){var g="object"===o(f)&&null!==f&&f.type===ae&&null===f.key;g&&(f=f.props.children);var y="object"===o(f)&&null!==f;if(y)switch(f.$$typeof){case re:return l(function(e,r,o,i){for(var l=o.key,u=r;null!==u;){if(u.key===l){if(u.tag===F){if(o.type===ae){n(e,u.sibling);var s=a(u,o.props.children);return s.return=e,s._debugSource=o._source,s._debugOwner=o._owner,s}}else if(u.elementType===o.type||Yd(u,o)){n(e,u.sibling);var c=a(u,o.props);return c.ref=fm(e,u,o),c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}n(e,u);break}t(e,u),u=u.sibling}if(o.type===ae){var f=tw(o.props.children,e.mode,i,o.key);return f.return=e,f}var d=ew(o,e.mode,i);return d.ref=fm(e,r,o),d.return=e,d}(s,c,f,d));case oe:return l(function(e,r,o,i){for(var l=o.key,u=r;null!==u;){if(u.key===l){if(u.tag===M&&u.stateNode.containerInfo===o.containerInfo&&u.stateNode.implementation===o.implementation){n(e,u.sibling);var s=a(u,o.children||[]);return s.return=e,s}n(e,u);break}t(e,u),u=u.sibling}var c=rw(o,e.mode,i);return c.return=e,c}(s,c,f,d))}if("string"==typeof f||"number"==typeof f)return l(function(e,t,r,o){if(null!==t&&t.tag===L){n(e,t.sibling);var i=a(t,r);return i.return=e,i}n(e,t);var l=nw(r,e.mode,o);return l.return=e,l}(s,c,""+f,d));if(cm(f))return function(o,a,l,u){for(var s=null,c=0;c<l.length;c++)s=v(l[c],s);for(var f=null,d=null,g=a,y=0,b=0,w=null;null!==g&&b<l.length;b++){g.index>b?(w=g,g=null):w=g.sibling;var k=m(o,g,l[b],u);if(null===k){null===g&&(g=w);break}e&&g&&null===k.alternate&&t(o,g),y=i(k,y,b),null===d?f=k:d.sibling=k,d=k,g=w}if(b===l.length)return n(o,g),f;if(null===g){for(;b<l.length;b++){var x=p(o,l[b],u);null!==x&&(y=i(x,y,b),null===d?f=x:d.sibling=x,d=x)}return f}for(var T=r(0,g);b<l.length;b++){var E=h(T,o,b,l[b],u);null!==E&&(e&&null!==E.alternate&&T.delete(null===E.key?b:E.key),y=i(E,y,b),null===d?f=E:d.sibling=E,d=E)}return e&&T.forEach((function(e){return t(o,e)})),f}(s,c,f,d);if(be(f))return function(o,a,l,s){var c=be(l);if("function"!=typeof c)throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===l[Symbol.toStringTag]&&(Zp||u("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Zp=!0),l.entries===c&&(Jp||u("Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),Jp=!0);var f=c.call(l);if(f)for(var d=null,g=f.next();!g.done;g=f.next())d=v(g.value,d);var y=c.call(l);if(null==y)throw Error("An iterable object provided no iterator.");for(var b=null,w=null,k=a,x=0,T=0,E=null,S=y.next();null!==k&&!S.done;T++,S=y.next()){k.index>T?(E=k,k=null):E=k.sibling;var C=m(o,k,S.value,s);if(null===C){null===k&&(k=E);break}e&&k&&null===C.alternate&&t(o,k),x=i(C,x,T),null===w?b=C:w.sibling=C,w=C,k=E}if(S.done)return n(o,k),b;if(null===k){for(;!S.done;T++,S=y.next()){var _=p(o,S.value,s);null!==_&&(x=i(_,x,T),null===w?b=_:w.sibling=_,w=_)}return b}for(var P=r(0,k);!S.done;T++,S=y.next()){var R=h(P,o,T,S.value,s);null!==R&&(e&&null!==R.alternate&&P.delete(null===R.key?T:R.key),x=i(R,x,T),null===w?b=R:w.sibling=R,w=R)}return e&&P.forEach((function(e){return t(o,e)})),b}(s,c,f,d);if(y&&dm(s,f),"function"==typeof f&&pm(),void 0===f&&!g)switch(s.tag){case N:if(s.stateNode.render._isMockFunction)break;case R:var b=s.type;throw Error((b.displayName||b.name||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.")}return n(s,c)}}var hm=mm(!0),vm=mm(!1);function gm(e,t){for(var n=e.child;null!==n;)Jb(n,t),n=n.sibling}var ym={},bm=uf(ym),wm=uf(ym),km=uf(ym);function xm(e){if(e===ym)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Tm(){return xm(km.current)}function Em(e,t){cf(km,t,e),cf(wm,e,e),cf(bm,ym,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case Vn:case Bn:t=r===Vn?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:Mn(null,"");break;default:var a=r===jn?e.parentNode:e;n=Mn(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Ll(null,i)}}(t);sf(bm,e),cf(bm,n,e)}function Sm(e){sf(bm,e),sf(wm,e),sf(km,e)}function Cm(){return xm(bm.current)}function _m(e){xm(km.current);var t,n,r,o=xm(bm.current),a=(t=o,n=e.type,{namespace:Mn((r=t).namespace,n),ancestorInfo:Ll(r.ancestorInfo,n)});o!==a&&(cf(wm,e,e),cf(bm,a,e))}function Pm(e){wm.current===e&&(sf(bm,e),sf(wm,e))}var Rm=1,Nm=1,Im=2,Dm=uf(0);function Om(e,t){return 0!=(e&t)}function zm(e){return e&Rm}function Mm(e,t){return e&Rm|t}function Am(e,t){cf(Dm,t,e)}function Lm(e){sf(Dm,e)}function Fm(e,t){var n=e.memoizedState;if(null!==n)return null!==n.dehydrated;var r=e.memoizedProps;return void 0!==r.fallback&&(!0!==r.unstable_avoidThisFallback||!t)}function Um(e){for(var t=e;null!==t;){if(t.tag===$){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||r.data===ql||du(r))return t}}else if(t.tag===G&&void 0!==t.memoizedProps.revealOrder){if((t.effectTag&Mo)!==_o)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 Wm(e,t){var n={responder:e,props:t};return Object.freeze(n),n}var jm,Vm=1,Bm=2,Hm=4,$m=i.ReactCurrentDispatcher,Qm=i.ReactCurrentBatchConfig;jm=new Set;var qm=hd,Ym=null,Km=null,Xm=null,Gm=!1,Jm=25,Zm=null,eh=null,th=-1,nh=!1;function rh(){var e=Zm;null===eh?eh=[e]:eh.push(e)}function oh(){var e=Zm;null!==eh&&(th++,eh[th]!==e&&function(e){var t=Se(Ym.type);if(!jm.has(t)&&(jm.add(t),null!==eh)){for(var n="",r=30,o=0;o<=th;o++){for(var a=eh[o],i=o===th?e:a,l=o+1+". "+a;l.length<r;)l+=" ";n+=l+=i+"\n"}u("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://fb.me/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function ah(e){null==e||Array.isArray(e)||u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Zm,o(e))}function ih(){throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.")}function lh(e,t){if(nh)return!1;if(null===t)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Zm),!1;e.length!==t.length&&u("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Zm,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ys(e[n],t[n]))return!1;return!0}function uh(e,t,n,r,o,a){qm=a,Ym=t,eh=null!==e?e._debugHookTypes:null,th=-1,nh=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.expirationTime=hd,null!==e&&null!==e.memoizedState?$m.current=Kh:$m.current=null!==eh?Yh:qh;var i=n(r,o);if(t.expirationTime===qm){var l=0;do{if(t.expirationTime=hd,!(l<Jm))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,nh=!1,Km=null,Xm=null,t.updateQueue=null,th=-1,$m.current=Xh,i=n(r,o)}while(t.expirationTime===qm)}$m.current=Qh,t._debugHookTypes=eh;var u=null!==Km&&null!==Km.next;if(qm=hd,Ym=null,Km=null,Xm=null,Zm=null,eh=null,th=-1,Gm=!1,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return i}function sh(e,t,n){t.updateQueue=e.updateQueue,t.effectTag&=~(Fo|No),e.expirationTime<=n&&(e.expirationTime=hd)}function ch(){if($m.current=Qh,Gm)for(var e=Ym.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}qm=hd,Ym=null,Km=null,Xm=null,eh=null,th=-1,Zm=null,Gm=!1}function fh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Xm?Ym.memoizedState=Xm=e:Xm=Xm.next=e,Xm}function dh(){var e,t;if(null===Km){var n=Ym.alternate;e=null!==n?n.memoizedState:null}else e=Km.next;if(null!==(t=null===Xm?Ym.memoizedState:Xm.next))t=(Xm=t).next,Km=e;else{if(null===e)throw Error("Rendered more hooks than during the previous render.");var r={memoizedState:(Km=e).memoizedState,baseState:Km.baseState,baseQueue:Km.baseQueue,queue:Km.queue,next:null};null===Xm?Ym.memoizedState=Xm=r:Xm=Xm.next=r}return Xm}function ph(e,t){return"function"==typeof t?t(e):t}function mh(e,t,n){var r,o=fh();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a=o.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i=a.dispatch=$h.bind(null,Ym,a);return[o.memoizedState,i]}function hh(e,t,n){var r=dh(),o=r.queue;if(null===o)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=Km,i=a.baseQueue,l=o.pending;if(null!==l){if(null!==i){var u=i.next,s=l.next;i.next=s,l.next=u}a.baseQueue=i=l,o.pending=null}if(null!==i){var c=i.next,f=a.baseState,d=null,p=null,m=null,h=c;do{var v=h.expirationTime;if(v<qm){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,action:h.action,eagerReducer:h.eagerReducer,eagerState:h.eagerState,next:null};null===m?(p=m=g,d=f):m=m.next=g,v>Ym.expirationTime&&(Ym.expirationTime=v,Jy(v))}else{if(null!==m){var y={expirationTime:yd,suspenseConfig:h.suspenseConfig,action:h.action,eagerReducer:h.eagerReducer,eagerState:h.eagerState,next:null};m=m.next=y}Gy(v,h.suspenseConfig),f=h.eagerReducer===e?h.eagerState:e(f,h.action)}h=h.next}while(null!==h&&h!==c);null===m?d=f:m.next=p,Ys(f,r.memoizedState)||ng(),r.memoizedState=f,r.baseState=d,r.baseQueue=m,o.lastRenderedState=f}var b=o.dispatch;return[r.memoizedState,b]}function vh(e,t,n){var r=dh(),o=r.queue;if(null===o)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,l=r.memoizedState;if(null!==i){o.pending=null;var u=i.next,s=u;do{l=e(l,s.action),s=s.next}while(s!==u);Ys(l,r.memoizedState)||ng(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),o.lastRenderedState=l}return[l,a]}function gh(e){var t=fh();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n=t.queue={pending:null,dispatch:null,lastRenderedReducer:ph,lastRenderedState:e},r=n.dispatch=$h.bind(null,Ym,n);return[t.memoizedState,r]}function yh(e){return hh(ph)}function bh(e){return vh(ph)}function wh(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=Ym.updateQueue;if(null===a)a={lastEffect:null},Ym.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var l=i.next;i.next=o,o.next=l,a.lastEffect=o}}return o}function kh(e){var t=fh(),n={current:e};return Object.seal(n),t.memoizedState=n,n}function xh(e){return dh().memoizedState}function Th(e,t,n,r){var o=fh(),a=void 0===r?null:r;Ym.effectTag|=e,o.memoizedState=wh(Vm|t,n,void 0,a)}function Eh(e,t,n,r){var o=dh(),a=void 0===r?null:r,i=void 0;if(null!==Km){var l=Km.memoizedState;if(i=l.destroy,null!==a&&lh(a,l.deps))return void wh(t,n,i,a)}Ym.effectTag|=e,o.memoizedState=wh(Vm|t,n,i,a)}function Sh(e,t){return"undefined"!=typeof jest&&Cb(Ym),Th(No|Fo,Hm,e,t)}function Ch(e,t){return"undefined"!=typeof jest&&Cb(Ym),Eh(No|Fo,Hm,e,t)}function _h(e,t){return Th(No,Bm,e,t)}function Ph(e,t){return Eh(No,Bm,e,t)}function Rh(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var a=e();return o.current=a,function(){o.current=null}}}function Nh(e,t,n){"function"!=typeof t&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?o(t):"null");var r=null!=n?n.concat([e]):null;return Th(No,Bm,Rh.bind(null,t,e),r)}function Ih(e,t,n){"function"!=typeof t&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?o(t):"null");var r=null!=n?n.concat([e]):null;return Eh(No,Bm,Rh.bind(null,t,e),r)}function Dh(e,t){}var Oh=Dh;function zh(e,t){var n=void 0===t?null:t;return fh().memoizedState=[e,n],e}function Mh(e,t){var n=dh(),r=void 0===t?null:t,o=n.memoizedState;return null!==o&&null!==r&&lh(r,o[1])?o[0]:(n.memoizedState=[e,r],e)}function Ah(e,t){var n=fh(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function Lh(e,t){var n=dh(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&null!==r&&lh(r,o[1]))return o[0];var a=e();return n.memoizedState=[a,r],a}function Fh(e,t){var n=gh(e),r=n[0],o=n[1];return Sh((function(){var n=Qm.suspense;Qm.suspense=void 0===t?null:t;try{o(e)}finally{Qm.suspense=n}}),[e,t]),r}function Uh(e,t){var n=yh(),r=n[0],o=n[1];return Ch((function(){var n=Qm.suspense;Qm.suspense=void 0===t?null:t;try{o(e)}finally{Qm.suspense=n}}),[e,t]),r}function Wh(e,t){var n=bh(),r=n[0],o=n[1];return Ch((function(){var n=Qm.suspense;Qm.suspense=void 0===t?null:t;try{o(e)}finally{Qm.suspense=n}}),[e,t]),r}function jh(e,t,n){var r=nd();od(r<Hf?Hf:r,(function(){e(!0)})),od(r>$f?$f:r,(function(){var r=Qm.suspense;Qm.suspense=void 0===t?null:t;try{e(!1),n()}finally{Qm.suspense=r}}))}function Vh(e){var t=gh(!1),n=t[0],r=t[1];return[zh(jh.bind(null,r,e),[r,e]),n]}function Bh(e){var t=yh(),n=t[0],r=t[1];return[Mh(jh.bind(null,r,e),[r,e]),n]}function Hh(e){var t=bh(),n=t[0],r=t[1];return[Mh(jh.bind(null,r,e),[r,e]),n]}function $h(e,t,n){"function"==typeof arguments[3]&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=zy(),o=Ap(),a=My(r,e,o),i={expirationTime:a,suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};i.priority=nd();var l=t.pending;null===l?i.next=i:(i.next=l.next,l.next=i),t.pending=i;var s=e.alternate;if(e===Ym||null!==s&&s===Ym)Gm=!0,i.expirationTime=qm,Ym.expirationTime=qm;else{if(e.expirationTime===hd&&(null===s||s.expirationTime===hd)){var c=t.lastRenderedReducer;if(null!==c){var f;f=$m.current,$m.current=Jh;try{var d=t.lastRenderedState,p=c(d,n);if(i.eagerReducer=c,i.eagerState=p,Ys(p,d))return}catch(e){}finally{$m.current=f}}}"undefined"!=typeof jest&&(Sb(e),_b(e)),Ay(e,a)}}var Qh={readContext:vp,useCallback:ih,useContext:ih,useEffect:ih,useImperativeHandle:ih,useLayoutEffect:ih,useMemo:ih,useReducer:ih,useRef:ih,useState:ih,useDebugValue:ih,useResponder:ih,useDeferredValue:ih,useTransition:ih},qh=null,Yh=null,Kh=null,Xh=null,Gh=null,Jh=null,Zh=null,ev=function(){u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},tv=function(){u("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://fb.me/rules-of-hooks")};qh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",rh(),ah(t),zh(e,t)},useContext:function(e,t){return Zm="useContext",rh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",rh(),ah(t),Sh(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",rh(),ah(n),Nh(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",rh(),ah(t),_h(e,t)},useMemo:function(e,t){Zm="useMemo",rh(),ah(t);var n=$m.current;$m.current=Gh;try{return Ah(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",rh();var r=$m.current;$m.current=Gh;try{return mh(e,t,n)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",rh(),kh(e)},useState:function(e){Zm="useState",rh();var t=$m.current;$m.current=Gh;try{return gh(e)}finally{$m.current=t}},useDebugValue:function(e,t){Zm="useDebugValue",rh()},useResponder:function(e,t){return Zm="useResponder",rh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",rh(),Fh(e,t)},useTransition:function(e){return Zm="useTransition",rh(),Vh(e)}},Yh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",oh(),zh(e,t)},useContext:function(e,t){return Zm="useContext",oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",oh(),Sh(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",oh(),Nh(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",oh(),_h(e,t)},useMemo:function(e,t){Zm="useMemo",oh();var n=$m.current;$m.current=Gh;try{return Ah(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",oh();var r=$m.current;$m.current=Gh;try{return mh(e,t,n)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",oh(),kh(e)},useState:function(e){Zm="useState",oh();var t=$m.current;$m.current=Gh;try{return gh(e)}finally{$m.current=t}},useDebugValue:function(e,t){Zm="useDebugValue",oh()},useResponder:function(e,t){return Zm="useResponder",oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",oh(),Fh(e,t)},useTransition:function(e){return Zm="useTransition",oh(),Vh(e)}},Kh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",oh();var n=$m.current;$m.current=Jh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",oh();var r=$m.current;$m.current=Jh;try{return hh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",oh(),xh()},useState:function(e){Zm="useState",oh();var t=$m.current;$m.current=Jh;try{return yh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",oh(),Uh(e,t)},useTransition:function(e){return Zm="useTransition",oh(),Bh(e)}},Xh={readContext:function(e,t){return vp(e,t)},useCallback:function(e,t){return Zm="useCallback",oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",oh();var n=$m.current;$m.current=Zh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",oh();var r=$m.current;$m.current=Zh;try{return vh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",oh(),xh()},useState:function(e){Zm="useState",oh();var t=$m.current;$m.current=Zh;try{return bh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",oh(),Wh(e,t)},useTransition:function(e){return Zm="useTransition",oh(),Hh(e)}},Gh={readContext:function(e,t){return ev(),vp(e,t)},useCallback:function(e,t){return Zm="useCallback",tv(),rh(),zh(e,t)},useContext:function(e,t){return Zm="useContext",tv(),rh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",tv(),rh(),Sh(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",tv(),rh(),Nh(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",tv(),rh(),_h(e,t)},useMemo:function(e,t){Zm="useMemo",tv(),rh();var n=$m.current;$m.current=Gh;try{return Ah(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",tv(),rh();var r=$m.current;$m.current=Gh;try{return mh(e,t,n)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",tv(),rh(),kh(e)},useState:function(e){Zm="useState",tv(),rh();var t=$m.current;$m.current=Gh;try{return gh(e)}finally{$m.current=t}},useDebugValue:function(e,t){Zm="useDebugValue",tv(),rh()},useResponder:function(e,t){return Zm="useResponder",tv(),rh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",tv(),rh(),Fh(e,t)},useTransition:function(e){return Zm="useTransition",tv(),rh(),Vh(e)}},Jh={readContext:function(e,t){return ev(),vp(e,t)},useCallback:function(e,t){return Zm="useCallback",tv(),oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",tv(),oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",tv(),oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",tv(),oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",tv(),oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",tv(),oh();var n=$m.current;$m.current=Jh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",tv(),oh();var r=$m.current;$m.current=Jh;try{return hh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",tv(),oh(),xh()},useState:function(e){Zm="useState",tv(),oh();var t=$m.current;$m.current=Jh;try{return yh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",tv(),oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",tv(),oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",tv(),oh(),Uh(e,t)},useTransition:function(e){return Zm="useTransition",tv(),oh(),Bh(e)}},Zh={readContext:function(e,t){return ev(),vp(e,t)},useCallback:function(e,t){return Zm="useCallback",tv(),oh(),Mh(e,t)},useContext:function(e,t){return Zm="useContext",tv(),oh(),vp(e,t)},useEffect:function(e,t){return Zm="useEffect",tv(),oh(),Ch(e,t)},useImperativeHandle:function(e,t,n){return Zm="useImperativeHandle",tv(),oh(),Ih(e,t,n)},useLayoutEffect:function(e,t){return Zm="useLayoutEffect",tv(),oh(),Ph(e,t)},useMemo:function(e,t){Zm="useMemo",tv(),oh();var n=$m.current;$m.current=Jh;try{return Lh(e,t)}finally{$m.current=n}},useReducer:function(e,t,n){Zm="useReducer",tv(),oh();var r=$m.current;$m.current=Jh;try{return vh(e)}finally{$m.current=r}},useRef:function(e){return Zm="useRef",tv(),oh(),xh()},useState:function(e){Zm="useState",tv(),oh();var t=$m.current;$m.current=Jh;try{return bh()}finally{$m.current=t}},useDebugValue:function(e,t){return Zm="useDebugValue",tv(),oh(),Oh()},useResponder:function(e,t){return Zm="useResponder",tv(),oh(),Wm(e,t)},useDeferredValue:function(e,t){return Zm="useDeferredValue",tv(),oh(),Wh(e,t)},useTransition:function(e){return Zm="useTransition",tv(),oh(),Hh(e)}};var nv=n.unstable_now,rv=0,ov=-1;function av(){rv=nv()}function iv(e){ov=nv(),e.actualStartTime<0&&(e.actualStartTime=nv())}function lv(e){ov=-1}function uv(e,t){if(ov>=0){var n=nv()-ov;e.actualDuration+=n,t&&(e.selfBaseDuration=n),ov=-1}}var sv=null,cv=null,fv=!1;function dv(e,t){switch(e.tag){case O:!function(e,t){t.nodeType===Un?bl(e,t):t.nodeType===jn||wl(e,t)}(e.stateNode.containerInfo,t);break;case A:!function(e,t,n,r){!0!==t[Bl]&&(r.nodeType===Un?bl(n,r):r.nodeType===jn||wl(n,r))}(e.type,e.memoizedProps,e.stateNode,t)}var n,r=((n=Kb(A,null,null,sd)).elementType="DELETED",n.type="DELETED",n);r.stateNode=t,r.return=e,r.effectTag=Do,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function pv(e,t){switch(t.effectTag=t.effectTag&~Uo|Ro,e.tag){case O:var n=e.stateNode.containerInfo;switch(t.tag){case A:var r=t.type;t.pendingProps,function(e,t,n){kl(e,t)}(n,r);break;case L:!function(e,t){xl(e,t)}(n,t.pendingProps)}break;case A:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case A:var i=t.type;t.pendingProps,function(e,t,n,r,o){!0!==t[Bl]&&kl(n,r)}(0,o,a,i);break;case L:!function(e,t,n,r){!0!==t[Bl]&&xl(n,r)}(0,o,a,t.pendingProps);break;case $:!function(e,t,n){t[Bl]}(0,o)}break;default:return}}function mv(e,t){switch(e.tag){case A:var n=e.type;e.pendingProps;var r=function(e,t,n){return e.nodeType!==Un||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,!0);case L:var o=function(e,t){return""===t||e.nodeType!==Wn?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,!0);default:return!1}}function hv(e){if(fv){var t=cv;if(!t)return pv(sv,e),fv=!1,void(sv=e);var n=t;if(!mv(e,t)){if(!(t=mu(n))||!mv(e,t))return pv(sv,e),fv=!1,void(sv=e);dv(sv,n)}sv=e,cv=hu(t)}}function vv(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return xu(n,e),function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=sv;if(null!==o)switch(o.tag){case O:o.stateNode.containerInfo,function(e,t,n){yl(t,n)}(0,t,n);break;case A:o.type;var a=o.memoizedProps;o.stateNode,function(e,t,n,r,o){!0!==t[Bl]&&yl(r,o)}(0,a,0,t,n)}}return r}function gv(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===jn){var r=t.data;if(r===Ql){if(0===n)return mu(t);n--}else r!==$l&&r!==Yl&&r!==ql||n++}t=t.nextSibling}return null}(n)}function yv(e){for(var t=e.return;null!==t&&t.tag!==A&&t.tag!==O&&t.tag!==$;)t=t.return;sv=t}function bv(e){if(e!==sv)return!1;if(!fv)return yv(e),fv=!0,!1;var t=e.type;if(e.tag!==A||"head"!==t&&"body"!==t&&!tu(t,e.memoizedProps))for(var n=cv;n;)dv(e,n),n=mu(n);return yv(e),cv=e.tag===$?gv(e):sv?mu(e.stateNode):null,!0}function wv(){sv=null,cv=null,fv=!1}var kv,xv,Tv,Ev,Sv,Cv,_v,Pv,Rv,Nv=i.ReactCurrentOwner,Iv=!1;function Dv(e,t,n,r){t.child=null===e?vm(t,null,n,r):hm(t,e.child,n,r)}function Ov(e,t,n,o,a){if(t.type!==t.elementType){var i=n.propTypes;i&&r(i,o,"prop",Se(n),De)}var l,u=n.render,s=t.ref;return hp(t,a),Nv.current=t,Me("render"),l=uh(e,t,u,o,s,a),t.mode&cd&&null!==t.memoizedState&&(l=uh(e,t,u,o,s,a)),Me(null),null===e||Iv?(t.effectTag|=Po,Dv(e,t,l,a),t.child):(sh(e,t,a),rg(e,t,a))}function zv(e,t,n,o,a,i){if(null===e){var l,u=n.type;if(function(e){return"function"==typeof e&&!Xb(e)&&void 0===e.defaultProps}(u)&&null===n.compare&&void 0===n.defaultProps)return l=$d(u),t.tag=q,t.type=l,Bv(t,u),Mv(e,t,l,o,a,i);var s=u.propTypes;s&&r(s,o,"prop",Se(u),De);var c=Zb(n.type,null,o,null,t.mode,i);return c.ref=t.ref,c.return=t,t.child=c,c}var f=n.type,d=f.propTypes;d&&r(d,o,"prop",Se(f),De);var p=e.child;if(a<i){var m=p.memoizedProps,h=n.compare;if((h=null!==h?h:Xs)(m,o)&&e.ref===t.ref)return rg(e,t,i)}t.effectTag|=Po;var v=Gb(p,o);return v.ref=t.ref,v.return=t,t.child=v,v}function Mv(e,t,n,o,a,i){if(t.type!==t.elementType){var l=t.elementType;l.$$typeof===he&&(l=Ee(l));var u=l&&l.propTypes;u&&r(u,o,"prop",Se(l),De)}return null!==e&&Xs(e.memoizedProps,o)&&e.ref===t.ref&&t.type===e.type&&(Iv=!1,a<i)?(t.expirationTime=e.expirationTime,rg(e,t,i)):Lv(e,t,n,o,i)}function Av(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=Ao)}function Lv(e,t,n,o,a){if(t.type!==t.elementType){var i=n.propTypes;i&&r(i,o,"prop",Se(n),De)}var l,u;return l=gf(t,hf(0,n,!0)),hp(t,a),Nv.current=t,Me("render"),u=uh(e,t,n,o,l,a),t.mode&cd&&null!==t.memoizedState&&(u=uh(e,t,n,o,l,a)),Me(null),null===e||Iv?(t.effectTag|=Po,Dv(e,t,u,a),t.child):(sh(e,t,a),rg(e,t,a))}function Fv(e,t,n,a,i){if(t.type!==t.elementType){var l=n.propTypes;l&&r(l,a,"prop",Se(n),De)}var s,c;bf(n)?(s=!0,Ef(t)):s=!1,hp(t,i),null===t.stateNode?(null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro),lm(t,n,a),sm(t,n,a,i),c=!0):c=null===e?function(e,t,n,r){var a=e.stateNode,i=e.memoizedProps;a.props=i;var l=a.context,u=t.contextType,s=ff;s="object"===o(u)&&null!==u?vp(u):gf(e,hf(0,t,!0));var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===n&&l===s||um(e,a,n,s),Dp();var d=e.memoizedState,p=a.state=d;if(Np(e,n,a,r),p=e.memoizedState,i===n&&d===p&&!yf()&&!Op())return"function"==typeof a.componentDidMount&&(e.effectTag|=No),!1;"function"==typeof c&&(Gp(e,t,c,n),p=e.memoizedState);var m=Op()||am(e,t,i,n,d,p,s);return m?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(qc(e,"componentWillMount"),"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),Yc()),"function"==typeof a.componentDidMount&&(e.effectTag|=No)):("function"==typeof a.componentDidMount&&(e.effectTag|=No),e.memoizedProps=n,e.memoizedState=p),a.props=n,a.state=p,a.context=s,m}(t,n,a,i):function(e,t,n,r,a){var i=t.stateNode;Sp(e,t);var l=t.memoizedProps;i.props=t.type===t.elementType?l:tp(t.type,l);var u=i.context,s=n.contextType,c=ff;c="object"===o(s)&&null!==s?vp(s):gf(t,hf(0,n,!0));var f=n.getDerivedStateFromProps,d="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||l===r&&u===c||um(t,i,r,c),Dp();var p=t.memoizedState,m=i.state=p;if(Np(t,r,i,a),m=t.memoizedState,l===r&&p===m&&!yf()&&!Op())return"function"==typeof i.componentDidUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=No)),"function"==typeof i.getSnapshotBeforeUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Lo)),!1;"function"==typeof f&&(Gp(t,n,f,r),m=t.memoizedState);var h=Op()||am(t,n,l,r,p,m,c);return h?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||(qc(t,"componentWillUpdate"),"function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,c),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,c),Yc()),"function"==typeof i.componentDidUpdate&&(t.effectTag|=No),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=Lo)):("function"==typeof i.componentDidUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=No)),"function"==typeof i.getSnapshotBeforeUpdate&&(l===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Lo)),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=c,h}(e,t,n,a,i);var f=Uv(e,t,n,c,s,i);return t.stateNode.props!==a&&(Cv||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Se(t.type)||"a component"),Cv=!0),f}function Uv(e,t,n,r,o,a){Av(e,t);var i=(t.effectTag&Mo)!==_o;if(!r&&!i)return o&&Sf(t,n,!1),rg(e,t,a);var l,u=t.stateNode;return Nv.current=t,i&&"function"!=typeof n.getDerivedStateFromError?(l=null,lv()):(Me("render"),l=u.render(),t.mode&cd&&u.render(),Me(null)),t.effectTag|=Po,null!==e&&i?function(e,t,n,r){t.child=hm(t,e.child,null,r),t.child=hm(t,null,n,r)}(e,t,l,a):Dv(e,t,l,a),t.memoizedState=u.state,o&&Sf(t,n,!0),t.child}function Wv(e){var t=e.stateNode;t.pendingContext?xf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xf(e,t.context,!1),Em(e,t.containerInfo)}function jv(e,t,n){Wv(t);var r=t.updateQueue;if(null===e||null===r)throw Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");var o=t.pendingProps,a=t.memoizedState,i=null!==a?a.element:null;Sp(e,t),Np(t,o,null,n);var l,u,s=t.memoizedState.element;if(s===i)return wv(),rg(e,t,n);if(t.stateNode.hydrate&&(u=(l=t).stateNode.containerInfo,cv=hu(u),sv=l,fv=!0,1)){var c=vm(t,null,s,n);t.child=c;for(var f=c;f;)f.effectTag=f.effectTag&~Ro|Uo,f=f.sibling}else Dv(e,t,s,n),wv();return t.child}function Vv(e,t,n,a,i){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro);var l=t.pendingProps;Hc(t);var u=np(n);t.type=u;var s=t.tag=function(e){if("function"==typeof e)return Xb(e)?N:R;if(null!=e){var t=e.$$typeof;if(t===fe)return B;if(t===me)return Q}return I}(u);Bc(t);var c=tp(u,l);switch(s){case R:return Bv(t,u),t.type=u=$d(u),Lv(null,t,u,c,i);case N:return t.type=u=Qd(u),Fv(null,t,u,c,i);case B:return t.type=u=qd(u),Ov(null,t,u,c,i);case Q:if(t.type!==t.elementType){var f=u.propTypes;f&&r(f,c,"prop",Se(u),De)}return zv(null,t,u,tp(u.type,c),a,i)}var d="";throw null!==u&&"object"===o(u)&&u.$$typeof===he&&(d=" Did you wrap a component in React.lazy() more than once?"),Error("Element type is invalid. Received a promise that resolves to: "+u+". Lazy element type must resolve to a class or function."+d)}function Bv(e,t){if(t&&t.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Ie();r&&(n+="\n\nCheck the render method of `"+r+"`.");var a=r||e._debugID||"",i=e._debugSource;i&&(a=i.fileName+":"+i.lineNumber),Sv[a]||(Sv[a]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var l=Se(t)||"Unknown";Ev[l]||(u("%s: Function components do not support getDerivedStateFromProps.",l),Ev[l]=!0)}if("object"===o(t.contextType)&&null!==t.contextType){var s=Se(t)||"Unknown";Tv[s]||(u("%s: Function components do not support contextType.",s),Tv[s]=!0)}}kv={},xv={},Tv={},Ev={},Sv={},Cv=!1,_v=!1,Pv={},Rv={};var Hv={dehydrated:null,retryTime:hd};function $v(e,t,n){var r=t.mode,o=t.pendingProps;ww(t)&&(t.effectTag|=Mo);var a=Dm.current,i=!1;if((t.effectTag&Mo)!==_o||function(e,t,n){return Om(e,Im)&&(null===t||null!==t.memoizedState)}(a,e)?(i=!0,t.effectTag&=~Mo):null!==e&&null===e.memoizedState||void 0!==o.fallback&&!0!==o.unstable_avoidThisFallback&&(a|=Nm),Am(t,a=zm(a)),"maxDuration"in o&&(_v||(_v=!0,u("maxDuration has been removed from React. Remove the maxDuration prop."))),null===e){if(void 0!==o.fallback&&hv(t),i){var l=o.fallback,s=tw(null,r,hd,null);if(s.return=t,(t.mode&fd)===sd){var c=null!==t.memoizedState?t.child.child:t.child;s.child=c;for(var f=c;null!==f;)f.return=s,f=f.sibling}var d=tw(l,r,n,null);return d.return=t,s.sibling=d,t.memoizedState=Hv,t.child=s,d}var p=o.children;return t.memoizedState=null,t.child=vm(t,null,p,n)}if(null!==e.memoizedState){var m=e.child,h=m.sibling;if(i){var v=o.fallback,g=Gb(m,m.pendingProps);if(g.return=t,(t.mode&fd)===sd){var y=null!==t.memoizedState?t.child.child:t.child;if(y!==m.child){g.child=y;for(var b=y;null!==b;)b.return=g,b=b.sibling}}if(t.mode&pd){for(var w=0,k=g.child;null!==k;)w+=k.treeBaseDuration,k=k.sibling;g.treeBaseDuration=w}var x=Gb(h,v);return x.return=t,g.sibling=x,g.childExpirationTime=hd,t.memoizedState=Hv,t.child=g,x}var T=o.children,E=m.child,S=hm(t,E,T,n);return t.memoizedState=null,t.child=S}var C=e.child;if(i){var _=o.fallback,P=tw(null,r,hd,null);if(P.return=t,P.child=C,null!==C&&(C.return=P),(t.mode&fd)===sd){var R=null!==t.memoizedState?t.child.child:t.child;P.child=R;for(var N=R;null!==N;)N.return=P,N=N.sibling}if(t.mode&pd){for(var I=0,D=P.child;null!==D;)I+=D.treeBaseDuration,D=D.sibling;P.treeBaseDuration=I}var O=tw(_,r,n,null);return O.return=t,P.sibling=O,O.effectTag|=Ro,P.childExpirationTime=hd,t.memoizedState=Hv,t.child=P,O}t.memoizedState=null;var z=o.children;return t.child=hm(t,C,z,n)}function Qv(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),mp(e.return,t)}function qv(e,t){var n=Array.isArray(e),r=!n&&"function"==typeof be(e);if(n||r){var o=n?"array":"iterable";return u("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function Yv(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=o,i.lastEffect=a)}function Kv(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,i=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Pv[e])if(Pv[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||Rv[e]||("collapsed"!==e&&"hidden"!==e?(Rv[e]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Rv[e]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(a,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(!qv(e[n],n))return}else{var r=be(e);if("function"==typeof r){var o=r.call(e);if(o)for(var a=o.next(),i=0;!a.done;a=o.next()){if(!qv(a.value,i))return;i++}}else u('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(i,o),Dv(e,t,i,n);var l=Dm.current;if(Om(l,Im)?(l=Mm(l,Im),t.effectTag|=Mo):(null!==e&&(e.effectTag&Mo)!==_o&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===$)null!==r.memoizedState&&Qv(r,n);else if(r.tag===G)Qv(r,n);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),l=zm(l)),Am(t,l),(t.mode&fd)===sd)t.memoizedState=null;else switch(o){case"forwards":var s,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Um(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(s=t.child,t.child=null):(s=c.sibling,c.sibling=null),Yv(t,!1,s,c,a,t.lastEffect);break;case"backwards":var f=null,d=t.child;for(t.child=null;null!==d;){var p=d.alternate;if(null!==p&&null===Um(p)){t.child=d;break}var m=d.sibling;d.sibling=f,f=d,d=m}Yv(t,!0,f,null,a,t.lastEffect);break;case"together":Yv(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xv(e,t,n){var o=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,s=t.type.propTypes;if(s&&r(s,a,"prop","Context.Provider",De),dp(t,l),null!==i){var c=function(e,t,n){if(Ys(n,t))return 0;var r="function"==typeof e._calculateChangedBits?e._calculateChangedBits(n,t):md;return(r&md)!==r&&u("calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",r),0|r}(o,l,i.value);if(0===c){if(i.children===a.children&&!yf())return rg(e,t,n)}else!function(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=void 0,i=o.dependencies;if(null!==i){a=o.child;for(var l=i.firstContext;null!==l;){if(l.context===t&&0!=(l.observedBits&n)){if(o.tag===N){var u=Cp(r,null);u.tag=kp,_p(o,u)}o.expirationTime<r&&(o.expirationTime=r);var s=o.alternate;null!==s&&s.expirationTime<r&&(s.expirationTime=r),mp(o.return,r),i.expirationTime<r&&(i.expirationTime=r);break}l=l.next}}else a=o.tag===V&&o.type===e.type?null:o.child;if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===e){a=null;break}var c=a.sibling;if(null!==c){c.return=a.return,a=c;break}a=a.return}o=a}}(t,o,c,n)}return Dv(e,t,a.children,n),t.child}var Gv,Jv,Zv,eg,tg=!1;function ng(){Iv=!0}function rg(e,t,n){Hc(t),null!==e&&(t.dependencies=e.dependencies),lv();var r=t.expirationTime;return r!==hd&&Jy(r),t.childExpirationTime<n?null:(function(e,t){if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=Gb(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=Gb(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child)}function og(e,t,n){var a=t.expirationTime;if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.lastEffect;return null!==a?(a.nextEffect=e,r.lastEffect=e):r.firstEffect=r.lastEffect=e,e.nextEffect=null,e.effectTag=Do,n.effectTag|=Ro,n}(e,t,Zb(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.expirationTime));if(null!==e){var i=e.memoizedProps,l=t.pendingProps;if(i!==l||yf()||t.type!==e.type)Iv=!0;else{if(a<n){switch(Iv=!1,t.tag){case O:Wv(t),wv();break;case A:if(_m(t),t.mode&dd&&n!==vd&&nu(t.type,l))return Nb(vd),t.expirationTime=t.childExpirationTime=vd,null;break;case N:bf(t.type)&&Ef(t);break;case M:Em(t,t.stateNode.containerInfo);break;case V:dp(t,t.memoizedProps.value);break;case H:t.childExpirationTime>=n&&(t.effectTag|=No);break;case $:if(null!==t.memoizedState){var s=t.child.childExpirationTime;if(s!==hd&&s>=n)return $v(e,t,n);Am(t,zm(Dm.current));var c=rg(e,t,n);return null!==c?c.sibling:null}Am(t,zm(Dm.current));break;case G:var f=(e.effectTag&Mo)!==_o,d=t.childExpirationTime>=n;if(f){if(d)return Kv(e,t,n);t.effectTag|=Mo}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null),Am(t,Dm.current),d)break;return null}return rg(e,t,n)}Iv=!1}}else Iv=!1;switch(t.expirationTime=hd,t.tag){case I:return function(e,t,n,r){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro);var a,i,l=t.pendingProps;if(a=gf(t,hf(0,n,!1)),hp(t,r),n.prototype&&"function"==typeof n.prototype.render){var s=Se(n)||"Unknown";kv[s]||(u("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",s,s),kv[s]=!0)}if(t.mode&cd&&Id.recordLegacyContextWarning(t,null),Nv.current=t,i=uh(null,t,n,l,a,r),t.effectTag|=Po,"object"===o(i)&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var c=Se(n)||"Unknown";xv[c]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),xv[c]=!0),t.tag=N,t.memoizedState=null,t.updateQueue=null;var f=!1;bf(n)?(f=!0,Ef(t)):f=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Ep(t);var d=n.getDerivedStateFromProps;return"function"==typeof d&&Gp(t,n,d,l),im(t,i),sm(t,n,l,r),Uv(null,t,n,!0,f,r)}return t.tag=R,t.mode&cd&&null!==t.memoizedState&&(i=uh(null,t,n,l,a,r)),Dv(null,t,i,r),Bv(t,n),t.child}(e,t,t.type,n);case Y:return Vv(e,t,t.elementType,a,n);case R:var m=t.type,h=t.pendingProps;return Lv(e,t,m,t.elementType===m?h:tp(m,h),n);case N:var v=t.type,g=t.pendingProps;return Fv(e,t,v,t.elementType===v?g:tp(v,g),n);case O:return jv(e,t,n);case A:return function(e,t,n){_m(t),null===e&&hv(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return tu(r,o)?i=null:null!==a&&tu(r,a)&&(t.effectTag|=Oo),Av(e,t),t.mode&dd&&n!==vd&&nu(0,o)?(Nb(vd),t.expirationTime=t.childExpirationTime=vd,null):(Dv(e,t,i,n),t.child)}(e,t,n);case L:return function(e,t){return null===e&&hv(t),null}(e,t);case $:return $v(e,t,n);case M:return function(e,t,n){Em(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=hm(t,null,r,n):Dv(e,t,r,n),t.child}(e,t,n);case B:var y=t.type,b=t.pendingProps;return Ov(e,t,y,t.elementType===y?b:tp(y,b),n);case F:return function(e,t,n){return Dv(e,t,t.pendingProps,n),t.child}(e,t,n);case U:return function(e,t,n){return Dv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case H:return function(e,t,n){return t.effectTag|=No,Dv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case V:return Xv(e,t,n);case W:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(tg||(tg=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps,a=o.children;"function"!=typeof a&&u("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),hp(t,n);var i,l=vp(r,o.unstable_observedBits);return Nv.current=t,Me("render"),i=a(l),Me(null),t.effectTag|=Po,Dv(e,t,i,n),t.child}(e,t,n);case Q:var w=t.type,k=tp(w,t.pendingProps);if(t.type!==t.elementType){var x=w.propTypes;x&&r(x,k,"prop",Se(w),De)}return zv(e,t,w,k=tp(w.type,k),a,n);case q:return Mv(e,t,t.type,t.pendingProps,a,n);case K:var T=t.type,E=t.pendingProps;return function(e,t,n,r,o){var a;return null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=Ro),t.tag=N,bf(n)?(a=!0,Ef(t)):a=!1,hp(t,o),lm(t,n,r),sm(t,n,r,o),Uv(null,t,n,!0,a,o)}(e,t,T,t.elementType===T?E:tp(T,E),n);case G:return Kv(e,t,n)}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ag(e){e.effectTag|=No}function ig(e){e.effectTag|=Ao}function lg(e,t){switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function ug(e,t,n){var r=t.pendingProps;switch(t.tag){case I:case Y:case q:case R:case B:case F:case U:case H:case W:case Q:return null;case N:return bf(t.type)&&wf(t),null;case O:Sm(t),kf(t);var o=t.stateNode;return o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(null===e||null===e.child)&&bv(t)&&ag(t),Jv(t),null;case A:Pm(t);var a=Tm(),i=t.type;if(null!==e&&null!=t.stateNode)Zv(e,t,i,r,a),e.ref!==t.ref&&ig(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return null}var l=Cm();if(bv(t))(function(e,t,n){var r=vu(e.stateNode,e.type,e.memoizedProps,t,n,e);return e.updateQueue=r,null!==r})(t,a,l)&&ag(t);else{var u=eu(i,r,a,l,t);Gv(u,t,!1,!1),t.stateNode=u,function(e,t,n,r,o){return hl(e,t,n,r),Jl(t,n)}(u,i,r,a)&&ag(t)}null!==t.ref&&ig(t)}return null;case L:var s=r;if(e&&null!=t.stateNode){var c=e.memoizedProps;eg(e,t,c,s)}else{if("string"!=typeof s&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var f=Tm(),d=Cm();bv(t)?vv(t)&&ag(t):t.stateNode=ru(s,f,d,t)}return null;case $:Lm(t);var p=t.memoizedState;if((t.effectTag&Mo)!==_o)return t.expirationTime=n,t;var m=null!==p,h=!1;if(null===e)void 0!==t.memoizedProps.fallback&&bv(t);else{var v=e.memoizedState;if(h=null!==v,!m&&null!==v){var g=e.child.sibling;if(null!==g){var y=t.firstEffect;null!==y?(t.firstEffect=g,g.nextEffect=y):(t.firstEffect=t.lastEffect=g,g.nextEffect=null),g.effectTag=Do}}}return m&&!h&&(t.mode&fd)!==sd&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||Om(Dm.current,Nm)?uy===Jg&&(uy=ty):(uy!==Jg&&uy!==ty||(uy=ny),py!==hd&&null!==ay&&(uw(ay,ly),sw(ay,py)))),(m||h)&&(t.effectTag|=No),null;case M:return Sm(t),Jv(t),null;case V:return pp(t),null;case K:return bf(t.type)&&wf(t),null;case G:Lm(t);var b=t.memoizedState;if(null===b)return null;var w=(t.effectTag&Mo)!==_o,k=b.rendering;if(null===k){if(w)lg(b,!1);else if(uy!==Jg||null!==e&&(e.effectTag&Mo)!==_o)for(var x=t.child;null!==x;){var T=Um(x);if(null!==T){w=!0,t.effectTag|=Mo,lg(b,!1);var E=T.updateQueue;return null!==E&&(t.updateQueue=E,t.effectTag|=No),null===b.lastEffect&&(t.firstEffect=null),t.lastEffect=b.lastEffect,gm(t,n),Am(t,Mm(Dm.current,Im)),t.child}x=x.sibling}}else{if(!w){var S=Um(k);if(null!==S){t.effectTag|=Mo,w=!0;var C=S.updateQueue;if(null!==C&&(t.updateQueue=C,t.effectTag|=No),lg(b,!0),null===b.tail&&"hidden"===b.tailMode&&!k.alternate){var _=t.lastEffect=b.lastEffect;return null!==_&&(_.nextEffect=null),null}}else if(2*td()-b.renderingStartTime>b.tailExpiration&&n>vd){t.effectTag|=Mo,w=!0,lg(b,!1);var P=n-1;t.expirationTime=t.childExpirationTime=P,Nb(P)}}if(b.isBackwards)k.sibling=t.child,t.child=k;else{var D=b.last;null!==D?D.sibling=k:t.child=k,b.last=k}}if(null!==b.tail){0===b.tailExpiration&&(b.tailExpiration=td()+500);var z=b.tail;b.rendering=z,b.tail=z.sibling,b.lastEffect=t.lastEffect,b.renderingStartTime=td(),z.sibling=null;var j=Dm.current;return Am(t,j=w?Mm(j,Im):zm(j)),z}return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function sg(e,t){switch(e.tag){case N:bf(e.type)&&wf(e);var n=e.effectTag;return n&Ho?(e.effectTag=n&~Ho|Mo,e):null;case O:Sm(e),kf(e);var r=e.effectTag;if((r&Mo)!==_o)throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue.");return e.effectTag=r&~Ho|Mo,e;case A:return Pm(e),null;case $:Lm(e);var o=e.effectTag;return o&Ho?(e.effectTag=o&~Ho|Mo,e):null;case G:return Lm(e),null;case M:return Sm(e),null;case V:return pp(e),null;default:return null}}function cg(e){switch(e.tag){case N:null!=e.type.childContextTypes&&wf(e);break;case O:Sm(e),kf(e);break;case A:Pm(e);break;case M:Sm(e);break;case $:case G:Lm(e);break;case V:pp(e)}}function fg(e,t){return{value:e,source:t,stack:Pe(t)}}Gv=function(e,t,n,r){for(var o,a,i=t.child;null!==i;){if(i.tag===A||i.tag===L)o=e,a=i.stateNode,o.appendChild(a);else if(i.tag===M);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Jv=function(e){},Zv=function(e,t,n,r,a){var i=e.memoizedProps;if(i!==r){var l=function(e,t,n,r,a,i){var l=i;if(o(r.children)!==o(n.children)&&("string"==typeof r.children||"number"==typeof r.children)){var u=""+r.children,s=Ll(l.ancestorInfo,t);Al(null,u,s)}return vl(e,t,n,r,a)}(t.stateNode,n,i,r,a,Cm());t.updateQueue=l,l&&ag(t)}},eg=function(e,t,n,r){n!==r&&ag(t)};var dg=null;dg=new Set;var pg="function"==typeof WeakSet?WeakSet:Set;function mg(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=Pe(n));var o={componentName:null!==n?Se(n.type):null,componentStack:null!==r?r:"",error:t.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};null!==e&&e.tag===N&&(o.errorBoundary=e.stateNode,o.errorBoundaryName=Se(e.type),o.errorBoundaryFound=!0,o.willRetry=!0);try{!function(e){var t=e.error,n=e.componentName,r=e.componentStack,o=e.errorBoundaryName,a=e.errorBoundaryFound,i=e.willRetry;if(null!=t&&t._suppressLogging){if(a&&i)return;console.error(t)}var l=(n?"The above error occurred in the <"+n+"> component:":"The above error occurred in one of your React components:")+r+"\n\n"+(a&&o?i?"React will try to recreate this component tree from scratch using the error boundary you provided, "+o+".":"This error was initially handled by the error boundary "+o+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.");console.error(l)}(o)}catch(e){setTimeout((function(){throw e}))}}var hg=function(e,t){qc(e,"componentWillUnmount"),t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount(),Yc()};function vg(e){var t=e.ref;null!==t&&("function"==typeof t?(w(null,t,null,null),x()&&hb(e,T())):t.current=null)}function gg(e,t){w(null,t,null),x()&&hb(e,T())}function yg(e,t){switch(t.tag){case R:case B:case q:case ee:return;case N:if(t.effectTag&Lo&&null!==e){var n=e.memoizedProps,r=e.memoizedState;qc(t,"getSnapshotBeforeUpdate");var o=t.stateNode;t.type!==t.elementType||Cv||(o.props!==t.memoizedProps&&u("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(t.type)||"instance"),o.state!==t.memoizedState&&u("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(t.type)||"instance"));var a=o.getSnapshotBeforeUpdate(t.elementType===t.type?n:tp(t.type,n),r),i=dg;void 0!==a||i.has(t.type)||(i.add(t.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Se(t.type))),o.__reactInternalSnapshotBeforeUpdate=a,Yc()}return;case O:case A:case L:case M:case K:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function bg(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&i()}a=a.next}while(a!==o)}}function wg(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){var i=a.create;a.destroy=i();var l=a.destroy;void 0!==l&&"function"!=typeof l&&u("An effect function must not return anything besides a function, which is used for clean-up.%s%s",null===l?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof l.then?"\n\nIt looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\nuseEffect(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://fb.me/react-hooks-data-fetching":" You returned: "+l,Pe(t))}a=a.next}while(a!==o)}}function kg(e){if((e.effectTag&Fo)!==_o)switch(e.tag){case R:case B:case q:case ee:bg(Hm|Vm,e),wg(Hm|Vm,e)}}function xg(e,t,n,r){switch(n.tag){case R:case B:case q:case ee:return void wg(Bm|Vm,n);case N:var o=n.stateNode;if(n.effectTag&No)if(null===t)qc(n,"componentDidMount"),n.type!==n.elementType||Cv||(o.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance"),o.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance")),o.componentDidMount(),Yc();else{var a=n.elementType===n.type?t.memoizedProps:tp(n.type,t.memoizedProps),i=t.memoizedState;qc(n,"componentDidUpdate"),n.type!==n.elementType||Cv||(o.props!==n.memoizedProps&&u("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance"),o.state!==n.memoizedState&&u("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance")),o.componentDidUpdate(a,i,o.__reactInternalSnapshotBeforeUpdate),Yc()}var l=n.updateQueue;return void(null!==l&&(n.type!==n.elementType||Cv||(o.props!==n.memoizedProps&&u("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance"),o.state!==n.memoizedState&&u("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(n.type)||"instance")),zp(0,l,o)));case O:var s=n.updateQueue;if(null!==s){var c=null;if(null!==n.child)switch(n.child.tag){case A:case N:c=n.child.stateNode}zp(0,s,c)}return;case A:var f=n.stateNode;return void(null===t&&n.effectTag&No&&(p=f,m=n.type,h=n.memoizedProps,Jl(m,h)&&p.focus()));case L:case M:return;case H:var d=n.memoizedProps.onRender;return void("function"==typeof d&&d(n.memoizedProps.id,null===t?"mount":"update",n.actualDuration,n.treeBaseDuration,n.actualStartTime,rv,e.memoizedInteractions));case $:return void function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){La(e)}(o)}}}}(0,n);case G:case K:case J:case Z:return}var p,m,h;throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function Tg(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;e.tag,n=r,"function"==typeof t?t(n):(t.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",Se(e.type),Pe(e)),t.current=n)}}function Eg(e){var t=e.ref;null!==t&&("function"==typeof t?t(null):t.current=null)}function Sg(e,t,n){switch("function"==typeof Fb&&Fb(t),t.tag){case R:case B:case Q:case q:case ee:var r=t.updateQueue;if(null!==r){var o=r.lastEffect;if(null!==o){var a=o.next;od(n>$f?$f:n,(function(){var e=a;do{var n=e.destroy;void 0!==n&&gg(t,n),e=e.next}while(e!==a)}))}}return;case N:vg(t);var i=t.stateNode;return void("function"==typeof i.componentWillUnmount&&function(e,t){w(null,hg,null,e,t),x()&&hb(e,T())}(t,i));case A:return void vg(t);case M:return void Dg(e,t,n);case J:case X:case Z:return}}function Cg(e,t,n){for(var r=t;;)if(Sg(e,r,n),null===r.child||r.tag===M){if(r===t)return;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function _g(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&_g(t)}function Pg(e){return e.tag===A||e.tag===O||e.tag===M}function Rg(e){var t,n,r=function(e){for(var t=e.return;null!==t;){if(Pg(t))return t;t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e),o=r.stateNode;switch(r.tag){case A:t=o,n=!1;break;case O:case M:t=o.containerInfo,n=!0;break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}r.effectTag&Oo&&(lu(t),r.effectTag&=~Oo);var a=function(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Pg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==L&&t.tag!==X;){if(t.effectTag&Ro)continue e;if(null===t.child||t.tag===M)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&Ro))return t.stateNode}}(e);n?Ng(e,a,t):Ig(e,a,t)}function Ng(e,t,n){var r=e.tag,o=r===A||r===L;if(o||at){var a=o?e.stateNode:e.stateNode.instance;t?function(e,t,n){e.nodeType===jn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,a,t):function(e,t){var n;e.nodeType===jn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&ml(n)}(n,a)}else if(r===M);else{var i=e.child;if(null!==i){Ng(i,t,n);for(var l=i.sibling;null!==l;)Ng(l,t,n),l=l.sibling}}}function Ig(e,t,n){var r=e.tag,o=r===A||r===L;if(o||at){var a=o?e.stateNode:e.stateNode.instance;t?function(e,t,n){e.insertBefore(t,n)}(n,a,t):function(e,t){e.appendChild(t)}(n,a)}else if(r===M);else{var i=e.child;if(null!==i){Ig(i,t,n);for(var l=i.sibling;null!==l;)Ig(l,t,n),l=l.sibling}}}function Dg(e,t,n){for(var r,o,a,i,l=t,u=!1;;){if(!u){var s=l.return;e:for(;;){if(null===s)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");var c=s.stateNode;switch(s.tag){case A:r=c,o=!1;break e;case O:case M:r=c.containerInfo,o=!0;break e}s=s.return}u=!0}if(l.tag===A||l.tag===L)Cg(e,l,n),o?(a=r,i=l.stateNode,a.nodeType===jn?a.parentNode.removeChild(i):a.removeChild(i)):uu(r,l.stateNode);else if(l.tag===M){if(null!==l.child){r=l.stateNode.containerInfo,o=!0,l.child.return=l,l=l.child;continue}}else if(Sg(e,l,n),null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)return;for(;null===l.sibling;){if(null===l.return||l.return===t)return;(l=l.return).tag===M&&(u=!1)}l.sibling.return=l.return,l=l.sibling}}function Og(e,t,n){Dg(e,t,n),_g(t)}function zg(e,t){switch(t.tag){case R:case B:case Q:case q:case ee:return void bg(Bm|Vm,t);case N:return;case A:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r,a=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,r,o,a){Ru(e,o),gl(e,t,n,r,o)}(n,i,a,o,r)}return;case L:if(null===t.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var l=t.stateNode,u=t.memoizedProps;return null!==e&&e.memoizedProps,void function(e,t,n){e.nodeValue=n}(l,0,u);case O:var s=t.stateNode;return void(s.hydrate&&(s.hydrate=!1,La(s.containerInfo)));case H:return;case $:return function(e){var t,n=e;null===e.memoizedState?t=!1:(t=!0,n=e.child,hy=td()),null!==n&&function(e,t){for(var n=e;;){if(n.tag===A){var r=n.stateNode;t?su(r):cu(n.stateNode,n.memoizedProps)}else if(n.tag===L){var o=n.stateNode;t?o.nodeValue="":fu(o,n.memoizedProps)}else{if(n.tag===$&&null!==n.memoizedState&&null===n.memoizedState.dehydrated){var a=n.child.sibling;a.return=n,n=a;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)return;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(n,t)}(t),void Mg(t);case G:return void Mg(t);case K:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function Mg(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pg),t.forEach((function(t){var r=gb.bind(null,e,t);n.has(t)||(!0!==t.__reactDoNotTraceInteractions&&(r=a.unstable_wrap(r)),n.add(t),t.then(r,r))}))}}function Ag(e){lu(e.stateNode)}var Lg="function"==typeof WeakMap?WeakMap:Map;function Fg(e,t,n){var r=Cp(n,null);r.tag=xp,r.payload={element:null};var o=t.value;return r.callback=function(){pb(o),mg(e,t)},r}function Ug(e,t,n){var r=Cp(n,null);r.tag=xp;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var a=t.value;r.payload=function(){return mg(e,t),o(a)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch?r.callback=function(){var n;Kd(e),"function"!=typeof o&&(n=this,null===wy?wy=new Set([n]):wy.add(n),mg(e,t));var r=t.value,a=t.stack;this.componentDidCatch(r,{componentStack:null!==a?a:""}),"function"!=typeof o&&e.expirationTime!==yd&&u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Se(e.type)||"Unknown")}:r.callback=function(){Kd(e)},r}function Wg(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new Lg,r=new Set,o.set(n,r)):void 0===(r=o.get(n))&&(r=new Set,o.set(n,r)),!r.has(t)){r.add(t);var a=vb.bind(null,e,n,t);n.then(a,a)}}function jg(e,t,n,r,a){if(n.effectTag|=Bo,n.firstEffect=n.lastEffect=null,null!==r&&"object"===o(r)&&"function"==typeof r.then){var i=r;if((n.mode&fd)===sd){var l=n.alternate;l?(n.memoizedState=l.memoizedState,n.expirationTime=l.expirationTime):n.memoizedState=null}var u=Om(Dm.current,Nm),s=t;do{if(s.tag===$&&Fm(s,u)){var c=s.updateQueue;if(null===c){var f=new Set;f.add(i),s.updateQueue=f}else c.add(i);if((s.mode&fd)===sd){if(s.effectTag|=Mo,n.effectTag&=~(jo|Bo),n.tag===N)if(null===n.alternate)n.tag=K;else{var d=Cp(yd,null);d.tag=kp,_p(n,d)}return void(n.expirationTime=yd)}return Wg(e,a,i),s.effectTag|=Ho,void(s.expirationTime=a)}s=s.return}while(null!==s);r=new Error((Se(n.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."+Pe(n))}uy!==ry&&(uy=ey),r=fg(r,n);var p=t;do{switch(p.tag){case O:var m=r;return p.effectTag|=Ho,p.expirationTime=a,void Pp(p,Fg(p,m,a));case N:var h=r,v=p.type,g=p.stateNode;if((p.effectTag&Mo)===_o&&("function"==typeof v.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&!db(g)))return p.effectTag|=Ho,p.expirationTime=a,void Pp(p,Ug(p,h,a))}p=p.return}while(null!==p)}var Vg=Math.ceil,Bg=i.ReactCurrentDispatcher,Hg=i.ReactCurrentOwner,$g=i.IsSomeRendererActing,Qg=0,qg=1,Yg=4,Kg=8,Xg=16,Gg=32,Jg=0,Zg=1,ey=2,ty=3,ny=4,ry=5,oy=Qg,ay=null,iy=null,ly=hd,uy=Jg,sy=null,cy=yd,fy=yd,dy=null,py=hd,my=!1,hy=0,vy=500,gy=null,yy=!1,by=null,wy=null,ky=!1,xy=null,Ty=Yf,Ey=hd,Sy=null,Cy=50,_y=0,Py=null,Ry=50,Ny=0,Iy=null,Dy=null,Oy=hd;function zy(){return(oy&(Xg|Gg))!==Qg?xd(td()):Oy!==hd?Oy:Oy=xd(td())}function My(e,t,n){var r=t.mode;if((r&fd)===sd)return yd;var o,a=nd();if((r&dd)===sd)return a===Bf?yd:bd;if((oy&Xg)!==Qg)return ly;if(null!==n)o=function(e,t){return Ed(e,t,Cd)}(e,0|n.timeoutMs||Sd);else switch(a){case Bf:o=yd;break;case Hf:o=Rd(e);break;case $f:case Qf:o=function(e){return Ed(e,Sd,Cd)}(e);break;case qf:o=gd;break;default:throw Error("Expected a valid priority level")}return null!==ay&&o===ly&&(o-=1),o}var Ay=function(e,t){!function(){if(_y>Cy)throw _y=0,Py=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Ny>Ry&&(Ny=0,u("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),function(e){if((oy&Xg)!==Qg)switch(e.tag){case R:case B:case q:u("Cannot update a component from inside the function body of a different component.");break;case N:switch(Ne){case"getChildContext":if(Tb)return;u("setState(...): Cannot call setState() inside getChildContext()"),Tb=!0;break;case"render":if(xb)return;u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),xb=!0}}}(e);var n=Ly(e,t);if(null!==n){null!==ay&&t>ly&&(Iy=e),Tc&&(Ec=!0),null!==kc&&"componentWillMount"!==kc&&"componentWillReceiveProps"!==kc&&(Sc=!0);var r=nd();if(t===yd?(oy&Kg)!==Qg&&(oy&(Xg|Gg))===Qg?(Db(n,t),jy(n)):(Uy(n),Db(n,t),oy===Qg&&ld()):(Uy(n),Db(n,t)),(oy&Yg)!==Qg&&(r===Hf||r===Bf))if(null===Sy)Sy=new Map([[n,t]]);else{var o=Sy.get(n);(void 0===o||o>t)&&Sy.set(n,t)}}else!function(e){var t=e.tag;if(t===O||t===N||t===R||t===B||t===Q||t===q||t===ee){var n=Se(e.type)||"ReactComponent";if(null!==kb){if(kb.has(n))return;kb.add(n)}else kb=new Set([n]);u("Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s",t===N?"the componentWillUnmount method":"a useEffect cleanup function",Pe(e))}}(e)};function Ly(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&e.tag===O)o=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!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&r.tag===O){o=r.stateNode;break}r=r.return}return null!==o&&(ay===o&&(Jy(t),uy===ny&&uw(o,ly)),sw(o,t)),o}function Fy(e){var t=e.lastExpiredTime;if(t!==hd)return t;var n=e.firstPendingTime;if(!lw(e,n))return n;var r=e.lastPingedTime,o=e.nextKnownPendingLevel,a=r>o?r:o;return a<=gd&&n!==a?hd:a}function Uy(e){if(e.lastExpiredTime!==hd)return e.callbackExpirationTime=yd,e.callbackPriority=Bf,void(e.callbackNode=id(jy.bind(null,e)));var t=Fy(e),n=e.callbackNode;if(t!==hd){var r,o=Nd(zy(),t);if(null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=o)return;!function(e){e!==Vf&&Df(e)}(n)}e.callbackExpirationTime=t,e.callbackPriority=o,r=t===yd?id(jy.bind(null,e)):ad(o,Wy.bind(null,e),{timeout:Td(t)-td()}),e.callbackNode=r}else null!==n&&(e.callbackNode=null,e.callbackExpirationTime=hd,e.callbackPriority=Yf)}function Wy(e,t){if(Oy=hd,t)return cw(e,zy()),Uy(e),null;var n=Fy(e);if(n!==hd){var r=e.callbackNode;if((oy&(Xg|Gg))!==Qg)throw Error("Should not already be working.");if(cb(),e===ay&&n===ly||($y(e,n),Ob(e,n)),null!==iy){var o=oy;oy|=Xg;var a=qy(),i=Ky(e);for(Kc(iy);;)try{eb();break}catch(t){Qy(e,t)}if(sp(),oy=o,Yy(a),Xy(i),uy===Zg){var l=sy;throw bb(),$y(e,n),uw(e,n),Uy(e),l}if(null!==iy)bb();else{yb();var u=e.finishedWork=e.current.alternate;e.finishedExpirationTime=n,function(e,t,n,r){switch(ay=null,n){case Jg:case Zg:throw Error("Root did not complete. This is a bug in React.");case ey:cw(e,r>gd?gd:r);break;case ty:uw(e,r);var o=e.lastSuspendedTime;if(r===o&&(e.nextKnownPendingLevel=rb(t)),cy===yd&&!Eb.current){var a=hy+vy-td();if(a>10){if(my){var i=e.lastPingedTime;if(i===hd||i>=r){e.lastPingedTime=r,$y(e,r);break}}var l=Fy(e);if(l!==hd&&l!==r)break;if(o!==hd&&o!==r){e.lastPingedTime=o;break}e.timeoutHandle=ou(ab.bind(null,e),a);break}}ab(e);break;case ny:uw(e,r);var u=e.lastSuspendedTime;if(r===u&&(e.nextKnownPendingLevel=rb(t)),!Eb.current){if(my){var s=e.lastPingedTime;if(s===hd||s>=r){e.lastPingedTime=r,$y(e,r);break}}var c,f=Fy(e);if(f!==hd&&f!==r)break;if(u!==hd&&u!==r){e.lastPingedTime=u;break}if(fy!==yd)c=Td(fy)-td();else if(cy===yd)c=0;else{var d=function(e){return Td(e)-Sd}(cy),p=td(),m=Td(r)-p,h=p-d;h<0&&(h=0),m<(c=function(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:1960*Vg(e/1960)}(h)-h)&&(c=m)}if(c>10){e.timeoutHandle=ou(ab.bind(null,e),c);break}}ab(e);break;case ry:if(!Eb.current&&cy!==yd&&null!==dy){var v=function(e,t,n){var r=0|n.busyMinDurationMs;if(r<=0)return 0;var o=0|n.busyDelayMs,a=td(),i=function(e,t){return Td(e)-(0|t.timeoutMs||Sd)}(e,n),l=a-i;return l<=o?0:o+r-l}(cy,0,dy);if(v>10){uw(e,r),e.timeoutHandle=ou(ab.bind(null,e),v);break}}ab(e);break;default:throw Error("Unknown root exit status.")}}(e,u,uy,n)}if(Uy(e),e.callbackNode===r)return Wy.bind(null,e)}}return null}function jy(e){var t=e.lastExpiredTime,n=t!==hd?t:yd;if((oy&(Xg|Gg))!==Qg)throw Error("Should not already be working.");if(cb(),e===ay&&n===ly||($y(e,n),Ob(e,n)),null!==iy){var r=oy;oy|=Xg;var o=qy(),a=Ky(e);for(Kc(iy);;)try{Zy();break}catch(t){Qy(e,t)}if(sp(),oy=r,Yy(o),Xy(a),uy===Zg){var i=sy;throw bb(),$y(e,n),uw(e,n),Uy(e),i}if(null!==iy)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");yb(),e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,function(e){ay=null,ab(e)}(e),Uy(e)}return null}function Vy(e,t){var n=oy;oy|=qg;try{return e(t)}finally{(oy=n)===Qg&&ld()}}function By(e,t){var n=oy;oy&=~qg,oy|=Kg;try{return e(t)}finally{(oy=n)===Qg&&ld()}}function Hy(e,t){if((oy&(Xg|Gg))!==Qg)throw Error("flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var n=oy;oy|=qg;try{return od(Bf,e.bind(null,t))}finally{oy=n,ld()}}function $y(e,t){e.finishedWork=null,e.finishedExpirationTime=hd;var n=e.timeoutHandle;if(n!==iu&&(e.timeoutHandle=iu,au(n)),null!==iy)for(var r=iy.return;null!==r;)cg(r),r=r.return;ay=e,iy=Gb(e.current,null),ly=t,uy=Jg,sy=null,cy=yd,fy=yd,dy=null,py=hd,my=!1,Dy=null,Id.discardPendingWarnings()}function Qy(e,t){for(;;){try{if(sp(),ch(),Oe(),null===iy||null===iy.return)return uy=Zg,sy=t,iy=null,null;rt&&iy.mode&pd&&uv(iy,!0),jg(e,iy.return,iy,t,ly),iy=nb(iy)}catch(e){t=e;continue}return}}function qy(e){var t=Bg.current;return Bg.current=Qh,null===t?Qh:t}function Yy(e){Bg.current=e}function Ky(e){var t=a.__interactionsRef.current;return a.__interactionsRef.current=e.memoizedInteractions,t}function Xy(e){a.__interactionsRef.current=e}function Gy(e,t){e<cy&&e>gd&&(cy=e),null!==t&&e<fy&&e>gd&&(fy=e,dy=t)}function Jy(e){e>py&&(py=e)}function Zy(){for(;null!==iy;)iy=tb(iy)}function eb(){for(;null!==iy&&!Kf();)iy=tb(iy)}function tb(e){var t,n=e.alternate;return Bc(e),ze(e),(e.mode&pd)!==sd?(iv(e),t=wb(n,e,ly),uv(e,!0)):t=wb(n,e,ly),Oe(),e.memoizedProps=e.pendingProps,null===t&&(t=nb(e)),Hg.current=null,t}function nb(e){iy=e;do{var t=iy.alternate,n=iy.return;if((iy.effectTag&Bo)===_o){ze(iy);var r=void 0;if((iy.mode&pd)===sd?r=ug(t,iy,ly):(iv(iy),r=ug(t,iy,ly),uv(iy,!1)),$c(iy),Oe(),ob(iy),null!==r)return r;null!==n&&(n.effectTag&Bo)===_o&&(null===n.firstEffect&&(n.firstEffect=iy.firstEffect),null!==iy.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=iy.firstEffect),n.lastEffect=iy.lastEffect),iy.effectTag>Po&&(null!==n.lastEffect?n.lastEffect.nextEffect=iy:n.firstEffect=iy,n.lastEffect=iy))}else{var o=sg(iy);if((iy.mode&pd)!==sd){uv(iy,!1);for(var a=iy.actualDuration,i=iy.child;null!==i;)a+=i.actualDuration,i=i.sibling;iy.actualDuration=a}if(null!==o)return Qc(iy),o.effectTag&=Vo,o;$c(iy),null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=Bo)}var l=iy.sibling;if(null!==l)return l;iy=n}while(null!==iy);return uy===Jg&&(uy=ry),null}function rb(e){var t=e.expirationTime,n=e.childExpirationTime;return t>n?t:n}function ob(e){if(ly===vd||e.childExpirationTime!==vd){var t=hd;if((e.mode&pd)!==sd){for(var n=e.actualDuration,r=e.selfBaseDuration,o=null===e.alternate||e.child!==e.alternate.child,a=e.child;null!==a;){var i=a.expirationTime,l=a.childExpirationTime;i>t&&(t=i),l>t&&(t=l),o&&(n+=a.actualDuration),r+=a.treeBaseDuration,a=a.sibling}e.actualDuration=n,e.treeBaseDuration=r}else for(var u=e.child;null!==u;){var s=u.expirationTime,c=u.childExpirationTime;s>t&&(t=s),c>t&&(t=c),u=u.sibling}e.childExpirationTime=t}}function ab(e){var t=nd();return od(Bf,ib.bind(null,e,t)),null}function ib(e,t){do{cb()}while(null!==xy);if(Id.flushLegacyContextWarning(),Id.flushPendingUnsafeLifecycleWarnings(),(oy&(Xg|Gg))!==Qg)throw Error("Should not already be working.");var n,r=e.finishedWork,o=e.finishedExpirationTime;if(null===r)return null;if(e.finishedWork=null,e.finishedExpirationTime=hd,r===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(e.callbackNode=null,e.callbackExpirationTime=hd,e.callbackPriority=Yf,e.nextKnownPendingLevel=hd,bc&&(Tc=!0,Ec=!1,Pc.clear(),Nc("(Committing Changes)")),function(e,t,n){e.firstPendingTime=n,t<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=hd:t<=e.firstSuspendedTime&&(e.firstSuspendedTime=t-1),t<=e.lastPingedTime&&(e.lastPingedTime=hd),t<=e.lastExpiredTime&&(e.lastExpiredTime=hd)}(e,o,rb(r)),e===ay&&(ay=null,iy=null,ly=hd),r.effectTag>Po?null!==r.lastEffect?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,null!==n){var a=oy;oy|=Gg;var i=Ky(e);Hg.current=null,Gc(),Zl(e.containerInfo),gy=n;do{if(w(null,lb,null),x()){if(null===gy)throw Error("Should be working on an effect.");var l=T();hb(gy,l),gy=gy.nextEffect}}while(null!==gy);Jc(),av(),Zc(),gy=n;do{if(w(null,ub,null,e,t),x()){if(null===gy)throw Error("Should be working on an effect.");var u=T();hb(gy,u),gy=gy.nextEffect}}while(null!==gy);ef(),e.containerInfo,zl(Gl),Ya(Xl),Xl=null,Gl=null,e.current=r,tf(),gy=n;do{if(w(null,sb,null,e,o),x()){if(null===gy)throw Error("Should be working on an effect.");var s=T();hb(gy,s),gy=gy.nextEffect}}while(null!==gy);nf(),gy=null,Xf(),Xy(i),oy=a}else e.current=r,Gc(),Jc(),av(),Zc(),ef(),tf(),nf();!function(){if(bc){var e=null;Ec?e="Lifecycle hook scheduled a cascading update":Cc>0&&(e="Caused by a cascading update in earlier commit"),Ec=!1,Cc++,Tc=!1,Pc.clear(),Ic("(Committing Changes)","(Committing Changes)",e)}}();var c=ky;if(ky)ky=!1,xy=e,Ey=o,Ty=t;else for(gy=n;null!==gy;){var f=gy.nextEffect;gy.nextEffect=null,gy=f}var d=e.firstPendingTime;if(d!==hd){if(null!==Dy){var p=Dy;Dy=null;for(var m=0;m<p.length;m++)Ib(e,p[m],e.memoizedInteractions)}Db(e,d)}else wy=null;if(c||zb(e,o),d===yd?e===Py?_y++:(_y=0,Py=e):_y=0,function(e,t){"function"==typeof Lb&&Lb(e,t)}(r.stateNode,o),Uy(e),yy){yy=!1;var h=by;throw by=null,h}return(oy&Kg)!==Qg||ld(),null}function lb(){for(;null!==gy;){var e=gy.effectTag;(e&Lo)!==_o&&(ze(gy),Vc(),yg(gy.alternate,gy),Oe()),(e&Fo)!==_o&&(ky||(ky=!0,ad($f,(function(){return cb(),null})))),gy=gy.nextEffect}}function ub(e,t){for(;null!==gy;){ze(gy);var n=gy.effectTag;if(n&Oo&&Ag(gy),n&Ao){var r=gy.alternate;null!==r&&Eg(r)}switch(n&(Ro|No|Do|Uo)){case Ro:Rg(gy),gy.effectTag&=~Ro;break;case Io:Rg(gy),gy.effectTag&=~Ro,zg(gy.alternate,gy);break;case Uo:gy.effectTag&=~Uo;break;case Wo:gy.effectTag&=~Uo,zg(gy.alternate,gy);break;case No:zg(gy.alternate,gy);break;case Do:Og(e,gy,t)}Vc(),Oe(),gy=gy.nextEffect}}function sb(e,t){for(;null!==gy;){ze(gy);var n=gy.effectTag;n&(No|zo)&&(Vc(),xg(e,gy.alternate,gy)),n&Ao&&(Vc(),Tg(gy)),Oe(),gy=gy.nextEffect}}function cb(){if(Ty!==Yf){var e=Ty>$f?$f:Ty;return Ty=Yf,od(e,fb)}}function fb(){if(null===xy)return!1;var e=xy,t=Ey;if(xy=null,Ey=hd,(oy&(Xg|Gg))!==Qg)throw Error("Cannot flush passive effects while already rendering.");var n=oy;oy|=Gg;for(var r=Ky(e),o=e.current.firstEffect;null!==o;){if(ze(o),w(null,kg,null,o),x()){if(null===o)throw Error("Should be working on an effect.");hb(o,T())}Oe();var a=o.nextEffect;o.nextEffect=null,o=a}return Xy(r),zb(e,t),oy=n,ld(),Ny=null===xy?0:Ny+1,!0}function db(e){return null!==wy&&wy.has(e)}var pb=function(e){yy||(yy=!0,by=e)};function mb(e,t,n){_p(e,Fg(e,fg(n,t),yd));var r=Ly(e,yd);null!==r&&(Uy(r),Db(r,yd))}function hb(e,t){if(e.tag!==O)for(var n=e.return;null!==n;){if(n.tag===O)return void mb(n,e,t);if(n.tag===N){var r=n.type,o=n.stateNode;if("function"==typeof r.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&!db(o)){_p(n,Ug(n,fg(t,e),yd));var a=Ly(n,yd);return void(null!==a&&(Uy(a),Db(a,yd)))}}n=n.return}else mb(e,e,t)}function vb(e,t,n){var r=e.pingCache;if(null!==r&&r.delete(t),ay!==e||ly!==n){if(lw(e,n)){var o=e.lastPingedTime;o!==hd&&o<n||(e.lastPingedTime=n,Uy(e),Db(e,n))}}else uy===ny||uy===ty&&cy===yd&&td()-hy<vy?$y(e,ly):my=!0}function gb(e,t){var n,r=hd;null!==(n=e.stateNode)&&n.delete(t),function(e,t){t===hd&&(t=My(zy(),e,null));var n=Ly(e,t);null!==n&&(Uy(n),Db(n,t))}(e,r)}function yb(){Xc(Iy,!0),Iy=null}function bb(){Xc(Iy,!1),Iy=null}var wb,kb=null;wb=function(e,t,n){var r=ow(null,t);try{return og(e,t,n)}catch(a){if(null!==a&&"object"===o(a)&&"function"==typeof a.then)throw a;if(sp(),ch(),cg(t),ow(t,r),t.mode&pd&&iv(t),w(null,og,null,e,t,n),x())throw T();throw a}};var xb=!1,Tb=!1,Eb={current:!1};function Sb(e){!0===$g.current&&!0!==Eb.current&&u("It looks like you're using the wrong act() around your test interactions.\nBe sure to use the matching version of act() corresponding to your renderer:\n\n// for react-dom:\nimport {act} from 'react-dom/test-utils';\n// ...\nact(() => ...);\n\n// for react-test-renderer:\nimport TestRenderer from 'react-test-renderer';\nconst {act} = TestRenderer;\n// ...\nact(() => ...);%s",Pe(e))}function Cb(e){(e.mode&cd)!==sd&&!1===$g.current&&!1===Eb.current&&u("An update to %s ran an effect, but was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Se(e.type),Pe(e))}var _b=function(e){oy===Qg&&!1===$g.current&&!1===Eb.current&&u("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Se(e.type),Pe(e))},Pb=!1;function Rb(e,t){return 1e3*t+e.interactionThreadID}function Nb(e){null===Dy?Dy=[e]:Dy.push(e)}function Ib(e,t,n){if(n.size>0){var r=e.pendingInteractionMap,o=r.get(t);null!=o?n.forEach((function(e){o.has(e)||e.__count++,o.add(e)})):(r.set(t,new Set(n)),n.forEach((function(e){e.__count++})));var i=a.__subscriberRef.current;if(null!==i){var l=Rb(e,t);i.onWorkScheduled(n,l)}}}function Db(e,t){Ib(e,t,a.__interactionsRef.current)}function Ob(e,t){var n=new Set;if(e.pendingInteractionMap.forEach((function(e,r){r>=t&&e.forEach((function(e){return n.add(e)}))})),e.memoizedInteractions=n,n.size>0){var r=a.__subscriberRef.current;if(null!==r){var o=Rb(e,t);try{r.onWorkStarted(n,o)}catch(e){ad(Bf,(function(){throw e}))}}}}function zb(e,t){var n,r=e.firstPendingTime;try{if(null!==(n=a.__subscriberRef.current)&&e.memoizedInteractions.size>0){var o=Rb(e,t);n.onWorkStopped(e.memoizedInteractions,o)}}catch(e){ad(Bf,(function(){throw e}))}finally{var i=e.pendingInteractionMap;i.forEach((function(e,t){t>r&&(i.delete(t),e.forEach((function(e){if(e.__count--,null!==n&&0===e.__count)try{n.onInteractionScheduledWorkCompleted(e)}catch(e){ad(Bf,(function(){throw e}))}})))}))}}var Mb,Ab=null,Lb=null,Fb=null,Ub=!1,Wb="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function jb(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return u("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var n=t.inject(e);"function"==typeof t.onScheduleFiberRoot&&(Ab=function(e,r){try{t.onScheduleFiberRoot(n,e,r)}catch(e){Ub||(Ub=!0,u("React instrumentation encountered an error: %s",e))}}),Lb=function(e,r){try{var o=(e.current.effectTag&Mo)===Mo;if(rt){var a=Nd(xd(td()),r);t.onCommitFiberRoot(n,e,a,o)}}catch(e){Ub||(Ub=!0,u("React instrumentation encountered an error: %s",e))}},Fb=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){Ub||(Ub=!0,u("React instrumentation encountered an error: %s",e))}}}catch(e){u("React instrumentation encountered an error: %s.",e)}return!0}Mb=!1;try{var Vb=Object.preventExtensions({}),Bb=new Map([[Vb,null]]),Hb=new Set([Vb]);Bb.set(0,0),Hb.add(0)}catch(e){Mb=!0}var $b=1;function Qb(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.effectTag=_o,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=hd,this.childExpirationTime=hd,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugID=$b++,this._debugIsCurrentlyTiming=!1,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Mb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var qb,Yb,Kb=function(e,t,n,r){return new Qb(e,t,n,r)};function Xb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function Gb(e,t){var n=e.alternate;null===n?((n=Kb(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugID=e._debugID,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=_o,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null,n.actualDuration=0,n.actualStartTime=-1),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case I:case R:case q:n.type=$d(e.type);break;case N:n.type=Qd(e.type);break;case B:n.type=qd(e.type)}return n}function Jb(e,t){e.effectTag&=Ro,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null;var n=e.alternate;if(null===n)e.childExpirationTime=hd,e.expirationTime=t,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childExpirationTime=n.childExpirationTime,e.expirationTime=n.expirationTime,e.child=n.child,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue;var r=n.dependencies;e.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function Zb(e,t,n,r,a,i){var l,s=I,c=e;if("function"==typeof e)Xb(e)?(s=N,c=Qd(c)):c=$d(c);else if("string"==typeof e)s=A;else e:switch(e){case ae:return tw(n.children,a,i,t);case ce:s=U,a|=dd|fd|cd;break;case ie:s=U,a|=cd;break;case le:return function(e,t,n,r){"string"==typeof e.id&&"function"==typeof e.onRender||u('Profiler must specify an "id" string and "onRender" function as props');var o=Kb(H,e,r,t|pd);return o.elementType=le,o.type=le,o.expirationTime=n,o}(n,a,i,t);case de:return function(e,t,n,r){var o=Kb($,e,r,t);return o.type=de,o.elementType=de,o.expirationTime=n,o}(n,a,i,t);case pe:return function(e,t,n,r){var o=Kb(G,e,r,t);return o.type=pe,o.elementType=pe,o.expirationTime=n,o}(n,a,i,t);default:if("object"===o(e)&&null!==e)switch(e.$$typeof){case ue:s=V;break e;case se:s=W;break e;case fe:s=B,c=qd(c);break e;case me:s=Q;break e;case he:s=Y,c=null;break e;case ve:s=ee;break e}var f="";(void 0===e||"object"===o(e)&&null!==e&&0===Object.keys(e).length)&&(f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=r?Se(r.type):null;throw d&&(f+="\n\nCheck the render method of `"+d+"`."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:o(e))+"."+f)}return(l=Kb(s,n,t,a)).elementType=e,l.type=c,l.expirationTime=i,l}function ew(e,t,n){var r;r=e._owner;var o=Zb(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function tw(e,t,n,r){var o=Kb(F,e,r,t);return o.expirationTime=n,o}function nw(e,t,n){var r=Kb(L,e,null,t);return r.expirationTime=n,r}function rw(e,t,n){var r=null!==e.children?e.children:[],o=Kb(M,r,e.key,t);return o.expirationTime=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function ow(e,t){return null===e&&(e=Kb(I,null,null,sd)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.effectTag=t.effectTag,e.nextEffect=t.nextEffect,e.firstEffect=t.firstEffect,e.lastEffect=t.lastEffect,e.expirationTime=t.expirationTime,e.childExpirationTime=t.childExpirationTime,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugID=t._debugID,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugIsCurrentlyTiming=t._debugIsCurrentlyTiming,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function aw(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pendingChildren=null,this.pingCache=null,this.finishedExpirationTime=hd,this.finishedWork=null,this.timeoutHandle=iu,this.context=null,this.pendingContext=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=Yf,this.firstPendingTime=hd,this.firstSuspendedTime=hd,this.lastSuspendedTime=hd,this.nextKnownPendingLevel=hd,this.lastPingedTime=hd,this.lastExpiredTime=hd,this.interactionThreadID=a.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map}function iw(e,t,n,r){var o=new aw(e,t,n),a=function(e){var t;return t=e===Rf?dd|fd|cd:e===Pf?fd|cd:sd,Wb&&(t|=pd),Kb(O,null,null,t)}(t);return o.current=a,a.stateNode=o,Ep(a),o}function lw(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;return n!==hd&&n>=t&&r<=t}function uw(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||n===hd)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=hd),t<=e.lastExpiredTime&&(e.lastExpiredTime=hd)}function sw(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;n!==hd&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=hd:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function cw(e,t){var n=e.lastExpiredTime;(n===hd||n>t)&&(e.lastExpiredTime=t)}function fw(e,t,r,o){!function(e,t){"function"==typeof Ab&&Ab(e,t)}(t,e);var a,i=t.current,l=zy();"undefined"!=typeof jest&&(a=i,!1===Pb&&void 0===n.unstable_flushAllWithoutAsserting&&(a.mode&fd||a.mode&dd)&&(Pb=!0,u("In Concurrent or Sync modes, the \"scheduler\" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest: \njest.mock('scheduler', () => require('scheduler/unstable_mock'));\n\nFor more info, visit https://fb.me/react-mock-scheduler")),Sb(i));var s=Ap(),c=My(l,i,s),f=function(e){if(!e)return ff;var t=Co(e),n=Cf(t);if(t.tag===N){var r=t.type;if(bf(r))return Tf(t,r,n)}return n}(r);null===t.context?t.context=f:t.pendingContext=f,"render"!==Ne||null===Re||qb||(qb=!0,u("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Se(Re.type)||"Unknown"));var d=Cp(c,s);return d.payload={element:e},null!==(o=void 0===o?null:o)&&("function"!=typeof o&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o),d.callback=o),_p(i,d),Ay(i,c),c}function dw(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function pw(e,t){var n=e.memoizedState;null!==n&&null!==n.dehydrated&&n.retryTime<t&&(n.retryTime=t)}function mw(e,t){pw(e,t);var n=e.alternate;n&&pw(n,t)}function hw(e){var t=function(e){var t=Xo(e);if(!t)return null;for(var n=t;;){if(n.tag===A||n.tag===L||at)return n;if(n.child&&n.tag!==M)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}(e);return null===t?null:t.tag===J?t.stateNode.instance:t.stateNode}qb=!1,Yb={};var vw,gw,yw,bw,ww=function(e){return!1},kw=function e(n,r,o,a){if(o>=r.length)return a;var i=r[o],l=Array.isArray(n)?n.slice():t({},n);return l[i]=e(n[i],r,o+1,a),l},xw=function(e,t,n){return kw(e,t,0,n)};function Tw(e,t,n){this._internalRoot=function(e,t,n){var r=null!=n&&!0===n.hydrate;null!=n&&n.hydrationOptions;var o,a=function(e,t,n,r){return iw(e,t,n)}(e,t,r);return o=a.current,e[ku]=o,r&&t!==_f&&function(e,t){var n=So(t);Ea.forEach((function(e){_a(e,t,n)})),Sa.forEach((function(e){_a(e,t,n)}))}(0,e.nodeType===Vn?e:e.ownerDocument),a}(e,t,n)}function Ew(e){return!(!e||e.nodeType!==Un&&e.nodeType!==Vn&&e.nodeType!==Bn&&(e.nodeType!==jn||" react-mount-point-unstable "!==e.nodeValue))}vw=function(e,n,r,o){for(var a=e.memoizedState;null!==a&&n>0;)a=a.next,n--;if(null!==a){var i=xw(a.memoizedState,r,o);a.memoizedState=i,a.baseState=i,e.memoizedProps=t({},e.memoizedProps),Ay(e,yd)}},gw=function(e,t,n){e.pendingProps=xw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),Ay(e,yd)},yw=function(e){Ay(e,yd)},bw=function(e){ww=e},i.IsSomeRendererActing,Tw.prototype.render=function(e){var t=this._internalRoot;"function"==typeof arguments[1]&&u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var n=t.containerInfo;if(n.nodeType!==jn){var r=hw(t.current);r&&r.parentNode!==n&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}fw(e,t,null,null)},Tw.prototype.unmount=function(){"function"==typeof arguments[0]&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot,t=e.containerInfo;fw(null,e,null,(function(){Tu(t)}))};var Sw,Cw=i.ReactCurrentOwner,_w=!1;function Pw(e){return e?e.nodeType===Vn?e.documentElement:e.firstChild:null}function Rw(e,t){var n=t||function(e){var t=Pw(e);return!(!t||t.nodeType!==Un||!t.hasAttribute(St))}(e);if(!n)for(var r,o=!1;r=e.lastChild;)!o&&r.nodeType===Un&&r.hasAttribute(St)&&(o=!0,u("render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),e.removeChild(r);return!n||t||_w||(_w=!0,l("render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML.")),function(e,t){return new Tw(e,_f,t)}(e,n?{hydrate:!0}:void 0)}function Nw(e,t,n,r,o){Sw(n),function(e,t){null!==e&&"function"!=typeof e&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.","render",e)}(void 0===o?null:o);var a,i=n._reactRootContainer;if(i){if(a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=dw(a);l.call(e)}}fw(t,a,e,o)}else{if(i=n._reactRootContainer=Rw(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=dw(a);s.call(e)}}By((function(){fw(t,a,e,o)}))}return dw(a)}Sw=function(e){if(e._reactRootContainer&&e.nodeType!==jn){var t=hw(e._reactRootContainer._internalRoot.current);t&&t.parentNode!==e&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=Pw(e);!(!r||!Cu(r))&&!n&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Un&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};var Iw="16.13.0";ia=function(e){if(e.tag===$){var t=Rd(zy());Ay(e,t),mw(e,t)}},la=function(e){e.tag===$&&(Ay(e,3),mw(e,3))},function(e){ua=e}((function(e){if(e.tag===$){var t=My(zy(),e,null);Ay(e,t),mw(e,t)}}));var Dw,Ow,zw,Mw=!1;function Aw(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!Ew(t))throw Error("Target container is not a DOM element.");return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:oe,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),Ge=function(e,t,n){switch(t){case"input":return void dn(e,n);case"textarea":return void function(e,t){_n(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&kn(n,!!t.multiple,r,!1)}(e,n)}},Dw=function(e,t,n,r,o){var a=oy;oy|=Yg;try{return od(Hf,e.bind(null,t,n,r,o))}finally{(oy=a)===Qg&&ld()}},Ow=function(){(oy&(qg|Xg|Gg))===Qg?(function(){if(null!==Sy){var e=Sy;Sy=null,e.forEach((function(e,t){cw(t,e),Uy(t)})),ld()}}(),cb()):(oy&Xg)!==Qg&&u("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.")},zw=function(e,t){var n=oy;oy|=2;try{return e(t)}finally{(oy=n)===Qg&&ld()}},lt=Vy,ut=Dw,st=Ow,ct=zw;var Lw={Events:[Cu,_u,Pu,Qe,Ve,Lu,function(e){Zo(e,Au)},tt,nt,ei,ra,cb,Eb]},Fw=function(e){var n=e.findFiberByHostInstance,r=i.ReactCurrentDispatcher;return jb(t({},e,{overrideHookState:vw,overrideProps:gw,setSuspenseHandler:bw,scheduleUpdate:yw,currentDispatcherRef:r,findHostInstanceByFiber:function(e){var t=Go(e);return null===t?null:t.stateNode},findFiberByHostInstance:function(e){return n?n(e):null},findHostInstancesForRefresh:Zd,scheduleRefresh:Xd,scheduleRoot:Gd,setRefreshHandler:Hd,getCurrentFiber:function(){return Re}}))}({findFiberByHostInstance:Su,bundleType:1,version:Iw,rendererPackageName:"react-dom"});if(!Fw&&qe&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var Uw=window.location.protocol;/^(https?|file):$/.test(Uw)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===Uw?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lw,z.createPortal=Aw,z.findDOMNode=function(e){var t=Cw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||u("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Se(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===Un?e:function(e,t){var n=Co(e);if(void 0===n)throw"function"==typeof e.render?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(e));var r=Go(n);if(null===r)return null;if(r.mode&cd){var o=Se(n.type)||"Component";Yb[o]||(Yb[o]=!0,n.mode&cd?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,o,Pe(r)):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,o,Pe(r)))}return r.stateNode}(e,"findDOMNode")},z.flushSync=Hy,z.hydrate=function(e,t,n){if(!Ew(t))throw Error("Target container is not a DOM element.");return Eu(t)&&void 0===t._reactRootContainer&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call createRoot(container, {hydrate: true}).render(element)?"),Nw(null,e,t,!0,n)},z.render=function(e,t,n){if(!Ew(t))throw Error("Target container is not a DOM element.");return Eu(t)&&void 0===t._reactRootContainer&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.render(element)?"),Nw(null,e,t,!1,n)},z.unmountComponentAtNode=function(e){if(!Ew(e))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Eu(e)&&void 0===e._reactRootContainer&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=Pw(e);return t&&!Cu(t)&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),By((function(){Nw(null,null,e,!1,(function(){e._reactRootContainer=null,Tu(e)}))})),!0}var n=Pw(e),r=!(!n||!Cu(n)),o=e.nodeType===Un&&Ew(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},z.unstable_batchedUpdates=Vy,z.unstable_createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Mw||(Mw=!0,l('The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),Aw(e,t,n)},z.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(!Ew(n))throw Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternalFiber)throw Error("parentComponent must be a valid React Component");return Nw(e,t,n,!1,r)}(e,t,n,r)},z.version=Iw}()),z);var V=T.exports;e.Html=({children:e,divProps:n,transform:r,transformFunc:o})=>{const a=x.useRef(null),[i]=x.useState((()=>document.createElement("div"))),l=x.useMemo((()=>V.createRoot(i)),[i]),u=null==r||r,s=()=>{if(u&&a.current){if(!a.current.shouldUpdateGlobalMatrix())return;let e=a.current.globalTransMatrix.toTransformAttrs();o&&(e=o(e)),i.style.position="absolute",i.style.zIndex="10",i.style.top="0px",i.style.left="0px",i.style.transform=`translate(${e.x}px, ${e.y}px) rotate(${e.rotateDeg}deg) scaleX(${e.scaleX}) scaleY(${e.scaleY})`,i.style.transformOrigin="top left"}else i.style.position="",i.style.zIndex="",i.style.top="",i.style.left="",i.style.transform="",i.style.transformOrigin="";const{style:e,...t}=n||{};Object.assign(i.style,e),Object.assign(i,t)};return x.useEffect((()=>{var e,t;const n=a.current;if(!(null==n?void 0:n.stage))return;const r=n.stage,o=null===(t=null===(e=r.window)||void 0===e?void 0:e.getContainer)||void 0===t?void 0:t.call(e);return o?(o.appendChild(i),u&&(e=>{const t=window.getComputedStyle(e).position;return!("absolute"===t||"relative"===t)})(o)&&(o.style.position="relative"),r.hooks.beforeRender.tap(`${n._uid}-render`,s),s(),()=>{var e;r.hooks.beforeRender.unTap(`${n._uid}-render`,s),null===(e=i.parentNode)||void 0===e||e.removeChild(i)}):void 0}),[u]),x.useLayoutEffect((()=>{s()}),[n]),x.useLayoutEffect((()=>{l.render(e)})),x.useLayoutEffect((()=>()=>{l.unmount()}),[]),x.createElement(t.ShadowRoot,{ref:a})}}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/react-vrender-utils",
|
|
3
|
-
"version": "0.12.15-alpha.
|
|
3
|
+
"version": "0.12.15-alpha.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"react-dom": "^18.2.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@visactor/vrender": "0.14.1-alpha.
|
|
20
|
-
"@visactor/react-vrender": "0.12.15-alpha.
|
|
21
|
-
"@visactor/vutils": "~0.
|
|
19
|
+
"@visactor/vrender": "0.14.1-alpha.4",
|
|
20
|
+
"@visactor/react-vrender": "0.12.15-alpha.4",
|
|
21
|
+
"@visactor/vutils": "~0.15.3",
|
|
22
22
|
"react-reconciler": "^0.29.0",
|
|
23
23
|
"tslib": "^2.3.1"
|
|
24
24
|
},
|