(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))a(u);new MutationObserver(u=>{for(const n of u)if(n.type==="childList")for(const c of n.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function e(u){const n={};return u.integrity&&(n.integrity=u.integrity),u.referrerPolicy&&(n.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?n.credentials="include":u.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function a(u){if(u.ep)return;u.ep=!0;const n=e(u);fetch(u.href,n)}})();var Vs={exports:{}},xn={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Zd=Symbol.for("react.transitional.element"),Vd=Symbol.for("react.fragment");function Ls(l,t,e){var a=null;if(e!==void 0&&(a=""+e),t.key!==void 0&&(a=""+t.key),"key"in t){e={};for(var u in t)u!=="key"&&(e[u]=t[u])}else e=t;return t=e.ref,{$$typeof:Zd,type:l,key:a,ref:t!==void 0?t:null,props:e}}xn.Fragment=Vd;xn.jsx=Ls;xn.jsxs=Ls;Vs.exports=xn;var o=Vs.exports,ws={exports:{}},R={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var yi=Symbol.for("react.transitional.element"),Ld=Symbol.for("react.portal"),wd=Symbol.for("react.fragment"),Kd=Symbol.for("react.strict_mode"),Jd=Symbol.for("react.profiler"),$d=Symbol.for("react.consumer"),kd=Symbol.for("react.context"),Wd=Symbol.for("react.forward_ref"),Fd=Symbol.for("react.suspense"),Id=Symbol.for("react.memo"),Ks=Symbol.for("react.lazy"),bf=Symbol.iterator;function Pd(l){return l===null||typeof l!="object"?null:(l=bf&&l[bf]||l["@@iterator"],typeof l=="function"?l:null)}var Js={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$s=Object.assign,ks={};function aa(l,t,e){this.props=l,this.context=t,this.refs=ks,this.updater=e||Js}aa.prototype.isReactComponent={};aa.prototype.setState=function(l,t){if(typeof l!="object"&&typeof l!="function"&&l!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,l,t,"setState")};aa.prototype.forceUpdate=function(l){this.updater.enqueueForceUpdate(this,l,"forceUpdate")};function Ws(){}Ws.prototype=aa.prototype;function vi(l,t,e){this.props=l,this.context=t,this.refs=ks,this.updater=e||Js}var gi=vi.prototype=new Ws;gi.constructor=vi;$s(gi,aa.prototype);gi.isPureReactComponent=!0;var Sf=Array.isArray,F={H:null,A:null,T:null,S:null,V:null},Fs=Object.prototype.hasOwnProperty;function bi(l,t,e,a,u,n){return e=n.ref,{$$typeof:yi,type:l,key:t,ref:e!==void 0?e:null,props:n}}function lr(l,t){return bi(l.type,t,void 0,void 0,void 0,l.props)}function Si(l){return typeof l=="object"&&l!==null&&l.$$typeof===yi}function tr(l){var t={"=":"=0",":":"=2"};return"$"+l.replace(/[=:]/g,function(e){return t[e]})}var xf=/\/+/g;function Cn(l,t){return typeof l=="object"&&l!==null&&l.key!=null?tr(""+l.key):t.toString(36)}function pf(){}function er(l){switch(l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:switch(typeof l.status=="string"?l.then(pf,pf):(l.status="pending",l.then(function(t){l.status==="pending"&&(l.status="fulfilled",l.value=t)},function(t){l.status==="pending"&&(l.status="rejected",l.reason=t)})),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason}}throw l}function Ae(l,t,e,a,u){var n=typeof l;(n==="undefined"||n==="boolean")&&(l=null);var c=!1;if(l===null)c=!0;else switch(n){case"bigint":case"string":case"number":c=!0;break;case"object":switch(l.$$typeof){case yi:case Ld:c=!0;break;case Ks:return c=l._init,Ae(c(l._payload),t,e,a,u)}}if(c)return u=u(l),c=a===""?"."+Cn(l,0):a,Sf(u)?(e="",c!=null&&(e=c.replace(xf,"$&/")+"/"),Ae(u,t,e,"",function(d){return d})):u!=null&&(Si(u)&&(u=lr(u,e+(u.key==null||l&&l.key===u.key?"":(""+u.key).replace(xf,"$&/")+"/")+c)),t.push(u)),1;c=0;var i=a===""?".":a+":";if(Sf(l))for(var f=0;f<l.length;f++)a=l[f],n=i+Cn(a,f),c+=Ae(a,t,e,n,u);else if(f=Pd(l),typeof f=="function")for(l=f.call(l),f=0;!(a=l.next()).done;)a=a.value,n=i+Cn(a,f++),c+=Ae(a,t,e,n,u);else if(n==="object"){if(typeof l.then=="function")return Ae(er(l),t,e,a,u);throw t=String(l),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function yu(l,t,e){if(l==null)return l;var a=[],u=0;return Ae(l,a,"","",function(n){return t.call(e,n,u++)}),a}function ar(l){if(l._status===-1){var t=l._result;t=t(),t.then(function(e){(l._status===0||l._status===-1)&&(l._status=1,l._result=e)},function(e){(l._status===0||l._status===-1)&&(l._status=2,l._result=e)}),l._status===-1&&(l._status=0,l._result=t)}if(l._status===1)return l._result.default;throw l._result}var Af=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function ur(){}R.Children={map:yu,forEach:function(l,t,e){yu(l,function(){t.apply(this,arguments)},e)},count:function(l){var t=0;return yu(l,function(){t++}),t},toArray:function(l){return yu(l,function(t){return t})||[]},only:function(l){if(!Si(l))throw Error("React.Children.only expected to receive a single React element child.");return l}};R.Component=aa;R.Fragment=wd;R.Profiler=Jd;R.PureComponent=vi;R.StrictMode=Kd;R.Suspense=Fd;R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F;R.__COMPILER_RUNTIME={__proto__:null,c:function(l){return F.H.useMemoCache(l)}};R.cache=function(l){return function(){return l.apply(null,arguments)}};R.cloneElement=function(l,t,e){if(l==null)throw Error("The argument must be a React element, but you passed "+l+".");var a=$s({},l.props),u=l.key,n=void 0;if(t!=null)for(c in t.ref!==void 0&&(n=void 0),t.key!==void 0&&(u=""+t.key),t)!Fs.call(t,c)||c==="key"||c==="__self"||c==="__source"||c==="ref"&&t.ref===void 0||(a[c]=t[c]);var c=arguments.length-2;if(c===1)a.children=e;else if(1<c){for(var i=Array(c),f=0;f<c;f++)i[f]=arguments[f+2];a.children=i}return bi(l.type,u,void 0,void 0,n,a)};R.createContext=function(l){return l={$$typeof:kd,_currentValue:l,_currentValue2:l,_threadCount:0,Provider:null,Consumer:null},l.Provider=l,l.Consumer={$$typeof:$d,_context:l},l};R.createElement=function(l,t,e){var a,u={},n=null;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)Fs.call(t,a)&&a!=="key"&&a!=="__self"&&a!=="__source"&&(u[a]=t[a]);var c=arguments.length-2;if(c===1)u.children=e;else if(1<c){for(var i=Array(c),f=0;f<c;f++)i[f]=arguments[f+2];u.children=i}if(l&&l.defaultProps)for(a in c=l.defaultProps,c)u[a]===void 0&&(u[a]=c[a]);return bi(l,n,void 0,void 0,null,u)};R.createRef=function(){return{current:null}};R.forwardRef=function(l){return{$$typeof:Wd,render:l}};R.isValidElement=Si;R.lazy=function(l){return{$$typeof:Ks,_payload:{_status:-1,_result:l},_init:ar}};R.memo=function(l,t){return{$$typeof:Id,type:l,compare:t===void 0?null:t}};R.startTransition=function(l){var t=F.T,e={};F.T=e;try{var a=l(),u=F.S;u!==null&&u(e,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(ur,Af)}catch(n){Af(n)}finally{F.T=t}};R.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()};R.use=function(l){return F.H.use(l)};R.useActionState=function(l,t,e){return F.H.useActionState(l,t,e)};R.useCallback=function(l,t){return F.H.useCallback(l,t)};R.useContext=function(l){return F.H.useContext(l)};R.useDebugValue=function(){};R.useDeferredValue=function(l,t){return F.H.useDeferredValue(l,t)};R.useEffect=function(l,t,e){var a=F.H;if(typeof e=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return a.useEffect(l,t)};R.useId=function(){return F.H.useId()};R.useImperativeHandle=function(l,t,e){return F.H.useImperativeHandle(l,t,e)};R.useInsertionEffect=function(l,t){return F.H.useInsertionEffect(l,t)};R.useLayoutEffect=function(l,t){return F.H.useLayoutEffect(l,t)};R.useMemo=function(l,t){return F.H.useMemo(l,t)};R.useOptimistic=function(l,t){return F.H.useOptimistic(l,t)};R.useReducer=function(l,t,e){return F.H.useReducer(l,t,e)};R.useRef=function(l){return F.H.useRef(l)};R.useState=function(l){return F.H.useState(l)};R.useSyncExternalStore=function(l,t,e){return F.H.useSyncExternalStore(l,t,e)};R.useTransition=function(){return F.H.useTransition()};R.version="19.1.1";ws.exports=R;var M=ws.exports,Is={exports:{}},pn={},Ps={exports:{}},l0={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(l){function t(N,H){var _=N.length;N.push(H);l:for(;0<_;){var k=_-1>>>1,el=N[k];if(0<u(el,H))N[k]=H,N[_]=el,_=k;else break l}}function e(N){return N.length===0?null:N[0]}function a(N){if(N.length===0)return null;var H=N[0],_=N.pop();if(_!==H){N[0]=_;l:for(var k=0,el=N.length,ge=el>>>1;k<ge;){var be=2*(k+1)-1,oa=N[be],ft=be+1,Se=N[ft];if(0>u(oa,_))ft<el&&0>u(Se,oa)?(N[k]=Se,N[ft]=_,k=ft):(N[k]=oa,N[be]=_,k=be);else if(ft<el&&0>u(Se,_))N[k]=Se,N[ft]=_,k=ft;else break l}}return H}function u(N,H){var _=N.sortIndex-H.sortIndex;return _!==0?_:N.id-H.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var n=performance;l.unstable_now=function(){return n.now()}}else{var c=Date,i=c.now();l.unstable_now=function(){return c.now()-i}}var f=[],d=[],g=1,v=null,h=3,m=!1,x=!1,p=!1,D=!1,r=typeof setTimeout=="function"?setTimeout:null,s=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;function b(N){for(var H=e(d);H!==null;){if(H.callback===null)a(d);else if(H.startTime<=N)a(d),H.sortIndex=H.expirationTime,t(f,H);else break;H=e(d)}}function T(N){if(p=!1,b(N),!x)if(e(f)!==null)x=!0,z||(z=!0,dl());else{var H=e(d);H!==null&&_l(T,H.startTime-N)}}var z=!1,E=-1,A=5,G=-1;function j(){return D?!0:!(l.unstable_now()-G<A)}function xl(){if(D=!1,z){var N=l.unstable_now();G=N;var H=!0;try{l:{x=!1,p&&(p=!1,s(E),E=-1),m=!0;var _=h;try{t:{for(b(N),v=e(f);v!==null&&!(v.expirationTime>N&&j());){var k=v.callback;if(typeof k=="function"){v.callback=null,h=v.priorityLevel;var el=k(v.expirationTime<=N);if(N=l.unstable_now(),typeof el=="function"){v.callback=el,b(N),H=!0;break t}v===e(f)&&a(f),b(N)}else a(f);v=e(f)}if(v!==null)H=!0;else{var ge=e(d);ge!==null&&_l(T,ge.startTime-N),H=!1}}break l}finally{v=null,h=_,m=!1}H=void 0}}finally{H?dl():z=!1}}}var dl;if(typeof y=="function")dl=function(){y(xl)};else if(typeof MessageChannel<"u"){var it=new MessageChannel,hu=it.port2;it.port1.onmessage=xl,dl=function(){hu.postMessage(null)}}else dl=function(){r(xl,0)};function _l(N,H){E=r(function(){N(l.unstable_now())},H)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(N){N.callback=null},l.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<N?Math.floor(1e3/N):5},l.unstable_getCurrentPriorityLevel=function(){return h},l.unstable_next=function(N){switch(h){case 1:case 2:case 3:var H=3;break;default:H=h}var _=h;h=H;try{return N()}finally{h=_}},l.unstable_requestPaint=function(){D=!0},l.unstable_runWithPriority=function(N,H){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var _=h;h=N;try{return H()}finally{h=_}},l.unstable_scheduleCallback=function(N,H,_){var k=l.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?k+_:k):_=k,N){case 1:var el=-1;break;case 2:el=250;break;case 5:el=1073741823;break;case 4:el=1e4;break;default:el=5e3}return el=_+el,N={id:g++,callback:H,priorityLevel:N,startTime:_,expirationTime:el,sortIndex:-1},_>k?(N.sortIndex=_,t(d,N),e(f)===null&&N===e(d)&&(p?(s(E),E=-1):p=!0,_l(T,_-k))):(N.sortIndex=el,t(f,N),x||m||(x=!0,z||(z=!0,dl()))),N},l.unstable_shouldYield=j,l.unstable_wrapCallback=function(N){var H=h;return function(){var _=h;h=H;try{return N.apply(this,arguments)}finally{h=_}}}})(l0);Ps.exports=l0;var nr=Ps.exports,t0={exports:{}},Nl={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and 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=M;function e0(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function zt(){}var El={d:{f:zt,r:function(){throw Error(e0(522))},D:zt,C:zt,L:zt,m:zt,X:zt,S:zt,M:zt},p:0,findDOMNode:null},ir=Symbol.for("react.portal");function fr(l,t,e){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ir,key:a==null?null:""+a,children:l,containerInfo:t,implementation:e}}var Ta=cr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function An(l,t){if(l==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Nl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=El;Nl.createPortal=function(l,t){var e=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(e0(299));return fr(l,t,null,e)};Nl.flushSync=function(l){var t=Ta.T,e=El.p;try{if(Ta.T=null,El.p=2,l)return l()}finally{Ta.T=t,El.p=e,El.d.f()}};Nl.preconnect=function(l,t){typeof l=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,El.d.C(l,t))};Nl.prefetchDNS=function(l){typeof l=="string"&&El.d.D(l)};Nl.preinit=function(l,t){if(typeof l=="string"&&t&&typeof t.as=="string"){var e=t.as,a=An(e,t.crossOrigin),u=typeof t.integrity=="string"?t.integrity:void 0,n=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;e==="style"?El.d.S(l,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:a,integrity:u,fetchPriority:n}):e==="script"&&El.d.X(l,{crossOrigin:a,integrity:u,fetchPriority:n,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Nl.preinitModule=function(l,t){if(typeof l=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var e=An(t.as,t.crossOrigin);El.d.M(l,{crossOrigin:e,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&El.d.M(l)};Nl.preload=function(l,t){if(typeof l=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var e=t.as,a=An(e,t.crossOrigin);El.d.L(l,e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Nl.preloadModule=function(l,t){if(typeof l=="string")if(t){var e=An(t.as,t.crossOrigin);El.d.m(l,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:e,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else El.d.m(l)};Nl.requestFormReset=function(l){El.d.r(l)};Nl.unstable_batchedUpdates=function(l,t){return l(t)};Nl.useFormState=function(l,t,e){return Ta.H.useFormState(l,t,e)};Nl.useFormStatus=function(){return Ta.H.useHostTransitionStatus()};Nl.version="19.1.1";function a0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a0)}catch(l){console.error(l)}}a0(),t0.exports=Nl;var sr=t0.exports;/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ol=nr,u0=M,or=sr;function S(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n0(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function Ia(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,t.flags&4098&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}function c0(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function Tf(l){if(Ia(l)!==l)throw Error(S(188))}function dr(l){var t=l.alternate;if(!t){if(t=Ia(l),t===null)throw Error(S(188));return t!==l?null:l}for(var e=l,a=t;;){var u=e.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){e=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===e)return Tf(u),l;if(n===a)return Tf(u),t;n=n.sibling}throw Error(S(188))}if(e.return!==a.return)e=u,a=n;else{for(var c=!1,i=u.child;i;){if(i===e){c=!0,e=u,a=n;break}if(i===a){c=!0,a=u,e=n;break}i=i.sibling}if(!c){for(i=n.child;i;){if(i===e){c=!0,e=n,a=u;break}if(i===a){c=!0,a=n,e=u;break}i=i.sibling}if(!c)throw Error(S(189))}}if(e.alternate!==a)throw Error(S(190))}if(e.tag!==3)throw Error(S(188));return e.stateNode.current===e?l:t}function i0(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=i0(l),t!==null)return t;l=l.sibling}return null}var $=Object.assign,rr=Symbol.for("react.element"),vu=Symbol.for("react.transitional.element"),Sa=Symbol.for("react.portal"),ze=Symbol.for("react.fragment"),f0=Symbol.for("react.strict_mode"),xc=Symbol.for("react.profiler"),mr=Symbol.for("react.provider"),s0=Symbol.for("react.consumer"),ht=Symbol.for("react.context"),xi=Symbol.for("react.forward_ref"),pc=Symbol.for("react.suspense"),Ac=Symbol.for("react.suspense_list"),pi=Symbol.for("react.memo"),jt=Symbol.for("react.lazy"),Tc=Symbol.for("react.activity"),hr=Symbol.for("react.memo_cache_sentinel"),Ef=Symbol.iterator;function da(l){return l===null||typeof l!="object"?null:(l=Ef&&l[Ef]||l["@@iterator"],typeof l=="function"?l:null)}var yr=Symbol.for("react.client.reference");function Ec(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===yr?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ze:return"Fragment";case xc:return"Profiler";case f0:return"StrictMode";case pc:return"Suspense";case Ac:return"SuspenseList";case Tc:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Sa:return"Portal";case ht:return(l.displayName||"Context")+".Provider";case s0:return(l._context.displayName||"Context")+".Consumer";case xi:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case pi:return t=l.displayName||null,t!==null?t:Ec(l.type)||"Memo";case jt:t=l._payload,l=l._init;try{return Ec(l(t))}catch{}}return null}var xa=Array.isArray,O=u0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=or.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},Nc=[],Oe=-1;function nt(l){return{current:l}}function yl(l){0>Oe||(l.current=Nc[Oe],Nc[Oe]=null,Oe--)}function I(l,t){Oe++,Nc[Oe]=l.current,l.current=t}var et=nt(null),Ca=nt(null),Gt=nt(null),Vu=nt(null);function Lu(l,t){switch(I(Gt,t),I(Ca,l),I(et,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?js(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=js(t),l=Od(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}yl(et),I(et,l)}function Ke(){yl(et),yl(Ca),yl(Gt)}function zc(l){l.memoizedState!==null&&I(Vu,l);var t=et.current,e=Od(t,l.type);t!==e&&(I(Ca,l),I(et,e))}function wu(l){Ca.current===l&&(yl(et),yl(Ca)),Vu.current===l&&(yl(Vu),$a._currentValue=ee)}var Oc=Object.prototype.hasOwnProperty,Ai=ol.unstable_scheduleCallback,Gn=ol.unstable_cancelCallback,vr=ol.unstable_shouldYield,gr=ol.unstable_requestPaint,at=ol.unstable_now,br=ol.unstable_getCurrentPriorityLevel,o0=ol.unstable_ImmediatePriority,d0=ol.unstable_UserBlockingPriority,Ku=ol.unstable_NormalPriority,Sr=ol.unstable_LowPriority,r0=ol.unstable_IdlePriority,xr=ol.log,pr=ol.unstable_setDisableYieldValue,Pa=null,ql=null;function Bt(l){if(typeof xr=="function"&&pr(l),ql&&typeof ql.setStrictMode=="function")try{ql.setStrictMode(Pa,l)}catch{}}var Yl=Math.clz32?Math.clz32:Er,Ar=Math.log,Tr=Math.LN2;function Er(l){return l>>>=0,l===0?32:31-(Ar(l)/Tr|0)|0}var gu=256,bu=4194304;function Pt(l){var t=l&42;if(t!==0)return t;switch(l&-l){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:return 64;case 128:return 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 l&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Tn(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var u=0,n=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var i=a&134217727;return i!==0?(a=i&~n,a!==0?u=Pt(a):(c&=i,c!==0?u=Pt(c):e||(e=i&~l,e!==0&&(u=Pt(e))))):(i=a&~n,i!==0?u=Pt(i):c!==0?u=Pt(c):e||(e=a&~l,e!==0&&(u=Pt(e)))),u===0?0:t!==0&&t!==u&&!(t&n)&&(n=u&-u,e=t&-t,n>=e||n===32&&(e&4194048)!==0)?t:u}function lu(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Nr(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function m0(){var l=gu;return gu<<=1,!(gu&4194048)&&(gu=256),l}function h0(){var l=bu;return bu<<=1,!(bu&62914560)&&(bu=4194304),l}function Xn(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function tu(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function zr(l,t,e,a,u,n){var c=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var i=l.entanglements,f=l.expirationTimes,d=l.hiddenUpdates;for(e=c&~e;0<e;){var g=31-Yl(e),v=1<<g;i[g]=0,f[g]=-1;var h=d[g];if(h!==null)for(d[g]=null,g=0;g<h.length;g++){var m=h[g];m!==null&&(m.lane&=-536870913)}e&=~v}a!==0&&y0(l,a,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(c&~t))}function y0(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-Yl(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&4194090}function v0(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-Yl(e),u=1<<a;u&t|l[a]&t&&(l[a]|=t),e&=~u}}function Ti(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function Ei(l){return l&=-l,2<l?8<l?l&134217727?32:268435456:8:2}function g0(){var l=Q.p;return l!==0?l:(l=window.event,l===void 0?32:Yd(l.type))}function Or(l,t){var e=Q.p;try{return Q.p=l,t()}finally{Q.p=e}}var Wt=Math.random().toString(36).slice(2),pl="__reactFiber$"+Wt,jl="__reactProps$"+Wt,ua="__reactContainer$"+Wt,Dc="__reactEvents$"+Wt,Dr="__reactListeners$"+Wt,jr="__reactHandles$"+Wt,Nf="__reactResources$"+Wt,eu="__reactMarker$"+Wt;function Ni(l){delete l[pl],delete l[jl],delete l[Dc],delete l[Dr],delete l[jr]}function De(l){var t=l[pl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[ua]||e[pl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=Us(l);l!==null;){if(e=l[pl])return e;l=Us(l)}return t}l=e,e=l.parentNode}return null}function na(l){if(l=l[pl]||l[ua]){var t=l.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return l}return null}function pa(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(S(33))}function Ce(l){var t=l[Nf];return t||(t=l[Nf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ml(l){l[eu]=!0}var b0=new Set,S0={};function me(l,t){Je(l,t),Je(l+"Capture",t)}function Je(l,t){for(S0[l]=t,l=0;l<t.length;l++)b0.add(t[l])}var Mr=RegExp("^[: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]*$"),zf={},Of={};function _r(l){return Oc.call(Of,l)?!0:Oc.call(zf,l)?!1:Mr.test(l)?Of[l]=!0:(zf[l]=!0,!1)}function Mu(l,t,e){if(_r(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+e)}}function Su(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+e)}}function ot(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,""+a)}}var Qn,Df;function Te(l){if(Qn===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Qn=t&&t[1]||"",Df=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Qn+l+Df}var Zn=!1;function Vn(l,t){if(!l||Zn)return"";Zn=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(m){var h=m}Reflect.construct(l,[],v)}else{try{v.call()}catch(m){h=m}l.call(v.prototype)}}else{try{throw Error()}catch(m){h=m}(v=l())&&typeof v.catch=="function"&&v.catch(function(){})}}catch(m){if(m&&h&&typeof m.stack=="string")return[m.stack,h.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),c=n[0],i=n[1];if(c&&i){var f=c.split(`
`),d=i.split(`
`);for(u=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;u<d.length&&!d[u].includes("DetermineComponentFrameRoot");)u++;if(a===f.length||u===d.length)for(a=f.length-1,u=d.length-1;1<=a&&0<=u&&f[a]!==d[u];)u--;for(;1<=a&&0<=u;a--,u--)if(f[a]!==d[u]){if(a!==1||u!==1)do if(a--,u--,0>u||f[a]!==d[u]){var g=`
`+f[a].replace(" at new "," at ");return l.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",l.displayName)),g}while(1<=a&&0<=u);break}}}finally{Zn=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Te(e):""}function Ur(l){switch(l.tag){case 26:case 27:case 5:return Te(l.type);case 16:return Te("Lazy");case 13:return Te("Suspense");case 19:return Te("SuspenseList");case 0:case 15:return Vn(l.type,!1);case 11:return Vn(l.type.render,!1);case 1:return Vn(l.type,!0);case 31:return Te("Activity");default:return""}}function jf(l){try{var t="";do t+=Ur(l),l=l.return;while(l);return t}catch(e){return`
Error generating stack: `+e.message+`
`+e.stack}}function Zl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function x0(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Rr(l){var t=x0(l)?"checked":"value",e=Object.getOwnPropertyDescriptor(l.constructor.prototype,t),a=""+l[t];if(!l.hasOwnProperty(t)&&typeof e<"u"&&typeof e.get=="function"&&typeof e.set=="function"){var u=e.get,n=e.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return u.call(this)},set:function(c){a=""+c,n.call(this,c)}}),Object.defineProperty(l,t,{enumerable:e.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function Ju(l){l._valueTracker||(l._valueTracker=Rr(l))}function p0(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=x0(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function $u(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Hr=/[\n"\\]/g;function wl(l){return l.replace(Hr,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function jc(l,t,e,a,u,n,c,i){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+Zl(t)):l.value!==""+Zl(t)&&(l.value=""+Zl(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?Mc(l,c,Zl(t)):e!=null?Mc(l,c,Zl(e)):a!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.name=""+Zl(i):l.removeAttribute("name")}function A0(l,t,e,a,u,n,c,i){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||t!=null))return;e=e!=null?""+Zl(e):"",t=t!=null?""+Zl(t):e,i||t===l.value||(l.value=t),l.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=i?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c)}function Mc(l,t,e){t==="number"&&$u(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function Ge(l,t,e,a){if(l=l.options,t){t={};for(var u=0;u<e.length;u++)t["$"+e[u]]=!0;for(e=0;e<l.length;e++)u=t.hasOwnProperty("$"+l[e].value),l[e].selected!==u&&(l[e].selected=u),u&&a&&(l[e].defaultSelected=!0)}else{for(e=""+Zl(e),t=null,u=0;u<l.length;u++){if(l[u].value===e){l[u].selected=!0,a&&(l[u].defaultSelected=!0);return}t!==null||l[u].disabled||(t=l[u])}t!==null&&(t.selected=!0)}}function T0(l,t,e){if(t!=null&&(t=""+Zl(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+Zl(e):""}function E0(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(S(92));if(xa(a)){if(1<a.length)throw Error(S(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=Zl(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a)}function $e(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var Br=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Mf(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||Br.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function N0(l,t,e){if(t!=null&&typeof t!="object")throw Error(S(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var u in t)a=t[u],t.hasOwnProperty(u)&&e[u]!==a&&Mf(l,u,a)}else for(var n in t)t.hasOwnProperty(n)&&Mf(l,n,t[n])}function zi(l){if(l.indexOf("-")===-1)return!1;switch(l){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 qr=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Yr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function _u(l){return Yr.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var _c=null;function Oi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var je=null,Xe=null;function _f(l){var t=na(l);if(t&&(l=t.stateNode)){var e=l[jl]||null;l:switch(l=t.stateNode,t.type){case"input":if(jc(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+wl(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var u=a[jl]||null;if(!u)throw Error(S(90));jc(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&p0(a)}break l;case"textarea":T0(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&Ge(l,!!e.multiple,t,!1)}}}var Ln=!1;function z0(l,t,e){if(Ln)return l(t,e);Ln=!0;try{var a=l(t);return a}finally{if(Ln=!1,(je!==null||Xe!==null)&&(Rn(),je&&(t=je,l=Xe,Xe=je=null,_f(t),l)))for(t=0;t<l.length;t++)_f(l[t])}}function Ga(l,t){var e=l.stateNode;if(e===null)return null;var a=e[jl]||null;if(a===null)return null;e=a[t];l:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(e&&typeof e!="function")throw Error(S(231,t,typeof e));return e}var pt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uc=!1;if(pt)try{var ra={};Object.defineProperty(ra,"passive",{get:function(){Uc=!0}}),window.addEventListener("test",ra,ra),window.removeEventListener("test",ra,ra)}catch{Uc=!1}var qt=null,Di=null,Uu=null;function O0(){if(Uu)return Uu;var l,t=Di,e=t.length,a,u="value"in qt?qt.value:qt.textContent,n=u.length;for(l=0;l<e&&t[l]===u[l];l++);var c=e-l;for(a=1;a<=c&&t[e-a]===u[n-a];a++);return Uu=u.slice(l,1<a?1-a:void 0)}function Ru(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function xu(){return!0}function Uf(){return!1}function Ml(l){function t(e,a,u,n,c){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=c,this.currentTarget=null;for(var i in l)l.hasOwnProperty(i)&&(e=l[i],this[i]=e?e(n):n[i]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?xu:Uf,this.isPropagationStopped=Uf,this}return $(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=xu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=xu)},persist:function(){},isPersistent:xu}),t}var he={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},En=Ml(he),au=$({},he,{view:0,detail:0}),Cr=Ml(au),wn,Kn,ma,Nn=$({},au,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ji,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==ma&&(ma&&l.type==="mousemove"?(wn=l.screenX-ma.screenX,Kn=l.screenY-ma.screenY):Kn=wn=0,ma=l),wn)},movementY:function(l){return"movementY"in l?l.movementY:Kn}}),Rf=Ml(Nn),Gr=$({},Nn,{dataTransfer:0}),Xr=Ml(Gr),Qr=$({},au,{relatedTarget:0}),Jn=Ml(Qr),Zr=$({},he,{animationName:0,elapsedTime:0,pseudoElement:0}),Vr=Ml(Zr),Lr=$({},he,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),wr=Ml(Lr),Kr=$({},he,{data:0}),Hf=Ml(Kr),Jr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$r={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"},kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wr(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=kr[l])?!!t[l]:!1}function ji(){return Wr}var Fr=$({},au,{key:function(l){if(l.key){var t=Jr[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Ru(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?$r[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ji,charCode:function(l){return l.type==="keypress"?Ru(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Ru(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),Ir=Ml(Fr),Pr=$({},Nn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bf=Ml(Pr),lm=$({},au,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ji}),tm=Ml(lm),em=$({},he,{propertyName:0,elapsedTime:0,pseudoElement:0}),am=Ml(em),um=$({},Nn,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),nm=Ml(um),cm=$({},he,{newState:0,oldState:0}),im=Ml(cm),fm=[9,13,27,32],Mi=pt&&"CompositionEvent"in window,Ea=null;pt&&"documentMode"in document&&(Ea=document.documentMode);var sm=pt&&"TextEvent"in window&&!Ea,D0=pt&&(!Mi||Ea&&8<Ea&&11>=Ea),qf=String.fromCharCode(32),Yf=!1;function j0(l,t){switch(l){case"keyup":return fm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function M0(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Me=!1;function om(l,t){switch(l){case"compositionend":return M0(t);case"keypress":return t.which!==32?null:(Yf=!0,qf);case"textInput":return l=t.data,l===qf&&Yf?null:l;default:return null}}function dm(l,t){if(Me)return l==="compositionend"||!Mi&&j0(l,t)?(l=O0(),Uu=Di=qt=null,Me=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return D0&&t.locale!=="ko"?null:t.data;default:return null}}var rm={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 Cf(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!rm[l.type]:t==="textarea"}function _0(l,t,e,a){je?Xe?Xe.push(a):Xe=[a]:je=a,t=mn(t,"onChange"),0<t.length&&(e=new En("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var Na=null,Xa=null;function mm(l){Ed(l,0)}function zn(l){var t=pa(l);if(p0(t))return l}function Gf(l,t){if(l==="change")return t}var U0=!1;if(pt){var $n;if(pt){var kn="oninput"in document;if(!kn){var Xf=document.createElement("div");Xf.setAttribute("oninput","return;"),kn=typeof Xf.oninput=="function"}$n=kn}else $n=!1;U0=$n&&(!document.documentMode||9<document.documentMode)}function Qf(){Na&&(Na.detachEvent("onpropertychange",R0),Xa=Na=null)}function R0(l){if(l.propertyName==="value"&&zn(Xa)){var t=[];_0(t,Xa,l,Oi(l)),z0(mm,t)}}function hm(l,t,e){l==="focusin"?(Qf(),Na=t,Xa=e,Na.attachEvent("onpropertychange",R0)):l==="focusout"&&Qf()}function ym(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return zn(Xa)}function vm(l,t){if(l==="click")return zn(t)}function gm(l,t){if(l==="input"||l==="change")return zn(t)}function bm(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var Xl=typeof Object.is=="function"?Object.is:bm;function Qa(l,t){if(Xl(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var u=e[a];if(!Oc.call(t,u)||!Xl(l[u],t[u]))return!1}return!0}function Zf(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Vf(l,t){var e=Zf(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=Zf(e)}}function H0(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?H0(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function B0(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=$u(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=$u(l.document)}return t}function _i(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var Sm=pt&&"documentMode"in document&&11>=document.documentMode,_e=null,Rc=null,za=null,Hc=!1;function Lf(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Hc||_e==null||_e!==$u(a)||(a=_e,"selectionStart"in a&&_i(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),za&&Qa(za,a)||(za=a,a=mn(Rc,"onSelect"),0<a.length&&(t=new En("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=_e)))}function It(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var Ue={animationend:It("Animation","AnimationEnd"),animationiteration:It("Animation","AnimationIteration"),animationstart:It("Animation","AnimationStart"),transitionrun:It("Transition","TransitionRun"),transitionstart:It("Transition","TransitionStart"),transitioncancel:It("Transition","TransitionCancel"),transitionend:It("Transition","TransitionEnd")},Wn={},q0={};pt&&(q0=document.createElement("div").style,"AnimationEvent"in window||(delete Ue.animationend.animation,delete Ue.animationiteration.animation,delete Ue.animationstart.animation),"TransitionEvent"in window||delete Ue.transitionend.transition);function ye(l){if(Wn[l])return Wn[l];if(!Ue[l])return l;var t=Ue[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in q0)return Wn[l]=t[e];return l}var Y0=ye("animationend"),C0=ye("animationiteration"),G0=ye("animationstart"),xm=ye("transitionrun"),pm=ye("transitionstart"),Am=ye("transitioncancel"),X0=ye("transitionend"),Q0=new Map,Bc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Bc.push("scrollEnd");function Il(l,t){Q0.set(l,t),me(t,[l])}var wf=new WeakMap;function Kl(l,t){if(typeof l=="object"&&l!==null){var e=wf.get(l);return e!==void 0?e:(t={value:l,source:t,stack:jf(t)},wf.set(l,t),t)}return{value:l,source:t,stack:jf(t)}}var Ql=[],Re=0,Ui=0;function On(){for(var l=Re,t=Ui=Re=0;t<l;){var e=Ql[t];Ql[t++]=null;var a=Ql[t];Ql[t++]=null;var u=Ql[t];Ql[t++]=null;var n=Ql[t];if(Ql[t++]=null,a!==null&&u!==null){var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}n!==0&&Z0(e,u,n)}}function Dn(l,t,e,a){Ql[Re++]=l,Ql[Re++]=t,Ql[Re++]=e,Ql[Re++]=a,Ui|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Ri(l,t,e,a){return Dn(l,t,e,a),ku(l)}function ca(l,t){return Dn(l,null,null,t),ku(l)}function Z0(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var u=!1,n=l.return;n!==null;)n.childLanes|=e,a=n.alternate,a!==null&&(a.childLanes|=e),n.tag===22&&(l=n.stateNode,l===null||l._visibility&1||(u=!0)),l=n,n=n.return;return l.tag===3?(n=l.stateNode,u&&t!==null&&(u=31-Yl(e),l=n.hiddenUpdates,a=l[u],a===null?l[u]=[t]:a.push(t),t.lane=e|536870912),n):null}function ku(l){if(50<qa)throw qa=0,ei=null,Error(S(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var He={};function Tm(l,t,e,a){this.tag=l,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bl(l,t,e,a){return new Tm(l,t,e,a)}function Hi(l){return l=l.prototype,!(!l||!l.isReactComponent)}function St(l,t){var e=l.alternate;return e===null?(e=Bl(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&65011712,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}function V0(l,t){l.flags&=65011714;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function Hu(l,t,e,a,u,n){var c=0;if(a=l,typeof l=="function")Hi(l)&&(c=1);else if(typeof l=="string")c=Nh(l,e,et.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Tc:return l=Bl(31,e,t,u),l.elementType=Tc,l.lanes=n,l;case ze:return ae(e.children,u,n,t);case f0:c=8,u|=24;break;case xc:return l=Bl(12,e,t,u|2),l.elementType=xc,l.lanes=n,l;case pc:return l=Bl(13,e,t,u),l.elementType=pc,l.lanes=n,l;case Ac:return l=Bl(19,e,t,u),l.elementType=Ac,l.lanes=n,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case mr:case ht:c=10;break l;case s0:c=9;break l;case xi:c=11;break l;case pi:c=14;break l;case jt:c=16,a=null;break l}c=29,e=Error(S(130,l===null?"null":typeof l,"")),a=null}return t=Bl(c,e,t,u),t.elementType=l,t.type=a,t.lanes=n,t}function ae(l,t,e,a){return l=Bl(7,l,a,t),l.lanes=e,l}function Fn(l,t,e){return l=Bl(6,l,null,t),l.lanes=e,l}function In(l,t,e){return t=Bl(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var Be=[],qe=0,Wu=null,Fu=0,Vl=[],Ll=0,ue=null,yt=1,vt="";function le(l,t){Be[qe++]=Fu,Be[qe++]=Wu,Wu=l,Fu=t}function L0(l,t,e){Vl[Ll++]=yt,Vl[Ll++]=vt,Vl[Ll++]=ue,ue=l;var a=yt;l=vt;var u=32-Yl(a)-1;a&=~(1<<u),e+=1;var n=32-Yl(t)+u;if(30<n){var c=u-u%5;n=(a&(1<<c)-1).toString(32),a>>=c,u-=c,yt=1<<32-Yl(t)+u|e<<u|a,vt=n+l}else yt=1<<n|e<<u|a,vt=l}function Bi(l){l.return!==null&&(le(l,1),L0(l,1,0))}function qi(l){for(;l===Wu;)Wu=Be[--qe],Be[qe]=null,Fu=Be[--qe],Be[qe]=null;for(;l===ue;)ue=Vl[--Ll],Vl[Ll]=null,vt=Vl[--Ll],Vl[Ll]=null,yt=Vl[--Ll],Vl[Ll]=null}var Tl=null,ll=null,X=!1,ne=null,lt=!1,qc=Error(S(519));function se(l){var t=Error(S(418,""));throw Za(Kl(t,l)),qc}function Kf(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[pl]=l,t[jl]=a,e){case"dialog":q("cancel",t),q("close",t);break;case"iframe":case"object":case"embed":q("load",t);break;case"video":case"audio":for(e=0;e<wa.length;e++)q(wa[e],t);break;case"source":q("error",t);break;case"img":case"image":case"link":q("error",t),q("load",t);break;case"details":q("toggle",t);break;case"input":q("invalid",t),A0(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Ju(t);break;case"select":q("invalid",t);break;case"textarea":q("invalid",t),E0(t,a.value,a.defaultValue,a.children),Ju(t)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||zd(t.textContent,e)?(a.popover!=null&&(q("beforetoggle",t),q("toggle",t)),a.onScroll!=null&&q("scroll",t),a.onScrollEnd!=null&&q("scrollend",t),a.onClick!=null&&(t.onclick=qn),t=!0):t=!1,t||se(l)}function Jf(l){for(Tl=l.return;Tl;)switch(Tl.tag){case 5:case 13:lt=!1;return;case 27:case 3:lt=!0;return;default:Tl=Tl.return}}function ha(l){if(l!==Tl)return!1;if(!X)return Jf(l),X=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||fi(l.type,l.memoizedProps)),e=!e),e&&ll&&se(l),Jf(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));l:{for(l=l.nextSibling,t=0;l;){if(l.nodeType===8)if(e=l.data,e==="/$"){if(t===0){ll=Fl(l.nextSibling);break l}t--}else e!=="$"&&e!=="$!"&&e!=="$?"||t++;l=l.nextSibling}ll=null}}else t===27?(t=ll,Ft(l.type)?(l=di,di=null,ll=l):ll=t):ll=Tl?Fl(l.stateNode.nextSibling):null;return!0}function uu(){ll=Tl=null,X=!1}function $f(){var l=ne;return l!==null&&(Dl===null?Dl=l:Dl.push.apply(Dl,l),ne=null),l}function Za(l){ne===null?ne=[l]:ne.push(l)}var Yc=nt(null),ve=null,gt=null;function _t(l,t,e){I(Yc,t._currentValue),t._currentValue=e}function xt(l){l._currentValue=Yc.current,yl(Yc)}function Cc(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}function Gc(l,t,e,a){var u=l.child;for(u!==null&&(u.return=l);u!==null;){var n=u.dependencies;if(n!==null){var c=u.child;n=n.firstContext;l:for(;n!==null;){var i=n;n=u;for(var f=0;f<t.length;f++)if(i.context===t[f]){n.lanes|=e,i=n.alternate,i!==null&&(i.lanes|=e),Cc(n.return,e,l),a||(c=null);break l}n=i.next}}else if(u.tag===18){if(c=u.return,c===null)throw Error(S(341));c.lanes|=e,n=c.alternate,n!==null&&(n.lanes|=e),Cc(c,e,l),c=null}else c=u.child;if(c!==null)c.return=u;else for(c=u;c!==null;){if(c===l){c=null;break}if(u=c.sibling,u!==null){u.return=c.return,c=u;break}c=c.return}u=c}}function nu(l,t,e,a){l=null;for(var u=t,n=!1;u!==null;){if(!n){if(u.flags&524288)n=!0;else if(u.flags&262144)break}if(u.tag===10){var c=u.alternate;if(c===null)throw Error(S(387));if(c=c.memoizedProps,c!==null){var i=u.type;Xl(u.pendingProps.value,c.value)||(l!==null?l.push(i):l=[i])}}else if(u===Vu.current){if(c=u.alternate,c===null)throw Error(S(387));c.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push($a):l=[$a])}u=u.return}l!==null&&Gc(t,l,e,a),t.flags|=262144}function Iu(l){for(l=l.firstContext;l!==null;){if(!Xl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function oe(l){ve=l,gt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Al(l){return w0(ve,l)}function pu(l,t){return ve===null&&oe(l),w0(l,t)}function w0(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},gt===null){if(l===null)throw Error(S(308));gt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else gt=gt.next=t;return e}var Em=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(e,a){l.push(a)}};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},Nm=ol.unstable_scheduleCallback,zm=ol.unstable_NormalPriority,fl={$$typeof:ht,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yi(){return{controller:new Em,data:new Map,refCount:0}}function cu(l){l.refCount--,l.refCount===0&&Nm(zm,function(){l.controller.abort()})}var Oa=null,Xc=0,ke=0,Qe=null;function Om(l,t){if(Oa===null){var e=Oa=[];Xc=0,ke=cf(),Qe={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Xc++,t.then(kf,kf),t}function kf(){if(--Xc===0&&Oa!==null){Qe!==null&&(Qe.status="fulfilled");var l=Oa;Oa=null,ke=0,Qe=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Dm(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(u){e.push(u)}};return l.then(function(){a.status="fulfilled",a.value=t;for(var u=0;u<e.length;u++)(0,e[u])(t)},function(u){for(a.status="rejected",a.reason=u,u=0;u<e.length;u++)(0,e[u])(void 0)}),a}var Wf=O.S;O.S=function(l,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Om(l,t),Wf!==null&&Wf(l,t)};var ce=nt(null);function Ci(){var l=ce.current;return l!==null?l:J.pooledCache}function Bu(l,t){t===null?I(ce,ce.current):I(ce,t.pool)}function K0(){var l=Ci();return l===null?null:{parent:fl._currentValue,pool:l}}var iu=Error(S(460)),J0=Error(S(474)),jn=Error(S(542)),Qc={then:function(){}};function Ff(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Au(){}function $0(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Au,Au),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Pf(l),l;default:if(typeof t.status=="string")t.then(Au,Au);else{if(l=J,l!==null&&100<l.shellSuspendCounter)throw Error(S(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=a}},function(a){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Pf(l),l}throw Da=t,iu}}var Da=null;function If(){if(Da===null)throw Error(S(459));var l=Da;return Da=null,l}function Pf(l){if(l===iu||l===jn)throw Error(S(483))}var Mt=!1;function Gi(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Xt(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Qt(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,V&2){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=ku(l),Z0(l,null,e),t}return Dn(l,a,t,e),ku(l)}function ja(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,v0(l,e)}}function Pn(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=c:n=n.next=c,e=e.next}while(e!==null);n===null?u=n=t:n=n.next=t}else u=n=t;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}var Vc=!1;function Ma(){if(Vc){var l=Qe;if(l!==null)throw l}}function _a(l,t,e,a){Vc=!1;var u=l.updateQueue;Mt=!1;var n=u.firstBaseUpdate,c=u.lastBaseUpdate,i=u.shared.pending;if(i!==null){u.shared.pending=null;var f=i,d=f.next;f.next=null,c===null?n=d:c.next=d,c=f;var g=l.alternate;g!==null&&(g=g.updateQueue,i=g.lastBaseUpdate,i!==c&&(i===null?g.firstBaseUpdate=d:i.next=d,g.lastBaseUpdate=f))}if(n!==null){var v=u.baseState;c=0,g=d=f=null,i=n;do{var h=i.lane&-536870913,m=h!==i.lane;if(m?(C&h)===h:(a&h)===h){h!==0&&h===ke&&(Vc=!0),g!==null&&(g=g.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});l:{var x=l,p=i;h=t;var D=e;switch(p.tag){case 1:if(x=p.payload,typeof x=="function"){v=x.call(D,v,h);break l}v=x;break l;case 3:x.flags=x.flags&-65537|128;case 0:if(x=p.payload,h=typeof x=="function"?x.call(D,v,h):x,h==null)break l;v=$({},v,h);break l;case 2:Mt=!0}}h=i.callback,h!==null&&(l.flags|=64,m&&(l.flags|=8192),m=u.callbacks,m===null?u.callbacks=[h]:m.push(h))}else m={lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},g===null?(d=g=m,f=v):g=g.next=m,c|=h;if(i=i.next,i===null){if(i=u.shared.pending,i===null)break;m=i,i=m.next,m.next=null,u.lastBaseUpdate=m,u.shared.pending=null}}while(1);g===null&&(f=v),u.baseState=f,u.firstBaseUpdate=d,u.lastBaseUpdate=g,n===null&&(u.shared.lanes=0),kt|=c,l.lanes=c,l.memoizedState=v}}function k0(l,t){if(typeof l!="function")throw Error(S(191,l));l.call(t)}function W0(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)k0(e[l],t)}var We=nt(null),Pu=nt(0);function ls(l,t){l=Et,I(Pu,l),I(We,t),Et=l|t.baseLanes}function Lc(){I(Pu,Et),I(We,We.current)}function Xi(){Et=Pu.current,yl(We),yl(Pu)}var Jt=0,B=null,w=null,cl=null,ln=!1,Ze=!1,de=!1,tn=0,Va=0,Ve=null,jm=0;function al(){throw Error(S(321))}function Qi(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!Xl(l[e],t[e]))return!1;return!0}function Zi(l,t,e,a,u,n){return Jt=n,B=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=l===null||l.memoizedState===null?Do:jo,de=!1,n=e(a,u),de=!1,Ze&&(n=I0(t,e,a,u)),F0(l),n}function F0(l){O.H=en;var t=w!==null&&w.next!==null;if(Jt=0,cl=w=B=null,ln=!1,Va=0,Ve=null,t)throw Error(S(300));l===null||hl||(l=l.dependencies,l!==null&&Iu(l)&&(hl=!0))}function I0(l,t,e,a){B=l;var u=0;do{if(Ze&&(Ve=null),Va=0,Ze=!1,25<=u)throw Error(S(301));if(u+=1,cl=w=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}O.H=qm,n=t(e,a)}while(Ze);return n}function Mm(){var l=O.H,t=l.useState()[0];return t=typeof t.then=="function"?fu(t):t,l=l.useState()[0],(w!==null?w.memoizedState:null)!==l&&(B.flags|=1024),t}function Vi(){var l=tn!==0;return tn=0,l}function Li(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function wi(l){if(ln){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}ln=!1}Jt=0,cl=w=B=null,Ze=!1,Va=tn=0,Ve=null}function zl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cl===null?B.memoizedState=cl=l:cl=cl.next=l,cl}function il(){if(w===null){var l=B.alternate;l=l!==null?l.memoizedState:null}else l=w.next;var t=cl===null?B.memoizedState:cl.next;if(t!==null)cl=t,w=l;else{if(l===null)throw B.alternate===null?Error(S(467)):Error(S(310));w=l,l={memoizedState:w.memoizedState,baseState:w.baseState,baseQueue:w.baseQueue,queue:w.queue,next:null},cl===null?B.memoizedState=cl=l:cl=cl.next=l}return cl}function Ki(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fu(l){var t=Va;return Va+=1,Ve===null&&(Ve=[]),l=$0(Ve,l,t),t=B,(cl===null?t.memoizedState:cl.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Do:jo),l}function Mn(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return fu(l);if(l.$$typeof===ht)return Al(l)}throw Error(S(438,String(l)))}function Ji(l){var t=null,e=B.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=B.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=Ki(),B.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=hr;return t.index++,e}function At(l,t){return typeof t=="function"?t(l):t}function qu(l){var t=il();return $i(t,w,l)}function $i(l,t,e){var a=l.queue;if(a===null)throw Error(S(311));a.lastRenderedReducer=e;var u=l.baseQueue,n=a.pending;if(n!==null){if(u!==null){var c=u.next;u.next=n.next,n.next=c}t.baseQueue=u=n,a.pending=null}if(n=l.baseState,u===null)l.memoizedState=n;else{t=u.next;var i=c=null,f=null,d=t,g=!1;do{var v=d.lane&-536870913;if(v!==d.lane?(C&v)===v:(Jt&v)===v){var h=d.revertLane;if(h===0)f!==null&&(f=f.next={lane:0,revertLane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),v===ke&&(g=!0);else if((Jt&h)===h){d=d.next,h===ke&&(g=!0);continue}else v={lane:0,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},f===null?(i=f=v,c=n):f=f.next=v,B.lanes|=h,kt|=h;v=d.action,de&&e(n,v),n=d.hasEagerState?d.eagerState:e(n,v)}else h={lane:v,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},f===null?(i=f=h,c=n):f=f.next=h,B.lanes|=v,kt|=v;d=d.next}while(d!==null&&d!==t);if(f===null?c=n:f.next=i,!Xl(n,l.memoizedState)&&(hl=!0,g&&(e=Qe,e!==null)))throw e;l.memoizedState=n,l.baseState=c,l.baseQueue=f,a.lastRenderedState=n}return u===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function lc(l){var t=il(),e=t.queue;if(e===null)throw Error(S(311));e.lastRenderedReducer=l;var a=e.dispatch,u=e.pending,n=t.memoizedState;if(u!==null){e.pending=null;var c=u=u.next;do n=l(n,c.action),c=c.next;while(c!==u);Xl(n,t.memoizedState)||(hl=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),e.lastRenderedState=n}return[n,a]}function P0(l,t,e){var a=B,u=il(),n=X;if(n){if(e===void 0)throw Error(S(407));e=e()}else e=t();var c=!Xl((w||u).memoizedState,e);c&&(u.memoizedState=e,hl=!0),u=u.queue;var i=eo.bind(null,a,u,l);if(su(2048,8,i,[l]),u.getSnapshot!==t||c||cl!==null&&cl.memoizedState.tag&1){if(a.flags|=2048,Fe(9,_n(),to.bind(null,a,u,e,t),null),J===null)throw Error(S(349));n||Jt&124||lo(a,t,e)}return e}function lo(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=B.updateQueue,t===null?(t=Ki(),B.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function to(l,t,e,a){t.value=e,t.getSnapshot=a,ao(t)&&uo(l)}function eo(l,t,e){return e(function(){ao(t)&&uo(l)})}function ao(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!Xl(l,e)}catch{return!0}}function uo(l){var t=ca(l,2);t!==null&&Gl(t,l,2)}function wc(l){var t=zl();if(typeof l=="function"){var e=l;if(l=e(),de){Bt(!0);try{e()}finally{Bt(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:l},t}function no(l,t,e,a){return l.baseState=e,$i(l,w,typeof a=="function"?a:At)}function _m(l,t,e,a,u){if(Un(l))throw Error(S(485));if(l=t.action,l!==null){var n={payload:u,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){n.listeners.push(c)}};O.T!==null?e(!0):n.isTransition=!1,a(n),e=t.pending,e===null?(n.next=t.pending=n,co(t,n)):(n.next=e.next,t.pending=e.next=n)}}function co(l,t){var e=t.action,a=t.payload,u=l.state;if(t.isTransition){var n=O.T,c={};O.T=c;try{var i=e(u,a),f=O.S;f!==null&&f(c,i),ts(l,t,i)}catch(d){Kc(l,t,d)}finally{O.T=n}}else try{n=e(u,a),ts(l,t,n)}catch(d){Kc(l,t,d)}}function ts(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){es(l,t,a)},function(a){return Kc(l,t,a)}):es(l,t,e)}function es(l,t,e){t.status="fulfilled",t.value=e,io(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,co(l,e)))}function Kc(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,io(t),t=t.next;while(t!==a)}l.action=null}function io(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function fo(l,t){return t}function as(l,t){if(X){var e=J.formState;if(e!==null){l:{var a=B;if(X){if(ll){t:{for(var u=ll,n=lt;u.nodeType!==8;){if(!n){u=null;break t}if(u=Fl(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){ll=Fl(u.nextSibling),a=u.data==="F!";break l}}se(a)}a=!1}a&&(t=e[0])}}return e=zl(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fo,lastRenderedState:t},e.queue=a,e=No.bind(null,B,a),a.dispatch=e,a=wc(!1),n=Ii.bind(null,B,!1,a.queue),a=zl(),u={state:t,dispatch:null,action:l,pending:null},a.queue=u,e=_m.bind(null,B,u,n,e),u.dispatch=e,a.memoizedState=l,[t,e,!1]}function us(l){var t=il();return so(t,w,l)}function so(l,t,e){if(t=$i(l,t,fo)[0],l=qu(At)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=fu(t)}catch(c){throw c===iu?jn:c}else a=t;t=il();var u=t.queue,n=u.dispatch;return e!==t.memoizedState&&(B.flags|=2048,Fe(9,_n(),Um.bind(null,u,e),null)),[a,n,l]}function Um(l,t){l.action=t}function ns(l){var t=il(),e=w;if(e!==null)return so(t,e,l);il(),t=t.memoizedState,e=il();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function Fe(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=B.updateQueue,t===null&&(t=Ki(),B.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}function _n(){return{destroy:void 0,resource:void 0}}function oo(){return il().memoizedState}function Yu(l,t,e,a){var u=zl();a=a===void 0?null:a,B.flags|=l,u.memoizedState=Fe(1|t,_n(),e,a)}function su(l,t,e,a){var u=il();a=a===void 0?null:a;var n=u.memoizedState.inst;w!==null&&a!==null&&Qi(a,w.memoizedState.deps)?u.memoizedState=Fe(t,n,e,a):(B.flags|=l,u.memoizedState=Fe(1|t,n,e,a))}function cs(l,t){Yu(8390656,8,l,t)}function ro(l,t){su(2048,8,l,t)}function mo(l,t){return su(4,2,l,t)}function ho(l,t){return su(4,4,l,t)}function yo(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function vo(l,t,e){e=e!=null?e.concat([l]):null,su(4,4,yo.bind(null,t,l),e)}function ki(){}function go(l,t){var e=il();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Qi(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function bo(l,t){var e=il();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Qi(t,a[1]))return a[0];if(a=l(),de){Bt(!0);try{l()}finally{Bt(!1)}}return e.memoizedState=[a,t],a}function Wi(l,t,e){return e===void 0||Jt&1073741824?l.memoizedState=t:(l.memoizedState=e,l=fd(),B.lanes|=l,kt|=l,e)}function So(l,t,e,a){return Xl(e,t)?e:We.current!==null?(l=Wi(l,e,a),Xl(l,t)||(hl=!0),l):Jt&42?(l=fd(),B.lanes|=l,kt|=l,t):(hl=!0,l.memoizedState=e)}function xo(l,t,e,a,u){var n=Q.p;Q.p=n!==0&&8>n?n:8;var c=O.T,i={};O.T=i,Ii(l,!1,t,e);try{var f=u(),d=O.S;if(d!==null&&d(i,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var g=Dm(f,a);Ua(l,t,g,Cl(l))}else Ua(l,t,a,Cl(l))}catch(v){Ua(l,t,{then:function(){},status:"rejected",reason:v},Cl())}finally{Q.p=n,O.T=c}}function Rm(){}function Jc(l,t,e,a){if(l.tag!==5)throw Error(S(476));var u=po(l).queue;xo(l,u,t,ee,e===null?Rm:function(){return Ao(l),e(a)})}function po(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:ee},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function Ao(l){var t=po(l).next.queue;Ua(l,t,{},Cl())}function Fi(){return Al($a)}function To(){return il().memoizedState}function Eo(){return il().memoizedState}function Hm(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=Cl();l=Xt(e);var a=Qt(t,l,e);a!==null&&(Gl(a,t,e),ja(a,t,e)),t={cache:Yi()},l.payload=t;return}t=t.return}}function Bm(l,t,e){var a=Cl();e={lane:a,revertLane:0,action:e,hasEagerState:!1,eagerState:null,next:null},Un(l)?zo(t,e):(e=Ri(l,t,e,a),e!==null&&(Gl(e,l,a),Oo(e,t,a)))}function No(l,t,e){var a=Cl();Ua(l,t,e,a)}function Ua(l,t,e,a){var u={lane:a,revertLane:0,action:e,hasEagerState:!1,eagerState:null,next:null};if(Un(l))zo(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var c=t.lastRenderedState,i=n(c,e);if(u.hasEagerState=!0,u.eagerState=i,Xl(i,c))return Dn(l,t,u,0),J===null&&On(),!1}catch{}finally{}if(e=Ri(l,t,u,a),e!==null)return Gl(e,l,a),Oo(e,t,a),!0}return!1}function Ii(l,t,e,a){if(a={lane:2,revertLane:cf(),action:a,hasEagerState:!1,eagerState:null,next:null},Un(l)){if(t)throw Error(S(479))}else t=Ri(l,e,a,2),t!==null&&Gl(t,l,2)}function Un(l){var t=l.alternate;return l===B||t!==null&&t===B}function zo(l,t){Ze=ln=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function Oo(l,t,e){if(e&4194048){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,v0(l,e)}}var en={readContext:Al,use:Mn,useCallback:al,useContext:al,useEffect:al,useImperativeHandle:al,useLayoutEffect:al,useInsertionEffect:al,useMemo:al,useReducer:al,useRef:al,useState:al,useDebugValue:al,useDeferredValue:al,useTransition:al,useSyncExternalStore:al,useId:al,useHostTransitionStatus:al,useFormState:al,useActionState:al,useOptimistic:al,useMemoCache:al,useCacheRefresh:al},Do={readContext:Al,use:Mn,useCallback:function(l,t){return zl().memoizedState=[l,t===void 0?null:t],l},useContext:Al,useEffect:cs,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,Yu(4194308,4,yo.bind(null,t,l),e)},useLayoutEffect:function(l,t){return Yu(4194308,4,l,t)},useInsertionEffect:function(l,t){Yu(4,2,l,t)},useMemo:function(l,t){var e=zl();t=t===void 0?null:t;var a=l();if(de){Bt(!0);try{l()}finally{Bt(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=zl();if(e!==void 0){var u=e(t);if(de){Bt(!0);try{e(t)}finally{Bt(!1)}}}else u=t;return a.memoizedState=a.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},a.queue=l,l=l.dispatch=Bm.bind(null,B,l),[a.memoizedState,l]},useRef:function(l){var t=zl();return l={current:l},t.memoizedState=l},useState:function(l){l=wc(l);var t=l.queue,e=No.bind(null,B,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:ki,useDeferredValue:function(l,t){var e=zl();return Wi(e,l,t)},useTransition:function(){var l=wc(!1);return l=xo.bind(null,B,l.queue,!0,!1),zl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=B,u=zl();if(X){if(e===void 0)throw Error(S(407));e=e()}else{if(e=t(),J===null)throw Error(S(349));C&124||lo(a,t,e)}u.memoizedState=e;var n={value:e,getSnapshot:t};return u.queue=n,cs(eo.bind(null,a,n,l),[l]),a.flags|=2048,Fe(9,_n(),to.bind(null,a,n,e,t),null),e},useId:function(){var l=zl(),t=J.identifierPrefix;if(X){var e=vt,a=yt;e=(a&~(1<<32-Yl(a)-1)).toString(32)+e,t="«"+t+"R"+e,e=tn++,0<e&&(t+="H"+e.toString(32)),t+="»"}else e=jm++,t="«"+t+"r"+e.toString(32)+"»";return l.memoizedState=t},useHostTransitionStatus:Fi,useFormState:as,useActionState:as,useOptimistic:function(l){var t=zl();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=Ii.bind(null,B,!0,e),e.dispatch=t,[l,t]},useMemoCache:Ji,useCacheRefresh:function(){return zl().memoizedState=Hm.bind(null,B)}},jo={readContext:Al,use:Mn,useCallback:go,useContext:Al,useEffect:ro,useImperativeHandle:vo,useInsertionEffect:mo,useLayoutEffect:ho,useMemo:bo,useReducer:qu,useRef:oo,useState:function(){return qu(At)},useDebugValue:ki,useDeferredValue:function(l,t){var e=il();return So(e,w.memoizedState,l,t)},useTransition:function(){var l=qu(At)[0],t=il().memoizedState;return[typeof l=="boolean"?l:fu(l),t]},useSyncExternalStore:P0,useId:To,useHostTransitionStatus:Fi,useFormState:us,useActionState:us,useOptimistic:function(l,t){var e=il();return no(e,w,l,t)},useMemoCache:Ji,useCacheRefresh:Eo},qm={readContext:Al,use:Mn,useCallback:go,useContext:Al,useEffect:ro,useImperativeHandle:vo,useInsertionEffect:mo,useLayoutEffect:ho,useMemo:bo,useReducer:lc,useRef:oo,useState:function(){return lc(At)},useDebugValue:ki,useDeferredValue:function(l,t){var e=il();return w===null?Wi(e,l,t):So(e,w.memoizedState,l,t)},useTransition:function(){var l=lc(At)[0],t=il().memoizedState;return[typeof l=="boolean"?l:fu(l),t]},useSyncExternalStore:P0,useId:To,useHostTransitionStatus:Fi,useFormState:ns,useActionState:ns,useOptimistic:function(l,t){var e=il();return w!==null?no(e,w,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:Ji,useCacheRefresh:Eo},Le=null,La=0;function Tu(l){var t=La;return La+=1,Le===null&&(Le=[]),$0(Le,l,t)}function ya(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function Eu(l,t){throw t.$$typeof===rr?Error(S(525)):(l=Object.prototype.toString.call(t),Error(S(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function is(l){var t=l._init;return t(l._payload)}function Mo(l){function t(r,s){if(l){var y=r.deletions;y===null?(r.deletions=[s],r.flags|=16):y.push(s)}}function e(r,s){if(!l)return null;for(;s!==null;)t(r,s),s=s.sibling;return null}function a(r){for(var s=new Map;r!==null;)r.key!==null?s.set(r.key,r):s.set(r.index,r),r=r.sibling;return s}function u(r,s){return r=St(r,s),r.index=0,r.sibling=null,r}function n(r,s,y){return r.index=y,l?(y=r.alternate,y!==null?(y=y.index,y<s?(r.flags|=67108866,s):y):(r.flags|=67108866,s)):(r.flags|=1048576,s)}function c(r){return l&&r.alternate===null&&(r.flags|=67108866),r}function i(r,s,y,b){return s===null||s.tag!==6?(s=Fn(y,r.mode,b),s.return=r,s):(s=u(s,y),s.return=r,s)}function f(r,s,y,b){var T=y.type;return T===ze?g(r,s,y.props.children,b,y.key):s!==null&&(s.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===jt&&is(T)===s.type)?(s=u(s,y.props),ya(s,y),s.return=r,s):(s=Hu(y.type,y.key,y.props,null,r.mode,b),ya(s,y),s.return=r,s)}function d(r,s,y,b){return s===null||s.tag!==4||s.stateNode.containerInfo!==y.containerInfo||s.stateNode.implementation!==y.implementation?(s=In(y,r.mode,b),s.return=r,s):(s=u(s,y.children||[]),s.return=r,s)}function g(r,s,y,b,T){return s===null||s.tag!==7?(s=ae(y,r.mode,b,T),s.return=r,s):(s=u(s,y),s.return=r,s)}function v(r,s,y){if(typeof s=="string"&&s!==""||typeof s=="number"||typeof s=="bigint")return s=Fn(""+s,r.mode,y),s.return=r,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case vu:return y=Hu(s.type,s.key,s.props,null,r.mode,y),ya(y,s),y.return=r,y;case Sa:return s=In(s,r.mode,y),s.return=r,s;case jt:var b=s._init;return s=b(s._payload),v(r,s,y)}if(xa(s)||da(s))return s=ae(s,r.mode,y,null),s.return=r,s;if(typeof s.then=="function")return v(r,Tu(s),y);if(s.$$typeof===ht)return v(r,pu(r,s),y);Eu(r,s)}return null}function h(r,s,y,b){var T=s!==null?s.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return T!==null?null:i(r,s,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case vu:return y.key===T?f(r,s,y,b):null;case Sa:return y.key===T?d(r,s,y,b):null;case jt:return T=y._init,y=T(y._payload),h(r,s,y,b)}if(xa(y)||da(y))return T!==null?null:g(r,s,y,b,null);if(typeof y.then=="function")return h(r,s,Tu(y),b);if(y.$$typeof===ht)return h(r,s,pu(r,y),b);Eu(r,y)}return null}function m(r,s,y,b,T){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return r=r.get(y)||null,i(s,r,""+b,T);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case vu:return r=r.get(b.key===null?y:b.key)||null,f(s,r,b,T);case Sa:return r=r.get(b.key===null?y:b.key)||null,d(s,r,b,T);case jt:var z=b._init;return b=z(b._payload),m(r,s,y,b,T)}if(xa(b)||da(b))return r=r.get(y)||null,g(s,r,b,T,null);if(typeof b.then=="function")return m(r,s,y,Tu(b),T);if(b.$$typeof===ht)return m(r,s,y,pu(s,b),T);Eu(s,b)}return null}function x(r,s,y,b){for(var T=null,z=null,E=s,A=s=0,G=null;E!==null&&A<y.length;A++){E.index>A?(G=E,E=null):G=E.sibling;var j=h(r,E,y[A],b);if(j===null){E===null&&(E=G);break}l&&E&&j.alternate===null&&t(r,E),s=n(j,s,A),z===null?T=j:z.sibling=j,z=j,E=G}if(A===y.length)return e(r,E),X&&le(r,A),T;if(E===null){for(;A<y.length;A++)E=v(r,y[A],b),E!==null&&(s=n(E,s,A),z===null?T=E:z.sibling=E,z=E);return X&&le(r,A),T}for(E=a(E);A<y.length;A++)G=m(E,r,A,y[A],b),G!==null&&(l&&G.alternate!==null&&E.delete(G.key===null?A:G.key),s=n(G,s,A),z===null?T=G:z.sibling=G,z=G);return l&&E.forEach(function(xl){return t(r,xl)}),X&&le(r,A),T}function p(r,s,y,b){if(y==null)throw Error(S(151));for(var T=null,z=null,E=s,A=s=0,G=null,j=y.next();E!==null&&!j.done;A++,j=y.next()){E.index>A?(G=E,E=null):G=E.sibling;var xl=h(r,E,j.value,b);if(xl===null){E===null&&(E=G);break}l&&E&&xl.alternate===null&&t(r,E),s=n(xl,s,A),z===null?T=xl:z.sibling=xl,z=xl,E=G}if(j.done)return e(r,E),X&&le(r,A),T;if(E===null){for(;!j.done;A++,j=y.next())j=v(r,j.value,b),j!==null&&(s=n(j,s,A),z===null?T=j:z.sibling=j,z=j);return X&&le(r,A),T}for(E=a(E);!j.done;A++,j=y.next())j=m(E,r,A,j.value,b),j!==null&&(l&&j.alternate!==null&&E.delete(j.key===null?A:j.key),s=n(j,s,A),z===null?T=j:z.sibling=j,z=j);return l&&E.forEach(function(dl){return t(r,dl)}),X&&le(r,A),T}function D(r,s,y,b){if(typeof y=="object"&&y!==null&&y.type===ze&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case vu:l:{for(var T=y.key;s!==null;){if(s.key===T){if(T=y.type,T===ze){if(s.tag===7){e(r,s.sibling),b=u(s,y.props.children),b.return=r,r=b;break l}}else if(s.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===jt&&is(T)===s.type){e(r,s.sibling),b=u(s,y.props),ya(b,y),b.return=r,r=b;break l}e(r,s);break}else t(r,s);s=s.sibling}y.type===ze?(b=ae(y.props.children,r.mode,b,y.key),b.return=r,r=b):(b=Hu(y.type,y.key,y.props,null,r.mode,b),ya(b,y),b.return=r,r=b)}return c(r);case Sa:l:{for(T=y.key;s!==null;){if(s.key===T)if(s.tag===4&&s.stateNode.containerInfo===y.containerInfo&&s.stateNode.implementation===y.implementation){e(r,s.sibling),b=u(s,y.children||[]),b.return=r,r=b;break l}else{e(r,s);break}else t(r,s);s=s.sibling}b=In(y,r.mode,b),b.return=r,r=b}return c(r);case jt:return T=y._init,y=T(y._payload),D(r,s,y,b)}if(xa(y))return x(r,s,y,b);if(da(y)){if(T=da(y),typeof T!="function")throw Error(S(150));return y=T.call(y),p(r,s,y,b)}if(typeof y.then=="function")return D(r,s,Tu(y),b);if(y.$$typeof===ht)return D(r,s,pu(r,y),b);Eu(r,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,s!==null&&s.tag===6?(e(r,s.sibling),b=u(s,y),b.return=r,r=b):(e(r,s),b=Fn(y,r.mode,b),b.return=r,r=b),c(r)):e(r,s)}return function(r,s,y,b){try{La=0;var T=D(r,s,y,b);return Le=null,T}catch(E){if(E===iu||E===jn)throw E;var z=Bl(29,E,null,r.mode);return z.lanes=b,z.return=r,z}finally{}}}var Ie=Mo(!0),_o=Mo(!1),$l=nt(null),ut=null;function Ut(l){var t=l.alternate;I(sl,sl.current&1),I($l,l),ut===null&&(t===null||We.current!==null||t.memoizedState!==null)&&(ut=l)}function Uo(l){if(l.tag===22){if(I(sl,sl.current),I($l,l),ut===null){var t=l.alternate;t!==null&&t.memoizedState!==null&&(ut=l)}}else Rt()}function Rt(){I(sl,sl.current),I($l,$l.current)}function bt(l){yl($l),ut===l&&(ut=null),yl(sl)}var sl=nt(0);function an(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||e.data==="$?"||oi(e)))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===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function tc(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:$({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var $c={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=Cl(),u=Xt(a);u.payload=t,e!=null&&(u.callback=e),t=Qt(l,u,a),t!==null&&(Gl(t,l,a),ja(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=Cl(),u=Xt(a);u.tag=1,u.payload=t,e!=null&&(u.callback=e),t=Qt(l,u,a),t!==null&&(Gl(t,l,a),ja(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=Cl(),a=Xt(e);a.tag=2,t!=null&&(a.callback=t),t=Qt(l,a,e),t!==null&&(Gl(t,l,e),ja(t,l,e))}};function fs(l,t,e,a,u,n,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,n,c):t.prototype&&t.prototype.isPureReactComponent?!Qa(e,a)||!Qa(u,n):!0}function ss(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&$c.enqueueReplaceState(t,t.state,null)}function re(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=$({},e));for(var u in l)e[u]===void 0&&(e[u]=l[u])}return e}var un=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function Ro(l){un(l)}function Ho(l){console.error(l)}function Bo(l){un(l)}function nn(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function os(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function kc(l,t,e){return e=Xt(e),e.tag=3,e.payload={element:null},e.callback=function(){nn(l,t)},e}function qo(l){return l=Xt(l),l.tag=3,l}function Yo(l,t,e,a){var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;l.payload=function(){return u(n)},l.callback=function(){os(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){os(t,e,a),typeof u!="function"&&(Zt===null?Zt=new Set([this]):Zt.add(this));var i=a.stack;this.componentDidCatch(a.value,{componentStack:i!==null?i:""})})}function Ym(l,t,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&nu(t,e,u,!0),e=$l.current,e!==null){switch(e.tag){case 13:return ut===null?ai():e.alternate===null&&tl===0&&(tl=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===Qc?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),rc(l,a,u)),!1;case 22:return e.flags|=65536,a===Qc?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),rc(l,a,u)),!1}throw Error(S(435,e.tag))}return rc(l,a,u),ai(),!1}if(X)return t=$l.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==qc&&(l=Error(S(422),{cause:a}),Za(Kl(l,e)))):(a!==qc&&(t=Error(S(423),{cause:a}),Za(Kl(t,e))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,a=Kl(a,e),u=kc(l.stateNode,a,u),Pn(l,u),tl!==4&&(tl=2)),!1;var n=Error(S(520),{cause:a});if(n=Kl(n,e),Ba===null?Ba=[n]:Ba.push(n),tl!==4&&(tl=2),t===null)return!0;a=Kl(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=u&-u,e.lanes|=l,l=kc(e.stateNode,a,l),Pn(e,l),!1;case 1:if(t=e.type,n=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(Zt===null||!Zt.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=qo(u),Yo(u,l,e,a),Pn(e,u),!1}e=e.return}while(e!==null);return!1}var Co=Error(S(461)),hl=!1;function gl(l,t,e,a){t.child=l===null?_o(t,null,e,a):Ie(t,l.child,e,a)}function ds(l,t,e,a,u){e=e.render;var n=t.ref;if("ref"in a){var c={};for(var i in a)i!=="ref"&&(c[i]=a[i])}else c=a;return oe(t),a=Zi(l,t,e,c,n,u),i=Vi(),l!==null&&!hl?(Li(l,t,u),Tt(l,t,u)):(X&&i&&Bi(t),t.flags|=1,gl(l,t,a,u),t.child)}function rs(l,t,e,a,u){if(l===null){var n=e.type;return typeof n=="function"&&!Hi(n)&&n.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=n,Go(l,t,n,a,u)):(l=Hu(e.type,null,a,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!Pi(l,u)){var c=n.memoizedProps;if(e=e.compare,e=e!==null?e:Qa,e(c,a)&&l.ref===t.ref)return Tt(l,t,u)}return t.flags|=1,l=St(n,a),l.ref=t.ref,l.return=t,t.child=l}function Go(l,t,e,a,u){if(l!==null){var n=l.memoizedProps;if(Qa(n,a)&&l.ref===t.ref)if(hl=!1,t.pendingProps=a=n,Pi(l,u))l.flags&131072&&(hl=!0);else return t.lanes=l.lanes,Tt(l,t,u)}return Wc(l,t,e,a,u)}function Xo(l,t,e){var a=t.pendingProps,u=a.children,n=l!==null?l.memoizedState:null;if(a.mode==="hidden"){if(t.flags&128){if(a=n!==null?n.baseLanes|e:e,l!==null){for(u=t.child=l.child,n=0;u!==null;)n=n|u.lanes|u.childLanes,u=u.sibling;t.childLanes=n&~a}else t.childLanes=0,t.child=null;return ms(l,t,a,e)}if(e&536870912)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Bu(t,n!==null?n.cachePool:null),n!==null?ls(t,n):Lc(),Uo(t);else return t.lanes=t.childLanes=536870912,ms(l,t,n!==null?n.baseLanes|e:e,e)}else n!==null?(Bu(t,n.cachePool),ls(t,n),Rt(),t.memoizedState=null):(l!==null&&Bu(t,null),Lc(),Rt());return gl(l,t,u,e),t.child}function ms(l,t,e,a){var u=Ci();return u=u===null?null:{parent:fl._currentValue,pool:u},t.memoizedState={baseLanes:e,cachePool:u},l!==null&&Bu(t,null),Lc(),Uo(t),l!==null&&nu(l,t,a,!0),null}function Cu(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(S(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function Wc(l,t,e,a,u){return oe(t),e=Zi(l,t,e,a,void 0,u),a=Vi(),l!==null&&!hl?(Li(l,t,u),Tt(l,t,u)):(X&&a&&Bi(t),t.flags|=1,gl(l,t,e,u),t.child)}function hs(l,t,e,a,u,n){return oe(t),t.updateQueue=null,e=I0(t,a,e,u),F0(l),a=Vi(),l!==null&&!hl?(Li(l,t,n),Tt(l,t,n)):(X&&a&&Bi(t),t.flags|=1,gl(l,t,e,n),t.child)}function ys(l,t,e,a,u){if(oe(t),t.stateNode===null){var n=He,c=e.contextType;typeof c=="object"&&c!==null&&(n=Al(c)),n=new e(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=$c,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},Gi(t),c=e.contextType,n.context=typeof c=="object"&&c!==null?Al(c):He,n.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(tc(t,e,c,a),n.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(c=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),c!==n.state&&$c.enqueueReplaceState(n,n.state,null),_a(t,a,n,u),Ma(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){n=t.stateNode;var i=t.memoizedProps,f=re(e,i);n.props=f;var d=n.context,g=e.contextType;c=He,typeof g=="object"&&g!==null&&(c=Al(g));var v=e.getDerivedStateFromProps;g=typeof v=="function"||typeof n.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,g||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i||d!==c)&&ss(t,n,a,c),Mt=!1;var h=t.memoizedState;n.state=h,_a(t,a,n,u),Ma(),d=t.memoizedState,i||h!==d||Mt?(typeof v=="function"&&(tc(t,e,v,a),d=t.memoizedState),(f=Mt||fs(t,e,f,a,h,d,c))?(g||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=d),n.props=a,n.state=d,n.context=c,a=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,Zc(l,t),c=t.memoizedProps,g=re(e,c),n.props=g,v=t.pendingProps,h=n.context,d=e.contextType,f=He,typeof d=="object"&&d!==null&&(f=Al(d)),i=e.getDerivedStateFromProps,(d=typeof i=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c!==v||h!==f)&&ss(t,n,a,f),Mt=!1,h=t.memoizedState,n.state=h,_a(t,a,n,u),Ma();var m=t.memoizedState;c!==v||h!==m||Mt||l!==null&&l.dependencies!==null&&Iu(l.dependencies)?(typeof i=="function"&&(tc(t,e,i,a),m=t.memoizedState),(g=Mt||fs(t,e,g,a,h,m,f)||l!==null&&l.dependencies!==null&&Iu(l.dependencies))?(d||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,m,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,m,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=m),n.props=a,n.state=m,n.context=f,a=g):(typeof n.componentDidUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),a=!1)}return n=a,Cu(l,t),a=(t.flags&128)!==0,n||a?(n=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&a?(t.child=Ie(t,l.child,null,u),t.child=Ie(t,null,e,u)):gl(l,t,e,u),t.memoizedState=n.state,l=t.child):l=Tt(l,t,u),l}function vs(l,t,e,a){return uu(),t.flags|=256,gl(l,t,e,a),t.child}var ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ac(l){return{baseLanes:l,cachePool:K0()}}function uc(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=Jl),l}function Qo(l,t,e){var a=t.pendingProps,u=!1,n=(t.flags&128)!==0,c;if((c=n)||(c=l!==null&&l.memoizedState===null?!1:(sl.current&2)!==0),c&&(u=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(X){if(u?Ut(t):Rt(),X){var i=ll,f;if(f=i){l:{for(f=i,i=lt;f.nodeType!==8;){if(!i){i=null;break l}if(f=Fl(f.nextSibling),f===null){i=null;break l}}i=f}i!==null?(t.memoizedState={dehydrated:i,treeContext:ue!==null?{id:yt,overflow:vt}:null,retryLane:536870912,hydrationErrors:null},f=Bl(18,null,null,0),f.stateNode=i,f.return=t,t.child=f,Tl=t,ll=null,f=!0):f=!1}f||se(t)}if(i=t.memoizedState,i!==null&&(i=i.dehydrated,i!==null))return oi(i)?t.lanes=32:t.lanes=536870912,null;bt(t)}return i=a.children,a=a.fallback,u?(Rt(),u=t.mode,i=cn({mode:"hidden",children:i},u),a=ae(a,u,e,null),i.return=t,a.return=t,i.sibling=a,t.child=i,u=t.child,u.memoizedState=ac(e),u.childLanes=uc(l,c,e),t.memoizedState=ec,a):(Ut(t),Fc(t,i))}if(f=l.memoizedState,f!==null&&(i=f.dehydrated,i!==null)){if(n)t.flags&256?(Ut(t),t.flags&=-257,t=nc(l,t,e)):t.memoizedState!==null?(Rt(),t.child=l.child,t.flags|=128,t=null):(Rt(),u=a.fallback,i=t.mode,a=cn({mode:"visible",children:a.children},i),u=ae(u,i,e,null),u.flags|=2,a.return=t,u.return=t,a.sibling=u,t.child=a,Ie(t,l.child,null,e),a=t.child,a.memoizedState=ac(e),a.childLanes=uc(l,c,e),t.memoizedState=ec,t=u);else if(Ut(t),oi(i)){if(c=i.nextSibling&&i.nextSibling.dataset,c)var d=c.dgst;c=d,a=Error(S(419)),a.stack="",a.digest=c,Za({value:a,source:null,stack:null}),t=nc(l,t,e)}else if(hl||nu(l,t,e,!1),c=(e&l.childLanes)!==0,hl||c){if(c=J,c!==null&&(a=e&-e,a=a&42?1:Ti(a),a=a&(c.suspendedLanes|e)?0:a,a!==0&&a!==f.retryLane))throw f.retryLane=a,ca(l,a),Gl(c,l,a),Co;i.data==="$?"||ai(),t=nc(l,t,e)}else i.data==="$?"?(t.flags|=192,t.child=l.child,t=null):(l=f.treeContext,ll=Fl(i.nextSibling),Tl=t,X=!0,ne=null,lt=!1,l!==null&&(Vl[Ll++]=yt,Vl[Ll++]=vt,Vl[Ll++]=ue,yt=l.id,vt=l.overflow,ue=t),t=Fc(t,a.children),t.flags|=4096);return t}return u?(Rt(),u=a.fallback,i=t.mode,f=l.child,d=f.sibling,a=St(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,d!==null?u=St(d,u):(u=ae(u,i,e,null),u.flags|=2),u.return=t,a.return=t,a.sibling=u,t.child=a,a=u,u=t.child,i=l.child.memoizedState,i===null?i=ac(e):(f=i.cachePool,f!==null?(d=fl._currentValue,f=f.parent!==d?{parent:d,pool:d}:f):f=K0(),i={baseLanes:i.baseLanes|e,cachePool:f}),u.memoizedState=i,u.childLanes=uc(l,c,e),t.memoizedState=ec,a):(Ut(t),e=l.child,l=e.sibling,e=St(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(c=t.deletions,c===null?(t.deletions=[l],t.flags|=16):c.push(l)),t.child=e,t.memoizedState=null,e)}function Fc(l,t){return t=cn({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function cn(l,t){return l=Bl(22,l,null,t),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function nc(l,t,e){return Ie(t,l.child,null,e),l=Fc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function gs(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Cc(l.return,t,e)}function cc(l,t,e,a,u){var n=l.memoizedState;n===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=a,n.tail=e,n.tailMode=u)}function Zo(l,t,e){var a=t.pendingProps,u=a.revealOrder,n=a.tail;if(gl(l,t,a.children,e),a=sl.current,a&2)a=a&1|2,t.flags|=128;else{if(l!==null&&l.flags&128)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&gs(l,e,t);else if(l.tag===19)gs(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}a&=1}switch(I(sl,a),u){case"forwards":for(e=t.child,u=null;e!==null;)l=e.alternate,l!==null&&an(l)===null&&(u=e),e=e.sibling;e=u,e===null?(u=t.child,t.child=null):(u=e.sibling,e.sibling=null),cc(t,!1,u,e,n);break;case"backwards":for(e=null,u=t.child,t.child=null;u!==null;){if(l=u.alternate,l!==null&&an(l)===null){t.child=u;break}l=u.sibling,u.sibling=e,e=u,u=l}cc(t,!0,e,null,n);break;case"together":cc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Tt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),kt|=t.lanes,!(e&t.childLanes))if(l!==null){if(nu(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(S(153));if(t.child!==null){for(l=t.child,e=St(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=St(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Pi(l,t){return l.lanes&t?!0:(l=l.dependencies,!!(l!==null&&Iu(l)))}function Cm(l,t,e){switch(t.tag){case 3:Lu(t,t.stateNode.containerInfo),_t(t,fl,l.memoizedState.cache),uu();break;case 27:case 5:zc(t);break;case 4:Lu(t,t.stateNode.containerInfo);break;case 10:_t(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Ut(t),t.flags|=128,null):e&t.child.childLanes?Qo(l,t,e):(Ut(t),l=Tt(l,t,e),l!==null?l.sibling:null);Ut(t);break;case 19:var u=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(nu(l,t,e,!1),a=(e&t.childLanes)!==0),u){if(a)return Zo(l,t,e);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),I(sl,sl.current),a)break;return null;case 22:case 23:return t.lanes=0,Xo(l,t,e);case 24:_t(t,fl,l.memoizedState.cache)}return Tt(l,t,e)}function Vo(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)hl=!0;else{if(!Pi(l,e)&&!(t.flags&128))return hl=!1,Cm(l,t,e);hl=!!(l.flags&131072)}else hl=!1,X&&t.flags&1048576&&L0(t,Fu,t.index);switch(t.lanes=0,t.tag){case 16:l:{l=t.pendingProps;var a=t.elementType,u=a._init;if(a=u(a._payload),t.type=a,typeof a=="function")Hi(a)?(l=re(a,l),t.tag=1,t=ys(null,t,a,l,e)):(t.tag=0,t=Wc(null,t,a,l,e));else{if(a!=null){if(u=a.$$typeof,u===xi){t.tag=11,t=ds(null,t,a,l,e);break l}else if(u===pi){t.tag=14,t=rs(null,t,a,l,e);break l}}throw t=Ec(a)||a,Error(S(306,t,""))}}return t;case 0:return Wc(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,u=re(a,t.pendingProps),ys(l,t,a,u,e);case 3:l:{if(Lu(t,t.stateNode.containerInfo),l===null)throw Error(S(387));a=t.pendingProps;var n=t.memoizedState;u=n.element,Zc(l,t),_a(t,a,null,e);var c=t.memoizedState;if(a=c.cache,_t(t,fl,a),a!==n.cache&&Gc(t,[fl],e,!0),Ma(),a=c.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=vs(l,t,a,e);break l}else if(a!==u){u=Kl(Error(S(424)),t),Za(u),t=vs(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(ll=Fl(l.firstChild),Tl=t,X=!0,ne=null,lt=!0,e=_o(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(uu(),a===u){t=Tt(l,t,e);break l}gl(l,t,a,e)}t=t.child}return t;case 26:return Cu(l,t),l===null?(e=Hs(t.type,null,t.pendingProps,null))?t.memoizedState=e:X||(e=t.type,l=t.pendingProps,a=hn(Gt.current).createElement(e),a[pl]=t,a[jl]=l,Sl(a,e,l),ml(a),t.stateNode=a):t.memoizedState=Hs(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return zc(t),l===null&&X&&(a=t.stateNode=jd(t.type,t.pendingProps,Gt.current),Tl=t,lt=!0,u=ll,Ft(t.type)?(di=u,ll=Fl(a.firstChild)):ll=u),gl(l,t,t.pendingProps.children,e),Cu(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&X&&((u=a=ll)&&(a=rh(a,t.type,t.pendingProps,lt),a!==null?(t.stateNode=a,Tl=t,ll=Fl(a.firstChild),lt=!1,u=!0):u=!1),u||se(t)),zc(t),u=t.type,n=t.pendingProps,c=l!==null?l.memoizedProps:null,a=n.children,fi(u,n)?a=null:c!==null&&fi(u,c)&&(t.flags|=32),t.memoizedState!==null&&(u=Zi(l,t,Mm,null,null,e),$a._currentValue=u),Cu(l,t),gl(l,t,a,e),t.child;case 6:return l===null&&X&&((l=e=ll)&&(e=mh(e,t.pendingProps,lt),e!==null?(t.stateNode=e,Tl=t,ll=null,l=!0):l=!1),l||se(t)),null;case 13:return Qo(l,t,e);case 4:return Lu(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Ie(t,null,a,e):gl(l,t,a,e),t.child;case 11:return ds(l,t,t.type,t.pendingProps,e);case 7:return gl(l,t,t.pendingProps,e),t.child;case 8:return gl(l,t,t.pendingProps.children,e),t.child;case 12:return gl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,_t(t,t.type,a.value),gl(l,t,a.children,e),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,oe(t),u=Al(u),a=a(u),t.flags|=1,gl(l,t,a,e),t.child;case 14:return rs(l,t,t.type,t.pendingProps,e);case 15:return Go(l,t,t.type,t.pendingProps,e);case 19:return Zo(l,t,e);case 31:return a=t.pendingProps,e=t.mode,a={mode:a.mode,children:a.children},l===null?(e=cn(a,e),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=St(l.child,a),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return Xo(l,t,e);case 24:return oe(t),a=Al(fl),l===null?(u=Ci(),u===null&&(u=J,n=Yi(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),t.memoizedState={parent:a,cache:u},Gi(t),_t(t,fl,u)):(l.lanes&e&&(Zc(l,t),_a(t,null,null,e),Ma()),u=l.memoizedState,n=t.memoizedState,u.parent!==a?(u={parent:a,cache:a},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),_t(t,fl,a)):(a=n.cache,_t(t,fl,a),a!==u.cache&&Gc(t,[fl],e,!0))),gl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(S(156,t.tag))}function dt(l){l.flags|=4}function bs(l,t){if(t.type!=="stylesheet"||t.state.loading&4)l.flags&=-16777217;else if(l.flags|=16777216,!Ud(t)){if(t=$l.current,t!==null&&((C&4194048)===C?ut!==null:(C&62914560)!==C&&!(C&536870912)||t!==ut))throw Da=Qc,J0;l.flags|=8192}}function Nu(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?h0():536870912,l.lanes|=t,Pe|=t)}function va(l,t){if(!X)switch(l.tailMode){case"hidden":t=l.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null;break;case"collapsed":e=l.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}function P(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var u=l.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=l,u=u.sibling;else for(u=l.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=l,u=u.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}function Gm(l,t,e){var a=t.pendingProps;switch(qi(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return P(t),null;case 1:return P(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),xt(fl),Ke(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ha(t)?dt(t):l===null||l.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$f())),P(t),null;case 26:return e=t.memoizedState,l===null?(dt(t),e!==null?(P(t),bs(t,e)):(P(t),t.flags&=-16777217)):e?e!==l.memoizedState?(dt(t),P(t),bs(t,e)):(P(t),t.flags&=-16777217):(l.memoizedProps!==a&&dt(t),P(t),t.flags&=-16777217),null;case 27:wu(t),e=Gt.current;var u=t.type;if(l!==null&&t.stateNode!=null)l.memoizedProps!==a&&dt(t);else{if(!a){if(t.stateNode===null)throw Error(S(166));return P(t),null}l=et.current,ha(t)?Kf(t):(l=jd(u,a,e),t.stateNode=l,dt(t))}return P(t),null;case 5:if(wu(t),e=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&dt(t);else{if(!a){if(t.stateNode===null)throw Error(S(166));return P(t),null}if(l=et.current,ha(t))Kf(t);else{switch(u=hn(Gt.current),l){case 1:l=u.createElementNS("http://www.w3.org/2000/svg",e);break;case 2:l=u.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;default:switch(e){case"svg":l=u.createElementNS("http://www.w3.org/2000/svg",e);break;case"math":l=u.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;case"script":l=u.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof a.is=="string"?u.createElement("select",{is:a.is}):u.createElement("select"),a.multiple?l.multiple=!0:a.size&&(l.size=a.size);break;default:l=typeof a.is=="string"?u.createElement(e,{is:a.is}):u.createElement(e)}}l[pl]=t,l[jl]=a;l:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)l.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break l;for(;u.sibling===null;){if(u.return===null||u.return===t)break l;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=l;l:switch(Sl(l,e,a),e){case"button":case"input":case"select":case"textarea":l=!!a.autoFocus;break l;case"img":l=!0;break l;default:l=!1}l&&dt(t)}}return P(t),t.flags&=-16777217,null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&dt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(S(166));if(l=Gt.current,ha(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,u=Tl,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}l[pl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||zd(l.nodeValue,e)),l||se(t)}else l=hn(l).createTextNode(a),l[pl]=t,t.stateNode=l}return P(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=ha(t),a!==null&&a.dehydrated!==null){if(l===null){if(!u)throw Error(S(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(S(317));u[pl]=t}else uu(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;P(t),u=!1}else u=$f(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(bt(t),t):(bt(t),null)}if(bt(t),t.flags&128)return t.lanes=e,t;if(e=a!==null,l=l!==null&&l.memoizedState!==null,e){a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool);var n=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)}return e!==l&&e&&(t.child.flags|=8192),Nu(t,t.updateQueue),P(t),null;case 4:return Ke(),l===null&&ff(t.stateNode.containerInfo),P(t),null;case 10:return xt(t.type),P(t),null;case 19:if(yl(sl),u=t.memoizedState,u===null)return P(t),null;if(a=(t.flags&128)!==0,n=u.rendering,n===null)if(a)va(u,!1);else{if(tl!==0||l!==null&&l.flags&128)for(l=t.child;l!==null;){if(n=an(l),n!==null){for(t.flags|=128,va(u,!1),l=n.updateQueue,t.updateQueue=l,Nu(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)V0(e,l),e=e.sibling;return I(sl,sl.current&1|2),t.child}l=l.sibling}u.tail!==null&&at()>sn&&(t.flags|=128,a=!0,va(u,!1),t.lanes=4194304)}else{if(!a)if(l=an(n),l!==null){if(t.flags|=128,a=!0,l=l.updateQueue,t.updateQueue=l,Nu(t,l),va(u,!0),u.tail===null&&u.tailMode==="hidden"&&!n.alternate&&!X)return P(t),null}else 2*at()-u.renderingStartTime>sn&&e!==536870912&&(t.flags|=128,a=!0,va(u,!1),t.lanes=4194304);u.isBackwards?(n.sibling=t.child,t.child=n):(l=u.last,l!==null?l.sibling=n:t.child=n,u.last=n)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=at(),t.sibling=null,l=sl.current,I(sl,a?l&1|2:l&1),t):(P(t),null);case 22:case 23:return bt(t),Xi(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?e&536870912&&!(t.flags&128)&&(P(t),t.subtreeFlags&6&&(t.flags|=8192)):P(t),e=t.updateQueue,e!==null&&Nu(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&yl(ce),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),xt(fl),P(t),null;case 25:return null;case 30:return null}throw Error(S(156,t.tag))}function Xm(l,t){switch(qi(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return xt(fl),Ke(),l=t.flags,l&65536&&!(l&128)?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return wu(t),null;case 13:if(bt(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(S(340));uu()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return yl(sl),null;case 4:return Ke(),null;case 10:return xt(t.type),null;case 22:case 23:return bt(t),Xi(),l!==null&&yl(ce),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return xt(fl),null;case 25:return null;default:return null}}function Lo(l,t){switch(qi(t),t.tag){case 3:xt(fl),Ke();break;case 26:case 27:case 5:wu(t);break;case 4:Ke();break;case 13:bt(t);break;case 19:yl(sl);break;case 10:xt(t.type);break;case 22:case 23:bt(t),Xi(),l!==null&&yl(ce);break;case 24:xt(fl)}}function ou(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&l)===l){a=void 0;var n=e.create,c=e.inst;a=n(),c.destroy=a}e=e.next}while(e!==u)}}catch(i){K(t,t.return,i)}}function $t(l,t,e){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&l)===l){var c=a.inst,i=c.destroy;if(i!==void 0){c.destroy=void 0,u=t;var f=e,d=i;try{d()}catch(g){K(u,f,g)}}}a=a.next}while(a!==n)}}catch(g){K(t,t.return,g)}}function wo(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{W0(t,e)}catch(a){K(l,l.return,a)}}}function Ko(l,t,e){e.props=re(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){K(l,t,a)}}function Ra(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(u){K(l,t,u)}}function tt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){K(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){K(l,t,u)}else e.current=null}function Jo(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(u){K(l,l.return,u)}}function ic(l,t,e){try{var a=l.stateNode;ih(a,l.type,e,t),a[jl]=t}catch(u){K(l,l.return,u)}}function $o(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Ft(l.type)||l.tag===4}function fc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||$o(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&Ft(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Ic(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=qn));else if(a!==4&&(a===27&&Ft(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Ic(l,t,e),l=l.sibling;l!==null;)Ic(l,t,e),l=l.sibling}function fn(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&Ft(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(fn(l,t,e),l=l.sibling;l!==null;)fn(l,t,e),l=l.sibling}function ko(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Sl(t,a,e),t[pl]=l,t[jl]=e}catch(n){K(l,l.return,n)}}var mt=!1,ul=!1,sc=!1,Ss=typeof WeakSet=="function"?WeakSet:Set,rl=null;function Qm(l,t){if(l=l.containerInfo,ci=bn,l=B0(l),_i(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var u=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{e.nodeType,n.nodeType}catch{e=null;break l}var c=0,i=-1,f=-1,d=0,g=0,v=l,h=null;t:for(;;){for(var m;v!==e||u!==0&&v.nodeType!==3||(i=c+u),v!==n||a!==0&&v.nodeType!==3||(f=c+a),v.nodeType===3&&(c+=v.nodeValue.length),(m=v.firstChild)!==null;)h=v,v=m;for(;;){if(v===l)break t;if(h===e&&++d===u&&(i=c),h===n&&++g===a&&(f=c),(m=v.nextSibling)!==null)break;v=h,h=v.parentNode}v=m}e=i===-1||f===-1?null:{start:i,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(ii={focusedElem:l,selectionRange:e},bn=!1,rl=t;rl!==null;)if(t=rl,l=t.child,(t.subtreeFlags&1024)!==0&&l!==null)l.return=t,rl=l;else for(;rl!==null;){switch(t=rl,n=t.alternate,l=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if(l&1024&&n!==null){l=void 0,e=t,u=n.memoizedProps,n=n.memoizedState,a=e.stateNode;try{var x=re(e.type,u,e.elementType===e.type);l=a.getSnapshotBeforeUpdate(x,n),a.__reactInternalSnapshotBeforeUpdate=l}catch(p){K(e,e.return,p)}}break;case 3:if(l&1024){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)si(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":si(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(l&1024)throw Error(S(163))}if(l=t.sibling,l!==null){l.return=t.return,rl=l;break}rl=t.return}}function Wo(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Ot(l,e),a&4&&ou(5,e);break;case 1:if(Ot(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){K(e,e.return,c)}else{var u=re(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){K(e,e.return,c)}}a&64&&wo(e),a&512&&Ra(e,e.return);break;case 3:if(Ot(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{W0(l,t)}catch(c){K(e,e.return,c)}}break;case 27:t===null&&a&4&&ko(e);case 26:case 5:Ot(l,e),t===null&&a&4&&Jo(e),a&512&&Ra(e,e.return);break;case 12:Ot(l,e);break;case 13:Ot(l,e),a&4&&Po(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=Wm.bind(null,e),hh(l,e))));break;case 22:if(a=e.memoizedState!==null||mt,!a){t=t!==null&&t.memoizedState!==null||ul,u=mt;var n=ul;mt=a,(ul=t)&&!n?Dt(l,e,(e.subtreeFlags&8772)!==0):Ot(l,e),mt=u,ul=n}break;case 30:break;default:Ot(l,e)}}function Fo(l){var t=l.alternate;t!==null&&(l.alternate=null,Fo(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&Ni(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var W=null,Ol=!1;function rt(l,t,e){for(e=e.child;e!==null;)Io(l,t,e),e=e.sibling}function Io(l,t,e){if(ql&&typeof ql.onCommitFiberUnmount=="function")try{ql.onCommitFiberUnmount(Pa,e)}catch{}switch(e.tag){case 26:ul||tt(e,t),rt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:ul||tt(e,t);var a=W,u=Ol;Ft(e.type)&&(W=e.stateNode,Ol=!1),rt(l,t,e),Ya(e.stateNode),W=a,Ol=u;break;case 5:ul||tt(e,t);case 6:if(a=W,u=Ol,W=null,rt(l,t,e),W=a,Ol=u,W!==null)if(Ol)try{(W.nodeType===9?W.body:W.nodeName==="HTML"?W.ownerDocument.body:W).removeChild(e.stateNode)}catch(n){K(e,t,n)}else try{W.removeChild(e.stateNode)}catch(n){K(e,t,n)}break;case 18:W!==null&&(Ol?(l=W,_s(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Fa(l)):_s(W,e.stateNode));break;case 4:a=W,u=Ol,W=e.stateNode.containerInfo,Ol=!0,rt(l,t,e),W=a,Ol=u;break;case 0:case 11:case 14:case 15:ul||$t(2,e,t),ul||$t(4,e,t),rt(l,t,e);break;case 1:ul||(tt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&Ko(e,t,a)),rt(l,t,e);break;case 21:rt(l,t,e);break;case 22:ul=(a=ul)||e.memoizedState!==null,rt(l,t,e),ul=a;break;default:rt(l,t,e)}}function Po(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Fa(l)}catch(e){K(t,t.return,e)}}function Zm(l){switch(l.tag){case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Ss),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Ss),t;default:throw Error(S(435,l.tag))}}function oc(l,t){var e=Zm(l);t.forEach(function(a){var u=Fm.bind(null,l,a);e.has(a)||(e.add(a),a.then(u,u))})}function Ul(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=l,c=t,i=c;l:for(;i!==null;){switch(i.tag){case 27:if(Ft(i.type)){W=i.stateNode,Ol=!1;break l}break;case 5:W=i.stateNode,Ol=!1;break l;case 3:case 4:W=i.stateNode.containerInfo,Ol=!0;break l}i=i.return}if(W===null)throw Error(S(160));Io(n,c,u),W=null,Ol=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)ld(t,l),t=t.sibling}var Wl=null;function ld(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Ul(t,l),Rl(l),a&4&&($t(3,l,l.return),ou(3,l),$t(5,l,l.return));break;case 1:Ul(t,l),Rl(l),a&512&&(ul||e===null||tt(e,e.return)),a&64&&mt&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var u=Wl;if(Ul(t,l),Rl(l),a&512&&(ul||e===null||tt(e,e.return)),a&4){var n=e!==null?e.memoizedState:null;if(a=l.memoizedState,e===null)if(a===null)if(l.stateNode===null){l:{a=l.type,e=l.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":n=u.getElementsByTagName("title")[0],(!n||n[eu]||n[pl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),Sl(n,a,e),n[pl]=l,ml(n),a=n;break l;case"link":var c=qs("link","href",u).get(a+(e.href||""));if(c){for(var i=0;i<c.length;i++)if(n=c[i],n.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&n.getAttribute("rel")===(e.rel==null?null:e.rel)&&n.getAttribute("title")===(e.title==null?null:e.title)&&n.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){c.splice(i,1);break t}}n=u.createElement(a),Sl(n,a,e),u.head.appendChild(n);break;case"meta":if(c=qs("meta","content",u).get(a+(e.content||""))){for(i=0;i<c.length;i++)if(n=c[i],n.getAttribute("content")===(e.content==null?null:""+e.content)&&n.getAttribute("name")===(e.name==null?null:e.name)&&n.getAttribute("property")===(e.property==null?null:e.property)&&n.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&n.getAttribute("charset")===(e.charSet==null?null:e.charSet)){c.splice(i,1);break t}}n=u.createElement(a),Sl(n,a,e),u.head.appendChild(n);break;default:throw Error(S(468,a))}n[pl]=l,ml(n),a=n}l.stateNode=a}else Ys(u,l.type,l.stateNode);else l.stateNode=Bs(u,a,l.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?Ys(u,l.type,l.stateNode):Bs(u,a,l.memoizedProps)):a===null&&l.stateNode!==null&&ic(l,l.memoizedProps,e.memoizedProps)}break;case 27:Ul(t,l),Rl(l),a&512&&(ul||e===null||tt(e,e.return)),e!==null&&a&4&&ic(l,l.memoizedProps,e.memoizedProps);break;case 5:if(Ul(t,l),Rl(l),a&512&&(ul||e===null||tt(e,e.return)),l.flags&32){u=l.stateNode;try{$e(u,"")}catch(m){K(l,l.return,m)}}a&4&&l.stateNode!=null&&(u=l.memoizedProps,ic(l,u,e!==null?e.memoizedProps:u)),a&1024&&(sc=!0);break;case 6:if(Ul(t,l),Rl(l),a&4){if(l.stateNode===null)throw Error(S(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(m){K(l,l.return,m)}}break;case 3:if(Qu=null,u=Wl,Wl=yn(t.containerInfo),Ul(t,l),Wl=u,Rl(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Fa(t.containerInfo)}catch(m){K(l,l.return,m)}sc&&(sc=!1,td(l));break;case 4:a=Wl,Wl=yn(l.stateNode.containerInfo),Ul(t,l),Rl(l),Wl=a;break;case 12:Ul(t,l),Rl(l);break;case 13:Ul(t,l),Rl(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(uf=at()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,oc(l,a)));break;case 22:u=l.memoizedState!==null;var f=e!==null&&e.memoizedState!==null,d=mt,g=ul;if(mt=d||u,ul=g||f,Ul(t,l),ul=g,mt=d,Rl(l),a&8192)l:for(t=l.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(e===null||f||mt||ul||te(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){f=e=t;try{if(n=f.stateNode,u)c=n.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{i=f.stateNode;var v=f.memoizedProps.style,h=v!=null&&v.hasOwnProperty("display")?v.display:null;i.style.display=h==null||typeof h=="boolean"?"":(""+h).trim()}}catch(m){K(f,f.return,m)}}}else if(t.tag===6){if(e===null){f=t;try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){K(f,f.return,m)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=l.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,oc(l,e))));break;case 19:Ul(t,l),Rl(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,oc(l,a)));break;case 30:break;case 21:break;default:Ul(t,l),Rl(l)}}function Rl(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if($o(a)){e=a;break}a=a.return}if(e==null)throw Error(S(160));switch(e.tag){case 27:var u=e.stateNode,n=fc(l);fn(l,n,u);break;case 5:var c=e.stateNode;e.flags&32&&($e(c,""),e.flags&=-33);var i=fc(l);fn(l,i,c);break;case 3:case 4:var f=e.stateNode.containerInfo,d=fc(l);Ic(l,d,f);break;default:throw Error(S(161))}}catch(g){K(l,l.return,g)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function td(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;td(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function Ot(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Wo(l,t.alternate,t),t=t.sibling}function te(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:$t(4,t,t.return),te(t);break;case 1:tt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&Ko(t,t.return,e),te(t);break;case 27:Ya(t.stateNode);case 26:case 5:tt(t,t.return),te(t);break;case 22:t.memoizedState===null&&te(t);break;case 30:te(t);break;default:te(t)}l=l.sibling}}function Dt(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=l,n=t,c=n.flags;switch(n.tag){case 0:case 11:case 15:Dt(u,n,e),ou(4,n);break;case 1:if(Dt(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(d){K(a,a.return,d)}if(a=n,u=a.updateQueue,u!==null){var i=a.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)k0(f[u],i)}catch(d){K(a,a.return,d)}}e&&c&64&&wo(n),Ra(n,n.return);break;case 27:ko(n);case 26:case 5:Dt(u,n,e),e&&a===null&&c&4&&Jo(n),Ra(n,n.return);break;case 12:Dt(u,n,e);break;case 13:Dt(u,n,e),e&&c&4&&Po(u,n);break;case 22:n.memoizedState===null&&Dt(u,n,e),Ra(n,n.return);break;case 30:break;default:Dt(u,n,e)}t=t.sibling}}function lf(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&cu(e))}function tf(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&cu(l))}function Pl(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ed(l,t,e,a),t=t.sibling}function ed(l,t,e,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Pl(l,t,e,a),u&2048&&ou(9,t);break;case 1:Pl(l,t,e,a);break;case 3:Pl(l,t,e,a),u&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&cu(l)));break;case 12:if(u&2048){Pl(l,t,e,a),l=t.stateNode;try{var n=t.memoizedProps,c=n.id,i=n.onPostCommit;typeof i=="function"&&i(c,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){K(t,t.return,f)}}else Pl(l,t,e,a);break;case 13:Pl(l,t,e,a);break;case 23:break;case 22:n=t.stateNode,c=t.alternate,t.memoizedState!==null?n._visibility&2?Pl(l,t,e,a):Ha(l,t):n._visibility&2?Pl(l,t,e,a):(n._visibility|=2,Ee(l,t,e,a,(t.subtreeFlags&10256)!==0)),u&2048&&lf(c,t);break;case 24:Pl(l,t,e,a),u&2048&&tf(t.alternate,t);break;default:Pl(l,t,e,a)}}function Ee(l,t,e,a,u){for(u=u&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var n=l,c=t,i=e,f=a,d=c.flags;switch(c.tag){case 0:case 11:case 15:Ee(n,c,i,f,u),ou(8,c);break;case 23:break;case 22:var g=c.stateNode;c.memoizedState!==null?g._visibility&2?Ee(n,c,i,f,u):Ha(n,c):(g._visibility|=2,Ee(n,c,i,f,u)),u&&d&2048&&lf(c.alternate,c);break;case 24:Ee(n,c,i,f,u),u&&d&2048&&tf(c.alternate,c);break;default:Ee(n,c,i,f,u)}t=t.sibling}}function Ha(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,u=a.flags;switch(a.tag){case 22:Ha(e,a),u&2048&&lf(a.alternate,a);break;case 24:Ha(e,a),u&2048&&tf(a.alternate,a);break;default:Ha(e,a)}t=t.sibling}}var Aa=8192;function xe(l){if(l.subtreeFlags&Aa)for(l=l.child;l!==null;)ad(l),l=l.sibling}function ad(l){switch(l.tag){case 26:xe(l),l.flags&Aa&&l.memoizedState!==null&&Oh(Wl,l.memoizedState,l.memoizedProps);break;case 5:xe(l);break;case 3:case 4:var t=Wl;Wl=yn(l.stateNode.containerInfo),xe(l),Wl=t;break;case 22:l.memoizedState===null&&(t=l.alternate,t!==null&&t.memoizedState!==null?(t=Aa,Aa=16777216,xe(l),Aa=t):xe(l));break;default:xe(l)}}function ud(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function ga(l){var t=l.deletions;if(l.flags&16){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];rl=a,cd(a,l)}ud(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)nd(l),l=l.sibling}function nd(l){switch(l.tag){case 0:case 11:case 15:ga(l),l.flags&2048&&$t(9,l,l.return);break;case 3:ga(l);break;case 12:ga(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,Gu(l)):ga(l);break;default:ga(l)}}function Gu(l){var t=l.deletions;if(l.flags&16){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];rl=a,cd(a,l)}ud(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:$t(8,t,t.return),Gu(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,Gu(t));break;default:Gu(t)}l=l.sibling}}function cd(l,t){for(;rl!==null;){var e=rl;switch(e.tag){case 0:case 11:case 15:$t(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:cu(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,rl=a;else l:for(e=l;rl!==null;){a=rl;var u=a.sibling,n=a.return;if(Fo(a),a===e){rl=null;break l}if(u!==null){u.return=n,rl=u;break l}rl=n}}}var Vm={getCacheForType:function(l){var t=Al(fl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e}},Lm=typeof WeakMap=="function"?WeakMap:Map,V=0,J=null,Y=null,C=0,Z=0,Hl=null,Yt=!1,ia=!1,ef=!1,Et=0,tl=0,kt=0,ie=0,af=0,Jl=0,Pe=0,Ba=null,Dl=null,Pc=!1,uf=0,sn=1/0,on=null,Zt=null,bl=0,Vt=null,la=null,we=0,li=0,ti=null,id=null,qa=0,ei=null;function Cl(){if(V&2&&C!==0)return C&-C;if(O.T!==null){var l=ke;return l!==0?l:cf()}return g0()}function fd(){Jl===0&&(Jl=!(C&536870912)||X?m0():536870912);var l=$l.current;return l!==null&&(l.flags|=32),Jl}function Gl(l,t,e){(l===J&&(Z===2||Z===9)||l.cancelPendingCommit!==null)&&(ta(l,0),Ct(l,C,Jl,!1)),tu(l,e),(!(V&2)||l!==J)&&(l===J&&(!(V&2)&&(ie|=e),tl===4&&Ct(l,C,Jl,!1)),ct(l))}function sd(l,t,e){if(V&6)throw Error(S(327));var a=!e&&(t&124)===0&&(t&l.expiredLanes)===0||lu(l,t),u=a?Jm(l,t):dc(l,t,!0),n=a;do{if(u===0){ia&&!a&&Ct(l,t,0,!1);break}else{if(e=l.current.alternate,n&&!wm(e)){u=dc(l,t,!1),n=!1;continue}if(u===2){if(n=t,l.errorRecoveryDisabledLanes&n)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;l:{var i=l;u=Ba;var f=i.current.memoizedState.isDehydrated;if(f&&(ta(i,c).flags|=256),c=dc(i,c,!1),c!==2){if(ef&&!f){i.errorRecoveryDisabledLanes|=n,ie|=n,u=4;break l}n=Dl,Dl=u,n!==null&&(Dl===null?Dl=n:Dl.push.apply(Dl,n))}u=c}if(n=!1,u!==2)continue}}if(u===1){ta(l,0),Ct(l,t,0,!0);break}l:{switch(a=l,n=u,n){case 0:case 1:throw Error(S(345));case 4:if((t&4194048)!==t)break;case 6:Ct(a,t,Jl,!Yt);break l;case 2:Dl=null;break;case 3:case 5:break;default:throw Error(S(329))}if((t&62914560)===t&&(u=uf+300-at(),10<u)){if(Ct(a,t,Jl,!Yt),Tn(a,0,!0)!==0)break l;a.timeoutHandle=Dd(xs.bind(null,a,e,Dl,on,Pc,t,Jl,ie,Pe,Yt,n,2,-0,0),u);break l}xs(a,e,Dl,on,Pc,t,Jl,ie,Pe,Yt,n,0,-0,0)}}break}while(1);ct(l)}function xs(l,t,e,a,u,n,c,i,f,d,g,v,h,m){if(l.timeoutHandle=-1,v=t.subtreeFlags,(v&8192||(v&16785408)===16785408)&&(Ja={stylesheets:null,count:0,unsuspend:zh},ad(t),v=Dh(),v!==null)){l.cancelPendingCommit=v(As.bind(null,l,t,n,e,a,u,c,i,f,g,1,h,m)),Ct(l,n,c,!d);return}As(l,t,n,e,a,u,c,i,f)}function wm(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var u=e[a],n=u.getSnapshot;u=u.value;try{if(!Xl(n(),u))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ct(l,t,e,a){t&=~af,t&=~ie,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var u=t;0<u;){var n=31-Yl(u),c=1<<n;a[n]=-1,u&=~c}e!==0&&y0(l,e,t)}function Rn(){return V&6?!0:(du(0,!1),!1)}function nf(){if(Y!==null){if(Z===0)var l=Y.return;else l=Y,gt=ve=null,wi(l),Le=null,La=0,l=Y;for(;l!==null;)Lo(l.alternate,l),l=l.return;Y=null}}function ta(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,sh(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),nf(),J=l,Y=e=St(l.current,null),C=t,Z=0,Hl=null,Yt=!1,ia=lu(l,t),ef=!1,Pe=Jl=af=ie=kt=tl=0,Dl=Ba=null,Pc=!1,t&8&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var u=31-Yl(a),n=1<<u;t|=l[u],a&=~n}return Et=t,On(),e}function od(l,t){B=null,O.H=en,t===iu||t===jn?(t=If(),Z=3):t===J0?(t=If(),Z=4):Z=t===Co?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Hl=t,Y===null&&(tl=1,nn(l,Kl(t,l.current)))}function dd(){var l=O.H;return O.H=en,l===null?en:l}function rd(){var l=O.A;return O.A=Vm,l}function ai(){tl=4,Yt||(C&4194048)!==C&&$l.current!==null||(ia=!0),!(kt&134217727)&&!(ie&134217727)||J===null||Ct(J,C,Jl,!1)}function dc(l,t,e){var a=V;V|=2;var u=dd(),n=rd();(J!==l||C!==t)&&(on=null,ta(l,t)),t=!1;var c=tl;l:do try{if(Z!==0&&Y!==null){var i=Y,f=Hl;switch(Z){case 8:nf(),c=6;break l;case 3:case 2:case 9:case 6:$l.current===null&&(t=!0);var d=Z;if(Z=0,Hl=null,Ye(l,i,f,d),e&&ia){c=0;break l}break;default:d=Z,Z=0,Hl=null,Ye(l,i,f,d)}}Km(),c=tl;break}catch(g){od(l,g)}while(1);return t&&l.shellSuspendCounter++,gt=ve=null,V=a,O.H=u,O.A=n,Y===null&&(J=null,C=0,On()),c}function Km(){for(;Y!==null;)md(Y)}function Jm(l,t){var e=V;V|=2;var a=dd(),u=rd();J!==l||C!==t?(on=null,sn=at()+500,ta(l,t)):ia=lu(l,t);l:do try{if(Z!==0&&Y!==null){t=Y;var n=Hl;t:switch(Z){case 1:Z=0,Hl=null,Ye(l,t,n,1);break;case 2:case 9:if(Ff(n)){Z=0,Hl=null,ps(t);break}t=function(){Z!==2&&Z!==9||J!==l||(Z=7),ct(l)},n.then(t,t);break l;case 3:Z=7;break l;case 4:Z=5;break l;case 7:Ff(n)?(Z=0,Hl=null,ps(t)):(Z=0,Hl=null,Ye(l,t,n,7));break;case 5:var c=null;switch(Y.tag){case 26:c=Y.memoizedState;case 5:case 27:var i=Y;if(!c||Ud(c)){Z=0,Hl=null;var f=i.sibling;if(f!==null)Y=f;else{var d=i.return;d!==null?(Y=d,Hn(d)):Y=null}break t}}Z=0,Hl=null,Ye(l,t,n,5);break;case 6:Z=0,Hl=null,Ye(l,t,n,6);break;case 8:nf(),tl=6;break l;default:throw Error(S(462))}}$m();break}catch(g){od(l,g)}while(1);return gt=ve=null,O.H=a,O.A=u,V=e,Y!==null?0:(J=null,C=0,On(),tl)}function $m(){for(;Y!==null&&!vr();)md(Y)}function md(l){var t=Vo(l.alternate,l,Et);l.memoizedProps=l.pendingProps,t===null?Hn(l):Y=t}function ps(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=hs(e,t,t.pendingProps,t.type,void 0,C);break;case 11:t=hs(e,t,t.pendingProps,t.type.render,t.ref,C);break;case 5:wi(t);default:Lo(e,t),t=Y=V0(t,Et),t=Vo(e,t,Et)}l.memoizedProps=l.pendingProps,t===null?Hn(l):Y=t}function Ye(l,t,e,a){gt=ve=null,wi(t),Le=null,La=0;var u=t.return;try{if(Ym(l,u,t,e,C)){tl=1,nn(l,Kl(e,l.current)),Y=null;return}}catch(n){if(u!==null)throw Y=u,n;tl=1,nn(l,Kl(e,l.current)),Y=null;return}t.flags&32768?(X||a===1?l=!0:ia||C&536870912?l=!1:(Yt=l=!0,(a===2||a===9||a===3||a===6)&&(a=$l.current,a!==null&&a.tag===13&&(a.flags|=16384))),hd(t,l)):Hn(t)}function Hn(l){var t=l;do{if(t.flags&32768){hd(t,Yt);return}l=t.return;var e=Gm(t.alternate,t,Et);if(e!==null){Y=e;return}if(t=t.sibling,t!==null){Y=t;return}Y=t=l}while(t!==null);tl===0&&(tl=5)}function hd(l,t){do{var e=Xm(l.alternate,l);if(e!==null){e.flags&=32767,Y=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){Y=l;return}Y=l=e}while(l!==null);tl=6,Y=null}function As(l,t,e,a,u,n,c,i,f){l.cancelPendingCommit=null;do Bn();while(bl!==0);if(V&6)throw Error(S(327));if(t!==null){if(t===l.current)throw Error(S(177));if(n=t.lanes|t.childLanes,n|=Ui,zr(l,e,n,c,i,f),l===J&&(Y=J=null,C=0),la=t,Vt=l,we=e,li=n,ti=u,id=a,t.subtreeFlags&10256||t.flags&10256?(l.callbackNode=null,l.callbackPriority=0,Im(Ku,function(){return Sd(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,t.subtreeFlags&13878||a){a=O.T,O.T=null,u=Q.p,Q.p=2,c=V,V|=4;try{Qm(l,t,e)}finally{V=c,Q.p=u,O.T=a}}bl=1,yd(),vd(),gd()}}function yd(){if(bl===1){bl=0;var l=Vt,t=la,e=(t.flags&13878)!==0;if(t.subtreeFlags&13878||e){e=O.T,O.T=null;var a=Q.p;Q.p=2;var u=V;V|=4;try{ld(t,l);var n=ii,c=B0(l.containerInfo),i=n.focusedElem,f=n.selectionRange;if(c!==i&&i&&i.ownerDocument&&H0(i.ownerDocument.documentElement,i)){if(f!==null&&_i(i)){var d=f.start,g=f.end;if(g===void 0&&(g=d),"selectionStart"in i)i.selectionStart=d,i.selectionEnd=Math.min(g,i.value.length);else{var v=i.ownerDocument||document,h=v&&v.defaultView||window;if(h.getSelection){var m=h.getSelection(),x=i.textContent.length,p=Math.min(f.start,x),D=f.end===void 0?p:Math.min(f.end,x);!m.extend&&p>D&&(c=D,D=p,p=c);var r=Vf(i,p),s=Vf(i,D);if(r&&s&&(m.rangeCount!==1||m.anchorNode!==r.node||m.anchorOffset!==r.offset||m.focusNode!==s.node||m.focusOffset!==s.offset)){var y=v.createRange();y.setStart(r.node,r.offset),m.removeAllRanges(),p>D?(m.addRange(y),m.extend(s.node,s.offset)):(y.setEnd(s.node,s.offset),m.addRange(y))}}}}for(v=[],m=i;m=m.parentNode;)m.nodeType===1&&v.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<v.length;i++){var b=v[i];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}bn=!!ci,ii=ci=null}finally{V=u,Q.p=a,O.T=e}}l.current=t,bl=2}}function vd(){if(bl===2){bl=0;var l=Vt,t=la,e=(t.flags&8772)!==0;if(t.subtreeFlags&8772||e){e=O.T,O.T=null;var a=Q.p;Q.p=2;var u=V;V|=4;try{Wo(l,t.alternate,t)}finally{V=u,Q.p=a,O.T=e}}bl=3}}function gd(){if(bl===4||bl===3){bl=0,gr();var l=Vt,t=la,e=we,a=id;t.subtreeFlags&10256||t.flags&10256?bl=5:(bl=0,la=Vt=null,bd(l,l.pendingLanes));var u=l.pendingLanes;if(u===0&&(Zt=null),Ei(e),t=t.stateNode,ql&&typeof ql.onCommitFiberRoot=="function")try{ql.onCommitFiberRoot(Pa,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=O.T,u=Q.p,Q.p=2,O.T=null;try{for(var n=l.onRecoverableError,c=0;c<a.length;c++){var i=a[c];n(i.value,{componentStack:i.stack})}}finally{O.T=t,Q.p=u}}we&3&&Bn(),ct(l),u=l.pendingLanes,e&4194090&&u&42?l===ei?qa++:(qa=0,ei=l):qa=0,du(0,!1)}}function bd(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,cu(t)))}function Bn(l){return yd(),vd(),gd(),Sd()}function Sd(){if(bl!==5)return!1;var l=Vt,t=li;li=0;var e=Ei(we),a=O.T,u=Q.p;try{Q.p=32>e?32:e,O.T=null,e=ti,ti=null;var n=Vt,c=we;if(bl=0,la=Vt=null,we=0,V&6)throw Error(S(331));var i=V;if(V|=4,nd(n.current),ed(n,n.current,c,e),V=i,du(0,!1),ql&&typeof ql.onPostCommitFiberRoot=="function")try{ql.onPostCommitFiberRoot(Pa,n)}catch{}return!0}finally{Q.p=u,O.T=a,bd(l,t)}}function Ts(l,t,e){t=Kl(e,t),t=kc(l.stateNode,t,2),l=Qt(l,t,2),l!==null&&(tu(l,2),ct(l))}function K(l,t,e){if(l.tag===3)Ts(l,l,e);else for(;t!==null;){if(t.tag===3){Ts(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Zt===null||!Zt.has(a))){l=Kl(e,l),e=qo(2),a=Qt(t,e,2),a!==null&&(Yo(e,a,t,l),tu(a,2),ct(a));break}}t=t.return}}function rc(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new Lm;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(e)||(ef=!0,u.add(e),l=km.bind(null,l,t,e),t.then(l,l))}function km(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,J===l&&(C&e)===e&&(tl===4||tl===3&&(C&62914560)===C&&300>at()-uf?!(V&2)&&ta(l,0):af|=e,Pe===C&&(Pe=0)),ct(l)}function xd(l,t){t===0&&(t=h0()),l=ca(l,t),l!==null&&(tu(l,t),ct(l))}function Wm(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),xd(l,e)}function Fm(l,t){var e=0;switch(l.tag){case 13:var a=l.stateNode,u=l.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(S(314))}a!==null&&a.delete(t),xd(l,e)}function Im(l,t){return Ai(l,t)}var dn=null,Ne=null,ui=!1,rn=!1,mc=!1,fe=0;function ct(l){l!==Ne&&l.next===null&&(Ne===null?dn=Ne=l:Ne=Ne.next=l),rn=!0,ui||(ui=!0,lh())}function du(l,t){if(!mc&&rn){mc=!0;do for(var e=!1,a=dn;a!==null;){if(!t)if(l!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var c=a.suspendedLanes,i=a.pingedLanes;n=(1<<31-Yl(42|l)+1)-1,n&=u&~(c&~i),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,Es(a,n))}else n=C,n=Tn(a,a===J?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),!(n&3)||lu(a,n)||(e=!0,Es(a,n));a=a.next}while(e);mc=!1}}function Pm(){pd()}function pd(){rn=ui=!1;var l=0;fe!==0&&(fh()&&(l=fe),fe=0);for(var t=at(),e=null,a=dn;a!==null;){var u=a.next,n=Ad(a,t);n===0?(a.next=null,e===null?dn=u:e.next=u,u===null&&(Ne=e)):(e=a,(l!==0||n&3)&&(rn=!0)),a=u}du(l,!1)}function Ad(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var c=31-Yl(n),i=1<<c,f=u[c];f===-1?(!(i&e)||i&a)&&(u[c]=Nr(i,t)):f<=t&&(l.expiredLanes|=i),n&=~i}if(t=J,e=C,e=Tn(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(Z===2||Z===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Gn(a),l.callbackNode=null,l.callbackPriority=0;if(!(e&3)||lu(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&Gn(a),Ei(e)){case 2:case 8:e=d0;break;case 32:e=Ku;break;case 268435456:e=r0;break;default:e=Ku}return a=Td.bind(null,l),e=Ai(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&Gn(a),l.callbackPriority=2,l.callbackNode=null,2}function Td(l,t){if(bl!==0&&bl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Bn()&&l.callbackNode!==e)return null;var a=C;return a=Tn(l,l===J?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(sd(l,a,t),Ad(l,at()),l.callbackNode!=null&&l.callbackNode===e?Td.bind(null,l):null)}function Es(l,t){if(Bn())return null;sd(l,t,!0)}function lh(){oh(function(){V&6?Ai(o0,Pm):pd()})}function cf(){return fe===0&&(fe=m0()),fe}function Ns(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:_u(""+l)}function zs(l,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,l.id&&e.setAttribute("form",l.id),t.parentNode.insertBefore(e,t),l=new FormData(l),e.parentNode.removeChild(e),l}function th(l,t,e,a,u){if(t==="submit"&&e&&e.stateNode===u){var n=Ns((u[jl]||null).action),c=a.submitter;c&&(t=(t=c[jl]||null)?Ns(t.formAction):c.getAttribute("formAction"),t!==null&&(n=t,c=null));var i=new En("action","action",null,a,u);l.push({event:i,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(fe!==0){var f=c?zs(u,c):new FormData(u);Jc(e,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(i.preventDefault(),f=c?zs(u,c):new FormData(u),Jc(e,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var hc=0;hc<Bc.length;hc++){var yc=Bc[hc],eh=yc.toLowerCase(),ah=yc[0].toUpperCase()+yc.slice(1);Il(eh,"on"+ah)}Il(Y0,"onAnimationEnd");Il(C0,"onAnimationIteration");Il(G0,"onAnimationStart");Il("dblclick","onDoubleClick");Il("focusin","onFocus");Il("focusout","onBlur");Il(xm,"onTransitionRun");Il(pm,"onTransitionStart");Il(Am,"onTransitionCancel");Il(X0,"onTransitionEnd");Je("onMouseEnter",["mouseout","mouseover"]);Je("onMouseLeave",["mouseout","mouseover"]);Je("onPointerEnter",["pointerout","pointerover"]);Je("onPointerLeave",["pointerout","pointerover"]);me("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));me("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));me("onBeforeInput",["compositionend","keypress","textInput","paste"]);me("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));me("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));me("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wa="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),uh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wa));function Ed(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],u=a.event;a=a.listeners;l:{var n=void 0;if(t)for(var c=a.length-1;0<=c;c--){var i=a[c],f=i.instance,d=i.currentTarget;if(i=i.listener,f!==n&&u.isPropagationStopped())break l;n=i,u.currentTarget=d;try{n(u)}catch(g){un(g)}u.currentTarget=null,n=f}else for(c=0;c<a.length;c++){if(i=a[c],f=i.instance,d=i.currentTarget,i=i.listener,f!==n&&u.isPropagationStopped())break l;n=i,u.currentTarget=d;try{n(u)}catch(g){un(g)}u.currentTarget=null,n=f}}}}function q(l,t){var e=t[Dc];e===void 0&&(e=t[Dc]=new Set);var a=l+"__bubble";e.has(a)||(Nd(t,l,2,!1),e.add(a))}function vc(l,t,e){var a=0;t&&(a|=4),Nd(e,l,a,t)}var zu="_reactListening"+Math.random().toString(36).slice(2);function ff(l){if(!l[zu]){l[zu]=!0,b0.forEach(function(e){e!=="selectionchange"&&(uh.has(e)||vc(e,!1,l),vc(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[zu]||(t[zu]=!0,vc("selectionchange",!1,t))}}function Nd(l,t,e,a){switch(Yd(t)){case 2:var u=_h;break;case 8:u=Uh;break;default:u=rf}e=u.bind(null,t,e,l),u=void 0,!Uc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?l.addEventListener(t,e,{capture:!0,passive:u}):l.addEventListener(t,e,!0):u!==void 0?l.addEventListener(t,e,{passive:u}):l.addEventListener(t,e,!1)}function gc(l,t,e,a,u){var n=a;if(!(t&1)&&!(t&2)&&a!==null)l:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var i=a.stateNode.containerInfo;if(i===u)break;if(c===4)for(c=a.return;c!==null;){var f=c.tag;if((f===3||f===4)&&c.stateNode.containerInfo===u)return;c=c.return}for(;i!==null;){if(c=De(i),c===null)return;if(f=c.tag,f===5||f===6||f===26||f===27){a=n=c;continue l}i=i.parentNode}}a=a.return}z0(function(){var d=n,g=Oi(e),v=[];l:{var h=Q0.get(l);if(h!==void 0){var m=En,x=l;switch(l){case"keypress":if(Ru(e)===0)break l;case"keydown":case"keyup":m=Ir;break;case"focusin":x="focus",m=Jn;break;case"focusout":x="blur",m=Jn;break;case"beforeblur":case"afterblur":m=Jn;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=Rf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=Xr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=tm;break;case Y0:case C0:case G0:m=Vr;break;case X0:m=am;break;case"scroll":case"scrollend":m=Cr;break;case"wheel":m=nm;break;case"copy":case"cut":case"paste":m=wr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Bf;break;case"toggle":case"beforetoggle":m=im}var p=(t&4)!==0,D=!p&&(l==="scroll"||l==="scrollend"),r=p?h!==null?h+"Capture":null:h;p=[];for(var s=d,y;s!==null;){var b=s;if(y=b.stateNode,b=b.tag,b!==5&&b!==26&&b!==27||y===null||r===null||(b=Ga(s,r),b!=null&&p.push(Ka(s,b,y))),D)break;s=s.return}0<p.length&&(h=new m(h,x,null,e,g),v.push({event:h,listeners:p}))}}if(!(t&7)){l:{if(h=l==="mouseover"||l==="pointerover",m=l==="mouseout"||l==="pointerout",h&&e!==_c&&(x=e.relatedTarget||e.fromElement)&&(De(x)||x[ua]))break l;if((m||h)&&(h=g.window===g?g:(h=g.ownerDocument)?h.defaultView||h.parentWindow:window,m?(x=e.relatedTarget||e.toElement,m=d,x=x?De(x):null,x!==null&&(D=Ia(x),p=x.tag,x!==D||p!==5&&p!==27&&p!==6)&&(x=null)):(m=null,x=d),m!==x)){if(p=Rf,b="onMouseLeave",r="onMouseEnter",s="mouse",(l==="pointerout"||l==="pointerover")&&(p=Bf,b="onPointerLeave",r="onPointerEnter",s="pointer"),D=m==null?h:pa(m),y=x==null?h:pa(x),h=new p(b,s+"leave",m,e,g),h.target=D,h.relatedTarget=y,b=null,De(g)===d&&(p=new p(r,s+"enter",x,e,g),p.target=y,p.relatedTarget=D,b=p),D=b,m&&x)t:{for(p=m,r=x,s=0,y=p;y;y=pe(y))s++;for(y=0,b=r;b;b=pe(b))y++;for(;0<s-y;)p=pe(p),s--;for(;0<y-s;)r=pe(r),y--;for(;s--;){if(p===r||r!==null&&p===r.alternate)break t;p=pe(p),r=pe(r)}p=null}else p=null;m!==null&&Os(v,h,m,p,!1),x!==null&&D!==null&&Os(v,D,x,p,!0)}}l:{if(h=d?pa(d):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var T=Gf;else if(Cf(h))if(U0)T=gm;else{T=ym;var z=hm}else m=h.nodeName,!m||m.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?d&&zi(d.elementType)&&(T=Gf):T=vm;if(T&&(T=T(l,d))){_0(v,T,e,g);break l}z&&z(l,h,d),l==="focusout"&&d&&h.type==="number"&&d.memoizedProps.value!=null&&Mc(h,"number",h.value)}switch(z=d?pa(d):window,l){case"focusin":(Cf(z)||z.contentEditable==="true")&&(_e=z,Rc=d,za=null);break;case"focusout":za=Rc=_e=null;break;case"mousedown":Hc=!0;break;case"contextmenu":case"mouseup":case"dragend":Hc=!1,Lf(v,e,g);break;case"selectionchange":if(Sm)break;case"keydown":case"keyup":Lf(v,e,g)}var E;if(Mi)l:{switch(l){case"compositionstart":var A="onCompositionStart";break l;case"compositionend":A="onCompositionEnd";break l;case"compositionupdate":A="onCompositionUpdate";break l}A=void 0}else Me?j0(l,e)&&(A="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(A="onCompositionStart");A&&(D0&&e.locale!=="ko"&&(Me||A!=="onCompositionStart"?A==="onCompositionEnd"&&Me&&(E=O0()):(qt=g,Di="value"in qt?qt.value:qt.textContent,Me=!0)),z=mn(d,A),0<z.length&&(A=new Hf(A,l,null,e,g),v.push({event:A,listeners:z}),E?A.data=E:(E=M0(e),E!==null&&(A.data=E)))),(E=sm?om(l,e):dm(l,e))&&(A=mn(d,"onBeforeInput"),0<A.length&&(z=new Hf("onBeforeInput","beforeinput",null,e,g),v.push({event:z,listeners:A}),z.data=E)),th(v,l,d,e,g)}Ed(v,t)})}function Ka(l,t,e){return{instance:l,listener:t,currentTarget:e}}function mn(l,t){for(var e=t+"Capture",a=[];l!==null;){var u=l,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=Ga(l,e),u!=null&&a.unshift(Ka(l,u,n)),u=Ga(l,t),u!=null&&a.push(Ka(l,u,n))),l.tag===3)return a;l=l.return}return[]}function pe(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Os(l,t,e,a,u){for(var n=t._reactName,c=[];e!==null&&e!==a;){var i=e,f=i.alternate,d=i.stateNode;if(i=i.tag,f!==null&&f===a)break;i!==5&&i!==26&&i!==27||d===null||(f=d,u?(d=Ga(e,n),d!=null&&c.unshift(Ka(e,d,f))):u||(d=Ga(e,n),d!=null&&c.push(Ka(e,d,f)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}var nh=/\r\n?/g,ch=/\u0000|\uFFFD/g;function Ds(l){return(typeof l=="string"?l:""+l).replace(nh,`
`).replace(ch,"")}function zd(l,t){return t=Ds(t),Ds(l)===t}function qn(){}function L(l,t,e,a,u,n){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||$e(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&$e(l,""+a);break;case"className":Su(l,"class",a);break;case"tabIndex":Su(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Su(l,e,a);break;case"style":N0(l,a,n);break;case"data":if(t!=="object"){Su(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=_u(""+a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof n=="function"&&(e==="formAction"?(t!=="input"&&L(l,t,"name",u.name,u,null),L(l,t,"formEncType",u.formEncType,u,null),L(l,t,"formMethod",u.formMethod,u,null),L(l,t,"formTarget",u.formTarget,u,null)):(L(l,t,"encType",u.encType,u,null),L(l,t,"method",u.method,u,null),L(l,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=_u(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=qn);break;case"onScroll":a!=null&&q("scroll",l);break;case"onScrollEnd":a!=null&&q("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(S(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(S(60));l.innerHTML=e}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}e=_u(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""+a):l.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":q("beforetoggle",l),q("toggle",l),Mu(l,"popover",a);break;case"xlinkActuate":ot(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ot(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ot(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ot(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ot(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ot(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ot(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ot(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ot(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Mu(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=qr.get(e)||e,Mu(l,e,a))}}function ni(l,t,e,a,u,n){switch(e){case"style":N0(l,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(S(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(S(60));l.innerHTML=e}}break;case"children":typeof a=="string"?$e(l,a):(typeof a=="number"||typeof a=="bigint")&&$e(l,""+a);break;case"onScroll":a!=null&&q("scroll",l);break;case"onScrollEnd":a!=null&&q("scrollend",l);break;case"onClick":a!=null&&(l.onclick=qn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!S0.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(u=e.endsWith("Capture"),t=e.slice(2,u?e.length-7:void 0),n=l[jl]||null,n=n!=null?n[e]:null,typeof n=="function"&&l.removeEventListener(t,n,u),typeof a=="function")){typeof n!="function"&&n!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,u);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):Mu(l,e,a)}}}function Sl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":q("error",l),q("load",l);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var c=e[n];if(c!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,t));default:L(l,t,n,c,e,null)}}u&&L(l,t,"srcSet",e.srcSet,e,null),a&&L(l,t,"src",e.src,e,null);return;case"input":q("invalid",l);var i=n=c=u=null,f=null,d=null;for(a in e)if(e.hasOwnProperty(a)){var g=e[a];if(g!=null)switch(a){case"name":u=g;break;case"type":c=g;break;case"checked":f=g;break;case"defaultChecked":d=g;break;case"value":n=g;break;case"defaultValue":i=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(S(137,t));break;default:L(l,t,a,g,e,null)}}A0(l,n,i,f,d,c,u,!1),Ju(l);return;case"select":q("invalid",l),a=c=n=null;for(u in e)if(e.hasOwnProperty(u)&&(i=e[u],i!=null))switch(u){case"value":n=i;break;case"defaultValue":c=i;break;case"multiple":a=i;default:L(l,t,u,i,e,null)}t=n,e=c,l.multiple=!!a,t!=null?Ge(l,!!a,t,!1):e!=null&&Ge(l,!!a,e,!0);return;case"textarea":q("invalid",l),n=u=a=null;for(c in e)if(e.hasOwnProperty(c)&&(i=e[c],i!=null))switch(c){case"value":a=i;break;case"defaultValue":u=i;break;case"children":n=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(S(91));break;default:L(l,t,c,i,e,null)}E0(l,a,u,n),Ju(l);return;case"option":for(f in e)if(e.hasOwnProperty(f)&&(a=e[f],a!=null))switch(f){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:L(l,t,f,a,e,null)}return;case"dialog":q("beforetoggle",l),q("toggle",l),q("cancel",l),q("close",l);break;case"iframe":case"object":q("load",l);break;case"video":case"audio":for(a=0;a<wa.length;a++)q(wa[a],l);break;case"image":q("error",l),q("load",l);break;case"details":q("toggle",l);break;case"embed":case"source":case"link":q("error",l),q("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(d in e)if(e.hasOwnProperty(d)&&(a=e[d],a!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,t));default:L(l,t,d,a,e,null)}return;default:if(zi(t)){for(g in e)e.hasOwnProperty(g)&&(a=e[g],a!==void 0&&ni(l,t,g,a,e,void 0));return}}for(i in e)e.hasOwnProperty(i)&&(a=e[i],a!=null&&L(l,t,i,a,e,null))}function ih(l,t,e,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,c=null,i=null,f=null,d=null,g=null;for(m in e){var v=e[m];if(e.hasOwnProperty(m)&&v!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":f=v;default:a.hasOwnProperty(m)||L(l,t,m,null,a,v)}}for(var h in a){var m=a[h];if(v=e[h],a.hasOwnProperty(h)&&(m!=null||v!=null))switch(h){case"type":n=m;break;case"name":u=m;break;case"checked":d=m;break;case"defaultChecked":g=m;break;case"value":c=m;break;case"defaultValue":i=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(S(137,t));break;default:m!==v&&L(l,t,h,m,a,v)}}jc(l,c,i,f,d,g,n,u);return;case"select":m=c=i=h=null;for(n in e)if(f=e[n],e.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":m=f;default:a.hasOwnProperty(n)||L(l,t,n,null,a,f)}for(u in a)if(n=a[u],f=e[u],a.hasOwnProperty(u)&&(n!=null||f!=null))switch(u){case"value":h=n;break;case"defaultValue":i=n;break;case"multiple":c=n;default:n!==f&&L(l,t,u,n,a,f)}t=i,e=c,a=m,h!=null?Ge(l,!!e,h,!1):!!a!=!!e&&(t!=null?Ge(l,!!e,t,!0):Ge(l,!!e,e?[]:"",!1));return;case"textarea":m=h=null;for(i in e)if(u=e[i],e.hasOwnProperty(i)&&u!=null&&!a.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:L(l,t,i,null,a,u)}for(c in a)if(u=a[c],n=e[c],a.hasOwnProperty(c)&&(u!=null||n!=null))switch(c){case"value":h=u;break;case"defaultValue":m=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(S(91));break;default:u!==n&&L(l,t,c,u,a,n)}T0(l,h,m);return;case"option":for(var x in e)if(h=e[x],e.hasOwnProperty(x)&&h!=null&&!a.hasOwnProperty(x))switch(x){case"selected":l.selected=!1;break;default:L(l,t,x,null,a,h)}for(f in a)if(h=a[f],m=e[f],a.hasOwnProperty(f)&&h!==m&&(h!=null||m!=null))switch(f){case"selected":l.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:L(l,t,f,h,a,m)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var p in e)h=e[p],e.hasOwnProperty(p)&&h!=null&&!a.hasOwnProperty(p)&&L(l,t,p,null,a,h);for(d in a)if(h=a[d],m=e[d],a.hasOwnProperty(d)&&h!==m&&(h!=null||m!=null))switch(d){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(S(137,t));break;default:L(l,t,d,h,a,m)}return;default:if(zi(t)){for(var D in e)h=e[D],e.hasOwnProperty(D)&&h!==void 0&&!a.hasOwnProperty(D)&&ni(l,t,D,void 0,a,h);for(g in a)h=a[g],m=e[g],!a.hasOwnProperty(g)||h===m||h===void 0&&m===void 0||ni(l,t,g,h,a,m);return}}for(var r in e)h=e[r],e.hasOwnProperty(r)&&h!=null&&!a.hasOwnProperty(r)&&L(l,t,r,null,a,h);for(v in a)h=a[v],m=e[v],!a.hasOwnProperty(v)||h===m||h==null&&m==null||L(l,t,v,h,a,m)}var ci=null,ii=null;function hn(l){return l.nodeType===9?l:l.ownerDocument}function js(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Od(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function fi(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var bc=null;function fh(){var l=window.event;return l&&l.type==="popstate"?l===bc?!1:(bc=l,!0):(bc=null,!1)}var Dd=typeof setTimeout=="function"?setTimeout:void 0,sh=typeof clearTimeout=="function"?clearTimeout:void 0,Ms=typeof Promise=="function"?Promise:void 0,oh=typeof queueMicrotask=="function"?queueMicrotask:typeof Ms<"u"?function(l){return Ms.resolve(null).then(l).catch(dh)}:Dd;function dh(l){setTimeout(function(){throw l})}function Ft(l){return l==="head"}function _s(l,t){var e=t,a=0,u=0;do{var n=e.nextSibling;if(l.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"){if(0<a&&8>a){e=a;var c=l.ownerDocument;if(e&1&&Ya(c.documentElement),e&2&&Ya(c.body),e&4)for(e=c.head,Ya(e),c=e.firstChild;c;){var i=c.nextSibling,f=c.nodeName;c[eu]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&c.rel.toLowerCase()==="stylesheet"||e.removeChild(c),c=i}}if(u===0){l.removeChild(n),Fa(t);return}u--}else e==="$"||e==="$?"||e==="$!"?u++:a=e.charCodeAt(0)-48;else a=0;e=n}while(e);Fa(t)}function si(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":si(e),Ni(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function rh(l,t,e,a){for(;l.nodeType===1;){var u=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[eu])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(n=l.getAttribute("rel"),n==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(n!==u.rel||l.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||l.getAttribute("title")!==(u.title==null?null:u.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(n=l.getAttribute("src"),(n!==(u.src==null?null:u.src)||l.getAttribute("type")!==(u.type==null?null:u.type)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&l.getAttribute("name")===n)return l}else return l;if(l=Fl(l.nextSibling),l===null)break}return null}function mh(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=Fl(l.nextSibling),l===null))return null;return l}function oi(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState==="complete"}function hh(l,t){var e=l.ownerDocument;if(l.data!=="$?"||e.readyState==="complete")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function Fl(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return l}var di=null;function Us(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"){if(t===0)return l;t--}else e==="/$"&&t++}l=l.previousSibling}return null}function jd(l,t,e){switch(t=hn(e),l){case"html":if(l=t.documentElement,!l)throw Error(S(452));return l;case"head":if(l=t.head,!l)throw Error(S(453));return l;case"body":if(l=t.body,!l)throw Error(S(454));return l;default:throw Error(S(451))}}function Ya(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);Ni(l)}var kl=new Map,Rs=new Set;function yn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Nt=Q.d;Q.d={f:yh,r:vh,D:gh,C:bh,L:Sh,m:xh,X:Ah,S:ph,M:Th};function yh(){var l=Nt.f(),t=Rn();return l||t}function vh(l){var t=na(l);t!==null&&t.tag===5&&t.type==="form"?Ao(t):Nt.r(l)}var fa=typeof document>"u"?null:document;function Md(l,t,e){var a=fa;if(a&&typeof t=="string"&&t){var u=wl(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),Rs.has(u)||(Rs.add(u),l={rel:l,crossOrigin:e,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),Sl(t,"link",l),ml(t),a.head.appendChild(t)))}}function gh(l){Nt.D(l),Md("dns-prefetch",l,null)}function bh(l,t){Nt.C(l,t),Md("preconnect",l,t)}function Sh(l,t,e){Nt.L(l,t,e);var a=fa;if(a&&l&&t){var u='link[rel="preload"][as="'+wl(t)+'"]';t==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+wl(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+wl(e.imageSizes)+'"]')):u+='[href="'+wl(l)+'"]';var n=u;switch(t){case"style":n=ea(l);break;case"script":n=sa(l)}kl.has(n)||(l=$({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),kl.set(n,l),a.querySelector(u)!==null||t==="style"&&a.querySelector(ru(n))||t==="script"&&a.querySelector(mu(n))||(t=a.createElement("link"),Sl(t,"link",l),ml(t),a.head.appendChild(t)))}}function xh(l,t){Nt.m(l,t);var e=fa;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+wl(a)+'"][href="'+wl(l)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=sa(l)}if(!kl.has(n)&&(l=$({rel:"modulepreload",href:l},t),kl.set(n,l),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(mu(n)))return}a=e.createElement("link"),Sl(a,"link",l),ml(a),e.head.appendChild(a)}}}function ph(l,t,e){Nt.S(l,t,e);var a=fa;if(a&&l){var u=Ce(a).hoistableStyles,n=ea(l);t=t||"default";var c=u.get(n);if(!c){var i={loading:0,preload:null};if(c=a.querySelector(ru(n)))i.loading=5;else{l=$({rel:"stylesheet",href:l,"data-precedence":t},e),(e=kl.get(n))&&sf(l,e);var f=c=a.createElement("link");ml(f),Sl(f,"link",l),f._p=new Promise(function(d,g){f.onload=d,f.onerror=g}),f.addEventListener("load",function(){i.loading|=1}),f.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Xu(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:i},u.set(n,c)}}}function Ah(l,t){Nt.X(l,t);var e=fa;if(e&&l){var a=Ce(e).hoistableScripts,u=sa(l),n=a.get(u);n||(n=e.querySelector(mu(u)),n||(l=$({src:l,async:!0},t),(t=kl.get(u))&&of(l,t),n=e.createElement("script"),ml(n),Sl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Th(l,t){Nt.M(l,t);var e=fa;if(e&&l){var a=Ce(e).hoistableScripts,u=sa(l),n=a.get(u);n||(n=e.querySelector(mu(u)),n||(l=$({src:l,async:!0,type:"module"},t),(t=kl.get(u))&&of(l,t),n=e.createElement("script"),ml(n),Sl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Hs(l,t,e,a){var u=(u=Gt.current)?yn(u):null;if(!u)throw Error(S(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=ea(e.href),e=Ce(u).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=ea(e.href);var n=Ce(u).hoistableStyles,c=n.get(l);if(c||(u=u.ownerDocument||u,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,c),(n=u.querySelector(ru(l)))&&!n._p&&(c.instance=n,c.state.loading=5),kl.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},kl.set(l,e),n||Eh(u,l,e,c.state))),t&&a===null)throw Error(S(528,""));return c}if(t&&a!==null)throw Error(S(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=sa(e),e=Ce(u).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,l))}}function ea(l){return'href="'+wl(l)+'"'}function ru(l){return'link[rel="stylesheet"]['+l+"]"}function _d(l){return $({},l,{"data-precedence":l.precedence,precedence:null})}function Eh(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Sl(t,"link",e),ml(t),l.head.appendChild(t))}function sa(l){return'[src="'+wl(l)+'"]'}function mu(l){return"script[async]"+l}function Bs(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+wl(e.href)+'"]');if(a)return t.instance=a,ml(a),a;var u=$({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),ml(a),Sl(a,"style",u),Xu(a,e.precedence,l),t.instance=a;case"stylesheet":u=ea(e.href);var n=l.querySelector(ru(u));if(n)return t.state.loading|=4,t.instance=n,ml(n),n;a=_d(e),(u=kl.get(u))&&sf(a,u),n=(l.ownerDocument||l).createElement("link"),ml(n);var c=n;return c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Sl(n,"link",a),t.state.loading|=4,Xu(n,e.precedence,l),t.instance=n;case"script":return n=sa(e.src),(u=l.querySelector(mu(n)))?(t.instance=u,ml(u),u):(a=e,(u=kl.get(n))&&(a=$({},e),of(a,u)),l=l.ownerDocument||l,u=l.createElement("script"),ml(u),Sl(u,"link",a),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(S(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(a=t.instance,t.state.loading|=4,Xu(a,e.precedence,l));return t.instance}function Xu(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,c=0;c<a.length;c++){var i=a[c];if(i.dataset.precedence===t)n=i;else if(n!==u)break}n?n.parentNode.insertBefore(l,n.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}function sf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function of(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Qu=null;function qs(l,t,e){if(Qu===null){var a=new Map,u=Qu=new Map;u.set(e,a)}else u=Qu,a=u.get(e),a||(a=new Map,u.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),u=0;u<e.length;u++){var n=e[u];if(!(n[eu]||n[pl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var c=n.getAttribute(t)||"";c=l+c;var i=a.get(c);i?i.push(n):a.set(c,[n])}}return a}function Ys(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function Nh(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Ud(l){return!(l.type==="stylesheet"&&!(l.state.loading&3))}var Ja=null;function zh(){}function Oh(l,t,e){if(Ja===null)throw Error(S(475));var a=Ja;if(t.type==="stylesheet"&&(typeof e.media!="string"||matchMedia(e.media).matches!==!1)&&!(t.state.loading&4)){if(t.instance===null){var u=ea(e.href),n=l.querySelector(ru(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(a.count++,a=vn.bind(a),l.then(a,a)),t.state.loading|=4,t.instance=n,ml(n);return}n=l.ownerDocument||l,e=_d(e),(u=kl.get(u))&&sf(e,u),n=n.createElement("link"),ml(n);var c=n;c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Sl(n,"link",e),t.instance=n}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,l),(l=t.state.preload)&&!(t.state.loading&3)&&(a.count++,t=vn.bind(a),l.addEventListener("load",t),l.addEventListener("error",t))}}function Dh(){if(Ja===null)throw Error(S(475));var l=Ja;return l.stylesheets&&l.count===0&&ri(l,l.stylesheets),0<l.count?function(t){var e=setTimeout(function(){if(l.stylesheets&&ri(l,l.stylesheets),l.unsuspend){var a=l.unsuspend;l.unsuspend=null,a()}},6e4);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(e)}}:null}function vn(){if(this.count--,this.count===0){if(this.stylesheets)ri(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var gn=null;function ri(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,gn=new Map,t.forEach(jh,l),gn=null,vn.call(l))}function jh(l,t){if(!(t.state.loading&4)){var e=gn.get(l);if(e)var a=e.get(null);else{e=new Map,gn.set(l,e);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var c=u[n];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}u=t.instance,c=u.getAttribute("data-precedence"),n=e.get(c)||a,n===a&&e.set(null,u),e.set(c,u),this.count++,a=vn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(u,l.firstChild)),t.state.loading|=4}}var $a={$$typeof:ht,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function Mh(l,t,e,a,u,n,c,i){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Xn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xn(0),this.hiddenUpdates=Xn(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.incompleteTransitions=new Map}function Rd(l,t,e,a,u,n,c,i,f,d,g,v){return l=new Mh(l,t,e,c,i,f,d,v),t=1,n===!0&&(t|=24),n=Bl(3,null,null,t),l.current=n,n.stateNode=l,t=Yi(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:t},Gi(n),l}function Hd(l){return l?(l=He,l):He}function Bd(l,t,e,a,u,n){u=Hd(u),a.context===null?a.context=u:a.pendingContext=u,a=Xt(t),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=Qt(l,a,t),e!==null&&(Gl(e,l,t),ja(e,l,t))}function Cs(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function df(l,t){Cs(l,t),(l=l.alternate)&&Cs(l,t)}function qd(l){if(l.tag===13){var t=ca(l,67108864);t!==null&&Gl(t,l,67108864),df(l,67108864)}}var bn=!0;function _h(l,t,e,a){var u=O.T;O.T=null;var n=Q.p;try{Q.p=2,rf(l,t,e,a)}finally{Q.p=n,O.T=u}}function Uh(l,t,e,a){var u=O.T;O.T=null;var n=Q.p;try{Q.p=8,rf(l,t,e,a)}finally{Q.p=n,O.T=u}}function rf(l,t,e,a){if(bn){var u=mi(a);if(u===null)gc(l,t,a,Sn,e),Gs(l,a);else if(Hh(u,l,t,e,a))a.stopPropagation();else if(Gs(l,a),t&4&&-1<Rh.indexOf(l)){for(;u!==null;){var n=na(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var c=Pt(n.pendingLanes);if(c!==0){var i=n;for(i.pendingLanes|=2,i.entangledLanes|=2;c;){var f=1<<31-Yl(c);i.entanglements[1]|=f,c&=~f}ct(n),!(V&6)&&(sn=at()+500,du(0,!1))}}break;case 13:i=ca(n,2),i!==null&&Gl(i,n,2),Rn(),df(n,2)}if(n=mi(a),n===null&&gc(l,t,a,Sn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else gc(l,t,a,null,e)}}function mi(l){return l=Oi(l),mf(l)}var Sn=null;function mf(l){if(Sn=null,l=De(l),l!==null){var t=Ia(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=c0(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return Sn=l,null}function Yd(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(br()){case o0:return 2;case d0:return 8;case Ku:case Sr:return 32;case r0:return 268435456;default:return 32}default:return 32}}var hi=!1,Lt=null,wt=null,Kt=null,ka=new Map,Wa=new Map,Ht=[],Rh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Gs(l,t){switch(l){case"focusin":case"focusout":Lt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Kt=null;break;case"pointerover":case"pointerout":ka.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wa.delete(t.pointerId)}}function ba(l,t,e,a,u,n){return l===null||l.nativeEvent!==n?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},t!==null&&(t=na(t),t!==null&&qd(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function Hh(l,t,e,a,u){switch(t){case"focusin":return Lt=ba(Lt,l,t,e,a,u),!0;case"dragenter":return wt=ba(wt,l,t,e,a,u),!0;case"mouseover":return Kt=ba(Kt,l,t,e,a,u),!0;case"pointerover":var n=u.pointerId;return ka.set(n,ba(ka.get(n)||null,l,t,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,Wa.set(n,ba(Wa.get(n)||null,l,t,e,a,u)),!0}return!1}function Cd(l){var t=De(l.target);if(t!==null){var e=Ia(t);if(e!==null){if(t=e.tag,t===13){if(t=c0(e),t!==null){l.blockedOn=t,Or(l.priority,function(){if(e.tag===13){var a=Cl();a=Ti(a);var u=ca(e,a);u!==null&&Gl(u,e,a),df(e,a)}});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Zu(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=mi(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);_c=a,e.target.dispatchEvent(a),_c=null}else return t=na(e),t!==null&&qd(t),l.blockedOn=e,!1;t.shift()}return!0}function Xs(l,t,e){Zu(l)&&e.delete(t)}function Bh(){hi=!1,Lt!==null&&Zu(Lt)&&(Lt=null),wt!==null&&Zu(wt)&&(wt=null),Kt!==null&&Zu(Kt)&&(Kt=null),ka.forEach(Xs),Wa.forEach(Xs)}function Ou(l,t){l.blockedOn===t&&(l.blockedOn=null,hi||(hi=!0,ol.unstable_scheduleCallback(ol.unstable_NormalPriority,Bh)))}var Du=null;function Qs(l){Du!==l&&(Du=l,ol.unstable_scheduleCallback(ol.unstable_NormalPriority,function(){Du===l&&(Du=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],u=l[t+2];if(typeof a!="function"){if(mf(a||e)===null)continue;break}var n=na(e);n!==null&&(l.splice(t,3),t-=3,Jc(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Fa(l){function t(f){return Ou(f,l)}Lt!==null&&Ou(Lt,l),wt!==null&&Ou(wt,l),Kt!==null&&Ou(Kt,l),ka.forEach(t),Wa.forEach(t);for(var e=0;e<Ht.length;e++){var a=Ht[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Ht.length&&(e=Ht[0],e.blockedOn===null);)Cd(e),e.blockedOn===null&&Ht.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var u=e[a],n=e[a+1],c=u[jl]||null;if(typeof n=="function")c||Qs(e);else if(c){var i=null;if(n&&n.hasAttribute("formAction")){if(u=n,c=n[jl]||null)i=c.formAction;else if(mf(u)!==null)continue}else i=c.action;typeof i=="function"?e[a+1]=i:(e.splice(a,3),a-=3),Qs(e)}}}function hf(l){this._internalRoot=l}Yn.prototype.render=hf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(S(409));var e=t.current,a=Cl();Bd(e,a,l,t,null,null)};Yn.prototype.unmount=hf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;Bd(l.current,2,null,l,null,null),Rn(),t[ua]=null}};function Yn(l){this._internalRoot=l}Yn.prototype.unstable_scheduleHydration=function(l){if(l){var t=g0();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Ht.length&&t!==0&&t<Ht[e].priority;e++);Ht.splice(e,0,l),e===0&&Cd(l)}};var Zs=u0.version;if(Zs!=="19.1.1")throw Error(S(527,Zs,"19.1.1"));Q.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(S(188)):(l=Object.keys(l).join(","),Error(S(268,l)));return l=dr(t),l=l!==null?i0(l):null,l=l===null?null:l.stateNode,l};var qh={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ju.isDisabled&&ju.supportsFiber)try{Pa=ju.inject(qh),ql=ju}catch{}}pn.createRoot=function(l,t){if(!n0(l))throw Error(S(299));var e=!1,a="",u=Ro,n=Ho,c=Bo,i=null;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(i=t.unstable_transitionCallbacks)),t=Rd(l,1,!1,null,null,e,a,u,n,c,i,null),l[ua]=t.current,ff(l),new hf(t)};pn.hydrateRoot=function(l,t,e){if(!n0(l))throw Error(S(299));var a=!1,u="",n=Ro,c=Ho,i=Bo,f=null,d=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(i=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(f=e.unstable_transitionCallbacks),e.formState!==void 0&&(d=e.formState)),t=Rd(l,1,!0,t,e??null,a,u,n,c,i,f,d),t.context=Hd(null),e=t.current,a=Cl(),a=Ti(a),u=Xt(a),u.callback=null,Qt(e,u,a),e=a,t.current.lanes=e,tu(t,e),ct(t),l[ua]=t.current,ff(l),new Yn(t)};pn.version="19.1.1";function Gd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gd)}catch(l){console.error(l)}}Gd(),Is.exports=pn;var Yh=Is.exports;const Ch=({isOpen:l,onClose:t,onSubmit:e,record:a,isLoading:u})=>{const[n,c]=M.useState({type:"A",name:"",content:"",ttl:1,proxied:!1}),[i,f]=M.useState({}),d=["A","AAAA","CNAME","MX","TXT","SRV","NS","PTR"],g=[{value:1,label:"自动"},{value:120,label:"2分钟"},{value:300,label:"5分钟"},{value:600,label:"10分钟"},{value:900,label:"15分钟"},{value:1800,label:"30分钟"},{value:3600,label:"1小时"},{value:7200,label:"2小时"},{value:18e3,label:"5小时"},{value:43200,label:"12小时"},{value:86400,label:"1天"}];M.useEffect(()=>{c(a?{type:a.type||"A",name:a.name||"",content:a.content||"",ttl:a.ttl||1,proxied:a.proxied||!1}:{type:"A",name:"",content:"",ttl:1,proxied:!1}),f({})},[a,l]);const v=x=>{const{name:p,value:D,type:r,checked:s}=x.target;c(y=>({...y,[p]:r==="checkbox"?s:D})),i[p]&&f(y=>({...y,[p]:""}))},h=()=>{const x={};if(n.name.trim()||(x.name="名称不能为空"),n.content.trim()||(x.content="内容不能为空"),n.type==="A"){const p=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;n.content&&!p.test(n.content)&&(x.content="请输入有效的IPv4地址")}else if(n.type==="AAAA"){const p=/^(?:[0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$/;n.content&&!p.test(n.content)&&(x.content="请输入有效的IPv6地址")}return f(x),Object.keys(x).length===0},m=x=>{x.preventDefault(),h()&&e(n)};return l?o.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",children:o.jsxs("div",{className:"bg-white rounded-lg shadow-xl max-w-md w-full mx-4 max-h-[90vh] overflow-y-auto",children:[o.jsx("div",{className:"px-6 py-4 border-b border-gray-200",children:o.jsx("h3",{className:"text-lg font-medium text-gray-900",children:a?"修改DNS记录":"添加DNS记录"})}),o.jsxs("form",{onSubmit:m,className:"px-6 py-4 space-y-4",children:[o.jsxs("div",{children:[o.jsx("label",{htmlFor:"type",className:"block text-sm font-medium text-gray-700 mb-1",children:"记录类型"}),o.jsx("select",{id:"type",name:"type",value:n.type,onChange:v,className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500",disabled:u,children:d.map(x=>o.jsx("option",{value:x,children:x},x))})]}),o.jsxs("div",{children:[o.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-1",children:"名称"}),o.jsx("input",{type:"text",id:"name",name:"name",value:n.name,onChange:v,className:`block w-full px-3 py-2 border rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 ${i.name?"border-red-300":"border-gray-300"}`,placeholder:"例如: www 或 @ (根域名)",disabled:u}),i.name&&o.jsx("p",{className:"mt-1 text-sm text-red-600",children:i.name})]}),o.jsxs("div",{children:[o.jsx("label",{htmlFor:"content",className:"block text-sm font-medium text-gray-700 mb-1",children:"内容"}),o.jsx("input",{type:"text",id:"content",name:"content",value:n.content,onChange:v,className:`block w-full px-3 py-2 border rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 ${i.content?"border-red-300":"border-gray-300"}`,placeholder:n.type==="A"?"例如: 192.168.1.1":"记录内容",disabled:u}),i.content&&o.jsx("p",{className:"mt-1 text-sm text-red-600",children:i.content})]}),o.jsxs("div",{children:[o.jsx("label",{htmlFor:"ttl",className:"block text-sm font-medium text-gray-700 mb-1",children:"TTL (生存时间)"}),o.jsx("select",{id:"ttl",name:"ttl",value:n.ttl,onChange:v,className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500",disabled:u,children:g.map(x=>o.jsx("option",{value:x.value,children:x.label},x.value))})]}),o.jsxs("div",{className:"flex items-center",children:[o.jsx("input",{type:"checkbox",id:"proxied",name:"proxied",checked:n.proxied,onChange:v,className:"h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded",disabled:u}),o.jsx("label",{htmlFor:"proxied",className:"ml-2 block text-sm text-gray-900",children:"启用Cloudflare代理 (橙色云朵)"})]}),o.jsxs("div",{className:"flex justify-end space-x-3 pt-4",children:[o.jsx("button",{type:"button",onClick:t,className:"px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",disabled:u,children:"取消"}),o.jsx("button",{type:"submit",className:"px-4 py-2 text-sm font-medium text-white bg-blue-600 border border-transparent rounded-md shadow-sm hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-50",disabled:u,children:u?"处理中...":a?"更新":"添加"})]})]})]})}):null},Xd=M.createContext(),yf=()=>{const l=M.useContext(Xd);if(!l)throw new Error("useAuth must be used within an AuthProvider");return l},Gh=({children:l})=>{const[t,e]=M.useState(null),[a,u]=M.useState(null),[n,c]=M.useState(!0);M.useEffect(()=>{const m=localStorage.getItem("token"),x=localStorage.getItem("user");if(m&&x)try{const p=JSON.parse(x);u(m),e(p),i(m)}catch(p){console.error("Error parsing stored user data:",p),d()}c(!1)},[]);const i=async m=>{try{(await fetch("/api/auth/verify",{headers:{Authorization:`Bearer ${m}`}})).ok||d()}catch(x){console.error("Token verification failed:",x),d()}},f=(m,x)=>{e(m),u(x),localStorage.setItem("token",x),localStorage.setItem("user",JSON.stringify(m))},d=()=>{e(null),u(null),localStorage.removeItem("token"),localStorage.removeItem("user")},h={user:t,token:a,loading:n,login:f,logout:d,isAuthenticated:()=>!!(t&&a),authenticatedFetch:async(m,x={})=>{const p={"Content-Type":"application/json",...x.headers};a&&(p.Authorization=`Bearer ${a}`);const D=await fetch(m,{...x,headers:p});if(D.status===401)throw d(),new Error("Authentication required");return D}};return o.jsx(Xd.Provider,{value:h,children:l})},vf=()=>{const l=window.location.protocol,t=window.location.host;return`${l}//${t}/api`},Sc=vf(),Xh=({onAccountChange:l})=>{const{authenticatedFetch:t}=yf(),[e,a]=M.useState([]),[u,n]=M.useState(!1),[c,i]=M.useState({id:"",name:"",token:""}),[f,d]=M.useState(!1),[g,v]=M.useState(""),[h,m]=M.useState(""),[x,p]=M.useState(!1),[D,r]=M.useState(null),s=async()=>{try{const G=await(await t(`${Sc}/accounts`)).json();G.success&&a(G.data)}catch(A){console.error("Error fetching accounts:",A),v("获取账号列表失败")}};M.useEffect(()=>{s()},[]);const y=async A=>{A.preventDefault(),d(!0),v(""),m("");try{(await(await t(`${Sc}/accounts`,{method:"POST",body:JSON.stringify(c)})).json()).success&&(v(""),m("账号添加成功！"),i({id:"",name:"",token:""}),n(!1),await s(),l&&l(),setTimeout(()=>{m("")},3e3))}catch{v("添加账号失败")}finally{d(!1)}},b=(A,G)=>{r({id:A,name:G}),p(!0)},T=()=>{p(!1),r(null)},z=async()=>{if(D)try{(await(await t(`${Sc}/accounts/${D.id}`,{method:"DELETE"})).json()).success&&(m("账号删除成功！"),await s(),l&&l())}catch{v("删除账号失败")}finally{p(!1),r(null)}},E=()=>{v(""),m("")};return o.jsxs("div",{className:"bg-white rounded-lg shadow",children:[o.jsx("div",{className:"px-6 py-4 border-b border-gray-200",children:o.jsxs("div",{className:"flex justify-between items-center",children:[o.jsx("h2",{className:"text-lg font-medium text-gray-900",children:"Cloudflare 账号管理"}),o.jsx("button",{onClick:()=>{n(!u),E()},className:`px-4 py-2 rounded-md font-medium ${u?"bg-gray-100 text-gray-700 hover:bg-gray-200":"bg-blue-600 text-white hover:bg-blue-700"} transition-colors`,children:u?"取消":"添加账号"})]})}),g&&o.jsx("div",{className:"px-6 py-4",children:o.jsx("div",{className:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded",children:g})}),h&&o.jsx("div",{className:"px-6 py-4",children:o.jsx("div",{className:"bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded",children:h})}),u&&o.jsxs("div",{className:"px-6 py-4 border-b border-gray-200",children:[o.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-4",children:"添加新账号"}),o.jsxs("form",{onSubmit:y,className:"space-y-4",children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"账号ID *"}),o.jsx("input",{type:"text",value:c.id,onChange:A=>i({...c,id:A.target.value}),className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500",placeholder:"例如: main-account",required:!0}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"用于内部识别的唯一标识符"})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"账号名称 *"}),o.jsx("input",{type:"text",value:c.name,onChange:A=>i({...c,name:A.target.value}),className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500",placeholder:"例如: 主账号",required:!0})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"API Token *"}),o.jsx("textarea",{value:c.token,onChange:A=>i({...c,token:A.target.value}),className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500",placeholder:"粘贴您的 Cloudflare API Token",rows:3,required:!0}),o.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"在 Cloudflare Dashboard → My Profile → API Tokens 中获取"})]}),o.jsxs("div",{className:"flex space-x-3",children:[o.jsx("button",{type:"submit",disabled:f,className:"bg-blue-600 hover:bg-blue-700 disabled:bg-gray-400 text-white px-4 py-2 rounded-md font-medium transition-colors",children:f?"验证中...":"添加账号"}),o.jsx("button",{type:"button",onClick:()=>{n(!1),i({id:"",name:"",token:""}),E()},className:"bg-gray-100 hover:bg-gray-200 text-gray-700 px-4 py-2 rounded-md font-medium transition-colors",children:"取消"})]})]})]}),o.jsxs("div",{className:"px-6 py-4",children:[o.jsxs("h3",{className:"text-lg font-medium text-gray-900 mb-4",children:["已配置账号 (",e.length,")"]}),e.length===0?o.jsxs("div",{className:"text-center py-8 text-gray-500",children:[o.jsx("div",{className:"inline-block w-16 h-16 mb-4",children:o.jsx("svg",{className:"w-full h-full text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197m13.5-9a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"})})}),o.jsx("p",{className:"text-gray-500",children:"暂无配置的账号"}),o.jsx("p",{className:"text-sm mt-1 text-gray-400",children:'点击上方"添加账号"按钮开始配置'})]}):o.jsx("div",{className:"overflow-x-auto",children:o.jsxs("table",{className:"min-w-full divide-y divide-gray-200",children:[o.jsx("thead",{className:"bg-gray-50",children:o.jsxs("tr",{children:[o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"账号信息"}),o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"创建时间"}),o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"操作"})]})}),o.jsx("tbody",{className:"bg-white divide-y divide-gray-200",children:e.map(A=>o.jsxs("tr",{className:"hover:bg-gray-50",children:[o.jsx("td",{className:"px-6 py-4 whitespace-nowrap",children:o.jsxs("div",{children:[o.jsx("div",{className:"text-sm font-medium text-gray-900",children:A.name}),o.jsxs("div",{className:"text-sm text-gray-500",children:["ID: ",A.id]})]})}),o.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-900",children:new Date(A.createdAt).toLocaleString()}),o.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:o.jsx("button",{onClick:()=>b(A.id,A.name),className:"text-red-600 hover:text-red-900",children:"删除"})})]},A.id))})]})})]}),x&&o.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full z-50",children:o.jsx("div",{className:"relative top-20 mx-auto p-5 border w-96 shadow-lg rounded-md bg-white",children:o.jsxs("div",{className:"mt-3 text-center",children:[o.jsx("div",{className:"mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-red-100",children:o.jsx("svg",{className:"h-6 w-6 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.732-.833-2.5 0L4.268 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),o.jsx("h3",{className:"text-lg leading-6 font-medium text-gray-900 mt-4",children:"确认删除账号"}),o.jsxs("div",{className:"mt-2 px-7 py-3",children:[o.jsxs("p",{className:"text-sm text-gray-500",children:["您确定要删除账号 ",o.jsxs("span",{className:"font-medium text-gray-900",children:['"',D==null?void 0:D.name,'"']})," 吗？"]}),o.jsx("p",{className:"text-sm text-red-600 mt-2",children:"此操作不可撤销，删除后将无法恢复该账号的配置信息。"})]}),o.jsx("div",{className:"items-center px-4 py-3",children:o.jsxs("div",{className:"flex space-x-3",children:[o.jsx("button",{onClick:T,className:"px-4 py-2 bg-gray-100 text-gray-700 text-base font-medium rounded-md w-full shadow-sm hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-gray-300",children:"取消"}),o.jsx("button",{onClick:z,className:"px-4 py-2 bg-red-600 text-white text-base font-medium rounded-md w-full shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500",children:"确认删除"})]})})]})})})]})},Qh=vf(),Zh=({onLogin:l})=>{const[t,e]=M.useState({username:"",password:""}),[a,u]=M.useState(!1),[n,c]=M.useState(""),i=async d=>{d.preventDefault(),u(!0),c("");try{const g=await fetch(`${Qh}/auth/login`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),v=await g.json();g.ok?(localStorage.setItem("token",v.token),localStorage.setItem("user",JSON.stringify(v.user)),l(v.user,v.token)):c(v.error||"登录失败")}catch(g){console.error("Login error:",g),c("网络错误，请重试")}finally{u(!1)}},f=d=>{e({...t,[d.target.name]:d.target.value})};return o.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-50 via-white to-cyan-50 py-12 px-4 sm:px-6 lg:px-8",children:o.jsxs("div",{className:"max-w-md w-full space-y-8",children:[o.jsxs("div",{className:"text-center",children:[o.jsx("div",{className:"mx-auto h-16 w-16 bg-gradient-to-r from-blue-600 to-cyan-600 rounded-full flex items-center justify-center mb-4",children:o.jsx("svg",{className:"h-8 w-8 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),o.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-2",children:"Cloudflare DNS 管理系统"}),o.jsx("p",{className:"mt-2 text-center text-sm text-gray-600",children:"请登录以继续"})]}),o.jsx("div",{className:"bg-white py-8 px-6 shadow-xl rounded-2xl border border-gray-100",children:o.jsxs("form",{className:"space-y-6",onSubmit:i,children:[o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{children:[o.jsx("label",{htmlFor:"username",className:"block text-sm font-medium text-gray-700 mb-2",children:"用户名"}),o.jsxs("div",{className:"relative",children:[o.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:o.jsx("svg",{className:"h-5 w-5 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),o.jsx("input",{id:"username",name:"username",type:"text",required:!0,className:"block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200 ease-in-out",placeholder:"请输入用户名",value:t.username,onChange:f})]})]}),o.jsxs("div",{children:[o.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-2",children:"密码"}),o.jsxs("div",{className:"relative",children:[o.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:o.jsx("svg",{className:"h-5 w-5 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),o.jsx("input",{id:"password",name:"password",type:"password",required:!0,className:"block w-full pl-10 pr-3 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-200 ease-in-out",placeholder:"请输入密码",value:t.password,onChange:f})]})]})]}),n&&o.jsx("div",{className:"text-red-600 text-sm text-center bg-red-50 border border-red-200 rounded-lg p-3",children:n}),o.jsx("div",{children:o.jsx("button",{type:"submit",disabled:a,className:"w-full flex justify-center py-3 px-4 border border-transparent rounded-lg text-sm font-medium text-white bg-gradient-to-r from-blue-600 to-cyan-600 hover:from-blue-700 hover:to-cyan-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed transition duration-200 ease-in-out transform hover:scale-105",children:a?o.jsxs("div",{className:"flex items-center",children:[o.jsxs("svg",{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[o.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),o.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"登录中..."]}):"登录"})})]})})]})})};function Vh(){const[l,t]=M.useState([]),[e,a]=M.useState(null),[u,n]=M.useState([]),[c,i]=M.useState(null),[f,d]=M.useState([]),[g,v]=M.useState(!1),[h,m]=M.useState(""),[x,p]=M.useState(""),[D,r]=M.useState(!1),[s,y]=M.useState(null),[b,T]=M.useState(!1),[z,E]=M.useState("dns"),[A,G]=M.useState(!1),[j,xl]=M.useState(null),dl=vf(),{user:it,isAuthenticated:hu,authenticatedFetch:_l,logout:N}=yf();M.useEffect(()=>{(async()=>{if(hu())try{const vl=await(await _l(`${dl}/accounts`)).json(),st=vl.success?vl.data:[];t(st),st.length>0&&!e&&a(st[0])}catch(nl){console.error("获取账号列表失败:",nl),m("获取账号列表失败")}})()},[hu]),M.useEffect(()=>{if(!e){n([]);return}(async()=>{v(!0),m("");try{const vl=await(await _l(`${dl}/accounts/${e.id}/zones`)).json();n(vl.data||[])}catch(nl){m("获取域名列表失败: "+nl.message)}finally{v(!1)}})()},[e]),M.useEffect(()=>{if(!c){d([]);return}(async()=>{v(!0),m("");try{const vl=await(await _l(`${dl}/accounts/${e.id}/zones/${c.id}/dns_records`)).json();d(vl.data||[])}catch(nl){m("获取DNS记录失败: "+nl.message)}finally{v(!1)}})()},[c]);const H=U=>{const nl=U.target.value,vl=l.find(st=>st.id===nl);a(vl||null),i(null),d([])},_=U=>{const nl=U.target.value,vl=u.find(st=>st.id===nl);i(vl||null)},k=U=>{E(U),m(""),p(""),U==="dns"&&el()},el=async()=>{try{const nl=await(await _l(`${dl}/accounts`)).json(),vl=nl.success?nl.data:[];t(vl),e&&!vl.find(st=>st.id===e.id)&&a(vl.length>0?vl[0]:null)}catch(U){console.error("刷新账号列表失败:",U)}},ge=U=>{xl(U),G(!0)},be=()=>{G(!1),xl(null)},oa=async()=>{if(j){v(!0),m(""),p("");try{await _l(`${dl}/accounts/${e.id}/zones/${c.id}/dns_records/${j.id}`,{method:"DELETE"});const nl=await(await _l(`${dl}/accounts/${e.id}/zones/${c.id}/dns_records`)).json();d(nl.data||[]),p("DNS记录删除成功！"),setTimeout(()=>{p("")},3e3)}catch(U){m("删除DNS记录失败: "+U.message)}finally{v(!1),G(!1),xl(null)}}},ft=()=>{y(null),r(!0)},Se=U=>{y(U),r(!0)},gf=()=>{r(!1),y(null)},Qd=async U=>{T(!0),m(""),p("");try{s?(await _l(`${dl}/accounts/${e.id}/zones/${c.id}/dns_records/${s.id}`,{method:"PUT",body:JSON.stringify(U)}),p("DNS记录更新成功！")):(await _l(`${dl}/accounts/${e.id}/zones/${c.id}/dns_records`,{method:"POST",body:JSON.stringify(U)}),p("DNS记录添加成功！"));const vl=await(await _l(`${dl}/accounts/${e.id}/zones/${c.id}/dns_records`)).json();d(vl.data||[]),gf(),setTimeout(()=>{p("")},3e3)}catch(nl){m((s?"更新":"添加")+"DNS记录失败: "+nl.message)}finally{T(!1)}};return o.jsx("div",{className:"min-h-screen bg-gray-50 py-8",children:o.jsxs("div",{className:"max-w-6xl mx-auto px-4",children:[o.jsx("h1",{className:"text-3xl font-bold text-gray-900 mb-8",children:"Cloudflare DNS 管理"}),o.jsx("div",{className:"bg-white rounded-lg shadow mb-6",children:o.jsx("div",{className:"px-6 py-4",children:o.jsxs("div",{className:"flex justify-between items-center",children:[o.jsxs("div",{className:"flex items-center space-x-4",children:[o.jsxs("span",{className:"text-sm text-gray-600",children:["欢迎, ",it==null?void 0:it.username]}),o.jsx("span",{className:"text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded",children:it==null?void 0:it.role})]}),o.jsxs("div",{className:"flex space-x-4",children:[o.jsx("button",{onClick:()=>k("dns"),className:`px-4 py-2 rounded-md font-medium ${z==="dns"?"bg-blue-600 text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:"DNS 管理"}),o.jsx("button",{onClick:()=>k("accounts"),className:`px-4 py-2 rounded-md font-medium ${z==="accounts"?"bg-blue-600 text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:"账号管理"}),o.jsx("button",{onClick:N,className:"px-4 py-2 rounded-md font-medium bg-red-600 text-white hover:bg-red-700",children:"登出"})]})]})})}),h&&o.jsx("div",{className:"bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-6",children:h}),x&&o.jsx("div",{className:"bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded mb-6",children:x}),z==="accounts"&&o.jsx(Xh,{onAccountChange:el}),z==="dns"&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"bg-white rounded-lg shadow p-6 mb-6",children:[o.jsx("label",{htmlFor:"account-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"选择账号"}),o.jsxs("select",{id:"account-select",value:(e==null?void 0:e.id)||"",onChange:H,className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 mb-4",disabled:g,children:[o.jsx("option",{value:"",children:"请选择账号..."}),l.map(U=>o.jsxs("option",{value:U.id,children:[U.name," (",U.id,")"]},U.id))]}),e&&o.jsxs(o.Fragment,{children:[o.jsx("label",{htmlFor:"zone-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"选择域名"}),o.jsxs("select",{id:"zone-select",value:(c==null?void 0:c.id)||"",onChange:_,className:"block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500",disabled:g,children:[o.jsx("option",{value:"",children:"请选择域名..."}),u.map(U=>o.jsx("option",{value:U.id,children:U.name},U.id))]})]})]}),c&&o.jsxs("div",{className:"bg-white rounded-lg shadow",children:[o.jsx("div",{className:"px-6 py-4 border-b border-gray-200",children:o.jsxs("h2",{className:"text-lg font-medium text-gray-900",children:[c.name," 的DNS记录"]})}),g?o.jsxs("div",{className:"px-6 py-8 text-center",children:[o.jsx("div",{className:"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600"}),o.jsx("p",{className:"mt-2 text-gray-600",children:"加载中..."})]}):f.length===0?o.jsx("div",{className:"px-6 py-8 text-center text-gray-500",children:"暂无DNS记录"}):o.jsx("div",{className:"overflow-x-auto",children:o.jsxs("table",{className:"min-w-full divide-y divide-gray-200",children:[o.jsx("thead",{className:"bg-gray-50",children:o.jsxs("tr",{children:[o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"类型"}),o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"名称"}),o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"内容"}),o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"代理状态"}),o.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"操作"})]})}),o.jsx("tbody",{className:"bg-white divide-y divide-gray-200",children:f.map(U=>o.jsxs("tr",{className:"hover:bg-gray-50",children:[o.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900",children:U.type}),o.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-900",children:U.name}),o.jsx("td",{className:"px-6 py-4 text-sm text-gray-900 max-w-xs truncate",children:U.content}),o.jsx("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-900",children:o.jsx("span",{className:`inline-flex px-2 py-1 text-xs font-semibold rounded-full ${U.proxied?"bg-orange-100 text-orange-800":"bg-gray-100 text-gray-800"}`,children:U.proxied?"已代理":"仅DNS"})}),o.jsxs("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:[o.jsx("button",{onClick:()=>Se(U),className:"text-blue-600 hover:text-blue-900 mr-4",disabled:g,children:"修改"}),o.jsx("button",{onClick:()=>ge(U),className:"text-red-600 hover:text-red-900",disabled:g,children:"删除"})]})]},U.id))})]})})]}),c&&o.jsx("div",{className:"mt-6",children:o.jsx("button",{onClick:ft,className:"bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-md",disabled:g,children:"添加DNS记录"})})]}),o.jsx(Ch,{isOpen:D,record:s,onSubmit:Qd,onClose:gf,isLoading:b}),A&&o.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",children:o.jsxs("div",{className:"bg-white rounded-lg shadow-xl max-w-md w-full mx-4",children:[o.jsx("div",{className:"px-6 py-4 border-b border-gray-200",children:o.jsxs("h3",{className:"text-lg font-medium text-gray-900 flex items-center",children:[o.jsx("svg",{className:"w-6 h-6 text-red-600 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z"})}),"确认删除"]})}),o.jsxs("div",{className:"px-6 py-4",children:[o.jsxs("p",{className:"text-gray-700 mb-4",children:["确定要删除DNS记录 ",o.jsx("strong",{children:j==null?void 0:j.name})," (",j==null?void 0:j.type,") 吗？"]}),o.jsx("p",{className:"text-red-600 text-sm",children:"此操作不可撤销！"})]}),o.jsxs("div",{className:"px-6 py-4 border-t border-gray-200 flex justify-end space-x-3",children:[o.jsx("button",{onClick:be,className:"px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",disabled:g,children:"取消"}),o.jsx("button",{onClick:oa,className:"px-4 py-2 text-sm font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 disabled:opacity-50",disabled:g,children:g?"删除中...":"确认删除"})]})]})})]})})}function Lh(){return o.jsx(Gh,{children:o.jsx(wh,{})})}function wh(){const{user:l,isAuthenticated:t,loading:e,login:a}=yf();return e?o.jsx("div",{className:"min-h-screen flex items-center justify-center",children:o.jsx("div",{className:"text-lg",children:"加载中..."})}):t()?o.jsx("div",{children:o.jsx(Vh,{})}):o.jsx(Zh,{onLogin:a})}Yh.createRoot(document.getElementById("root")).render(o.jsx(M.StrictMode,{children:o.jsx(Lh,{})}));
