(function(){const N=document.createElement("link").relList;if(N&&N.supports&&N.supports("modulepreload"))return;for(const A of document.querySelectorAll('link[rel="modulepreload"]'))m(A);new MutationObserver(A=>{for(const C of A)if(C.type==="childList")for(const L of C.addedNodes)L.tagName==="LINK"&&L.rel==="modulepreload"&&m(L)}).observe(document,{childList:!0,subtree:!0});function _(A){const C={};return A.integrity&&(C.integrity=A.integrity),A.referrerPolicy&&(C.referrerPolicy=A.referrerPolicy),A.crossOrigin==="use-credentials"?C.credentials="include":A.crossOrigin==="anonymous"?C.credentials="omit":C.credentials="same-origin",C}function m(A){if(A.ep)return;A.ep=!0;const C=_(A);fetch(A.href,C)}})();var nf={exports:{}},xu={};/**
 * @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 xd;function uy(){if(xd)return xu;xd=1;var b=Symbol.for("react.transitional.element"),N=Symbol.for("react.fragment");function _(m,A,C){var L=null;if(C!==void 0&&(L=""+C),A.key!==void 0&&(L=""+A.key),"key"in A){C={};for(var X in A)X!=="key"&&(C[X]=A[X])}else C=A;return A=C.ref,{$$typeof:b,type:m,key:L,ref:A!==void 0?A:null,props:C}}return xu.Fragment=N,xu.jsx=_,xu.jsxs=_,xu}var pd;function ny(){return pd||(pd=1,nf.exports=uy()),nf.exports}var h=ny(),cf={exports:{}},Q={};/**
 * @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 Td;function cy(){if(Td)return Q;Td=1;var b=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),L=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),W=Symbol.iterator;function ul(o){return o===null||typeof o!="object"?null:(o=W&&o[W]||o["@@iterator"],typeof o=="function"?o:null)}var xl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sl=Object.assign,Vl={};function hl(o,z,M){this.props=o,this.context=z,this.refs=Vl,this.updater=M||xl}hl.prototype.isReactComponent={},hl.prototype.setState=function(o,z){if(typeof o!="object"&&typeof o!="function"&&o!=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,o,z,"setState")},hl.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function pl(){}pl.prototype=hl.prototype;function tl(o,z,M){this.props=o,this.context=z,this.refs=Vl,this.updater=M||xl}var Al=tl.prototype=new pl;Al.constructor=tl,sl(Al,hl.prototype),Al.isPureReactComponent=!0;var Hl=Array.isArray;function Yl(){}var Z={H:null,A:null,T:null,S:null},Tl=Object.prototype.hasOwnProperty;function dt(o,z,M){var R=M.ref;return{$$typeof:b,type:o,key:z,ref:R!==void 0?R:null,props:M}}function Ze(o,z){return dt(o.type,z,o.props)}function Nt(o){return typeof o=="object"&&o!==null&&o.$$typeof===b}function wl(o){var z={"=":"=0",":":"=2"};return"$"+o.replace(/[=:]/g,function(M){return z[M]})}var pe=/\/+/g;function Ut(o,z){return typeof o=="object"&&o!==null&&o.key!=null?wl(""+o.key):z.toString(36)}function Tt(o){switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:switch(typeof o.status=="string"?o.then(Yl,Yl):(o.status="pending",o.then(function(z){o.status==="pending"&&(o.status="fulfilled",o.value=z)},function(z){o.status==="pending"&&(o.status="rejected",o.reason=z)})),o.status){case"fulfilled":return o.value;case"rejected":throw o.reason}}throw o}function x(o,z,M,R,K){var k=typeof o;(k==="undefined"||k==="boolean")&&(o=null);var cl=!1;if(o===null)cl=!0;else switch(k){case"bigint":case"string":case"number":cl=!0;break;case"object":switch(o.$$typeof){case b:case N:cl=!0;break;case V:return cl=o._init,x(cl(o._payload),z,M,R,K)}}if(cl)return K=K(o),cl=R===""?"."+Ut(o,0):R,Hl(K)?(M="",cl!=null&&(M=cl.replace(pe,"$&/")+"/"),x(K,z,M,"",function(_a){return _a})):K!=null&&(Nt(K)&&(K=Ze(K,M+(K.key==null||o&&o.key===K.key?"":(""+K.key).replace(pe,"$&/")+"/")+cl)),z.push(K)),1;cl=0;var Kl=R===""?".":R+":";if(Hl(o))for(var Nl=0;Nl<o.length;Nl++)R=o[Nl],k=Kl+Ut(R,Nl),cl+=x(R,z,M,k,K);else if(Nl=ul(o),typeof Nl=="function")for(o=Nl.call(o),Nl=0;!(R=o.next()).done;)R=R.value,k=Kl+Ut(R,Nl++),cl+=x(R,z,M,k,K);else if(k==="object"){if(typeof o.then=="function")return x(Tt(o),z,M,R,K);throw z=String(o),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return cl}function O(o,z,M){if(o==null)return o;var R=[],K=0;return x(o,R,"","",function(k){return z.call(M,k,K++)}),R}function G(o){if(o._status===-1){var z=o._result;z=z(),z.then(function(M){(o._status===0||o._status===-1)&&(o._status=1,o._result=M)},function(M){(o._status===0||o._status===-1)&&(o._status=2,o._result=M)}),o._status===-1&&(o._status=0,o._result=z)}if(o._status===1)return o._result.default;throw o._result}var ol=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)},yl={map:O,forEach:function(o,z,M){O(o,function(){z.apply(this,arguments)},M)},count:function(o){var z=0;return O(o,function(){z++}),z},toArray:function(o){return O(o,function(z){return z})||[]},only:function(o){if(!Nt(o))throw Error("React.Children.only expected to receive a single React element child.");return o}};return Q.Activity=U,Q.Children=yl,Q.Component=hl,Q.Fragment=_,Q.Profiler=A,Q.PureComponent=tl,Q.StrictMode=m,Q.Suspense=D,Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,Q.__COMPILER_RUNTIME={__proto__:null,c:function(o){return Z.H.useMemoCache(o)}},Q.cache=function(o){return function(){return o.apply(null,arguments)}},Q.cacheSignal=function(){return null},Q.cloneElement=function(o,z,M){if(o==null)throw Error("The argument must be a React element, but you passed "+o+".");var R=sl({},o.props),K=o.key;if(z!=null)for(k in z.key!==void 0&&(K=""+z.key),z)!Tl.call(z,k)||k==="key"||k==="__self"||k==="__source"||k==="ref"&&z.ref===void 0||(R[k]=z[k]);var k=arguments.length-2;if(k===1)R.children=M;else if(1<k){for(var cl=Array(k),Kl=0;Kl<k;Kl++)cl[Kl]=arguments[Kl+2];R.children=cl}return dt(o.type,K,R)},Q.createContext=function(o){return o={$$typeof:L,_currentValue:o,_currentValue2:o,_threadCount:0,Provider:null,Consumer:null},o.Provider=o,o.Consumer={$$typeof:C,_context:o},o},Q.createElement=function(o,z,M){var R,K={},k=null;if(z!=null)for(R in z.key!==void 0&&(k=""+z.key),z)Tl.call(z,R)&&R!=="key"&&R!=="__self"&&R!=="__source"&&(K[R]=z[R]);var cl=arguments.length-2;if(cl===1)K.children=M;else if(1<cl){for(var Kl=Array(cl),Nl=0;Nl<cl;Nl++)Kl[Nl]=arguments[Nl+2];K.children=Kl}if(o&&o.defaultProps)for(R in cl=o.defaultProps,cl)K[R]===void 0&&(K[R]=cl[R]);return dt(o,k,K)},Q.createRef=function(){return{current:null}},Q.forwardRef=function(o){return{$$typeof:X,render:o}},Q.isValidElement=Nt,Q.lazy=function(o){return{$$typeof:V,_payload:{_status:-1,_result:o},_init:G}},Q.memo=function(o,z){return{$$typeof:p,type:o,compare:z===void 0?null:z}},Q.startTransition=function(o){var z=Z.T,M={};Z.T=M;try{var R=o(),K=Z.S;K!==null&&K(M,R),typeof R=="object"&&R!==null&&typeof R.then=="function"&&R.then(Yl,ol)}catch(k){ol(k)}finally{z!==null&&M.types!==null&&(z.types=M.types),Z.T=z}},Q.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},Q.use=function(o){return Z.H.use(o)},Q.useActionState=function(o,z,M){return Z.H.useActionState(o,z,M)},Q.useCallback=function(o,z){return Z.H.useCallback(o,z)},Q.useContext=function(o){return Z.H.useContext(o)},Q.useDebugValue=function(){},Q.useDeferredValue=function(o,z){return Z.H.useDeferredValue(o,z)},Q.useEffect=function(o,z){return Z.H.useEffect(o,z)},Q.useEffectEvent=function(o){return Z.H.useEffectEvent(o)},Q.useId=function(){return Z.H.useId()},Q.useImperativeHandle=function(o,z,M){return Z.H.useImperativeHandle(o,z,M)},Q.useInsertionEffect=function(o,z){return Z.H.useInsertionEffect(o,z)},Q.useLayoutEffect=function(o,z){return Z.H.useLayoutEffect(o,z)},Q.useMemo=function(o,z){return Z.H.useMemo(o,z)},Q.useOptimistic=function(o,z){return Z.H.useOptimistic(o,z)},Q.useReducer=function(o,z,M){return Z.H.useReducer(o,z,M)},Q.useRef=function(o){return Z.H.useRef(o)},Q.useState=function(o){return Z.H.useState(o)},Q.useSyncExternalStore=function(o,z,M){return Z.H.useSyncExternalStore(o,z,M)},Q.useTransition=function(){return Z.H.useTransition()},Q.version="19.2.5",Q}var Ed;function gf(){return Ed||(Ed=1,cf.exports=cy()),cf.exports}var q=gf(),ff={exports:{}},pu={},sf={exports:{}},of={};/**
 * @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.
 */var zd;function iy(){return zd||(zd=1,(function(b){function N(x,O){var G=x.length;x.push(O);l:for(;0<G;){var ol=G-1>>>1,yl=x[ol];if(0<A(yl,O))x[ol]=O,x[G]=yl,G=ol;else break l}}function _(x){return x.length===0?null:x[0]}function m(x){if(x.length===0)return null;var O=x[0],G=x.pop();if(G!==O){x[0]=G;l:for(var ol=0,yl=x.length,o=yl>>>1;ol<o;){var z=2*(ol+1)-1,M=x[z],R=z+1,K=x[R];if(0>A(M,G))R<yl&&0>A(K,M)?(x[ol]=K,x[R]=G,ol=R):(x[ol]=M,x[z]=G,ol=z);else if(R<yl&&0>A(K,G))x[ol]=K,x[R]=G,ol=R;else break l}}return O}function A(x,O){var G=x.sortIndex-O.sortIndex;return G!==0?G:x.id-O.id}if(b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;b.unstable_now=function(){return C.now()}}else{var L=Date,X=L.now();b.unstable_now=function(){return L.now()-X}}var D=[],p=[],V=1,U=null,W=3,ul=!1,xl=!1,sl=!1,Vl=!1,hl=typeof setTimeout=="function"?setTimeout:null,pl=typeof clearTimeout=="function"?clearTimeout:null,tl=typeof setImmediate<"u"?setImmediate:null;function Al(x){for(var O=_(p);O!==null;){if(O.callback===null)m(p);else if(O.startTime<=x)m(p),O.sortIndex=O.expirationTime,N(D,O);else break;O=_(p)}}function Hl(x){if(sl=!1,Al(x),!xl)if(_(D)!==null)xl=!0,Yl||(Yl=!0,wl());else{var O=_(p);O!==null&&Tt(Hl,O.startTime-x)}}var Yl=!1,Z=-1,Tl=5,dt=-1;function Ze(){return Vl?!0:!(b.unstable_now()-dt<Tl)}function Nt(){if(Vl=!1,Yl){var x=b.unstable_now();dt=x;var O=!0;try{l:{xl=!1,sl&&(sl=!1,pl(Z),Z=-1),ul=!0;var G=W;try{t:{for(Al(x),U=_(D);U!==null&&!(U.expirationTime>x&&Ze());){var ol=U.callback;if(typeof ol=="function"){U.callback=null,W=U.priorityLevel;var yl=ol(U.expirationTime<=x);if(x=b.unstable_now(),typeof yl=="function"){U.callback=yl,Al(x),O=!0;break t}U===_(D)&&m(D),Al(x)}else m(D);U=_(D)}if(U!==null)O=!0;else{var o=_(p);o!==null&&Tt(Hl,o.startTime-x),O=!1}}break l}finally{U=null,W=G,ul=!1}O=void 0}}finally{O?wl():Yl=!1}}}var wl;if(typeof tl=="function")wl=function(){tl(Nt)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,Ut=pe.port2;pe.port1.onmessage=Nt,wl=function(){Ut.postMessage(null)}}else wl=function(){hl(Nt,0)};function Tt(x,O){Z=hl(function(){x(b.unstable_now())},O)}b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(x){x.callback=null},b.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Tl=0<x?Math.floor(1e3/x):5},b.unstable_getCurrentPriorityLevel=function(){return W},b.unstable_next=function(x){switch(W){case 1:case 2:case 3:var O=3;break;default:O=W}var G=W;W=O;try{return x()}finally{W=G}},b.unstable_requestPaint=function(){Vl=!0},b.unstable_runWithPriority=function(x,O){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var G=W;W=x;try{return O()}finally{W=G}},b.unstable_scheduleCallback=function(x,O,G){var ol=b.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?ol+G:ol):G=ol,x){case 1:var yl=-1;break;case 2:yl=250;break;case 5:yl=1073741823;break;case 4:yl=1e4;break;default:yl=5e3}return yl=G+yl,x={id:V++,callback:O,priorityLevel:x,startTime:G,expirationTime:yl,sortIndex:-1},G>ol?(x.sortIndex=G,N(p,x),_(D)===null&&x===_(p)&&(sl?(pl(Z),Z=-1):sl=!0,Tt(Hl,G-ol))):(x.sortIndex=yl,N(D,x),xl||ul||(xl=!0,Yl||(Yl=!0,wl()))),x},b.unstable_shouldYield=Ze,b.unstable_wrapCallback=function(x){var O=W;return function(){var G=W;W=O;try{return x.apply(this,arguments)}finally{W=G}}}})(of)),of}var Ad;function fy(){return Ad||(Ad=1,sf.exports=iy()),sf.exports}var df={exports:{}},Ll={};/**
 * @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 Nd;function sy(){if(Nd)return Ll;Nd=1;var b=gf();function N(D){var p="https://react.dev/errors/"+D;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var V=2;V<arguments.length;V++)p+="&args[]="+encodeURIComponent(arguments[V])}return"Minified React error #"+D+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function _(){}var m={d:{f:_,r:function(){throw Error(N(522))},D:_,C:_,L:_,m:_,X:_,S:_,M:_},p:0,findDOMNode:null},A=Symbol.for("react.portal");function C(D,p,V){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:U==null?null:""+U,children:D,containerInfo:p,implementation:V}}var L=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function X(D,p){if(D==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ll.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=m,Ll.createPortal=function(D,p){var V=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(N(299));return C(D,p,null,V)},Ll.flushSync=function(D){var p=L.T,V=m.p;try{if(L.T=null,m.p=2,D)return D()}finally{L.T=p,m.p=V,m.d.f()}},Ll.preconnect=function(D,p){typeof D=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,m.d.C(D,p))},Ll.prefetchDNS=function(D){typeof D=="string"&&m.d.D(D)},Ll.preinit=function(D,p){if(typeof D=="string"&&p&&typeof p.as=="string"){var V=p.as,U=X(V,p.crossOrigin),W=typeof p.integrity=="string"?p.integrity:void 0,ul=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;V==="style"?m.d.S(D,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:U,integrity:W,fetchPriority:ul}):V==="script"&&m.d.X(D,{crossOrigin:U,integrity:W,fetchPriority:ul,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ll.preinitModule=function(D,p){if(typeof D=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var V=X(p.as,p.crossOrigin);m.d.M(D,{crossOrigin:V,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&m.d.M(D)},Ll.preload=function(D,p){if(typeof D=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var V=p.as,U=X(V,p.crossOrigin);m.d.L(D,V,{crossOrigin:U,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ll.preloadModule=function(D,p){if(typeof D=="string")if(p){var V=X(p.as,p.crossOrigin);m.d.m(D,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:V,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else m.d.m(D)},Ll.requestFormReset=function(D){m.d.r(D)},Ll.unstable_batchedUpdates=function(D,p){return D(p)},Ll.useFormState=function(D,p,V){return L.H.useFormState(D,p,V)},Ll.useFormStatus=function(){return L.H.useHostTransitionStatus()},Ll.version="19.2.5",Ll}var _d;function oy(){if(_d)return df.exports;_d=1;function b(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(N){console.error(N)}}return b(),df.exports=sy(),df.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 Od;function dy(){if(Od)return pu;Od=1;var b=fy(),N=gf(),_=oy();function m(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 A(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function C(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}function L(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 X(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function D(l){if(C(l)!==l)throw Error(m(188))}function p(l){var t=l.alternate;if(!t){if(t=C(l),t===null)throw Error(m(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 D(u),l;if(n===a)return D(u),t;n=n.sibling}throw Error(m(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(m(189))}}if(e.alternate!==a)throw Error(m(190))}if(e.tag!==3)throw Error(m(188));return e.stateNode.current===e?l:t}function V(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=V(l),t!==null)return t;l=l.sibling}return null}var U=Object.assign,W=Symbol.for("react.element"),ul=Symbol.for("react.transitional.element"),xl=Symbol.for("react.portal"),sl=Symbol.for("react.fragment"),Vl=Symbol.for("react.strict_mode"),hl=Symbol.for("react.profiler"),pl=Symbol.for("react.consumer"),tl=Symbol.for("react.context"),Al=Symbol.for("react.forward_ref"),Hl=Symbol.for("react.suspense"),Yl=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),Tl=Symbol.for("react.lazy"),dt=Symbol.for("react.activity"),Ze=Symbol.for("react.memo_cache_sentinel"),Nt=Symbol.iterator;function wl(l){return l===null||typeof l!="object"?null:(l=Nt&&l[Nt]||l["@@iterator"],typeof l=="function"?l:null)}var pe=Symbol.for("react.client.reference");function Ut(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===pe?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case sl:return"Fragment";case hl:return"Profiler";case Vl:return"StrictMode";case Hl:return"Suspense";case Yl:return"SuspenseList";case dt:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case xl:return"Portal";case tl:return l.displayName||"Context";case pl:return(l._context.displayName||"Context")+".Consumer";case Al:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Z:return t=l.displayName||null,t!==null?t:Ut(l.type)||"Memo";case Tl:t=l._payload,l=l._init;try{return Ut(l(t))}catch{}}return null}var Tt=Array.isArray,x=N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=_.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},ol=[],yl=-1;function o(l){return{current:l}}function z(l){0>yl||(l.current=ol[yl],ol[yl]=null,yl--)}function M(l,t){yl++,ol[yl]=l.current,l.current=t}var R=o(null),K=o(null),k=o(null),cl=o(null);function Kl(l,t){switch(M(k,t),M(K,l),M(R,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?L0(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=L0(t),l=V0(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}z(R),M(R,l)}function Nl(){z(R),z(K),z(k)}function _a(l){l.memoizedState!==null&&M(cl,l);var t=R.current,e=V0(t,l.type);t!==e&&(M(K,l),M(R,e))}function Tu(l){K.current===l&&(z(R),z(K)),cl.current===l&&(z(cl),hu._currentValue=G)}var Qn,bf;function Te(l){if(Qn===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Qn=t&&t[1]||"",bf=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Qn+l+bf}var Zn=!1;function Ln(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 E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(g){var v=g}Reflect.construct(l,[],E)}else{try{E.call()}catch(g){v=g}l.call(E.prototype)}}else{try{throw Error()}catch(g){v=g}(E=l())&&typeof E.catch=="function"&&E.catch(function(){})}}catch(g){if(g&&v&&typeof g.stack=="string")return[g.stack,v.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(`
`),y=i.split(`
`);for(u=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;u<y.length&&!y[u].includes("DetermineComponentFrameRoot");)u++;if(a===f.length||u===y.length)for(a=f.length-1,u=y.length-1;1<=a&&0<=u&&f[a]!==y[u];)u--;for(;1<=a&&0<=u;a--,u--)if(f[a]!==y[u]){if(a!==1||u!==1)do if(a--,u--,0>u||f[a]!==y[u]){var S=`
`+f[a].replace(" at new "," at ");return l.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",l.displayName)),S}while(1<=a&&0<=u);break}}}finally{Zn=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Te(e):""}function Cd(l,t){switch(l.tag){case 26:case 27:case 5:return Te(l.type);case 16:return Te("Lazy");case 13:return l.child!==t&&t!==null?Te("Suspense Fallback"):Te("Suspense");case 19:return Te("SuspenseList");case 0:case 15:return Ln(l.type,!1);case 11:return Ln(l.type.render,!1);case 1:return Ln(l.type,!0);case 31:return Te("Activity");default:return""}}function Sf(l){try{var t="",e=null;do t+=Cd(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var Vn=Object.prototype.hasOwnProperty,Kn=b.unstable_scheduleCallback,Jn=b.unstable_cancelCallback,qd=b.unstable_shouldYield,Yd=b.unstable_requestPaint,tt=b.unstable_now,Bd=b.unstable_getCurrentPriorityLevel,xf=b.unstable_ImmediatePriority,pf=b.unstable_UserBlockingPriority,Eu=b.unstable_NormalPriority,Gd=b.unstable_LowPriority,Tf=b.unstable_IdlePriority,Xd=b.log,Qd=b.unstable_setDisableYieldValue,Oa=null,et=null;function $t(l){if(typeof Xd=="function"&&Qd(l),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(Oa,l)}catch{}}var at=Math.clz32?Math.clz32:Vd,Zd=Math.log,Ld=Math.LN2;function Vd(l){return l>>>=0,l===0?32:31-(Zd(l)/Ld|0)|0}var zu=256,Au=262144,Nu=4194304;function Ee(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:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;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 _u(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=Ee(a):(c&=i,c!==0?u=Ee(c):e||(e=i&~l,e!==0&&(u=Ee(e))))):(i=a&~n,i!==0?u=Ee(i):c!==0?u=Ee(c):e||(e=a&~l,e!==0&&(u=Ee(e)))),u===0?0:t!==0&&t!==u&&(t&n)===0&&(n=u&-u,e=t&-t,n>=e||n===32&&(e&4194048)!==0)?t:u}function Ma(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Kd(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 Ef(){var l=Nu;return Nu<<=1,(Nu&62914560)===0&&(Nu=4194304),l}function wn(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Da(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Jd(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,y=l.hiddenUpdates;for(e=c&~e;0<e;){var S=31-at(e),E=1<<S;i[S]=0,f[S]=-1;var v=y[S];if(v!==null)for(y[S]=null,S=0;S<v.length;S++){var g=v[S];g!==null&&(g.lane&=-536870913)}e&=~E}a!==0&&zf(l,a,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(c&~t))}function zf(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-at(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function Af(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-at(e),u=1<<a;u&t|l[a]&t&&(l[a]|=t),e&=~u}}function Nf(l,t){var e=t&-t;return e=(e&42)!==0?1:Wn(e),(e&(l.suspendedLanes|t))!==0?0:e}function Wn(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 kn(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function _f(){var l=O.p;return l!==0?l:(l=window.event,l===void 0?32:rd(l.type))}function Of(l,t){var e=O.p;try{return O.p=l,t()}finally{O.p=e}}var Ft=Math.random().toString(36).slice(2),Bl="__reactFiber$"+Ft,Wl="__reactProps$"+Ft,Le="__reactContainer$"+Ft,$n="__reactEvents$"+Ft,wd="__reactListeners$"+Ft,Wd="__reactHandles$"+Ft,Mf="__reactResources$"+Ft,Ua="__reactMarker$"+Ft;function Fn(l){delete l[Bl],delete l[Wl],delete l[$n],delete l[wd],delete l[Wd]}function Ve(l){var t=l[Bl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[Le]||e[Bl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=F0(l);l!==null;){if(e=l[Bl])return e;l=F0(l)}return t}l=e,e=l.parentNode}return null}function Ke(l){if(l=l[Bl]||l[Le]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function ja(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(m(33))}function Je(l){var t=l[Mf];return t||(t=l[Mf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Cl(l){l[Ua]=!0}var Df=new Set,Uf={};function ze(l,t){we(l,t),we(l+"Capture",t)}function we(l,t){for(Uf[l]=t,l=0;l<t.length;l++)Df.add(t[l])}var kd=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]*$"),jf={},Rf={};function $d(l){return Vn.call(Rf,l)?!0:Vn.call(jf,l)?!1:kd.test(l)?Rf[l]=!0:(jf[l]=!0,!1)}function Ou(l,t,e){if($d(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 Mu(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 jt(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)}}function mt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Hf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fd(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return u.call(this)},set:function(c){e=""+c,n.call(this,c)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(c){e=""+c},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function In(l){if(!l._valueTracker){var t=Hf(l)?"checked":"value";l._valueTracker=Fd(l,t,""+l[t])}}function Cf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Hf(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Du(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 Id=/[\n"\\]/g;function rt(l){return l.replace(Id,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Pn(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=""+mt(t)):l.value!==""+mt(t)&&(l.value=""+mt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?lc(l,c,mt(t)):e!=null?lc(l,c,mt(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=""+mt(i):l.removeAttribute("name")}function qf(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)){In(l);return}e=e!=null?""+mt(e):"",t=t!=null?""+mt(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),In(l)}function lc(l,t,e){t==="number"&&Du(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function We(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=""+mt(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 Yf(l,t,e){if(t!=null&&(t=""+mt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+mt(e):""}function Bf(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(m(92));if(Tt(a)){if(1<a.length)throw Error(m(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=mt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),In(l)}function ke(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var Pd=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 Gf(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||Pd.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function Xf(l,t,e){if(t!=null&&typeof t!="object")throw Error(m(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&&Gf(l,u,a)}else for(var n in t)t.hasOwnProperty(n)&&Gf(l,n,t[n])}function tc(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 lm=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"]]),tm=/^[\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 Uu(l){return tm.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Rt(){}var ec=null;function ac(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var $e=null,Fe=null;function Qf(l){var t=Ke(l);if(t&&(l=t.stateNode)){var e=l[Wl]||null;l:switch(l=t.stateNode,t.type){case"input":if(Pn(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="'+rt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var u=a[Wl]||null;if(!u)throw Error(m(90));Pn(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&&Cf(a)}break l;case"textarea":Yf(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&We(l,!!e.multiple,t,!1)}}}var uc=!1;function Zf(l,t,e){if(uc)return l(t,e);uc=!0;try{var a=l(t);return a}finally{if(uc=!1,($e!==null||Fe!==null)&&(Sn(),$e&&(t=$e,l=Fe,Fe=$e=null,Qf(t),l)))for(t=0;t<l.length;t++)Qf(l[t])}}function Ra(l,t){var e=l.stateNode;if(e===null)return null;var a=e[Wl]||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(m(231,t,typeof e));return e}var Ht=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nc=!1;if(Ht)try{var Ha={};Object.defineProperty(Ha,"passive",{get:function(){nc=!0}}),window.addEventListener("test",Ha,Ha),window.removeEventListener("test",Ha,Ha)}catch{nc=!1}var It=null,cc=null,ju=null;function Lf(){if(ju)return ju;var l,t=cc,e=t.length,a,u="value"in It?It.value:It.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 ju=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 Hu(){return!0}function Vf(){return!1}function kl(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)?Hu:Vf,this.isPropagationStopped=Vf,this}return U(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=Hu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Hu)},persist:function(){},isPersistent:Hu}),t}var Ae={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cu=kl(Ae),Ca=U({},Ae,{view:0,detail:0}),em=kl(Ca),ic,fc,qa,qu=U({},Ca,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:oc,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!==qa&&(qa&&l.type==="mousemove"?(ic=l.screenX-qa.screenX,fc=l.screenY-qa.screenY):fc=ic=0,qa=l),ic)},movementY:function(l){return"movementY"in l?l.movementY:fc}}),Kf=kl(qu),am=U({},qu,{dataTransfer:0}),um=kl(am),nm=U({},Ca,{relatedTarget:0}),sc=kl(nm),cm=U({},Ae,{animationName:0,elapsedTime:0,pseudoElement:0}),im=kl(cm),fm=U({},Ae,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),sm=kl(fm),om=U({},Ae,{data:0}),Jf=kl(om),dm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mm={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"},rm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ym(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=rm[l])?!!t[l]:!1}function oc(){return ym}var vm=U({},Ca,{key:function(l){if(l.key){var t=dm[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"?mm[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:oc,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}}),hm=kl(vm),gm=U({},qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wf=kl(gm),bm=U({},Ca,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:oc}),Sm=kl(bm),xm=U({},Ae,{propertyName:0,elapsedTime:0,pseudoElement:0}),pm=kl(xm),Tm=U({},qu,{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}),Em=kl(Tm),zm=U({},Ae,{newState:0,oldState:0}),Am=kl(zm),Nm=[9,13,27,32],dc=Ht&&"CompositionEvent"in window,Ya=null;Ht&&"documentMode"in document&&(Ya=document.documentMode);var _m=Ht&&"TextEvent"in window&&!Ya,Wf=Ht&&(!dc||Ya&&8<Ya&&11>=Ya),kf=" ",$f=!1;function Ff(l,t){switch(l){case"keyup":return Nm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function If(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ie=!1;function Om(l,t){switch(l){case"compositionend":return If(t);case"keypress":return t.which!==32?null:($f=!0,kf);case"textInput":return l=t.data,l===kf&&$f?null:l;default:return null}}function Mm(l,t){if(Ie)return l==="compositionend"||!dc&&Ff(l,t)?(l=Lf(),ju=cc=It=null,Ie=!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 Wf&&t.locale!=="ko"?null:t.data;default:return null}}var Dm={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 Pf(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!Dm[l.type]:t==="textarea"}function ls(l,t,e,a){$e?Fe?Fe.push(a):Fe=[a]:$e=a,t=Nn(t,"onChange"),0<t.length&&(e=new Cu("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var Ba=null,Ga=null;function Um(l){Y0(l,0)}function Yu(l){var t=ja(l);if(Cf(t))return l}function ts(l,t){if(l==="change")return t}var es=!1;if(Ht){var mc;if(Ht){var rc="oninput"in document;if(!rc){var as=document.createElement("div");as.setAttribute("oninput","return;"),rc=typeof as.oninput=="function"}mc=rc}else mc=!1;es=mc&&(!document.documentMode||9<document.documentMode)}function us(){Ba&&(Ba.detachEvent("onpropertychange",ns),Ga=Ba=null)}function ns(l){if(l.propertyName==="value"&&Yu(Ga)){var t=[];ls(t,Ga,l,ac(l)),Zf(Um,t)}}function jm(l,t,e){l==="focusin"?(us(),Ba=t,Ga=e,Ba.attachEvent("onpropertychange",ns)):l==="focusout"&&us()}function Rm(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Yu(Ga)}function Hm(l,t){if(l==="click")return Yu(t)}function Cm(l,t){if(l==="input"||l==="change")return Yu(t)}function qm(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var ut=typeof Object.is=="function"?Object.is:qm;function Xa(l,t){if(ut(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(!Vn.call(t,u)||!ut(l[u],t[u]))return!1}return!0}function cs(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function is(l,t){var e=cs(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=cs(e)}}function fs(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?fs(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function ss(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Du(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=Du(l.document)}return t}function yc(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 Ym=Ht&&"documentMode"in document&&11>=document.documentMode,Pe=null,vc=null,Qa=null,hc=!1;function os(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;hc||Pe==null||Pe!==Du(a)||(a=Pe,"selectionStart"in a&&yc(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}),Qa&&Xa(Qa,a)||(Qa=a,a=Nn(vc,"onSelect"),0<a.length&&(t=new Cu("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=Pe)))}function Ne(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var la={animationend:Ne("Animation","AnimationEnd"),animationiteration:Ne("Animation","AnimationIteration"),animationstart:Ne("Animation","AnimationStart"),transitionrun:Ne("Transition","TransitionRun"),transitionstart:Ne("Transition","TransitionStart"),transitioncancel:Ne("Transition","TransitionCancel"),transitionend:Ne("Transition","TransitionEnd")},gc={},ds={};Ht&&(ds=document.createElement("div").style,"AnimationEvent"in window||(delete la.animationend.animation,delete la.animationiteration.animation,delete la.animationstart.animation),"TransitionEvent"in window||delete la.transitionend.transition);function _e(l){if(gc[l])return gc[l];if(!la[l])return l;var t=la[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in ds)return gc[l]=t[e];return l}var ms=_e("animationend"),rs=_e("animationiteration"),ys=_e("animationstart"),Bm=_e("transitionrun"),Gm=_e("transitionstart"),Xm=_e("transitioncancel"),vs=_e("transitionend"),hs=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 Et(l,t){hs.set(l,t),ze(t,[l])}var Bu=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)},yt=[],ta=0,Sc=0;function Gu(){for(var l=ta,t=Sc=ta=0;t<l;){var e=yt[t];yt[t++]=null;var a=yt[t];yt[t++]=null;var u=yt[t];yt[t++]=null;var n=yt[t];if(yt[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&&gs(e,u,n)}}function Xu(l,t,e,a){yt[ta++]=l,yt[ta++]=t,yt[ta++]=e,yt[ta++]=a,Sc|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function xc(l,t,e,a){return Xu(l,t,e,a),Qu(l)}function Oe(l,t){return Xu(l,null,null,t),Qu(l)}function gs(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-at(e),l=n.hiddenUpdates,a=l[u],a===null?l[u]=[t]:a.push(t),t.lane=e|536870912),n):null}function Qu(l){if(50<su)throw su=0,Mi=null,Error(m(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var ea={};function Qm(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 nt(l,t,e,a){return new Qm(l,t,e,a)}function pc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Ct(l,t){var e=l.alternate;return e===null?(e=nt(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 bs(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 Zu(l,t,e,a,u,n){var c=0;if(a=l,typeof l=="function")pc(l)&&(c=1);else if(typeof l=="string")c=Jr(l,e,R.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case dt:return l=nt(31,e,t,u),l.elementType=dt,l.lanes=n,l;case sl:return Me(e.children,u,n,t);case Vl:c=8,u|=24;break;case hl:return l=nt(12,e,t,u|2),l.elementType=hl,l.lanes=n,l;case Hl:return l=nt(13,e,t,u),l.elementType=Hl,l.lanes=n,l;case Yl:return l=nt(19,e,t,u),l.elementType=Yl,l.lanes=n,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case tl:c=10;break l;case pl:c=9;break l;case Al:c=11;break l;case Z:c=14;break l;case Tl:c=16,a=null;break l}c=29,e=Error(m(130,l===null?"null":typeof l,"")),a=null}return t=nt(c,e,t,u),t.elementType=l,t.type=a,t.lanes=n,t}function Me(l,t,e,a){return l=nt(7,l,a,t),l.lanes=e,l}function Tc(l,t,e){return l=nt(6,l,null,t),l.lanes=e,l}function Ss(l){var t=nt(18,null,null,0);return t.stateNode=l,t}function Ec(l,t,e){return t=nt(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var xs=new WeakMap;function vt(l,t){if(typeof l=="object"&&l!==null){var e=xs.get(l);return e!==void 0?e:(t={value:l,source:t,stack:Sf(t)},xs.set(l,t),t)}return{value:l,source:t,stack:Sf(t)}}var aa=[],ua=0,Lu=null,Za=0,ht=[],gt=0,Pt=null,_t=1,Ot="";function qt(l,t){aa[ua++]=Za,aa[ua++]=Lu,Lu=l,Za=t}function ps(l,t,e){ht[gt++]=_t,ht[gt++]=Ot,ht[gt++]=Pt,Pt=l;var a=_t;l=Ot;var u=32-at(a)-1;a&=~(1<<u),e+=1;var n=32-at(t)+u;if(30<n){var c=u-u%5;n=(a&(1<<c)-1).toString(32),a>>=c,u-=c,_t=1<<32-at(t)+u|e<<u|a,Ot=n+l}else _t=1<<n|e<<u|a,Ot=l}function zc(l){l.return!==null&&(qt(l,1),ps(l,1,0))}function Ac(l){for(;l===Lu;)Lu=aa[--ua],aa[ua]=null,Za=aa[--ua],aa[ua]=null;for(;l===Pt;)Pt=ht[--gt],ht[gt]=null,Ot=ht[--gt],ht[gt]=null,_t=ht[--gt],ht[gt]=null}function Ts(l,t){ht[gt++]=_t,ht[gt++]=Ot,ht[gt++]=Pt,_t=t.id,Ot=t.overflow,Pt=l}var Gl=null,gl=null,ll=!1,le=null,bt=!1,Nc=Error(m(519));function te(l){var t=Error(m(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw La(vt(t,l)),Nc}function Es(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Bl]=l,t[Wl]=a,e){case"dialog":F("cancel",t),F("close",t);break;case"iframe":case"object":case"embed":F("load",t);break;case"video":case"audio":for(e=0;e<du.length;e++)F(du[e],t);break;case"source":F("error",t);break;case"img":case"image":case"link":F("error",t),F("load",t);break;case"details":F("toggle",t);break;case"input":F("invalid",t),qf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":F("invalid",t);break;case"textarea":F("invalid",t),Bf(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||Q0(t.textContent,e)?(a.popover!=null&&(F("beforetoggle",t),F("toggle",t)),a.onScroll!=null&&F("scroll",t),a.onScrollEnd!=null&&F("scrollend",t),a.onClick!=null&&(t.onclick=Rt),t=!0):t=!1,t||te(l,!0)}function zs(l){for(Gl=l.return;Gl;)switch(Gl.tag){case 5:case 31:case 13:bt=!1;return;case 27:case 3:bt=!0;return;default:Gl=Gl.return}}function na(l){if(l!==Gl)return!1;if(!ll)return zs(l),ll=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||Vi(l.type,l.memoizedProps)),e=!e),e&&gl&&te(l),zs(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(m(317));gl=$0(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(m(317));gl=$0(l)}else t===27?(t=gl,ve(l.type)?(l=ki,ki=null,gl=l):gl=t):gl=Gl?xt(l.stateNode.nextSibling):null;return!0}function De(){gl=Gl=null,ll=!1}function _c(){var l=le;return l!==null&&(Pl===null?Pl=l:Pl.push.apply(Pl,l),le=null),l}function La(l){le===null?le=[l]:le.push(l)}var Oc=o(null),Ue=null,Yt=null;function ee(l,t,e){M(Oc,t._currentValue),t._currentValue=e}function Bt(l){l._currentValue=Oc.current,z(Oc)}function Mc(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 Dc(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),Mc(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(m(341));c.lanes|=e,n=c.alternate,n!==null&&(n.lanes|=e),Mc(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 ca(l,t,e,a){l=null;for(var u=t,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var c=u.alternate;if(c===null)throw Error(m(387));if(c=c.memoizedProps,c!==null){var i=u.type;ut(u.pendingProps.value,c.value)||(l!==null?l.push(i):l=[i])}}else if(u===cl.current){if(c=u.alternate,c===null)throw Error(m(387));c.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(hu):l=[hu])}u=u.return}l!==null&&Dc(t,l,e,a),t.flags|=262144}function Vu(l){for(l=l.firstContext;l!==null;){if(!ut(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function je(l){Ue=l,Yt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Xl(l){return As(Ue,l)}function Ku(l,t){return Ue===null&&je(l),As(l,t)}function As(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Yt===null){if(l===null)throw Error(m(308));Yt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Yt=Yt.next=t;return e}var Zm=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()})}},Lm=b.unstable_scheduleCallback,Vm=b.unstable_NormalPriority,Ml={$$typeof:tl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Uc(){return{controller:new Zm,data:new Map,refCount:0}}function Va(l){l.refCount--,l.refCount===0&&Lm(Vm,function(){l.controller.abort()})}var Ka=null,jc=0,ia=0,fa=null;function Km(l,t){if(Ka===null){var e=Ka=[];jc=0,ia=Ci(),fa={status:"pending",value:void 0,then:function(a){e.push(a)}}}return jc++,t.then(Ns,Ns),t}function Ns(){if(--jc===0&&Ka!==null){fa!==null&&(fa.status="fulfilled");var l=Ka;Ka=null,ia=0,fa=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Jm(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 _s=x.S;x.S=function(l,t){d0=tt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Km(l,t),_s!==null&&_s(l,t)};var Re=o(null);function Rc(){var l=Re.current;return l!==null?l:vl.pooledCache}function Ju(l,t){t===null?M(Re,Re.current):M(Re,t.pool)}function Os(){var l=Rc();return l===null?null:{parent:Ml._currentValue,pool:l}}var sa=Error(m(460)),Hc=Error(m(474)),wu=Error(m(542)),Wu={then:function(){}};function Ms(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Ds(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Rt,Rt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,js(l),l;default:if(typeof t.status=="string")t.then(Rt,Rt);else{if(l=vl,l!==null&&100<l.shellSuspendCounter)throw Error(m(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,js(l),l}throw Ce=t,sa}}function He(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ce=e,sa):e}}var Ce=null;function Us(){if(Ce===null)throw Error(m(459));var l=Ce;return Ce=null,l}function js(l){if(l===sa||l===wu)throw Error(m(483))}var oa=null,Ja=0;function ku(l){var t=Ja;return Ja+=1,oa===null&&(oa=[]),Ds(oa,l,t)}function wa(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function $u(l,t){throw t.$$typeof===W?Error(m(525)):(l=Object.prototype.toString.call(t),Error(m(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Rs(l){function t(d,s){if(l){var r=d.deletions;r===null?(d.deletions=[s],d.flags|=16):r.push(s)}}function e(d,s){if(!l)return null;for(;s!==null;)t(d,s),s=s.sibling;return null}function a(d){for(var s=new Map;d!==null;)d.key!==null?s.set(d.key,d):s.set(d.index,d),d=d.sibling;return s}function u(d,s){return d=Ct(d,s),d.index=0,d.sibling=null,d}function n(d,s,r){return d.index=r,l?(r=d.alternate,r!==null?(r=r.index,r<s?(d.flags|=67108866,s):r):(d.flags|=67108866,s)):(d.flags|=1048576,s)}function c(d){return l&&d.alternate===null&&(d.flags|=67108866),d}function i(d,s,r,T){return s===null||s.tag!==6?(s=Tc(r,d.mode,T),s.return=d,s):(s=u(s,r),s.return=d,s)}function f(d,s,r,T){var Y=r.type;return Y===sl?S(d,s,r.props.children,T,r.key):s!==null&&(s.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===Tl&&He(Y)===s.type)?(s=u(s,r.props),wa(s,r),s.return=d,s):(s=Zu(r.type,r.key,r.props,null,d.mode,T),wa(s,r),s.return=d,s)}function y(d,s,r,T){return s===null||s.tag!==4||s.stateNode.containerInfo!==r.containerInfo||s.stateNode.implementation!==r.implementation?(s=Ec(r,d.mode,T),s.return=d,s):(s=u(s,r.children||[]),s.return=d,s)}function S(d,s,r,T,Y){return s===null||s.tag!==7?(s=Me(r,d.mode,T,Y),s.return=d,s):(s=u(s,r),s.return=d,s)}function E(d,s,r){if(typeof s=="string"&&s!==""||typeof s=="number"||typeof s=="bigint")return s=Tc(""+s,d.mode,r),s.return=d,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case ul:return r=Zu(s.type,s.key,s.props,null,d.mode,r),wa(r,s),r.return=d,r;case xl:return s=Ec(s,d.mode,r),s.return=d,s;case Tl:return s=He(s),E(d,s,r)}if(Tt(s)||wl(s))return s=Me(s,d.mode,r,null),s.return=d,s;if(typeof s.then=="function")return E(d,ku(s),r);if(s.$$typeof===tl)return E(d,Ku(d,s),r);$u(d,s)}return null}function v(d,s,r,T){var Y=s!==null?s.key:null;if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return Y!==null?null:i(d,s,""+r,T);if(typeof r=="object"&&r!==null){switch(r.$$typeof){case ul:return r.key===Y?f(d,s,r,T):null;case xl:return r.key===Y?y(d,s,r,T):null;case Tl:return r=He(r),v(d,s,r,T)}if(Tt(r)||wl(r))return Y!==null?null:S(d,s,r,T,null);if(typeof r.then=="function")return v(d,s,ku(r),T);if(r.$$typeof===tl)return v(d,s,Ku(d,r),T);$u(d,r)}return null}function g(d,s,r,T,Y){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return d=d.get(r)||null,i(s,d,""+T,Y);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case ul:return d=d.get(T.key===null?r:T.key)||null,f(s,d,T,Y);case xl:return d=d.get(T.key===null?r:T.key)||null,y(s,d,T,Y);case Tl:return T=He(T),g(d,s,r,T,Y)}if(Tt(T)||wl(T))return d=d.get(r)||null,S(s,d,T,Y,null);if(typeof T.then=="function")return g(d,s,r,ku(T),Y);if(T.$$typeof===tl)return g(d,s,r,Ku(s,T),Y);$u(s,T)}return null}function j(d,s,r,T){for(var Y=null,el=null,H=s,w=s=0,P=null;H!==null&&w<r.length;w++){H.index>w?(P=H,H=null):P=H.sibling;var al=v(d,H,r[w],T);if(al===null){H===null&&(H=P);break}l&&H&&al.alternate===null&&t(d,H),s=n(al,s,w),el===null?Y=al:el.sibling=al,el=al,H=P}if(w===r.length)return e(d,H),ll&&qt(d,w),Y;if(H===null){for(;w<r.length;w++)H=E(d,r[w],T),H!==null&&(s=n(H,s,w),el===null?Y=H:el.sibling=H,el=H);return ll&&qt(d,w),Y}for(H=a(H);w<r.length;w++)P=g(H,d,w,r[w],T),P!==null&&(l&&P.alternate!==null&&H.delete(P.key===null?w:P.key),s=n(P,s,w),el===null?Y=P:el.sibling=P,el=P);return l&&H.forEach(function(xe){return t(d,xe)}),ll&&qt(d,w),Y}function B(d,s,r,T){if(r==null)throw Error(m(151));for(var Y=null,el=null,H=s,w=s=0,P=null,al=r.next();H!==null&&!al.done;w++,al=r.next()){H.index>w?(P=H,H=null):P=H.sibling;var xe=v(d,H,al.value,T);if(xe===null){H===null&&(H=P);break}l&&H&&xe.alternate===null&&t(d,H),s=n(xe,s,w),el===null?Y=xe:el.sibling=xe,el=xe,H=P}if(al.done)return e(d,H),ll&&qt(d,w),Y;if(H===null){for(;!al.done;w++,al=r.next())al=E(d,al.value,T),al!==null&&(s=n(al,s,w),el===null?Y=al:el.sibling=al,el=al);return ll&&qt(d,w),Y}for(H=a(H);!al.done;w++,al=r.next())al=g(H,d,w,al.value,T),al!==null&&(l&&al.alternate!==null&&H.delete(al.key===null?w:al.key),s=n(al,s,w),el===null?Y=al:el.sibling=al,el=al);return l&&H.forEach(function(ay){return t(d,ay)}),ll&&qt(d,w),Y}function rl(d,s,r,T){if(typeof r=="object"&&r!==null&&r.type===sl&&r.key===null&&(r=r.props.children),typeof r=="object"&&r!==null){switch(r.$$typeof){case ul:l:{for(var Y=r.key;s!==null;){if(s.key===Y){if(Y=r.type,Y===sl){if(s.tag===7){e(d,s.sibling),T=u(s,r.props.children),T.return=d,d=T;break l}}else if(s.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===Tl&&He(Y)===s.type){e(d,s.sibling),T=u(s,r.props),wa(T,r),T.return=d,d=T;break l}e(d,s);break}else t(d,s);s=s.sibling}r.type===sl?(T=Me(r.props.children,d.mode,T,r.key),T.return=d,d=T):(T=Zu(r.type,r.key,r.props,null,d.mode,T),wa(T,r),T.return=d,d=T)}return c(d);case xl:l:{for(Y=r.key;s!==null;){if(s.key===Y)if(s.tag===4&&s.stateNode.containerInfo===r.containerInfo&&s.stateNode.implementation===r.implementation){e(d,s.sibling),T=u(s,r.children||[]),T.return=d,d=T;break l}else{e(d,s);break}else t(d,s);s=s.sibling}T=Ec(r,d.mode,T),T.return=d,d=T}return c(d);case Tl:return r=He(r),rl(d,s,r,T)}if(Tt(r))return j(d,s,r,T);if(wl(r)){if(Y=wl(r),typeof Y!="function")throw Error(m(150));return r=Y.call(r),B(d,s,r,T)}if(typeof r.then=="function")return rl(d,s,ku(r),T);if(r.$$typeof===tl)return rl(d,s,Ku(d,r),T);$u(d,r)}return typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint"?(r=""+r,s!==null&&s.tag===6?(e(d,s.sibling),T=u(s,r),T.return=d,d=T):(e(d,s),T=Tc(r,d.mode,T),T.return=d,d=T),c(d)):e(d,s)}return function(d,s,r,T){try{Ja=0;var Y=rl(d,s,r,T);return oa=null,Y}catch(H){if(H===sa||H===wu)throw H;var el=nt(29,H,null,d.mode);return el.lanes=T,el.return=d,el}finally{}}}var qe=Rs(!0),Hs=Rs(!1),ae=!1;function Cc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qc(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 ue(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function ne(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(nl&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Qu(l),gs(l,null,e),t}return Xu(l,a,t,e),Qu(l)}function Wa(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,Af(l,e)}}function Yc(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 Bc=!1;function ka(){if(Bc){var l=fa;if(l!==null)throw l}}function $a(l,t,e,a){Bc=!1;var u=l.updateQueue;ae=!1;var n=u.firstBaseUpdate,c=u.lastBaseUpdate,i=u.shared.pending;if(i!==null){u.shared.pending=null;var f=i,y=f.next;f.next=null,c===null?n=y:c.next=y,c=f;var S=l.alternate;S!==null&&(S=S.updateQueue,i=S.lastBaseUpdate,i!==c&&(i===null?S.firstBaseUpdate=y:i.next=y,S.lastBaseUpdate=f))}if(n!==null){var E=u.baseState;c=0,S=y=f=null,i=n;do{var v=i.lane&-536870913,g=v!==i.lane;if(g?(I&v)===v:(a&v)===v){v!==0&&v===ia&&(Bc=!0),S!==null&&(S=S.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});l:{var j=l,B=i;v=t;var rl=e;switch(B.tag){case 1:if(j=B.payload,typeof j=="function"){E=j.call(rl,E,v);break l}E=j;break l;case 3:j.flags=j.flags&-65537|128;case 0:if(j=B.payload,v=typeof j=="function"?j.call(rl,E,v):j,v==null)break l;E=U({},E,v);break l;case 2:ae=!0}}v=i.callback,v!==null&&(l.flags|=64,g&&(l.flags|=8192),g=u.callbacks,g===null?u.callbacks=[v]:g.push(v))}else g={lane:v,tag:i.tag,payload:i.payload,callback:i.callback,next:null},S===null?(y=S=g,f=E):S=S.next=g,c|=v;if(i=i.next,i===null){if(i=u.shared.pending,i===null)break;g=i,i=g.next,g.next=null,u.lastBaseUpdate=g,u.shared.pending=null}}while(!0);S===null&&(f=E),u.baseState=f,u.firstBaseUpdate=y,u.lastBaseUpdate=S,n===null&&(u.shared.lanes=0),oe|=c,l.lanes=c,l.memoizedState=E}}function Cs(l,t){if(typeof l!="function")throw Error(m(191,l));l.call(t)}function qs(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Cs(e[l],t)}var da=o(null),Fu=o(0);function Ys(l,t){l=wt,M(Fu,l),M(da,t),wt=l|t.baseLanes}function Gc(){M(Fu,wt),M(da,da.current)}function Xc(){wt=Fu.current,z(da),z(Fu)}var ct=o(null),St=null;function ce(l){var t=l.alternate;M(_l,_l.current&1),M(ct,l),St===null&&(t===null||da.current!==null||t.memoizedState!==null)&&(St=l)}function Qc(l){M(_l,_l.current),M(ct,l),St===null&&(St=l)}function Bs(l){l.tag===22?(M(_l,_l.current),M(ct,l),St===null&&(St=l)):ie()}function ie(){M(_l,_l.current),M(ct,ct.current)}function it(l){z(ct),St===l&&(St=null),z(_l)}var _l=o(0);function Iu(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||wi(e)||Wi(e)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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}var Gt=0,J=null,dl=null,Dl=null,Pu=!1,ma=!1,Ye=!1,ln=0,Fa=0,ra=null,wm=0;function El(){throw Error(m(321))}function Zc(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!ut(l[e],t[e]))return!1;return!0}function Lc(l,t,e,a,u,n){return Gt=n,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,x.H=l===null||l.memoizedState===null?To:ui,Ye=!1,n=e(a,u),Ye=!1,ma&&(n=Xs(t,e,a,u)),Gs(l),n}function Gs(l){x.H=lu;var t=dl!==null&&dl.next!==null;if(Gt=0,Dl=dl=J=null,Pu=!1,Fa=0,ra=null,t)throw Error(m(300));l===null||Ul||(l=l.dependencies,l!==null&&Vu(l)&&(Ul=!0))}function Xs(l,t,e,a){J=l;var u=0;do{if(ma&&(ra=null),Fa=0,ma=!1,25<=u)throw Error(m(301));if(u+=1,Dl=dl=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}x.H=Eo,n=t(e,a)}while(ma);return n}function Wm(){var l=x.H,t=l.useState()[0];return t=typeof t.then=="function"?Ia(t):t,l=l.useState()[0],(dl!==null?dl.memoizedState:null)!==l&&(J.flags|=1024),t}function Vc(){var l=ln!==0;return ln=0,l}function Kc(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function Jc(l){if(Pu){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}Pu=!1}Gt=0,Dl=dl=J=null,ma=!1,Fa=ln=0,ra=null}function Jl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Dl===null?J.memoizedState=Dl=l:Dl=Dl.next=l,Dl}function Ol(){if(dl===null){var l=J.alternate;l=l!==null?l.memoizedState:null}else l=dl.next;var t=Dl===null?J.memoizedState:Dl.next;if(t!==null)Dl=t,dl=l;else{if(l===null)throw J.alternate===null?Error(m(467)):Error(m(310));dl=l,l={memoizedState:dl.memoizedState,baseState:dl.baseState,baseQueue:dl.baseQueue,queue:dl.queue,next:null},Dl===null?J.memoizedState=Dl=l:Dl=Dl.next=l}return Dl}function tn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ia(l){var t=Fa;return Fa+=1,ra===null&&(ra=[]),l=Ds(ra,l,t),t=J,(Dl===null?t.memoizedState:Dl.next)===null&&(t=t.alternate,x.H=t===null||t.memoizedState===null?To:ui),l}function en(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Ia(l);if(l.$$typeof===tl)return Xl(l)}throw Error(m(438,String(l)))}function wc(l){var t=null,e=J.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=J.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=tn(),J.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]=Ze;return t.index++,e}function Xt(l,t){return typeof t=="function"?t(l):t}function an(l){var t=Ol();return Wc(t,dl,l)}function Wc(l,t,e){var a=l.queue;if(a===null)throw Error(m(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,y=t,S=!1;do{var E=y.lane&-536870913;if(E!==y.lane?(I&E)===E:(Gt&E)===E){var v=y.revertLane;if(v===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null}),E===ia&&(S=!0);else if((Gt&v)===v){y=y.next,v===ia&&(S=!0);continue}else E={lane:0,revertLane:y.revertLane,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},f===null?(i=f=E,c=n):f=f.next=E,J.lanes|=v,oe|=v;E=y.action,Ye&&e(n,E),n=y.hasEagerState?y.eagerState:e(n,E)}else v={lane:E,revertLane:y.revertLane,gesture:y.gesture,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},f===null?(i=f=v,c=n):f=f.next=v,J.lanes|=E,oe|=E;y=y.next}while(y!==null&&y!==t);if(f===null?c=n:f.next=i,!ut(n,l.memoizedState)&&(Ul=!0,S&&(e=fa,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 kc(l){var t=Ol(),e=t.queue;if(e===null)throw Error(m(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);ut(n,t.memoizedState)||(Ul=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),e.lastRenderedState=n}return[n,a]}function Qs(l,t,e){var a=J,u=Ol(),n=ll;if(n){if(e===void 0)throw Error(m(407));e=e()}else e=t();var c=!ut((dl||u).memoizedState,e);if(c&&(u.memoizedState=e,Ul=!0),u=u.queue,Ic(Vs.bind(null,a,u,l),[l]),u.getSnapshot!==t||c||Dl!==null&&Dl.memoizedState.tag&1){if(a.flags|=2048,ya(9,{destroy:void 0},Ls.bind(null,a,u,e,t),null),vl===null)throw Error(m(349));n||(Gt&127)!==0||Zs(a,t,e)}return e}function Zs(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=J.updateQueue,t===null?(t=tn(),J.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Ls(l,t,e,a){t.value=e,t.getSnapshot=a,Ks(t)&&Js(l)}function Vs(l,t,e){return e(function(){Ks(t)&&Js(l)})}function Ks(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!ut(l,e)}catch{return!0}}function Js(l){var t=Oe(l,2);t!==null&&lt(t,l,2)}function $c(l){var t=Jl();if(typeof l=="function"){var e=l;if(l=e(),Ye){$t(!0);try{e()}finally{$t(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:l},t}function ws(l,t,e,a){return l.baseState=e,Wc(l,dl,typeof a=="function"?a:Xt)}function km(l,t,e,a,u){if(cn(l))throw Error(m(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)}};x.T!==null?e(!0):n.isTransition=!1,a(n),e=t.pending,e===null?(n.next=t.pending=n,Ws(t,n)):(n.next=e.next,t.pending=e.next=n)}}function Ws(l,t){var e=t.action,a=t.payload,u=l.state;if(t.isTransition){var n=x.T,c={};x.T=c;try{var i=e(u,a),f=x.S;f!==null&&f(c,i),ks(l,t,i)}catch(y){Fc(l,t,y)}finally{n!==null&&c.types!==null&&(n.types=c.types),x.T=n}}else try{n=e(u,a),ks(l,t,n)}catch(y){Fc(l,t,y)}}function ks(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){$s(l,t,a)},function(a){return Fc(l,t,a)}):$s(l,t,e)}function $s(l,t,e){t.status="fulfilled",t.value=e,Fs(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,Ws(l,e)))}function Fc(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,Fs(t),t=t.next;while(t!==a)}l.action=null}function Fs(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function Is(l,t){return t}function Ps(l,t){if(ll){var e=vl.formState;if(e!==null){l:{var a=J;if(ll){if(gl){t:{for(var u=gl,n=bt;u.nodeType!==8;){if(!n){u=null;break t}if(u=xt(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){gl=xt(u.nextSibling),a=u.data==="F!";break l}}te(a)}a=!1}a&&(t=e[0])}}return e=Jl(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:t},e.queue=a,e=So.bind(null,J,a),a.dispatch=e,a=$c(!1),n=ai.bind(null,J,!1,a.queue),a=Jl(),u={state:t,dispatch:null,action:l,pending:null},a.queue=u,e=km.bind(null,J,u,n,e),u.dispatch=e,a.memoizedState=l,[t,e,!1]}function lo(l){var t=Ol();return to(t,dl,l)}function to(l,t,e){if(t=Wc(l,t,Is)[0],l=an(Xt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Ia(t)}catch(c){throw c===sa?wu:c}else a=t;t=Ol();var u=t.queue,n=u.dispatch;return e!==t.memoizedState&&(J.flags|=2048,ya(9,{destroy:void 0},$m.bind(null,u,e),null)),[a,n,l]}function $m(l,t){l.action=t}function eo(l){var t=Ol(),e=dl;if(e!==null)return to(t,e,l);Ol(),t=t.memoizedState,e=Ol();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function ya(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=J.updateQueue,t===null&&(t=tn(),J.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 ao(){return Ol().memoizedState}function un(l,t,e,a){var u=Jl();J.flags|=l,u.memoizedState=ya(1|t,{destroy:void 0},e,a===void 0?null:a)}function nn(l,t,e,a){var u=Ol();a=a===void 0?null:a;var n=u.memoizedState.inst;dl!==null&&a!==null&&Zc(a,dl.memoizedState.deps)?u.memoizedState=ya(t,n,e,a):(J.flags|=l,u.memoizedState=ya(1|t,n,e,a))}function uo(l,t){un(8390656,8,l,t)}function Ic(l,t){nn(2048,8,l,t)}function Fm(l){J.flags|=4;var t=J.updateQueue;if(t===null)t=tn(),J.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function no(l){var t=Ol().memoizedState;return Fm({ref:t,nextImpl:l}),function(){if((nl&2)!==0)throw Error(m(440));return t.impl.apply(void 0,arguments)}}function co(l,t){return nn(4,2,l,t)}function io(l,t){return nn(4,4,l,t)}function fo(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 so(l,t,e){e=e!=null?e.concat([l]):null,nn(4,4,fo.bind(null,t,l),e)}function Pc(){}function oo(l,t){var e=Ol();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Zc(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function mo(l,t){var e=Ol();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Zc(t,a[1]))return a[0];if(a=l(),Ye){$t(!0);try{l()}finally{$t(!1)}}return e.memoizedState=[a,t],a}function li(l,t,e){return e===void 0||(Gt&1073741824)!==0&&(I&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=r0(),J.lanes|=l,oe|=l,e)}function ro(l,t,e,a){return ut(e,t)?e:da.current!==null?(l=li(l,e,a),ut(l,t)||(Ul=!0),l):(Gt&42)===0||(Gt&1073741824)!==0&&(I&261930)===0?(Ul=!0,l.memoizedState=e):(l=r0(),J.lanes|=l,oe|=l,t)}function yo(l,t,e,a,u){var n=O.p;O.p=n!==0&&8>n?n:8;var c=x.T,i={};x.T=i,ai(l,!1,t,e);try{var f=u(),y=x.S;if(y!==null&&y(i,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var S=Jm(f,a);Pa(l,t,S,ot(l))}else Pa(l,t,a,ot(l))}catch(E){Pa(l,t,{then:function(){},status:"rejected",reason:E},ot())}finally{O.p=n,c!==null&&i.types!==null&&(c.types=i.types),x.T=c}}function Im(){}function ti(l,t,e,a){if(l.tag!==5)throw Error(m(476));var u=vo(l).queue;yo(l,u,t,G,e===null?Im:function(){return ho(l),e(a)})}function vo(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:G},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function ho(l){var t=vo(l);t.next===null&&(t=l.alternate.memoizedState),Pa(l,t.next.queue,{},ot())}function ei(){return Xl(hu)}function go(){return Ol().memoizedState}function bo(){return Ol().memoizedState}function Pm(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=ot();l=ue(e);var a=ne(t,l,e);a!==null&&(lt(a,t,e),Wa(a,t,e)),t={cache:Uc()},l.payload=t;return}t=t.return}}function lr(l,t,e){var a=ot();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},cn(l)?xo(t,e):(e=xc(l,t,e,a),e!==null&&(lt(e,l,a),po(e,t,a)))}function So(l,t,e){var a=ot();Pa(l,t,e,a)}function Pa(l,t,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(cn(l))xo(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,ut(i,c))return Xu(l,t,u,0),vl===null&&Gu(),!1}catch{}finally{}if(e=xc(l,t,u,a),e!==null)return lt(e,l,a),po(e,t,a),!0}return!1}function ai(l,t,e,a){if(a={lane:2,revertLane:Ci(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},cn(l)){if(t)throw Error(m(479))}else t=xc(l,e,a,2),t!==null&&lt(t,l,2)}function cn(l){var t=l.alternate;return l===J||t!==null&&t===J}function xo(l,t){ma=Pu=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function po(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Af(l,e)}}var lu={readContext:Xl,use:en,useCallback:El,useContext:El,useEffect:El,useImperativeHandle:El,useLayoutEffect:El,useInsertionEffect:El,useMemo:El,useReducer:El,useRef:El,useState:El,useDebugValue:El,useDeferredValue:El,useTransition:El,useSyncExternalStore:El,useId:El,useHostTransitionStatus:El,useFormState:El,useActionState:El,useOptimistic:El,useMemoCache:El,useCacheRefresh:El};lu.useEffectEvent=El;var To={readContext:Xl,use:en,useCallback:function(l,t){return Jl().memoizedState=[l,t===void 0?null:t],l},useContext:Xl,useEffect:uo,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,un(4194308,4,fo.bind(null,t,l),e)},useLayoutEffect:function(l,t){return un(4194308,4,l,t)},useInsertionEffect:function(l,t){un(4,2,l,t)},useMemo:function(l,t){var e=Jl();t=t===void 0?null:t;var a=l();if(Ye){$t(!0);try{l()}finally{$t(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=Jl();if(e!==void 0){var u=e(t);if(Ye){$t(!0);try{e(t)}finally{$t(!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=lr.bind(null,J,l),[a.memoizedState,l]},useRef:function(l){var t=Jl();return l={current:l},t.memoizedState=l},useState:function(l){l=$c(l);var t=l.queue,e=So.bind(null,J,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:Pc,useDeferredValue:function(l,t){var e=Jl();return li(e,l,t)},useTransition:function(){var l=$c(!1);return l=yo.bind(null,J,l.queue,!0,!1),Jl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=J,u=Jl();if(ll){if(e===void 0)throw Error(m(407));e=e()}else{if(e=t(),vl===null)throw Error(m(349));(I&127)!==0||Zs(a,t,e)}u.memoizedState=e;var n={value:e,getSnapshot:t};return u.queue=n,uo(Vs.bind(null,a,n,l),[l]),a.flags|=2048,ya(9,{destroy:void 0},Ls.bind(null,a,n,e,t),null),e},useId:function(){var l=Jl(),t=vl.identifierPrefix;if(ll){var e=Ot,a=_t;e=(a&~(1<<32-at(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=ln++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=wm++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:ei,useFormState:Ps,useActionState:Ps,useOptimistic:function(l){var t=Jl();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=ai.bind(null,J,!0,e),e.dispatch=t,[l,t]},useMemoCache:wc,useCacheRefresh:function(){return Jl().memoizedState=Pm.bind(null,J)},useEffectEvent:function(l){var t=Jl(),e={impl:l};return t.memoizedState=e,function(){if((nl&2)!==0)throw Error(m(440));return e.impl.apply(void 0,arguments)}}},ui={readContext:Xl,use:en,useCallback:oo,useContext:Xl,useEffect:Ic,useImperativeHandle:so,useInsertionEffect:co,useLayoutEffect:io,useMemo:mo,useReducer:an,useRef:ao,useState:function(){return an(Xt)},useDebugValue:Pc,useDeferredValue:function(l,t){var e=Ol();return ro(e,dl.memoizedState,l,t)},useTransition:function(){var l=an(Xt)[0],t=Ol().memoizedState;return[typeof l=="boolean"?l:Ia(l),t]},useSyncExternalStore:Qs,useId:go,useHostTransitionStatus:ei,useFormState:lo,useActionState:lo,useOptimistic:function(l,t){var e=Ol();return ws(e,dl,l,t)},useMemoCache:wc,useCacheRefresh:bo};ui.useEffectEvent=no;var Eo={readContext:Xl,use:en,useCallback:oo,useContext:Xl,useEffect:Ic,useImperativeHandle:so,useInsertionEffect:co,useLayoutEffect:io,useMemo:mo,useReducer:kc,useRef:ao,useState:function(){return kc(Xt)},useDebugValue:Pc,useDeferredValue:function(l,t){var e=Ol();return dl===null?li(e,l,t):ro(e,dl.memoizedState,l,t)},useTransition:function(){var l=kc(Xt)[0],t=Ol().memoizedState;return[typeof l=="boolean"?l:Ia(l),t]},useSyncExternalStore:Qs,useId:go,useHostTransitionStatus:ei,useFormState:eo,useActionState:eo,useOptimistic:function(l,t){var e=Ol();return dl!==null?ws(e,dl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:wc,useCacheRefresh:bo};Eo.useEffectEvent=no;function ni(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:U({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var ci={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=ot(),u=ue(a);u.payload=t,e!=null&&(u.callback=e),t=ne(l,u,a),t!==null&&(lt(t,l,a),Wa(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=ot(),u=ue(a);u.tag=1,u.payload=t,e!=null&&(u.callback=e),t=ne(l,u,a),t!==null&&(lt(t,l,a),Wa(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=ot(),a=ue(e);a.tag=2,t!=null&&(a.callback=t),t=ne(l,a,e),t!==null&&(lt(t,l,e),Wa(t,l,e))}};function zo(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?!Xa(e,a)||!Xa(u,n):!0}function Ao(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&&ci.enqueueReplaceState(t,t.state,null)}function Be(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=U({},e));for(var u in l)e[u]===void 0&&(e[u]=l[u])}return e}function No(l){Bu(l)}function _o(l){console.error(l)}function Oo(l){Bu(l)}function fn(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Mo(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 ii(l,t,e){return e=ue(e),e.tag=3,e.payload={element:null},e.callback=function(){fn(l,t)},e}function Do(l){return l=ue(l),l.tag=3,l}function Uo(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(){Mo(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){Mo(t,e,a),typeof u!="function"&&(de===null?de=new Set([this]):de.add(this));var i=a.stack;this.componentDidCatch(a.value,{componentStack:i!==null?i:""})})}function tr(l,t,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&ca(t,e,u,!0),e=ct.current,e!==null){switch(e.tag){case 31:case 13:return St===null?xn():e.alternate===null&&zl===0&&(zl=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===Wu?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),ji(l,a,u)),!1;case 22:return e.flags|=65536,a===Wu?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)),ji(l,a,u)),!1}throw Error(m(435,e.tag))}return ji(l,a,u),xn(),!1}if(ll)return t=ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==Nc&&(l=Error(m(422),{cause:a}),La(vt(l,e)))):(a!==Nc&&(t=Error(m(423),{cause:a}),La(vt(t,e))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,a=vt(a,e),u=ii(l.stateNode,a,u),Yc(l,u),zl!==4&&(zl=2)),!1;var n=Error(m(520),{cause:a});if(n=vt(n,e),fu===null?fu=[n]:fu.push(n),zl!==4&&(zl=2),t===null)return!0;a=vt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=u&-u,e.lanes|=l,l=ii(e.stateNode,a,l),Yc(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"&&(de===null||!de.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=Do(u),Uo(u,l,e,a),Yc(e,u),!1}e=e.return}while(e!==null);return!1}var fi=Error(m(461)),Ul=!1;function Ql(l,t,e,a){t.child=l===null?Hs(t,null,e,a):qe(t,l.child,e,a)}function jo(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 je(t),a=Lc(l,t,e,c,n,u),i=Vc(),l!==null&&!Ul?(Kc(l,t,u),Qt(l,t,u)):(ll&&i&&zc(t),t.flags|=1,Ql(l,t,a,u),t.child)}function Ro(l,t,e,a,u){if(l===null){var n=e.type;return typeof n=="function"&&!pc(n)&&n.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=n,Ho(l,t,n,a,u)):(l=Zu(e.type,null,a,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!hi(l,u)){var c=n.memoizedProps;if(e=e.compare,e=e!==null?e:Xa,e(c,a)&&l.ref===t.ref)return Qt(l,t,u)}return t.flags|=1,l=Ct(n,a),l.ref=t.ref,l.return=t,t.child=l}function Ho(l,t,e,a,u){if(l!==null){var n=l.memoizedProps;if(Xa(n,a)&&l.ref===t.ref)if(Ul=!1,t.pendingProps=a=n,hi(l,u))(l.flags&131072)!==0&&(Ul=!0);else return t.lanes=l.lanes,Qt(l,t,u)}return si(l,t,e,a,u)}function Co(l,t,e,a){var u=a.children,n=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(n=n!==null?n.baseLanes|e:e,l!==null){for(a=t.child=l.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~n}else a=0,t.child=null;return qo(l,t,n,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Ju(t,n!==null?n.cachePool:null),n!==null?Ys(t,n):Gc(),Bs(t);else return a=t.lanes=536870912,qo(l,t,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(Ju(t,n.cachePool),Ys(t,n),ie(),t.memoizedState=null):(l!==null&&Ju(t,null),Gc(),ie());return Ql(l,t,u,e),t.child}function tu(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function qo(l,t,e,a,u){var n=Rc();return n=n===null?null:{parent:Ml._currentValue,pool:n},t.memoizedState={baseLanes:e,cachePool:n},l!==null&&Ju(t,null),Gc(),Bs(t),l!==null&&ca(l,t,a,!0),t.childLanes=u,null}function sn(l,t){return t=dn({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function Yo(l,t,e){return qe(t,l.child,null,e),l=sn(t,t.pendingProps),l.flags|=2,it(t),t.memoizedState=null,l}function er(l,t,e){var a=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(ll){if(a.mode==="hidden")return l=sn(t,a),t.lanes=536870912,tu(null,l);if(Qc(t),(l=gl)?(l=k0(l,bt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Pt!==null?{id:_t,overflow:Ot}:null,retryLane:536870912,hydrationErrors:null},e=Ss(l),e.return=t,t.child=e,Gl=t,gl=null)):l=null,l===null)throw te(t);return t.lanes=536870912,null}return sn(t,a)}var n=l.memoizedState;if(n!==null){var c=n.dehydrated;if(Qc(t),u)if(t.flags&256)t.flags&=-257,t=Yo(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(m(558));else if(Ul||ca(l,t,e,!1),u=(e&l.childLanes)!==0,Ul||u){if(a=vl,a!==null&&(c=Nf(a,e),c!==0&&c!==n.retryLane))throw n.retryLane=c,Oe(l,c),lt(a,l,c),fi;xn(),t=Yo(l,t,e)}else l=n.treeContext,gl=xt(c.nextSibling),Gl=t,ll=!0,le=null,bt=!1,l!==null&&Ts(t,l),t=sn(t,a),t.flags|=4096;return t}return l=Ct(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function on(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(m(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function si(l,t,e,a,u){return je(t),e=Lc(l,t,e,a,void 0,u),a=Vc(),l!==null&&!Ul?(Kc(l,t,u),Qt(l,t,u)):(ll&&a&&zc(t),t.flags|=1,Ql(l,t,e,u),t.child)}function Bo(l,t,e,a,u,n){return je(t),t.updateQueue=null,e=Xs(t,a,e,u),Gs(l),a=Vc(),l!==null&&!Ul?(Kc(l,t,n),Qt(l,t,n)):(ll&&a&&zc(t),t.flags|=1,Ql(l,t,e,n),t.child)}function Go(l,t,e,a,u){if(je(t),t.stateNode===null){var n=ea,c=e.contextType;typeof c=="object"&&c!==null&&(n=Xl(c)),n=new e(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ci,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},Cc(t),c=e.contextType,n.context=typeof c=="object"&&c!==null?Xl(c):ea,n.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(ni(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&&ci.enqueueReplaceState(n,n.state,null),$a(t,a,n,u),ka(),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=Be(e,i);n.props=f;var y=n.context,S=e.contextType;c=ea,typeof S=="object"&&S!==null&&(c=Xl(S));var E=e.getDerivedStateFromProps;S=typeof E=="function"||typeof n.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,S||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i||y!==c)&&Ao(t,n,a,c),ae=!1;var v=t.memoizedState;n.state=v,$a(t,a,n,u),ka(),y=t.memoizedState,i||v!==y||ae?(typeof E=="function"&&(ni(t,e,E,a),y=t.memoizedState),(f=ae||zo(t,e,f,a,v,y,c))?(S||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=y),n.props=a,n.state=y,n.context=c,a=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,qc(l,t),c=t.memoizedProps,S=Be(e,c),n.props=S,E=t.pendingProps,v=n.context,y=e.contextType,f=ea,typeof y=="object"&&y!==null&&(f=Xl(y)),i=e.getDerivedStateFromProps,(y=typeof i=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c!==E||v!==f)&&Ao(t,n,a,f),ae=!1,v=t.memoizedState,n.state=v,$a(t,a,n,u),ka();var g=t.memoizedState;c!==E||v!==g||ae||l!==null&&l.dependencies!==null&&Vu(l.dependencies)?(typeof i=="function"&&(ni(t,e,i,a),g=t.memoizedState),(S=ae||zo(t,e,S,a,v,g,f)||l!==null&&l.dependencies!==null&&Vu(l.dependencies))?(y||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,g,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,g,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||c===l.memoizedProps&&v===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&v===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=g),n.props=a,n.state=g,n.context=f,a=S):(typeof n.componentDidUpdate!="function"||c===l.memoizedProps&&v===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&v===l.memoizedState||(t.flags|=1024),a=!1)}return n=a,on(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=qe(t,l.child,null,u),t.child=qe(t,null,e,u)):Ql(l,t,e,u),t.memoizedState=n.state,l=t.child):l=Qt(l,t,u),l}function Xo(l,t,e,a){return De(),t.flags|=256,Ql(l,t,e,a),t.child}var oi={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function di(l){return{baseLanes:l,cachePool:Os()}}function mi(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=st),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:(_l.current&2)!==0),c&&(u=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(ll){if(u?ce(t):ie(),(l=gl)?(l=k0(l,bt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Pt!==null?{id:_t,overflow:Ot}:null,retryLane:536870912,hydrationErrors:null},e=Ss(l),e.return=t,t.child=e,Gl=t,gl=null)):l=null,l===null)throw te(t);return Wi(l)?t.lanes=32:t.lanes=536870912,null}var i=a.children;return a=a.fallback,u?(ie(),u=t.mode,i=dn({mode:"hidden",children:i},u),a=Me(a,u,e,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=di(e),a.childLanes=mi(l,c,e),t.memoizedState=oi,tu(null,a)):(ce(t),ri(t,i))}var f=l.memoizedState;if(f!==null&&(i=f.dehydrated,i!==null)){if(n)t.flags&256?(ce(t),t.flags&=-257,t=yi(l,t,e)):t.memoizedState!==null?(ie(),t.child=l.child,t.flags|=128,t=null):(ie(),i=a.fallback,u=t.mode,a=dn({mode:"visible",children:a.children},u),i=Me(i,u,e,null),i.flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,qe(t,l.child,null,e),a=t.child,a.memoizedState=di(e),a.childLanes=mi(l,c,e),t.memoizedState=oi,t=tu(null,a));else if(ce(t),Wi(i)){if(c=i.nextSibling&&i.nextSibling.dataset,c)var y=c.dgst;c=y,a=Error(m(419)),a.stack="",a.digest=c,La({value:a,source:null,stack:null}),t=yi(l,t,e)}else if(Ul||ca(l,t,e,!1),c=(e&l.childLanes)!==0,Ul||c){if(c=vl,c!==null&&(a=Nf(c,e),a!==0&&a!==f.retryLane))throw f.retryLane=a,Oe(l,a),lt(c,l,a),fi;wi(i)||xn(),t=yi(l,t,e)}else wi(i)?(t.flags|=192,t.child=l.child,t=null):(l=f.treeContext,gl=xt(i.nextSibling),Gl=t,ll=!0,le=null,bt=!1,l!==null&&Ts(t,l),t=ri(t,a.children),t.flags|=4096);return t}return u?(ie(),i=a.fallback,u=t.mode,f=l.child,y=f.sibling,a=Ct(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,y!==null?i=Ct(y,i):(i=Me(i,u,e,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,tu(null,a),a=t.child,i=l.child.memoizedState,i===null?i=di(e):(u=i.cachePool,u!==null?(f=Ml._currentValue,u=u.parent!==f?{parent:f,pool:f}:u):u=Os(),i={baseLanes:i.baseLanes|e,cachePool:u}),a.memoizedState=i,a.childLanes=mi(l,c,e),t.memoizedState=oi,tu(l.child,a)):(ce(t),e=l.child,l=e.sibling,e=Ct(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 ri(l,t){return t=dn({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function dn(l,t){return l=nt(22,l,null,t),l.lanes=0,l}function yi(l,t,e){return qe(t,l.child,null,e),l=ri(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Zo(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Mc(l.return,t,e)}function vi(l,t,e,a,u,n){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=e,c.tailMode=u,c.treeForkCount=n)}function Lo(l,t,e){var a=t.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var c=_l.current,i=(c&2)!==0;if(i?(c=c&1|2,t.flags|=128):c&=1,M(_l,c),Ql(l,t,a,e),a=ll?Za:0,!i&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Zo(l,e,t);else if(l.tag===19)Zo(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}switch(u){case"forwards":for(e=t.child,u=null;e!==null;)l=e.alternate,l!==null&&Iu(l)===null&&(u=e),e=e.sibling;e=u,e===null?(u=t.child,t.child=null):(u=e.sibling,e.sibling=null),vi(t,!1,u,e,n,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,u=t.child,t.child=null;u!==null;){if(l=u.alternate,l!==null&&Iu(l)===null){t.child=u;break}l=u.sibling,u.sibling=e,e=u,u=l}vi(t,!0,e,null,n,a);break;case"together":vi(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Qt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),oe|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(ca(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(m(153));if(t.child!==null){for(l=t.child,e=Ct(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Ct(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function hi(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Vu(l)))}function ar(l,t,e){switch(t.tag){case 3:Kl(t,t.stateNode.containerInfo),ee(t,Ml,l.memoizedState.cache),De();break;case 27:case 5:_a(t);break;case 4:Kl(t,t.stateNode.containerInfo);break;case 10:ee(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Qc(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(ce(t),t.flags|=128,null):(e&t.child.childLanes)!==0?Qo(l,t,e):(ce(t),l=Qt(l,t,e),l!==null?l.sibling:null);ce(t);break;case 19:var u=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(ca(l,t,e,!1),a=(e&t.childLanes)!==0),u){if(a)return Lo(l,t,e);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),M(_l,_l.current),a)break;return null;case 22:return t.lanes=0,Co(l,t,e,t.pendingProps);case 24:ee(t,Ml,l.memoizedState.cache)}return Qt(l,t,e)}function Vo(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Ul=!0;else{if(!hi(l,e)&&(t.flags&128)===0)return Ul=!1,ar(l,t,e);Ul=(l.flags&131072)!==0}else Ul=!1,ll&&(t.flags&1048576)!==0&&ps(t,Za,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=He(t.elementType),t.type=l,typeof l=="function")pc(l)?(a=Be(l,a),t.tag=1,t=Go(null,t,l,a,e)):(t.tag=0,t=si(null,t,l,a,e));else{if(l!=null){var u=l.$$typeof;if(u===Al){t.tag=11,t=jo(null,t,l,a,e);break l}else if(u===Z){t.tag=14,t=Ro(null,t,l,a,e);break l}}throw t=Ut(l)||l,Error(m(306,t,""))}}return t;case 0:return si(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,u=Be(a,t.pendingProps),Go(l,t,a,u,e);case 3:l:{if(Kl(t,t.stateNode.containerInfo),l===null)throw Error(m(387));a=t.pendingProps;var n=t.memoizedState;u=n.element,qc(l,t),$a(t,a,null,e);var c=t.memoizedState;if(a=c.cache,ee(t,Ml,a),a!==n.cache&&Dc(t,[Ml],e,!0),ka(),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=Xo(l,t,a,e);break l}else if(a!==u){u=vt(Error(m(424)),t),La(u),t=Xo(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(gl=xt(l.firstChild),Gl=t,ll=!0,le=null,bt=!0,e=Hs(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(De(),a===u){t=Qt(l,t,e);break l}Ql(l,t,a,e)}t=t.child}return t;case 26:return on(l,t),l===null?(e=td(t.type,null,t.pendingProps,null))?t.memoizedState=e:ll||(e=t.type,l=t.pendingProps,a=_n(k.current).createElement(e),a[Bl]=t,a[Wl]=l,Zl(a,e,l),Cl(a),t.stateNode=a):t.memoizedState=td(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return _a(t),l===null&&ll&&(a=t.stateNode=I0(t.type,t.pendingProps,k.current),Gl=t,bt=!0,u=gl,ve(t.type)?(ki=u,gl=xt(a.firstChild)):gl=u),Ql(l,t,t.pendingProps.children,e),on(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&ll&&((u=a=gl)&&(a=Rr(a,t.type,t.pendingProps,bt),a!==null?(t.stateNode=a,Gl=t,gl=xt(a.firstChild),bt=!1,u=!0):u=!1),u||te(t)),_a(t),u=t.type,n=t.pendingProps,c=l!==null?l.memoizedProps:null,a=n.children,Vi(u,n)?a=null:c!==null&&Vi(u,c)&&(t.flags|=32),t.memoizedState!==null&&(u=Lc(l,t,Wm,null,null,e),hu._currentValue=u),on(l,t),Ql(l,t,a,e),t.child;case 6:return l===null&&ll&&((l=e=gl)&&(e=Hr(e,t.pendingProps,bt),e!==null?(t.stateNode=e,Gl=t,gl=null,l=!0):l=!1),l||te(t)),null;case 13:return Qo(l,t,e);case 4:return Kl(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=qe(t,null,a,e):Ql(l,t,a,e),t.child;case 11:return jo(l,t,t.type,t.pendingProps,e);case 7:return Ql(l,t,t.pendingProps,e),t.child;case 8:return Ql(l,t,t.pendingProps.children,e),t.child;case 12:return Ql(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,ee(t,t.type,a.value),Ql(l,t,a.children,e),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,je(t),u=Xl(u),a=a(u),t.flags|=1,Ql(l,t,a,e),t.child;case 14:return Ro(l,t,t.type,t.pendingProps,e);case 15:return Ho(l,t,t.type,t.pendingProps,e);case 19:return Lo(l,t,e);case 31:return er(l,t,e);case 22:return Co(l,t,e,t.pendingProps);case 24:return je(t),a=Xl(Ml),l===null?(u=Rc(),u===null&&(u=vl,n=Uc(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),t.memoizedState={parent:a,cache:u},Cc(t),ee(t,Ml,u)):((l.lanes&e)!==0&&(qc(l,t),$a(t,null,null,e),ka()),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),ee(t,Ml,a)):(a=n.cache,ee(t,Ml,a),a!==u.cache&&Dc(t,[Ml],e,!0))),Ql(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(m(156,t.tag))}function Zt(l){l.flags|=4}function gi(l,t,e,a,u){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(u&335544128)===u)if(l.stateNode.complete)l.flags|=8192;else if(g0())l.flags|=8192;else throw Ce=Wu,Hc}else l.flags&=-16777217}function Ko(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!cd(t))if(g0())l.flags|=8192;else throw Ce=Wu,Hc}function mn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Ef():536870912,l.lanes|=t,ba|=t)}function eu(l,t){if(!ll)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 bl(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 ur(l,t,e){var a=t.pendingProps;switch(Ac(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bl(t),null;case 1:return bl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Bt(Ml),Nl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(na(t)?Zt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,_c())),bl(t),null;case 26:var u=t.type,n=t.memoizedState;return l===null?(Zt(t),n!==null?(bl(t),Ko(t,n)):(bl(t),gi(t,u,null,a,e))):n?n!==l.memoizedState?(Zt(t),bl(t),Ko(t,n)):(bl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Zt(t),bl(t),gi(t,u,l,a,e)),null;case 27:if(Tu(t),e=k.current,u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Zt(t);else{if(!a){if(t.stateNode===null)throw Error(m(166));return bl(t),null}l=R.current,na(t)?Es(t):(l=I0(u,a,e),t.stateNode=l,Zt(t))}return bl(t),null;case 5:if(Tu(t),u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Zt(t);else{if(!a){if(t.stateNode===null)throw Error(m(166));return bl(t),null}if(n=R.current,na(t))Es(t);else{var c=_n(k.current);switch(n){case 1:n=c.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=c.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=c.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=c.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=c.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?c.createElement(u,{is:a.is}):c.createElement(u)}}n[Bl]=t,n[Wl]=a;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)n.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=n;l:switch(Zl(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Zt(t)}}return bl(t),gi(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Zt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(m(166));if(l=k.current,na(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,u=Gl,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}l[Bl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Q0(l.nodeValue,e)),l||te(t,!0)}else l=_n(l).createTextNode(a),l[Bl]=t,t.stateNode=l}return bl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=na(t),e!==null){if(l===null){if(!a)throw Error(m(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(m(557));l[Bl]=t}else De(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;bl(t),l=!1}else e=_c(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(it(t),t):(it(t),null);if((t.flags&128)!==0)throw Error(m(558))}return bl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=na(t),a!==null&&a.dehydrated!==null){if(l===null){if(!u)throw Error(m(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(m(317));u[Bl]=t}else De(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;bl(t),u=!1}else u=_c(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(it(t),t):(it(t),null)}return it(t),(t.flags&128)!==0?(t.lanes=e,t):(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),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),mn(t,t.updateQueue),bl(t),null);case 4:return Nl(),l===null&&Gi(t.stateNode.containerInfo),bl(t),null;case 10:return Bt(t.type),bl(t),null;case 19:if(z(_l),a=t.memoizedState,a===null)return bl(t),null;if(u=(t.flags&128)!==0,n=a.rendering,n===null)if(u)eu(a,!1);else{if(zl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=Iu(l),n!==null){for(t.flags|=128,eu(a,!1),l=n.updateQueue,t.updateQueue=l,mn(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)bs(e,l),e=e.sibling;return M(_l,_l.current&1|2),ll&&qt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&tt()>gn&&(t.flags|=128,u=!0,eu(a,!1),t.lanes=4194304)}else{if(!u)if(l=Iu(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,mn(t,l),eu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!ll)return bl(t),null}else 2*tt()-a.renderingStartTime>gn&&e!==536870912&&(t.flags|=128,u=!0,eu(a,!1),t.lanes=4194304);a.isBackwards?(n.sibling=t.child,t.child=n):(l=a.last,l!==null?l.sibling=n:t.child=n,a.last=n)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=tt(),l.sibling=null,e=_l.current,M(_l,u?e&1|2:e&1),ll&&qt(t,a.treeForkCount),l):(bl(t),null);case 22:case 23:return it(t),Xc(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(bl(t),t.subtreeFlags&6&&(t.flags|=8192)):bl(t),e=t.updateQueue,e!==null&&mn(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&&z(Re),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Bt(Ml),bl(t),null;case 25:return null;case 30:return null}throw Error(m(156,t.tag))}function nr(l,t){switch(Ac(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Bt(Ml),Nl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Tu(t),null;case 31:if(t.memoizedState!==null){if(it(t),t.alternate===null)throw Error(m(340));De()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(it(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(m(340));De()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return z(_l),null;case 4:return Nl(),null;case 10:return Bt(t.type),null;case 22:case 23:return it(t),Xc(),l!==null&&z(Re),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Bt(Ml),null;case 25:return null;default:return null}}function Jo(l,t){switch(Ac(t),t.tag){case 3:Bt(Ml),Nl();break;case 26:case 27:case 5:Tu(t);break;case 4:Nl();break;case 31:t.memoizedState!==null&&it(t);break;case 13:it(t);break;case 19:z(_l);break;case 10:Bt(t.type);break;case 22:case 23:it(t),Xc(),l!==null&&z(Re);break;case 24:Bt(Ml)}}function au(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){fl(t,t.return,i)}}function fe(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,y=i;try{y()}catch(S){fl(u,f,S)}}}a=a.next}while(a!==n)}}catch(S){fl(t,t.return,S)}}function wo(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{qs(t,e)}catch(a){fl(l,l.return,a)}}}function Wo(l,t,e){e.props=Be(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){fl(l,t,a)}}function uu(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){fl(l,t,u)}}function Mt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){fl(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){fl(l,t,u)}else e.current=null}function ko(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){fl(l,l.return,u)}}function bi(l,t,e){try{var a=l.stateNode;_r(a,l.type,e,t),a[Wl]=t}catch(u){fl(l,l.return,u)}}function $o(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ve(l.type)||l.tag===4}function Si(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&&ve(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 xi(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=Rt));else if(a!==4&&(a===27&&ve(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(xi(l,t,e),l=l.sibling;l!==null;)xi(l,t,e),l=l.sibling}function rn(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&&ve(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(rn(l,t,e),l=l.sibling;l!==null;)rn(l,t,e),l=l.sibling}function Fo(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Zl(t,a,e),t[Bl]=l,t[Wl]=e}catch(n){fl(l,l.return,n)}}var Lt=!1,jl=!1,pi=!1,Io=typeof WeakSet=="function"?WeakSet:Set,ql=null;function cr(l,t){if(l=l.containerInfo,Zi=Hn,l=ss(l),yc(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,y=0,S=0,E=l,v=null;t:for(;;){for(var g;E!==e||u!==0&&E.nodeType!==3||(i=c+u),E!==n||a!==0&&E.nodeType!==3||(f=c+a),E.nodeType===3&&(c+=E.nodeValue.length),(g=E.firstChild)!==null;)v=E,E=g;for(;;){if(E===l)break t;if(v===e&&++y===u&&(i=c),v===n&&++S===a&&(f=c),(g=E.nextSibling)!==null)break;E=v,v=E.parentNode}E=g}e=i===-1||f===-1?null:{start:i,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(Li={focusedElem:l,selectionRange:e},Hn=!1,ql=t;ql!==null;)if(t=ql,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,ql=l;else for(;ql!==null;){switch(t=ql,n=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e<l.length;e++)u=l[e],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){l=void 0,e=t,u=n.memoizedProps,n=n.memoizedState,a=e.stateNode;try{var j=Be(e.type,u);l=a.getSnapshotBeforeUpdate(j,n),a.__reactInternalSnapshotBeforeUpdate=l}catch(B){fl(e,e.return,B)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)Ji(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Ji(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(m(163))}if(l=t.sibling,l!==null){l.return=t.return,ql=l;break}ql=t.return}}function Po(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Kt(l,e),a&4&&au(5,e);break;case 1:if(Kt(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){fl(e,e.return,c)}else{var u=Be(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){fl(e,e.return,c)}}a&64&&wo(e),a&512&&uu(e,e.return);break;case 3:if(Kt(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{qs(l,t)}catch(c){fl(e,e.return,c)}}break;case 27:t===null&&a&4&&Fo(e);case 26:case 5:Kt(l,e),t===null&&a&4&&ko(e),a&512&&uu(e,e.return);break;case 12:Kt(l,e);break;case 31:Kt(l,e),a&4&&e0(l,e);break;case 13:Kt(l,e),a&4&&a0(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=vr.bind(null,e),Cr(l,e))));break;case 22:if(a=e.memoizedState!==null||Lt,!a){t=t!==null&&t.memoizedState!==null||jl,u=Lt;var n=jl;Lt=a,(jl=t)&&!n?Jt(l,e,(e.subtreeFlags&8772)!==0):Kt(l,e),Lt=u,jl=n}break;case 30:break;default:Kt(l,e)}}function l0(l){var t=l.alternate;t!==null&&(l.alternate=null,l0(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&Fn(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 Sl=null,$l=!1;function Vt(l,t,e){for(e=e.child;e!==null;)t0(l,t,e),e=e.sibling}function t0(l,t,e){if(et&&typeof et.onCommitFiberUnmount=="function")try{et.onCommitFiberUnmount(Oa,e)}catch{}switch(e.tag){case 26:jl||Mt(e,t),Vt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:jl||Mt(e,t);var a=Sl,u=$l;ve(e.type)&&(Sl=e.stateNode,$l=!1),Vt(l,t,e),ru(e.stateNode),Sl=a,$l=u;break;case 5:jl||Mt(e,t);case 6:if(a=Sl,u=$l,Sl=null,Vt(l,t,e),Sl=a,$l=u,Sl!==null)if($l)try{(Sl.nodeType===9?Sl.body:Sl.nodeName==="HTML"?Sl.ownerDocument.body:Sl).removeChild(e.stateNode)}catch(n){fl(e,t,n)}else try{Sl.removeChild(e.stateNode)}catch(n){fl(e,t,n)}break;case 18:Sl!==null&&($l?(l=Sl,w0(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Na(l)):w0(Sl,e.stateNode));break;case 4:a=Sl,u=$l,Sl=e.stateNode.containerInfo,$l=!0,Vt(l,t,e),Sl=a,$l=u;break;case 0:case 11:case 14:case 15:fe(2,e,t),jl||fe(4,e,t),Vt(l,t,e);break;case 1:jl||(Mt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&Wo(e,t,a)),Vt(l,t,e);break;case 21:Vt(l,t,e);break;case 22:jl=(a=jl)||e.memoizedState!==null,Vt(l,t,e),jl=a;break;default:Vt(l,t,e)}}function e0(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Na(l)}catch(e){fl(t,t.return,e)}}}function a0(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Na(l)}catch(e){fl(t,t.return,e)}}function ir(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new Io),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new Io),t;default:throw Error(m(435,l.tag))}}function yn(l,t){var e=ir(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var u=hr.bind(null,l,a);a.then(u,u)}})}function Fl(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(ve(i.type)){Sl=i.stateNode,$l=!1;break l}break;case 5:Sl=i.stateNode,$l=!1;break l;case 3:case 4:Sl=i.stateNode.containerInfo,$l=!0;break l}i=i.return}if(Sl===null)throw Error(m(160));t0(n,c,u),Sl=null,$l=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)u0(t,l),t=t.sibling}var zt=null;function u0(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Fl(t,l),Il(l),a&4&&(fe(3,l,l.return),au(3,l),fe(5,l,l.return));break;case 1:Fl(t,l),Il(l),a&512&&(jl||e===null||Mt(e,e.return)),a&64&&Lt&&(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=zt;if(Fl(t,l),Il(l),a&512&&(jl||e===null||Mt(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[Ua]||n[Bl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),Zl(n,a,e),n[Bl]=l,Cl(n),a=n;break l;case"link":var c=ud("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),Zl(n,a,e),u.head.appendChild(n);break;case"meta":if(c=ud("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),Zl(n,a,e),u.head.appendChild(n);break;default:throw Error(m(468,a))}n[Bl]=l,Cl(n),a=n}l.stateNode=a}else nd(u,l.type,l.stateNode);else l.stateNode=ad(u,a,l.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?nd(u,l.type,l.stateNode):ad(u,a,l.memoizedProps)):a===null&&l.stateNode!==null&&bi(l,l.memoizedProps,e.memoizedProps)}break;case 27:Fl(t,l),Il(l),a&512&&(jl||e===null||Mt(e,e.return)),e!==null&&a&4&&bi(l,l.memoizedProps,e.memoizedProps);break;case 5:if(Fl(t,l),Il(l),a&512&&(jl||e===null||Mt(e,e.return)),l.flags&32){u=l.stateNode;try{ke(u,"")}catch(j){fl(l,l.return,j)}}a&4&&l.stateNode!=null&&(u=l.memoizedProps,bi(l,u,e!==null?e.memoizedProps:u)),a&1024&&(pi=!0);break;case 6:if(Fl(t,l),Il(l),a&4){if(l.stateNode===null)throw Error(m(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(j){fl(l,l.return,j)}}break;case 3:if(Dn=null,u=zt,zt=On(t.containerInfo),Fl(t,l),zt=u,Il(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Na(t.containerInfo)}catch(j){fl(l,l.return,j)}pi&&(pi=!1,n0(l));break;case 4:a=zt,zt=On(l.stateNode.containerInfo),Fl(t,l),Il(l),zt=a;break;case 12:Fl(t,l),Il(l);break;case 31:Fl(t,l),Il(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,yn(l,a)));break;case 13:Fl(t,l),Il(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(hn=tt()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,yn(l,a)));break;case 22:u=l.memoizedState!==null;var f=e!==null&&e.memoizedState!==null,y=Lt,S=jl;if(Lt=y||u,jl=S||f,Fl(t,l),jl=S,Lt=y,Il(l),a&8192)l:for(t=l.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(e===null||f||Lt||jl||Ge(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 E=f.memoizedProps.style,v=E!=null&&E.hasOwnProperty("display")?E.display:null;i.style.display=v==null||typeof v=="boolean"?"":(""+v).trim()}}catch(j){fl(f,f.return,j)}}}else if(t.tag===6){if(e===null){f=t;try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(j){fl(f,f.return,j)}}}else if(t.tag===18){if(e===null){f=t;try{var g=f.stateNode;u?W0(g,!0):W0(f.stateNode,!1)}catch(j){fl(f,f.return,j)}}}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,yn(l,e))));break;case 19:Fl(t,l),Il(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,yn(l,a)));break;case 30:break;case 21:break;default:Fl(t,l),Il(l)}}function Il(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(m(160));switch(e.tag){case 27:var u=e.stateNode,n=Si(l);rn(l,n,u);break;case 5:var c=e.stateNode;e.flags&32&&(ke(c,""),e.flags&=-33);var i=Si(l);rn(l,i,c);break;case 3:case 4:var f=e.stateNode.containerInfo,y=Si(l);xi(l,y,f);break;default:throw Error(m(161))}}catch(S){fl(l,l.return,S)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function n0(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;n0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function Kt(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Po(l,t.alternate,t),t=t.sibling}function Ge(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:fe(4,t,t.return),Ge(t);break;case 1:Mt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&Wo(t,t.return,e),Ge(t);break;case 27:ru(t.stateNode);case 26:case 5:Mt(t,t.return),Ge(t);break;case 22:t.memoizedState===null&&Ge(t);break;case 30:Ge(t);break;default:Ge(t)}l=l.sibling}}function Jt(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:Jt(u,n,e),au(4,n);break;case 1:if(Jt(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(y){fl(a,a.return,y)}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++)Cs(f[u],i)}catch(y){fl(a,a.return,y)}}e&&c&64&&wo(n),uu(n,n.return);break;case 27:Fo(n);case 26:case 5:Jt(u,n,e),e&&a===null&&c&4&&ko(n),uu(n,n.return);break;case 12:Jt(u,n,e);break;case 31:Jt(u,n,e),e&&c&4&&e0(u,n);break;case 13:Jt(u,n,e),e&&c&4&&a0(u,n);break;case 22:n.memoizedState===null&&Jt(u,n,e),uu(n,n.return);break;case 30:break;default:Jt(u,n,e)}t=t.sibling}}function Ti(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&&Va(e))}function Ei(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Va(l))}function At(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)c0(l,t,e,a),t=t.sibling}function c0(l,t,e,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:At(l,t,e,a),u&2048&&au(9,t);break;case 1:At(l,t,e,a);break;case 3:At(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&&Va(l)));break;case 12:if(u&2048){At(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){fl(t,t.return,f)}}else At(l,t,e,a);break;case 31:At(l,t,e,a);break;case 13:At(l,t,e,a);break;case 23:break;case 22:n=t.stateNode,c=t.alternate,t.memoizedState!==null?n._visibility&2?At(l,t,e,a):nu(l,t):n._visibility&2?At(l,t,e,a):(n._visibility|=2,va(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),u&2048&&Ti(c,t);break;case 24:At(l,t,e,a),u&2048&&Ei(t.alternate,t);break;default:At(l,t,e,a)}}function va(l,t,e,a,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var n=l,c=t,i=e,f=a,y=c.flags;switch(c.tag){case 0:case 11:case 15:va(n,c,i,f,u),au(8,c);break;case 23:break;case 22:var S=c.stateNode;c.memoizedState!==null?S._visibility&2?va(n,c,i,f,u):nu(n,c):(S._visibility|=2,va(n,c,i,f,u)),u&&y&2048&&Ti(c.alternate,c);break;case 24:va(n,c,i,f,u),u&&y&2048&&Ei(c.alternate,c);break;default:va(n,c,i,f,u)}t=t.sibling}}function nu(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:nu(e,a),u&2048&&Ti(a.alternate,a);break;case 24:nu(e,a),u&2048&&Ei(a.alternate,a);break;default:nu(e,a)}t=t.sibling}}var cu=8192;function ha(l,t,e){if(l.subtreeFlags&cu)for(l=l.child;l!==null;)i0(l,t,e),l=l.sibling}function i0(l,t,e){switch(l.tag){case 26:ha(l,t,e),l.flags&cu&&l.memoizedState!==null&&wr(e,zt,l.memoizedState,l.memoizedProps);break;case 5:ha(l,t,e);break;case 3:case 4:var a=zt;zt=On(l.stateNode.containerInfo),ha(l,t,e),zt=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=cu,cu=16777216,ha(l,t,e),cu=a):ha(l,t,e));break;default:ha(l,t,e)}}function f0(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 iu(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];ql=a,o0(a,l)}f0(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)s0(l),l=l.sibling}function s0(l){switch(l.tag){case 0:case 11:case 15:iu(l),l.flags&2048&&fe(9,l,l.return);break;case 3:iu(l);break;case 12:iu(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,vn(l)):iu(l);break;default:iu(l)}}function vn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];ql=a,o0(a,l)}f0(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:fe(8,t,t.return),vn(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,vn(t));break;default:vn(t)}l=l.sibling}}function o0(l,t){for(;ql!==null;){var e=ql;switch(e.tag){case 0:case 11:case 15:fe(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:Va(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,ql=a;else l:for(e=l;ql!==null;){a=ql;var u=a.sibling,n=a.return;if(l0(a),a===e){ql=null;break l}if(u!==null){u.return=n,ql=u;break l}ql=n}}}var fr={getCacheForType:function(l){var t=Xl(Ml),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return Xl(Ml).controller.signal}},sr=typeof WeakMap=="function"?WeakMap:Map,nl=0,vl=null,$=null,I=0,il=0,ft=null,se=!1,ga=!1,zi=!1,wt=0,zl=0,oe=0,Xe=0,Ai=0,st=0,ba=0,fu=null,Pl=null,Ni=!1,hn=0,d0=0,gn=1/0,bn=null,de=null,Rl=0,me=null,Sa=null,Wt=0,_i=0,Oi=null,m0=null,su=0,Mi=null;function ot(){return(nl&2)!==0&&I!==0?I&-I:x.T!==null?Ci():_f()}function r0(){if(st===0)if((I&536870912)===0||ll){var l=Au;Au<<=1,(Au&3932160)===0&&(Au=262144),st=l}else st=536870912;return l=ct.current,l!==null&&(l.flags|=32),st}function lt(l,t,e){(l===vl&&(il===2||il===9)||l.cancelPendingCommit!==null)&&(xa(l,0),re(l,I,st,!1)),Da(l,e),((nl&2)===0||l!==vl)&&(l===vl&&((nl&2)===0&&(Xe|=e),zl===4&&re(l,I,st,!1)),Dt(l))}function y0(l,t,e){if((nl&6)!==0)throw Error(m(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Ma(l,t),u=a?mr(l,t):Ui(l,t,!0),n=a;do{if(u===0){ga&&!a&&re(l,t,0,!1);break}else{if(e=l.current.alternate,n&&!or(e)){u=Ui(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=fu;var f=i.current.memoizedState.isDehydrated;if(f&&(xa(i,c).flags|=256),c=Ui(i,c,!1),c!==2){if(zi&&!f){i.errorRecoveryDisabledLanes|=n,Xe|=n,u=4;break l}n=Pl,Pl=u,n!==null&&(Pl===null?Pl=n:Pl.push.apply(Pl,n))}u=c}if(n=!1,u!==2)continue}}if(u===1){xa(l,0),re(l,t,0,!0);break}l:{switch(a=l,n=u,n){case 0:case 1:throw Error(m(345));case 4:if((t&4194048)!==t)break;case 6:re(a,t,st,!se);break l;case 2:Pl=null;break;case 3:case 5:break;default:throw Error(m(329))}if((t&62914560)===t&&(u=hn+300-tt(),10<u)){if(re(a,t,st,!se),_u(a,0,!0)!==0)break l;Wt=t,a.timeoutHandle=K0(v0.bind(null,a,e,Pl,bn,Ni,t,st,Xe,ba,se,n,"Throttled",-0,0),u);break l}v0(a,e,Pl,bn,Ni,t,st,Xe,ba,se,n,null,-0,0)}}break}while(!0);Dt(l)}function v0(l,t,e,a,u,n,c,i,f,y,S,E,v,g){if(l.timeoutHandle=-1,E=t.subtreeFlags,E&8192||(E&16785408)===16785408){E={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rt},i0(t,n,E);var j=(n&62914560)===n?hn-tt():(n&4194048)===n?d0-tt():0;if(j=Wr(E,j),j!==null){Wt=n,l.cancelPendingCommit=j(E0.bind(null,l,t,n,e,a,u,c,i,f,S,E,null,v,g)),re(l,n,c,!y);return}}E0(l,t,n,e,a,u,c,i,f)}function or(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(!ut(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 re(l,t,e,a){t&=~Ai,t&=~Xe,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var u=t;0<u;){var n=31-at(u),c=1<<n;a[n]=-1,u&=~c}e!==0&&zf(l,e,t)}function Sn(){return(nl&6)===0?(ou(0),!1):!0}function Di(){if($!==null){if(il===0)var l=$.return;else l=$,Yt=Ue=null,Jc(l),oa=null,Ja=0,l=$;for(;l!==null;)Jo(l.alternate,l),l=l.return;$=null}}function xa(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,Dr(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),Wt=0,Di(),vl=l,$=e=Ct(l.current,null),I=t,il=0,ft=null,se=!1,ga=Ma(l,t),zi=!1,ba=st=Ai=Xe=oe=zl=0,Pl=fu=null,Ni=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var u=31-at(a),n=1<<u;t|=l[u],a&=~n}return wt=t,Gu(),e}function h0(l,t){J=null,x.H=lu,t===sa||t===wu?(t=Us(),il=3):t===Hc?(t=Us(),il=4):il=t===fi?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ft=t,$===null&&(zl=1,fn(l,vt(t,l.current)))}function g0(){var l=ct.current;return l===null?!0:(I&4194048)===I?St===null:(I&62914560)===I||(I&536870912)!==0?l===St:!1}function b0(){var l=x.H;return x.H=lu,l===null?lu:l}function S0(){var l=x.A;return x.A=fr,l}function xn(){zl=4,se||(I&4194048)!==I&&ct.current!==null||(ga=!0),(oe&134217727)===0&&(Xe&134217727)===0||vl===null||re(vl,I,st,!1)}function Ui(l,t,e){var a=nl;nl|=2;var u=b0(),n=S0();(vl!==l||I!==t)&&(bn=null,xa(l,t)),t=!1;var c=zl;l:do try{if(il!==0&&$!==null){var i=$,f=ft;switch(il){case 8:Di(),c=6;break l;case 3:case 2:case 9:case 6:ct.current===null&&(t=!0);var y=il;if(il=0,ft=null,pa(l,i,f,y),e&&ga){c=0;break l}break;default:y=il,il=0,ft=null,pa(l,i,f,y)}}dr(),c=zl;break}catch(S){h0(l,S)}while(!0);return t&&l.shellSuspendCounter++,Yt=Ue=null,nl=a,x.H=u,x.A=n,$===null&&(vl=null,I=0,Gu()),c}function dr(){for(;$!==null;)x0($)}function mr(l,t){var e=nl;nl|=2;var a=b0(),u=S0();vl!==l||I!==t?(bn=null,gn=tt()+500,xa(l,t)):ga=Ma(l,t);l:do try{if(il!==0&&$!==null){t=$;var n=ft;t:switch(il){case 1:il=0,ft=null,pa(l,t,n,1);break;case 2:case 9:if(Ms(n)){il=0,ft=null,p0(t);break}t=function(){il!==2&&il!==9||vl!==l||(il=7),Dt(l)},n.then(t,t);break l;case 3:il=7;break l;case 4:il=5;break l;case 7:Ms(n)?(il=0,ft=null,p0(t)):(il=0,ft=null,pa(l,t,n,7));break;case 5:var c=null;switch($.tag){case 26:c=$.memoizedState;case 5:case 27:var i=$;if(c?cd(c):i.stateNode.complete){il=0,ft=null;var f=i.sibling;if(f!==null)$=f;else{var y=i.return;y!==null?($=y,pn(y)):$=null}break t}}il=0,ft=null,pa(l,t,n,5);break;case 6:il=0,ft=null,pa(l,t,n,6);break;case 8:Di(),zl=6;break l;default:throw Error(m(462))}}rr();break}catch(S){h0(l,S)}while(!0);return Yt=Ue=null,x.H=a,x.A=u,nl=e,$!==null?0:(vl=null,I=0,Gu(),zl)}function rr(){for(;$!==null&&!qd();)x0($)}function x0(l){var t=Vo(l.alternate,l,wt);l.memoizedProps=l.pendingProps,t===null?pn(l):$=t}function p0(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Bo(e,t,t.pendingProps,t.type,void 0,I);break;case 11:t=Bo(e,t,t.pendingProps,t.type.render,t.ref,I);break;case 5:Jc(t);default:Jo(e,t),t=$=bs(t,wt),t=Vo(e,t,wt)}l.memoizedProps=l.pendingProps,t===null?pn(l):$=t}function pa(l,t,e,a){Yt=Ue=null,Jc(t),oa=null,Ja=0;var u=t.return;try{if(tr(l,u,t,e,I)){zl=1,fn(l,vt(e,l.current)),$=null;return}}catch(n){if(u!==null)throw $=u,n;zl=1,fn(l,vt(e,l.current)),$=null;return}t.flags&32768?(ll||a===1?l=!0:ga||(I&536870912)!==0?l=!1:(se=l=!0,(a===2||a===9||a===3||a===6)&&(a=ct.current,a!==null&&a.tag===13&&(a.flags|=16384))),T0(t,l)):pn(t)}function pn(l){var t=l;do{if((t.flags&32768)!==0){T0(t,se);return}l=t.return;var e=ur(t.alternate,t,wt);if(e!==null){$=e;return}if(t=t.sibling,t!==null){$=t;return}$=t=l}while(t!==null);zl===0&&(zl=5)}function T0(l,t){do{var e=nr(l.alternate,l);if(e!==null){e.flags&=32767,$=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){$=l;return}$=l=e}while(l!==null);zl=6,$=null}function E0(l,t,e,a,u,n,c,i,f){l.cancelPendingCommit=null;do Tn();while(Rl!==0);if((nl&6)!==0)throw Error(m(327));if(t!==null){if(t===l.current)throw Error(m(177));if(n=t.lanes|t.childLanes,n|=Sc,Jd(l,e,n,c,i,f),l===vl&&($=vl=null,I=0),Sa=t,me=l,Wt=e,_i=n,Oi=u,m0=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,gr(Eu,function(){return O0(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=x.T,x.T=null,u=O.p,O.p=2,c=nl,nl|=4;try{cr(l,t,e)}finally{nl=c,O.p=u,x.T=a}}Rl=1,z0(),A0(),N0()}}function z0(){if(Rl===1){Rl=0;var l=me,t=Sa,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=x.T,x.T=null;var a=O.p;O.p=2;var u=nl;nl|=4;try{u0(t,l);var n=Li,c=ss(l.containerInfo),i=n.focusedElem,f=n.selectionRange;if(c!==i&&i&&i.ownerDocument&&fs(i.ownerDocument.documentElement,i)){if(f!==null&&yc(i)){var y=f.start,S=f.end;if(S===void 0&&(S=y),"selectionStart"in i)i.selectionStart=y,i.selectionEnd=Math.min(S,i.value.length);else{var E=i.ownerDocument||document,v=E&&E.defaultView||window;if(v.getSelection){var g=v.getSelection(),j=i.textContent.length,B=Math.min(f.start,j),rl=f.end===void 0?B:Math.min(f.end,j);!g.extend&&B>rl&&(c=rl,rl=B,B=c);var d=is(i,B),s=is(i,rl);if(d&&s&&(g.rangeCount!==1||g.anchorNode!==d.node||g.anchorOffset!==d.offset||g.focusNode!==s.node||g.focusOffset!==s.offset)){var r=E.createRange();r.setStart(d.node,d.offset),g.removeAllRanges(),B>rl?(g.addRange(r),g.extend(s.node,s.offset)):(r.setEnd(s.node,s.offset),g.addRange(r))}}}}for(E=[],g=i;g=g.parentNode;)g.nodeType===1&&E.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<E.length;i++){var T=E[i];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}Hn=!!Zi,Li=Zi=null}finally{nl=u,O.p=a,x.T=e}}l.current=t,Rl=2}}function A0(){if(Rl===2){Rl=0;var l=me,t=Sa,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=x.T,x.T=null;var a=O.p;O.p=2;var u=nl;nl|=4;try{Po(l,t.alternate,t)}finally{nl=u,O.p=a,x.T=e}}Rl=3}}function N0(){if(Rl===4||Rl===3){Rl=0,Yd();var l=me,t=Sa,e=Wt,a=m0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Rl=5:(Rl=0,Sa=me=null,_0(l,l.pendingLanes));var u=l.pendingLanes;if(u===0&&(de=null),kn(e),t=t.stateNode,et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(Oa,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=x.T,u=O.p,O.p=2,x.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{x.T=t,O.p=u}}(Wt&3)!==0&&Tn(),Dt(l),u=l.pendingLanes,(e&261930)!==0&&(u&42)!==0?l===Mi?su++:(su=0,Mi=l):su=0,ou(0)}}function _0(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Va(t)))}function Tn(){return z0(),A0(),N0(),O0()}function O0(){if(Rl!==5)return!1;var l=me,t=_i;_i=0;var e=kn(Wt),a=x.T,u=O.p;try{O.p=32>e?32:e,x.T=null,e=Oi,Oi=null;var n=me,c=Wt;if(Rl=0,Sa=me=null,Wt=0,(nl&6)!==0)throw Error(m(331));var i=nl;if(nl|=4,s0(n.current),c0(n,n.current,c,e),nl=i,ou(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(Oa,n)}catch{}return!0}finally{O.p=u,x.T=a,_0(l,t)}}function M0(l,t,e){t=vt(e,t),t=ii(l.stateNode,t,2),l=ne(l,t,2),l!==null&&(Da(l,2),Dt(l))}function fl(l,t,e){if(l.tag===3)M0(l,l,e);else for(;t!==null;){if(t.tag===3){M0(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(de===null||!de.has(a))){l=vt(e,l),e=Do(2),a=ne(t,e,2),a!==null&&(Uo(e,a,t,l),Da(a,2),Dt(a));break}}t=t.return}}function ji(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new sr;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)||(zi=!0,u.add(e),l=yr.bind(null,l,t,e),t.then(l,l))}function yr(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,vl===l&&(I&e)===e&&(zl===4||zl===3&&(I&62914560)===I&&300>tt()-hn?(nl&2)===0&&xa(l,0):Ai|=e,ba===I&&(ba=0)),Dt(l)}function D0(l,t){t===0&&(t=Ef()),l=Oe(l,t),l!==null&&(Da(l,t),Dt(l))}function vr(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),D0(l,e)}function hr(l,t){var e=0;switch(l.tag){case 31: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(m(314))}a!==null&&a.delete(t),D0(l,e)}function gr(l,t){return Kn(l,t)}var En=null,Ta=null,Ri=!1,zn=!1,Hi=!1,ye=0;function Dt(l){l!==Ta&&l.next===null&&(Ta===null?En=Ta=l:Ta=Ta.next=l),zn=!0,Ri||(Ri=!0,Sr())}function ou(l,t){if(!Hi&&zn){Hi=!0;do for(var e=!1,a=En;a!==null;){if(l!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var c=a.suspendedLanes,i=a.pingedLanes;n=(1<<31-at(42|l)+1)-1,n&=u&~(c&~i),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,H0(a,n))}else n=I,n=_u(a,a===vl?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||Ma(a,n)||(e=!0,H0(a,n));a=a.next}while(e);Hi=!1}}function br(){U0()}function U0(){zn=Ri=!1;var l=0;ye!==0&&Mr()&&(l=ye);for(var t=tt(),e=null,a=En;a!==null;){var u=a.next,n=j0(a,t);n===0?(a.next=null,e===null?En=u:e.next=u,u===null&&(Ta=e)):(e=a,(l!==0||(n&3)!==0)&&(zn=!0)),a=u}Rl!==0&&Rl!==5||ou(l),ye!==0&&(ye=0)}function j0(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var c=31-at(n),i=1<<c,f=u[c];f===-1?((i&e)===0||(i&a)!==0)&&(u[c]=Kd(i,t)):f<=t&&(l.expiredLanes|=i),n&=~i}if(t=vl,e=I,e=_u(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(il===2||il===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&Jn(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Ma(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&Jn(a),kn(e)){case 2:case 8:e=pf;break;case 32:e=Eu;break;case 268435456:e=Tf;break;default:e=Eu}return a=R0.bind(null,l),e=Kn(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&Jn(a),l.callbackPriority=2,l.callbackNode=null,2}function R0(l,t){if(Rl!==0&&Rl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Tn()&&l.callbackNode!==e)return null;var a=I;return a=_u(l,l===vl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(y0(l,a,t),j0(l,tt()),l.callbackNode!=null&&l.callbackNode===e?R0.bind(null,l):null)}function H0(l,t){if(Tn())return null;y0(l,t,!0)}function Sr(){Ur(function(){(nl&6)!==0?Kn(xf,br):U0()})}function Ci(){if(ye===0){var l=ia;l===0&&(l=zu,zu<<=1,(zu&261888)===0&&(zu=256)),ye=l}return ye}function C0(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Uu(""+l)}function q0(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 xr(l,t,e,a,u){if(t==="submit"&&e&&e.stateNode===u){var n=C0((u[Wl]||null).action),c=a.submitter;c&&(t=(t=c[Wl]||null)?C0(t.formAction):c.getAttribute("formAction"),t!==null&&(n=t,c=null));var i=new Cu("action","action",null,a,u);l.push({event:i,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ye!==0){var f=c?q0(u,c):new FormData(u);ti(e,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(i.preventDefault(),f=c?q0(u,c):new FormData(u),ti(e,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var qi=0;qi<bc.length;qi++){var Yi=bc[qi],pr=Yi.toLowerCase(),Tr=Yi[0].toUpperCase()+Yi.slice(1);Et(pr,"on"+Tr)}Et(ms,"onAnimationEnd"),Et(rs,"onAnimationIteration"),Et(ys,"onAnimationStart"),Et("dblclick","onDoubleClick"),Et("focusin","onFocus"),Et("focusout","onBlur"),Et(Bm,"onTransitionRun"),Et(Gm,"onTransitionStart"),Et(Xm,"onTransitionCancel"),Et(vs,"onTransitionEnd"),we("onMouseEnter",["mouseout","mouseover"]),we("onMouseLeave",["mouseout","mouseover"]),we("onPointerEnter",["pointerout","pointerover"]),we("onPointerLeave",["pointerout","pointerover"]),ze("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ze("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ze("onBeforeInput",["compositionend","keypress","textInput","paste"]),ze("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ze("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ze("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var du="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(" "),Er=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(du));function Y0(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,y=i.currentTarget;if(i=i.listener,f!==n&&u.isPropagationStopped())break l;n=i,u.currentTarget=y;try{n(u)}catch(S){Bu(S)}u.currentTarget=null,n=f}else for(c=0;c<a.length;c++){if(i=a[c],f=i.instance,y=i.currentTarget,i=i.listener,f!==n&&u.isPropagationStopped())break l;n=i,u.currentTarget=y;try{n(u)}catch(S){Bu(S)}u.currentTarget=null,n=f}}}}function F(l,t){var e=t[$n];e===void 0&&(e=t[$n]=new Set);var a=l+"__bubble";e.has(a)||(B0(t,l,2,!1),e.add(a))}function Bi(l,t,e){var a=0;t&&(a|=4),B0(e,l,a,t)}var An="_reactListening"+Math.random().toString(36).slice(2);function Gi(l){if(!l[An]){l[An]=!0,Df.forEach(function(e){e!=="selectionchange"&&(Er.has(e)||Bi(e,!1,l),Bi(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[An]||(t[An]=!0,Bi("selectionchange",!1,t))}}function B0(l,t,e,a){switch(rd(t)){case 2:var u=Fr;break;case 8:u=Ir;break;default:u=lf}e=u.bind(null,t,e,l),u=void 0,!nc||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 Xi(l,t,e,a,u){var n=a;if((t&1)===0&&(t&2)===0&&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=Ve(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}Zf(function(){var y=n,S=ac(e),E=[];l:{var v=hs.get(l);if(v!==void 0){var g=Cu,j=l;switch(l){case"keypress":if(Ru(e)===0)break l;case"keydown":case"keyup":g=hm;break;case"focusin":j="focus",g=sc;break;case"focusout":j="blur",g=sc;break;case"beforeblur":case"afterblur":g=sc;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":g=Kf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=um;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Sm;break;case ms:case rs:case ys:g=im;break;case vs:g=pm;break;case"scroll":case"scrollend":g=em;break;case"wheel":g=Em;break;case"copy":case"cut":case"paste":g=sm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=wf;break;case"toggle":case"beforetoggle":g=Am}var B=(t&4)!==0,rl=!B&&(l==="scroll"||l==="scrollend"),d=B?v!==null?v+"Capture":null:v;B=[];for(var s=y,r;s!==null;){var T=s;if(r=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||r===null||d===null||(T=Ra(s,d),T!=null&&B.push(mu(s,T,r))),rl)break;s=s.return}0<B.length&&(v=new g(v,j,null,e,S),E.push({event:v,listeners:B}))}}if((t&7)===0){l:{if(v=l==="mouseover"||l==="pointerover",g=l==="mouseout"||l==="pointerout",v&&e!==ec&&(j=e.relatedTarget||e.fromElement)&&(Ve(j)||j[Le]))break l;if((g||v)&&(v=S.window===S?S:(v=S.ownerDocument)?v.defaultView||v.parentWindow:window,g?(j=e.relatedTarget||e.toElement,g=y,j=j?Ve(j):null,j!==null&&(rl=C(j),B=j.tag,j!==rl||B!==5&&B!==27&&B!==6)&&(j=null)):(g=null,j=y),g!==j)){if(B=Kf,T="onMouseLeave",d="onMouseEnter",s="mouse",(l==="pointerout"||l==="pointerover")&&(B=wf,T="onPointerLeave",d="onPointerEnter",s="pointer"),rl=g==null?v:ja(g),r=j==null?v:ja(j),v=new B(T,s+"leave",g,e,S),v.target=rl,v.relatedTarget=r,T=null,Ve(S)===y&&(B=new B(d,s+"enter",j,e,S),B.target=r,B.relatedTarget=rl,T=B),rl=T,g&&j)t:{for(B=zr,d=g,s=j,r=0,T=d;T;T=B(T))r++;T=0;for(var Y=s;Y;Y=B(Y))T++;for(;0<r-T;)d=B(d),r--;for(;0<T-r;)s=B(s),T--;for(;r--;){if(d===s||s!==null&&d===s.alternate){B=d;break t}d=B(d),s=B(s)}B=null}else B=null;g!==null&&G0(E,v,g,B,!1),j!==null&&rl!==null&&G0(E,rl,j,B,!0)}}l:{if(v=y?ja(y):window,g=v.nodeName&&v.nodeName.toLowerCase(),g==="select"||g==="input"&&v.type==="file")var el=ts;else if(Pf(v))if(es)el=Cm;else{el=Rm;var H=jm}else g=v.nodeName,!g||g.toLowerCase()!=="input"||v.type!=="checkbox"&&v.type!=="radio"?y&&tc(y.elementType)&&(el=ts):el=Hm;if(el&&(el=el(l,y))){ls(E,el,e,S);break l}H&&H(l,v,y),l==="focusout"&&y&&v.type==="number"&&y.memoizedProps.value!=null&&lc(v,"number",v.value)}switch(H=y?ja(y):window,l){case"focusin":(Pf(H)||H.contentEditable==="true")&&(Pe=H,vc=y,Qa=null);break;case"focusout":Qa=vc=Pe=null;break;case"mousedown":hc=!0;break;case"contextmenu":case"mouseup":case"dragend":hc=!1,os(E,e,S);break;case"selectionchange":if(Ym)break;case"keydown":case"keyup":os(E,e,S)}var w;if(dc)l:{switch(l){case"compositionstart":var P="onCompositionStart";break l;case"compositionend":P="onCompositionEnd";break l;case"compositionupdate":P="onCompositionUpdate";break l}P=void 0}else Ie?Ff(l,e)&&(P="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(P="onCompositionStart");P&&(Wf&&e.locale!=="ko"&&(Ie||P!=="onCompositionStart"?P==="onCompositionEnd"&&Ie&&(w=Lf()):(It=S,cc="value"in It?It.value:It.textContent,Ie=!0)),H=Nn(y,P),0<H.length&&(P=new Jf(P,l,null,e,S),E.push({event:P,listeners:H}),w?P.data=w:(w=If(e),w!==null&&(P.data=w)))),(w=_m?Om(l,e):Mm(l,e))&&(P=Nn(y,"onBeforeInput"),0<P.length&&(H=new Jf("onBeforeInput","beforeinput",null,e,S),E.push({event:H,listeners:P}),H.data=w)),xr(E,l,y,e,S)}Y0(E,t)})}function mu(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Nn(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=Ra(l,e),u!=null&&a.unshift(mu(l,u,n)),u=Ra(l,t),u!=null&&a.push(mu(l,u,n))),l.tag===3)return a;l=l.return}return[]}function zr(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function G0(l,t,e,a,u){for(var n=t._reactName,c=[];e!==null&&e!==a;){var i=e,f=i.alternate,y=i.stateNode;if(i=i.tag,f!==null&&f===a)break;i!==5&&i!==26&&i!==27||y===null||(f=y,u?(y=Ra(e,n),y!=null&&c.unshift(mu(e,y,f))):u||(y=Ra(e,n),y!=null&&c.push(mu(e,y,f)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}var Ar=/\r\n?/g,Nr=/\u0000|\uFFFD/g;function X0(l){return(typeof l=="string"?l:""+l).replace(Ar,`
`).replace(Nr,"")}function Q0(l,t){return t=X0(t),X0(l)===t}function ml(l,t,e,a,u,n){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ke(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ke(l,""+a);break;case"className":Mu(l,"class",a);break;case"tabIndex":Mu(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Mu(l,e,a);break;case"style":Xf(l,a,n);break;case"data":if(t!=="object"){Mu(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=Uu(""+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"&&ml(l,t,"name",u.name,u,null),ml(l,t,"formEncType",u.formEncType,u,null),ml(l,t,"formMethod",u.formMethod,u,null),ml(l,t,"formTarget",u.formTarget,u,null)):(ml(l,t,"encType",u.encType,u,null),ml(l,t,"method",u.method,u,null),ml(l,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Uu(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=Rt);break;case"onScroll":a!=null&&F("scroll",l);break;case"onScrollEnd":a!=null&&F("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(m(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(m(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=Uu(""+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":F("beforetoggle",l),F("toggle",l),Ou(l,"popover",a);break;case"xlinkActuate":jt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":jt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":jt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":jt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":jt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":jt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":jt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":jt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":jt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ou(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=lm.get(e)||e,Ou(l,e,a))}}function Qi(l,t,e,a,u,n){switch(e){case"style":Xf(l,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(m(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(m(60));l.innerHTML=e}}break;case"children":typeof a=="string"?ke(l,a):(typeof a=="number"||typeof a=="bigint")&&ke(l,""+a);break;case"onScroll":a!=null&&F("scroll",l);break;case"onScrollEnd":a!=null&&F("scrollend",l);break;case"onClick":a!=null&&(l.onclick=Rt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Uf.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[Wl]||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,""):Ou(l,e,a)}}}function Zl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":F("error",l),F("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(m(137,t));default:ml(l,t,n,c,e,null)}}u&&ml(l,t,"srcSet",e.srcSet,e,null),a&&ml(l,t,"src",e.src,e,null);return;case"input":F("invalid",l);var i=n=c=u=null,f=null,y=null;for(a in e)if(e.hasOwnProperty(a)){var S=e[a];if(S!=null)switch(a){case"name":u=S;break;case"type":c=S;break;case"checked":f=S;break;case"defaultChecked":y=S;break;case"value":n=S;break;case"defaultValue":i=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(m(137,t));break;default:ml(l,t,a,S,e,null)}}qf(l,n,i,f,y,c,u,!1);return;case"select":F("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:ml(l,t,u,i,e,null)}t=n,e=c,l.multiple=!!a,t!=null?We(l,!!a,t,!1):e!=null&&We(l,!!a,e,!0);return;case"textarea":F("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(m(91));break;default:ml(l,t,c,i,e,null)}Bf(l,a,u,n);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:ml(l,t,f,a,e,null)}return;case"dialog":F("beforetoggle",l),F("toggle",l),F("cancel",l),F("close",l);break;case"iframe":case"object":F("load",l);break;case"video":case"audio":for(a=0;a<du.length;a++)F(du[a],l);break;case"image":F("error",l),F("load",l);break;case"details":F("toggle",l);break;case"embed":case"source":case"link":F("error",l),F("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(y in e)if(e.hasOwnProperty(y)&&(a=e[y],a!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(m(137,t));default:ml(l,t,y,a,e,null)}return;default:if(tc(t)){for(S in e)e.hasOwnProperty(S)&&(a=e[S],a!==void 0&&Qi(l,t,S,a,e,void 0));return}}for(i in e)e.hasOwnProperty(i)&&(a=e[i],a!=null&&ml(l,t,i,a,e,null))}function _r(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,y=null,S=null;for(g in e){var E=e[g];if(e.hasOwnProperty(g)&&E!=null)switch(g){case"checked":break;case"value":break;case"defaultValue":f=E;default:a.hasOwnProperty(g)||ml(l,t,g,null,a,E)}}for(var v in a){var g=a[v];if(E=e[v],a.hasOwnProperty(v)&&(g!=null||E!=null))switch(v){case"type":n=g;break;case"name":u=g;break;case"checked":y=g;break;case"defaultChecked":S=g;break;case"value":c=g;break;case"defaultValue":i=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(m(137,t));break;default:g!==E&&ml(l,t,v,g,a,E)}}Pn(l,c,i,f,y,S,n,u);return;case"select":g=c=i=v=null;for(n in e)if(f=e[n],e.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":g=f;default:a.hasOwnProperty(n)||ml(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":v=n;break;case"defaultValue":i=n;break;case"multiple":c=n;default:n!==f&&ml(l,t,u,n,a,f)}t=i,e=c,a=g,v!=null?We(l,!!e,v,!1):!!a!=!!e&&(t!=null?We(l,!!e,t,!0):We(l,!!e,e?[]:"",!1));return;case"textarea":g=v=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:ml(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":v=u;break;case"defaultValue":g=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(m(91));break;default:u!==n&&ml(l,t,c,u,a,n)}Yf(l,v,g);return;case"option":for(var j in e)if(v=e[j],e.hasOwnProperty(j)&&v!=null&&!a.hasOwnProperty(j))switch(j){case"selected":l.selected=!1;break;default:ml(l,t,j,null,a,v)}for(f in a)if(v=a[f],g=e[f],a.hasOwnProperty(f)&&v!==g&&(v!=null||g!=null))switch(f){case"selected":l.selected=v&&typeof v!="function"&&typeof v!="symbol";break;default:ml(l,t,f,v,a,g)}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 B in e)v=e[B],e.hasOwnProperty(B)&&v!=null&&!a.hasOwnProperty(B)&&ml(l,t,B,null,a,v);for(y in a)if(v=a[y],g=e[y],a.hasOwnProperty(y)&&v!==g&&(v!=null||g!=null))switch(y){case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(m(137,t));break;default:ml(l,t,y,v,a,g)}return;default:if(tc(t)){for(var rl in e)v=e[rl],e.hasOwnProperty(rl)&&v!==void 0&&!a.hasOwnProperty(rl)&&Qi(l,t,rl,void 0,a,v);for(S in a)v=a[S],g=e[S],!a.hasOwnProperty(S)||v===g||v===void 0&&g===void 0||Qi(l,t,S,v,a,g);return}}for(var d in e)v=e[d],e.hasOwnProperty(d)&&v!=null&&!a.hasOwnProperty(d)&&ml(l,t,d,null,a,v);for(E in a)v=a[E],g=e[E],!a.hasOwnProperty(E)||v===g||v==null&&g==null||ml(l,t,E,v,a,g)}function Z0(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Or(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var u=e[a],n=u.transferSize,c=u.initiatorType,i=u.duration;if(n&&i&&Z0(c)){for(c=0,i=u.responseEnd,a+=1;a<e.length;a++){var f=e[a],y=f.startTime;if(y>i)break;var S=f.transferSize,E=f.initiatorType;S&&Z0(E)&&(f=f.responseEnd,c+=S*(f<i?1:(i-y)/(f-y)))}if(--a,t+=8*(n+c)/(u.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var Zi=null,Li=null;function _n(l){return l.nodeType===9?l:l.ownerDocument}function L0(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 V0(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 Vi(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 Ki=null;function Mr(){var l=window.event;return l&&l.type==="popstate"?l===Ki?!1:(Ki=l,!0):(Ki=null,!1)}var K0=typeof setTimeout=="function"?setTimeout:void 0,Dr=typeof clearTimeout=="function"?clearTimeout:void 0,J0=typeof Promise=="function"?Promise:void 0,Ur=typeof queueMicrotask=="function"?queueMicrotask:typeof J0<"u"?function(l){return J0.resolve(null).then(l).catch(jr)}:K0;function jr(l){setTimeout(function(){throw l})}function ve(l){return l==="head"}function w0(l,t){var e=t,a=0;do{var u=e.nextSibling;if(l.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(u),Na(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")ru(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,ru(e);for(var n=e.firstChild;n;){var c=n.nextSibling,i=n.nodeName;n[Ua]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=c}}else e==="body"&&ru(l.ownerDocument.body);e=u}while(e);Na(t)}function W0(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}function Ji(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":Ji(e),Fn(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function Rr(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[Ua])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=xt(l.nextSibling),l===null)break}return null}function Hr(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=xt(l.nextSibling),l===null))return null;return l}function k0(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=xt(l.nextSibling),l===null))return null;return l}function wi(l){return l.data==="$?"||l.data==="$~"}function Wi(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Cr(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function xt(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==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}var ki=null;function $0(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return xt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function F0(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}function I0(l,t,e){switch(t=_n(e),l){case"html":if(l=t.documentElement,!l)throw Error(m(452));return l;case"head":if(l=t.head,!l)throw Error(m(453));return l;case"body":if(l=t.body,!l)throw Error(m(454));return l;default:throw Error(m(451))}}function ru(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);Fn(l)}var pt=new Map,P0=new Set;function On(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var kt=O.d;O.d={f:qr,r:Yr,D:Br,C:Gr,L:Xr,m:Qr,X:Lr,S:Zr,M:Vr};function qr(){var l=kt.f(),t=Sn();return l||t}function Yr(l){var t=Ke(l);t!==null&&t.tag===5&&t.type==="form"?ho(t):kt.r(l)}var Ea=typeof document>"u"?null:document;function ld(l,t,e){var a=Ea;if(a&&typeof t=="string"&&t){var u=rt(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),P0.has(u)||(P0.add(u),l={rel:l,crossOrigin:e,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),Zl(t,"link",l),Cl(t),a.head.appendChild(t)))}}function Br(l){kt.D(l),ld("dns-prefetch",l,null)}function Gr(l,t){kt.C(l,t),ld("preconnect",l,t)}function Xr(l,t,e){kt.L(l,t,e);var a=Ea;if(a&&l&&t){var u='link[rel="preload"][as="'+rt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+rt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+rt(e.imageSizes)+'"]')):u+='[href="'+rt(l)+'"]';var n=u;switch(t){case"style":n=za(l);break;case"script":n=Aa(l)}pt.has(n)||(l=U({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),pt.set(n,l),a.querySelector(u)!==null||t==="style"&&a.querySelector(yu(n))||t==="script"&&a.querySelector(vu(n))||(t=a.createElement("link"),Zl(t,"link",l),Cl(t),a.head.appendChild(t)))}}function Qr(l,t){kt.m(l,t);var e=Ea;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+rt(a)+'"][href="'+rt(l)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Aa(l)}if(!pt.has(n)&&(l=U({rel:"modulepreload",href:l},t),pt.set(n,l),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(vu(n)))return}a=e.createElement("link"),Zl(a,"link",l),Cl(a),e.head.appendChild(a)}}}function Zr(l,t,e){kt.S(l,t,e);var a=Ea;if(a&&l){var u=Je(a).hoistableStyles,n=za(l);t=t||"default";var c=u.get(n);if(!c){var i={loading:0,preload:null};if(c=a.querySelector(yu(n)))i.loading=5;else{l=U({rel:"stylesheet",href:l,"data-precedence":t},e),(e=pt.get(n))&&$i(l,e);var f=c=a.createElement("link");Cl(f),Zl(f,"link",l),f._p=new Promise(function(y,S){f.onload=y,f.onerror=S}),f.addEventListener("load",function(){i.loading|=1}),f.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Mn(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:i},u.set(n,c)}}}function Lr(l,t){kt.X(l,t);var e=Ea;if(e&&l){var a=Je(e).hoistableScripts,u=Aa(l),n=a.get(u);n||(n=e.querySelector(vu(u)),n||(l=U({src:l,async:!0},t),(t=pt.get(u))&&Fi(l,t),n=e.createElement("script"),Cl(n),Zl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Vr(l,t){kt.M(l,t);var e=Ea;if(e&&l){var a=Je(e).hoistableScripts,u=Aa(l),n=a.get(u);n||(n=e.querySelector(vu(u)),n||(l=U({src:l,async:!0,type:"module"},t),(t=pt.get(u))&&Fi(l,t),n=e.createElement("script"),Cl(n),Zl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function td(l,t,e,a){var u=(u=k.current)?On(u):null;if(!u)throw Error(m(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=za(e.href),e=Je(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=za(e.href);var n=Je(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(yu(l)))&&!n._p&&(c.instance=n,c.state.loading=5),pt.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},pt.set(l,e),n||Kr(u,l,e,c.state))),t&&a===null)throw Error(m(528,""));return c}if(t&&a!==null)throw Error(m(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Aa(e),e=Je(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(m(444,l))}}function za(l){return'href="'+rt(l)+'"'}function yu(l){return'link[rel="stylesheet"]['+l+"]"}function ed(l){return U({},l,{"data-precedence":l.precedence,precedence:null})}function Kr(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}),Zl(t,"link",e),Cl(t),l.head.appendChild(t))}function Aa(l){return'[src="'+rt(l)+'"]'}function vu(l){return"script[async]"+l}function ad(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+rt(e.href)+'"]');if(a)return t.instance=a,Cl(a),a;var u=U({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Cl(a),Zl(a,"style",u),Mn(a,e.precedence,l),t.instance=a;case"stylesheet":u=za(e.href);var n=l.querySelector(yu(u));if(n)return t.state.loading|=4,t.instance=n,Cl(n),n;a=ed(e),(u=pt.get(u))&&$i(a,u),n=(l.ownerDocument||l).createElement("link"),Cl(n);var c=n;return c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Zl(n,"link",a),t.state.loading|=4,Mn(n,e.precedence,l),t.instance=n;case"script":return n=Aa(e.src),(u=l.querySelector(vu(n)))?(t.instance=u,Cl(u),u):(a=e,(u=pt.get(n))&&(a=U({},e),Fi(a,u)),l=l.ownerDocument||l,u=l.createElement("script"),Cl(u),Zl(u,"link",a),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(m(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Mn(a,e.precedence,l));return t.instance}function Mn(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 $i(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function Fi(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Dn=null;function ud(l,t,e){if(Dn===null){var a=new Map,u=Dn=new Map;u.set(e,a)}else u=Dn,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[Ua]||n[Bl]||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 nd(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function Jr(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 cd(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function wr(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=za(a.href),n=t.querySelector(yu(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Un.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=n,Cl(n);return}n=t.ownerDocument||t,a=ed(a),(u=pt.get(u))&&$i(a,u),n=n.createElement("link"),Cl(n);var c=n;c._p=new Promise(function(i,f){c.onload=i,c.onerror=f}),Zl(n,"link",a),e.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Un.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var Ii=0;function Wr(l,t){return l.stylesheets&&l.count===0&&Rn(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Rn(l,l.stylesheets),l.unsuspend){var n=l.unsuspend;l.unsuspend=null,n()}},6e4+t);0<l.imgBytes&&Ii===0&&(Ii=62500*Or());var u=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Rn(l,l.stylesheets),l.unsuspend)){var n=l.unsuspend;l.unsuspend=null,n()}},(l.imgBytes>Ii?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Un(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Rn(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var jn=null;function Rn(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,jn=new Map,t.forEach(kr,l),jn=null,Un.call(l))}function kr(l,t){if(!(t.state.loading&4)){var e=jn.get(l);if(e)var a=e.get(null);else{e=new Map,jn.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=Un.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 hu={$$typeof:tl,Provider:null,Consumer:null,_currentValue:G,_currentValue2:G,_threadCount:0};function $r(l,t,e,a,u,n,c,i,f){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=wn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wn(0),this.hiddenUpdates=wn(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function id(l,t,e,a,u,n,c,i,f,y,S,E){return l=new $r(l,t,e,c,f,y,S,E,i),t=1,n===!0&&(t|=24),n=nt(3,null,null,t),l.current=n,n.stateNode=l,t=Uc(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:t},Cc(n),l}function fd(l){return l?(l=ea,l):ea}function sd(l,t,e,a,u,n){u=fd(u),a.context===null?a.context=u:a.pendingContext=u,a=ue(t),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=ne(l,a,t),e!==null&&(lt(e,l,t),Wa(e,l,t))}function od(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function Pi(l,t){od(l,t),(l=l.alternate)&&od(l,t)}function dd(l){if(l.tag===13||l.tag===31){var t=Oe(l,67108864);t!==null&&lt(t,l,67108864),Pi(l,67108864)}}function md(l){if(l.tag===13||l.tag===31){var t=ot();t=Wn(t);var e=Oe(l,t);e!==null&&lt(e,l,t),Pi(l,t)}}var Hn=!0;function Fr(l,t,e,a){var u=x.T;x.T=null;var n=O.p;try{O.p=2,lf(l,t,e,a)}finally{O.p=n,x.T=u}}function Ir(l,t,e,a){var u=x.T;x.T=null;var n=O.p;try{O.p=8,lf(l,t,e,a)}finally{O.p=n,x.T=u}}function lf(l,t,e,a){if(Hn){var u=tf(a);if(u===null)Xi(l,t,a,Cn,e),yd(l,a);else if(ly(u,l,t,e,a))a.stopPropagation();else if(yd(l,a),t&4&&-1<Pr.indexOf(l)){for(;u!==null;){var n=Ke(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var c=Ee(n.pendingLanes);if(c!==0){var i=n;for(i.pendingLanes|=2,i.entangledLanes|=2;c;){var f=1<<31-at(c);i.entanglements[1]|=f,c&=~f}Dt(n),(nl&6)===0&&(gn=tt()+500,ou(0))}}break;case 31:case 13:i=Oe(n,2),i!==null&&lt(i,n,2),Sn(),Pi(n,2)}if(n=tf(a),n===null&&Xi(l,t,a,Cn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else Xi(l,t,a,null,e)}}function tf(l){return l=ac(l),ef(l)}var Cn=null;function ef(l){if(Cn=null,l=Ve(l),l!==null){var t=C(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=L(t),l!==null)return l;l=null}else if(e===31){if(l=X(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 Cn=l,null}function rd(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(Bd()){case xf:return 2;case pf:return 8;case Eu:case Gd:return 32;case Tf:return 268435456;default:return 32}default:return 32}}var af=!1,he=null,ge=null,be=null,gu=new Map,bu=new Map,Se=[],Pr="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 yd(l,t){switch(l){case"focusin":case"focusout":he=null;break;case"dragenter":case"dragleave":ge=null;break;case"mouseover":case"mouseout":be=null;break;case"pointerover":case"pointerout":gu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bu.delete(t.pointerId)}}function Su(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=Ke(t),t!==null&&dd(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function ly(l,t,e,a,u){switch(t){case"focusin":return he=Su(he,l,t,e,a,u),!0;case"dragenter":return ge=Su(ge,l,t,e,a,u),!0;case"mouseover":return be=Su(be,l,t,e,a,u),!0;case"pointerover":var n=u.pointerId;return gu.set(n,Su(gu.get(n)||null,l,t,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,bu.set(n,Su(bu.get(n)||null,l,t,e,a,u)),!0}return!1}function vd(l){var t=Ve(l.target);if(t!==null){var e=C(t);if(e!==null){if(t=e.tag,t===13){if(t=L(e),t!==null){l.blockedOn=t,Of(l.priority,function(){md(e)});return}}else if(t===31){if(t=X(e),t!==null){l.blockedOn=t,Of(l.priority,function(){md(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function qn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=tf(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);ec=a,e.target.dispatchEvent(a),ec=null}else return t=Ke(e),t!==null&&dd(t),l.blockedOn=e,!1;t.shift()}return!0}function hd(l,t,e){qn(l)&&e.delete(t)}function ty(){af=!1,he!==null&&qn(he)&&(he=null),ge!==null&&qn(ge)&&(ge=null),be!==null&&qn(be)&&(be=null),gu.forEach(hd),bu.forEach(hd)}function Yn(l,t){l.blockedOn===t&&(l.blockedOn=null,af||(af=!0,b.unstable_scheduleCallback(b.unstable_NormalPriority,ty)))}var Bn=null;function gd(l){Bn!==l&&(Bn=l,b.unstable_scheduleCallback(b.unstable_NormalPriority,function(){Bn===l&&(Bn=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(ef(a||e)===null)continue;break}var n=Ke(e);n!==null&&(l.splice(t,3),t-=3,ti(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Na(l){function t(f){return Yn(f,l)}he!==null&&Yn(he,l),ge!==null&&Yn(ge,l),be!==null&&Yn(be,l),gu.forEach(t),bu.forEach(t);for(var e=0;e<Se.length;e++){var a=Se[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Se.length&&(e=Se[0],e.blockedOn===null);)vd(e),e.blockedOn===null&&Se.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[Wl]||null;if(typeof n=="function")c||gd(e);else if(c){var i=null;if(n&&n.hasAttribute("formAction")){if(u=n,c=n[Wl]||null)i=c.formAction;else if(ef(u)!==null)continue}else i=c.action;typeof i=="function"?e[a+1]=i:(e.splice(a,3),a-=3),gd(e)}}}function bd(){function l(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(c){return u=c})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function uf(l){this._internalRoot=l}Gn.prototype.render=uf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(m(409));var e=t.current,a=ot();sd(e,a,l,t,null,null)},Gn.prototype.unmount=uf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;sd(l.current,2,null,l,null,null),Sn(),t[Le]=null}};function Gn(l){this._internalRoot=l}Gn.prototype.unstable_scheduleHydration=function(l){if(l){var t=_f();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Se.length&&t!==0&&t<Se[e].priority;e++);Se.splice(e,0,l),e===0&&vd(l)}};var Sd=N.version;if(Sd!=="19.2.5")throw Error(m(527,Sd,"19.2.5"));O.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(m(188)):(l=Object.keys(l).join(","),Error(m(268,l)));return l=p(t),l=l!==null?V(l):null,l=l===null?null:l.stateNode,l};var ey={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xn.isDisabled&&Xn.supportsFiber)try{Oa=Xn.inject(ey),et=Xn}catch{}}return pu.createRoot=function(l,t){if(!A(l))throw Error(m(299));var e=!1,a="",u=No,n=_o,c=Oo;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=id(l,1,!1,null,null,e,a,null,u,n,c,bd),l[Le]=t.current,Gi(l),new uf(t)},pu.hydrateRoot=function(l,t,e){if(!A(l))throw Error(m(299));var a=!1,u="",n=No,c=_o,i=Oo,f=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.formState!==void 0&&(f=e.formState)),t=id(l,1,!0,t,e??null,a,u,f,n,c,i,bd),t.context=fd(null),e=t.current,a=ot(),a=Wn(a),u=ue(a),u.callback=null,ne(e,u,a),e=a,t.current.lanes=e,Da(t,e),Dt(t),l[Le]=t.current,Gi(l),new Gn(t)},pu.version="19.2.5",pu}var Md;function my(){if(Md)return ff.exports;Md=1;function b(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(N){console.error(N)}}return b(),ff.exports=dy(),ff.exports}var ry=my();const rf="ABCDEFGHIJKLMNOPQRSTUVWXYZ",yf="abcdefghijklmnopqrstuvwxyz",vf="0123456789",hf="!@#$%^&*()_+-=[]{}|;:,.<>?",Dd=rf+yf+vf+hf;function Qe(b){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"){const N=new Uint32Array(1);return crypto.getRandomValues(N),N[0]%b}return Math.floor(Math.random()*b)}function yy(b){for(let N=b.length-1;N>0;N--){const _=Qe(N+1);[b[N],b[_]]=[b[_],b[N]]}return b}function vy(b){const N=12+Qe(5),_=[rf[Qe(rf.length)],yf[Qe(yf.length)],vf[Qe(vf.length)],hf[Qe(hf.length)]];for(let m=4;m<N;m++)_.push(Dd[Qe(Dd.length)]);return yy(_).join("")}function hy(){const[b,N]=q.useState(0),[_,m]=q.useState(!1),A=q.useRef(0),C=q.useRef(0),L=q.useRef(0),X=q.useRef(!1),D=q.useCallback(()=>{if(!X.current)return;const W=performance.now(),ul=A.current+(W-C.current);N(ul),L.current=requestAnimationFrame(D)},[]),p=q.useCallback(()=>{X.current||(C.current=performance.now(),X.current=!0,m(!0),L.current=requestAnimationFrame(D))},[D]),V=q.useCallback(()=>{if(!X.current)return A.current;cancelAnimationFrame(L.current);const W=performance.now(),ul=A.current+(W-C.current);return A.current=ul,X.current=!1,m(!1),N(ul),ul},[]),U=q.useCallback(()=>{X.current&&cancelAnimationFrame(L.current),A.current=0,C.current=0,X.current=!1,m(!1),N(0)},[]);return q.useEffect(()=>()=>{L.current&&cancelAnimationFrame(L.current)},[]),{elapsed:b,isRunning:_,start:p,stop:V,reset:U}}function gy({elapsedMs:b}){const N=b/1e3,_=`${N.toFixed(2)}s`;return h.jsxs("div",{className:"bg-navy-800/50 rounded-lg p-4 border border-navy-700",children:[h.jsx("div",{className:"text-slate-400 text-sm uppercase tracking-wider mb-1",children:"Elapsed Time"}),h.jsx("time",{className:"text-3xl md:text-4xl font-mono font-semibold text-teal-400 tabular-nums",dateTime:`PT${N.toFixed(2)}S`,"aria-label":`${N.toFixed(2)} seconds elapsed`,children:_})]})}function by({onComplete:b}){const[N]=q.useState(()=>vy()),[_,m]=q.useState(""),A=q.useRef(null),C=q.useRef(!1),{elapsed:L,start:X,stop:D}=hy();q.useEffect(()=>{var U;(U=A.current)==null||U.focus()},[]);const p=_.length>0&&N.substring(0,_.length)!==_,V=q.useCallback(U=>{const W=U.target.value;if(m(W),C.current||(X(),C.current=!0),W===N){const ul=D();b(ul)}},[N,X,D,b]);return h.jsxs(h.Fragment,{children:[h.jsx("style",{children:`
        @keyframes shake {
          0%, 100% { transform: translateX(0); }
          25% { transform: translateX(-4px); }
          75% { transform: translateX(4px); }
        }
      `}),h.jsxs("section",{className:"flex flex-col items-center justify-center min-h-[70vh] px-4 gap-8","aria-label":"Legacy Password Entry Challenge",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("h2",{className:"text-2xl font-semibold text-white",children:"Legacy Password Entry"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Type the password below as fast as you can"})]}),h.jsxs("div",{className:"bg-navy-800 rounded-xl px-8 py-4 border border-navy-700 text-center",children:[h.jsx("div",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Target Password"}),h.jsx("code",{className:"text-xl md:text-2xl font-mono text-white tracking-widest select-all break-all",children:N})]}),h.jsx(gy,{elapsedMs:L}),h.jsx("input",{ref:A,type:"text",value:_,onChange:V,placeholder:"Type the password above...",className:`bg-navy-800 border-2 rounded-lg px-4 py-3 text-lg font-mono text-white w-full max-w-md
            focus:outline-none focus:border-teal-400 transition-colors
            ${p?"border-red-500":"border-navy-700"}`,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,"aria-label":"Type the target password","aria-describedby":p?"password-mismatch-hint":void 0}),p&&h.jsx("p",{id:"password-mismatch-hint",className:"text-red-400 text-sm animate-[shake_300ms_ease-in-out]",role:"alert",children:"Characters don't match — keep typing!"})]})]})}function Sy(){return h.jsxs("svg",{viewBox:"0 0 120 120",fill:"none","aria-hidden":"true",className:"w-40 h-40 md:w-44 md:h-44",children:[h.jsx("circle",{cx:"60",cy:"55",r:"38",fill:"#1a2332",stroke:"#334155",strokeWidth:"1.5"}),h.jsx("path",{d:"M26 40 Q60 18 94 40",fill:"none",stroke:"#243447",strokeWidth:"3",strokeLinecap:"round"}),h.jsx("rect",{x:"26",y:"44",width:"26",height:"16",rx:"4",fill:"none",stroke:"#00b4c5",strokeWidth:"1.5"}),h.jsx("rect",{x:"68",y:"44",width:"26",height:"16",rx:"4",fill:"none",stroke:"#00b4c5",strokeWidth:"1.5"}),h.jsx("line",{x1:"52",y1:"52",x2:"68",y2:"52",stroke:"#00b4c5",strokeWidth:"1.5"}),h.jsx("circle",{cx:"39",cy:"52",r:"2",fill:"#94a3b8"}),h.jsx("circle",{cx:"81",cy:"52",r:"2",fill:"#94a3b8"}),h.jsx("path",{d:"M60 54 L60 66",stroke:"#334155",strokeWidth:"1",strokeLinecap:"round"}),h.jsx("path",{d:"M48 74 Q60 82 72 74",fill:"none",stroke:"#64748b",strokeWidth:"1.3",strokeLinecap:"round"}),h.jsx("ellipse",{cx:"22",cy:"55",rx:"4",ry:"6",fill:"#1a2332",stroke:"#334155",strokeWidth:"1"}),h.jsx("ellipse",{cx:"98",cy:"55",rx:"4",ry:"6",fill:"#1a2332",stroke:"#334155",strokeWidth:"1"})]})}const xy=`
@keyframes avatarReveal {
  0%   { transform: scale(0.2); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
`;function py({onComplete:b}){const[N,_]=q.useState("ready"),m=q.useRef(null),A=q.useCallback(()=>{_("playing")},[]);q.useEffect(()=>{if(N==="playing"){const L=m.current;L?L.play().catch(()=>{}):requestAnimationFrame(()=>{var X;return(X=m.current)==null?void 0:X.play().catch(()=>{})})}},[N]);const C=q.useCallback(()=>{_("result"),setTimeout(()=>{b()},2e3)},[b]);return h.jsxs("div",{className:"flex flex-col items-center min-h-[60vh] px-4",children:[h.jsx("style",{children:xy}),N==="ready"&&h.jsxs("div",{className:"flex flex-col items-center justify-center flex-1 gap-8",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("p",{className:"text-xs uppercase tracking-[0.25em] text-teal-400/70 font-semibold mb-1",children:"Secured by"}),h.jsx("h2",{className:"text-2xl md:text-3xl font-semibold text-white",children:"Ping Identity"}),h.jsx("p",{className:"text-slate-400 mt-1 text-sm md:text-base",children:"Facial Biometric Authentication"})]}),h.jsx("p",{className:"text-slate-300 text-base text-center max-w-xs",children:"Are you ready for the facial scan?"}),h.jsx("button",{type:"button",onClick:A,className:"px-10 py-4 rounded-xl font-semibold text-lg bg-gradient-to-r from-teal-400 to-emerald-400 text-navy-950 hover:from-teal-500 hover:to-emerald-500 active:scale-[0.97] shadow-lg shadow-teal-400/15 transition-all duration-200 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-teal-400",children:"START"})]}),N==="playing"&&h.jsxs("div",{className:"flex flex-col flex-1 w-full max-w-2xl mx-auto py-4 gap-4",children:[h.jsx("div",{className:"text-center",children:h.jsx("p",{className:"text-xs uppercase tracking-[0.25em] text-teal-400/70 font-semibold",children:"Ping Identity — Facial Recognition Demo"})}),h.jsx("div",{className:"flex-1 rounded-2xl overflow-hidden bg-black border border-navy-700",children:h.jsx("video",{ref:m,src:"/ping/Ping_idv_demo.webm",muted:!0,playsInline:!0,preload:"auto",className:"w-full h-full object-contain",onEnded:C})}),h.jsx("p",{className:"text-center text-xs text-slate-500",children:"Playing demo — the video will proceed automatically"})]}),N==="result"&&h.jsxs("div",{className:"flex flex-col items-center justify-center flex-1 gap-6",children:[h.jsx("div",{style:{animation:"avatarReveal 600ms ease-out both"},children:h.jsx("div",{className:"bg-navy-900 rounded-full p-2 shadow-lg shadow-teal-400/10",children:h.jsx(Sy,{})})}),h.jsxs("div",{className:"text-center",children:[h.jsx("p",{className:"text-teal-400 text-lg font-semibold",children:"Facial biometric template created"}),h.jsx("p",{className:"text-slate-500 text-sm mt-1",children:"Your facial data is converted to a non-identifiable template"})]})]})]})}const mf="ping-speed-run-leaderboard",Ud="ping-speed-run-session",Ty=9e5;function Ey(){try{const b=localStorage.getItem(Ud);if(b)return b;const N=typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`;return localStorage.setItem(Ud,N),N}catch{return`ephemeral-${Math.random().toString(36).slice(2)}`}}function zy(b){try{const N=localStorage.getItem(b);if(!N)return[];const _=JSON.parse(N);return Array.isArray(_)?_.length>0&&typeof _[0]=="object"&&_[0]!==null&&"sessionId"in _[0]?_.filter(A=>typeof A.sessionId=="string"&&typeof A.timeSec=="number"&&!isNaN(A.timeSec)):_.filter(A=>typeof A=="number"&&!isNaN(A)).map((A,C)=>({sessionId:`ghost-${C}`,timeSec:A})):[]}catch{return[]}}function jd(b,N){try{localStorage.setItem(b,JSON.stringify(N))}catch{}}function Rd(b){return[...b].sort((N,_)=>N.timeSec-_.timeSec)}function Ay(b){return b.map(N=>N.timeSec)}function Ny(b,N){return b.length<10?!0:N<b[9]}function _y(b,N){let _=1;for(const m of b){if(N<=m)break;_++}return _<=10?_:-1}function Oy(b,N){const _=b.length;if(_===0||N%_===0)return b;const m=N%_;return[...b.slice(m),...b.slice(0,m)]}function Hd(){const b=q.useRef(Ey()),[N,_]=q.useState(()=>Rd(zy(mf))),[m,A]=q.useState(null),[C,L]=q.useState(0),X=q.useMemo(()=>Ay(N),[N]),D=q.useRef(N),p=q.useRef(X);q.useEffect(()=>{D.current=N},[N]),q.useEffect(()=>{p.current=X},[X]);const V="ping-speed-run-name",[U,W]=q.useState(()=>{try{return localStorage.getItem(V)??""}catch{return""}}),ul=q.useCallback(tl=>{W(tl);try{localStorage.setItem(V,tl)}catch{}const Al=D.current,Hl=b.current;if(Al.some(Z=>Z.sessionId===Hl)){const Z=Al.map(Tl=>Tl.sessionId===Hl?{...Tl,name:tl}:Tl);D.current=Z,_(Z),jd(mf,Z)}},[]),xl=q.useCallback(tl=>{const Al=D.current,Hl=b.current,Yl=Al.filter(dt=>dt.sessionId!==Hl),Z=pl.current,Tl=Rd([...Yl,{sessionId:Hl,timeSec:tl,name:Z||void 0}]);D.current=Tl,_(Tl),A(tl),jd(mf,Tl)},[]),sl=q.useCallback(tl=>Ny(p.current,tl),[]),Vl=q.useCallback(tl=>_y(p.current,tl),[]);q.useEffect(()=>{const tl=setInterval(()=>{D.current.length>10&&L(Al=>Al+1)},Ty);return()=>clearInterval(tl)},[]);const hl=q.useMemo(()=>{if(X.length<=10)return X;const tl=X.slice(0,5),Al=X.slice(5,10),Hl=Oy(Al,C);return[...tl,...Hl]},[X,C]),pl=q.useRef(U);return q.useEffect(()=>{pl.current=U},[U]),{topScores:X,displayScores:hl,scoreEntries:N,addScore:xl,lastAddedScore:m,isTopTen:sl,getRank:Vl,setPlayerName:ul,playerName:U}}function My(b){return`${b.toFixed(2)}s`}function Dy(b){return`${b.toFixed(1)}`}function Uy({legacyTimeMs:b,shotsRemaining:N,onTryAgain:_,onViewLeaderboard:m}){const A=b/1e3,C=.8,L=A-C,X=600,D=L*X/3600,p=Math.abs(A-C)<.01,V=p?1:A/C,{addScore:U,getRank:W}=Hd(),ul=W(A),xl=q.useRef(!1);q.useEffect(()=>{xl.current||(xl.current=!0,U(A))},[A,U]);const sl=Vl=>({animation:"resultsFadeInUp 300ms ease-out both",animationDelay:`${Vl}ms`});return h.jsxs(h.Fragment,{children:[h.jsx("style",{children:`
        @keyframes resultsFadeInUp {
          from { opacity: 0; transform: translateY(10px); }
          to   { opacity: 1; transform: translateY(0);   }
        }
      `}),h.jsxs("section",{className:"flex flex-col items-center gap-6 w-full max-w-3xl mx-auto px-4 py-8",children:[h.jsxs("div",{className:"flex flex-col md:flex-row gap-4 w-full",children:[h.jsxs("article",{className:"flex-1 bg-navy-800 border border-slate-700 rounded-xl p-5",style:sl(0),children:[h.jsxs("header",{className:"flex items-center justify-between mb-3",children:[h.jsx("h3",{className:"text-slate-300 text-sm font-medium uppercase tracking-wider",children:"Legacy Password"}),h.jsx("span",{className:"text-xs text-slate-500 font-mono",children:"Traditional Entry"})]}),h.jsx("time",{className:"text-4xl md:text-5xl font-mono font-semibold text-slate-300 tabular-nums",dateTime:`PT${A.toFixed(2)}S`,"aria-label":`${A.toFixed(2)} seconds`,children:My(A)})]}),h.jsxs("article",{className:"flex-1 border-2 border-teal-400 bg-teal-400/5 rounded-xl p-5 relative overflow-hidden",style:sl(150),children:[p?h.jsx("div",{className:"absolute top-3 right-3 bg-slate-400 text-navy-950 text-xs font-bold px-2.5 py-0.5 rounded-full",children:"Tie!"}):h.jsx("div",{className:"absolute top-3 right-3 bg-teal-400 text-navy-950 text-xs font-bold px-2.5 py-0.5 rounded-full",children:"Winner"}),h.jsxs("header",{className:"flex items-center justify-between mb-3",children:[h.jsx("h3",{className:"text-teal-400 text-sm font-medium uppercase tracking-wider",children:"Ping Biometrics"}),h.jsx("span",{className:"text-xs text-emerald-400 font-mono",children:"Instant Authentication"})]}),h.jsx("time",{className:"text-4xl md:text-5xl font-mono font-semibold text-teal-400 tabular-nums",dateTime:"PT0.80S","aria-label":"0.80 seconds",children:"0.80s"})]})]}),p&&h.jsxs("div",{className:"w-full bg-navy-800 border border-slate-400 rounded-lg p-4 text-center",style:sl(200),children:[h.jsx("span",{className:"text-slate-300 font-semibold text-lg",children:"It's a Tie!"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Your typing speed matched Ping's biometric scan. Impressive!"})]}),ul>0&&ul<=10&&h.jsxs("div",{className:"w-full rounded-xl p-5 text-center",style:{...sl(225),animation:"resultsFadeInUp 300ms ease-out both, rankGlow 1.5s ease-in-out infinite",animationDelay:"225ms, 525ms",background:"linear-gradient(135deg, rgba(255,193,7,0.15), rgba(255,179,0,0.08))",border:"1px solid rgba(255,193,7,0.3)"},children:[h.jsx("div",{className:"text-3xl mb-1",children:"🏆"}),h.jsxs("span",{className:"text-2xl font-bold text-gold-400 tracking-wide",children:["#",ul," on the Leaderboard!"]}),h.jsxs("p",{className:"text-slate-300 text-sm mt-2",children:["Come to the"," ",h.jsx("span",{className:"text-teal-400 font-semibold",children:"Sechpoint Technologies"})," booth to claim your prize!"]})]}),h.jsxs("div",{className:"text-center",style:sl(200),children:[h.jsxs("span",{className:"text-slate-400 text-sm uppercase tracking-wider",children:["Shot ",3-N," of 3"]}),N>0&&h.jsxs("span",{className:"text-slate-500 text-sm ml-2",children:["— ",N," shot",N!==1?"s":""," left to improve your time"]}),N===0&&h.jsx("span",{className:"text-gold-400 text-sm ml-2 font-medium",children:"— Final result! Visit our booth to claim your reward"})]}),h.jsxs("dl",{className:"w-full grid grid-cols-1 sm:grid-cols-3 gap-4",style:sl(250),children:[h.jsxs("div",{className:"bg-navy-800/50 border border-navy-700 rounded-lg p-4 text-center",children:[h.jsx("dt",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Time Saved"}),h.jsx("dd",{className:"text-xl md:text-2xl font-mono font-semibold text-emerald-400",children:p?"0.00s":`${L.toFixed(2)}s faster`})]}),h.jsxs("div",{className:"bg-navy-800/50 border border-navy-700 rounded-lg p-4 text-center",children:[h.jsx("dt",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Yearly Savings"}),h.jsxs("dd",{className:"text-xl md:text-2xl font-mono font-semibold text-teal-400",children:[Dy(D)," hours"]}),h.jsxs("dd",{className:"text-slate-500 text-xs mt-1",children:["Based on ",X," logins per year"]})]}),h.jsxs("div",{className:"bg-navy-800/50 border border-navy-700 rounded-lg p-4 text-center",children:[h.jsx("dt",{className:"text-slate-400 text-xs uppercase tracking-wider mb-1",children:"Speed Multiplier"}),h.jsx("dd",{className:"text-xl md:text-2xl font-mono font-semibold text-slate-300",children:p?"1.0x":`${V.toFixed(1)}x faster`})]})]}),h.jsx("div",{className:"w-full border-t border-navy-700 pt-6",style:sl(300),children:ul>0&&ul<=10?h.jsxs("div",{className:"flex flex-col items-center text-center gap-3",children:[h.jsxs("p",{className:"text-gold-400 text-lg font-bold",children:["🎉 YOU SAVED ",L.toFixed(2),"s!"]}),h.jsxs("p",{className:"text-slate-300 text-sm max-w-md",children:["Incredible speed! Come to the"," ",h.jsx("span",{className:"text-teal-400 font-semibold",children:"Sechpoint Technologies"})," booth to claim your exclusive reward — we've got something special for our top performers."]})]}):h.jsxs("div",{className:"flex flex-col items-center text-center gap-3",children:[h.jsxs("div",{className:"inline-flex items-center gap-2 bg-teal-400/10 border border-teal-400/30 rounded-full px-5 py-2",children:[h.jsx("span",{className:"text-lg",children:"📍"}),h.jsx("span",{className:"text-teal-400 font-semibold text-sm tracking-wide",children:"VISIT OUR BOOTH"})]}),h.jsx("p",{className:"text-white text-lg font-semibold",children:A<5?"Lightning fast! Want to see what else Ping can do?":A<15?"Solid run! Curious how biometrics can speed things up?":"Great effort! Ready to experience true speed?"}),h.jsxs("p",{className:"text-slate-300 text-sm max-w-lg",children:["Come meet us at the"," ",h.jsx("span",{className:"text-teal-400 font-semibold",children:"Sechpoint Technologies"})," booth! We'd love to show you how Ping Identity biometric authentication eliminates passwords entirely — and we've got swag for everyone who stops by."]})]})}),h.jsxs("div",{className:"flex flex-col gap-3 w-full max-w-xs mx-auto pt-2",style:sl(400),children:[N>0&&_&&h.jsxs("button",{type:"button",onClick:_,className:`w-full px-6 py-3 border-2 border-slate-700 text-slate-300 rounded-lg font-medium
                         hover:border-slate-500 hover:text-white hover:bg-navy-700
                         focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-navy-950
                         transition-all duration-200`,children:["Try Again (",N," shot",N!==1?"s":""," left)"]}),h.jsx("button",{type:"button",onClick:m,className:`w-full px-6 py-3 border-2 border-navy-700 text-slate-400 rounded-lg font-medium
                       hover:border-slate-500 hover:text-white
                       focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-navy-950
                       transition-all duration-200`,children:"🏆 View Leaderboard"})]})]})]})}function jy(b){return`${b.toFixed(2)}s`}function Ry(b){return b===1?"text-gold-400":b===2?"text-silver-400":b===3?"text-bronze-400":"text-slate-400"}function Hy(b){return b===1?"border-gold-400":b===2?"border-silver-400":b===3?"border-bronze-400":"border-transparent"}function Cy({entries:b,lastAdded:N,onPlayAgain:_}){return h.jsxs("div",{className:"flex flex-col items-center gap-6 py-8 px-4",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"text-4xl mb-2",children:"🏆"}),h.jsx("h2",{className:"text-2xl font-bold text-white",children:"Leaderboard"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Top scores from all players"})]}),b.length===0?h.jsx("p",{className:"text-slate-500 text-sm py-8",children:"No scores yet — be the first!"}):h.jsx("div",{className:"w-full max-w-sm bg-navy-800/50 border border-navy-700 rounded-xl p-3",children:b.map((m,A)=>{const C=m.timeSec===N;return h.jsxs("div",{className:`flex items-center justify-between px-3 py-2.5 rounded border-l-2 ${Hy(A+1)} ${C?"bg-teal-400/5":""}`,style:C?{animation:"leaderboardGlow 2s ease-in-out infinite"}:void 0,children:[h.jsxs("span",{className:`font-mono text-sm font-semibold ${Ry(A+1)}`,children:["#",A+1]}),h.jsx("span",{className:"flex-1 text-xs text-slate-500 px-2 truncate text-center",children:m.name||"Player"}),h.jsx("span",{className:"font-mono tabular-nums text-sm text-slate-300",children:jy(m.timeSec)})]},m.sessionId)})}),h.jsx("button",{type:"button",onClick:_,className:"px-10 py-4 rounded-xl font-semibold text-lg bg-gradient-to-r from-teal-400 to-emerald-400 text-navy-950 hover:from-teal-500 hover:to-emerald-500 active:scale-[0.97] shadow-lg shadow-teal-400/15 transition-all duration-200",children:"Play Again"})]})}function qy({onNameSubmit:b}){const[N,_]=q.useState(""),m=q.useRef(null);return q.useEffect(()=>{var A;(A=m.current)==null||A.focus()},[]),h.jsxs("div",{className:"flex flex-col items-center justify-center min-h-[60vh] gap-6 px-4",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("h2",{className:"text-2xl font-bold text-white",children:"Welcome"}),h.jsx("p",{className:"text-slate-400 text-sm mt-1",children:"Enter your name for the leaderboard"})]}),h.jsxs("form",{onSubmit:A=>{A.preventDefault(),N.trim()&&b(N.trim())},className:"w-full max-w-xs flex flex-col gap-4",children:[h.jsx("input",{ref:m,type:"text",value:N,onChange:A=>_(A.target.value),placeholder:"Your name",maxLength:20,autoComplete:"off",className:"w-full bg-navy-800 border-2 border-navy-700 rounded-xl px-4 py-3.5 text-base text-white placeholder-slate-500 outline-none focus:border-teal-400 transition-colors text-center"}),h.jsx("button",{type:"submit",disabled:!N.trim(),className:"w-full py-4 rounded-xl font-semibold text-lg bg-gradient-to-r from-teal-400 to-emerald-400 text-navy-950 hover:from-teal-500 hover:to-emerald-500 active:scale-[0.97] shadow-lg shadow-teal-400/15 transition-all duration-200 disabled:opacity-30",children:"Start Challenge"})]}),h.jsx("p",{className:"text-xs text-slate-500 text-center max-w-xs",children:"Your name is saved locally and only used for the booth leaderboard"})]})}function Yy(){const{scoreEntries:b,lastAddedScore:N,setPlayerName:_,playerName:m}=Hd(),[A,C]=q.useState(m?"challenge":"name"),[L,X]=q.useState(null),[D,p]=q.useState(0),V=q.useRef(null),U=q.useCallback(hl=>{_(hl),C("challenge")},[_]),W=q.useCallback(hl=>{X(hl),C("scan")},[]),ul=q.useCallback(()=>{p(hl=>hl+1),C("result")},[]),xl=q.useCallback(()=>{C("challenge"),X(null),p(0)},[]),sl=q.useCallback(()=>{C("challenge"),X(null)},[]),Vl=q.useCallback(()=>{C("leaderboard")},[]);return q.useEffect(()=>{if(A==="challenge")return;const hl=setTimeout(()=>{var tl;const pl=(tl=V.current)==null?void 0:tl.querySelector("h2");pl instanceof HTMLElement&&(pl.setAttribute("tabindex","-1"),pl.focus())},100);return()=>clearTimeout(hl)},[A]),q.useEffect(()=>{if(A!=="result")return;const hl=setTimeout(()=>{xl()},45e3),pl=()=>clearTimeout(hl);return document.addEventListener("click",pl),document.addEventListener("touchstart",pl),document.addEventListener("keydown",pl),()=>{clearTimeout(hl),document.removeEventListener("click",pl),document.removeEventListener("touchstart",pl),document.removeEventListener("keydown",pl)}},[A,xl]),h.jsxs(h.Fragment,{children:[h.jsx("style",{children:`
        @keyframes stepFadeIn {
          from { opacity: 0; transform: translateY(8px); }
          to   { opacity: 1; transform: translateY(0); }
        }
      `}),h.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-teal-400 focus:text-navy-950 focus:rounded-lg focus:font-semibold",children:"Skip to main content"}),h.jsxs("main",{className:"min-h-screen flex flex-col bg-navy-950 text-slate-300 font-sans antialiased mx-auto w-full max-w-md lg:border-x lg:border-navy-800",children:[h.jsx("header",{className:"border-b border-navy-800",children:h.jsxs("div",{className:"px-4 py-4 flex items-center justify-between",children:[h.jsxs("h1",{className:"text-xl md:text-2xl font-bold",children:[h.jsx("span",{className:"text-teal-400",children:"Ping"}),h.jsx("span",{className:"text-white",children:" Speed-Run"})]}),A!=="leaderboard"&&h.jsxs("nav",{className:"flex items-center gap-2 text-sm","aria-label":"Progress",children:[h.jsx("span",{className:A==="challenge"?"text-teal-400 font-semibold":"text-slate-500",children:"1. Password"}),h.jsx("span",{className:"text-slate-600","aria-hidden":"true",children:"→"}),h.jsx("span",{className:A==="scan"?"text-teal-400 font-semibold":"text-slate-500",children:"2. Biometric"}),h.jsx("span",{className:"text-slate-600","aria-hidden":"true",children:"→"}),h.jsx("span",{className:A==="result"?"text-teal-400 font-semibold":"text-slate-500",children:"3. Results"})]})]})}),h.jsx("section",{id:"main-content",ref:V,className:"flex-1 px-4 py-8 md:py-16 w-full","aria-live":"polite","aria-label":"Current step content",tabIndex:-1,children:h.jsxs("div",{style:{animation:"stepFadeIn 300ms ease-out"},children:[A==="name"&&h.jsx(qy,{onNameSubmit:U}),A==="challenge"&&h.jsx(by,{onComplete:W}),A==="scan"&&h.jsx(py,{onComplete:ul}),A==="result"&&L!==null&&h.jsx(Uy,{legacyTimeMs:L,shotsRemaining:3-D,onTryAgain:D<3?sl:void 0,onViewLeaderboard:Vl}),A==="leaderboard"&&h.jsx(Cy,{entries:b,lastAdded:N,onPlayAgain:xl})]},A)}),h.jsx("footer",{className:"text-center py-6 text-slate-500 text-xs border-t border-navy-800",children:"Ping Biometric Speed-Run — Demonstrating the speed of biometric authentication"})]})]})}ry.createRoot(document.getElementById("root")).render(h.jsx(q.StrictMode,{children:h.jsx(Yy,{})}));
