(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();var $s={exports:{}},Cl={},Hs={exports:{}},z={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var cr=Symbol.for("react.element"),Ef=Symbol.for("react.portal"),Cf=Symbol.for("react.fragment"),xf=Symbol.for("react.strict_mode"),_f=Symbol.for("react.profiler"),Nf=Symbol.for("react.provider"),Pf=Symbol.for("react.context"),Rf=Symbol.for("react.forward_ref"),Tf=Symbol.for("react.suspense"),Of=Symbol.for("react.memo"),Lf=Symbol.for("react.lazy"),ku=Symbol.iterator;function zf(e){return e===null||typeof e!="object"?null:(e=ku&&e[ku]||e["@@iterator"],typeof e=="function"?e:null)}var Vs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ws=Object.assign,Qs={};function Sn(e,t,n){this.props=e,this.context=t,this.refs=Qs,this.updater=n||Vs}Sn.prototype.isReactComponent={};Sn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Sn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ks(){}Ks.prototype=Sn.prototype;function ki(e,t,n){this.props=e,this.context=t,this.refs=Qs,this.updater=n||Vs}var Ei=ki.prototype=new Ks;Ei.constructor=ki;Ws(Ei,Sn.prototype);Ei.isPureReactComponent=!0;var Eu=Array.isArray,Xs=Object.prototype.hasOwnProperty,Ci={current:null},Gs={key:!0,ref:!0,__self:!0,__source:!0};function Js(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Xs.call(t,r)&&!Gs.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,Z=P[Q];if(0>>1;Ql(Wl,L))Otl(gr,Wl)?(P[Q]=gr,P[Ot]=L,Q=Ot):(P[Q]=Wl,P[Tt]=L,Q=Tt);else if(Otl(gr,L))P[Q]=gr,P[Ot]=L,Q=Ot;else break e}}return T}function l(P,T){var L=P.sortIndex-T.sortIndex;return L!==0?L:P.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],h=1,f=null,m=3,k=!1,y=!1,v=!1,R=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(P){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=P)r(a),T.sortIndex=T.expirationTime,t(s,T);else break;T=n(a)}}function w(P){if(v=!1,p(P),!y)if(n(s)!==null)y=!0,ot(x);else{var T=n(a);T!==null&&it(w,T.startTime-P)}}function x(P,T){y=!1,v&&(v=!1,d(N),N=-1),k=!0;var L=m;try{for(p(T),f=n(s);f!==null&&(!(f.expirationTime>T)||P&&!se());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,m=f.priorityLevel;var Z=Q(f.expirationTime<=T);T=e.unstable_now(),typeof Z=="function"?f.callback=Z:f===n(s)&&r(s),p(T)}else r(s);f=n(s)}if(f!==null)var vr=!0;else{var Tt=n(a);Tt!==null&&it(w,Tt.startTime-T),vr=!1}return vr}finally{f=null,m=L,k=!1}}var E=!1,C=null,N=-1,j=5,O=-1;function se(){return!(e.unstable_now()-OP||125Q?(P.sortIndex=L,t(a,P),n(s)===null&&P===n(a)&&(v?(d(N),N=-1):v=!0,it(w,L-Q))):(P.sortIndex=Z,t(s,P),y||k||(y=!0,ot(x))),P},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(P){var T=m;return function(){var L=m;m=T;try{return P.apply(this,arguments)}finally{m=L}}}})(bs);Zs.exports=bs;var Vf=Zs.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ea=xe,ke=Vf;function S(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xo=Object.prototype.hasOwnProperty,Wf=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,xu={},_u={};function Qf(e){return xo.call(_u,e)?!0:xo.call(xu,e)?!1:Wf.test(e)?_u[e]=!0:(xu[e]=!0,!1)}function Kf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Xf(e,t,n,r){if(t===null||typeof t>"u"||Kf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){re[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];re[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){re[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){re[e]=new de(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){re[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){re[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){re[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){re[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){re[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var _i=/[\-:]([a-z])/g;function Ni(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_i,Ni);re[t]=new de(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_i,Ni);re[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_i,Ni);re[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});re.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,t,n,r){var l=re.hasOwnProperty(t)?re[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` `+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Fn(e):""}function Gf(e){switch(e.tag){case 5:return Fn(e.type);case 16:return Fn("Lazy");case 13:return Fn("Suspense");case 19:return Fn("SuspenseList");case 0:case 2:case 15:return e=Gl(e.type,!1),e;case 11:return e=Gl(e.type.render,!1),e;case 1:return e=Gl(e.type,!0),e;default:return""}}function Ro(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Gt:return"Fragment";case Xt:return"Portal";case _o:return"Profiler";case Ri:return"StrictMode";case No:return"Suspense";case Po:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ra:return(e.displayName||"Context")+".Consumer";case na:return(e._context.displayName||"Context")+".Provider";case Ti:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oi:return t=e.displayName||null,t!==null?t:Ro(e.type)||"Memo";case at:t=e._payload,e=e._init;try{return Ro(e(t))}catch{}}return null}function Jf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ro(t);case 8:return t===Ri?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ct(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Yf(e){var t=oa(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kr(e){e._valueTracker||(e._valueTracker=Yf(e))}function ia(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=oa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function To(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Pu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ct(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ua(e,t){t=t.checked,t!=null&&Pi(e,"checked",t,!1)}function Oo(e,t){ua(e,t);var n=Ct(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Lo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Lo(e,t.type,Ct(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ru(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Lo(e,t,n){(t!=="number"||Zr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var An=Array.isArray;function on(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Er.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mn={animationIterationCount:!0,aspectRatio:!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},qf=["Webkit","ms","Moz","O"];Object.keys(Mn).forEach(function(e){qf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mn[t]=Mn[e]})});function fa(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Mn.hasOwnProperty(e)&&Mn[e]?(""+t).trim():t+"px"}function da(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=fa(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Zf=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ao(e,t){if(t){if(Zf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function Do(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var jo=null;function Li(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mo=null,un=null,sn=null;function Lu(e){if(e=pr(e)){if(typeof Mo!="function")throw Error(S(280));var t=e.stateNode;t&&(t=Rl(t),Mo(e.stateNode,e.type,t))}}function pa(e){un?sn?sn.push(e):sn=[e]:un=e}function ha(){if(un){var e=un,t=sn;if(sn=un=null,Lu(e),t)for(e=0;e>>=0,e===0?32:31-(ad(e)/cd|0)|0}var Cr=64,xr=4194304;function Dn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function nl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Dn(u):(o&=i,o!==0&&(r=Dn(o)))}else i=n&~l,i!==0?r=Dn(i):o!==0&&(r=Dn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-je(t),e[t]=n}function hd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Un),Bu=" ",$u=!1;function Aa(e,t){switch(e){case"keyup":return Hd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Da(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jt=!1;function Wd(e,t){switch(e){case"compositionend":return Da(t);case"keypress":return t.which!==32?null:($u=!0,Bu);case"textInput":return e=t.data,e===Bu&&$u?null:e;default:return null}}function Qd(e,t){if(Jt)return e==="compositionend"||!Ui&&Aa(e,t)?(e=za(),Br=ji=pt=null,Jt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qu(n)}}function Ua(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ua(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ba(){for(var e=window,t=Zr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zr(e.document)}return t}function Bi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ep(e){var t=Ba(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ua(n.ownerDocument.documentElement,n)){if(r!==null&&Bi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ku(n,o);var i=Ku(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Yt=null,Vo=null,$n=null,Wo=!1;function Xu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wo||Yt==null||Yt!==Zr(r)||(r=Yt,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$n&&bn($n,r)||($n=r,r=ol(Vo,"onSelect"),0bt||(e.current=Yo[bt],Yo[bt]=null,bt--)}function M(e,t){bt++,Yo[bt]=e.current,e.current=t}var xt={},ue=Nt(xt),me=Nt(!1),It=xt;function pn(e,t){var n=e.type.contextTypes;if(!n)return xt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ye(e){return e=e.childContextTypes,e!=null}function ul(){U(me),U(ue)}function es(e,t,n){if(ue.current!==xt)throw Error(S(168));M(ue,t),M(me,n)}function Ja(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,Jf(e)||"Unknown",l));return V({},n,r)}function sl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xt,It=ue.current,M(ue,e),M(me,me.current),!0}function ts(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Ja(e,t,It),r.__reactInternalMemoizedMergedChildContext=e,U(me),U(ue),M(ue,e)):U(me),M(me,n)}var Je=null,Tl=!1,so=!1;function Ya(e){Je===null?Je=[e]:Je.push(e)}function dp(e){Tl=!0,Ya(e)}function Pt(){if(!so&&Je!==null){so=!0;var e=0,t=D;try{var n=Je;for(D=1;e>=i,l-=i,Ye=1<<32-je(t)+l|n<N?(j=C,C=null):j=C.sibling;var O=m(d,C,p[N],w);if(O===null){C===null&&(C=j);break}e&&C&&O.alternate===null&&t(d,C),c=o(O,c,N),E===null?x=O:E.sibling=O,E=O,C=j}if(N===p.length)return n(d,C),B&&Lt(d,N),x;if(C===null){for(;NN?(j=C,C=null):j=C.sibling;var se=m(d,C,O.value,w);if(se===null){C===null&&(C=j);break}e&&C&&se.alternate===null&&t(d,C),c=o(se,c,N),E===null?x=se:E.sibling=se,E=se,C=j}if(O.done)return n(d,C),B&&Lt(d,N),x;if(C===null){for(;!O.done;N++,O=p.next())O=f(d,O.value,w),O!==null&&(c=o(O,c,N),E===null?x=O:E.sibling=O,E=O);return B&&Lt(d,N),x}for(C=r(d,C);!O.done;N++,O=p.next())O=k(C,d,N,O.value,w),O!==null&&(e&&O.alternate!==null&&C.delete(O.key===null?N:O.key),c=o(O,c,N),E===null?x=O:E.sibling=O,E=O);return e&&C.forEach(function(Ue){return t(d,Ue)}),B&&Lt(d,N),x}function R(d,c,p,w){if(typeof p=="object"&&p!==null&&p.type===Gt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Sr:e:{for(var x=p.key,E=c;E!==null;){if(E.key===x){if(x=p.type,x===Gt){if(E.tag===7){n(d,E.sibling),c=l(E,p.props.children),c.return=d,d=c;break e}}else if(E.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===at&&ss(x)===E.type){n(d,E.sibling),c=l(E,p.props),c.ref=Tn(d,E,p),c.return=d,d=c;break e}n(d,E);break}else t(d,E);E=E.sibling}p.type===Gt?(c=Mt(p.props.children,d.mode,w,p.key),c.return=d,d=c):(w=Gr(p.type,p.key,p.props,null,d.mode,w),w.ref=Tn(d,c,p),w.return=d,d=w)}return i(d);case Xt:e:{for(E=p.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(d,c.sibling),c=l(c,p.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=vo(p,d.mode,w),c.return=d,d=c}return i(d);case at:return E=p._init,R(d,c,E(p._payload),w)}if(An(p))return y(d,c,p,w);if(xn(p))return v(d,c,p,w);Lr(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,p),c.return=d,d=c):(n(d,c),c=yo(p,d.mode,w),c.return=d,d=c),i(d)):n(d,c)}return R}var mn=lc(!0),oc=lc(!1),hr={},Qe=Nt(hr),rr=Nt(hr),lr=Nt(hr);function Dt(e){if(e===hr)throw Error(S(174));return e}function Ji(e,t){switch(M(lr,t),M(rr,e),M(Qe,hr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Fo(t,e)}U(Qe),M(Qe,t)}function yn(){U(Qe),U(rr),U(lr)}function ic(e){Dt(lr.current);var t=Dt(Qe.current),n=Fo(t,e.type);t!==n&&(M(rr,e),M(Qe,n))}function Yi(e){rr.current===e&&(U(Qe),U(rr))}var $=Nt(0);function hl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ao=[];function qi(){for(var e=0;en?n:4,e(!0);var r=co.transition;co.transition={};try{e(!1),t()}finally{D=n,co.transition=r}}function Ec(){return Le().memoizedState}function yp(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Cc(e))xc(t,n);else if(n=ec(e,t,n,r),n!==null){var l=ce();Me(n,e,r,l),_c(n,t,r)}}function vp(e,t,n){var r=kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cc(e))xc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,i)){var s=t.interleaved;s===null?(l.next=l,Xi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=ec(e,t,l,r),n!==null&&(l=ce(),Me(n,e,r,l),_c(n,t,r))}}function Cc(e){var t=e.alternate;return e===H||t!==null&&t===H}function xc(e,t){Hn=ml=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _c(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fi(e,n)}}var yl={readContext:Oe,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},gp={readContext:Oe,useCallback:function(e,t){return $e().memoizedState=[e,t===void 0?null:t],e},useContext:Oe,useEffect:cs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Wr(4194308,4,vc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wr(4,2,e,t)},useMemo:function(e,t){var n=$e();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$e();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=yp.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=$e();return e={current:e},t.memoizedState=e},useState:as,useDebugValue:nu,useDeferredValue:function(e){return $e().memoizedState=e},useTransition:function(){var e=as(!1),t=e[0];return e=mp.bind(null,e[1]),$e().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=$e();if(B){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),ee===null)throw Error(S(349));Bt&30||ac(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,cs(fc.bind(null,r,o,e),[e]),r.flags|=2048,ur(9,cc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=$e(),t=ee.identifierPrefix;if(B){var n=qe,r=Ye;n=(r&~(1<<32-je(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=or++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[He]=t,e[nr]=r,Ac(e,t,!1,!1),t.stateNode=e;e:{switch(i=Do(n,r),n){case"dialog":I("cancel",e),I("close",e),l=r;break;case"iframe":case"object":case"embed":I("load",e),l=r;break;case"video":case"audio":for(l=0;lgn&&(t.flags|=128,r=!0,On(o,!1),t.lanes=4194304)}else{if(!r)if(e=hl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),On(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!B)return oe(t),null}else 2*K()-o.renderingStartTime>gn&&n!==1073741824&&(t.flags|=128,r=!0,On(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=$.current,M($,r?n&1|2:n&1),t):(oe(t),null);case 22:case 23:return su(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ge&1073741824&&(oe(t),t.subtreeFlags&6&&(t.flags|=8192)):oe(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Np(e,t){switch(Hi(t),t.tag){case 1:return ye(t.type)&&ul(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yn(),U(me),U(ue),qi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Yi(t),null;case 13:if(U($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U($),null;case 4:return yn(),null;case 10:return Ki(t.type._context),null;case 22:case 23:return su(),null;case 24:return null;default:return null}}var Fr=!1,ie=!1,Pp=typeof WeakSet=="function"?WeakSet:Set,_=null;function rn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function si(e,t,n){try{n()}catch(r){W(e,t,r)}}var ws=!1;function Rp(e,t){if(Qo=rl,e=Ba(),Bi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,h=0,f=e,m=null;t:for(;;){for(var k;f!==n||l!==0&&f.nodeType!==3||(u=i+l),f!==o||r!==0&&f.nodeType!==3||(s=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(k=f.firstChild)!==null;)m=f,f=k;for(;;){if(f===e)break t;if(m===n&&++a===l&&(u=i),m===o&&++h===r&&(s=i),(k=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=k}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ko={focusedElem:e,selectionRange:n},rl=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,R=y.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?v:Fe(t.type,v),R);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(w){W(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return y=ws,ws=!1,y}function Vn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&si(t,n,o)}l=l.next}while(l!==r)}}function zl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ai(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Mc(e){var t=e.alternate;t!==null&&(e.alternate=null,Mc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[He],delete t[nr],delete t[Jo],delete t[cp],delete t[fp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ic(e){return e.tag===5||e.tag===3||e.tag===4}function Ss(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ic(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ci(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=il));else if(r!==4&&(e=e.child,e!==null))for(ci(e,t,n),e=e.sibling;e!==null;)ci(e,t,n),e=e.sibling}function fi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(fi(e,t,n),e=e.sibling;e!==null;)fi(e,t,n),e=e.sibling}var te=null,Ae=!1;function ut(e,t,n){for(n=n.child;n!==null;)Uc(e,t,n),n=n.sibling}function Uc(e,t,n){if(We&&typeof We.onCommitFiberUnmount=="function")try{We.onCommitFiberUnmount(xl,n)}catch{}switch(n.tag){case 5:ie||rn(n,t);case 6:var r=te,l=Ae;te=null,ut(e,t,n),te=r,Ae=l,te!==null&&(Ae?(e=te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):te.removeChild(n.stateNode));break;case 18:te!==null&&(Ae?(e=te,n=n.stateNode,e.nodeType===8?uo(e.parentNode,n):e.nodeType===1&&uo(e,n),qn(e)):uo(te,n.stateNode));break;case 4:r=te,l=Ae,te=n.stateNode.containerInfo,Ae=!0,ut(e,t,n),te=r,Ae=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&si(n,t,i),l=l.next}while(l!==r)}ut(e,t,n);break;case 1:if(!ie&&(rn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}ut(e,t,n);break;case 21:ut(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,ut(e,t,n),ie=r):ut(e,t,n);break;default:ut(e,t,n)}}function ks(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Pp),t.forEach(function(r){var l=Mp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Op(r/1960))-r,10e?16:e,ht===null)var r=!1;else{if(e=ht,ht=null,wl=0,A&6)throw Error(S(331));var l=A;for(A|=4,_=e.current;_!==null;){var o=_,i=o.child;if(_.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-iu?jt(e,0):ou|=n),ve(e,t)}function Xc(e,t){t===0&&(e.mode&1?(t=xr,xr<<=1,!(xr&130023424)&&(xr=4194304)):t=1);var n=ce();e=nt(e,t),e!==null&&(fr(e,t,n),ve(e,n))}function jp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xc(e,n)}function Mp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Xc(e,n)}var Gc;Gc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,xp(e,t,n);he=!!(e.flags&131072)}else he=!1,B&&t.flags&1048576&&qa(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qr(e,t),e=t.pendingProps;var l=pn(t,ue.current);cn(t,n),l=bi(null,t,r,e,l,n);var o=eu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(o=!0,sl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(t),l.updater=Ol,t.stateNode=l,l._reactInternals=t,ti(t,r,e,n),t=li(null,t,r,!0,o,n)):(t.tag=0,B&&o&&$i(t),ae(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Up(r),e=Fe(r,e),l){case 0:t=ri(null,t,r,e,n);break e;case 1:t=ys(null,t,r,e,n);break e;case 11:t=hs(null,t,r,e,n);break e;case 14:t=ms(null,t,r,Fe(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),ri(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),ys(e,t,r,l,n);case 3:e:{if(Lc(t),e===null)throw Error(S(387));r=t.pendingProps,o=t.memoizedState,l=o.element,tc(e,t),pl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=vn(Error(S(423)),t),t=vs(e,t,r,n,l);break e}else if(r!==l){l=vn(Error(S(424)),t),t=vs(e,t,r,n,l);break e}else for(we=gt(t.stateNode.containerInfo.firstChild),Se=t,B=!0,De=null,n=oc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hn(),r===l){t=rt(e,t,n);break e}ae(e,t,r,n)}t=t.child}return t;case 5:return ic(t),e===null&&Zo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Xo(r,l)?i=null:o!==null&&Xo(r,o)&&(t.flags|=32),Oc(e,t),ae(e,t,i,n),t.child;case 6:return e===null&&Zo(t),null;case 13:return zc(e,t,n);case 4:return Ji(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mn(t,null,r,n):ae(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),hs(e,t,r,l,n);case 7:return ae(e,t,t.pendingProps,n),t.child;case 8:return ae(e,t,t.pendingProps.children,n),t.child;case 12:return ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,M(fl,r._currentValue),r._currentValue=i,o!==null)if(Ie(o.value,i)){if(o.children===l.children&&!me.current){t=rt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ze(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?s.next=s:(s.next=h.next,h.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),bo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(S(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),bo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ae(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,cn(t,n),l=Oe(l),r=r(l),t.flags|=1,ae(e,t,r,n),t.child;case 14:return r=t.type,l=Fe(r,t.pendingProps),l=Fe(r.type,l),ms(e,t,r,l,n);case 15:return Rc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),Qr(e,t),t.tag=1,ye(r)?(e=!0,sl(t)):e=!1,cn(t,n),rc(t,r,l),ti(t,r,l,n),li(null,t,r,!0,e,n);case 19:return Fc(e,t,n);case 22:return Tc(e,t,n)}throw Error(S(156,t.tag))};function Jc(e,t){return ka(e,t)}function Ip(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pe(e,t,n,r){return new Ip(e,t,n,r)}function cu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Up(e){if(typeof e=="function")return cu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ti)return 11;if(e===Oi)return 14}return 2}function Et(e,t){var n=e.alternate;return n===null?(n=Pe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Gr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")cu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Gt:return Mt(n.children,l,o,t);case Ri:i=8,l|=8;break;case _o:return e=Pe(12,n,t,l|2),e.elementType=_o,e.lanes=o,e;case No:return e=Pe(13,n,t,l),e.elementType=No,e.lanes=o,e;case Po:return e=Pe(19,n,t,l),e.elementType=Po,e.lanes=o,e;case la:return Al(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case na:i=10;break e;case ra:i=9;break e;case Ti:i=11;break e;case Oi:i=14;break e;case at:i=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Pe(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Mt(e,t,n,r){return e=Pe(7,e,r,t),e.lanes=n,e}function Al(e,t,n,r){return e=Pe(22,e,r,t),e.elementType=la,e.lanes=n,e.stateNode={isHidden:!1},e}function yo(e,t,n){return e=Pe(6,e,null,t),e.lanes=n,e}function vo(e,t,n){return t=Pe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Yl(0),this.expirationTimes=Yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function fu(e,t,n,r,l,o,i,u,s){return e=new Bp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Pe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(o),e}function $p(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bc)}catch(e){console.error(e)}}bc(),qs.exports=Ee;var Kp=qs.exports,Ts=Kp;Co.createRoot=Ts.createRoot,Co.hydrateRoot=Ts.hydrateRoot;function ef(e,t){return function(){return e.apply(t,arguments)}}const{toString:Xp}=Object.prototype,{getPrototypeOf:mu}=Object,Ul=(e=>t=>{const n=Xp.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ke=e=>(e=e.toLowerCase(),t=>Ul(t)===e),Bl=e=>t=>typeof t===e,{isArray:Cn}=Array,ar=Bl("undefined");function Gp(e){return e!==null&&!ar(e)&&e.constructor!==null&&!ar(e.constructor)&&Te(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tf=Ke("ArrayBuffer");function Jp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tf(e.buffer),t}const Yp=Bl("string"),Te=Bl("function"),nf=Bl("number"),$l=e=>e!==null&&typeof e=="object",qp=e=>e===!0||e===!1,Jr=e=>{if(Ul(e)!=="object")return!1;const t=mu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Zp=Ke("Date"),bp=Ke("File"),eh=Ke("Blob"),th=Ke("FileList"),nh=e=>$l(e)&&Te(e.pipe),rh=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Te(e.append)&&((t=Ul(e))==="formdata"||t==="object"&&Te(e.toString)&&e.toString()==="[object FormData]"))},lh=Ke("URLSearchParams"),oh=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function mr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,l;if(typeof e!="object"&&(e=[e]),Cn(e))for(r=0,l=e.length;r0;)if(l=n[r],t===l.toLowerCase())return l;return null}const lf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,of=e=>!ar(e)&&e!==lf;function yi(){const{caseless:e}=of(this)&&this||{},t={},n=(r,l)=>{const o=e&&rf(t,l)||l;Jr(t[o])&&Jr(r)?t[o]=yi(t[o],r):Jr(r)?t[o]=yi({},r):Cn(r)?t[o]=r.slice():t[o]=r};for(let r=0,l=arguments.length;r(mr(t,(l,o)=>{n&&Te(l)?e[o]=ef(l,n):e[o]=l},{allOwnKeys:r}),e),uh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),sh=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ah=(e,t,n,r)=>{let l,o,i;const u={};if(t=t||{},e==null)return t;do{for(l=Object.getOwnPropertyNames(e),o=l.length;o-- >0;)i=l[o],(!r||r(i,e,t))&&!u[i]&&(t[i]=e[i],u[i]=!0);e=n!==!1&&mu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ch=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},fh=e=>{if(!e)return null;if(Cn(e))return e;let t=e.length;if(!nf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},dh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mu(Uint8Array)),ph=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let l;for(;(l=r.next())&&!l.done;){const o=l.value;t.call(e,o[0],o[1])}},hh=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},mh=Ke("HTMLFormElement"),yh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,l){return r.toUpperCase()+l}),Os=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),vh=Ke("RegExp"),uf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};mr(n,(l,o)=>{let i;(i=t(l,o,e))!==!1&&(r[o]=i||l)}),Object.defineProperties(e,r)},gh=e=>{uf(e,(t,n)=>{if(Te(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Te(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},wh=(e,t)=>{const n={},r=l=>{l.forEach(o=>{n[o]=!0})};return Cn(e)?r(e):r(String(e).split(t)),n},Sh=()=>{},kh=(e,t)=>(e=+e,Number.isFinite(e)?e:t),go="abcdefghijklmnopqrstuvwxyz",Ls="0123456789",sf={DIGIT:Ls,ALPHA:go,ALPHA_DIGIT:go+go.toUpperCase()+Ls},Eh=(e=16,t=sf.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ch(e){return!!(e&&Te(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const xh=e=>{const t=new Array(10),n=(r,l)=>{if($l(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[l]=r;const o=Cn(r)?[]:{};return mr(r,(i,u)=>{const s=n(i,l+1);!ar(s)&&(o[u]=s)}),t[l]=void 0,o}}return r};return n(e,0)},_h=Ke("AsyncFunction"),Nh=e=>e&&($l(e)||Te(e))&&Te(e.then)&&Te(e.catch),g={isArray:Cn,isArrayBuffer:tf,isBuffer:Gp,isFormData:rh,isArrayBufferView:Jp,isString:Yp,isNumber:nf,isBoolean:qp,isObject:$l,isPlainObject:Jr,isUndefined:ar,isDate:Zp,isFile:bp,isBlob:eh,isRegExp:vh,isFunction:Te,isStream:nh,isURLSearchParams:lh,isTypedArray:dh,isFileList:th,forEach:mr,merge:yi,extend:ih,trim:oh,stripBOM:uh,inherits:sh,toFlatObject:ah,kindOf:Ul,kindOfTest:Ke,endsWith:ch,toArray:fh,forEachEntry:ph,matchAll:hh,isHTMLForm:mh,hasOwnProperty:Os,hasOwnProp:Os,reduceDescriptors:uf,freezeMethods:gh,toObjectSet:wh,toCamelCase:yh,noop:Sh,toFiniteNumber:kh,findKey:rf,global:lf,isContextDefined:of,ALPHABET:sf,generateString:Eh,isSpecCompliantForm:Ch,toJSONObject:xh,isAsyncFn:_h,isThenable:Nh};function F(e,t,n,r,l){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),l&&(this.response=l)}g.inherits(F,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:g.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const af=F.prototype,cf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{cf[e]={value:e}});Object.defineProperties(F,cf);Object.defineProperty(af,"isAxiosError",{value:!0});F.from=(e,t,n,r,l,o)=>{const i=Object.create(af);return g.toFlatObject(e,i,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),F.call(i,e.message,t,n,r,l),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Ph=null;function vi(e){return g.isPlainObject(e)||g.isArray(e)}function ff(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function zs(e,t,n){return e?e.concat(t).map(function(l,o){return l=ff(l),!n&&o?"["+l+"]":l}).join(n?".":""):t}function Rh(e){return g.isArray(e)&&!e.some(vi)}const Th=g.toFlatObject(g,{},null,function(t){return/^is[A-Z]/.test(t)});function Hl(e,t,n){if(!g.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=g.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,R){return!g.isUndefined(R[v])});const r=n.metaTokens,l=n.visitor||h,o=n.dots,i=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(t);if(!g.isFunction(l))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(g.isDate(y))return y.toISOString();if(!s&&g.isBlob(y))throw new F("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(y)||g.isTypedArray(y)?s&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function h(y,v,R){let d=y;if(y&&!R&&typeof y=="object"){if(g.endsWith(v,"{}"))v=r?v:v.slice(0,-2),y=JSON.stringify(y);else if(g.isArray(y)&&Rh(y)||(g.isFileList(y)||g.endsWith(v,"[]"))&&(d=g.toArray(y)))return v=ff(v),d.forEach(function(p,w){!(g.isUndefined(p)||p===null)&&t.append(i===!0?zs([v],w,o):i===null?v:v+"[]",a(p))}),!1}return vi(y)?!0:(t.append(zs(R,v,o),a(y)),!1)}const f=[],m=Object.assign(Th,{defaultVisitor:h,convertValue:a,isVisitable:vi});function k(y,v){if(!g.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(y),g.forEach(y,function(d,c){(!(g.isUndefined(d)||d===null)&&l.call(t,d,g.isString(c)?c.trim():c,v,m))===!0&&k(d,v?v.concat(c):[c])}),f.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return k(e),t}function Fs(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function yu(e,t){this._pairs=[],e&&Hl(e,this,t)}const df=yu.prototype;df.append=function(t,n){this._pairs.push([t,n])};df.toString=function(t){const n=t?function(r){return t.call(this,r,Fs)}:Fs;return this._pairs.map(function(l){return n(l[0])+"="+n(l[1])},"").join("&")};function Oh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pf(e,t,n){if(!t)return e;const r=n&&n.encode||Oh,l=n&&n.serialize;let o;if(l?o=l(t,n):o=g.isURLSearchParams(t)?t.toString():new yu(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class As{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){g.forEach(this.handlers,function(r){r!==null&&t(r)})}}const hf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Lh=typeof URLSearchParams<"u"?URLSearchParams:yu,zh=typeof FormData<"u"?FormData:null,Fh=typeof Blob<"u"?Blob:null,Ah={isBrowser:!0,classes:{URLSearchParams:Lh,FormData:zh,Blob:Fh},protocols:["http","https","file","blob","url","data"]},mf=typeof window<"u"&&typeof document<"u",Dh=(e=>mf&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),jh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:mf,hasStandardBrowserEnv:Dh,hasStandardBrowserWebWorkerEnv:jh},Symbol.toStringTag,{value:"Module"})),Ve={...Mh,...Ah};function Ih(e,t){return Hl(e,new Ve.classes.URLSearchParams,Object.assign({visitor:function(n,r,l,o){return Ve.isNode&&g.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Uh(e){return g.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Bh(e){const t={},n=Object.keys(e);let r;const l=n.length;let o;for(r=0;r=n.length;return i=!i&&g.isArray(l)?l.length:i,s?(g.hasOwnProp(l,i)?l[i]=[l[i],r]:l[i]=r,!u):((!l[i]||!g.isObject(l[i]))&&(l[i]=[]),t(n,r,l[i],o)&&g.isArray(l[i])&&(l[i]=Bh(l[i])),!u)}if(g.isFormData(e)&&g.isFunction(e.entries)){const n={};return g.forEachEntry(e,(r,l)=>{t(Uh(r),l,n,0)}),n}return null}function $h(e,t,n){if(g.isString(e))try{return(t||JSON.parse)(e),g.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const vu={transitional:hf,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",l=r.indexOf("application/json")>-1,o=g.isObject(t);if(o&&g.isHTMLForm(t)&&(t=new FormData(t)),g.isFormData(t))return l?JSON.stringify(yf(t)):t;if(g.isArrayBuffer(t)||g.isBuffer(t)||g.isStream(t)||g.isFile(t)||g.isBlob(t))return t;if(g.isArrayBufferView(t))return t.buffer;if(g.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ih(t,this.formSerializer).toString();if((u=g.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Hl(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return o||l?(n.setContentType("application/json",!1),$h(t)):t}],transformResponse:[function(t){const n=this.transitional||vu.transitional,r=n&&n.forcedJSONParsing,l=this.responseType==="json";if(t&&g.isString(t)&&(r&&!this.responseType||l)){const i=!(n&&n.silentJSONParsing)&&l;try{return JSON.parse(t)}catch(u){if(i)throw u.name==="SyntaxError"?F.from(u,F.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ve.classes.FormData,Blob:Ve.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch"],e=>{vu.headers[e]={}});const gu=vu,Hh=g.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Vh=e=>{const t={};let n,r,l;return e&&e.split(` `).forEach(function(i){l=i.indexOf(":"),n=i.substring(0,l).trim().toLowerCase(),r=i.substring(l+1).trim(),!(!n||t[n]&&Hh[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ds=Symbol("internals");function zn(e){return e&&String(e).trim().toLowerCase()}function Yr(e){return e===!1||e==null?e:g.isArray(e)?e.map(Yr):String(e)}function Wh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Qh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function wo(e,t,n,r,l){if(g.isFunction(r))return r.call(this,t,n);if(l&&(t=n),!!g.isString(t)){if(g.isString(r))return t.indexOf(r)!==-1;if(g.isRegExp(r))return r.test(t)}}function Kh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Xh(e,t){const n=g.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(l,o,i){return this[r].call(this,t,l,o,i)},configurable:!0})})}class Vl{constructor(t){t&&this.set(t)}set(t,n,r){const l=this;function o(u,s,a){const h=zn(s);if(!h)throw new Error("header name must be a non-empty string");const f=g.findKey(l,h);(!f||l[f]===void 0||a===!0||a===void 0&&l[f]!==!1)&&(l[f||s]=Yr(u))}const i=(u,s)=>g.forEach(u,(a,h)=>o(a,h,s));return g.isPlainObject(t)||t instanceof this.constructor?i(t,n):g.isString(t)&&(t=t.trim())&&!Qh(t)?i(Vh(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=zn(t),t){const r=g.findKey(this,t);if(r){const l=this[r];if(!n)return l;if(n===!0)return Wh(l);if(g.isFunction(n))return n.call(this,l,r);if(g.isRegExp(n))return n.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=zn(t),t){const r=g.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||wo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let l=!1;function o(i){if(i=zn(i),i){const u=g.findKey(r,i);u&&(!n||wo(r,r[u],u,n))&&(delete r[u],l=!0)}}return g.isArray(t)?t.forEach(o):o(t),l}clear(t){const n=Object.keys(this);let r=n.length,l=!1;for(;r--;){const o=n[r];(!t||wo(this,this[o],o,t,!0))&&(delete this[o],l=!0)}return l}normalize(t){const n=this,r={};return g.forEach(this,(l,o)=>{const i=g.findKey(r,o);if(i){n[i]=Yr(l),delete n[o];return}const u=t?Kh(o):String(o).trim();u!==o&&delete n[o],n[u]=Yr(l),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return g.forEach(this,(r,l)=>{r!=null&&r!==!1&&(n[l]=t&&g.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(l=>r.set(l)),r}static accessor(t){const r=(this[Ds]=this[Ds]={accessors:{}}).accessors,l=this.prototype;function o(i){const u=zn(i);r[u]||(Xh(l,i),r[u]=!0)}return g.isArray(t)?t.forEach(o):o(t),this}}Vl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.reduceDescriptors(Vl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});g.freezeMethods(Vl);const be=Vl;function So(e,t){const n=this||gu,r=t||n,l=be.from(r.headers);let o=r.data;return g.forEach(e,function(u){o=u.call(n,o,l.normalize(),t?t.status:void 0)}),l.normalize(),o}function vf(e){return!!(e&&e.__CANCEL__)}function yr(e,t,n){F.call(this,e??"canceled",F.ERR_CANCELED,t,n),this.name="CanceledError"}g.inherits(yr,F,{__CANCEL__:!0});function Gh(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Jh=Ve.hasStandardBrowserEnv?{write(e,t,n,r,l,o){const i=[e+"="+encodeURIComponent(t)];g.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),g.isString(r)&&i.push("path="+r),g.isString(l)&&i.push("domain="+l),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Yh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function gf(e,t){return e&&!Yh(t)?qh(e,t):t}const Zh=Ve.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function l(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=l(window.location.href),function(i){const u=g.isString(i)?l(i):i;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}();function bh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function em(e,t){e=e||10;const n=new Array(e),r=new Array(e);let l=0,o=0,i;return t=t!==void 0?t:1e3,function(s){const a=Date.now(),h=r[o];i||(i=a),n[l]=s,r[l]=a;let f=o,m=0;for(;f!==l;)m+=n[f++],f=f%e;if(l=(l+1)%e,l===o&&(o=(o+1)%e),a-i{const o=l.loaded,i=l.lengthComputable?l.total:void 0,u=o-n,s=r(u),a=o<=i;n=o;const h={loaded:o,total:i,progress:i?o/i:void 0,bytes:u,rate:s||void 0,estimated:s&&i&&a?(i-o)/s:void 0,event:l};h[t?"download":"upload"]=!0,e(h)}}const tm=typeof XMLHttpRequest<"u",nm=tm&&function(e){return new Promise(function(n,r){let l=e.data;const o=be.from(e.headers).normalize();let{responseType:i,withXSRFToken:u}=e,s;function a(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}let h;if(g.isFormData(l)){if(Ve.hasStandardBrowserEnv||Ve.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((h=o.getContentType())!==!1){const[v,...R]=h?h.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([v||"multipart/form-data",...R].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",R=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(v+":"+R))}const m=gf(e.baseURL,e.url);f.open(e.method.toUpperCase(),pf(m,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function k(){if(!f)return;const v=be.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),d={data:!i||i==="text"||i==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:v,config:e,request:f};Gh(function(p){n(p),a()},function(p){r(p),a()},d),f=null}if("onloadend"in f?f.onloadend=k:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(k)},f.onabort=function(){f&&(r(new F("Request aborted",F.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new F("Network Error",F.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let R=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const d=e.transitional||hf;e.timeoutErrorMessage&&(R=e.timeoutErrorMessage),r(new F(R,d.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,f)),f=null},Ve.hasStandardBrowserEnv&&(u&&g.isFunction(u)&&(u=u(e)),u||u!==!1&&Zh(m))){const v=e.xsrfHeaderName&&e.xsrfCookieName&&Jh.read(e.xsrfCookieName);v&&o.set(e.xsrfHeaderName,v)}l===void 0&&o.setContentType(null),"setRequestHeader"in f&&g.forEach(o.toJSON(),function(R,d){f.setRequestHeader(d,R)}),g.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),i&&i!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",js(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",js(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=v=>{f&&(r(!v||v.type?new yr(null,e,f):v),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const y=bh(m);if(y&&Ve.protocols.indexOf(y)===-1){r(new F("Unsupported protocol "+y+":",F.ERR_BAD_REQUEST,e));return}f.send(l||null)})},gi={http:Ph,xhr:nm};g.forEach(gi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ms=e=>`- ${e}`,rm=e=>g.isFunction(e)||e===null||e===!1,wf={getAdapter:e=>{e=g.isArray(e)?e:[e];const{length:t}=e;let n,r;const l={};for(let o=0;o`adapter ${u} `+(s===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : `+o.map(Ms).join(` `):" "+Ms(o[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:gi};function ko(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yr(null,e)}function Is(e){return ko(e),e.headers=be.from(e.headers),e.data=So.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wf.getAdapter(e.adapter||gu.adapter)(e).then(function(r){return ko(e),r.data=So.call(e,e.transformResponse,r),r.headers=be.from(r.headers),r},function(r){return vf(r)||(ko(e),r&&r.response&&(r.response.data=So.call(e,e.transformResponse,r.response),r.response.headers=be.from(r.response.headers))),Promise.reject(r)})}const Us=e=>e instanceof be?{...e}:e;function wn(e,t){t=t||{};const n={};function r(a,h,f){return g.isPlainObject(a)&&g.isPlainObject(h)?g.merge.call({caseless:f},a,h):g.isPlainObject(h)?g.merge({},h):g.isArray(h)?h.slice():h}function l(a,h,f){if(g.isUndefined(h)){if(!g.isUndefined(a))return r(void 0,a,f)}else return r(a,h,f)}function o(a,h){if(!g.isUndefined(h))return r(void 0,h)}function i(a,h){if(g.isUndefined(h)){if(!g.isUndefined(a))return r(void 0,a)}else return r(void 0,h)}function u(a,h,f){if(f in t)return r(a,h);if(f in e)return r(void 0,a)}const s={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u,headers:(a,h)=>l(Us(a),Us(h),!0)};return g.forEach(Object.keys(Object.assign({},e,t)),function(h){const f=s[h]||l,m=f(e[h],t[h],h);g.isUndefined(m)&&f!==u||(n[h]=m)}),n}const Sf="1.6.8",wu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{wu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Bs={};wu.transitional=function(t,n,r){function l(o,i){return"[Axios v"+Sf+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,u)=>{if(t===!1)throw new F(l(i," has been removed"+(n?" in "+n:"")),F.ERR_DEPRECATED);return n&&!Bs[i]&&(Bs[i]=!0,console.warn(l(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,u):!0}};function lm(e,t,n){if(typeof e!="object")throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let l=r.length;for(;l-- >0;){const o=r[l],i=t[o];if(i){const u=e[o],s=u===void 0||i(u,o,e);if(s!==!0)throw new F("option "+o+" must be "+s,F.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new F("Unknown option "+o,F.ERR_BAD_OPTION)}}const wi={assertOptions:lm,validators:wu},st=wi.validators;class El{constructor(t){this.defaults=t,this.interceptors={request:new As,response:new As}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let l;Error.captureStackTrace?Error.captureStackTrace(l={}):l=new Error;const o=l.stack?l.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wn(this.defaults,n);const{transitional:r,paramsSerializer:l,headers:o}=n;r!==void 0&&wi.assertOptions(r,{silentJSONParsing:st.transitional(st.boolean),forcedJSONParsing:st.transitional(st.boolean),clarifyTimeoutError:st.transitional(st.boolean)},!1),l!=null&&(g.isFunction(l)?n.paramsSerializer={serialize:l}:wi.assertOptions(l,{encode:st.function,serialize:st.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&g.merge(o.common,o[n.method]);o&&g.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=be.concat(i,o);const u=[];let s=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(s=s&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const a=[];this.interceptors.response.forEach(function(v){a.push(v.fulfilled,v.rejected)});let h,f=0,m;if(!s){const y=[Is.bind(this),void 0];for(y.unshift.apply(y,u),y.push.apply(y,a),m=y.length,h=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](l);r._listeners=null}),this.promise.then=l=>{let o;const i=new Promise(u=>{r.subscribe(u),o=u}).then(l);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,u){r.reason||(r.reason=new yr(o,i,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Su(function(l){t=l}),cancel:t}}}const om=Su;function im(e){return function(n){return e.apply(null,n)}}function um(e){return g.isObject(e)&&e.isAxiosError===!0}const Si={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Si).forEach(([e,t])=>{Si[t]=e});const sm=Si;function kf(e){const t=new qr(e),n=ef(qr.prototype.request,t);return g.extend(n,qr.prototype,t,{allOwnKeys:!0}),g.extend(n,t,null,{allOwnKeys:!0}),n.create=function(l){return kf(wn(e,l))},n}const J=kf(gu);J.Axios=qr;J.CanceledError=yr;J.CancelToken=om;J.isCancel=vf;J.VERSION=Sf;J.toFormData=Hl;J.AxiosError=F;J.Cancel=J.CanceledError;J.all=function(t){return Promise.all(t)};J.spread=im;J.isAxiosError=um;J.mergeConfig=wn;J.AxiosHeaders=be;J.formToJSON=e=>yf(g.isHTMLForm(e)?new FormData(e):e);J.getAdapter=wf.getAdapter;J.HttpStatusCode=sm;J.default=J;var am="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",cm="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z";const jr=6,Eo=7,fm=()=>{const[e,t]=xe.useState(Array(jr).fill().map(()=>Array(Eo).fill(0))),[n,r]=xe.useState("yellow"),[l,o]=xe.useState(null),[i,u]=xe.useState([]),[s,a]=xe.useState(!1),[h,f]=xe.useState(!1),[m,k]=xe.useState(50),y=xe.useCallback((E,C,N)=>{const j=[[0,1],[1,0],[1,1],[1,-1]];for(let[O,se]of j){let Ue=1;const Xe=[[E,C]];for(let Rt=-1;Rt<=1;Rt+=2)for(let Qt=1;Qt<4;Qt++){const ot=E+Rt*Qt*O,it=C+Rt*Qt*se;if(ot<0||ot>=jr||it<0||it>=Eo||e[ot][it]!==N)break;Ue++,Xe.push([ot,it])}if(Ue>=4&&!l)return console.log("Winner is ","Winning Sequence:",Xe),u(Xe),!0}return!1},[u,e,l]),v=xe.useCallback(E=>{const C=[...e];for(let N=jr-1;N>=0;N--)if(!C[N][E]){C[N][E]=n==="red"?1:-1,y(N,E,n==="red"?1:-1)?o(n):r(n==="red"?"yellow":"red"),t(C);return}},[e,n,y]);xe.useEffect(()=>{if(n==="yellow"&&!l&&s){const E={board:e,currentPlayer:n,randomMoves:h,mctsIterations:m};console.log("ApiRequest: ",E),J.post("https://gruhit13-connect-4-api.hf.space/get_move",E).then(C=>{console.log(C.data),v(C.data.move)}).catch(C=>{console.error("Error fetching data:",C)})}},[n,e,v,l,h,m,s]);const R=E=>{if(!s)a(!0);else if(l||!s)return;v(E)},d=()=>{t(Array(jr).fill().map(()=>Array(Eo).fill(0))),r("yellow"),o(null),u([]),a(!1),f(!1),k(50)},c=E=>{f(E.target.checked)},p=E=>{k(E.target.value)},w=(E,C)=>{const N=e[E][C]!==0?e[E][C]===1?"red":"yellow":null,j=N||"white",O=i.some(([se,Ue])=>se===E&&Ue===C);return X.jsx("div",{className:`cell ${O?"winning-cell":""}`,onClick:()=>R(C),style:{backgroundColor:j}},`${E}-${C}`)},x=()=>X.jsx("div",{className:"board",children:e.map((E,C)=>X.jsx("div",{className:"row",children:E.map((N,j)=>w(C,j))},C))});return X.jsxs("div",{className:"App",children:[X.jsx("h1",{children:"Connect 4"}),X.jsxs("div",{className:"options-container",children:[X.jsxs("div",{children:[X.jsx("input",{type:"checkbox",id:"randomMoves",name:"randomMoves",checked:h,onChange:c}),X.jsx("label",{htmlFor:"randomMoves",children:"Get Random Moves"})]}),X.jsxs("div",{children:[X.jsx("input",{type:"range",id:"mctsIterations",name:"mctsIterations",min:"50",max:"500",value:m,onChange:p}),X.jsxs("label",{htmlFor:"mctsIterations",children:["MCTS Iterations: ",m]})]})]}),x(),s&&l&&X.jsx("div",{className:"reload-button",onClick:d,children:X.jsx("svg",{className:"reload-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:X.jsx("path",{d:cm})})}),!s&&!l&&X.jsx("div",{className:"play-button-container",children:X.jsx("div",{className:"play-button",onClick:()=>a(!0),children:X.jsx("svg",{className:"play-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:X.jsx("path",{d:am})})})})]})};Co.createRoot(document.getElementById("root")).render(X.jsx(fm,{}));